sass.dart.js 5.2 MB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597659865996600660166026603660466056606660766086609661066116612661366146615661666176618661966206621662266236624662566266627662866296630663166326633663466356636663766386639664066416642664366446645664666476648664966506651665266536654665566566657665866596660666166626663666466656666666766686669667066716672667366746675667666776678667966806681668266836684668566866687668866896690669166926693669466956696669766986699670067016702670367046705670667076708670967106711671267136714671567166717671867196720672167226723672467256726672767286729673067316732673367346735673667376738673967406741674267436744674567466747674867496750675167526753675467556756675767586759676067616762676367646765676667676768676967706771677267736774677567766777677867796780678167826783678467856786678767886789679067916792679367946795679667976798679968006801680268036804680568066807680868096810681168126813681468156816681768186819682068216822682368246825682668276828682968306831683268336834683568366837683868396840684168426843684468456846684768486849685068516852685368546855685668576858685968606861686268636864686568666867686868696870687168726873687468756876687768786879688068816882688368846885688668876888688968906891689268936894689568966897689868996900690169026903690469056906690769086909691069116912691369146915691669176918691969206921692269236924692569266927692869296930693169326933693469356936693769386939694069416942694369446945694669476948694969506951695269536954695569566957695869596960696169626963696469656966696769686969697069716972697369746975697669776978697969806981698269836984698569866987698869896990699169926993699469956996699769986999700070017002700370047005700670077008700970107011701270137014701570167017701870197020702170227023702470257026702770287029703070317032703370347035703670377038703970407041704270437044704570467047704870497050705170527053705470557056705770587059706070617062706370647065706670677068706970707071707270737074707570767077707870797080708170827083708470857086708770887089709070917092709370947095709670977098709971007101710271037104710571067107710871097110711171127113711471157116711771187119712071217122712371247125712671277128712971307131713271337134713571367137713871397140714171427143714471457146714771487149715071517152715371547155715671577158715971607161716271637164716571667167716871697170717171727173717471757176717771787179718071817182718371847185718671877188718971907191719271937194719571967197719871997200720172027203720472057206720772087209721072117212721372147215721672177218721972207221722272237224722572267227722872297230723172327233723472357236723772387239724072417242724372447245724672477248724972507251725272537254725572567257725872597260726172627263726472657266726772687269727072717272727372747275727672777278727972807281728272837284728572867287728872897290729172927293729472957296729772987299730073017302730373047305730673077308730973107311731273137314731573167317731873197320732173227323732473257326732773287329733073317332733373347335733673377338733973407341734273437344734573467347734873497350735173527353735473557356735773587359736073617362736373647365736673677368736973707371737273737374737573767377737873797380738173827383738473857386738773887389739073917392739373947395739673977398739974007401740274037404740574067407740874097410741174127413741474157416741774187419742074217422742374247425742674277428742974307431743274337434743574367437743874397440744174427443744474457446744774487449745074517452745374547455745674577458745974607461746274637464746574667467746874697470747174727473747474757476747774787479748074817482748374847485748674877488748974907491749274937494749574967497749874997500750175027503750475057506750775087509751075117512751375147515751675177518751975207521752275237524752575267527752875297530753175327533753475357536753775387539754075417542754375447545754675477548754975507551755275537554755575567557755875597560756175627563756475657566756775687569757075717572757375747575757675777578757975807581758275837584758575867587758875897590759175927593759475957596759775987599760076017602760376047605760676077608760976107611761276137614761576167617761876197620762176227623762476257626762776287629763076317632763376347635763676377638763976407641764276437644764576467647764876497650765176527653765476557656765776587659766076617662766376647665766676677668766976707671767276737674767576767677767876797680768176827683768476857686768776887689769076917692769376947695769676977698769977007701770277037704770577067707770877097710771177127713771477157716771777187719772077217722772377247725772677277728772977307731773277337734773577367737773877397740774177427743774477457746774777487749775077517752775377547755775677577758775977607761776277637764776577667767776877697770777177727773777477757776777777787779778077817782778377847785778677877788778977907791779277937794779577967797779877997800780178027803780478057806780778087809781078117812781378147815781678177818781978207821782278237824782578267827782878297830783178327833783478357836783778387839784078417842784378447845784678477848784978507851785278537854785578567857785878597860786178627863786478657866786778687869787078717872787378747875787678777878787978807881788278837884788578867887788878897890789178927893789478957896789778987899790079017902790379047905790679077908790979107911791279137914791579167917791879197920792179227923792479257926792779287929793079317932793379347935793679377938793979407941794279437944794579467947794879497950795179527953795479557956795779587959796079617962796379647965796679677968796979707971797279737974797579767977797879797980798179827983798479857986798779887989799079917992799379947995799679977998799980008001800280038004800580068007800880098010801180128013801480158016801780188019802080218022802380248025802680278028802980308031803280338034803580368037803880398040804180428043804480458046804780488049805080518052805380548055805680578058805980608061806280638064806580668067806880698070807180728073807480758076807780788079808080818082808380848085808680878088808980908091809280938094809580968097809880998100810181028103810481058106810781088109811081118112811381148115811681178118811981208121812281238124812581268127812881298130813181328133813481358136813781388139814081418142814381448145814681478148814981508151815281538154815581568157815881598160816181628163816481658166816781688169817081718172817381748175817681778178817981808181818281838184818581868187818881898190819181928193819481958196819781988199820082018202820382048205820682078208820982108211821282138214821582168217821882198220822182228223822482258226822782288229823082318232823382348235823682378238823982408241824282438244824582468247824882498250825182528253825482558256825782588259826082618262826382648265826682678268826982708271827282738274827582768277827882798280828182828283828482858286828782888289829082918292829382948295829682978298829983008301830283038304830583068307830883098310831183128313831483158316831783188319832083218322832383248325832683278328832983308331833283338334833583368337833883398340834183428343834483458346834783488349835083518352835383548355835683578358835983608361836283638364836583668367836883698370837183728373837483758376837783788379838083818382838383848385838683878388838983908391839283938394839583968397839883998400840184028403840484058406840784088409841084118412841384148415841684178418841984208421842284238424842584268427842884298430843184328433843484358436843784388439844084418442844384448445844684478448844984508451845284538454845584568457845884598460846184628463846484658466846784688469847084718472847384748475847684778478847984808481848284838484848584868487848884898490849184928493849484958496849784988499850085018502850385048505850685078508850985108511851285138514851585168517851885198520852185228523852485258526852785288529853085318532853385348535853685378538853985408541854285438544854585468547854885498550855185528553855485558556855785588559856085618562856385648565856685678568856985708571857285738574857585768577857885798580858185828583858485858586858785888589859085918592859385948595859685978598859986008601860286038604860586068607860886098610861186128613861486158616861786188619862086218622862386248625862686278628862986308631863286338634863586368637863886398640864186428643864486458646864786488649865086518652865386548655865686578658865986608661866286638664866586668667866886698670867186728673867486758676867786788679868086818682868386848685868686878688868986908691869286938694869586968697869886998700870187028703870487058706870787088709871087118712871387148715871687178718871987208721872287238724872587268727872887298730873187328733873487358736873787388739874087418742874387448745874687478748874987508751875287538754875587568757875887598760876187628763876487658766876787688769877087718772877387748775877687778778877987808781878287838784878587868787878887898790879187928793879487958796879787988799880088018802880388048805880688078808880988108811881288138814881588168817881888198820882188228823882488258826882788288829883088318832883388348835883688378838883988408841884288438844884588468847884888498850885188528853885488558856885788588859886088618862886388648865886688678868886988708871887288738874887588768877887888798880888188828883888488858886888788888889889088918892889388948895889688978898889989008901890289038904890589068907890889098910891189128913891489158916891789188919892089218922892389248925892689278928892989308931893289338934893589368937893889398940894189428943894489458946894789488949895089518952895389548955895689578958895989608961896289638964896589668967896889698970897189728973897489758976897789788979898089818982898389848985898689878988898989908991899289938994899589968997899889999000900190029003900490059006900790089009901090119012901390149015901690179018901990209021902290239024902590269027902890299030903190329033903490359036903790389039904090419042904390449045904690479048904990509051905290539054905590569057905890599060906190629063906490659066906790689069907090719072907390749075907690779078907990809081908290839084908590869087908890899090909190929093909490959096909790989099910091019102910391049105910691079108910991109111911291139114911591169117911891199120912191229123912491259126912791289129913091319132913391349135913691379138913991409141914291439144914591469147914891499150915191529153915491559156915791589159916091619162916391649165916691679168916991709171917291739174917591769177917891799180918191829183918491859186918791889189919091919192919391949195919691979198919992009201920292039204920592069207920892099210921192129213921492159216921792189219922092219222922392249225922692279228922992309231923292339234923592369237923892399240924192429243924492459246924792489249925092519252925392549255925692579258925992609261926292639264926592669267926892699270927192729273927492759276927792789279928092819282928392849285928692879288928992909291929292939294929592969297929892999300930193029303930493059306930793089309931093119312931393149315931693179318931993209321932293239324932593269327932893299330933193329333933493359336933793389339934093419342934393449345934693479348934993509351935293539354935593569357935893599360936193629363936493659366936793689369937093719372937393749375937693779378937993809381938293839384938593869387938893899390939193929393939493959396939793989399940094019402940394049405940694079408940994109411941294139414941594169417941894199420942194229423942494259426942794289429943094319432943394349435943694379438943994409441944294439444944594469447944894499450945194529453945494559456945794589459946094619462946394649465946694679468946994709471947294739474947594769477947894799480948194829483948494859486948794889489949094919492949394949495949694979498949995009501950295039504950595069507950895099510951195129513951495159516951795189519952095219522952395249525952695279528952995309531953295339534953595369537953895399540954195429543954495459546954795489549955095519552955395549555955695579558955995609561956295639564956595669567956895699570957195729573957495759576957795789579958095819582958395849585958695879588958995909591959295939594959595969597959895999600960196029603960496059606960796089609961096119612961396149615961696179618961996209621962296239624962596269627962896299630963196329633963496359636963796389639964096419642964396449645964696479648964996509651965296539654965596569657965896599660966196629663966496659666966796689669967096719672967396749675967696779678967996809681968296839684968596869687968896899690969196929693969496959696969796989699970097019702970397049705970697079708970997109711971297139714971597169717971897199720972197229723972497259726972797289729973097319732973397349735973697379738973997409741974297439744974597469747974897499750975197529753975497559756975797589759976097619762976397649765976697679768976997709771977297739774977597769777977897799780978197829783978497859786978797889789979097919792979397949795979697979798979998009801980298039804980598069807980898099810981198129813981498159816981798189819982098219822982398249825982698279828982998309831983298339834983598369837983898399840984198429843984498459846984798489849985098519852985398549855985698579858985998609861986298639864986598669867986898699870987198729873987498759876987798789879988098819882988398849885988698879888988998909891989298939894989598969897989898999900990199029903990499059906990799089909991099119912991399149915991699179918991999209921992299239924992599269927992899299930993199329933993499359936993799389939994099419942994399449945994699479948994999509951995299539954995599569957995899599960996199629963996499659966996799689969997099719972997399749975997699779978997999809981998299839984998599869987998899899990999199929993999499959996999799989999100001000110002100031000410005100061000710008100091001010011100121001310014100151001610017100181001910020100211002210023100241002510026100271002810029100301003110032100331003410035100361003710038100391004010041100421004310044100451004610047100481004910050100511005210053100541005510056100571005810059100601006110062100631006410065100661006710068100691007010071100721007310074100751007610077100781007910080100811008210083100841008510086100871008810089100901009110092100931009410095100961009710098100991010010101101021010310104101051010610107101081010910110101111011210113101141011510116101171011810119101201012110122101231012410125101261012710128101291013010131101321013310134101351013610137101381013910140101411014210143101441014510146101471014810149101501015110152101531015410155101561015710158101591016010161101621016310164101651016610167101681016910170101711017210173101741017510176101771017810179101801018110182101831018410185101861018710188101891019010191101921019310194101951019610197101981019910200102011020210203102041020510206102071020810209102101021110212102131021410215102161021710218102191022010221102221022310224102251022610227102281022910230102311023210233102341023510236102371023810239102401024110242102431024410245102461024710248102491025010251102521025310254102551025610257102581025910260102611026210263102641026510266102671026810269102701027110272102731027410275102761027710278102791028010281102821028310284102851028610287102881028910290102911029210293102941029510296102971029810299103001030110302103031030410305103061030710308103091031010311103121031310314103151031610317103181031910320103211032210323103241032510326103271032810329103301033110332103331033410335103361033710338103391034010341103421034310344103451034610347103481034910350103511035210353103541035510356103571035810359103601036110362103631036410365103661036710368103691037010371103721037310374103751037610377103781037910380103811038210383103841038510386103871038810389103901039110392103931039410395103961039710398103991040010401104021040310404104051040610407104081040910410104111041210413104141041510416104171041810419104201042110422104231042410425104261042710428104291043010431104321043310434104351043610437104381043910440104411044210443104441044510446104471044810449104501045110452104531045410455104561045710458104591046010461104621046310464104651046610467104681046910470104711047210473104741047510476104771047810479104801048110482104831048410485104861048710488104891049010491104921049310494104951049610497104981049910500105011050210503105041050510506105071050810509105101051110512105131051410515105161051710518105191052010521105221052310524105251052610527105281052910530105311053210533105341053510536105371053810539105401054110542105431054410545105461054710548105491055010551105521055310554105551055610557105581055910560105611056210563105641056510566105671056810569105701057110572105731057410575105761057710578105791058010581105821058310584105851058610587105881058910590105911059210593105941059510596105971059810599106001060110602106031060410605106061060710608106091061010611106121061310614106151061610617106181061910620106211062210623106241062510626106271062810629106301063110632106331063410635106361063710638106391064010641106421064310644106451064610647106481064910650106511065210653106541065510656106571065810659106601066110662106631066410665106661066710668106691067010671106721067310674106751067610677106781067910680106811068210683106841068510686106871068810689106901069110692106931069410695106961069710698106991070010701107021070310704107051070610707107081070910710107111071210713107141071510716107171071810719107201072110722107231072410725107261072710728107291073010731107321073310734107351073610737107381073910740107411074210743107441074510746107471074810749107501075110752107531075410755107561075710758107591076010761107621076310764107651076610767107681076910770107711077210773107741077510776107771077810779107801078110782107831078410785107861078710788107891079010791107921079310794107951079610797107981079910800108011080210803108041080510806108071080810809108101081110812108131081410815108161081710818108191082010821108221082310824108251082610827108281082910830108311083210833108341083510836108371083810839108401084110842108431084410845108461084710848108491085010851108521085310854108551085610857108581085910860108611086210863108641086510866108671086810869108701087110872108731087410875108761087710878108791088010881108821088310884108851088610887108881088910890108911089210893108941089510896108971089810899109001090110902109031090410905109061090710908109091091010911109121091310914109151091610917109181091910920109211092210923109241092510926109271092810929109301093110932109331093410935109361093710938109391094010941109421094310944109451094610947109481094910950109511095210953109541095510956109571095810959109601096110962109631096410965109661096710968109691097010971109721097310974109751097610977109781097910980109811098210983109841098510986109871098810989109901099110992109931099410995109961099710998109991100011001110021100311004110051100611007110081100911010110111101211013110141101511016110171101811019110201102111022110231102411025110261102711028110291103011031110321103311034110351103611037110381103911040110411104211043110441104511046110471104811049110501105111052110531105411055110561105711058110591106011061110621106311064110651106611067110681106911070110711107211073110741107511076110771107811079110801108111082110831108411085110861108711088110891109011091110921109311094110951109611097110981109911100111011110211103111041110511106111071110811109111101111111112111131111411115111161111711118111191112011121111221112311124111251112611127111281112911130111311113211133111341113511136111371113811139111401114111142111431114411145111461114711148111491115011151111521115311154111551115611157111581115911160111611116211163111641116511166111671116811169111701117111172111731117411175111761117711178111791118011181111821118311184111851118611187111881118911190111911119211193111941119511196111971119811199112001120111202112031120411205112061120711208112091121011211112121121311214112151121611217112181121911220112211122211223112241122511226112271122811229112301123111232112331123411235112361123711238112391124011241112421124311244112451124611247112481124911250112511125211253112541125511256112571125811259112601126111262112631126411265112661126711268112691127011271112721127311274112751127611277112781127911280112811128211283112841128511286112871128811289112901129111292112931129411295112961129711298112991130011301113021130311304113051130611307113081130911310113111131211313113141131511316113171131811319113201132111322113231132411325113261132711328113291133011331113321133311334113351133611337113381133911340113411134211343113441134511346113471134811349113501135111352113531135411355113561135711358113591136011361113621136311364113651136611367113681136911370113711137211373113741137511376113771137811379113801138111382113831138411385113861138711388113891139011391113921139311394113951139611397113981139911400114011140211403114041140511406114071140811409114101141111412114131141411415114161141711418114191142011421114221142311424114251142611427114281142911430114311143211433114341143511436114371143811439114401144111442114431144411445114461144711448114491145011451114521145311454114551145611457114581145911460114611146211463114641146511466114671146811469114701147111472114731147411475114761147711478114791148011481114821148311484114851148611487114881148911490114911149211493114941149511496114971149811499115001150111502115031150411505115061150711508115091151011511115121151311514115151151611517115181151911520115211152211523115241152511526115271152811529115301153111532115331153411535115361153711538115391154011541115421154311544115451154611547115481154911550115511155211553115541155511556115571155811559115601156111562115631156411565115661156711568115691157011571115721157311574115751157611577115781157911580115811158211583115841158511586115871158811589115901159111592115931159411595115961159711598115991160011601116021160311604116051160611607116081160911610116111161211613116141161511616116171161811619116201162111622116231162411625116261162711628116291163011631116321163311634116351163611637116381163911640116411164211643116441164511646116471164811649116501165111652116531165411655116561165711658116591166011661116621166311664116651166611667116681166911670116711167211673116741167511676116771167811679116801168111682116831168411685116861168711688116891169011691116921169311694116951169611697116981169911700117011170211703117041170511706117071170811709117101171111712117131171411715117161171711718117191172011721117221172311724117251172611727117281172911730117311173211733117341173511736117371173811739117401174111742117431174411745117461174711748117491175011751117521175311754117551175611757117581175911760117611176211763117641176511766117671176811769117701177111772117731177411775117761177711778117791178011781117821178311784117851178611787117881178911790117911179211793117941179511796117971179811799118001180111802118031180411805118061180711808118091181011811118121181311814118151181611817118181181911820118211182211823118241182511826118271182811829118301183111832118331183411835118361183711838118391184011841118421184311844118451184611847118481184911850118511185211853118541185511856118571185811859118601186111862118631186411865118661186711868118691187011871118721187311874118751187611877118781187911880118811188211883118841188511886118871188811889118901189111892118931189411895118961189711898118991190011901119021190311904119051190611907119081190911910119111191211913119141191511916119171191811919119201192111922119231192411925119261192711928119291193011931119321193311934119351193611937119381193911940119411194211943119441194511946119471194811949119501195111952119531195411955119561195711958119591196011961119621196311964119651196611967119681196911970119711197211973119741197511976119771197811979119801198111982119831198411985119861198711988119891199011991119921199311994119951199611997119981199912000120011200212003120041200512006120071200812009120101201112012120131201412015120161201712018120191202012021120221202312024120251202612027120281202912030120311203212033120341203512036120371203812039120401204112042120431204412045120461204712048120491205012051120521205312054120551205612057120581205912060120611206212063120641206512066120671206812069120701207112072120731207412075120761207712078120791208012081120821208312084120851208612087120881208912090120911209212093120941209512096120971209812099121001210112102121031210412105121061210712108121091211012111121121211312114121151211612117121181211912120121211212212123121241212512126121271212812129121301213112132121331213412135121361213712138121391214012141121421214312144121451214612147121481214912150121511215212153121541215512156121571215812159121601216112162121631216412165121661216712168121691217012171121721217312174121751217612177121781217912180121811218212183121841218512186121871218812189121901219112192121931219412195121961219712198121991220012201122021220312204122051220612207122081220912210122111221212213122141221512216122171221812219122201222112222122231222412225122261222712228122291223012231122321223312234122351223612237122381223912240122411224212243122441224512246122471224812249122501225112252122531225412255122561225712258122591226012261122621226312264122651226612267122681226912270122711227212273122741227512276122771227812279122801228112282122831228412285122861228712288122891229012291122921229312294122951229612297122981229912300123011230212303123041230512306123071230812309123101231112312123131231412315123161231712318123191232012321123221232312324123251232612327123281232912330123311233212333123341233512336123371233812339123401234112342123431234412345123461234712348123491235012351123521235312354123551235612357123581235912360123611236212363123641236512366123671236812369123701237112372123731237412375123761237712378123791238012381123821238312384123851238612387123881238912390123911239212393123941239512396123971239812399124001240112402124031240412405124061240712408124091241012411124121241312414124151241612417124181241912420124211242212423124241242512426124271242812429124301243112432124331243412435124361243712438124391244012441124421244312444124451244612447124481244912450124511245212453124541245512456124571245812459124601246112462124631246412465124661246712468124691247012471124721247312474124751247612477124781247912480124811248212483124841248512486124871248812489124901249112492124931249412495124961249712498124991250012501125021250312504125051250612507125081250912510125111251212513125141251512516125171251812519125201252112522125231252412525125261252712528125291253012531125321253312534125351253612537125381253912540125411254212543125441254512546125471254812549125501255112552125531255412555125561255712558125591256012561125621256312564125651256612567125681256912570125711257212573125741257512576125771257812579125801258112582125831258412585125861258712588125891259012591125921259312594125951259612597125981259912600126011260212603126041260512606126071260812609126101261112612126131261412615126161261712618126191262012621126221262312624126251262612627126281262912630126311263212633126341263512636126371263812639126401264112642126431264412645126461264712648126491265012651126521265312654126551265612657126581265912660126611266212663126641266512666126671266812669126701267112672126731267412675126761267712678126791268012681126821268312684126851268612687126881268912690126911269212693126941269512696126971269812699127001270112702127031270412705127061270712708127091271012711127121271312714127151271612717127181271912720127211272212723127241272512726127271272812729127301273112732127331273412735127361273712738127391274012741127421274312744127451274612747127481274912750127511275212753127541275512756127571275812759127601276112762127631276412765127661276712768127691277012771127721277312774127751277612777127781277912780127811278212783127841278512786127871278812789127901279112792127931279412795127961279712798127991280012801128021280312804128051280612807128081280912810128111281212813128141281512816128171281812819128201282112822128231282412825128261282712828128291283012831128321283312834128351283612837128381283912840128411284212843128441284512846128471284812849128501285112852128531285412855128561285712858128591286012861128621286312864128651286612867128681286912870128711287212873128741287512876128771287812879128801288112882128831288412885128861288712888128891289012891128921289312894128951289612897128981289912900129011290212903129041290512906129071290812909129101291112912129131291412915129161291712918129191292012921129221292312924129251292612927129281292912930129311293212933129341293512936129371293812939129401294112942129431294412945129461294712948129491295012951129521295312954129551295612957129581295912960129611296212963129641296512966129671296812969129701297112972129731297412975129761297712978129791298012981129821298312984129851298612987129881298912990129911299212993129941299512996129971299812999130001300113002130031300413005130061300713008130091301013011130121301313014130151301613017130181301913020130211302213023130241302513026130271302813029130301303113032130331303413035130361303713038130391304013041130421304313044130451304613047130481304913050130511305213053130541305513056130571305813059130601306113062130631306413065130661306713068130691307013071130721307313074130751307613077130781307913080130811308213083130841308513086130871308813089130901309113092130931309413095130961309713098130991310013101131021310313104131051310613107131081310913110131111311213113131141311513116131171311813119131201312113122131231312413125131261312713128131291313013131131321313313134131351313613137131381313913140131411314213143131441314513146131471314813149131501315113152131531315413155131561315713158131591316013161131621316313164131651316613167131681316913170131711317213173131741317513176131771317813179131801318113182131831318413185131861318713188131891319013191131921319313194131951319613197131981319913200132011320213203132041320513206132071320813209132101321113212132131321413215132161321713218132191322013221132221322313224132251322613227132281322913230132311323213233132341323513236132371323813239132401324113242132431324413245132461324713248132491325013251132521325313254132551325613257132581325913260132611326213263132641326513266132671326813269132701327113272132731327413275132761327713278132791328013281132821328313284132851328613287132881328913290132911329213293132941329513296132971329813299133001330113302133031330413305133061330713308133091331013311133121331313314133151331613317133181331913320133211332213323133241332513326133271332813329133301333113332133331333413335133361333713338133391334013341133421334313344133451334613347133481334913350133511335213353133541335513356133571335813359133601336113362133631336413365133661336713368133691337013371133721337313374133751337613377133781337913380133811338213383133841338513386133871338813389133901339113392133931339413395133961339713398133991340013401134021340313404134051340613407134081340913410134111341213413134141341513416134171341813419134201342113422134231342413425134261342713428134291343013431134321343313434134351343613437134381343913440134411344213443134441344513446134471344813449134501345113452134531345413455134561345713458134591346013461134621346313464134651346613467134681346913470134711347213473134741347513476134771347813479134801348113482134831348413485134861348713488134891349013491134921349313494134951349613497134981349913500135011350213503135041350513506135071350813509135101351113512135131351413515135161351713518135191352013521135221352313524135251352613527135281352913530135311353213533135341353513536135371353813539135401354113542135431354413545135461354713548135491355013551135521355313554135551355613557135581355913560135611356213563135641356513566135671356813569135701357113572135731357413575135761357713578135791358013581135821358313584135851358613587135881358913590135911359213593135941359513596135971359813599136001360113602136031360413605136061360713608136091361013611136121361313614136151361613617136181361913620136211362213623136241362513626136271362813629136301363113632136331363413635136361363713638136391364013641136421364313644136451364613647136481364913650136511365213653136541365513656136571365813659136601366113662136631366413665136661366713668136691367013671136721367313674136751367613677136781367913680136811368213683136841368513686136871368813689136901369113692136931369413695136961369713698136991370013701137021370313704137051370613707137081370913710137111371213713137141371513716137171371813719137201372113722137231372413725137261372713728137291373013731137321373313734137351373613737137381373913740137411374213743137441374513746137471374813749137501375113752137531375413755137561375713758137591376013761137621376313764137651376613767137681376913770137711377213773137741377513776137771377813779137801378113782137831378413785137861378713788137891379013791137921379313794137951379613797137981379913800138011380213803138041380513806138071380813809138101381113812138131381413815138161381713818138191382013821138221382313824138251382613827138281382913830138311383213833138341383513836138371383813839138401384113842138431384413845138461384713848138491385013851138521385313854138551385613857138581385913860138611386213863138641386513866138671386813869138701387113872138731387413875138761387713878138791388013881138821388313884138851388613887138881388913890138911389213893138941389513896138971389813899139001390113902139031390413905139061390713908139091391013911139121391313914139151391613917139181391913920139211392213923139241392513926139271392813929139301393113932139331393413935139361393713938139391394013941139421394313944139451394613947139481394913950139511395213953139541395513956139571395813959139601396113962139631396413965139661396713968139691397013971139721397313974139751397613977139781397913980139811398213983139841398513986139871398813989139901399113992139931399413995139961399713998139991400014001140021400314004140051400614007140081400914010140111401214013140141401514016140171401814019140201402114022140231402414025140261402714028140291403014031140321403314034140351403614037140381403914040140411404214043140441404514046140471404814049140501405114052140531405414055140561405714058140591406014061140621406314064140651406614067140681406914070140711407214073140741407514076140771407814079140801408114082140831408414085140861408714088140891409014091140921409314094140951409614097140981409914100141011410214103141041410514106141071410814109141101411114112141131411414115141161411714118141191412014121141221412314124141251412614127141281412914130141311413214133141341413514136141371413814139141401414114142141431414414145141461414714148141491415014151141521415314154141551415614157141581415914160141611416214163141641416514166141671416814169141701417114172141731417414175141761417714178141791418014181141821418314184141851418614187141881418914190141911419214193141941419514196141971419814199142001420114202142031420414205142061420714208142091421014211142121421314214142151421614217142181421914220142211422214223142241422514226142271422814229142301423114232142331423414235142361423714238142391424014241142421424314244142451424614247142481424914250142511425214253142541425514256142571425814259142601426114262142631426414265142661426714268142691427014271142721427314274142751427614277142781427914280142811428214283142841428514286142871428814289142901429114292142931429414295142961429714298142991430014301143021430314304143051430614307143081430914310143111431214313143141431514316143171431814319143201432114322143231432414325143261432714328143291433014331143321433314334143351433614337143381433914340143411434214343143441434514346143471434814349143501435114352143531435414355143561435714358143591436014361143621436314364143651436614367143681436914370143711437214373143741437514376143771437814379143801438114382143831438414385143861438714388143891439014391143921439314394143951439614397143981439914400144011440214403144041440514406144071440814409144101441114412144131441414415144161441714418144191442014421144221442314424144251442614427144281442914430144311443214433144341443514436144371443814439144401444114442144431444414445144461444714448144491445014451144521445314454144551445614457144581445914460144611446214463144641446514466144671446814469144701447114472144731447414475144761447714478144791448014481144821448314484144851448614487144881448914490144911449214493144941449514496144971449814499145001450114502145031450414505145061450714508145091451014511145121451314514145151451614517145181451914520145211452214523145241452514526145271452814529145301453114532145331453414535145361453714538145391454014541145421454314544145451454614547145481454914550145511455214553145541455514556145571455814559145601456114562145631456414565145661456714568145691457014571145721457314574145751457614577145781457914580145811458214583145841458514586145871458814589145901459114592145931459414595145961459714598145991460014601146021460314604146051460614607146081460914610146111461214613146141461514616146171461814619146201462114622146231462414625146261462714628146291463014631146321463314634146351463614637146381463914640146411464214643146441464514646146471464814649146501465114652146531465414655146561465714658146591466014661146621466314664146651466614667146681466914670146711467214673146741467514676146771467814679146801468114682146831468414685146861468714688146891469014691146921469314694146951469614697146981469914700147011470214703147041470514706147071470814709147101471114712147131471414715147161471714718147191472014721147221472314724147251472614727147281472914730147311473214733147341473514736147371473814739147401474114742147431474414745147461474714748147491475014751147521475314754147551475614757147581475914760147611476214763147641476514766147671476814769147701477114772147731477414775147761477714778147791478014781147821478314784147851478614787147881478914790147911479214793147941479514796147971479814799148001480114802148031480414805148061480714808148091481014811148121481314814148151481614817148181481914820148211482214823148241482514826148271482814829148301483114832148331483414835148361483714838148391484014841148421484314844148451484614847148481484914850148511485214853148541485514856148571485814859148601486114862148631486414865148661486714868148691487014871148721487314874148751487614877148781487914880148811488214883148841488514886148871488814889148901489114892148931489414895148961489714898148991490014901149021490314904149051490614907149081490914910149111491214913149141491514916149171491814919149201492114922149231492414925149261492714928149291493014931149321493314934149351493614937149381493914940149411494214943149441494514946149471494814949149501495114952149531495414955149561495714958149591496014961149621496314964149651496614967149681496914970149711497214973149741497514976149771497814979149801498114982149831498414985149861498714988149891499014991149921499314994149951499614997149981499915000150011500215003150041500515006150071500815009150101501115012150131501415015150161501715018150191502015021150221502315024150251502615027150281502915030150311503215033150341503515036150371503815039150401504115042150431504415045150461504715048150491505015051150521505315054150551505615057150581505915060150611506215063150641506515066150671506815069150701507115072150731507415075150761507715078150791508015081150821508315084150851508615087150881508915090150911509215093150941509515096150971509815099151001510115102151031510415105151061510715108151091511015111151121511315114151151511615117151181511915120151211512215123151241512515126151271512815129151301513115132151331513415135151361513715138151391514015141151421514315144151451514615147151481514915150151511515215153151541515515156151571515815159151601516115162151631516415165151661516715168151691517015171151721517315174151751517615177151781517915180151811518215183151841518515186151871518815189151901519115192151931519415195151961519715198151991520015201152021520315204152051520615207152081520915210152111521215213152141521515216152171521815219152201522115222152231522415225152261522715228152291523015231152321523315234152351523615237152381523915240152411524215243152441524515246152471524815249152501525115252152531525415255152561525715258152591526015261152621526315264152651526615267152681526915270152711527215273152741527515276152771527815279152801528115282152831528415285152861528715288152891529015291152921529315294152951529615297152981529915300153011530215303153041530515306153071530815309153101531115312153131531415315153161531715318153191532015321153221532315324153251532615327153281532915330153311533215333153341533515336153371533815339153401534115342153431534415345153461534715348153491535015351153521535315354153551535615357153581535915360153611536215363153641536515366153671536815369153701537115372153731537415375153761537715378153791538015381153821538315384153851538615387153881538915390153911539215393153941539515396153971539815399154001540115402154031540415405154061540715408154091541015411154121541315414154151541615417154181541915420154211542215423154241542515426154271542815429154301543115432154331543415435154361543715438154391544015441154421544315444154451544615447154481544915450154511545215453154541545515456154571545815459154601546115462154631546415465154661546715468154691547015471154721547315474154751547615477154781547915480154811548215483154841548515486154871548815489154901549115492154931549415495154961549715498154991550015501155021550315504155051550615507155081550915510155111551215513155141551515516155171551815519155201552115522155231552415525155261552715528155291553015531155321553315534155351553615537155381553915540155411554215543155441554515546155471554815549155501555115552155531555415555155561555715558155591556015561155621556315564155651556615567155681556915570155711557215573155741557515576155771557815579155801558115582155831558415585155861558715588155891559015591155921559315594155951559615597155981559915600156011560215603156041560515606156071560815609156101561115612156131561415615156161561715618156191562015621156221562315624156251562615627156281562915630156311563215633156341563515636156371563815639156401564115642156431564415645156461564715648156491565015651156521565315654156551565615657156581565915660156611566215663156641566515666156671566815669156701567115672156731567415675156761567715678156791568015681156821568315684156851568615687156881568915690156911569215693156941569515696156971569815699157001570115702157031570415705157061570715708157091571015711157121571315714157151571615717157181571915720157211572215723157241572515726157271572815729157301573115732157331573415735157361573715738157391574015741157421574315744157451574615747157481574915750157511575215753157541575515756157571575815759157601576115762157631576415765157661576715768157691577015771157721577315774157751577615777157781577915780157811578215783157841578515786157871578815789157901579115792157931579415795157961579715798157991580015801158021580315804158051580615807158081580915810158111581215813158141581515816158171581815819158201582115822158231582415825158261582715828158291583015831158321583315834158351583615837158381583915840158411584215843158441584515846158471584815849158501585115852158531585415855158561585715858158591586015861158621586315864158651586615867158681586915870158711587215873158741587515876158771587815879158801588115882158831588415885158861588715888158891589015891158921589315894158951589615897158981589915900159011590215903159041590515906159071590815909159101591115912159131591415915159161591715918159191592015921159221592315924159251592615927159281592915930159311593215933159341593515936159371593815939159401594115942159431594415945159461594715948159491595015951159521595315954159551595615957159581595915960159611596215963159641596515966159671596815969159701597115972159731597415975159761597715978159791598015981159821598315984159851598615987159881598915990159911599215993159941599515996159971599815999160001600116002160031600416005160061600716008160091601016011160121601316014160151601616017160181601916020160211602216023160241602516026160271602816029160301603116032160331603416035160361603716038160391604016041160421604316044160451604616047160481604916050160511605216053160541605516056160571605816059160601606116062160631606416065160661606716068160691607016071160721607316074160751607616077160781607916080160811608216083160841608516086160871608816089160901609116092160931609416095160961609716098160991610016101161021610316104161051610616107161081610916110161111611216113161141611516116161171611816119161201612116122161231612416125161261612716128161291613016131161321613316134161351613616137161381613916140161411614216143161441614516146161471614816149161501615116152161531615416155161561615716158161591616016161161621616316164161651616616167161681616916170161711617216173161741617516176161771617816179161801618116182161831618416185161861618716188161891619016191161921619316194161951619616197161981619916200162011620216203162041620516206162071620816209162101621116212162131621416215162161621716218162191622016221162221622316224162251622616227162281622916230162311623216233162341623516236162371623816239162401624116242162431624416245162461624716248162491625016251162521625316254162551625616257162581625916260162611626216263162641626516266162671626816269162701627116272162731627416275162761627716278162791628016281162821628316284162851628616287162881628916290162911629216293162941629516296162971629816299163001630116302163031630416305163061630716308163091631016311163121631316314163151631616317163181631916320163211632216323163241632516326163271632816329163301633116332163331633416335163361633716338163391634016341163421634316344163451634616347163481634916350163511635216353163541635516356163571635816359163601636116362163631636416365163661636716368163691637016371163721637316374163751637616377163781637916380163811638216383163841638516386163871638816389163901639116392163931639416395163961639716398163991640016401164021640316404164051640616407164081640916410164111641216413164141641516416164171641816419164201642116422164231642416425164261642716428164291643016431164321643316434164351643616437164381643916440164411644216443164441644516446164471644816449164501645116452164531645416455164561645716458164591646016461164621646316464164651646616467164681646916470164711647216473164741647516476164771647816479164801648116482164831648416485164861648716488164891649016491164921649316494164951649616497164981649916500165011650216503165041650516506165071650816509165101651116512165131651416515165161651716518165191652016521165221652316524165251652616527165281652916530165311653216533165341653516536165371653816539165401654116542165431654416545165461654716548165491655016551165521655316554165551655616557165581655916560165611656216563165641656516566165671656816569165701657116572165731657416575165761657716578165791658016581165821658316584165851658616587165881658916590165911659216593165941659516596165971659816599166001660116602166031660416605166061660716608166091661016611166121661316614166151661616617166181661916620166211662216623166241662516626166271662816629166301663116632166331663416635166361663716638166391664016641166421664316644166451664616647166481664916650166511665216653166541665516656166571665816659166601666116662166631666416665166661666716668166691667016671166721667316674166751667616677166781667916680166811668216683166841668516686166871668816689166901669116692166931669416695166961669716698166991670016701167021670316704167051670616707167081670916710167111671216713167141671516716167171671816719167201672116722167231672416725167261672716728167291673016731167321673316734167351673616737167381673916740167411674216743167441674516746167471674816749167501675116752167531675416755167561675716758167591676016761167621676316764167651676616767167681676916770167711677216773167741677516776167771677816779167801678116782167831678416785167861678716788167891679016791167921679316794167951679616797167981679916800168011680216803168041680516806168071680816809168101681116812168131681416815168161681716818168191682016821168221682316824168251682616827168281682916830168311683216833168341683516836168371683816839168401684116842168431684416845168461684716848168491685016851168521685316854168551685616857168581685916860168611686216863168641686516866168671686816869168701687116872168731687416875168761687716878168791688016881168821688316884168851688616887168881688916890168911689216893168941689516896168971689816899169001690116902169031690416905169061690716908169091691016911169121691316914169151691616917169181691916920169211692216923169241692516926169271692816929169301693116932169331693416935169361693716938169391694016941169421694316944169451694616947169481694916950169511695216953169541695516956169571695816959169601696116962169631696416965169661696716968169691697016971169721697316974169751697616977169781697916980169811698216983169841698516986169871698816989169901699116992169931699416995169961699716998169991700017001170021700317004170051700617007170081700917010170111701217013170141701517016170171701817019170201702117022170231702417025170261702717028170291703017031170321703317034170351703617037170381703917040170411704217043170441704517046170471704817049170501705117052170531705417055170561705717058170591706017061170621706317064170651706617067170681706917070170711707217073170741707517076170771707817079170801708117082170831708417085170861708717088170891709017091170921709317094170951709617097170981709917100171011710217103171041710517106171071710817109171101711117112171131711417115171161711717118171191712017121171221712317124171251712617127171281712917130171311713217133171341713517136171371713817139171401714117142171431714417145171461714717148171491715017151171521715317154171551715617157171581715917160171611716217163171641716517166171671716817169171701717117172171731717417175171761717717178171791718017181171821718317184171851718617187171881718917190171911719217193171941719517196171971719817199172001720117202172031720417205172061720717208172091721017211172121721317214172151721617217172181721917220172211722217223172241722517226172271722817229172301723117232172331723417235172361723717238172391724017241172421724317244172451724617247172481724917250172511725217253172541725517256172571725817259172601726117262172631726417265172661726717268172691727017271172721727317274172751727617277172781727917280172811728217283172841728517286172871728817289172901729117292172931729417295172961729717298172991730017301173021730317304173051730617307173081730917310173111731217313173141731517316173171731817319173201732117322173231732417325173261732717328173291733017331173321733317334173351733617337173381733917340173411734217343173441734517346173471734817349173501735117352173531735417355173561735717358173591736017361173621736317364173651736617367173681736917370173711737217373173741737517376173771737817379173801738117382173831738417385173861738717388173891739017391173921739317394173951739617397173981739917400174011740217403174041740517406174071740817409174101741117412174131741417415174161741717418174191742017421174221742317424174251742617427174281742917430174311743217433174341743517436174371743817439174401744117442174431744417445174461744717448174491745017451174521745317454174551745617457174581745917460174611746217463174641746517466174671746817469174701747117472174731747417475174761747717478174791748017481174821748317484174851748617487174881748917490174911749217493174941749517496174971749817499175001750117502175031750417505175061750717508175091751017511175121751317514175151751617517175181751917520175211752217523175241752517526175271752817529175301753117532175331753417535175361753717538175391754017541175421754317544175451754617547175481754917550175511755217553175541755517556175571755817559175601756117562175631756417565175661756717568175691757017571175721757317574175751757617577175781757917580175811758217583175841758517586175871758817589175901759117592175931759417595175961759717598175991760017601176021760317604176051760617607176081760917610176111761217613176141761517616176171761817619176201762117622176231762417625176261762717628176291763017631176321763317634176351763617637176381763917640176411764217643176441764517646176471764817649176501765117652176531765417655176561765717658176591766017661176621766317664176651766617667176681766917670176711767217673176741767517676176771767817679176801768117682176831768417685176861768717688176891769017691176921769317694176951769617697176981769917700177011770217703177041770517706177071770817709177101771117712177131771417715177161771717718177191772017721177221772317724177251772617727177281772917730177311773217733177341773517736177371773817739177401774117742177431774417745177461774717748177491775017751177521775317754177551775617757177581775917760177611776217763177641776517766177671776817769177701777117772177731777417775177761777717778177791778017781177821778317784177851778617787177881778917790177911779217793177941779517796177971779817799178001780117802178031780417805178061780717808178091781017811178121781317814178151781617817178181781917820178211782217823178241782517826178271782817829178301783117832178331783417835178361783717838178391784017841178421784317844178451784617847178481784917850178511785217853178541785517856178571785817859178601786117862178631786417865178661786717868178691787017871178721787317874178751787617877178781787917880178811788217883178841788517886178871788817889178901789117892178931789417895178961789717898178991790017901179021790317904179051790617907179081790917910179111791217913179141791517916179171791817919179201792117922179231792417925179261792717928179291793017931179321793317934179351793617937179381793917940179411794217943179441794517946179471794817949179501795117952179531795417955179561795717958179591796017961179621796317964179651796617967179681796917970179711797217973179741797517976179771797817979179801798117982179831798417985179861798717988179891799017991179921799317994179951799617997179981799918000180011800218003180041800518006180071800818009180101801118012180131801418015180161801718018180191802018021180221802318024180251802618027180281802918030180311803218033180341803518036180371803818039180401804118042180431804418045180461804718048180491805018051180521805318054180551805618057180581805918060180611806218063180641806518066180671806818069180701807118072180731807418075180761807718078180791808018081180821808318084180851808618087180881808918090180911809218093180941809518096180971809818099181001810118102181031810418105181061810718108181091811018111181121811318114181151811618117181181811918120181211812218123181241812518126181271812818129181301813118132181331813418135181361813718138181391814018141181421814318144181451814618147181481814918150181511815218153181541815518156181571815818159181601816118162181631816418165181661816718168181691817018171181721817318174181751817618177181781817918180181811818218183181841818518186181871818818189181901819118192181931819418195181961819718198181991820018201182021820318204182051820618207182081820918210182111821218213182141821518216182171821818219182201822118222182231822418225182261822718228182291823018231182321823318234182351823618237182381823918240182411824218243182441824518246182471824818249182501825118252182531825418255182561825718258182591826018261182621826318264182651826618267182681826918270182711827218273182741827518276182771827818279182801828118282182831828418285182861828718288182891829018291182921829318294182951829618297182981829918300183011830218303183041830518306183071830818309183101831118312183131831418315183161831718318183191832018321183221832318324183251832618327183281832918330183311833218333183341833518336183371833818339183401834118342183431834418345183461834718348183491835018351183521835318354183551835618357183581835918360183611836218363183641836518366183671836818369183701837118372183731837418375183761837718378183791838018381183821838318384183851838618387183881838918390183911839218393183941839518396183971839818399184001840118402184031840418405184061840718408184091841018411184121841318414184151841618417184181841918420184211842218423184241842518426184271842818429184301843118432184331843418435184361843718438184391844018441184421844318444184451844618447184481844918450184511845218453184541845518456184571845818459184601846118462184631846418465184661846718468184691847018471184721847318474184751847618477184781847918480184811848218483184841848518486184871848818489184901849118492184931849418495184961849718498184991850018501185021850318504185051850618507185081850918510185111851218513185141851518516185171851818519185201852118522185231852418525185261852718528185291853018531185321853318534185351853618537185381853918540185411854218543185441854518546185471854818549185501855118552185531855418555185561855718558185591856018561185621856318564185651856618567185681856918570185711857218573185741857518576185771857818579185801858118582185831858418585185861858718588185891859018591185921859318594185951859618597185981859918600186011860218603186041860518606186071860818609186101861118612186131861418615186161861718618186191862018621186221862318624186251862618627186281862918630186311863218633186341863518636186371863818639186401864118642186431864418645186461864718648186491865018651186521865318654186551865618657186581865918660186611866218663186641866518666186671866818669186701867118672186731867418675186761867718678186791868018681186821868318684186851868618687186881868918690186911869218693186941869518696186971869818699187001870118702187031870418705187061870718708187091871018711187121871318714187151871618717187181871918720187211872218723187241872518726187271872818729187301873118732187331873418735187361873718738187391874018741187421874318744187451874618747187481874918750187511875218753187541875518756187571875818759187601876118762187631876418765187661876718768187691877018771187721877318774187751877618777187781877918780187811878218783187841878518786187871878818789187901879118792187931879418795187961879718798187991880018801188021880318804188051880618807188081880918810188111881218813188141881518816188171881818819188201882118822188231882418825188261882718828188291883018831188321883318834188351883618837188381883918840188411884218843188441884518846188471884818849188501885118852188531885418855188561885718858188591886018861188621886318864188651886618867188681886918870188711887218873188741887518876188771887818879188801888118882188831888418885188861888718888188891889018891188921889318894188951889618897188981889918900189011890218903189041890518906189071890818909189101891118912189131891418915189161891718918189191892018921189221892318924189251892618927189281892918930189311893218933189341893518936189371893818939189401894118942189431894418945189461894718948189491895018951189521895318954189551895618957189581895918960189611896218963189641896518966189671896818969189701897118972189731897418975189761897718978189791898018981189821898318984189851898618987189881898918990189911899218993189941899518996189971899818999190001900119002190031900419005190061900719008190091901019011190121901319014190151901619017190181901919020190211902219023190241902519026190271902819029190301903119032190331903419035190361903719038190391904019041190421904319044190451904619047190481904919050190511905219053190541905519056190571905819059190601906119062190631906419065190661906719068190691907019071190721907319074190751907619077190781907919080190811908219083190841908519086190871908819089190901909119092190931909419095190961909719098190991910019101191021910319104191051910619107191081910919110191111911219113191141911519116191171911819119191201912119122191231912419125191261912719128191291913019131191321913319134191351913619137191381913919140191411914219143191441914519146191471914819149191501915119152191531915419155191561915719158191591916019161191621916319164191651916619167191681916919170191711917219173191741917519176191771917819179191801918119182191831918419185191861918719188191891919019191191921919319194191951919619197191981919919200192011920219203192041920519206192071920819209192101921119212192131921419215192161921719218192191922019221192221922319224192251922619227192281922919230192311923219233192341923519236192371923819239192401924119242192431924419245192461924719248192491925019251192521925319254192551925619257192581925919260192611926219263192641926519266192671926819269192701927119272192731927419275192761927719278192791928019281192821928319284192851928619287192881928919290192911929219293192941929519296192971929819299193001930119302193031930419305193061930719308193091931019311193121931319314193151931619317193181931919320193211932219323193241932519326193271932819329193301933119332193331933419335193361933719338193391934019341193421934319344193451934619347193481934919350193511935219353193541935519356193571935819359193601936119362193631936419365193661936719368193691937019371193721937319374193751937619377193781937919380193811938219383193841938519386193871938819389193901939119392193931939419395193961939719398193991940019401194021940319404194051940619407194081940919410194111941219413194141941519416194171941819419194201942119422194231942419425194261942719428194291943019431194321943319434194351943619437194381943919440194411944219443194441944519446194471944819449194501945119452194531945419455194561945719458194591946019461194621946319464194651946619467194681946919470194711947219473194741947519476194771947819479194801948119482194831948419485194861948719488194891949019491194921949319494194951949619497194981949919500195011950219503195041950519506195071950819509195101951119512195131951419515195161951719518195191952019521195221952319524195251952619527195281952919530195311953219533195341953519536195371953819539195401954119542195431954419545195461954719548195491955019551195521955319554195551955619557195581955919560195611956219563195641956519566195671956819569195701957119572195731957419575195761957719578195791958019581195821958319584195851958619587195881958919590195911959219593195941959519596195971959819599196001960119602196031960419605196061960719608196091961019611196121961319614196151961619617196181961919620196211962219623196241962519626196271962819629196301963119632196331963419635196361963719638196391964019641196421964319644196451964619647196481964919650196511965219653196541965519656196571965819659196601966119662196631966419665196661966719668196691967019671196721967319674196751967619677196781967919680196811968219683196841968519686196871968819689196901969119692196931969419695196961969719698196991970019701197021970319704197051970619707197081970919710197111971219713197141971519716197171971819719197201972119722197231972419725197261972719728197291973019731197321973319734197351973619737197381973919740197411974219743197441974519746197471974819749197501975119752197531975419755197561975719758197591976019761197621976319764197651976619767197681976919770197711977219773197741977519776197771977819779197801978119782197831978419785197861978719788197891979019791197921979319794197951979619797197981979919800198011980219803198041980519806198071980819809198101981119812198131981419815198161981719818198191982019821198221982319824198251982619827198281982919830198311983219833198341983519836198371983819839198401984119842198431984419845198461984719848198491985019851198521985319854198551985619857198581985919860198611986219863198641986519866198671986819869198701987119872198731987419875198761987719878198791988019881198821988319884198851988619887198881988919890198911989219893198941989519896198971989819899199001990119902199031990419905199061990719908199091991019911199121991319914199151991619917199181991919920199211992219923199241992519926199271992819929199301993119932199331993419935199361993719938199391994019941199421994319944199451994619947199481994919950199511995219953199541995519956199571995819959199601996119962199631996419965199661996719968199691997019971199721997319974199751997619977199781997919980199811998219983199841998519986199871998819989199901999119992199931999419995199961999719998199992000020001200022000320004200052000620007200082000920010200112001220013200142001520016200172001820019200202002120022200232002420025200262002720028200292003020031200322003320034200352003620037200382003920040200412004220043200442004520046200472004820049200502005120052200532005420055200562005720058200592006020061200622006320064200652006620067200682006920070200712007220073200742007520076200772007820079200802008120082200832008420085200862008720088200892009020091200922009320094200952009620097200982009920100201012010220103201042010520106201072010820109201102011120112201132011420115201162011720118201192012020121201222012320124201252012620127201282012920130201312013220133201342013520136201372013820139201402014120142201432014420145201462014720148201492015020151201522015320154201552015620157201582015920160201612016220163201642016520166201672016820169201702017120172201732017420175201762017720178201792018020181201822018320184201852018620187201882018920190201912019220193201942019520196201972019820199202002020120202202032020420205202062020720208202092021020211202122021320214202152021620217202182021920220202212022220223202242022520226202272022820229202302023120232202332023420235202362023720238202392024020241202422024320244202452024620247202482024920250202512025220253202542025520256202572025820259202602026120262202632026420265202662026720268202692027020271202722027320274202752027620277202782027920280202812028220283202842028520286202872028820289202902029120292202932029420295202962029720298202992030020301203022030320304203052030620307203082030920310203112031220313203142031520316203172031820319203202032120322203232032420325203262032720328203292033020331203322033320334203352033620337203382033920340203412034220343203442034520346203472034820349203502035120352203532035420355203562035720358203592036020361203622036320364203652036620367203682036920370203712037220373203742037520376203772037820379203802038120382203832038420385203862038720388203892039020391203922039320394203952039620397203982039920400204012040220403204042040520406204072040820409204102041120412204132041420415204162041720418204192042020421204222042320424204252042620427204282042920430204312043220433204342043520436204372043820439204402044120442204432044420445204462044720448204492045020451204522045320454204552045620457204582045920460204612046220463204642046520466204672046820469204702047120472204732047420475204762047720478204792048020481204822048320484204852048620487204882048920490204912049220493204942049520496204972049820499205002050120502205032050420505205062050720508205092051020511205122051320514205152051620517205182051920520205212052220523205242052520526205272052820529205302053120532205332053420535205362053720538205392054020541205422054320544205452054620547205482054920550205512055220553205542055520556205572055820559205602056120562205632056420565205662056720568205692057020571205722057320574205752057620577205782057920580205812058220583205842058520586205872058820589205902059120592205932059420595205962059720598205992060020601206022060320604206052060620607206082060920610206112061220613206142061520616206172061820619206202062120622206232062420625206262062720628206292063020631206322063320634206352063620637206382063920640206412064220643206442064520646206472064820649206502065120652206532065420655206562065720658206592066020661206622066320664206652066620667206682066920670206712067220673206742067520676206772067820679206802068120682206832068420685206862068720688206892069020691206922069320694206952069620697206982069920700207012070220703207042070520706207072070820709207102071120712207132071420715207162071720718207192072020721207222072320724207252072620727207282072920730207312073220733207342073520736207372073820739207402074120742207432074420745207462074720748207492075020751207522075320754207552075620757207582075920760207612076220763207642076520766207672076820769207702077120772207732077420775207762077720778207792078020781207822078320784207852078620787207882078920790207912079220793207942079520796207972079820799208002080120802208032080420805208062080720808208092081020811208122081320814208152081620817208182081920820208212082220823208242082520826208272082820829208302083120832208332083420835208362083720838208392084020841208422084320844208452084620847208482084920850208512085220853208542085520856208572085820859208602086120862208632086420865208662086720868208692087020871208722087320874208752087620877208782087920880208812088220883208842088520886208872088820889208902089120892208932089420895208962089720898208992090020901209022090320904209052090620907209082090920910209112091220913209142091520916209172091820919209202092120922209232092420925209262092720928209292093020931209322093320934209352093620937209382093920940209412094220943209442094520946209472094820949209502095120952209532095420955209562095720958209592096020961209622096320964209652096620967209682096920970209712097220973209742097520976209772097820979209802098120982209832098420985209862098720988209892099020991209922099320994209952099620997209982099921000210012100221003210042100521006210072100821009210102101121012210132101421015210162101721018210192102021021210222102321024210252102621027210282102921030210312103221033210342103521036210372103821039210402104121042210432104421045210462104721048210492105021051210522105321054210552105621057210582105921060210612106221063210642106521066210672106821069210702107121072210732107421075210762107721078210792108021081210822108321084210852108621087210882108921090210912109221093210942109521096210972109821099211002110121102211032110421105211062110721108211092111021111211122111321114211152111621117211182111921120211212112221123211242112521126211272112821129211302113121132211332113421135211362113721138211392114021141211422114321144211452114621147211482114921150211512115221153211542115521156211572115821159211602116121162211632116421165211662116721168211692117021171211722117321174211752117621177211782117921180211812118221183211842118521186211872118821189211902119121192211932119421195211962119721198211992120021201212022120321204212052120621207212082120921210212112121221213212142121521216212172121821219212202122121222212232122421225212262122721228212292123021231212322123321234212352123621237212382123921240212412124221243212442124521246212472124821249212502125121252212532125421255212562125721258212592126021261212622126321264212652126621267212682126921270212712127221273212742127521276212772127821279212802128121282212832128421285212862128721288212892129021291212922129321294212952129621297212982129921300213012130221303213042130521306213072130821309213102131121312213132131421315213162131721318213192132021321213222132321324213252132621327213282132921330213312133221333213342133521336213372133821339213402134121342213432134421345213462134721348213492135021351213522135321354213552135621357213582135921360213612136221363213642136521366213672136821369213702137121372213732137421375213762137721378213792138021381213822138321384213852138621387213882138921390213912139221393213942139521396213972139821399214002140121402214032140421405214062140721408214092141021411214122141321414214152141621417214182141921420214212142221423214242142521426214272142821429214302143121432214332143421435214362143721438214392144021441214422144321444214452144621447214482144921450214512145221453214542145521456214572145821459214602146121462214632146421465214662146721468214692147021471214722147321474214752147621477214782147921480214812148221483214842148521486214872148821489214902149121492214932149421495214962149721498214992150021501215022150321504215052150621507215082150921510215112151221513215142151521516215172151821519215202152121522215232152421525215262152721528215292153021531215322153321534215352153621537215382153921540215412154221543215442154521546215472154821549215502155121552215532155421555215562155721558215592156021561215622156321564215652156621567215682156921570215712157221573215742157521576215772157821579215802158121582215832158421585215862158721588215892159021591215922159321594215952159621597215982159921600216012160221603216042160521606216072160821609216102161121612216132161421615216162161721618216192162021621216222162321624216252162621627216282162921630216312163221633216342163521636216372163821639216402164121642216432164421645216462164721648216492165021651216522165321654216552165621657216582165921660216612166221663216642166521666216672166821669216702167121672216732167421675216762167721678216792168021681216822168321684216852168621687216882168921690216912169221693216942169521696216972169821699217002170121702217032170421705217062170721708217092171021711217122171321714217152171621717217182171921720217212172221723217242172521726217272172821729217302173121732217332173421735217362173721738217392174021741217422174321744217452174621747217482174921750217512175221753217542175521756217572175821759217602176121762217632176421765217662176721768217692177021771217722177321774217752177621777217782177921780217812178221783217842178521786217872178821789217902179121792217932179421795217962179721798217992180021801218022180321804218052180621807218082180921810218112181221813218142181521816218172181821819218202182121822218232182421825218262182721828218292183021831218322183321834218352183621837218382183921840218412184221843218442184521846218472184821849218502185121852218532185421855218562185721858218592186021861218622186321864218652186621867218682186921870218712187221873218742187521876218772187821879218802188121882218832188421885218862188721888218892189021891218922189321894218952189621897218982189921900219012190221903219042190521906219072190821909219102191121912219132191421915219162191721918219192192021921219222192321924219252192621927219282192921930219312193221933219342193521936219372193821939219402194121942219432194421945219462194721948219492195021951219522195321954219552195621957219582195921960219612196221963219642196521966219672196821969219702197121972219732197421975219762197721978219792198021981219822198321984219852198621987219882198921990219912199221993219942199521996219972199821999220002200122002220032200422005220062200722008220092201022011220122201322014220152201622017220182201922020220212202222023220242202522026220272202822029220302203122032220332203422035220362203722038220392204022041220422204322044220452204622047220482204922050220512205222053220542205522056220572205822059220602206122062220632206422065220662206722068220692207022071220722207322074220752207622077220782207922080220812208222083220842208522086220872208822089220902209122092220932209422095220962209722098220992210022101221022210322104221052210622107221082210922110221112211222113221142211522116221172211822119221202212122122221232212422125221262212722128221292213022131221322213322134221352213622137221382213922140221412214222143221442214522146221472214822149221502215122152221532215422155221562215722158221592216022161221622216322164221652216622167221682216922170221712217222173221742217522176221772217822179221802218122182221832218422185221862218722188221892219022191221922219322194221952219622197221982219922200222012220222203222042220522206222072220822209222102221122212222132221422215222162221722218222192222022221222222222322224222252222622227222282222922230222312223222233222342223522236222372223822239222402224122242222432224422245222462224722248222492225022251222522225322254222552225622257222582225922260222612226222263222642226522266222672226822269222702227122272222732227422275222762227722278222792228022281222822228322284222852228622287222882228922290222912229222293222942229522296222972229822299223002230122302223032230422305223062230722308223092231022311223122231322314223152231622317223182231922320223212232222323223242232522326223272232822329223302233122332223332233422335223362233722338223392234022341223422234322344223452234622347223482234922350223512235222353223542235522356223572235822359223602236122362223632236422365223662236722368223692237022371223722237322374223752237622377223782237922380223812238222383223842238522386223872238822389223902239122392223932239422395223962239722398223992240022401224022240322404224052240622407224082240922410224112241222413224142241522416224172241822419224202242122422224232242422425224262242722428224292243022431224322243322434224352243622437224382243922440224412244222443224442244522446224472244822449224502245122452224532245422455224562245722458224592246022461224622246322464224652246622467224682246922470224712247222473224742247522476224772247822479224802248122482224832248422485224862248722488224892249022491224922249322494224952249622497224982249922500225012250222503225042250522506225072250822509225102251122512225132251422515225162251722518225192252022521225222252322524225252252622527225282252922530225312253222533225342253522536225372253822539225402254122542225432254422545225462254722548225492255022551225522255322554225552255622557225582255922560225612256222563225642256522566225672256822569225702257122572225732257422575225762257722578225792258022581225822258322584225852258622587225882258922590225912259222593225942259522596225972259822599226002260122602226032260422605226062260722608226092261022611226122261322614226152261622617226182261922620226212262222623226242262522626226272262822629226302263122632226332263422635226362263722638226392264022641226422264322644226452264622647226482264922650226512265222653226542265522656226572265822659226602266122662226632266422665226662266722668226692267022671226722267322674226752267622677226782267922680226812268222683226842268522686226872268822689226902269122692226932269422695226962269722698226992270022701227022270322704227052270622707227082270922710227112271222713227142271522716227172271822719227202272122722227232272422725227262272722728227292273022731227322273322734227352273622737227382273922740227412274222743227442274522746227472274822749227502275122752227532275422755227562275722758227592276022761227622276322764227652276622767227682276922770227712277222773227742277522776227772277822779227802278122782227832278422785227862278722788227892279022791227922279322794227952279622797227982279922800228012280222803228042280522806228072280822809228102281122812228132281422815228162281722818228192282022821228222282322824228252282622827228282282922830228312283222833228342283522836228372283822839228402284122842228432284422845228462284722848228492285022851228522285322854228552285622857228582285922860228612286222863228642286522866228672286822869228702287122872228732287422875228762287722878228792288022881228822288322884228852288622887228882288922890228912289222893228942289522896228972289822899229002290122902229032290422905229062290722908229092291022911229122291322914229152291622917229182291922920229212292222923229242292522926229272292822929229302293122932229332293422935229362293722938229392294022941229422294322944229452294622947229482294922950229512295222953229542295522956229572295822959229602296122962229632296422965229662296722968229692297022971229722297322974229752297622977229782297922980229812298222983229842298522986229872298822989229902299122992229932299422995229962299722998229992300023001230022300323004230052300623007230082300923010230112301223013230142301523016230172301823019230202302123022230232302423025230262302723028230292303023031230322303323034230352303623037230382303923040230412304223043230442304523046230472304823049230502305123052230532305423055230562305723058230592306023061230622306323064230652306623067230682306923070230712307223073230742307523076230772307823079230802308123082230832308423085230862308723088230892309023091230922309323094230952309623097230982309923100231012310223103231042310523106231072310823109231102311123112231132311423115231162311723118231192312023121231222312323124231252312623127231282312923130231312313223133231342313523136231372313823139231402314123142231432314423145231462314723148231492315023151231522315323154231552315623157231582315923160231612316223163231642316523166231672316823169231702317123172231732317423175231762317723178231792318023181231822318323184231852318623187231882318923190231912319223193231942319523196231972319823199232002320123202232032320423205232062320723208232092321023211232122321323214232152321623217232182321923220232212322223223232242322523226232272322823229232302323123232232332323423235232362323723238232392324023241232422324323244232452324623247232482324923250232512325223253232542325523256232572325823259232602326123262232632326423265232662326723268232692327023271232722327323274232752327623277232782327923280232812328223283232842328523286232872328823289232902329123292232932329423295232962329723298232992330023301233022330323304233052330623307233082330923310233112331223313233142331523316233172331823319233202332123322233232332423325233262332723328233292333023331233322333323334233352333623337233382333923340233412334223343233442334523346233472334823349233502335123352233532335423355233562335723358233592336023361233622336323364233652336623367233682336923370233712337223373233742337523376233772337823379233802338123382233832338423385233862338723388233892339023391233922339323394233952339623397233982339923400234012340223403234042340523406234072340823409234102341123412234132341423415234162341723418234192342023421234222342323424234252342623427234282342923430234312343223433234342343523436234372343823439234402344123442234432344423445234462344723448234492345023451234522345323454234552345623457234582345923460234612346223463234642346523466234672346823469234702347123472234732347423475234762347723478234792348023481234822348323484234852348623487234882348923490234912349223493234942349523496234972349823499235002350123502235032350423505235062350723508235092351023511235122351323514235152351623517235182351923520235212352223523235242352523526235272352823529235302353123532235332353423535235362353723538235392354023541235422354323544235452354623547235482354923550235512355223553235542355523556235572355823559235602356123562235632356423565235662356723568235692357023571235722357323574235752357623577235782357923580235812358223583235842358523586235872358823589235902359123592235932359423595235962359723598235992360023601236022360323604236052360623607236082360923610236112361223613236142361523616236172361823619236202362123622236232362423625236262362723628236292363023631236322363323634236352363623637236382363923640236412364223643236442364523646236472364823649236502365123652236532365423655236562365723658236592366023661236622366323664236652366623667236682366923670236712367223673236742367523676236772367823679236802368123682236832368423685236862368723688236892369023691236922369323694236952369623697236982369923700237012370223703237042370523706237072370823709237102371123712237132371423715237162371723718237192372023721237222372323724237252372623727237282372923730237312373223733237342373523736237372373823739237402374123742237432374423745237462374723748237492375023751237522375323754237552375623757237582375923760237612376223763237642376523766237672376823769237702377123772237732377423775237762377723778237792378023781237822378323784237852378623787237882378923790237912379223793237942379523796237972379823799238002380123802238032380423805238062380723808238092381023811238122381323814238152381623817238182381923820238212382223823238242382523826238272382823829238302383123832238332383423835238362383723838238392384023841238422384323844238452384623847238482384923850238512385223853238542385523856238572385823859238602386123862238632386423865238662386723868238692387023871238722387323874238752387623877238782387923880238812388223883238842388523886238872388823889238902389123892238932389423895238962389723898238992390023901239022390323904239052390623907239082390923910239112391223913239142391523916239172391823919239202392123922239232392423925239262392723928239292393023931239322393323934239352393623937239382393923940239412394223943239442394523946239472394823949239502395123952239532395423955239562395723958239592396023961239622396323964239652396623967239682396923970239712397223973239742397523976239772397823979239802398123982239832398423985239862398723988239892399023991239922399323994239952399623997239982399924000240012400224003240042400524006240072400824009240102401124012240132401424015240162401724018240192402024021240222402324024240252402624027240282402924030240312403224033240342403524036240372403824039240402404124042240432404424045240462404724048240492405024051240522405324054240552405624057240582405924060240612406224063240642406524066240672406824069240702407124072240732407424075240762407724078240792408024081240822408324084240852408624087240882408924090240912409224093240942409524096240972409824099241002410124102241032410424105241062410724108241092411024111241122411324114241152411624117241182411924120241212412224123241242412524126241272412824129241302413124132241332413424135241362413724138241392414024141241422414324144241452414624147241482414924150241512415224153241542415524156241572415824159241602416124162241632416424165241662416724168241692417024171241722417324174241752417624177241782417924180241812418224183241842418524186241872418824189241902419124192241932419424195241962419724198241992420024201242022420324204242052420624207242082420924210242112421224213242142421524216242172421824219242202422124222242232422424225242262422724228242292423024231242322423324234242352423624237242382423924240242412424224243242442424524246242472424824249242502425124252242532425424255242562425724258242592426024261242622426324264242652426624267242682426924270242712427224273242742427524276242772427824279242802428124282242832428424285242862428724288242892429024291242922429324294242952429624297242982429924300243012430224303243042430524306243072430824309243102431124312243132431424315243162431724318243192432024321243222432324324243252432624327243282432924330243312433224333243342433524336243372433824339243402434124342243432434424345243462434724348243492435024351243522435324354243552435624357243582435924360243612436224363243642436524366243672436824369243702437124372243732437424375243762437724378243792438024381243822438324384243852438624387243882438924390243912439224393243942439524396243972439824399244002440124402244032440424405244062440724408244092441024411244122441324414244152441624417244182441924420244212442224423244242442524426244272442824429244302443124432244332443424435244362443724438244392444024441244422444324444244452444624447244482444924450244512445224453244542445524456244572445824459244602446124462244632446424465244662446724468244692447024471244722447324474244752447624477244782447924480244812448224483244842448524486244872448824489244902449124492244932449424495244962449724498244992450024501245022450324504245052450624507245082450924510245112451224513245142451524516245172451824519245202452124522245232452424525245262452724528245292453024531245322453324534245352453624537245382453924540245412454224543245442454524546245472454824549245502455124552245532455424555245562455724558245592456024561245622456324564245652456624567245682456924570245712457224573245742457524576245772457824579245802458124582245832458424585245862458724588245892459024591245922459324594245952459624597245982459924600246012460224603246042460524606246072460824609246102461124612246132461424615246162461724618246192462024621246222462324624246252462624627246282462924630246312463224633246342463524636246372463824639246402464124642246432464424645246462464724648246492465024651246522465324654246552465624657246582465924660246612466224663246642466524666246672466824669246702467124672246732467424675246762467724678246792468024681246822468324684246852468624687246882468924690246912469224693246942469524696246972469824699247002470124702247032470424705247062470724708247092471024711247122471324714247152471624717247182471924720247212472224723247242472524726247272472824729247302473124732247332473424735247362473724738247392474024741247422474324744247452474624747247482474924750247512475224753247542475524756247572475824759247602476124762247632476424765247662476724768247692477024771247722477324774247752477624777247782477924780247812478224783247842478524786247872478824789247902479124792247932479424795247962479724798247992480024801248022480324804248052480624807248082480924810248112481224813248142481524816248172481824819248202482124822248232482424825248262482724828248292483024831248322483324834248352483624837248382483924840248412484224843248442484524846248472484824849248502485124852248532485424855248562485724858248592486024861248622486324864248652486624867248682486924870248712487224873248742487524876248772487824879248802488124882248832488424885248862488724888248892489024891248922489324894248952489624897248982489924900249012490224903249042490524906249072490824909249102491124912249132491424915249162491724918249192492024921249222492324924249252492624927249282492924930249312493224933249342493524936249372493824939249402494124942249432494424945249462494724948249492495024951249522495324954249552495624957249582495924960249612496224963249642496524966249672496824969249702497124972249732497424975249762497724978249792498024981249822498324984249852498624987249882498924990249912499224993249942499524996249972499824999250002500125002250032500425005250062500725008250092501025011250122501325014250152501625017250182501925020250212502225023250242502525026250272502825029250302503125032250332503425035250362503725038250392504025041250422504325044250452504625047250482504925050250512505225053250542505525056250572505825059250602506125062250632506425065250662506725068250692507025071250722507325074250752507625077250782507925080250812508225083250842508525086250872508825089250902509125092250932509425095250962509725098250992510025101251022510325104251052510625107251082510925110251112511225113251142511525116251172511825119251202512125122251232512425125251262512725128251292513025131251322513325134251352513625137251382513925140251412514225143251442514525146251472514825149251502515125152251532515425155251562515725158251592516025161251622516325164251652516625167251682516925170251712517225173251742517525176251772517825179251802518125182251832518425185251862518725188251892519025191251922519325194251952519625197251982519925200252012520225203252042520525206252072520825209252102521125212252132521425215252162521725218252192522025221252222522325224252252522625227252282522925230252312523225233252342523525236252372523825239252402524125242252432524425245252462524725248252492525025251252522525325254252552525625257252582525925260252612526225263252642526525266252672526825269252702527125272252732527425275252762527725278252792528025281252822528325284252852528625287252882528925290252912529225293252942529525296252972529825299253002530125302253032530425305253062530725308253092531025311253122531325314253152531625317253182531925320253212532225323253242532525326253272532825329253302533125332253332533425335253362533725338253392534025341253422534325344253452534625347253482534925350253512535225353253542535525356253572535825359253602536125362253632536425365253662536725368253692537025371253722537325374253752537625377253782537925380253812538225383253842538525386253872538825389253902539125392253932539425395253962539725398253992540025401254022540325404254052540625407254082540925410254112541225413254142541525416254172541825419254202542125422254232542425425254262542725428254292543025431254322543325434254352543625437254382543925440254412544225443254442544525446254472544825449254502545125452254532545425455254562545725458254592546025461254622546325464254652546625467254682546925470254712547225473254742547525476254772547825479254802548125482254832548425485254862548725488254892549025491254922549325494254952549625497254982549925500255012550225503255042550525506255072550825509255102551125512255132551425515255162551725518255192552025521255222552325524255252552625527255282552925530255312553225533255342553525536255372553825539255402554125542255432554425545255462554725548255492555025551255522555325554255552555625557255582555925560255612556225563255642556525566255672556825569255702557125572255732557425575255762557725578255792558025581255822558325584255852558625587255882558925590255912559225593255942559525596255972559825599256002560125602256032560425605256062560725608256092561025611256122561325614256152561625617256182561925620256212562225623256242562525626256272562825629256302563125632256332563425635256362563725638256392564025641256422564325644256452564625647256482564925650256512565225653256542565525656256572565825659256602566125662256632566425665256662566725668256692567025671256722567325674256752567625677256782567925680256812568225683256842568525686256872568825689256902569125692256932569425695256962569725698256992570025701257022570325704257052570625707257082570925710257112571225713257142571525716257172571825719257202572125722257232572425725257262572725728257292573025731257322573325734257352573625737257382573925740257412574225743257442574525746257472574825749257502575125752257532575425755257562575725758257592576025761257622576325764257652576625767257682576925770257712577225773257742577525776257772577825779257802578125782257832578425785257862578725788257892579025791257922579325794257952579625797257982579925800258012580225803258042580525806258072580825809258102581125812258132581425815258162581725818258192582025821258222582325824258252582625827258282582925830258312583225833258342583525836258372583825839258402584125842258432584425845258462584725848258492585025851258522585325854258552585625857258582585925860258612586225863258642586525866258672586825869258702587125872258732587425875258762587725878258792588025881258822588325884258852588625887258882588925890258912589225893258942589525896258972589825899259002590125902259032590425905259062590725908259092591025911259122591325914259152591625917259182591925920259212592225923259242592525926259272592825929259302593125932259332593425935259362593725938259392594025941259422594325944259452594625947259482594925950259512595225953259542595525956259572595825959259602596125962259632596425965259662596725968259692597025971259722597325974259752597625977259782597925980259812598225983259842598525986259872598825989259902599125992259932599425995259962599725998259992600026001260022600326004260052600626007260082600926010260112601226013260142601526016260172601826019260202602126022260232602426025260262602726028260292603026031260322603326034260352603626037260382603926040260412604226043260442604526046260472604826049260502605126052260532605426055260562605726058260592606026061260622606326064260652606626067260682606926070260712607226073260742607526076260772607826079260802608126082260832608426085260862608726088260892609026091260922609326094260952609626097260982609926100261012610226103261042610526106261072610826109261102611126112261132611426115261162611726118261192612026121261222612326124261252612626127261282612926130261312613226133261342613526136261372613826139261402614126142261432614426145261462614726148261492615026151261522615326154261552615626157261582615926160261612616226163261642616526166261672616826169261702617126172261732617426175261762617726178261792618026181261822618326184261852618626187261882618926190261912619226193261942619526196261972619826199262002620126202262032620426205262062620726208262092621026211262122621326214262152621626217262182621926220262212622226223262242622526226262272622826229262302623126232262332623426235262362623726238262392624026241262422624326244262452624626247262482624926250262512625226253262542625526256262572625826259262602626126262262632626426265262662626726268262692627026271262722627326274262752627626277262782627926280262812628226283262842628526286262872628826289262902629126292262932629426295262962629726298262992630026301263022630326304263052630626307263082630926310263112631226313263142631526316263172631826319263202632126322263232632426325263262632726328263292633026331263322633326334263352633626337263382633926340263412634226343263442634526346263472634826349263502635126352263532635426355263562635726358263592636026361263622636326364263652636626367263682636926370263712637226373263742637526376263772637826379263802638126382263832638426385263862638726388263892639026391263922639326394263952639626397263982639926400264012640226403264042640526406264072640826409264102641126412264132641426415264162641726418264192642026421264222642326424264252642626427264282642926430264312643226433264342643526436264372643826439264402644126442264432644426445264462644726448264492645026451264522645326454264552645626457264582645926460264612646226463264642646526466264672646826469264702647126472264732647426475264762647726478264792648026481264822648326484264852648626487264882648926490264912649226493264942649526496264972649826499265002650126502265032650426505265062650726508265092651026511265122651326514265152651626517265182651926520265212652226523265242652526526265272652826529265302653126532265332653426535265362653726538265392654026541265422654326544265452654626547265482654926550265512655226553265542655526556265572655826559265602656126562265632656426565265662656726568265692657026571265722657326574265752657626577265782657926580265812658226583265842658526586265872658826589265902659126592265932659426595265962659726598265992660026601266022660326604266052660626607266082660926610266112661226613266142661526616266172661826619266202662126622266232662426625266262662726628266292663026631266322663326634266352663626637266382663926640266412664226643266442664526646266472664826649266502665126652266532665426655266562665726658266592666026661266622666326664266652666626667266682666926670266712667226673266742667526676266772667826679266802668126682266832668426685266862668726688266892669026691266922669326694266952669626697266982669926700267012670226703267042670526706267072670826709267102671126712267132671426715267162671726718267192672026721267222672326724267252672626727267282672926730267312673226733267342673526736267372673826739267402674126742267432674426745267462674726748267492675026751267522675326754267552675626757267582675926760267612676226763267642676526766267672676826769267702677126772267732677426775267762677726778267792678026781267822678326784267852678626787267882678926790267912679226793267942679526796267972679826799268002680126802268032680426805268062680726808268092681026811268122681326814268152681626817268182681926820268212682226823268242682526826268272682826829268302683126832268332683426835268362683726838268392684026841268422684326844268452684626847268482684926850268512685226853268542685526856268572685826859268602686126862268632686426865268662686726868268692687026871268722687326874268752687626877268782687926880268812688226883268842688526886268872688826889268902689126892268932689426895268962689726898268992690026901269022690326904269052690626907269082690926910269112691226913269142691526916269172691826919269202692126922269232692426925269262692726928269292693026931269322693326934269352693626937269382693926940269412694226943269442694526946269472694826949269502695126952269532695426955269562695726958269592696026961269622696326964269652696626967269682696926970269712697226973269742697526976269772697826979269802698126982269832698426985269862698726988269892699026991269922699326994269952699626997269982699927000270012700227003270042700527006270072700827009270102701127012270132701427015270162701727018270192702027021270222702327024270252702627027270282702927030270312703227033270342703527036270372703827039270402704127042270432704427045270462704727048270492705027051270522705327054270552705627057270582705927060270612706227063270642706527066270672706827069270702707127072270732707427075270762707727078270792708027081270822708327084270852708627087270882708927090270912709227093270942709527096270972709827099271002710127102271032710427105271062710727108271092711027111271122711327114271152711627117271182711927120271212712227123271242712527126271272712827129271302713127132271332713427135271362713727138271392714027141271422714327144271452714627147271482714927150271512715227153271542715527156271572715827159271602716127162271632716427165271662716727168271692717027171271722717327174271752717627177271782717927180271812718227183271842718527186271872718827189271902719127192271932719427195271962719727198271992720027201272022720327204272052720627207272082720927210272112721227213272142721527216272172721827219272202722127222272232722427225272262722727228272292723027231272322723327234272352723627237272382723927240272412724227243272442724527246272472724827249272502725127252272532725427255272562725727258272592726027261272622726327264272652726627267272682726927270272712727227273272742727527276272772727827279272802728127282272832728427285272862728727288272892729027291272922729327294272952729627297272982729927300273012730227303273042730527306273072730827309273102731127312273132731427315273162731727318273192732027321273222732327324273252732627327273282732927330273312733227333273342733527336273372733827339273402734127342273432734427345273462734727348273492735027351273522735327354273552735627357273582735927360273612736227363273642736527366273672736827369273702737127372273732737427375273762737727378273792738027381273822738327384273852738627387273882738927390273912739227393273942739527396273972739827399274002740127402274032740427405274062740727408274092741027411274122741327414274152741627417274182741927420274212742227423274242742527426274272742827429274302743127432274332743427435274362743727438274392744027441274422744327444274452744627447274482744927450274512745227453274542745527456274572745827459274602746127462274632746427465274662746727468274692747027471274722747327474274752747627477274782747927480274812748227483274842748527486274872748827489274902749127492274932749427495274962749727498274992750027501275022750327504275052750627507275082750927510275112751227513275142751527516275172751827519275202752127522275232752427525275262752727528275292753027531275322753327534275352753627537275382753927540275412754227543275442754527546275472754827549275502755127552275532755427555275562755727558275592756027561275622756327564275652756627567275682756927570275712757227573275742757527576275772757827579275802758127582275832758427585275862758727588275892759027591275922759327594275952759627597275982759927600276012760227603276042760527606276072760827609276102761127612276132761427615276162761727618276192762027621276222762327624276252762627627276282762927630276312763227633276342763527636276372763827639276402764127642276432764427645276462764727648276492765027651276522765327654276552765627657276582765927660276612766227663276642766527666276672766827669276702767127672276732767427675276762767727678276792768027681276822768327684276852768627687276882768927690276912769227693276942769527696276972769827699277002770127702277032770427705277062770727708277092771027711277122771327714277152771627717277182771927720277212772227723277242772527726277272772827729277302773127732277332773427735277362773727738277392774027741277422774327744277452774627747277482774927750277512775227753277542775527756277572775827759277602776127762277632776427765277662776727768277692777027771277722777327774277752777627777277782777927780277812778227783277842778527786277872778827789277902779127792277932779427795277962779727798277992780027801278022780327804278052780627807278082780927810278112781227813278142781527816278172781827819278202782127822278232782427825278262782727828278292783027831278322783327834278352783627837278382783927840278412784227843278442784527846278472784827849278502785127852278532785427855278562785727858278592786027861278622786327864278652786627867278682786927870278712787227873278742787527876278772787827879278802788127882278832788427885278862788727888278892789027891278922789327894278952789627897278982789927900279012790227903279042790527906279072790827909279102791127912279132791427915279162791727918279192792027921279222792327924279252792627927279282792927930279312793227933279342793527936279372793827939279402794127942279432794427945279462794727948279492795027951279522795327954279552795627957279582795927960279612796227963279642796527966279672796827969279702797127972279732797427975279762797727978279792798027981279822798327984279852798627987279882798927990279912799227993279942799527996279972799827999280002800128002280032800428005280062800728008280092801028011280122801328014280152801628017280182801928020280212802228023280242802528026280272802828029280302803128032280332803428035280362803728038280392804028041280422804328044280452804628047280482804928050280512805228053280542805528056280572805828059280602806128062280632806428065280662806728068280692807028071280722807328074280752807628077280782807928080280812808228083280842808528086280872808828089280902809128092280932809428095280962809728098280992810028101281022810328104281052810628107281082810928110281112811228113281142811528116281172811828119281202812128122281232812428125281262812728128281292813028131281322813328134281352813628137281382813928140281412814228143281442814528146281472814828149281502815128152281532815428155281562815728158281592816028161281622816328164281652816628167281682816928170281712817228173281742817528176281772817828179281802818128182281832818428185281862818728188281892819028191281922819328194281952819628197281982819928200282012820228203282042820528206282072820828209282102821128212282132821428215282162821728218282192822028221282222822328224282252822628227282282822928230282312823228233282342823528236282372823828239282402824128242282432824428245282462824728248282492825028251282522825328254282552825628257282582825928260282612826228263282642826528266282672826828269282702827128272282732827428275282762827728278282792828028281282822828328284282852828628287282882828928290282912829228293282942829528296282972829828299283002830128302283032830428305283062830728308283092831028311283122831328314283152831628317283182831928320283212832228323283242832528326283272832828329283302833128332283332833428335283362833728338283392834028341283422834328344283452834628347283482834928350283512835228353283542835528356283572835828359283602836128362283632836428365283662836728368283692837028371283722837328374283752837628377283782837928380283812838228383283842838528386283872838828389283902839128392283932839428395283962839728398283992840028401284022840328404284052840628407284082840928410284112841228413284142841528416284172841828419284202842128422284232842428425284262842728428284292843028431284322843328434284352843628437284382843928440284412844228443284442844528446284472844828449284502845128452284532845428455284562845728458284592846028461284622846328464284652846628467284682846928470284712847228473284742847528476284772847828479284802848128482284832848428485284862848728488284892849028491284922849328494284952849628497284982849928500285012850228503285042850528506285072850828509285102851128512285132851428515285162851728518285192852028521285222852328524285252852628527285282852928530285312853228533285342853528536285372853828539285402854128542285432854428545285462854728548285492855028551285522855328554285552855628557285582855928560285612856228563285642856528566285672856828569285702857128572285732857428575285762857728578285792858028581285822858328584285852858628587285882858928590285912859228593285942859528596285972859828599286002860128602286032860428605286062860728608286092861028611286122861328614286152861628617286182861928620286212862228623286242862528626286272862828629286302863128632286332863428635286362863728638286392864028641286422864328644286452864628647286482864928650286512865228653286542865528656286572865828659286602866128662286632866428665286662866728668286692867028671286722867328674286752867628677286782867928680286812868228683286842868528686286872868828689286902869128692286932869428695286962869728698286992870028701287022870328704287052870628707287082870928710287112871228713287142871528716287172871828719287202872128722287232872428725287262872728728287292873028731287322873328734287352873628737287382873928740287412874228743287442874528746287472874828749287502875128752287532875428755287562875728758287592876028761287622876328764287652876628767287682876928770287712877228773287742877528776287772877828779287802878128782287832878428785287862878728788287892879028791287922879328794287952879628797287982879928800288012880228803288042880528806288072880828809288102881128812288132881428815288162881728818288192882028821288222882328824288252882628827288282882928830288312883228833288342883528836288372883828839288402884128842288432884428845288462884728848288492885028851288522885328854288552885628857288582885928860288612886228863288642886528866288672886828869288702887128872288732887428875288762887728878288792888028881288822888328884288852888628887288882888928890288912889228893288942889528896288972889828899289002890128902289032890428905289062890728908289092891028911289122891328914289152891628917289182891928920289212892228923289242892528926289272892828929289302893128932289332893428935289362893728938289392894028941289422894328944289452894628947289482894928950289512895228953289542895528956289572895828959289602896128962289632896428965289662896728968289692897028971289722897328974289752897628977289782897928980289812898228983289842898528986289872898828989289902899128992289932899428995289962899728998289992900029001290022900329004290052900629007290082900929010290112901229013290142901529016290172901829019290202902129022290232902429025290262902729028290292903029031290322903329034290352903629037290382903929040290412904229043290442904529046290472904829049290502905129052290532905429055290562905729058290592906029061290622906329064290652906629067290682906929070290712907229073290742907529076290772907829079290802908129082290832908429085290862908729088290892909029091290922909329094290952909629097290982909929100291012910229103291042910529106291072910829109291102911129112291132911429115291162911729118291192912029121291222912329124291252912629127291282912929130291312913229133291342913529136291372913829139291402914129142291432914429145291462914729148291492915029151291522915329154291552915629157291582915929160291612916229163291642916529166291672916829169291702917129172291732917429175291762917729178291792918029181291822918329184291852918629187291882918929190291912919229193291942919529196291972919829199292002920129202292032920429205292062920729208292092921029211292122921329214292152921629217292182921929220292212922229223292242922529226292272922829229292302923129232292332923429235292362923729238292392924029241292422924329244292452924629247292482924929250292512925229253292542925529256292572925829259292602926129262292632926429265292662926729268292692927029271292722927329274292752927629277292782927929280292812928229283292842928529286292872928829289292902929129292292932929429295292962929729298292992930029301293022930329304293052930629307293082930929310293112931229313293142931529316293172931829319293202932129322293232932429325293262932729328293292933029331293322933329334293352933629337293382933929340293412934229343293442934529346293472934829349293502935129352293532935429355293562935729358293592936029361293622936329364293652936629367293682936929370293712937229373293742937529376293772937829379293802938129382293832938429385293862938729388293892939029391293922939329394293952939629397293982939929400294012940229403294042940529406294072940829409294102941129412294132941429415294162941729418294192942029421294222942329424294252942629427294282942929430294312943229433294342943529436294372943829439294402944129442294432944429445294462944729448294492945029451294522945329454294552945629457294582945929460294612946229463294642946529466294672946829469294702947129472294732947429475294762947729478294792948029481294822948329484294852948629487294882948929490294912949229493294942949529496294972949829499295002950129502295032950429505295062950729508295092951029511295122951329514295152951629517295182951929520295212952229523295242952529526295272952829529295302953129532295332953429535295362953729538295392954029541295422954329544295452954629547295482954929550295512955229553295542955529556295572955829559295602956129562295632956429565295662956729568295692957029571295722957329574295752957629577295782957929580295812958229583295842958529586295872958829589295902959129592295932959429595295962959729598295992960029601296022960329604296052960629607296082960929610296112961229613296142961529616296172961829619296202962129622296232962429625296262962729628296292963029631296322963329634296352963629637296382963929640296412964229643296442964529646296472964829649296502965129652296532965429655296562965729658296592966029661296622966329664296652966629667296682966929670296712967229673296742967529676296772967829679296802968129682296832968429685296862968729688296892969029691296922969329694296952969629697296982969929700297012970229703297042970529706297072970829709297102971129712297132971429715297162971729718297192972029721297222972329724297252972629727297282972929730297312973229733297342973529736297372973829739297402974129742297432974429745297462974729748297492975029751297522975329754297552975629757297582975929760297612976229763297642976529766297672976829769297702977129772297732977429775297762977729778297792978029781297822978329784297852978629787297882978929790297912979229793297942979529796297972979829799298002980129802298032980429805298062980729808298092981029811298122981329814298152981629817298182981929820298212982229823298242982529826298272982829829298302983129832298332983429835298362983729838298392984029841298422984329844298452984629847298482984929850298512985229853298542985529856298572985829859298602986129862298632986429865298662986729868298692987029871298722987329874298752987629877298782987929880298812988229883298842988529886298872988829889298902989129892298932989429895298962989729898298992990029901299022990329904299052990629907299082990929910299112991229913299142991529916299172991829919299202992129922299232992429925299262992729928299292993029931299322993329934299352993629937299382993929940299412994229943299442994529946299472994829949299502995129952299532995429955299562995729958299592996029961299622996329964299652996629967299682996929970299712997229973299742997529976299772997829979299802998129982299832998429985299862998729988299892999029991299922999329994299952999629997299982999930000300013000230003300043000530006300073000830009300103001130012300133001430015300163001730018300193002030021300223002330024300253002630027300283002930030300313003230033300343003530036300373003830039300403004130042300433004430045300463004730048300493005030051300523005330054300553005630057300583005930060300613006230063300643006530066300673006830069300703007130072300733007430075300763007730078300793008030081300823008330084300853008630087300883008930090300913009230093300943009530096300973009830099301003010130102301033010430105301063010730108301093011030111301123011330114301153011630117301183011930120301213012230123301243012530126301273012830129301303013130132301333013430135301363013730138301393014030141301423014330144301453014630147301483014930150301513015230153301543015530156301573015830159301603016130162301633016430165301663016730168301693017030171301723017330174301753017630177301783017930180301813018230183301843018530186301873018830189301903019130192301933019430195301963019730198301993020030201302023020330204302053020630207302083020930210302113021230213302143021530216302173021830219302203022130222302233022430225302263022730228302293023030231302323023330234302353023630237302383023930240302413024230243302443024530246302473024830249302503025130252302533025430255302563025730258302593026030261302623026330264302653026630267302683026930270302713027230273302743027530276302773027830279302803028130282302833028430285302863028730288302893029030291302923029330294302953029630297302983029930300303013030230303303043030530306303073030830309303103031130312303133031430315303163031730318303193032030321303223032330324303253032630327303283032930330303313033230333303343033530336303373033830339303403034130342303433034430345303463034730348303493035030351303523035330354303553035630357303583035930360303613036230363303643036530366303673036830369303703037130372303733037430375303763037730378303793038030381303823038330384303853038630387303883038930390303913039230393303943039530396303973039830399304003040130402304033040430405304063040730408304093041030411304123041330414304153041630417304183041930420304213042230423304243042530426304273042830429304303043130432304333043430435304363043730438304393044030441304423044330444304453044630447304483044930450304513045230453304543045530456304573045830459304603046130462304633046430465304663046730468304693047030471304723047330474304753047630477304783047930480304813048230483304843048530486304873048830489304903049130492304933049430495304963049730498304993050030501305023050330504305053050630507305083050930510305113051230513305143051530516305173051830519305203052130522305233052430525305263052730528305293053030531305323053330534305353053630537305383053930540305413054230543305443054530546305473054830549305503055130552305533055430555305563055730558305593056030561305623056330564305653056630567305683056930570305713057230573305743057530576305773057830579305803058130582305833058430585305863058730588305893059030591305923059330594305953059630597305983059930600306013060230603306043060530606306073060830609306103061130612306133061430615306163061730618306193062030621306223062330624306253062630627306283062930630306313063230633306343063530636306373063830639306403064130642306433064430645306463064730648306493065030651306523065330654306553065630657306583065930660306613066230663306643066530666306673066830669306703067130672306733067430675306763067730678306793068030681306823068330684306853068630687306883068930690306913069230693306943069530696306973069830699307003070130702307033070430705307063070730708307093071030711307123071330714307153071630717307183071930720307213072230723307243072530726307273072830729307303073130732307333073430735307363073730738307393074030741307423074330744307453074630747307483074930750307513075230753307543075530756307573075830759307603076130762307633076430765307663076730768307693077030771307723077330774307753077630777307783077930780307813078230783307843078530786307873078830789307903079130792307933079430795307963079730798307993080030801308023080330804308053080630807308083080930810308113081230813308143081530816308173081830819308203082130822308233082430825308263082730828308293083030831308323083330834308353083630837308383083930840308413084230843308443084530846308473084830849308503085130852308533085430855308563085730858308593086030861308623086330864308653086630867308683086930870308713087230873308743087530876308773087830879308803088130882308833088430885308863088730888308893089030891308923089330894308953089630897308983089930900309013090230903309043090530906309073090830909309103091130912309133091430915309163091730918309193092030921309223092330924309253092630927309283092930930309313093230933309343093530936309373093830939309403094130942309433094430945309463094730948309493095030951309523095330954309553095630957309583095930960309613096230963309643096530966309673096830969309703097130972309733097430975309763097730978309793098030981309823098330984309853098630987309883098930990309913099230993309943099530996309973099830999310003100131002310033100431005310063100731008310093101031011310123101331014310153101631017310183101931020310213102231023310243102531026310273102831029310303103131032310333103431035310363103731038310393104031041310423104331044310453104631047310483104931050310513105231053310543105531056310573105831059310603106131062310633106431065310663106731068310693107031071310723107331074310753107631077310783107931080310813108231083310843108531086310873108831089310903109131092310933109431095310963109731098310993110031101311023110331104311053110631107311083110931110311113111231113311143111531116311173111831119311203112131122311233112431125311263112731128311293113031131311323113331134311353113631137311383113931140311413114231143311443114531146311473114831149311503115131152311533115431155311563115731158311593116031161311623116331164311653116631167311683116931170311713117231173311743117531176311773117831179311803118131182311833118431185311863118731188311893119031191311923119331194311953119631197311983119931200312013120231203312043120531206312073120831209312103121131212312133121431215312163121731218312193122031221312223122331224312253122631227312283122931230312313123231233312343123531236312373123831239312403124131242312433124431245312463124731248312493125031251312523125331254312553125631257312583125931260312613126231263312643126531266312673126831269312703127131272312733127431275312763127731278312793128031281312823128331284312853128631287312883128931290312913129231293312943129531296312973129831299313003130131302313033130431305313063130731308313093131031311313123131331314313153131631317313183131931320313213132231323313243132531326313273132831329313303133131332313333133431335313363133731338313393134031341313423134331344313453134631347313483134931350313513135231353313543135531356313573135831359313603136131362313633136431365313663136731368313693137031371313723137331374313753137631377313783137931380313813138231383313843138531386313873138831389313903139131392313933139431395313963139731398313993140031401314023140331404314053140631407314083140931410314113141231413314143141531416314173141831419314203142131422314233142431425314263142731428314293143031431314323143331434314353143631437314383143931440314413144231443314443144531446314473144831449314503145131452314533145431455314563145731458314593146031461314623146331464314653146631467314683146931470314713147231473314743147531476314773147831479314803148131482314833148431485314863148731488314893149031491314923149331494314953149631497314983149931500315013150231503315043150531506315073150831509315103151131512315133151431515315163151731518315193152031521315223152331524315253152631527315283152931530315313153231533315343153531536315373153831539315403154131542315433154431545315463154731548315493155031551315523155331554315553155631557315583155931560315613156231563315643156531566315673156831569315703157131572315733157431575315763157731578315793158031581315823158331584315853158631587315883158931590315913159231593315943159531596315973159831599316003160131602316033160431605316063160731608316093161031611316123161331614316153161631617316183161931620316213162231623316243162531626316273162831629316303163131632316333163431635316363163731638316393164031641316423164331644316453164631647316483164931650316513165231653316543165531656316573165831659316603166131662316633166431665316663166731668316693167031671316723167331674316753167631677316783167931680316813168231683316843168531686316873168831689316903169131692316933169431695316963169731698316993170031701317023170331704317053170631707317083170931710317113171231713317143171531716317173171831719317203172131722317233172431725317263172731728317293173031731317323173331734317353173631737317383173931740317413174231743317443174531746317473174831749317503175131752317533175431755317563175731758317593176031761317623176331764317653176631767317683176931770317713177231773317743177531776317773177831779317803178131782317833178431785317863178731788317893179031791317923179331794317953179631797317983179931800318013180231803318043180531806318073180831809318103181131812318133181431815318163181731818318193182031821318223182331824318253182631827318283182931830318313183231833318343183531836318373183831839318403184131842318433184431845318463184731848318493185031851318523185331854318553185631857318583185931860318613186231863318643186531866318673186831869318703187131872318733187431875318763187731878318793188031881318823188331884318853188631887318883188931890318913189231893318943189531896318973189831899319003190131902319033190431905319063190731908319093191031911319123191331914319153191631917319183191931920319213192231923319243192531926319273192831929319303193131932319333193431935319363193731938319393194031941319423194331944319453194631947319483194931950319513195231953319543195531956319573195831959319603196131962319633196431965319663196731968319693197031971319723197331974319753197631977319783197931980319813198231983319843198531986319873198831989319903199131992319933199431995319963199731998319993200032001320023200332004320053200632007320083200932010320113201232013320143201532016320173201832019320203202132022320233202432025320263202732028320293203032031320323203332034320353203632037320383203932040320413204232043320443204532046320473204832049320503205132052320533205432055320563205732058320593206032061320623206332064320653206632067320683206932070320713207232073320743207532076320773207832079320803208132082320833208432085320863208732088320893209032091320923209332094320953209632097320983209932100321013210232103321043210532106321073210832109321103211132112321133211432115321163211732118321193212032121321223212332124321253212632127321283212932130321313213232133321343213532136321373213832139321403214132142321433214432145321463214732148321493215032151321523215332154321553215632157321583215932160321613216232163321643216532166321673216832169321703217132172321733217432175321763217732178321793218032181321823218332184321853218632187321883218932190321913219232193321943219532196321973219832199322003220132202322033220432205322063220732208322093221032211322123221332214322153221632217322183221932220322213222232223322243222532226322273222832229322303223132232322333223432235322363223732238322393224032241322423224332244322453224632247322483224932250322513225232253322543225532256322573225832259322603226132262322633226432265322663226732268322693227032271322723227332274322753227632277322783227932280322813228232283322843228532286322873228832289322903229132292322933229432295322963229732298322993230032301323023230332304323053230632307323083230932310323113231232313323143231532316323173231832319323203232132322323233232432325323263232732328323293233032331323323233332334323353233632337323383233932340323413234232343323443234532346323473234832349323503235132352323533235432355323563235732358323593236032361323623236332364323653236632367323683236932370323713237232373323743237532376323773237832379323803238132382323833238432385323863238732388323893239032391323923239332394323953239632397323983239932400324013240232403324043240532406324073240832409324103241132412324133241432415324163241732418324193242032421324223242332424324253242632427324283242932430324313243232433324343243532436324373243832439324403244132442324433244432445324463244732448324493245032451324523245332454324553245632457324583245932460324613246232463324643246532466324673246832469324703247132472324733247432475324763247732478324793248032481324823248332484324853248632487324883248932490324913249232493324943249532496324973249832499325003250132502325033250432505325063250732508325093251032511325123251332514325153251632517325183251932520325213252232523325243252532526325273252832529325303253132532325333253432535325363253732538325393254032541325423254332544325453254632547325483254932550325513255232553325543255532556325573255832559325603256132562325633256432565325663256732568325693257032571325723257332574325753257632577325783257932580325813258232583325843258532586325873258832589325903259132592325933259432595325963259732598325993260032601326023260332604326053260632607326083260932610326113261232613326143261532616326173261832619326203262132622326233262432625326263262732628326293263032631326323263332634326353263632637326383263932640326413264232643326443264532646326473264832649326503265132652326533265432655326563265732658326593266032661326623266332664326653266632667326683266932670326713267232673326743267532676326773267832679326803268132682326833268432685326863268732688326893269032691326923269332694326953269632697326983269932700327013270232703327043270532706327073270832709327103271132712327133271432715327163271732718327193272032721327223272332724327253272632727327283272932730327313273232733327343273532736327373273832739327403274132742327433274432745327463274732748327493275032751327523275332754327553275632757327583275932760327613276232763327643276532766327673276832769327703277132772327733277432775327763277732778327793278032781327823278332784327853278632787327883278932790327913279232793327943279532796327973279832799328003280132802328033280432805328063280732808328093281032811328123281332814328153281632817328183281932820328213282232823328243282532826328273282832829328303283132832328333283432835328363283732838328393284032841328423284332844328453284632847328483284932850328513285232853328543285532856328573285832859328603286132862328633286432865328663286732868328693287032871328723287332874328753287632877328783287932880328813288232883328843288532886328873288832889328903289132892328933289432895328963289732898328993290032901329023290332904329053290632907329083290932910329113291232913329143291532916329173291832919329203292132922329233292432925329263292732928329293293032931329323293332934329353293632937329383293932940329413294232943329443294532946329473294832949329503295132952329533295432955329563295732958329593296032961329623296332964329653296632967329683296932970329713297232973329743297532976329773297832979329803298132982329833298432985329863298732988329893299032991329923299332994329953299632997329983299933000330013300233003330043300533006330073300833009330103301133012330133301433015330163301733018330193302033021330223302333024330253302633027330283302933030330313303233033330343303533036330373303833039330403304133042330433304433045330463304733048330493305033051330523305333054330553305633057330583305933060330613306233063330643306533066330673306833069330703307133072330733307433075330763307733078330793308033081330823308333084330853308633087330883308933090330913309233093330943309533096330973309833099331003310133102331033310433105331063310733108331093311033111331123311333114331153311633117331183311933120331213312233123331243312533126331273312833129331303313133132331333313433135331363313733138331393314033141331423314333144331453314633147331483314933150331513315233153331543315533156331573315833159331603316133162331633316433165331663316733168331693317033171331723317333174331753317633177331783317933180331813318233183331843318533186331873318833189331903319133192331933319433195331963319733198331993320033201332023320333204332053320633207332083320933210332113321233213332143321533216332173321833219332203322133222332233322433225332263322733228332293323033231332323323333234332353323633237332383323933240332413324233243332443324533246332473324833249332503325133252332533325433255332563325733258332593326033261332623326333264332653326633267332683326933270332713327233273332743327533276332773327833279332803328133282332833328433285332863328733288332893329033291332923329333294332953329633297332983329933300333013330233303333043330533306333073330833309333103331133312333133331433315333163331733318333193332033321333223332333324333253332633327333283332933330333313333233333333343333533336333373333833339333403334133342333433334433345333463334733348333493335033351333523335333354333553335633357333583335933360333613336233363333643336533366333673336833369333703337133372333733337433375333763337733378333793338033381333823338333384333853338633387333883338933390333913339233393333943339533396333973339833399334003340133402334033340433405334063340733408334093341033411334123341333414334153341633417334183341933420334213342233423334243342533426334273342833429334303343133432334333343433435334363343733438334393344033441334423344333444334453344633447334483344933450334513345233453334543345533456334573345833459334603346133462334633346433465334663346733468334693347033471334723347333474334753347633477334783347933480334813348233483334843348533486334873348833489334903349133492334933349433495334963349733498334993350033501335023350333504335053350633507335083350933510335113351233513335143351533516335173351833519335203352133522335233352433525335263352733528335293353033531335323353333534335353353633537335383353933540335413354233543335443354533546335473354833549335503355133552335533355433555335563355733558335593356033561335623356333564335653356633567335683356933570335713357233573335743357533576335773357833579335803358133582335833358433585335863358733588335893359033591335923359333594335953359633597335983359933600336013360233603336043360533606336073360833609336103361133612336133361433615336163361733618336193362033621336223362333624336253362633627336283362933630336313363233633336343363533636336373363833639336403364133642336433364433645336463364733648336493365033651336523365333654336553365633657336583365933660336613366233663336643366533666336673366833669336703367133672336733367433675336763367733678336793368033681336823368333684336853368633687336883368933690336913369233693336943369533696336973369833699337003370133702337033370433705337063370733708337093371033711337123371333714337153371633717337183371933720337213372233723337243372533726337273372833729337303373133732337333373433735337363373733738337393374033741337423374333744337453374633747337483374933750337513375233753337543375533756337573375833759337603376133762337633376433765337663376733768337693377033771337723377333774337753377633777337783377933780337813378233783337843378533786337873378833789337903379133792337933379433795337963379733798337993380033801338023380333804338053380633807338083380933810338113381233813338143381533816338173381833819338203382133822338233382433825338263382733828338293383033831338323383333834338353383633837338383383933840338413384233843338443384533846338473384833849338503385133852338533385433855338563385733858338593386033861338623386333864338653386633867338683386933870338713387233873338743387533876338773387833879338803388133882338833388433885338863388733888338893389033891338923389333894338953389633897338983389933900339013390233903339043390533906339073390833909339103391133912339133391433915339163391733918339193392033921339223392333924339253392633927339283392933930339313393233933339343393533936339373393833939339403394133942339433394433945339463394733948339493395033951339523395333954339553395633957339583395933960339613396233963339643396533966339673396833969339703397133972339733397433975339763397733978339793398033981339823398333984339853398633987339883398933990339913399233993339943399533996339973399833999340003400134002340033400434005340063400734008340093401034011340123401334014340153401634017340183401934020340213402234023340243402534026340273402834029340303403134032340333403434035340363403734038340393404034041340423404334044340453404634047340483404934050340513405234053340543405534056340573405834059340603406134062340633406434065340663406734068340693407034071340723407334074340753407634077340783407934080340813408234083340843408534086340873408834089340903409134092340933409434095340963409734098340993410034101341023410334104341053410634107341083410934110341113411234113341143411534116341173411834119341203412134122341233412434125341263412734128341293413034131341323413334134341353413634137341383413934140341413414234143341443414534146341473414834149341503415134152341533415434155341563415734158341593416034161341623416334164341653416634167341683416934170341713417234173341743417534176341773417834179341803418134182341833418434185341863418734188341893419034191341923419334194341953419634197341983419934200342013420234203342043420534206342073420834209342103421134212342133421434215342163421734218342193422034221342223422334224342253422634227342283422934230342313423234233342343423534236342373423834239342403424134242342433424434245342463424734248342493425034251342523425334254342553425634257342583425934260342613426234263342643426534266342673426834269342703427134272342733427434275342763427734278342793428034281342823428334284342853428634287342883428934290342913429234293342943429534296342973429834299343003430134302343033430434305343063430734308343093431034311343123431334314343153431634317343183431934320343213432234323343243432534326343273432834329343303433134332343333433434335343363433734338343393434034341343423434334344343453434634347343483434934350343513435234353343543435534356343573435834359343603436134362343633436434365343663436734368343693437034371343723437334374343753437634377343783437934380343813438234383343843438534386343873438834389343903439134392343933439434395343963439734398343993440034401344023440334404344053440634407344083440934410344113441234413344143441534416344173441834419344203442134422344233442434425344263442734428344293443034431344323443334434344353443634437344383443934440344413444234443344443444534446344473444834449344503445134452344533445434455344563445734458344593446034461344623446334464344653446634467344683446934470344713447234473344743447534476344773447834479344803448134482344833448434485344863448734488344893449034491344923449334494344953449634497344983449934500345013450234503345043450534506345073450834509345103451134512345133451434515345163451734518345193452034521345223452334524345253452634527345283452934530345313453234533345343453534536345373453834539345403454134542345433454434545345463454734548345493455034551345523455334554345553455634557345583455934560345613456234563345643456534566345673456834569345703457134572345733457434575345763457734578345793458034581345823458334584345853458634587345883458934590345913459234593345943459534596345973459834599346003460134602346033460434605346063460734608346093461034611346123461334614346153461634617346183461934620346213462234623346243462534626346273462834629346303463134632346333463434635346363463734638346393464034641346423464334644346453464634647346483464934650346513465234653346543465534656346573465834659346603466134662346633466434665346663466734668346693467034671346723467334674346753467634677346783467934680346813468234683346843468534686346873468834689346903469134692346933469434695346963469734698346993470034701347023470334704347053470634707347083470934710347113471234713347143471534716347173471834719347203472134722347233472434725347263472734728347293473034731347323473334734347353473634737347383473934740347413474234743347443474534746347473474834749347503475134752347533475434755347563475734758347593476034761347623476334764347653476634767347683476934770347713477234773347743477534776347773477834779347803478134782347833478434785347863478734788347893479034791347923479334794347953479634797347983479934800348013480234803348043480534806348073480834809348103481134812348133481434815348163481734818348193482034821348223482334824348253482634827348283482934830348313483234833348343483534836348373483834839348403484134842348433484434845348463484734848348493485034851348523485334854348553485634857348583485934860348613486234863348643486534866348673486834869348703487134872348733487434875348763487734878348793488034881348823488334884348853488634887348883488934890348913489234893348943489534896348973489834899349003490134902349033490434905349063490734908349093491034911349123491334914349153491634917349183491934920349213492234923349243492534926349273492834929349303493134932349333493434935349363493734938349393494034941349423494334944349453494634947349483494934950349513495234953349543495534956349573495834959349603496134962349633496434965349663496734968349693497034971349723497334974349753497634977349783497934980349813498234983349843498534986349873498834989349903499134992349933499434995349963499734998349993500035001350023500335004350053500635007350083500935010350113501235013350143501535016350173501835019350203502135022350233502435025350263502735028350293503035031350323503335034350353503635037350383503935040350413504235043350443504535046350473504835049350503505135052350533505435055350563505735058350593506035061350623506335064350653506635067350683506935070350713507235073350743507535076350773507835079350803508135082350833508435085350863508735088350893509035091350923509335094350953509635097350983509935100351013510235103351043510535106351073510835109351103511135112351133511435115351163511735118351193512035121351223512335124351253512635127351283512935130351313513235133351343513535136351373513835139351403514135142351433514435145351463514735148351493515035151351523515335154351553515635157351583515935160351613516235163351643516535166351673516835169351703517135172351733517435175351763517735178351793518035181351823518335184351853518635187351883518935190351913519235193351943519535196351973519835199352003520135202352033520435205352063520735208352093521035211352123521335214352153521635217352183521935220352213522235223352243522535226352273522835229352303523135232352333523435235352363523735238352393524035241352423524335244352453524635247352483524935250352513525235253352543525535256352573525835259352603526135262352633526435265352663526735268352693527035271352723527335274352753527635277352783527935280352813528235283352843528535286352873528835289352903529135292352933529435295352963529735298352993530035301353023530335304353053530635307353083530935310353113531235313353143531535316353173531835319353203532135322353233532435325353263532735328353293533035331353323533335334353353533635337353383533935340353413534235343353443534535346353473534835349353503535135352353533535435355353563535735358353593536035361353623536335364353653536635367353683536935370353713537235373353743537535376353773537835379353803538135382353833538435385353863538735388353893539035391353923539335394353953539635397353983539935400354013540235403354043540535406354073540835409354103541135412354133541435415354163541735418354193542035421354223542335424354253542635427354283542935430354313543235433354343543535436354373543835439354403544135442354433544435445354463544735448354493545035451354523545335454354553545635457354583545935460354613546235463354643546535466354673546835469354703547135472354733547435475354763547735478354793548035481354823548335484354853548635487354883548935490354913549235493354943549535496354973549835499355003550135502355033550435505355063550735508355093551035511355123551335514355153551635517355183551935520355213552235523355243552535526355273552835529355303553135532355333553435535355363553735538355393554035541355423554335544355453554635547355483554935550355513555235553355543555535556355573555835559355603556135562355633556435565355663556735568355693557035571355723557335574355753557635577355783557935580355813558235583355843558535586355873558835589355903559135592355933559435595355963559735598355993560035601356023560335604356053560635607356083560935610356113561235613356143561535616356173561835619356203562135622356233562435625356263562735628356293563035631356323563335634356353563635637356383563935640356413564235643356443564535646356473564835649356503565135652356533565435655356563565735658356593566035661356623566335664356653566635667356683566935670356713567235673356743567535676356773567835679356803568135682356833568435685356863568735688356893569035691356923569335694356953569635697356983569935700357013570235703357043570535706357073570835709357103571135712357133571435715357163571735718357193572035721357223572335724357253572635727357283572935730357313573235733357343573535736357373573835739357403574135742357433574435745357463574735748357493575035751357523575335754357553575635757357583575935760357613576235763357643576535766357673576835769357703577135772357733577435775357763577735778357793578035781357823578335784357853578635787357883578935790357913579235793357943579535796357973579835799358003580135802358033580435805358063580735808358093581035811358123581335814358153581635817358183581935820358213582235823358243582535826358273582835829358303583135832358333583435835358363583735838358393584035841358423584335844358453584635847358483584935850358513585235853358543585535856358573585835859358603586135862358633586435865358663586735868358693587035871358723587335874358753587635877358783587935880358813588235883358843588535886358873588835889358903589135892358933589435895358963589735898358993590035901359023590335904359053590635907359083590935910359113591235913359143591535916359173591835919359203592135922359233592435925359263592735928359293593035931359323593335934359353593635937359383593935940359413594235943359443594535946359473594835949359503595135952359533595435955359563595735958359593596035961359623596335964359653596635967359683596935970359713597235973359743597535976359773597835979359803598135982359833598435985359863598735988359893599035991359923599335994359953599635997359983599936000360013600236003360043600536006360073600836009360103601136012360133601436015360163601736018360193602036021360223602336024360253602636027360283602936030360313603236033360343603536036360373603836039360403604136042360433604436045360463604736048360493605036051360523605336054360553605636057360583605936060360613606236063360643606536066360673606836069360703607136072360733607436075360763607736078360793608036081360823608336084360853608636087360883608936090360913609236093360943609536096360973609836099361003610136102361033610436105361063610736108361093611036111361123611336114361153611636117361183611936120361213612236123361243612536126361273612836129361303613136132361333613436135361363613736138361393614036141361423614336144361453614636147361483614936150361513615236153361543615536156361573615836159361603616136162361633616436165361663616736168361693617036171361723617336174361753617636177361783617936180361813618236183361843618536186361873618836189361903619136192361933619436195361963619736198361993620036201362023620336204362053620636207362083620936210362113621236213362143621536216362173621836219362203622136222362233622436225362263622736228362293623036231362323623336234362353623636237362383623936240362413624236243362443624536246362473624836249362503625136252362533625436255362563625736258362593626036261362623626336264362653626636267362683626936270362713627236273362743627536276362773627836279362803628136282362833628436285362863628736288362893629036291362923629336294362953629636297362983629936300363013630236303363043630536306363073630836309363103631136312363133631436315363163631736318363193632036321363223632336324363253632636327363283632936330363313633236333363343633536336363373633836339363403634136342363433634436345363463634736348363493635036351363523635336354363553635636357363583635936360363613636236363363643636536366363673636836369363703637136372363733637436375363763637736378363793638036381363823638336384363853638636387363883638936390363913639236393363943639536396363973639836399364003640136402364033640436405364063640736408364093641036411364123641336414364153641636417364183641936420364213642236423364243642536426364273642836429364303643136432364333643436435364363643736438364393644036441364423644336444364453644636447364483644936450364513645236453364543645536456364573645836459364603646136462364633646436465364663646736468364693647036471364723647336474364753647636477364783647936480364813648236483364843648536486364873648836489364903649136492364933649436495364963649736498364993650036501365023650336504365053650636507365083650936510365113651236513365143651536516365173651836519365203652136522365233652436525365263652736528365293653036531365323653336534365353653636537365383653936540365413654236543365443654536546365473654836549365503655136552365533655436555365563655736558365593656036561365623656336564365653656636567365683656936570365713657236573365743657536576365773657836579365803658136582365833658436585365863658736588365893659036591365923659336594365953659636597365983659936600366013660236603366043660536606366073660836609366103661136612366133661436615366163661736618366193662036621366223662336624366253662636627366283662936630366313663236633366343663536636366373663836639366403664136642366433664436645366463664736648366493665036651366523665336654366553665636657366583665936660366613666236663366643666536666366673666836669366703667136672366733667436675366763667736678366793668036681366823668336684366853668636687366883668936690366913669236693366943669536696366973669836699367003670136702367033670436705367063670736708367093671036711367123671336714367153671636717367183671936720367213672236723367243672536726367273672836729367303673136732367333673436735367363673736738367393674036741367423674336744367453674636747367483674936750367513675236753367543675536756367573675836759367603676136762367633676436765367663676736768367693677036771367723677336774367753677636777367783677936780367813678236783367843678536786367873678836789367903679136792367933679436795367963679736798367993680036801368023680336804368053680636807368083680936810368113681236813368143681536816368173681836819368203682136822368233682436825368263682736828368293683036831368323683336834368353683636837368383683936840368413684236843368443684536846368473684836849368503685136852368533685436855368563685736858368593686036861368623686336864368653686636867368683686936870368713687236873368743687536876368773687836879368803688136882368833688436885368863688736888368893689036891368923689336894368953689636897368983689936900369013690236903369043690536906369073690836909369103691136912369133691436915369163691736918369193692036921369223692336924369253692636927369283692936930369313693236933369343693536936369373693836939369403694136942369433694436945369463694736948369493695036951369523695336954369553695636957369583695936960369613696236963369643696536966369673696836969369703697136972369733697436975369763697736978369793698036981369823698336984369853698636987369883698936990369913699236993369943699536996369973699836999370003700137002370033700437005370063700737008370093701037011370123701337014370153701637017370183701937020370213702237023370243702537026370273702837029370303703137032370333703437035370363703737038370393704037041370423704337044370453704637047370483704937050370513705237053370543705537056370573705837059370603706137062370633706437065370663706737068370693707037071370723707337074370753707637077370783707937080370813708237083370843708537086370873708837089370903709137092370933709437095370963709737098370993710037101371023710337104371053710637107371083710937110371113711237113371143711537116371173711837119371203712137122371233712437125371263712737128371293713037131371323713337134371353713637137371383713937140371413714237143371443714537146371473714837149371503715137152371533715437155371563715737158371593716037161371623716337164371653716637167371683716937170371713717237173371743717537176371773717837179371803718137182371833718437185371863718737188371893719037191371923719337194371953719637197371983719937200372013720237203372043720537206372073720837209372103721137212372133721437215372163721737218372193722037221372223722337224372253722637227372283722937230372313723237233372343723537236372373723837239372403724137242372433724437245372463724737248372493725037251372523725337254372553725637257372583725937260372613726237263372643726537266372673726837269372703727137272372733727437275372763727737278372793728037281372823728337284372853728637287372883728937290372913729237293372943729537296372973729837299373003730137302373033730437305373063730737308373093731037311373123731337314373153731637317373183731937320373213732237323373243732537326373273732837329373303733137332373333733437335373363733737338373393734037341373423734337344373453734637347373483734937350373513735237353373543735537356373573735837359373603736137362373633736437365373663736737368373693737037371373723737337374373753737637377373783737937380373813738237383373843738537386373873738837389373903739137392373933739437395373963739737398373993740037401374023740337404374053740637407374083740937410374113741237413374143741537416374173741837419374203742137422374233742437425374263742737428374293743037431374323743337434374353743637437374383743937440374413744237443374443744537446374473744837449374503745137452374533745437455374563745737458374593746037461374623746337464374653746637467374683746937470374713747237473374743747537476374773747837479374803748137482374833748437485374863748737488374893749037491374923749337494374953749637497374983749937500375013750237503375043750537506375073750837509375103751137512375133751437515375163751737518375193752037521375223752337524375253752637527375283752937530375313753237533375343753537536375373753837539375403754137542375433754437545375463754737548375493755037551375523755337554375553755637557375583755937560375613756237563375643756537566375673756837569375703757137572375733757437575375763757737578375793758037581375823758337584375853758637587375883758937590375913759237593375943759537596375973759837599376003760137602376033760437605376063760737608376093761037611376123761337614376153761637617376183761937620376213762237623376243762537626376273762837629376303763137632376333763437635376363763737638376393764037641376423764337644376453764637647376483764937650376513765237653376543765537656376573765837659376603766137662376633766437665376663766737668376693767037671376723767337674376753767637677376783767937680376813768237683376843768537686376873768837689376903769137692376933769437695376963769737698376993770037701377023770337704377053770637707377083770937710377113771237713377143771537716377173771837719377203772137722377233772437725377263772737728377293773037731377323773337734377353773637737377383773937740377413774237743377443774537746377473774837749377503775137752377533775437755377563775737758377593776037761377623776337764377653776637767377683776937770377713777237773377743777537776377773777837779377803778137782377833778437785377863778737788377893779037791377923779337794377953779637797377983779937800378013780237803378043780537806378073780837809378103781137812378133781437815378163781737818378193782037821378223782337824378253782637827378283782937830378313783237833378343783537836378373783837839378403784137842378433784437845378463784737848378493785037851378523785337854378553785637857378583785937860378613786237863378643786537866378673786837869378703787137872378733787437875378763787737878378793788037881378823788337884378853788637887378883788937890378913789237893378943789537896378973789837899379003790137902379033790437905379063790737908379093791037911379123791337914379153791637917379183791937920379213792237923379243792537926379273792837929379303793137932379333793437935379363793737938379393794037941379423794337944379453794637947379483794937950379513795237953379543795537956379573795837959379603796137962379633796437965379663796737968379693797037971379723797337974379753797637977379783797937980379813798237983379843798537986379873798837989379903799137992379933799437995379963799737998379993800038001380023800338004380053800638007380083800938010380113801238013380143801538016380173801838019380203802138022380233802438025380263802738028380293803038031380323803338034380353803638037380383803938040380413804238043380443804538046380473804838049380503805138052380533805438055380563805738058380593806038061380623806338064380653806638067380683806938070380713807238073380743807538076380773807838079380803808138082380833808438085380863808738088380893809038091380923809338094380953809638097380983809938100381013810238103381043810538106381073810838109381103811138112381133811438115381163811738118381193812038121381223812338124381253812638127381283812938130381313813238133381343813538136381373813838139381403814138142381433814438145381463814738148381493815038151381523815338154381553815638157381583815938160381613816238163381643816538166381673816838169381703817138172381733817438175381763817738178381793818038181381823818338184381853818638187381883818938190381913819238193381943819538196381973819838199382003820138202382033820438205382063820738208382093821038211382123821338214382153821638217382183821938220382213822238223382243822538226382273822838229382303823138232382333823438235382363823738238382393824038241382423824338244382453824638247382483824938250382513825238253382543825538256382573825838259382603826138262382633826438265382663826738268382693827038271382723827338274382753827638277382783827938280382813828238283382843828538286382873828838289382903829138292382933829438295382963829738298382993830038301383023830338304383053830638307383083830938310383113831238313383143831538316383173831838319383203832138322383233832438325383263832738328383293833038331383323833338334383353833638337383383833938340383413834238343383443834538346383473834838349383503835138352383533835438355383563835738358383593836038361383623836338364383653836638367383683836938370383713837238373383743837538376383773837838379383803838138382383833838438385383863838738388383893839038391383923839338394383953839638397383983839938400384013840238403384043840538406384073840838409384103841138412384133841438415384163841738418384193842038421384223842338424384253842638427384283842938430384313843238433384343843538436384373843838439384403844138442384433844438445384463844738448384493845038451384523845338454384553845638457384583845938460384613846238463384643846538466384673846838469384703847138472384733847438475384763847738478384793848038481384823848338484384853848638487384883848938490384913849238493384943849538496384973849838499385003850138502385033850438505385063850738508385093851038511385123851338514385153851638517385183851938520385213852238523385243852538526385273852838529385303853138532385333853438535385363853738538385393854038541385423854338544385453854638547385483854938550385513855238553385543855538556385573855838559385603856138562385633856438565385663856738568385693857038571385723857338574385753857638577385783857938580385813858238583385843858538586385873858838589385903859138592385933859438595385963859738598385993860038601386023860338604386053860638607386083860938610386113861238613386143861538616386173861838619386203862138622386233862438625386263862738628386293863038631386323863338634386353863638637386383863938640386413864238643386443864538646386473864838649386503865138652386533865438655386563865738658386593866038661386623866338664386653866638667386683866938670386713867238673386743867538676386773867838679386803868138682386833868438685386863868738688386893869038691386923869338694386953869638697386983869938700387013870238703387043870538706387073870838709387103871138712387133871438715387163871738718387193872038721387223872338724387253872638727387283872938730387313873238733387343873538736387373873838739387403874138742387433874438745387463874738748387493875038751387523875338754387553875638757387583875938760387613876238763387643876538766387673876838769387703877138772387733877438775387763877738778387793878038781387823878338784387853878638787387883878938790387913879238793387943879538796387973879838799388003880138802388033880438805388063880738808388093881038811388123881338814388153881638817388183881938820388213882238823388243882538826388273882838829388303883138832388333883438835388363883738838388393884038841388423884338844388453884638847388483884938850388513885238853388543885538856388573885838859388603886138862388633886438865388663886738868388693887038871388723887338874388753887638877388783887938880388813888238883388843888538886388873888838889388903889138892388933889438895388963889738898388993890038901389023890338904389053890638907389083890938910389113891238913389143891538916389173891838919389203892138922389233892438925389263892738928389293893038931389323893338934389353893638937389383893938940389413894238943389443894538946389473894838949389503895138952389533895438955389563895738958389593896038961389623896338964389653896638967389683896938970389713897238973389743897538976389773897838979389803898138982389833898438985389863898738988389893899038991389923899338994389953899638997389983899939000390013900239003390043900539006390073900839009390103901139012390133901439015390163901739018390193902039021390223902339024390253902639027390283902939030390313903239033390343903539036390373903839039390403904139042390433904439045390463904739048390493905039051390523905339054390553905639057390583905939060390613906239063390643906539066390673906839069390703907139072390733907439075390763907739078390793908039081390823908339084390853908639087390883908939090390913909239093390943909539096390973909839099391003910139102391033910439105391063910739108391093911039111391123911339114391153911639117391183911939120391213912239123391243912539126391273912839129391303913139132391333913439135391363913739138391393914039141391423914339144391453914639147391483914939150391513915239153391543915539156391573915839159391603916139162391633916439165391663916739168391693917039171391723917339174391753917639177391783917939180391813918239183391843918539186391873918839189391903919139192391933919439195391963919739198391993920039201392023920339204392053920639207392083920939210392113921239213392143921539216392173921839219392203922139222392233922439225392263922739228392293923039231392323923339234392353923639237392383923939240392413924239243392443924539246392473924839249392503925139252392533925439255392563925739258392593926039261392623926339264392653926639267392683926939270392713927239273392743927539276392773927839279392803928139282392833928439285392863928739288392893929039291392923929339294392953929639297392983929939300393013930239303393043930539306393073930839309393103931139312393133931439315393163931739318393193932039321393223932339324393253932639327393283932939330393313933239333393343933539336393373933839339393403934139342393433934439345393463934739348393493935039351393523935339354393553935639357393583935939360393613936239363393643936539366393673936839369393703937139372393733937439375393763937739378393793938039381393823938339384393853938639387393883938939390393913939239393393943939539396393973939839399394003940139402394033940439405394063940739408394093941039411394123941339414394153941639417394183941939420394213942239423394243942539426394273942839429394303943139432394333943439435394363943739438394393944039441394423944339444394453944639447394483944939450394513945239453394543945539456394573945839459394603946139462394633946439465394663946739468394693947039471394723947339474394753947639477394783947939480394813948239483394843948539486394873948839489394903949139492394933949439495394963949739498394993950039501395023950339504395053950639507395083950939510395113951239513395143951539516395173951839519395203952139522395233952439525395263952739528395293953039531395323953339534395353953639537395383953939540395413954239543395443954539546395473954839549395503955139552395533955439555395563955739558395593956039561395623956339564395653956639567395683956939570395713957239573395743957539576395773957839579395803958139582395833958439585395863958739588395893959039591395923959339594395953959639597395983959939600396013960239603396043960539606396073960839609396103961139612396133961439615396163961739618396193962039621396223962339624396253962639627396283962939630396313963239633396343963539636396373963839639396403964139642396433964439645396463964739648396493965039651396523965339654396553965639657396583965939660396613966239663396643966539666396673966839669396703967139672396733967439675396763967739678396793968039681396823968339684396853968639687396883968939690396913969239693396943969539696396973969839699397003970139702397033970439705397063970739708397093971039711397123971339714397153971639717397183971939720397213972239723397243972539726397273972839729397303973139732397333973439735397363973739738397393974039741397423974339744397453974639747397483974939750397513975239753397543975539756397573975839759397603976139762397633976439765397663976739768397693977039771397723977339774397753977639777397783977939780397813978239783397843978539786397873978839789397903979139792397933979439795397963979739798397993980039801398023980339804398053980639807398083980939810398113981239813398143981539816398173981839819398203982139822398233982439825398263982739828398293983039831398323983339834398353983639837398383983939840398413984239843398443984539846398473984839849398503985139852398533985439855398563985739858398593986039861398623986339864398653986639867398683986939870398713987239873398743987539876398773987839879398803988139882398833988439885398863988739888398893989039891398923989339894398953989639897398983989939900399013990239903399043990539906399073990839909399103991139912399133991439915399163991739918399193992039921399223992339924399253992639927399283992939930399313993239933399343993539936399373993839939399403994139942399433994439945399463994739948399493995039951399523995339954399553995639957399583995939960399613996239963399643996539966399673996839969399703997139972399733997439975399763997739978399793998039981399823998339984399853998639987399883998939990399913999239993399943999539996399973999839999400004000140002400034000440005400064000740008400094001040011400124001340014400154001640017400184001940020400214002240023400244002540026400274002840029400304003140032400334003440035400364003740038400394004040041400424004340044400454004640047400484004940050400514005240053400544005540056400574005840059400604006140062400634006440065400664006740068400694007040071400724007340074400754007640077400784007940080400814008240083400844008540086400874008840089400904009140092400934009440095400964009740098400994010040101401024010340104401054010640107401084010940110401114011240113401144011540116401174011840119401204012140122401234012440125401264012740128401294013040131401324013340134401354013640137401384013940140401414014240143401444014540146401474014840149401504015140152401534015440155401564015740158401594016040161401624016340164401654016640167401684016940170401714017240173401744017540176401774017840179401804018140182401834018440185401864018740188401894019040191401924019340194401954019640197401984019940200402014020240203402044020540206402074020840209402104021140212402134021440215402164021740218402194022040221402224022340224402254022640227402284022940230402314023240233402344023540236402374023840239402404024140242402434024440245402464024740248402494025040251402524025340254402554025640257402584025940260402614026240263402644026540266402674026840269402704027140272402734027440275402764027740278402794028040281402824028340284402854028640287402884028940290402914029240293402944029540296402974029840299403004030140302403034030440305403064030740308403094031040311403124031340314403154031640317403184031940320403214032240323403244032540326403274032840329403304033140332403334033440335403364033740338403394034040341403424034340344403454034640347403484034940350403514035240353403544035540356403574035840359403604036140362403634036440365403664036740368403694037040371403724037340374403754037640377403784037940380403814038240383403844038540386403874038840389403904039140392403934039440395403964039740398403994040040401404024040340404404054040640407404084040940410404114041240413404144041540416404174041840419404204042140422404234042440425404264042740428404294043040431404324043340434404354043640437404384043940440404414044240443404444044540446404474044840449404504045140452404534045440455404564045740458404594046040461404624046340464404654046640467404684046940470404714047240473404744047540476404774047840479404804048140482404834048440485404864048740488404894049040491404924049340494404954049640497404984049940500405014050240503405044050540506405074050840509405104051140512405134051440515405164051740518405194052040521405224052340524405254052640527405284052940530405314053240533405344053540536405374053840539405404054140542405434054440545405464054740548405494055040551405524055340554405554055640557405584055940560405614056240563405644056540566405674056840569405704057140572405734057440575405764057740578405794058040581405824058340584405854058640587405884058940590405914059240593405944059540596405974059840599406004060140602406034060440605406064060740608406094061040611406124061340614406154061640617406184061940620406214062240623406244062540626406274062840629406304063140632406334063440635406364063740638406394064040641406424064340644406454064640647406484064940650406514065240653406544065540656406574065840659406604066140662406634066440665406664066740668406694067040671406724067340674406754067640677406784067940680406814068240683406844068540686406874068840689406904069140692406934069440695406964069740698406994070040701407024070340704407054070640707407084070940710407114071240713407144071540716407174071840719407204072140722407234072440725407264072740728407294073040731407324073340734407354073640737407384073940740407414074240743407444074540746407474074840749407504075140752407534075440755407564075740758407594076040761407624076340764407654076640767407684076940770407714077240773407744077540776407774077840779407804078140782407834078440785407864078740788407894079040791407924079340794407954079640797407984079940800408014080240803408044080540806408074080840809408104081140812408134081440815408164081740818408194082040821408224082340824408254082640827408284082940830408314083240833408344083540836408374083840839408404084140842408434084440845408464084740848408494085040851408524085340854408554085640857408584085940860408614086240863408644086540866408674086840869408704087140872408734087440875408764087740878408794088040881408824088340884408854088640887408884088940890408914089240893408944089540896408974089840899409004090140902409034090440905409064090740908409094091040911409124091340914409154091640917409184091940920409214092240923409244092540926409274092840929409304093140932409334093440935409364093740938409394094040941409424094340944409454094640947409484094940950409514095240953409544095540956409574095840959409604096140962409634096440965409664096740968409694097040971409724097340974409754097640977409784097940980409814098240983409844098540986409874098840989409904099140992409934099440995409964099740998409994100041001410024100341004410054100641007410084100941010410114101241013410144101541016410174101841019410204102141022410234102441025410264102741028410294103041031410324103341034410354103641037410384103941040410414104241043410444104541046410474104841049410504105141052410534105441055410564105741058410594106041061410624106341064410654106641067410684106941070410714107241073410744107541076410774107841079410804108141082410834108441085410864108741088410894109041091410924109341094410954109641097410984109941100411014110241103411044110541106411074110841109411104111141112411134111441115411164111741118411194112041121411224112341124411254112641127411284112941130411314113241133411344113541136411374113841139411404114141142411434114441145411464114741148411494115041151411524115341154411554115641157411584115941160411614116241163411644116541166411674116841169411704117141172411734117441175411764117741178411794118041181411824118341184411854118641187411884118941190411914119241193411944119541196411974119841199412004120141202412034120441205412064120741208412094121041211412124121341214412154121641217412184121941220412214122241223412244122541226412274122841229412304123141232412334123441235412364123741238412394124041241412424124341244412454124641247412484124941250412514125241253412544125541256412574125841259412604126141262412634126441265412664126741268412694127041271412724127341274412754127641277412784127941280412814128241283412844128541286412874128841289412904129141292412934129441295412964129741298412994130041301413024130341304413054130641307413084130941310413114131241313413144131541316413174131841319413204132141322413234132441325413264132741328413294133041331413324133341334413354133641337413384133941340413414134241343413444134541346413474134841349413504135141352413534135441355413564135741358413594136041361413624136341364413654136641367413684136941370413714137241373413744137541376413774137841379413804138141382413834138441385413864138741388413894139041391413924139341394413954139641397413984139941400414014140241403414044140541406414074140841409414104141141412414134141441415414164141741418414194142041421414224142341424414254142641427414284142941430414314143241433414344143541436414374143841439414404144141442414434144441445414464144741448414494145041451414524145341454414554145641457414584145941460414614146241463414644146541466414674146841469414704147141472414734147441475414764147741478414794148041481414824148341484414854148641487414884148941490414914149241493414944149541496414974149841499415004150141502415034150441505415064150741508415094151041511415124151341514415154151641517415184151941520415214152241523415244152541526415274152841529415304153141532415334153441535415364153741538415394154041541415424154341544415454154641547415484154941550415514155241553415544155541556415574155841559415604156141562415634156441565415664156741568415694157041571415724157341574415754157641577415784157941580415814158241583415844158541586415874158841589415904159141592415934159441595415964159741598415994160041601416024160341604416054160641607416084160941610416114161241613416144161541616416174161841619416204162141622416234162441625416264162741628416294163041631416324163341634416354163641637416384163941640416414164241643416444164541646416474164841649416504165141652416534165441655416564165741658416594166041661416624166341664416654166641667416684166941670416714167241673416744167541676416774167841679416804168141682416834168441685416864168741688416894169041691416924169341694416954169641697416984169941700417014170241703417044170541706417074170841709417104171141712417134171441715417164171741718417194172041721417224172341724417254172641727417284172941730417314173241733417344173541736417374173841739417404174141742417434174441745417464174741748417494175041751417524175341754417554175641757417584175941760417614176241763417644176541766417674176841769417704177141772417734177441775417764177741778417794178041781417824178341784417854178641787417884178941790417914179241793417944179541796417974179841799418004180141802418034180441805418064180741808418094181041811418124181341814418154181641817418184181941820418214182241823418244182541826418274182841829418304183141832418334183441835418364183741838418394184041841418424184341844418454184641847418484184941850418514185241853418544185541856418574185841859418604186141862418634186441865418664186741868418694187041871418724187341874418754187641877418784187941880418814188241883418844188541886418874188841889418904189141892418934189441895418964189741898418994190041901419024190341904419054190641907419084190941910419114191241913419144191541916419174191841919419204192141922419234192441925419264192741928419294193041931419324193341934419354193641937419384193941940419414194241943419444194541946419474194841949419504195141952419534195441955419564195741958419594196041961419624196341964419654196641967419684196941970419714197241973419744197541976419774197841979419804198141982419834198441985419864198741988419894199041991419924199341994419954199641997419984199942000420014200242003420044200542006420074200842009420104201142012420134201442015420164201742018420194202042021420224202342024420254202642027420284202942030420314203242033420344203542036420374203842039420404204142042420434204442045420464204742048420494205042051420524205342054420554205642057420584205942060420614206242063420644206542066420674206842069420704207142072420734207442075420764207742078420794208042081420824208342084420854208642087420884208942090420914209242093420944209542096420974209842099421004210142102421034210442105421064210742108421094211042111421124211342114421154211642117421184211942120421214212242123421244212542126421274212842129421304213142132421334213442135421364213742138421394214042141421424214342144421454214642147421484214942150421514215242153421544215542156421574215842159421604216142162421634216442165421664216742168421694217042171421724217342174421754217642177421784217942180421814218242183421844218542186421874218842189421904219142192421934219442195421964219742198421994220042201422024220342204422054220642207422084220942210422114221242213422144221542216422174221842219422204222142222422234222442225422264222742228422294223042231422324223342234422354223642237422384223942240422414224242243422444224542246422474224842249422504225142252422534225442255422564225742258422594226042261422624226342264422654226642267422684226942270422714227242273422744227542276422774227842279422804228142282422834228442285422864228742288422894229042291422924229342294422954229642297422984229942300423014230242303423044230542306423074230842309423104231142312423134231442315423164231742318423194232042321423224232342324423254232642327423284232942330423314233242333423344233542336423374233842339423404234142342423434234442345423464234742348423494235042351423524235342354423554235642357423584235942360423614236242363423644236542366423674236842369423704237142372423734237442375423764237742378423794238042381423824238342384423854238642387423884238942390423914239242393423944239542396423974239842399424004240142402424034240442405424064240742408424094241042411424124241342414424154241642417424184241942420424214242242423424244242542426424274242842429424304243142432424334243442435424364243742438424394244042441424424244342444424454244642447424484244942450424514245242453424544245542456424574245842459424604246142462424634246442465424664246742468424694247042471424724247342474424754247642477424784247942480424814248242483424844248542486424874248842489424904249142492424934249442495424964249742498424994250042501425024250342504425054250642507425084250942510425114251242513425144251542516425174251842519425204252142522425234252442525425264252742528425294253042531425324253342534425354253642537425384253942540425414254242543425444254542546425474254842549425504255142552425534255442555425564255742558425594256042561425624256342564425654256642567425684256942570425714257242573425744257542576425774257842579425804258142582425834258442585425864258742588425894259042591425924259342594425954259642597425984259942600426014260242603426044260542606426074260842609426104261142612426134261442615426164261742618426194262042621426224262342624426254262642627426284262942630426314263242633426344263542636426374263842639426404264142642426434264442645426464264742648426494265042651426524265342654426554265642657426584265942660426614266242663426644266542666426674266842669426704267142672426734267442675426764267742678426794268042681426824268342684426854268642687426884268942690426914269242693426944269542696426974269842699427004270142702427034270442705427064270742708427094271042711427124271342714427154271642717427184271942720427214272242723427244272542726427274272842729427304273142732427334273442735427364273742738427394274042741427424274342744427454274642747427484274942750427514275242753427544275542756427574275842759427604276142762427634276442765427664276742768427694277042771427724277342774427754277642777427784277942780427814278242783427844278542786427874278842789427904279142792427934279442795427964279742798427994280042801428024280342804428054280642807428084280942810428114281242813428144281542816428174281842819428204282142822428234282442825428264282742828428294283042831428324283342834428354283642837428384283942840428414284242843428444284542846428474284842849428504285142852428534285442855428564285742858428594286042861428624286342864428654286642867428684286942870428714287242873428744287542876428774287842879428804288142882428834288442885428864288742888428894289042891428924289342894428954289642897428984289942900429014290242903429044290542906429074290842909429104291142912429134291442915429164291742918429194292042921429224292342924429254292642927429284292942930429314293242933429344293542936429374293842939429404294142942429434294442945429464294742948429494295042951429524295342954429554295642957429584295942960429614296242963429644296542966429674296842969429704297142972429734297442975429764297742978429794298042981429824298342984429854298642987429884298942990429914299242993429944299542996429974299842999430004300143002430034300443005430064300743008430094301043011430124301343014430154301643017430184301943020430214302243023430244302543026430274302843029430304303143032430334303443035430364303743038430394304043041430424304343044430454304643047430484304943050430514305243053430544305543056430574305843059430604306143062430634306443065430664306743068430694307043071430724307343074430754307643077430784307943080430814308243083430844308543086430874308843089430904309143092430934309443095430964309743098430994310043101431024310343104431054310643107431084310943110431114311243113431144311543116431174311843119431204312143122431234312443125431264312743128431294313043131431324313343134431354313643137431384313943140431414314243143431444314543146431474314843149431504315143152431534315443155431564315743158431594316043161431624316343164431654316643167431684316943170431714317243173431744317543176431774317843179431804318143182431834318443185431864318743188431894319043191431924319343194431954319643197431984319943200432014320243203432044320543206432074320843209432104321143212432134321443215432164321743218432194322043221432224322343224432254322643227432284322943230432314323243233432344323543236432374323843239432404324143242432434324443245432464324743248432494325043251432524325343254432554325643257432584325943260432614326243263432644326543266432674326843269432704327143272432734327443275432764327743278432794328043281432824328343284432854328643287432884328943290432914329243293432944329543296432974329843299433004330143302433034330443305433064330743308433094331043311433124331343314433154331643317433184331943320433214332243323433244332543326433274332843329433304333143332433334333443335433364333743338433394334043341433424334343344433454334643347433484334943350433514335243353433544335543356433574335843359433604336143362433634336443365433664336743368433694337043371433724337343374433754337643377433784337943380433814338243383433844338543386433874338843389433904339143392433934339443395433964339743398433994340043401434024340343404434054340643407434084340943410434114341243413434144341543416434174341843419434204342143422434234342443425434264342743428434294343043431434324343343434434354343643437434384343943440434414344243443434444344543446434474344843449434504345143452434534345443455434564345743458434594346043461434624346343464434654346643467434684346943470434714347243473434744347543476434774347843479434804348143482434834348443485434864348743488434894349043491434924349343494434954349643497434984349943500435014350243503435044350543506435074350843509435104351143512435134351443515435164351743518435194352043521435224352343524435254352643527435284352943530435314353243533435344353543536435374353843539435404354143542435434354443545435464354743548435494355043551435524355343554435554355643557435584355943560435614356243563435644356543566435674356843569435704357143572435734357443575435764357743578435794358043581435824358343584435854358643587435884358943590435914359243593435944359543596435974359843599436004360143602436034360443605436064360743608436094361043611436124361343614436154361643617436184361943620436214362243623436244362543626436274362843629436304363143632436334363443635436364363743638436394364043641436424364343644436454364643647436484364943650436514365243653436544365543656436574365843659436604366143662436634366443665436664366743668436694367043671436724367343674436754367643677436784367943680436814368243683436844368543686436874368843689436904369143692436934369443695436964369743698436994370043701437024370343704437054370643707437084370943710437114371243713437144371543716437174371843719437204372143722437234372443725437264372743728437294373043731437324373343734437354373643737437384373943740437414374243743437444374543746437474374843749437504375143752437534375443755437564375743758437594376043761437624376343764437654376643767437684376943770437714377243773437744377543776437774377843779437804378143782437834378443785437864378743788437894379043791437924379343794437954379643797437984379943800438014380243803438044380543806438074380843809438104381143812438134381443815438164381743818438194382043821438224382343824438254382643827438284382943830438314383243833438344383543836438374383843839438404384143842438434384443845438464384743848438494385043851438524385343854438554385643857438584385943860438614386243863438644386543866438674386843869438704387143872438734387443875438764387743878438794388043881438824388343884438854388643887438884388943890438914389243893438944389543896438974389843899439004390143902439034390443905439064390743908439094391043911439124391343914439154391643917439184391943920439214392243923439244392543926439274392843929439304393143932439334393443935439364393743938439394394043941439424394343944439454394643947439484394943950439514395243953439544395543956439574395843959439604396143962439634396443965439664396743968439694397043971439724397343974439754397643977439784397943980439814398243983439844398543986439874398843989439904399143992439934399443995439964399743998439994400044001440024400344004440054400644007440084400944010440114401244013440144401544016440174401844019440204402144022440234402444025440264402744028440294403044031440324403344034440354403644037440384403944040440414404244043440444404544046440474404844049440504405144052440534405444055440564405744058440594406044061440624406344064440654406644067440684406944070440714407244073440744407544076440774407844079440804408144082440834408444085440864408744088440894409044091440924409344094440954409644097440984409944100441014410244103441044410544106441074410844109441104411144112441134411444115441164411744118441194412044121441224412344124441254412644127441284412944130441314413244133441344413544136441374413844139441404414144142441434414444145441464414744148441494415044151441524415344154441554415644157441584415944160441614416244163441644416544166441674416844169441704417144172441734417444175441764417744178441794418044181441824418344184441854418644187441884418944190441914419244193441944419544196441974419844199442004420144202442034420444205442064420744208442094421044211442124421344214442154421644217442184421944220442214422244223442244422544226442274422844229442304423144232442334423444235442364423744238442394424044241442424424344244442454424644247442484424944250442514425244253442544425544256442574425844259442604426144262442634426444265442664426744268442694427044271442724427344274442754427644277442784427944280442814428244283442844428544286442874428844289442904429144292442934429444295442964429744298442994430044301443024430344304443054430644307443084430944310443114431244313443144431544316443174431844319443204432144322443234432444325443264432744328443294433044331443324433344334443354433644337443384433944340443414434244343443444434544346443474434844349443504435144352443534435444355443564435744358443594436044361443624436344364443654436644367443684436944370443714437244373443744437544376443774437844379443804438144382443834438444385443864438744388443894439044391443924439344394443954439644397443984439944400444014440244403444044440544406444074440844409444104441144412444134441444415444164441744418444194442044421444224442344424444254442644427444284442944430444314443244433444344443544436444374443844439444404444144442444434444444445444464444744448444494445044451444524445344454444554445644457444584445944460444614446244463444644446544466444674446844469444704447144472444734447444475444764447744478444794448044481444824448344484444854448644487444884448944490444914449244493444944449544496444974449844499445004450144502445034450444505445064450744508445094451044511445124451344514445154451644517445184451944520445214452244523445244452544526445274452844529445304453144532445334453444535445364453744538445394454044541445424454344544445454454644547445484454944550445514455244553445544455544556445574455844559445604456144562445634456444565445664456744568445694457044571445724457344574445754457644577445784457944580445814458244583445844458544586445874458844589445904459144592445934459444595445964459744598445994460044601446024460344604446054460644607446084460944610446114461244613446144461544616446174461844619446204462144622446234462444625446264462744628446294463044631446324463344634446354463644637446384463944640446414464244643446444464544646446474464844649446504465144652446534465444655446564465744658446594466044661446624466344664446654466644667446684466944670446714467244673446744467544676446774467844679446804468144682446834468444685446864468744688446894469044691446924469344694446954469644697446984469944700447014470244703447044470544706447074470844709447104471144712447134471444715447164471744718447194472044721447224472344724447254472644727447284472944730447314473244733447344473544736447374473844739447404474144742447434474444745447464474744748447494475044751447524475344754447554475644757447584475944760447614476244763447644476544766447674476844769447704477144772447734477444775447764477744778447794478044781447824478344784447854478644787447884478944790447914479244793447944479544796447974479844799448004480144802448034480444805448064480744808448094481044811448124481344814448154481644817448184481944820448214482244823448244482544826448274482844829448304483144832448334483444835448364483744838448394484044841448424484344844448454484644847448484484944850448514485244853448544485544856448574485844859448604486144862448634486444865448664486744868448694487044871448724487344874448754487644877448784487944880448814488244883448844488544886448874488844889448904489144892448934489444895448964489744898448994490044901449024490344904449054490644907449084490944910449114491244913449144491544916449174491844919449204492144922449234492444925449264492744928449294493044931449324493344934449354493644937449384493944940449414494244943449444494544946449474494844949449504495144952449534495444955449564495744958449594496044961449624496344964449654496644967449684496944970449714497244973449744497544976449774497844979449804498144982449834498444985449864498744988449894499044991449924499344994449954499644997449984499945000450014500245003450044500545006450074500845009450104501145012450134501445015450164501745018450194502045021450224502345024450254502645027450284502945030450314503245033450344503545036450374503845039450404504145042450434504445045450464504745048450494505045051450524505345054450554505645057450584505945060450614506245063450644506545066450674506845069450704507145072450734507445075450764507745078450794508045081450824508345084450854508645087450884508945090450914509245093450944509545096450974509845099451004510145102451034510445105451064510745108451094511045111451124511345114451154511645117451184511945120451214512245123451244512545126451274512845129451304513145132451334513445135451364513745138451394514045141451424514345144451454514645147451484514945150451514515245153451544515545156451574515845159451604516145162451634516445165451664516745168451694517045171451724517345174451754517645177451784517945180451814518245183451844518545186451874518845189451904519145192451934519445195451964519745198451994520045201452024520345204452054520645207452084520945210452114521245213452144521545216452174521845219452204522145222452234522445225452264522745228452294523045231452324523345234452354523645237452384523945240452414524245243452444524545246452474524845249452504525145252452534525445255452564525745258452594526045261452624526345264452654526645267452684526945270452714527245273452744527545276452774527845279452804528145282452834528445285452864528745288452894529045291452924529345294452954529645297452984529945300453014530245303453044530545306453074530845309453104531145312453134531445315453164531745318453194532045321453224532345324453254532645327453284532945330453314533245333453344533545336453374533845339453404534145342453434534445345453464534745348453494535045351453524535345354453554535645357453584535945360453614536245363453644536545366453674536845369453704537145372453734537445375453764537745378453794538045381453824538345384453854538645387453884538945390453914539245393453944539545396453974539845399454004540145402454034540445405454064540745408454094541045411454124541345414454154541645417454184541945420454214542245423454244542545426454274542845429454304543145432454334543445435454364543745438454394544045441454424544345444454454544645447454484544945450454514545245453454544545545456454574545845459454604546145462454634546445465454664546745468454694547045471454724547345474454754547645477454784547945480454814548245483454844548545486454874548845489454904549145492454934549445495454964549745498454994550045501455024550345504455054550645507455084550945510455114551245513455144551545516455174551845519455204552145522455234552445525455264552745528455294553045531455324553345534455354553645537455384553945540455414554245543455444554545546455474554845549455504555145552455534555445555455564555745558455594556045561455624556345564455654556645567455684556945570455714557245573455744557545576455774557845579455804558145582455834558445585455864558745588455894559045591455924559345594455954559645597455984559945600456014560245603456044560545606456074560845609456104561145612456134561445615456164561745618456194562045621456224562345624456254562645627456284562945630456314563245633456344563545636456374563845639456404564145642456434564445645456464564745648456494565045651456524565345654456554565645657456584565945660456614566245663456644566545666456674566845669456704567145672456734567445675456764567745678456794568045681456824568345684456854568645687456884568945690456914569245693456944569545696456974569845699457004570145702457034570445705457064570745708457094571045711457124571345714457154571645717457184571945720457214572245723457244572545726457274572845729457304573145732457334573445735457364573745738457394574045741457424574345744457454574645747457484574945750457514575245753457544575545756457574575845759457604576145762457634576445765457664576745768457694577045771457724577345774457754577645777457784577945780457814578245783457844578545786457874578845789457904579145792457934579445795457964579745798457994580045801458024580345804458054580645807458084580945810458114581245813458144581545816458174581845819458204582145822458234582445825458264582745828458294583045831458324583345834458354583645837458384583945840458414584245843458444584545846458474584845849458504585145852458534585445855458564585745858458594586045861458624586345864458654586645867458684586945870458714587245873458744587545876458774587845879458804588145882458834588445885458864588745888458894589045891458924589345894458954589645897458984589945900459014590245903459044590545906459074590845909459104591145912459134591445915459164591745918459194592045921459224592345924459254592645927459284592945930459314593245933459344593545936459374593845939459404594145942459434594445945459464594745948459494595045951459524595345954459554595645957459584595945960459614596245963459644596545966459674596845969459704597145972459734597445975459764597745978459794598045981459824598345984459854598645987459884598945990459914599245993459944599545996459974599845999460004600146002460034600446005460064600746008460094601046011460124601346014460154601646017460184601946020460214602246023460244602546026460274602846029460304603146032460334603446035460364603746038460394604046041460424604346044460454604646047460484604946050460514605246053460544605546056460574605846059460604606146062460634606446065460664606746068460694607046071460724607346074460754607646077460784607946080460814608246083460844608546086460874608846089460904609146092460934609446095460964609746098460994610046101461024610346104461054610646107461084610946110461114611246113461144611546116461174611846119461204612146122461234612446125461264612746128461294613046131461324613346134461354613646137461384613946140461414614246143461444614546146461474614846149461504615146152461534615446155461564615746158461594616046161461624616346164461654616646167461684616946170461714617246173461744617546176461774617846179461804618146182461834618446185461864618746188461894619046191461924619346194461954619646197461984619946200462014620246203462044620546206462074620846209462104621146212462134621446215462164621746218462194622046221462224622346224462254622646227462284622946230462314623246233462344623546236462374623846239462404624146242462434624446245462464624746248462494625046251462524625346254462554625646257462584625946260462614626246263462644626546266462674626846269462704627146272462734627446275462764627746278462794628046281462824628346284462854628646287462884628946290462914629246293462944629546296462974629846299463004630146302463034630446305463064630746308463094631046311463124631346314463154631646317463184631946320463214632246323463244632546326463274632846329463304633146332463334633446335463364633746338463394634046341463424634346344463454634646347463484634946350463514635246353463544635546356463574635846359463604636146362463634636446365463664636746368463694637046371463724637346374463754637646377463784637946380463814638246383463844638546386463874638846389463904639146392463934639446395463964639746398463994640046401464024640346404464054640646407464084640946410464114641246413464144641546416464174641846419464204642146422464234642446425464264642746428464294643046431464324643346434464354643646437464384643946440464414644246443464444644546446464474644846449464504645146452464534645446455464564645746458464594646046461464624646346464464654646646467464684646946470464714647246473464744647546476464774647846479464804648146482464834648446485464864648746488464894649046491464924649346494464954649646497464984649946500465014650246503465044650546506465074650846509465104651146512465134651446515465164651746518465194652046521465224652346524465254652646527465284652946530465314653246533465344653546536465374653846539465404654146542465434654446545465464654746548465494655046551465524655346554465554655646557465584655946560465614656246563465644656546566465674656846569465704657146572465734657446575465764657746578465794658046581465824658346584465854658646587465884658946590465914659246593465944659546596465974659846599466004660146602466034660446605466064660746608466094661046611466124661346614466154661646617466184661946620466214662246623466244662546626466274662846629466304663146632466334663446635466364663746638466394664046641466424664346644466454664646647466484664946650466514665246653466544665546656466574665846659466604666146662466634666446665466664666746668466694667046671466724667346674466754667646677466784667946680466814668246683466844668546686466874668846689466904669146692466934669446695466964669746698466994670046701467024670346704467054670646707467084670946710467114671246713467144671546716467174671846719467204672146722467234672446725467264672746728467294673046731467324673346734467354673646737467384673946740467414674246743467444674546746467474674846749467504675146752467534675446755467564675746758467594676046761467624676346764467654676646767467684676946770467714677246773467744677546776467774677846779467804678146782467834678446785467864678746788467894679046791467924679346794467954679646797467984679946800468014680246803468044680546806468074680846809468104681146812468134681446815468164681746818468194682046821468224682346824468254682646827468284682946830468314683246833468344683546836468374683846839468404684146842468434684446845468464684746848468494685046851468524685346854468554685646857468584685946860468614686246863468644686546866468674686846869468704687146872468734687446875468764687746878468794688046881468824688346884468854688646887468884688946890468914689246893468944689546896468974689846899469004690146902469034690446905469064690746908469094691046911469124691346914469154691646917469184691946920469214692246923469244692546926469274692846929469304693146932469334693446935469364693746938469394694046941469424694346944469454694646947469484694946950469514695246953469544695546956469574695846959469604696146962469634696446965469664696746968469694697046971469724697346974469754697646977469784697946980469814698246983469844698546986469874698846989469904699146992469934699446995469964699746998469994700047001470024700347004470054700647007470084700947010470114701247013470144701547016470174701847019470204702147022470234702447025470264702747028470294703047031470324703347034470354703647037470384703947040470414704247043470444704547046470474704847049470504705147052470534705447055470564705747058470594706047061470624706347064470654706647067470684706947070470714707247073470744707547076470774707847079470804708147082470834708447085470864708747088470894709047091470924709347094470954709647097470984709947100471014710247103471044710547106471074710847109471104711147112471134711447115471164711747118471194712047121471224712347124471254712647127471284712947130471314713247133471344713547136471374713847139471404714147142471434714447145471464714747148471494715047151471524715347154471554715647157471584715947160471614716247163471644716547166471674716847169471704717147172471734717447175471764717747178471794718047181471824718347184471854718647187471884718947190471914719247193471944719547196471974719847199472004720147202472034720447205472064720747208472094721047211472124721347214472154721647217472184721947220472214722247223472244722547226472274722847229472304723147232472334723447235472364723747238472394724047241472424724347244472454724647247472484724947250472514725247253472544725547256472574725847259472604726147262472634726447265472664726747268472694727047271472724727347274472754727647277472784727947280472814728247283472844728547286472874728847289472904729147292472934729447295472964729747298472994730047301473024730347304473054730647307473084730947310473114731247313473144731547316473174731847319473204732147322473234732447325473264732747328473294733047331473324733347334473354733647337473384733947340473414734247343473444734547346473474734847349473504735147352473534735447355473564735747358473594736047361473624736347364473654736647367473684736947370473714737247373473744737547376473774737847379473804738147382473834738447385473864738747388473894739047391473924739347394473954739647397473984739947400474014740247403474044740547406474074740847409474104741147412474134741447415474164741747418474194742047421474224742347424474254742647427474284742947430474314743247433474344743547436474374743847439474404744147442474434744447445474464744747448474494745047451474524745347454474554745647457474584745947460474614746247463474644746547466474674746847469474704747147472474734747447475474764747747478474794748047481474824748347484474854748647487474884748947490474914749247493474944749547496474974749847499475004750147502475034750447505475064750747508475094751047511475124751347514475154751647517475184751947520475214752247523475244752547526475274752847529475304753147532475334753447535475364753747538475394754047541475424754347544475454754647547475484754947550475514755247553475544755547556475574755847559475604756147562475634756447565475664756747568475694757047571475724757347574475754757647577475784757947580475814758247583475844758547586475874758847589475904759147592475934759447595475964759747598475994760047601476024760347604476054760647607476084760947610476114761247613476144761547616476174761847619476204762147622476234762447625476264762747628476294763047631476324763347634476354763647637476384763947640476414764247643476444764547646476474764847649476504765147652476534765447655476564765747658476594766047661476624766347664476654766647667476684766947670476714767247673476744767547676476774767847679476804768147682476834768447685476864768747688476894769047691476924769347694476954769647697476984769947700477014770247703477044770547706477074770847709477104771147712477134771447715477164771747718477194772047721477224772347724477254772647727477284772947730477314773247733477344773547736477374773847739477404774147742477434774447745477464774747748477494775047751477524775347754477554775647757477584775947760477614776247763477644776547766477674776847769477704777147772477734777447775477764777747778477794778047781477824778347784477854778647787477884778947790477914779247793477944779547796477974779847799478004780147802478034780447805478064780747808478094781047811478124781347814478154781647817478184781947820478214782247823478244782547826478274782847829478304783147832478334783447835478364783747838478394784047841478424784347844478454784647847478484784947850478514785247853478544785547856478574785847859478604786147862478634786447865478664786747868478694787047871478724787347874478754787647877478784787947880478814788247883478844788547886478874788847889478904789147892478934789447895478964789747898478994790047901479024790347904479054790647907479084790947910479114791247913479144791547916479174791847919479204792147922479234792447925479264792747928479294793047931479324793347934479354793647937479384793947940479414794247943479444794547946479474794847949479504795147952479534795447955479564795747958479594796047961479624796347964479654796647967479684796947970479714797247973479744797547976479774797847979479804798147982479834798447985479864798747988479894799047991479924799347994479954799647997479984799948000480014800248003480044800548006480074800848009480104801148012480134801448015480164801748018480194802048021480224802348024480254802648027480284802948030480314803248033480344803548036480374803848039480404804148042480434804448045480464804748048480494805048051480524805348054480554805648057480584805948060480614806248063480644806548066480674806848069480704807148072480734807448075480764807748078480794808048081480824808348084480854808648087480884808948090480914809248093480944809548096480974809848099481004810148102481034810448105481064810748108481094811048111481124811348114481154811648117481184811948120481214812248123481244812548126481274812848129481304813148132481334813448135481364813748138481394814048141481424814348144481454814648147481484814948150481514815248153481544815548156481574815848159481604816148162481634816448165481664816748168481694817048171481724817348174481754817648177481784817948180481814818248183481844818548186481874818848189481904819148192481934819448195481964819748198481994820048201482024820348204482054820648207482084820948210482114821248213482144821548216482174821848219482204822148222482234822448225482264822748228482294823048231482324823348234482354823648237482384823948240482414824248243482444824548246482474824848249482504825148252482534825448255482564825748258482594826048261482624826348264482654826648267482684826948270482714827248273482744827548276482774827848279482804828148282482834828448285482864828748288482894829048291482924829348294482954829648297482984829948300483014830248303483044830548306483074830848309483104831148312483134831448315483164831748318483194832048321483224832348324483254832648327483284832948330483314833248333483344833548336483374833848339483404834148342483434834448345483464834748348483494835048351483524835348354483554835648357483584835948360483614836248363483644836548366483674836848369483704837148372483734837448375483764837748378483794838048381483824838348384483854838648387483884838948390483914839248393483944839548396483974839848399484004840148402484034840448405484064840748408484094841048411484124841348414484154841648417484184841948420484214842248423484244842548426484274842848429484304843148432484334843448435484364843748438484394844048441484424844348444484454844648447484484844948450484514845248453484544845548456484574845848459484604846148462484634846448465484664846748468484694847048471484724847348474484754847648477484784847948480484814848248483484844848548486484874848848489484904849148492484934849448495484964849748498484994850048501485024850348504485054850648507485084850948510485114851248513485144851548516485174851848519485204852148522485234852448525485264852748528485294853048531485324853348534485354853648537485384853948540485414854248543485444854548546485474854848549485504855148552485534855448555485564855748558485594856048561485624856348564485654856648567485684856948570485714857248573485744857548576485774857848579485804858148582485834858448585485864858748588485894859048591485924859348594485954859648597485984859948600486014860248603486044860548606486074860848609486104861148612486134861448615486164861748618486194862048621486224862348624486254862648627486284862948630486314863248633486344863548636486374863848639486404864148642486434864448645486464864748648486494865048651486524865348654486554865648657486584865948660486614866248663486644866548666486674866848669486704867148672486734867448675486764867748678486794868048681486824868348684486854868648687486884868948690486914869248693486944869548696486974869848699487004870148702487034870448705487064870748708487094871048711487124871348714487154871648717487184871948720487214872248723487244872548726487274872848729487304873148732487334873448735487364873748738487394874048741487424874348744487454874648747487484874948750487514875248753487544875548756487574875848759487604876148762487634876448765487664876748768487694877048771487724877348774487754877648777487784877948780487814878248783487844878548786487874878848789487904879148792487934879448795487964879748798487994880048801488024880348804488054880648807488084880948810488114881248813488144881548816488174881848819488204882148822488234882448825488264882748828488294883048831488324883348834488354883648837488384883948840488414884248843488444884548846488474884848849488504885148852488534885448855488564885748858488594886048861488624886348864488654886648867488684886948870488714887248873488744887548876488774887848879488804888148882488834888448885488864888748888488894889048891488924889348894488954889648897488984889948900489014890248903489044890548906489074890848909489104891148912489134891448915489164891748918489194892048921489224892348924489254892648927489284892948930489314893248933489344893548936489374893848939489404894148942489434894448945489464894748948489494895048951489524895348954489554895648957489584895948960489614896248963489644896548966489674896848969489704897148972489734897448975489764897748978489794898048981489824898348984489854898648987489884898948990489914899248993489944899548996489974899848999490004900149002490034900449005490064900749008490094901049011490124901349014490154901649017490184901949020490214902249023490244902549026490274902849029490304903149032490334903449035490364903749038490394904049041490424904349044490454904649047490484904949050490514905249053490544905549056490574905849059490604906149062490634906449065490664906749068490694907049071490724907349074490754907649077490784907949080490814908249083490844908549086490874908849089490904909149092490934909449095490964909749098490994910049101491024910349104491054910649107491084910949110491114911249113491144911549116491174911849119491204912149122491234912449125491264912749128491294913049131491324913349134491354913649137491384913949140491414914249143491444914549146491474914849149491504915149152491534915449155491564915749158491594916049161491624916349164491654916649167491684916949170491714917249173491744917549176491774917849179491804918149182491834918449185491864918749188491894919049191491924919349194491954919649197491984919949200492014920249203492044920549206492074920849209492104921149212492134921449215492164921749218492194922049221492224922349224492254922649227492284922949230492314923249233492344923549236492374923849239492404924149242492434924449245492464924749248492494925049251492524925349254492554925649257492584925949260492614926249263492644926549266492674926849269492704927149272492734927449275492764927749278492794928049281492824928349284492854928649287492884928949290492914929249293492944929549296492974929849299493004930149302493034930449305493064930749308493094931049311493124931349314493154931649317493184931949320493214932249323493244932549326493274932849329493304933149332493334933449335493364933749338493394934049341493424934349344493454934649347493484934949350493514935249353493544935549356493574935849359493604936149362493634936449365493664936749368493694937049371493724937349374493754937649377493784937949380493814938249383493844938549386493874938849389493904939149392493934939449395493964939749398493994940049401494024940349404494054940649407494084940949410494114941249413494144941549416494174941849419494204942149422494234942449425494264942749428494294943049431494324943349434494354943649437494384943949440494414944249443494444944549446494474944849449494504945149452494534945449455494564945749458494594946049461494624946349464494654946649467494684946949470494714947249473494744947549476494774947849479494804948149482494834948449485494864948749488494894949049491494924949349494494954949649497494984949949500495014950249503495044950549506495074950849509495104951149512495134951449515495164951749518495194952049521495224952349524495254952649527495284952949530495314953249533495344953549536495374953849539495404954149542495434954449545495464954749548495494955049551495524955349554495554955649557495584955949560495614956249563495644956549566495674956849569495704957149572495734957449575495764957749578495794958049581495824958349584495854958649587495884958949590495914959249593495944959549596495974959849599496004960149602496034960449605496064960749608496094961049611496124961349614496154961649617496184961949620496214962249623496244962549626496274962849629496304963149632496334963449635496364963749638496394964049641496424964349644496454964649647496484964949650496514965249653496544965549656496574965849659496604966149662496634966449665496664966749668496694967049671496724967349674496754967649677496784967949680496814968249683496844968549686496874968849689496904969149692496934969449695496964969749698496994970049701497024970349704497054970649707497084970949710497114971249713497144971549716497174971849719497204972149722497234972449725497264972749728497294973049731497324973349734497354973649737497384973949740497414974249743497444974549746497474974849749497504975149752497534975449755497564975749758497594976049761497624976349764497654976649767497684976949770497714977249773497744977549776497774977849779497804978149782497834978449785497864978749788497894979049791497924979349794497954979649797497984979949800498014980249803498044980549806498074980849809498104981149812498134981449815498164981749818498194982049821498224982349824498254982649827498284982949830498314983249833498344983549836498374983849839498404984149842498434984449845498464984749848498494985049851498524985349854498554985649857498584985949860498614986249863498644986549866498674986849869498704987149872498734987449875498764987749878498794988049881498824988349884498854988649887498884988949890498914989249893498944989549896498974989849899499004990149902499034990449905499064990749908499094991049911499124991349914499154991649917499184991949920499214992249923499244992549926499274992849929499304993149932499334993449935499364993749938499394994049941499424994349944499454994649947499484994949950499514995249953499544995549956499574995849959499604996149962499634996449965499664996749968499694997049971499724997349974499754997649977499784997949980499814998249983499844998549986499874998849989499904999149992499934999449995499964999749998499995000050001500025000350004500055000650007500085000950010500115001250013500145001550016500175001850019500205002150022500235002450025500265002750028500295003050031500325003350034500355003650037500385003950040500415004250043500445004550046500475004850049500505005150052500535005450055500565005750058500595006050061500625006350064500655006650067500685006950070500715007250073500745007550076500775007850079500805008150082500835008450085500865008750088500895009050091500925009350094500955009650097500985009950100501015010250103501045010550106501075010850109501105011150112501135011450115501165011750118501195012050121501225012350124501255012650127501285012950130501315013250133501345013550136501375013850139501405014150142501435014450145501465014750148501495015050151501525015350154501555015650157501585015950160501615016250163501645016550166501675016850169501705017150172501735017450175501765017750178501795018050181501825018350184501855018650187501885018950190501915019250193501945019550196501975019850199502005020150202502035020450205502065020750208502095021050211502125021350214502155021650217502185021950220502215022250223502245022550226502275022850229502305023150232502335023450235502365023750238502395024050241502425024350244502455024650247502485024950250502515025250253502545025550256502575025850259502605026150262502635026450265502665026750268502695027050271502725027350274502755027650277502785027950280502815028250283502845028550286502875028850289502905029150292502935029450295502965029750298502995030050301503025030350304503055030650307503085030950310503115031250313503145031550316503175031850319503205032150322503235032450325503265032750328503295033050331503325033350334503355033650337503385033950340503415034250343503445034550346503475034850349503505035150352503535035450355503565035750358503595036050361503625036350364503655036650367503685036950370503715037250373503745037550376503775037850379503805038150382503835038450385503865038750388503895039050391503925039350394503955039650397503985039950400504015040250403504045040550406504075040850409504105041150412504135041450415504165041750418504195042050421504225042350424504255042650427504285042950430504315043250433504345043550436504375043850439504405044150442504435044450445504465044750448504495045050451504525045350454504555045650457504585045950460504615046250463504645046550466504675046850469504705047150472504735047450475504765047750478504795048050481504825048350484504855048650487504885048950490504915049250493504945049550496504975049850499505005050150502505035050450505505065050750508505095051050511505125051350514505155051650517505185051950520505215052250523505245052550526505275052850529505305053150532505335053450535505365053750538505395054050541505425054350544505455054650547505485054950550505515055250553505545055550556505575055850559505605056150562505635056450565505665056750568505695057050571505725057350574505755057650577505785057950580505815058250583505845058550586505875058850589505905059150592505935059450595505965059750598505995060050601506025060350604506055060650607506085060950610506115061250613506145061550616506175061850619506205062150622506235062450625506265062750628506295063050631506325063350634506355063650637506385063950640506415064250643506445064550646506475064850649506505065150652506535065450655506565065750658506595066050661506625066350664506655066650667506685066950670506715067250673506745067550676506775067850679506805068150682506835068450685506865068750688506895069050691506925069350694506955069650697506985069950700507015070250703507045070550706507075070850709507105071150712507135071450715507165071750718507195072050721507225072350724507255072650727507285072950730507315073250733507345073550736507375073850739507405074150742507435074450745507465074750748507495075050751507525075350754507555075650757507585075950760507615076250763507645076550766507675076850769507705077150772507735077450775507765077750778507795078050781507825078350784507855078650787507885078950790507915079250793507945079550796507975079850799508005080150802508035080450805508065080750808508095081050811508125081350814508155081650817508185081950820508215082250823508245082550826508275082850829508305083150832508335083450835508365083750838508395084050841508425084350844508455084650847508485084950850508515085250853508545085550856508575085850859508605086150862508635086450865508665086750868508695087050871508725087350874508755087650877508785087950880508815088250883508845088550886508875088850889508905089150892508935089450895508965089750898508995090050901509025090350904509055090650907509085090950910509115091250913509145091550916509175091850919509205092150922509235092450925509265092750928509295093050931509325093350934509355093650937509385093950940509415094250943509445094550946509475094850949509505095150952509535095450955509565095750958509595096050961509625096350964509655096650967509685096950970509715097250973509745097550976509775097850979509805098150982509835098450985509865098750988509895099050991509925099350994509955099650997509985099951000510015100251003510045100551006510075100851009510105101151012510135101451015510165101751018510195102051021510225102351024510255102651027510285102951030510315103251033510345103551036510375103851039510405104151042510435104451045510465104751048510495105051051510525105351054510555105651057510585105951060510615106251063510645106551066510675106851069510705107151072510735107451075510765107751078510795108051081510825108351084510855108651087510885108951090510915109251093510945109551096510975109851099511005110151102511035110451105511065110751108511095111051111511125111351114511155111651117511185111951120511215112251123511245112551126511275112851129511305113151132511335113451135511365113751138511395114051141511425114351144511455114651147511485114951150511515115251153511545115551156511575115851159511605116151162511635116451165511665116751168511695117051171511725117351174511755117651177511785117951180511815118251183511845118551186511875118851189511905119151192511935119451195511965119751198511995120051201512025120351204512055120651207512085120951210512115121251213512145121551216512175121851219512205122151222512235122451225512265122751228512295123051231512325123351234512355123651237512385123951240512415124251243512445124551246512475124851249512505125151252512535125451255512565125751258512595126051261512625126351264512655126651267512685126951270512715127251273512745127551276512775127851279512805128151282512835128451285512865128751288512895129051291512925129351294512955129651297512985129951300513015130251303513045130551306513075130851309513105131151312513135131451315513165131751318513195132051321513225132351324513255132651327513285132951330513315133251333513345133551336513375133851339513405134151342513435134451345513465134751348513495135051351513525135351354513555135651357513585135951360513615136251363513645136551366513675136851369513705137151372513735137451375513765137751378513795138051381513825138351384513855138651387513885138951390513915139251393513945139551396513975139851399514005140151402514035140451405514065140751408514095141051411514125141351414514155141651417514185141951420514215142251423514245142551426514275142851429514305143151432514335143451435514365143751438514395144051441514425144351444514455144651447514485144951450514515145251453514545145551456514575145851459514605146151462514635146451465514665146751468514695147051471514725147351474514755147651477514785147951480514815148251483514845148551486514875148851489514905149151492514935149451495514965149751498514995150051501515025150351504515055150651507515085150951510515115151251513515145151551516515175151851519515205152151522515235152451525515265152751528515295153051531515325153351534515355153651537515385153951540515415154251543515445154551546515475154851549515505155151552515535155451555515565155751558515595156051561515625156351564515655156651567515685156951570515715157251573515745157551576515775157851579515805158151582515835158451585515865158751588515895159051591515925159351594515955159651597515985159951600516015160251603516045160551606516075160851609516105161151612516135161451615516165161751618516195162051621516225162351624516255162651627516285162951630516315163251633516345163551636516375163851639516405164151642516435164451645516465164751648516495165051651516525165351654516555165651657516585165951660516615166251663516645166551666516675166851669516705167151672516735167451675516765167751678516795168051681516825168351684516855168651687516885168951690516915169251693516945169551696516975169851699517005170151702517035170451705517065170751708517095171051711517125171351714517155171651717517185171951720517215172251723517245172551726517275172851729517305173151732517335173451735517365173751738517395174051741517425174351744517455174651747517485174951750517515175251753517545175551756517575175851759517605176151762517635176451765517665176751768517695177051771517725177351774517755177651777517785177951780517815178251783517845178551786517875178851789517905179151792517935179451795517965179751798517995180051801518025180351804518055180651807518085180951810518115181251813518145181551816518175181851819518205182151822518235182451825518265182751828518295183051831518325183351834518355183651837518385183951840518415184251843518445184551846518475184851849518505185151852518535185451855518565185751858518595186051861518625186351864518655186651867518685186951870518715187251873518745187551876518775187851879518805188151882518835188451885518865188751888518895189051891518925189351894518955189651897518985189951900519015190251903519045190551906519075190851909519105191151912519135191451915519165191751918519195192051921519225192351924519255192651927519285192951930519315193251933519345193551936519375193851939519405194151942519435194451945519465194751948519495195051951519525195351954519555195651957519585195951960519615196251963519645196551966519675196851969519705197151972519735197451975519765197751978519795198051981519825198351984519855198651987519885198951990519915199251993519945199551996519975199851999520005200152002520035200452005520065200752008520095201052011520125201352014520155201652017520185201952020520215202252023520245202552026520275202852029520305203152032520335203452035520365203752038520395204052041520425204352044520455204652047520485204952050520515205252053520545205552056520575205852059520605206152062520635206452065520665206752068520695207052071520725207352074520755207652077520785207952080520815208252083520845208552086520875208852089520905209152092520935209452095520965209752098520995210052101521025210352104521055210652107521085210952110521115211252113521145211552116521175211852119521205212152122521235212452125521265212752128521295213052131521325213352134521355213652137521385213952140521415214252143521445214552146521475214852149521505215152152521535215452155521565215752158521595216052161521625216352164521655216652167521685216952170521715217252173521745217552176521775217852179521805218152182521835218452185521865218752188521895219052191521925219352194521955219652197521985219952200522015220252203522045220552206522075220852209522105221152212522135221452215522165221752218522195222052221522225222352224522255222652227522285222952230522315223252233522345223552236522375223852239522405224152242522435224452245522465224752248522495225052251522525225352254522555225652257522585225952260522615226252263522645226552266522675226852269522705227152272522735227452275522765227752278522795228052281522825228352284522855228652287522885228952290522915229252293522945229552296522975229852299523005230152302523035230452305523065230752308523095231052311523125231352314523155231652317523185231952320523215232252323523245232552326523275232852329523305233152332523335233452335523365233752338523395234052341523425234352344523455234652347523485234952350523515235252353523545235552356523575235852359523605236152362523635236452365523665236752368523695237052371523725237352374523755237652377523785237952380523815238252383523845238552386523875238852389523905239152392523935239452395523965239752398523995240052401524025240352404524055240652407524085240952410524115241252413524145241552416524175241852419524205242152422524235242452425524265242752428524295243052431524325243352434524355243652437524385243952440524415244252443524445244552446524475244852449524505245152452524535245452455524565245752458524595246052461524625246352464524655246652467524685246952470524715247252473524745247552476524775247852479524805248152482524835248452485524865248752488524895249052491524925249352494524955249652497524985249952500525015250252503525045250552506525075250852509525105251152512525135251452515525165251752518525195252052521525225252352524525255252652527525285252952530525315253252533525345253552536525375253852539525405254152542525435254452545525465254752548525495255052551525525255352554525555255652557525585255952560525615256252563525645256552566525675256852569525705257152572525735257452575525765257752578525795258052581525825258352584525855258652587525885258952590525915259252593525945259552596525975259852599526005260152602526035260452605526065260752608526095261052611526125261352614526155261652617526185261952620526215262252623526245262552626526275262852629526305263152632526335263452635526365263752638526395264052641526425264352644526455264652647526485264952650526515265252653526545265552656526575265852659526605266152662526635266452665526665266752668526695267052671526725267352674526755267652677526785267952680526815268252683526845268552686526875268852689526905269152692526935269452695526965269752698526995270052701527025270352704527055270652707527085270952710527115271252713527145271552716527175271852719527205272152722527235272452725527265272752728527295273052731527325273352734527355273652737527385273952740527415274252743527445274552746527475274852749527505275152752527535275452755527565275752758527595276052761527625276352764527655276652767527685276952770527715277252773527745277552776527775277852779527805278152782527835278452785527865278752788527895279052791527925279352794527955279652797527985279952800528015280252803528045280552806528075280852809528105281152812528135281452815528165281752818528195282052821528225282352824528255282652827528285282952830528315283252833528345283552836528375283852839528405284152842528435284452845528465284752848528495285052851528525285352854528555285652857528585285952860528615286252863528645286552866528675286852869528705287152872528735287452875528765287752878528795288052881528825288352884528855288652887528885288952890528915289252893528945289552896528975289852899529005290152902529035290452905529065290752908529095291052911529125291352914529155291652917529185291952920529215292252923529245292552926529275292852929529305293152932529335293452935529365293752938529395294052941529425294352944529455294652947529485294952950529515295252953529545295552956529575295852959529605296152962529635296452965529665296752968529695297052971529725297352974529755297652977529785297952980529815298252983529845298552986529875298852989529905299152992529935299452995529965299752998529995300053001530025300353004530055300653007530085300953010530115301253013530145301553016530175301853019530205302153022530235302453025530265302753028530295303053031530325303353034530355303653037530385303953040530415304253043530445304553046530475304853049530505305153052530535305453055530565305753058530595306053061530625306353064530655306653067530685306953070530715307253073530745307553076530775307853079530805308153082530835308453085530865308753088530895309053091530925309353094530955309653097530985309953100531015310253103531045310553106531075310853109531105311153112531135311453115531165311753118531195312053121531225312353124531255312653127531285312953130531315313253133531345313553136531375313853139531405314153142531435314453145531465314753148531495315053151531525315353154531555315653157531585315953160531615316253163531645316553166531675316853169531705317153172531735317453175531765317753178531795318053181531825318353184531855318653187531885318953190531915319253193531945319553196531975319853199532005320153202532035320453205532065320753208532095321053211532125321353214532155321653217532185321953220532215322253223532245322553226532275322853229532305323153232532335323453235532365323753238532395324053241532425324353244532455324653247532485324953250532515325253253532545325553256532575325853259532605326153262532635326453265532665326753268532695327053271532725327353274532755327653277532785327953280532815328253283532845328553286532875328853289532905329153292532935329453295532965329753298532995330053301533025330353304533055330653307533085330953310533115331253313533145331553316533175331853319533205332153322533235332453325533265332753328533295333053331533325333353334533355333653337533385333953340533415334253343533445334553346533475334853349533505335153352533535335453355533565335753358533595336053361533625336353364533655336653367533685336953370533715337253373533745337553376533775337853379533805338153382533835338453385533865338753388533895339053391533925339353394533955339653397533985339953400534015340253403534045340553406534075340853409534105341153412534135341453415534165341753418534195342053421534225342353424534255342653427534285342953430534315343253433534345343553436534375343853439534405344153442534435344453445534465344753448534495345053451534525345353454534555345653457534585345953460534615346253463534645346553466534675346853469534705347153472534735347453475534765347753478534795348053481534825348353484534855348653487534885348953490534915349253493534945349553496534975349853499535005350153502535035350453505535065350753508535095351053511535125351353514535155351653517535185351953520535215352253523535245352553526535275352853529535305353153532535335353453535535365353753538535395354053541535425354353544535455354653547535485354953550535515355253553535545355553556535575355853559535605356153562535635356453565535665356753568535695357053571535725357353574535755357653577535785357953580535815358253583535845358553586535875358853589535905359153592535935359453595535965359753598535995360053601536025360353604536055360653607536085360953610536115361253613536145361553616536175361853619536205362153622536235362453625536265362753628536295363053631536325363353634536355363653637536385363953640536415364253643536445364553646536475364853649536505365153652536535365453655536565365753658536595366053661536625366353664536655366653667536685366953670536715367253673536745367553676536775367853679536805368153682536835368453685536865368753688536895369053691536925369353694536955369653697536985369953700537015370253703537045370553706537075370853709537105371153712537135371453715537165371753718537195372053721537225372353724537255372653727537285372953730537315373253733537345373553736537375373853739537405374153742537435374453745537465374753748537495375053751537525375353754537555375653757537585375953760537615376253763537645376553766537675376853769537705377153772537735377453775537765377753778537795378053781537825378353784537855378653787537885378953790537915379253793537945379553796537975379853799538005380153802538035380453805538065380753808538095381053811538125381353814538155381653817538185381953820538215382253823538245382553826538275382853829538305383153832538335383453835538365383753838538395384053841538425384353844538455384653847538485384953850538515385253853538545385553856538575385853859538605386153862538635386453865538665386753868538695387053871538725387353874538755387653877538785387953880538815388253883538845388553886538875388853889538905389153892538935389453895538965389753898538995390053901539025390353904539055390653907539085390953910539115391253913539145391553916539175391853919539205392153922539235392453925539265392753928539295393053931539325393353934539355393653937539385393953940539415394253943539445394553946539475394853949539505395153952539535395453955539565395753958539595396053961539625396353964539655396653967539685396953970539715397253973539745397553976539775397853979539805398153982539835398453985539865398753988539895399053991539925399353994539955399653997539985399954000540015400254003540045400554006540075400854009540105401154012540135401454015540165401754018540195402054021540225402354024540255402654027540285402954030540315403254033540345403554036540375403854039540405404154042540435404454045540465404754048540495405054051540525405354054540555405654057540585405954060540615406254063540645406554066540675406854069540705407154072540735407454075540765407754078540795408054081540825408354084540855408654087540885408954090540915409254093540945409554096540975409854099541005410154102541035410454105541065410754108541095411054111541125411354114541155411654117541185411954120541215412254123541245412554126541275412854129541305413154132541335413454135541365413754138541395414054141541425414354144541455414654147541485414954150541515415254153541545415554156541575415854159541605416154162541635416454165541665416754168541695417054171541725417354174541755417654177541785417954180541815418254183541845418554186541875418854189541905419154192541935419454195541965419754198541995420054201542025420354204542055420654207542085420954210542115421254213542145421554216542175421854219542205422154222542235422454225542265422754228542295423054231542325423354234542355423654237542385423954240542415424254243542445424554246542475424854249542505425154252542535425454255542565425754258542595426054261542625426354264542655426654267542685426954270542715427254273542745427554276542775427854279542805428154282542835428454285542865428754288542895429054291542925429354294542955429654297542985429954300543015430254303543045430554306543075430854309543105431154312543135431454315543165431754318543195432054321543225432354324543255432654327543285432954330543315433254333543345433554336543375433854339543405434154342543435434454345543465434754348543495435054351543525435354354543555435654357543585435954360543615436254363543645436554366543675436854369543705437154372543735437454375543765437754378543795438054381543825438354384543855438654387543885438954390543915439254393543945439554396543975439854399544005440154402544035440454405544065440754408544095441054411544125441354414544155441654417544185441954420544215442254423544245442554426544275442854429544305443154432544335443454435544365443754438544395444054441544425444354444544455444654447544485444954450544515445254453544545445554456544575445854459544605446154462544635446454465544665446754468544695447054471544725447354474544755447654477544785447954480544815448254483544845448554486544875448854489544905449154492544935449454495544965449754498544995450054501545025450354504545055450654507545085450954510545115451254513545145451554516545175451854519545205452154522545235452454525545265452754528545295453054531545325453354534545355453654537545385453954540545415454254543545445454554546545475454854549545505455154552545535455454555545565455754558545595456054561545625456354564545655456654567545685456954570545715457254573545745457554576545775457854579545805458154582545835458454585545865458754588545895459054591545925459354594545955459654597545985459954600546015460254603546045460554606546075460854609546105461154612546135461454615546165461754618546195462054621546225462354624546255462654627546285462954630546315463254633546345463554636546375463854639546405464154642546435464454645546465464754648546495465054651546525465354654546555465654657546585465954660546615466254663546645466554666546675466854669546705467154672546735467454675546765467754678546795468054681546825468354684546855468654687546885468954690546915469254693546945469554696546975469854699547005470154702547035470454705547065470754708547095471054711547125471354714547155471654717547185471954720547215472254723547245472554726547275472854729547305473154732547335473454735547365473754738547395474054741547425474354744547455474654747547485474954750547515475254753547545475554756547575475854759547605476154762547635476454765547665476754768547695477054771547725477354774547755477654777547785477954780547815478254783547845478554786547875478854789547905479154792547935479454795547965479754798547995480054801548025480354804548055480654807548085480954810548115481254813548145481554816548175481854819548205482154822548235482454825548265482754828548295483054831548325483354834548355483654837548385483954840548415484254843548445484554846548475484854849548505485154852548535485454855548565485754858548595486054861548625486354864548655486654867548685486954870548715487254873548745487554876548775487854879548805488154882548835488454885548865488754888548895489054891548925489354894548955489654897548985489954900549015490254903549045490554906549075490854909549105491154912549135491454915549165491754918549195492054921549225492354924549255492654927549285492954930549315493254933549345493554936549375493854939549405494154942549435494454945549465494754948549495495054951549525495354954549555495654957549585495954960549615496254963549645496554966549675496854969549705497154972549735497454975549765497754978549795498054981549825498354984549855498654987549885498954990549915499254993549945499554996549975499854999550005500155002550035500455005550065500755008550095501055011550125501355014550155501655017550185501955020550215502255023550245502555026550275502855029550305503155032550335503455035550365503755038550395504055041550425504355044550455504655047550485504955050550515505255053550545505555056550575505855059550605506155062550635506455065550665506755068550695507055071550725507355074550755507655077550785507955080550815508255083550845508555086550875508855089550905509155092550935509455095550965509755098550995510055101551025510355104551055510655107551085510955110551115511255113551145511555116551175511855119551205512155122551235512455125551265512755128551295513055131551325513355134551355513655137551385513955140551415514255143551445514555146551475514855149551505515155152551535515455155551565515755158551595516055161551625516355164551655516655167551685516955170551715517255173551745517555176551775517855179551805518155182551835518455185551865518755188551895519055191551925519355194551955519655197551985519955200552015520255203552045520555206552075520855209552105521155212552135521455215552165521755218552195522055221552225522355224552255522655227552285522955230552315523255233552345523555236552375523855239552405524155242552435524455245552465524755248552495525055251552525525355254552555525655257552585525955260552615526255263552645526555266552675526855269552705527155272552735527455275552765527755278552795528055281552825528355284552855528655287552885528955290552915529255293552945529555296552975529855299553005530155302553035530455305553065530755308553095531055311553125531355314553155531655317553185531955320553215532255323553245532555326553275532855329553305533155332553335533455335553365533755338553395534055341553425534355344553455534655347553485534955350553515535255353553545535555356553575535855359553605536155362553635536455365553665536755368553695537055371553725537355374553755537655377553785537955380553815538255383553845538555386553875538855389553905539155392553935539455395553965539755398553995540055401554025540355404554055540655407554085540955410554115541255413554145541555416554175541855419554205542155422554235542455425554265542755428554295543055431554325543355434554355543655437554385543955440554415544255443554445544555446554475544855449554505545155452554535545455455554565545755458554595546055461554625546355464554655546655467554685546955470554715547255473554745547555476554775547855479554805548155482554835548455485554865548755488554895549055491554925549355494554955549655497554985549955500555015550255503555045550555506555075550855509555105551155512555135551455515555165551755518555195552055521555225552355524555255552655527555285552955530555315553255533555345553555536555375553855539555405554155542555435554455545555465554755548555495555055551555525555355554555555555655557555585555955560555615556255563555645556555566555675556855569555705557155572555735557455575555765557755578555795558055581555825558355584555855558655587555885558955590555915559255593555945559555596555975559855599556005560155602556035560455605556065560755608556095561055611556125561355614556155561655617556185561955620556215562255623556245562555626556275562855629556305563155632556335563455635556365563755638556395564055641556425564355644556455564655647556485564955650556515565255653556545565555656556575565855659556605566155662556635566455665556665566755668556695567055671556725567355674556755567655677556785567955680556815568255683556845568555686556875568855689556905569155692556935569455695556965569755698556995570055701557025570355704557055570655707557085570955710557115571255713557145571555716557175571855719557205572155722557235572455725557265572755728557295573055731557325573355734557355573655737557385573955740557415574255743557445574555746557475574855749557505575155752557535575455755557565575755758557595576055761557625576355764557655576655767557685576955770557715577255773557745577555776557775577855779557805578155782557835578455785557865578755788557895579055791557925579355794557955579655797557985579955800558015580255803558045580555806558075580855809558105581155812558135581455815558165581755818558195582055821558225582355824558255582655827558285582955830558315583255833558345583555836558375583855839558405584155842558435584455845558465584755848558495585055851558525585355854558555585655857558585585955860558615586255863558645586555866558675586855869558705587155872558735587455875558765587755878558795588055881558825588355884558855588655887558885588955890558915589255893558945589555896558975589855899559005590155902559035590455905559065590755908559095591055911559125591355914559155591655917559185591955920559215592255923559245592555926559275592855929559305593155932559335593455935559365593755938559395594055941559425594355944559455594655947559485594955950559515595255953559545595555956559575595855959559605596155962559635596455965559665596755968559695597055971559725597355974559755597655977559785597955980559815598255983559845598555986559875598855989559905599155992559935599455995559965599755998559995600056001560025600356004560055600656007560085600956010560115601256013560145601556016560175601856019560205602156022560235602456025560265602756028560295603056031560325603356034560355603656037560385603956040560415604256043560445604556046560475604856049560505605156052560535605456055560565605756058560595606056061560625606356064560655606656067560685606956070560715607256073560745607556076560775607856079560805608156082560835608456085560865608756088560895609056091560925609356094560955609656097560985609956100561015610256103561045610556106561075610856109561105611156112561135611456115561165611756118561195612056121561225612356124561255612656127561285612956130561315613256133561345613556136561375613856139561405614156142561435614456145561465614756148561495615056151561525615356154561555615656157561585615956160561615616256163561645616556166561675616856169561705617156172561735617456175561765617756178561795618056181561825618356184561855618656187561885618956190561915619256193561945619556196561975619856199562005620156202562035620456205562065620756208562095621056211562125621356214562155621656217562185621956220562215622256223562245622556226562275622856229562305623156232562335623456235562365623756238562395624056241562425624356244562455624656247562485624956250562515625256253562545625556256562575625856259562605626156262562635626456265562665626756268562695627056271562725627356274562755627656277562785627956280562815628256283562845628556286562875628856289562905629156292562935629456295562965629756298562995630056301563025630356304563055630656307563085630956310563115631256313563145631556316563175631856319563205632156322563235632456325563265632756328563295633056331563325633356334563355633656337563385633956340563415634256343563445634556346563475634856349563505635156352563535635456355563565635756358563595636056361563625636356364563655636656367563685636956370563715637256373563745637556376563775637856379563805638156382563835638456385563865638756388563895639056391563925639356394563955639656397563985639956400564015640256403564045640556406564075640856409564105641156412564135641456415564165641756418564195642056421564225642356424564255642656427564285642956430564315643256433564345643556436564375643856439564405644156442564435644456445564465644756448564495645056451564525645356454564555645656457564585645956460564615646256463564645646556466564675646856469564705647156472564735647456475564765647756478564795648056481564825648356484564855648656487564885648956490564915649256493564945649556496564975649856499565005650156502565035650456505565065650756508565095651056511565125651356514565155651656517565185651956520565215652256523565245652556526565275652856529565305653156532565335653456535565365653756538565395654056541565425654356544565455654656547565485654956550565515655256553565545655556556565575655856559565605656156562565635656456565565665656756568565695657056571565725657356574565755657656577565785657956580565815658256583565845658556586565875658856589565905659156592565935659456595565965659756598565995660056601566025660356604566055660656607566085660956610566115661256613566145661556616566175661856619566205662156622566235662456625566265662756628566295663056631566325663356634566355663656637566385663956640566415664256643566445664556646566475664856649566505665156652566535665456655566565665756658566595666056661566625666356664566655666656667566685666956670566715667256673566745667556676566775667856679566805668156682566835668456685566865668756688566895669056691566925669356694566955669656697566985669956700567015670256703567045670556706567075670856709567105671156712567135671456715567165671756718567195672056721567225672356724567255672656727567285672956730567315673256733567345673556736567375673856739567405674156742567435674456745567465674756748567495675056751567525675356754567555675656757567585675956760567615676256763567645676556766567675676856769567705677156772567735677456775567765677756778567795678056781567825678356784567855678656787567885678956790567915679256793567945679556796567975679856799568005680156802568035680456805568065680756808568095681056811568125681356814568155681656817568185681956820568215682256823568245682556826568275682856829568305683156832568335683456835568365683756838568395684056841568425684356844568455684656847568485684956850568515685256853568545685556856568575685856859568605686156862568635686456865568665686756868568695687056871568725687356874568755687656877568785687956880568815688256883568845688556886568875688856889568905689156892568935689456895568965689756898568995690056901569025690356904569055690656907569085690956910569115691256913569145691556916569175691856919569205692156922569235692456925569265692756928569295693056931569325693356934569355693656937569385693956940569415694256943569445694556946569475694856949569505695156952569535695456955569565695756958569595696056961569625696356964569655696656967569685696956970569715697256973569745697556976569775697856979569805698156982569835698456985569865698756988569895699056991569925699356994569955699656997569985699957000570015700257003570045700557006570075700857009570105701157012570135701457015570165701757018570195702057021570225702357024570255702657027570285702957030570315703257033570345703557036570375703857039570405704157042570435704457045570465704757048570495705057051570525705357054570555705657057570585705957060570615706257063570645706557066570675706857069570705707157072570735707457075570765707757078570795708057081570825708357084570855708657087570885708957090570915709257093570945709557096570975709857099571005710157102571035710457105571065710757108571095711057111571125711357114571155711657117571185711957120571215712257123571245712557126571275712857129571305713157132571335713457135571365713757138571395714057141571425714357144571455714657147571485714957150571515715257153571545715557156571575715857159571605716157162571635716457165571665716757168571695717057171571725717357174571755717657177571785717957180571815718257183571845718557186571875718857189571905719157192571935719457195571965719757198571995720057201572025720357204572055720657207572085720957210572115721257213572145721557216572175721857219572205722157222572235722457225572265722757228572295723057231572325723357234572355723657237572385723957240572415724257243572445724557246572475724857249572505725157252572535725457255572565725757258572595726057261572625726357264572655726657267572685726957270572715727257273572745727557276572775727857279572805728157282572835728457285572865728757288572895729057291572925729357294572955729657297572985729957300573015730257303573045730557306573075730857309573105731157312573135731457315573165731757318573195732057321573225732357324573255732657327573285732957330573315733257333573345733557336573375733857339573405734157342573435734457345573465734757348573495735057351573525735357354573555735657357573585735957360573615736257363573645736557366573675736857369573705737157372573735737457375573765737757378573795738057381573825738357384573855738657387573885738957390573915739257393573945739557396573975739857399574005740157402574035740457405574065740757408574095741057411574125741357414574155741657417574185741957420574215742257423574245742557426574275742857429574305743157432574335743457435574365743757438574395744057441574425744357444574455744657447574485744957450574515745257453574545745557456574575745857459574605746157462574635746457465574665746757468574695747057471574725747357474574755747657477574785747957480574815748257483574845748557486574875748857489574905749157492574935749457495574965749757498574995750057501575025750357504575055750657507575085750957510575115751257513575145751557516575175751857519575205752157522575235752457525575265752757528575295753057531575325753357534575355753657537575385753957540575415754257543575445754557546575475754857549575505755157552575535755457555575565755757558575595756057561575625756357564575655756657567575685756957570575715757257573575745757557576575775757857579575805758157582575835758457585575865758757588575895759057591575925759357594575955759657597575985759957600576015760257603576045760557606576075760857609576105761157612576135761457615576165761757618576195762057621576225762357624576255762657627576285762957630576315763257633576345763557636576375763857639576405764157642576435764457645576465764757648576495765057651576525765357654576555765657657576585765957660576615766257663576645766557666576675766857669576705767157672576735767457675576765767757678576795768057681576825768357684576855768657687576885768957690576915769257693576945769557696576975769857699577005770157702577035770457705577065770757708577095771057711577125771357714577155771657717577185771957720577215772257723577245772557726577275772857729577305773157732577335773457735577365773757738577395774057741577425774357744577455774657747577485774957750577515775257753577545775557756577575775857759577605776157762577635776457765577665776757768577695777057771577725777357774577755777657777577785777957780577815778257783577845778557786577875778857789577905779157792577935779457795577965779757798577995780057801578025780357804578055780657807578085780957810578115781257813578145781557816578175781857819578205782157822578235782457825578265782757828578295783057831578325783357834578355783657837578385783957840578415784257843578445784557846578475784857849578505785157852578535785457855578565785757858578595786057861578625786357864578655786657867578685786957870578715787257873578745787557876578775787857879578805788157882578835788457885578865788757888578895789057891578925789357894578955789657897578985789957900579015790257903579045790557906579075790857909579105791157912579135791457915579165791757918579195792057921579225792357924579255792657927579285792957930579315793257933579345793557936579375793857939579405794157942579435794457945579465794757948579495795057951579525795357954579555795657957579585795957960579615796257963579645796557966579675796857969579705797157972579735797457975579765797757978579795798057981579825798357984579855798657987579885798957990579915799257993579945799557996579975799857999580005800158002580035800458005580065800758008580095801058011580125801358014580155801658017580185801958020580215802258023580245802558026580275802858029580305803158032580335803458035580365803758038580395804058041580425804358044580455804658047580485804958050580515805258053580545805558056580575805858059580605806158062580635806458065580665806758068580695807058071580725807358074580755807658077580785807958080580815808258083580845808558086580875808858089580905809158092580935809458095580965809758098580995810058101581025810358104581055810658107581085810958110581115811258113581145811558116581175811858119581205812158122581235812458125581265812758128581295813058131581325813358134581355813658137581385813958140581415814258143581445814558146581475814858149581505815158152581535815458155581565815758158581595816058161581625816358164581655816658167581685816958170581715817258173581745817558176581775817858179581805818158182581835818458185581865818758188581895819058191581925819358194581955819658197581985819958200582015820258203582045820558206582075820858209582105821158212582135821458215582165821758218582195822058221582225822358224582255822658227582285822958230582315823258233582345823558236582375823858239582405824158242582435824458245582465824758248582495825058251582525825358254582555825658257582585825958260582615826258263582645826558266582675826858269582705827158272582735827458275582765827758278582795828058281582825828358284582855828658287582885828958290582915829258293582945829558296582975829858299583005830158302583035830458305583065830758308583095831058311583125831358314583155831658317583185831958320583215832258323583245832558326583275832858329583305833158332583335833458335583365833758338583395834058341583425834358344583455834658347583485834958350583515835258353583545835558356583575835858359583605836158362583635836458365583665836758368583695837058371583725837358374583755837658377583785837958380583815838258383583845838558386583875838858389583905839158392583935839458395583965839758398583995840058401584025840358404584055840658407584085840958410584115841258413584145841558416584175841858419584205842158422584235842458425584265842758428584295843058431584325843358434584355843658437584385843958440584415844258443584445844558446584475844858449584505845158452584535845458455584565845758458584595846058461584625846358464584655846658467584685846958470584715847258473584745847558476584775847858479584805848158482584835848458485584865848758488584895849058491584925849358494584955849658497584985849958500585015850258503585045850558506585075850858509585105851158512585135851458515585165851758518585195852058521585225852358524585255852658527585285852958530585315853258533585345853558536585375853858539585405854158542585435854458545585465854758548585495855058551585525855358554585555855658557585585855958560585615856258563585645856558566585675856858569585705857158572585735857458575585765857758578585795858058581585825858358584585855858658587585885858958590585915859258593585945859558596585975859858599586005860158602586035860458605586065860758608586095861058611586125861358614586155861658617586185861958620586215862258623586245862558626586275862858629586305863158632586335863458635586365863758638586395864058641586425864358644586455864658647586485864958650586515865258653586545865558656586575865858659586605866158662586635866458665586665866758668586695867058671586725867358674586755867658677586785867958680586815868258683586845868558686586875868858689586905869158692586935869458695586965869758698586995870058701587025870358704587055870658707587085870958710587115871258713587145871558716587175871858719587205872158722587235872458725587265872758728587295873058731587325873358734587355873658737587385873958740587415874258743587445874558746587475874858749587505875158752587535875458755587565875758758587595876058761587625876358764587655876658767587685876958770587715877258773587745877558776587775877858779587805878158782587835878458785587865878758788587895879058791587925879358794587955879658797587985879958800588015880258803588045880558806588075880858809588105881158812588135881458815588165881758818588195882058821588225882358824588255882658827588285882958830588315883258833588345883558836588375883858839588405884158842588435884458845588465884758848588495885058851588525885358854588555885658857588585885958860588615886258863588645886558866588675886858869588705887158872588735887458875588765887758878588795888058881588825888358884588855888658887588885888958890588915889258893588945889558896588975889858899589005890158902589035890458905589065890758908589095891058911589125891358914589155891658917589185891958920589215892258923589245892558926589275892858929589305893158932589335893458935589365893758938589395894058941589425894358944589455894658947589485894958950589515895258953589545895558956589575895858959589605896158962589635896458965589665896758968589695897058971589725897358974589755897658977589785897958980589815898258983589845898558986589875898858989589905899158992589935899458995589965899758998589995900059001590025900359004590055900659007590085900959010590115901259013590145901559016590175901859019590205902159022590235902459025590265902759028590295903059031590325903359034590355903659037590385903959040590415904259043590445904559046590475904859049590505905159052590535905459055590565905759058590595906059061590625906359064590655906659067590685906959070590715907259073590745907559076590775907859079590805908159082590835908459085590865908759088590895909059091590925909359094590955909659097590985909959100591015910259103591045910559106591075910859109591105911159112591135911459115591165911759118591195912059121591225912359124591255912659127591285912959130591315913259133591345913559136591375913859139591405914159142591435914459145591465914759148591495915059151591525915359154591555915659157591585915959160591615916259163591645916559166591675916859169591705917159172591735917459175591765917759178591795918059181591825918359184591855918659187591885918959190591915919259193591945919559196591975919859199592005920159202592035920459205592065920759208592095921059211592125921359214592155921659217592185921959220592215922259223592245922559226592275922859229592305923159232592335923459235592365923759238592395924059241592425924359244592455924659247592485924959250592515925259253592545925559256592575925859259592605926159262592635926459265592665926759268592695927059271592725927359274592755927659277592785927959280592815928259283592845928559286592875928859289592905929159292592935929459295592965929759298592995930059301593025930359304593055930659307593085930959310593115931259313593145931559316593175931859319593205932159322593235932459325593265932759328593295933059331593325933359334593355933659337593385933959340593415934259343593445934559346593475934859349593505935159352593535935459355593565935759358593595936059361593625936359364593655936659367593685936959370593715937259373593745937559376593775937859379593805938159382593835938459385593865938759388593895939059391593925939359394593955939659397593985939959400594015940259403594045940559406594075940859409594105941159412594135941459415594165941759418594195942059421594225942359424594255942659427594285942959430594315943259433594345943559436594375943859439594405944159442594435944459445594465944759448594495945059451594525945359454594555945659457594585945959460594615946259463594645946559466594675946859469594705947159472594735947459475594765947759478594795948059481594825948359484594855948659487594885948959490594915949259493594945949559496594975949859499595005950159502595035950459505595065950759508595095951059511595125951359514595155951659517595185951959520595215952259523595245952559526595275952859529595305953159532595335953459535595365953759538595395954059541595425954359544595455954659547595485954959550595515955259553595545955559556595575955859559595605956159562595635956459565595665956759568595695957059571595725957359574595755957659577595785957959580595815958259583595845958559586595875958859589595905959159592595935959459595595965959759598595995960059601596025960359604596055960659607596085960959610596115961259613596145961559616596175961859619596205962159622596235962459625596265962759628596295963059631596325963359634596355963659637596385963959640596415964259643596445964559646596475964859649596505965159652596535965459655596565965759658596595966059661596625966359664596655966659667596685966959670596715967259673596745967559676596775967859679596805968159682596835968459685596865968759688596895969059691596925969359694596955969659697596985969959700597015970259703597045970559706597075970859709597105971159712597135971459715597165971759718597195972059721597225972359724597255972659727597285972959730597315973259733597345973559736597375973859739597405974159742597435974459745597465974759748597495975059751597525975359754597555975659757597585975959760597615976259763597645976559766597675976859769597705977159772597735977459775597765977759778597795978059781597825978359784597855978659787597885978959790597915979259793597945979559796597975979859799598005980159802598035980459805598065980759808598095981059811598125981359814598155981659817598185981959820598215982259823598245982559826598275982859829598305983159832598335983459835598365983759838598395984059841598425984359844598455984659847598485984959850598515985259853598545985559856598575985859859598605986159862598635986459865598665986759868598695987059871598725987359874598755987659877598785987959880598815988259883598845988559886598875988859889598905989159892598935989459895598965989759898598995990059901599025990359904599055990659907599085990959910599115991259913599145991559916599175991859919599205992159922599235992459925599265992759928599295993059931599325993359934599355993659937599385993959940599415994259943599445994559946599475994859949599505995159952599535995459955599565995759958599595996059961599625996359964599655996659967599685996959970599715997259973599745997559976599775997859979599805998159982599835998459985599865998759988599895999059991599925999359994599955999659997599985999960000600016000260003600046000560006600076000860009600106001160012600136001460015600166001760018600196002060021600226002360024600256002660027600286002960030600316003260033600346003560036600376003860039600406004160042600436004460045600466004760048600496005060051600526005360054600556005660057600586005960060600616006260063600646006560066600676006860069600706007160072600736007460075600766007760078600796008060081600826008360084600856008660087600886008960090600916009260093600946009560096600976009860099601006010160102601036010460105601066010760108601096011060111601126011360114601156011660117601186011960120601216012260123601246012560126601276012860129601306013160132601336013460135601366013760138601396014060141601426014360144601456014660147601486014960150601516015260153601546015560156601576015860159601606016160162601636016460165601666016760168601696017060171601726017360174601756017660177601786017960180601816018260183601846018560186601876018860189601906019160192601936019460195601966019760198601996020060201602026020360204602056020660207602086020960210602116021260213602146021560216602176021860219602206022160222602236022460225602266022760228602296023060231602326023360234602356023660237602386023960240602416024260243602446024560246602476024860249602506025160252602536025460255602566025760258602596026060261602626026360264602656026660267602686026960270602716027260273602746027560276602776027860279602806028160282602836028460285602866028760288602896029060291602926029360294602956029660297602986029960300603016030260303603046030560306603076030860309603106031160312603136031460315603166031760318603196032060321603226032360324603256032660327603286032960330603316033260333603346033560336603376033860339603406034160342603436034460345603466034760348603496035060351603526035360354603556035660357603586035960360603616036260363603646036560366603676036860369603706037160372603736037460375603766037760378603796038060381603826038360384603856038660387603886038960390603916039260393603946039560396603976039860399604006040160402604036040460405604066040760408604096041060411604126041360414604156041660417604186041960420604216042260423604246042560426604276042860429604306043160432604336043460435604366043760438604396044060441604426044360444604456044660447604486044960450604516045260453604546045560456604576045860459604606046160462604636046460465604666046760468604696047060471604726047360474604756047660477604786047960480604816048260483604846048560486604876048860489604906049160492604936049460495604966049760498604996050060501605026050360504605056050660507605086050960510605116051260513605146051560516605176051860519605206052160522605236052460525605266052760528605296053060531605326053360534605356053660537605386053960540605416054260543605446054560546605476054860549605506055160552605536055460555605566055760558605596056060561605626056360564605656056660567605686056960570605716057260573605746057560576605776057860579605806058160582605836058460585605866058760588605896059060591605926059360594605956059660597605986059960600606016060260603606046060560606606076060860609606106061160612606136061460615606166061760618606196062060621606226062360624606256062660627606286062960630606316063260633606346063560636606376063860639606406064160642606436064460645606466064760648606496065060651606526065360654606556065660657606586065960660606616066260663606646066560666606676066860669606706067160672606736067460675606766067760678606796068060681606826068360684606856068660687606886068960690606916069260693606946069560696606976069860699607006070160702607036070460705607066070760708607096071060711607126071360714607156071660717607186071960720607216072260723607246072560726607276072860729607306073160732607336073460735607366073760738607396074060741607426074360744607456074660747607486074960750607516075260753607546075560756607576075860759607606076160762607636076460765607666076760768607696077060771607726077360774607756077660777607786077960780607816078260783607846078560786607876078860789607906079160792607936079460795607966079760798607996080060801608026080360804608056080660807608086080960810608116081260813608146081560816608176081860819608206082160822608236082460825608266082760828608296083060831608326083360834608356083660837608386083960840608416084260843608446084560846608476084860849608506085160852608536085460855608566085760858608596086060861608626086360864608656086660867608686086960870608716087260873608746087560876608776087860879608806088160882608836088460885608866088760888608896089060891608926089360894608956089660897608986089960900609016090260903609046090560906609076090860909609106091160912609136091460915609166091760918609196092060921609226092360924609256092660927609286092960930609316093260933609346093560936609376093860939609406094160942609436094460945609466094760948609496095060951609526095360954609556095660957609586095960960609616096260963609646096560966609676096860969609706097160972609736097460975609766097760978609796098060981609826098360984609856098660987609886098960990609916099260993609946099560996609976099860999610006100161002610036100461005610066100761008610096101061011610126101361014610156101661017610186101961020610216102261023610246102561026610276102861029610306103161032610336103461035610366103761038610396104061041610426104361044610456104661047610486104961050610516105261053610546105561056610576105861059610606106161062610636106461065610666106761068610696107061071610726107361074610756107661077610786107961080610816108261083610846108561086610876108861089610906109161092610936109461095610966109761098610996110061101611026110361104611056110661107611086110961110611116111261113611146111561116611176111861119611206112161122611236112461125611266112761128611296113061131611326113361134611356113661137611386113961140611416114261143611446114561146611476114861149611506115161152611536115461155611566115761158611596116061161611626116361164611656116661167611686116961170611716117261173611746117561176611776117861179611806118161182611836118461185611866118761188611896119061191611926119361194611956119661197611986119961200612016120261203612046120561206612076120861209612106121161212612136121461215612166121761218612196122061221612226122361224612256122661227612286122961230612316123261233612346123561236612376123861239612406124161242612436124461245612466124761248612496125061251612526125361254612556125661257612586125961260612616126261263612646126561266612676126861269612706127161272612736127461275612766127761278612796128061281612826128361284612856128661287612886128961290612916129261293612946129561296612976129861299613006130161302613036130461305613066130761308613096131061311613126131361314613156131661317613186131961320613216132261323613246132561326613276132861329613306133161332613336133461335613366133761338613396134061341613426134361344613456134661347613486134961350613516135261353613546135561356613576135861359613606136161362613636136461365613666136761368613696137061371613726137361374613756137661377613786137961380613816138261383613846138561386613876138861389613906139161392613936139461395613966139761398613996140061401614026140361404614056140661407614086140961410614116141261413614146141561416614176141861419614206142161422614236142461425614266142761428614296143061431614326143361434614356143661437614386143961440614416144261443614446144561446614476144861449614506145161452614536145461455614566145761458614596146061461614626146361464614656146661467614686146961470614716147261473614746147561476614776147861479614806148161482614836148461485614866148761488614896149061491614926149361494614956149661497614986149961500615016150261503615046150561506615076150861509615106151161512615136151461515615166151761518615196152061521615226152361524615256152661527615286152961530615316153261533615346153561536615376153861539615406154161542615436154461545615466154761548615496155061551615526155361554615556155661557615586155961560615616156261563615646156561566615676156861569615706157161572615736157461575615766157761578615796158061581615826158361584615856158661587615886158961590615916159261593615946159561596615976159861599616006160161602616036160461605616066160761608616096161061611616126161361614616156161661617616186161961620616216162261623616246162561626616276162861629616306163161632616336163461635616366163761638616396164061641616426164361644616456164661647616486164961650616516165261653616546165561656616576165861659616606166161662616636166461665616666166761668616696167061671616726167361674616756167661677616786167961680616816168261683616846168561686616876168861689616906169161692616936169461695616966169761698616996170061701617026170361704617056170661707617086170961710617116171261713617146171561716617176171861719617206172161722617236172461725617266172761728617296173061731617326173361734617356173661737617386173961740617416174261743617446174561746617476174861749617506175161752617536175461755617566175761758617596176061761617626176361764617656176661767617686176961770617716177261773617746177561776617776177861779617806178161782617836178461785617866178761788617896179061791617926179361794617956179661797617986179961800618016180261803618046180561806618076180861809618106181161812618136181461815618166181761818618196182061821618226182361824618256182661827618286182961830618316183261833618346183561836618376183861839618406184161842618436184461845618466184761848618496185061851618526185361854618556185661857618586185961860618616186261863618646186561866618676186861869618706187161872618736187461875618766187761878618796188061881618826188361884618856188661887618886188961890618916189261893618946189561896618976189861899619006190161902619036190461905619066190761908619096191061911619126191361914619156191661917619186191961920619216192261923619246192561926619276192861929619306193161932619336193461935619366193761938619396194061941619426194361944619456194661947619486194961950619516195261953619546195561956619576195861959619606196161962619636196461965619666196761968619696197061971619726197361974619756197661977619786197961980619816198261983619846198561986619876198861989619906199161992619936199461995619966199761998619996200062001620026200362004620056200662007620086200962010620116201262013620146201562016620176201862019620206202162022620236202462025620266202762028620296203062031620326203362034620356203662037620386203962040620416204262043620446204562046620476204862049620506205162052620536205462055620566205762058620596206062061620626206362064620656206662067620686206962070620716207262073620746207562076620776207862079620806208162082620836208462085620866208762088620896209062091620926209362094620956209662097620986209962100621016210262103621046210562106621076210862109621106211162112621136211462115621166211762118621196212062121621226212362124621256212662127621286212962130621316213262133621346213562136621376213862139621406214162142621436214462145621466214762148621496215062151621526215362154621556215662157621586215962160621616216262163621646216562166621676216862169621706217162172621736217462175621766217762178621796218062181621826218362184621856218662187621886218962190621916219262193621946219562196621976219862199622006220162202622036220462205622066220762208622096221062211622126221362214622156221662217622186221962220622216222262223622246222562226622276222862229622306223162232622336223462235622366223762238622396224062241622426224362244622456224662247622486224962250622516225262253622546225562256622576225862259622606226162262622636226462265622666226762268622696227062271622726227362274622756227662277622786227962280622816228262283622846228562286622876228862289622906229162292622936229462295622966229762298622996230062301623026230362304623056230662307623086230962310623116231262313623146231562316623176231862319623206232162322623236232462325623266232762328623296233062331623326233362334623356233662337623386233962340623416234262343623446234562346623476234862349623506235162352623536235462355623566235762358623596236062361623626236362364623656236662367623686236962370623716237262373623746237562376623776237862379623806238162382623836238462385623866238762388623896239062391623926239362394623956239662397623986239962400624016240262403624046240562406624076240862409624106241162412624136241462415624166241762418624196242062421624226242362424624256242662427624286242962430624316243262433624346243562436624376243862439624406244162442624436244462445624466244762448624496245062451624526245362454624556245662457624586245962460624616246262463624646246562466624676246862469624706247162472624736247462475624766247762478624796248062481624826248362484624856248662487624886248962490624916249262493624946249562496624976249862499625006250162502625036250462505625066250762508625096251062511625126251362514625156251662517625186251962520625216252262523625246252562526625276252862529625306253162532625336253462535625366253762538625396254062541625426254362544625456254662547625486254962550625516255262553625546255562556625576255862559625606256162562625636256462565625666256762568625696257062571625726257362574625756257662577625786257962580625816258262583625846258562586625876258862589625906259162592625936259462595625966259762598625996260062601626026260362604626056260662607626086260962610626116261262613626146261562616626176261862619626206262162622626236262462625626266262762628626296263062631626326263362634626356263662637626386263962640626416264262643626446264562646626476264862649626506265162652626536265462655626566265762658626596266062661626626266362664626656266662667626686266962670626716267262673626746267562676626776267862679626806268162682626836268462685626866268762688626896269062691626926269362694626956269662697626986269962700627016270262703627046270562706627076270862709627106271162712627136271462715627166271762718627196272062721627226272362724627256272662727627286272962730627316273262733627346273562736627376273862739627406274162742627436274462745627466274762748627496275062751627526275362754627556275662757627586275962760627616276262763627646276562766627676276862769627706277162772627736277462775627766277762778627796278062781627826278362784627856278662787627886278962790627916279262793627946279562796627976279862799628006280162802628036280462805628066280762808628096281062811628126281362814628156281662817628186281962820628216282262823628246282562826628276282862829628306283162832628336283462835628366283762838628396284062841628426284362844628456284662847628486284962850628516285262853628546285562856628576285862859628606286162862628636286462865628666286762868628696287062871628726287362874628756287662877628786287962880628816288262883628846288562886628876288862889628906289162892628936289462895628966289762898628996290062901629026290362904629056290662907629086290962910629116291262913629146291562916629176291862919629206292162922629236292462925629266292762928629296293062931629326293362934629356293662937629386293962940629416294262943629446294562946629476294862949629506295162952629536295462955629566295762958629596296062961629626296362964629656296662967629686296962970629716297262973629746297562976629776297862979629806298162982629836298462985629866298762988629896299062991629926299362994629956299662997629986299963000630016300263003630046300563006630076300863009630106301163012630136301463015630166301763018630196302063021630226302363024630256302663027630286302963030630316303263033630346303563036630376303863039630406304163042630436304463045630466304763048630496305063051630526305363054630556305663057630586305963060630616306263063630646306563066630676306863069630706307163072630736307463075630766307763078630796308063081630826308363084630856308663087630886308963090630916309263093630946309563096630976309863099631006310163102631036310463105631066310763108631096311063111631126311363114631156311663117631186311963120631216312263123631246312563126631276312863129631306313163132631336313463135631366313763138631396314063141631426314363144631456314663147631486314963150631516315263153631546315563156631576315863159631606316163162631636316463165631666316763168631696317063171631726317363174631756317663177631786317963180631816318263183631846318563186631876318863189631906319163192631936319463195631966319763198631996320063201632026320363204632056320663207632086320963210632116321263213632146321563216632176321863219632206322163222632236322463225632266322763228632296323063231632326323363234632356323663237632386323963240632416324263243632446324563246632476324863249632506325163252632536325463255632566325763258632596326063261632626326363264632656326663267632686326963270632716327263273632746327563276632776327863279632806328163282632836328463285632866328763288632896329063291632926329363294632956329663297632986329963300633016330263303633046330563306633076330863309633106331163312633136331463315633166331763318633196332063321633226332363324633256332663327633286332963330633316333263333633346333563336633376333863339633406334163342633436334463345633466334763348633496335063351633526335363354633556335663357633586335963360633616336263363633646336563366633676336863369633706337163372633736337463375633766337763378633796338063381633826338363384633856338663387633886338963390633916339263393633946339563396633976339863399634006340163402634036340463405634066340763408634096341063411634126341363414634156341663417634186341963420634216342263423634246342563426634276342863429634306343163432634336343463435634366343763438634396344063441634426344363444634456344663447634486344963450634516345263453634546345563456634576345863459634606346163462634636346463465634666346763468634696347063471634726347363474634756347663477634786347963480634816348263483634846348563486634876348863489634906349163492634936349463495634966349763498634996350063501635026350363504635056350663507635086350963510635116351263513635146351563516635176351863519635206352163522635236352463525635266352763528635296353063531635326353363534635356353663537635386353963540635416354263543635446354563546635476354863549635506355163552635536355463555635566355763558635596356063561635626356363564635656356663567635686356963570635716357263573635746357563576635776357863579635806358163582635836358463585635866358763588635896359063591635926359363594635956359663597635986359963600636016360263603636046360563606636076360863609636106361163612636136361463615636166361763618636196362063621636226362363624636256362663627636286362963630636316363263633636346363563636636376363863639636406364163642636436364463645636466364763648636496365063651636526365363654636556365663657636586365963660636616366263663636646366563666636676366863669636706367163672636736367463675636766367763678636796368063681636826368363684636856368663687636886368963690636916369263693636946369563696636976369863699637006370163702637036370463705637066370763708637096371063711637126371363714637156371663717637186371963720637216372263723637246372563726637276372863729637306373163732637336373463735637366373763738637396374063741637426374363744637456374663747637486374963750637516375263753637546375563756637576375863759637606376163762637636376463765637666376763768637696377063771637726377363774637756377663777637786377963780637816378263783637846378563786637876378863789637906379163792637936379463795637966379763798637996380063801638026380363804638056380663807638086380963810638116381263813638146381563816638176381863819638206382163822638236382463825638266382763828638296383063831638326383363834638356383663837638386383963840638416384263843638446384563846638476384863849638506385163852638536385463855638566385763858638596386063861638626386363864638656386663867638686386963870638716387263873638746387563876638776387863879638806388163882638836388463885638866388763888638896389063891638926389363894638956389663897638986389963900639016390263903639046390563906639076390863909639106391163912639136391463915639166391763918639196392063921639226392363924639256392663927639286392963930639316393263933639346393563936639376393863939639406394163942639436394463945639466394763948639496395063951639526395363954639556395663957639586395963960639616396263963639646396563966639676396863969639706397163972639736397463975639766397763978639796398063981639826398363984639856398663987639886398963990639916399263993639946399563996639976399863999640006400164002640036400464005640066400764008640096401064011640126401364014640156401664017640186401964020640216402264023640246402564026640276402864029640306403164032640336403464035640366403764038640396404064041640426404364044640456404664047640486404964050640516405264053640546405564056640576405864059640606406164062640636406464065640666406764068640696407064071640726407364074640756407664077640786407964080640816408264083640846408564086640876408864089640906409164092640936409464095640966409764098640996410064101641026410364104641056410664107641086410964110641116411264113641146411564116641176411864119641206412164122641236412464125641266412764128641296413064131641326413364134641356413664137641386413964140641416414264143641446414564146641476414864149641506415164152641536415464155641566415764158641596416064161641626416364164641656416664167641686416964170641716417264173641746417564176641776417864179641806418164182641836418464185641866418764188641896419064191641926419364194641956419664197641986419964200642016420264203642046420564206642076420864209642106421164212642136421464215642166421764218642196422064221642226422364224642256422664227642286422964230642316423264233642346423564236642376423864239642406424164242642436424464245642466424764248642496425064251642526425364254642556425664257642586425964260642616426264263642646426564266642676426864269642706427164272642736427464275642766427764278642796428064281642826428364284642856428664287642886428964290642916429264293642946429564296642976429864299643006430164302643036430464305643066430764308643096431064311643126431364314643156431664317643186431964320643216432264323643246432564326643276432864329643306433164332643336433464335643366433764338643396434064341643426434364344643456434664347643486434964350643516435264353643546435564356643576435864359643606436164362643636436464365643666436764368643696437064371643726437364374643756437664377643786437964380643816438264383643846438564386643876438864389643906439164392643936439464395643966439764398643996440064401644026440364404644056440664407644086440964410644116441264413644146441564416644176441864419644206442164422644236442464425644266442764428644296443064431644326443364434644356443664437644386443964440644416444264443644446444564446644476444864449644506445164452644536445464455644566445764458644596446064461644626446364464644656446664467644686446964470644716447264473644746447564476644776447864479644806448164482644836448464485644866448764488644896449064491644926449364494644956449664497644986449964500645016450264503645046450564506645076450864509645106451164512645136451464515645166451764518645196452064521645226452364524645256452664527645286452964530645316453264533645346453564536645376453864539645406454164542645436454464545645466454764548645496455064551645526455364554645556455664557645586455964560645616456264563645646456564566645676456864569645706457164572645736457464575645766457764578645796458064581645826458364584645856458664587645886458964590645916459264593645946459564596645976459864599646006460164602646036460464605646066460764608646096461064611646126461364614646156461664617646186461964620646216462264623646246462564626646276462864629646306463164632646336463464635646366463764638646396464064641646426464364644646456464664647646486464964650646516465264653646546465564656646576465864659646606466164662646636466464665646666466764668646696467064671646726467364674646756467664677646786467964680646816468264683646846468564686646876468864689646906469164692646936469464695646966469764698646996470064701647026470364704647056470664707647086470964710647116471264713647146471564716647176471864719647206472164722647236472464725647266472764728647296473064731647326473364734647356473664737647386473964740647416474264743647446474564746647476474864749647506475164752647536475464755647566475764758647596476064761647626476364764647656476664767647686476964770647716477264773647746477564776647776477864779647806478164782647836478464785647866478764788647896479064791647926479364794647956479664797647986479964800648016480264803648046480564806648076480864809648106481164812648136481464815648166481764818648196482064821648226482364824648256482664827648286482964830648316483264833648346483564836648376483864839648406484164842648436484464845648466484764848648496485064851648526485364854648556485664857648586485964860648616486264863648646486564866648676486864869648706487164872648736487464875648766487764878648796488064881648826488364884648856488664887648886488964890648916489264893648946489564896648976489864899649006490164902649036490464905649066490764908649096491064911649126491364914649156491664917649186491964920649216492264923649246492564926649276492864929649306493164932649336493464935649366493764938649396494064941649426494364944649456494664947649486494964950649516495264953649546495564956649576495864959649606496164962649636496464965649666496764968649696497064971649726497364974649756497664977649786497964980649816498264983649846498564986649876498864989649906499164992649936499464995649966499764998649996500065001650026500365004650056500665007650086500965010650116501265013650146501565016650176501865019650206502165022650236502465025650266502765028650296503065031650326503365034650356503665037650386503965040650416504265043650446504565046650476504865049650506505165052650536505465055650566505765058650596506065061650626506365064650656506665067650686506965070650716507265073650746507565076650776507865079650806508165082650836508465085650866508765088650896509065091650926509365094650956509665097650986509965100651016510265103651046510565106651076510865109651106511165112651136511465115651166511765118651196512065121651226512365124651256512665127651286512965130651316513265133651346513565136651376513865139651406514165142651436514465145651466514765148651496515065151651526515365154651556515665157651586515965160651616516265163651646516565166651676516865169651706517165172651736517465175651766517765178651796518065181651826518365184651856518665187651886518965190651916519265193651946519565196651976519865199652006520165202652036520465205652066520765208652096521065211652126521365214652156521665217652186521965220652216522265223652246522565226652276522865229652306523165232652336523465235652366523765238652396524065241652426524365244652456524665247652486524965250652516525265253652546525565256652576525865259652606526165262652636526465265652666526765268652696527065271652726527365274652756527665277652786527965280652816528265283652846528565286652876528865289652906529165292652936529465295652966529765298652996530065301653026530365304653056530665307653086530965310653116531265313653146531565316653176531865319653206532165322653236532465325653266532765328653296533065331653326533365334653356533665337653386533965340653416534265343653446534565346653476534865349653506535165352653536535465355653566535765358653596536065361653626536365364653656536665367653686536965370653716537265373653746537565376653776537865379653806538165382653836538465385653866538765388653896539065391653926539365394653956539665397653986539965400654016540265403654046540565406654076540865409654106541165412654136541465415654166541765418654196542065421654226542365424654256542665427654286542965430654316543265433654346543565436654376543865439654406544165442654436544465445654466544765448654496545065451654526545365454654556545665457654586545965460654616546265463654646546565466654676546865469654706547165472654736547465475654766547765478654796548065481654826548365484654856548665487654886548965490654916549265493654946549565496654976549865499655006550165502655036550465505655066550765508655096551065511655126551365514655156551665517655186551965520655216552265523655246552565526655276552865529655306553165532655336553465535655366553765538655396554065541655426554365544655456554665547655486554965550655516555265553655546555565556655576555865559655606556165562655636556465565655666556765568655696557065571655726557365574655756557665577655786557965580655816558265583655846558565586655876558865589655906559165592655936559465595655966559765598655996560065601656026560365604656056560665607656086560965610656116561265613656146561565616656176561865619656206562165622656236562465625656266562765628656296563065631656326563365634656356563665637656386563965640656416564265643656446564565646656476564865649656506565165652656536565465655656566565765658656596566065661656626566365664656656566665667656686566965670656716567265673656746567565676656776567865679656806568165682656836568465685656866568765688656896569065691656926569365694656956569665697656986569965700657016570265703657046570565706657076570865709657106571165712657136571465715657166571765718657196572065721657226572365724657256572665727657286572965730657316573265733657346573565736657376573865739657406574165742657436574465745657466574765748657496575065751657526575365754657556575665757657586575965760657616576265763657646576565766657676576865769657706577165772657736577465775657766577765778657796578065781657826578365784657856578665787657886578965790657916579265793657946579565796657976579865799658006580165802658036580465805658066580765808658096581065811658126581365814658156581665817658186581965820658216582265823658246582565826658276582865829658306583165832658336583465835658366583765838658396584065841658426584365844658456584665847658486584965850658516585265853658546585565856658576585865859658606586165862658636586465865658666586765868658696587065871658726587365874658756587665877658786587965880658816588265883658846588565886658876588865889658906589165892658936589465895658966589765898658996590065901659026590365904659056590665907659086590965910659116591265913659146591565916659176591865919659206592165922659236592465925659266592765928659296593065931659326593365934659356593665937659386593965940659416594265943659446594565946659476594865949659506595165952659536595465955659566595765958659596596065961659626596365964659656596665967659686596965970659716597265973659746597565976659776597865979659806598165982659836598465985659866598765988659896599065991659926599365994659956599665997659986599966000660016600266003660046600566006660076600866009660106601166012660136601466015660166601766018660196602066021660226602366024660256602666027660286602966030660316603266033660346603566036660376603866039660406604166042660436604466045660466604766048660496605066051660526605366054660556605666057660586605966060660616606266063660646606566066660676606866069660706607166072660736607466075660766607766078660796608066081660826608366084660856608666087660886608966090660916609266093660946609566096660976609866099661006610166102661036610466105661066610766108661096611066111661126611366114661156611666117661186611966120661216612266123661246612566126661276612866129661306613166132661336613466135661366613766138661396614066141661426614366144661456614666147661486614966150661516615266153661546615566156661576615866159661606616166162661636616466165661666616766168661696617066171661726617366174661756617666177661786617966180661816618266183661846618566186661876618866189661906619166192661936619466195661966619766198661996620066201662026620366204662056620666207662086620966210662116621266213662146621566216662176621866219662206622166222662236622466225662266622766228662296623066231662326623366234662356623666237662386623966240662416624266243662446624566246662476624866249662506625166252662536625466255662566625766258662596626066261662626626366264662656626666267662686626966270662716627266273662746627566276662776627866279662806628166282662836628466285662866628766288662896629066291662926629366294662956629666297662986629966300663016630266303663046630566306663076630866309663106631166312663136631466315663166631766318663196632066321663226632366324663256632666327663286632966330663316633266333663346633566336663376633866339663406634166342663436634466345663466634766348663496635066351663526635366354663556635666357663586635966360663616636266363663646636566366663676636866369663706637166372663736637466375663766637766378663796638066381663826638366384663856638666387663886638966390663916639266393663946639566396663976639866399664006640166402664036640466405664066640766408664096641066411664126641366414664156641666417664186641966420664216642266423664246642566426664276642866429664306643166432664336643466435664366643766438664396644066441664426644366444664456644666447664486644966450664516645266453664546645566456664576645866459664606646166462664636646466465664666646766468664696647066471664726647366474664756647666477664786647966480664816648266483664846648566486664876648866489664906649166492664936649466495664966649766498664996650066501665026650366504665056650666507665086650966510665116651266513665146651566516665176651866519665206652166522665236652466525665266652766528665296653066531665326653366534665356653666537665386653966540665416654266543665446654566546665476654866549665506655166552665536655466555665566655766558665596656066561665626656366564665656656666567665686656966570665716657266573665746657566576665776657866579665806658166582665836658466585665866658766588665896659066591665926659366594665956659666597665986659966600666016660266603666046660566606666076660866609666106661166612666136661466615666166661766618666196662066621666226662366624666256662666627666286662966630666316663266633666346663566636666376663866639666406664166642666436664466645666466664766648666496665066651666526665366654666556665666657666586665966660666616666266663666646666566666666676666866669666706667166672666736667466675666766667766678666796668066681666826668366684666856668666687666886668966690666916669266693666946669566696666976669866699667006670166702667036670466705667066670766708667096671066711667126671366714667156671666717667186671966720667216672266723667246672566726667276672866729667306673166732667336673466735667366673766738667396674066741667426674366744667456674666747667486674966750667516675266753667546675566756667576675866759667606676166762667636676466765667666676766768667696677066771667726677366774667756677666777667786677966780667816678266783667846678566786667876678866789667906679166792667936679466795667966679766798667996680066801668026680366804668056680666807668086680966810668116681266813668146681566816668176681866819668206682166822668236682466825668266682766828668296683066831668326683366834668356683666837668386683966840668416684266843668446684566846668476684866849668506685166852668536685466855668566685766858668596686066861668626686366864668656686666867668686686966870668716687266873668746687566876668776687866879668806688166882668836688466885668866688766888668896689066891668926689366894668956689666897668986689966900669016690266903669046690566906669076690866909669106691166912669136691466915669166691766918669196692066921669226692366924669256692666927669286692966930669316693266933669346693566936669376693866939669406694166942669436694466945669466694766948669496695066951669526695366954669556695666957669586695966960669616696266963669646696566966669676696866969669706697166972669736697466975669766697766978669796698066981669826698366984669856698666987669886698966990669916699266993669946699566996669976699866999670006700167002670036700467005670066700767008670096701067011670126701367014670156701667017670186701967020670216702267023670246702567026670276702867029670306703167032670336703467035670366703767038670396704067041670426704367044670456704667047670486704967050670516705267053670546705567056670576705867059670606706167062670636706467065670666706767068670696707067071670726707367074670756707667077670786707967080670816708267083670846708567086670876708867089670906709167092670936709467095670966709767098670996710067101671026710367104671056710667107671086710967110671116711267113671146711567116671176711867119671206712167122671236712467125671266712767128671296713067131671326713367134671356713667137671386713967140671416714267143671446714567146671476714867149671506715167152671536715467155671566715767158671596716067161671626716367164671656716667167671686716967170671716717267173671746717567176671776717867179671806718167182671836718467185671866718767188671896719067191671926719367194671956719667197671986719967200672016720267203672046720567206672076720867209672106721167212672136721467215672166721767218672196722067221672226722367224672256722667227672286722967230672316723267233672346723567236672376723867239672406724167242672436724467245672466724767248672496725067251672526725367254672556725667257672586725967260672616726267263672646726567266672676726867269672706727167272672736727467275672766727767278672796728067281672826728367284672856728667287672886728967290672916729267293672946729567296672976729867299673006730167302673036730467305673066730767308673096731067311673126731367314673156731667317673186731967320673216732267323673246732567326673276732867329673306733167332673336733467335673366733767338673396734067341673426734367344673456734667347673486734967350673516735267353673546735567356673576735867359673606736167362673636736467365673666736767368673696737067371673726737367374673756737667377673786737967380673816738267383673846738567386673876738867389673906739167392673936739467395673966739767398673996740067401674026740367404674056740667407674086740967410674116741267413674146741567416674176741867419674206742167422674236742467425674266742767428674296743067431674326743367434674356743667437674386743967440674416744267443674446744567446674476744867449674506745167452674536745467455674566745767458674596746067461674626746367464674656746667467674686746967470674716747267473674746747567476674776747867479674806748167482674836748467485674866748767488674896749067491674926749367494674956749667497674986749967500675016750267503675046750567506675076750867509675106751167512675136751467515675166751767518675196752067521675226752367524675256752667527675286752967530675316753267533675346753567536675376753867539675406754167542675436754467545675466754767548675496755067551675526755367554675556755667557675586755967560675616756267563675646756567566675676756867569675706757167572675736757467575675766757767578675796758067581675826758367584675856758667587675886758967590675916759267593675946759567596675976759867599676006760167602676036760467605676066760767608676096761067611676126761367614676156761667617676186761967620676216762267623676246762567626676276762867629676306763167632676336763467635676366763767638676396764067641676426764367644676456764667647676486764967650676516765267653676546765567656676576765867659676606766167662676636766467665676666766767668676696767067671676726767367674676756767667677676786767967680676816768267683676846768567686676876768867689676906769167692676936769467695676966769767698676996770067701677026770367704677056770667707677086770967710677116771267713677146771567716677176771867719677206772167722677236772467725677266772767728677296773067731677326773367734677356773667737677386773967740677416774267743677446774567746677476774867749677506775167752677536775467755677566775767758677596776067761677626776367764677656776667767677686776967770677716777267773677746777567776677776777867779677806778167782677836778467785677866778767788677896779067791677926779367794677956779667797677986779967800678016780267803678046780567806678076780867809678106781167812678136781467815678166781767818678196782067821678226782367824678256782667827678286782967830678316783267833678346783567836678376783867839678406784167842678436784467845678466784767848678496785067851678526785367854678556785667857678586785967860678616786267863678646786567866678676786867869678706787167872678736787467875678766787767878678796788067881678826788367884678856788667887678886788967890678916789267893678946789567896678976789867899679006790167902679036790467905679066790767908679096791067911679126791367914679156791667917679186791967920679216792267923679246792567926679276792867929679306793167932679336793467935679366793767938679396794067941679426794367944679456794667947679486794967950679516795267953679546795567956679576795867959679606796167962679636796467965679666796767968679696797067971679726797367974679756797667977679786797967980679816798267983679846798567986679876798867989679906799167992679936799467995679966799767998679996800068001680026800368004680056800668007680086800968010680116801268013680146801568016680176801868019680206802168022680236802468025680266802768028680296803068031680326803368034680356803668037680386803968040680416804268043680446804568046680476804868049680506805168052680536805468055680566805768058680596806068061680626806368064680656806668067680686806968070680716807268073680746807568076680776807868079680806808168082680836808468085680866808768088680896809068091680926809368094680956809668097680986809968100681016810268103681046810568106681076810868109681106811168112681136811468115681166811768118681196812068121681226812368124681256812668127681286812968130681316813268133681346813568136681376813868139681406814168142681436814468145681466814768148681496815068151681526815368154681556815668157681586815968160681616816268163681646816568166681676816868169681706817168172681736817468175681766817768178681796818068181681826818368184681856818668187681886818968190681916819268193681946819568196681976819868199682006820168202682036820468205682066820768208682096821068211682126821368214682156821668217682186821968220682216822268223682246822568226682276822868229682306823168232682336823468235682366823768238682396824068241682426824368244682456824668247682486824968250682516825268253682546825568256682576825868259682606826168262682636826468265682666826768268682696827068271682726827368274682756827668277682786827968280682816828268283682846828568286682876828868289682906829168292682936829468295682966829768298682996830068301683026830368304683056830668307683086830968310683116831268313683146831568316683176831868319683206832168322683236832468325683266832768328683296833068331683326833368334683356833668337683386833968340683416834268343683446834568346683476834868349683506835168352683536835468355683566835768358683596836068361683626836368364683656836668367683686836968370683716837268373683746837568376683776837868379683806838168382683836838468385683866838768388683896839068391683926839368394683956839668397683986839968400684016840268403684046840568406684076840868409684106841168412684136841468415684166841768418684196842068421684226842368424684256842668427684286842968430684316843268433684346843568436684376843868439684406844168442684436844468445684466844768448684496845068451684526845368454684556845668457684586845968460684616846268463684646846568466684676846868469684706847168472684736847468475684766847768478684796848068481684826848368484684856848668487684886848968490684916849268493684946849568496684976849868499685006850168502685036850468505685066850768508685096851068511685126851368514685156851668517685186851968520685216852268523685246852568526685276852868529685306853168532685336853468535685366853768538685396854068541685426854368544685456854668547685486854968550685516855268553685546855568556685576855868559685606856168562685636856468565685666856768568685696857068571685726857368574685756857668577685786857968580685816858268583685846858568586685876858868589685906859168592685936859468595685966859768598685996860068601686026860368604686056860668607686086860968610686116861268613686146861568616686176861868619686206862168622686236862468625686266862768628686296863068631686326863368634686356863668637686386863968640686416864268643686446864568646686476864868649686506865168652686536865468655686566865768658686596866068661686626866368664686656866668667686686866968670686716867268673686746867568676686776867868679686806868168682686836868468685686866868768688686896869068691686926869368694686956869668697686986869968700687016870268703687046870568706687076870868709687106871168712687136871468715687166871768718687196872068721687226872368724687256872668727687286872968730687316873268733687346873568736687376873868739687406874168742687436874468745687466874768748687496875068751687526875368754687556875668757687586875968760687616876268763687646876568766687676876868769687706877168772687736877468775687766877768778687796878068781687826878368784687856878668787687886878968790687916879268793687946879568796687976879868799688006880168802688036880468805688066880768808688096881068811688126881368814688156881668817688186881968820688216882268823688246882568826688276882868829688306883168832688336883468835688366883768838688396884068841688426884368844688456884668847688486884968850688516885268853688546885568856688576885868859688606886168862688636886468865688666886768868688696887068871688726887368874688756887668877688786887968880688816888268883688846888568886688876888868889688906889168892688936889468895688966889768898688996890068901689026890368904689056890668907689086890968910689116891268913689146891568916689176891868919689206892168922689236892468925689266892768928689296893068931689326893368934689356893668937689386893968940689416894268943689446894568946689476894868949689506895168952689536895468955689566895768958689596896068961689626896368964689656896668967689686896968970689716897268973689746897568976689776897868979689806898168982689836898468985689866898768988689896899068991689926899368994689956899668997689986899969000690016900269003690046900569006690076900869009690106901169012690136901469015690166901769018690196902069021690226902369024690256902669027690286902969030690316903269033690346903569036690376903869039690406904169042690436904469045690466904769048690496905069051690526905369054690556905669057690586905969060690616906269063690646906569066690676906869069690706907169072690736907469075690766907769078690796908069081690826908369084690856908669087690886908969090690916909269093690946909569096690976909869099691006910169102691036910469105691066910769108691096911069111691126911369114691156911669117691186911969120691216912269123691246912569126691276912869129691306913169132691336913469135691366913769138691396914069141691426914369144691456914669147691486914969150691516915269153691546915569156691576915869159691606916169162691636916469165691666916769168691696917069171691726917369174691756917669177691786917969180691816918269183691846918569186691876918869189691906919169192691936919469195691966919769198691996920069201692026920369204692056920669207692086920969210692116921269213692146921569216692176921869219692206922169222692236922469225692266922769228692296923069231692326923369234692356923669237692386923969240692416924269243692446924569246692476924869249692506925169252692536925469255692566925769258692596926069261692626926369264692656926669267692686926969270692716927269273692746927569276692776927869279692806928169282692836928469285692866928769288692896929069291692926929369294692956929669297692986929969300693016930269303693046930569306693076930869309693106931169312693136931469315693166931769318693196932069321693226932369324693256932669327693286932969330693316933269333693346933569336693376933869339693406934169342693436934469345693466934769348693496935069351693526935369354693556935669357693586935969360693616936269363693646936569366693676936869369693706937169372693736937469375693766937769378693796938069381693826938369384693856938669387693886938969390693916939269393693946939569396693976939869399694006940169402694036940469405694066940769408694096941069411694126941369414694156941669417694186941969420694216942269423694246942569426694276942869429694306943169432694336943469435694366943769438694396944069441694426944369444694456944669447694486944969450694516945269453694546945569456694576945869459694606946169462694636946469465694666946769468694696947069471694726947369474694756947669477694786947969480694816948269483694846948569486694876948869489694906949169492694936949469495694966949769498694996950069501695026950369504695056950669507695086950969510695116951269513695146951569516695176951869519695206952169522695236952469525695266952769528695296953069531695326953369534695356953669537695386953969540695416954269543695446954569546695476954869549695506955169552695536955469555695566955769558695596956069561695626956369564695656956669567695686956969570695716957269573695746957569576695776957869579695806958169582695836958469585695866958769588695896959069591695926959369594695956959669597695986959969600696016960269603696046960569606696076960869609696106961169612696136961469615696166961769618696196962069621696226962369624696256962669627696286962969630696316963269633696346963569636696376963869639696406964169642696436964469645696466964769648696496965069651696526965369654696556965669657696586965969660696616966269663696646966569666696676966869669696706967169672696736967469675696766967769678696796968069681696826968369684696856968669687696886968969690696916969269693696946969569696696976969869699697006970169702697036970469705697066970769708697096971069711697126971369714697156971669717697186971969720697216972269723697246972569726697276972869729697306973169732697336973469735697366973769738697396974069741697426974369744697456974669747697486974969750697516975269753697546975569756697576975869759697606976169762697636976469765697666976769768697696977069771697726977369774697756977669777697786977969780697816978269783697846978569786697876978869789697906979169792697936979469795697966979769798697996980069801698026980369804698056980669807698086980969810698116981269813698146981569816698176981869819698206982169822698236982469825698266982769828698296983069831698326983369834698356983669837698386983969840698416984269843698446984569846698476984869849698506985169852698536985469855698566985769858698596986069861698626986369864698656986669867698686986969870698716987269873698746987569876698776987869879698806988169882698836988469885698866988769888698896989069891698926989369894698956989669897698986989969900699016990269903699046990569906699076990869909699106991169912699136991469915699166991769918699196992069921699226992369924699256992669927699286992969930699316993269933699346993569936699376993869939699406994169942699436994469945699466994769948699496995069951699526995369954699556995669957699586995969960699616996269963699646996569966699676996869969699706997169972699736997469975699766997769978699796998069981699826998369984699856998669987699886998969990699916999269993699946999569996699976999869999700007000170002700037000470005700067000770008700097001070011700127001370014700157001670017700187001970020700217002270023700247002570026700277002870029700307003170032700337003470035700367003770038700397004070041700427004370044700457004670047700487004970050700517005270053700547005570056700577005870059700607006170062700637006470065700667006770068700697007070071700727007370074700757007670077700787007970080700817008270083700847008570086700877008870089700907009170092700937009470095700967009770098700997010070101701027010370104701057010670107701087010970110701117011270113701147011570116701177011870119701207012170122701237012470125701267012770128701297013070131701327013370134701357013670137701387013970140701417014270143701447014570146701477014870149701507015170152701537015470155701567015770158701597016070161701627016370164701657016670167701687016970170701717017270173701747017570176701777017870179701807018170182701837018470185701867018770188701897019070191701927019370194701957019670197701987019970200702017020270203702047020570206702077020870209702107021170212702137021470215702167021770218702197022070221702227022370224702257022670227702287022970230702317023270233702347023570236702377023870239702407024170242702437024470245702467024770248702497025070251702527025370254702557025670257702587025970260702617026270263702647026570266702677026870269702707027170272702737027470275702767027770278702797028070281702827028370284702857028670287702887028970290702917029270293702947029570296702977029870299703007030170302703037030470305703067030770308703097031070311703127031370314703157031670317703187031970320703217032270323703247032570326703277032870329703307033170332703337033470335703367033770338703397034070341703427034370344703457034670347703487034970350703517035270353703547035570356703577035870359703607036170362703637036470365703667036770368703697037070371703727037370374703757037670377703787037970380703817038270383703847038570386703877038870389703907039170392703937039470395703967039770398703997040070401704027040370404704057040670407704087040970410704117041270413704147041570416704177041870419704207042170422704237042470425704267042770428704297043070431704327043370434704357043670437704387043970440704417044270443704447044570446704477044870449704507045170452704537045470455704567045770458704597046070461704627046370464704657046670467704687046970470704717047270473704747047570476704777047870479704807048170482704837048470485704867048770488704897049070491704927049370494704957049670497704987049970500705017050270503705047050570506705077050870509705107051170512705137051470515705167051770518705197052070521705227052370524705257052670527705287052970530705317053270533705347053570536705377053870539705407054170542705437054470545705467054770548705497055070551705527055370554705557055670557705587055970560705617056270563705647056570566705677056870569705707057170572705737057470575705767057770578705797058070581705827058370584705857058670587705887058970590705917059270593705947059570596705977059870599706007060170602706037060470605706067060770608706097061070611706127061370614706157061670617706187061970620706217062270623706247062570626706277062870629706307063170632706337063470635706367063770638706397064070641706427064370644706457064670647706487064970650706517065270653706547065570656706577065870659706607066170662706637066470665706667066770668706697067070671706727067370674706757067670677706787067970680706817068270683706847068570686706877068870689706907069170692706937069470695706967069770698706997070070701707027070370704707057070670707707087070970710707117071270713707147071570716707177071870719707207072170722707237072470725707267072770728707297073070731707327073370734707357073670737707387073970740707417074270743707447074570746707477074870749707507075170752707537075470755707567075770758707597076070761707627076370764707657076670767707687076970770707717077270773707747077570776707777077870779707807078170782707837078470785707867078770788707897079070791707927079370794707957079670797707987079970800708017080270803708047080570806708077080870809708107081170812708137081470815708167081770818708197082070821708227082370824708257082670827708287082970830708317083270833708347083570836708377083870839708407084170842708437084470845708467084770848708497085070851708527085370854708557085670857708587085970860708617086270863708647086570866708677086870869708707087170872708737087470875708767087770878708797088070881708827088370884708857088670887708887088970890708917089270893708947089570896708977089870899709007090170902709037090470905709067090770908709097091070911709127091370914709157091670917709187091970920709217092270923709247092570926709277092870929709307093170932709337093470935709367093770938709397094070941709427094370944709457094670947709487094970950709517095270953709547095570956709577095870959709607096170962709637096470965709667096770968709697097070971709727097370974709757097670977709787097970980709817098270983709847098570986709877098870989709907099170992709937099470995709967099770998709997100071001710027100371004710057100671007710087100971010710117101271013710147101571016710177101871019710207102171022710237102471025710267102771028710297103071031710327103371034710357103671037710387103971040710417104271043710447104571046710477104871049710507105171052710537105471055710567105771058710597106071061710627106371064710657106671067710687106971070710717107271073710747107571076710777107871079710807108171082710837108471085710867108771088710897109071091710927109371094710957109671097710987109971100711017110271103711047110571106711077110871109711107111171112711137111471115711167111771118711197112071121711227112371124711257112671127711287112971130711317113271133711347113571136711377113871139711407114171142711437114471145711467114771148711497115071151711527115371154711557115671157711587115971160711617116271163711647116571166711677116871169711707117171172711737117471175711767117771178711797118071181711827118371184711857118671187711887118971190711917119271193711947119571196711977119871199712007120171202712037120471205712067120771208712097121071211712127121371214712157121671217712187121971220712217122271223712247122571226712277122871229712307123171232712337123471235712367123771238712397124071241712427124371244712457124671247712487124971250712517125271253712547125571256712577125871259712607126171262712637126471265712667126771268712697127071271712727127371274712757127671277712787127971280712817128271283712847128571286712877128871289712907129171292712937129471295712967129771298712997130071301713027130371304713057130671307713087130971310713117131271313713147131571316713177131871319713207132171322713237132471325713267132771328713297133071331713327133371334713357133671337713387133971340713417134271343713447134571346713477134871349713507135171352713537135471355713567135771358713597136071361713627136371364713657136671367713687136971370713717137271373713747137571376713777137871379713807138171382713837138471385713867138771388713897139071391713927139371394713957139671397713987139971400714017140271403714047140571406714077140871409714107141171412714137141471415714167141771418714197142071421714227142371424714257142671427714287142971430714317143271433714347143571436714377143871439714407144171442714437144471445714467144771448714497145071451714527145371454714557145671457714587145971460714617146271463714647146571466714677146871469714707147171472714737147471475714767147771478714797148071481714827148371484714857148671487714887148971490714917149271493714947149571496714977149871499715007150171502715037150471505715067150771508715097151071511715127151371514715157151671517715187151971520715217152271523715247152571526715277152871529715307153171532715337153471535715367153771538715397154071541715427154371544715457154671547715487154971550715517155271553715547155571556715577155871559715607156171562715637156471565715667156771568715697157071571715727157371574715757157671577715787157971580715817158271583715847158571586715877158871589715907159171592715937159471595715967159771598715997160071601716027160371604716057160671607716087160971610716117161271613716147161571616716177161871619716207162171622716237162471625716267162771628716297163071631716327163371634716357163671637716387163971640716417164271643716447164571646716477164871649716507165171652716537165471655716567165771658716597166071661716627166371664716657166671667716687166971670716717167271673716747167571676716777167871679716807168171682716837168471685716867168771688716897169071691716927169371694716957169671697716987169971700717017170271703717047170571706717077170871709717107171171712717137171471715717167171771718717197172071721717227172371724717257172671727717287172971730717317173271733717347173571736717377173871739717407174171742717437174471745717467174771748717497175071751717527175371754717557175671757717587175971760717617176271763717647176571766717677176871769717707177171772717737177471775717767177771778717797178071781717827178371784717857178671787717887178971790717917179271793717947179571796717977179871799718007180171802718037180471805718067180771808718097181071811718127181371814718157181671817718187181971820718217182271823718247182571826718277182871829718307183171832718337183471835718367183771838718397184071841718427184371844718457184671847718487184971850718517185271853718547185571856718577185871859718607186171862718637186471865718667186771868718697187071871718727187371874718757187671877718787187971880718817188271883718847188571886718877188871889718907189171892718937189471895718967189771898718997190071901719027190371904719057190671907719087190971910719117191271913719147191571916719177191871919719207192171922719237192471925719267192771928719297193071931719327193371934719357193671937719387193971940719417194271943719447194571946719477194871949719507195171952719537195471955719567195771958719597196071961719627196371964719657196671967719687196971970719717197271973719747197571976719777197871979719807198171982719837198471985719867198771988719897199071991719927199371994719957199671997719987199972000720017200272003720047200572006720077200872009720107201172012720137201472015720167201772018720197202072021720227202372024720257202672027720287202972030720317203272033720347203572036720377203872039720407204172042720437204472045720467204772048720497205072051720527205372054720557205672057720587205972060720617206272063720647206572066720677206872069720707207172072720737207472075720767207772078720797208072081720827208372084720857208672087720887208972090720917209272093720947209572096720977209872099721007210172102721037210472105721067210772108721097211072111721127211372114721157211672117721187211972120721217212272123721247212572126721277212872129721307213172132721337213472135721367213772138721397214072141721427214372144721457214672147721487214972150721517215272153721547215572156721577215872159721607216172162721637216472165721667216772168721697217072171721727217372174721757217672177721787217972180721817218272183721847218572186721877218872189721907219172192721937219472195721967219772198721997220072201722027220372204722057220672207722087220972210722117221272213722147221572216722177221872219722207222172222722237222472225722267222772228722297223072231722327223372234722357223672237722387223972240722417224272243722447224572246722477224872249722507225172252722537225472255722567225772258722597226072261722627226372264722657226672267722687226972270722717227272273722747227572276722777227872279722807228172282722837228472285722867228772288722897229072291722927229372294722957229672297722987229972300723017230272303723047230572306723077230872309723107231172312723137231472315723167231772318723197232072321723227232372324723257232672327723287232972330723317233272333723347233572336723377233872339723407234172342723437234472345723467234772348723497235072351723527235372354723557235672357723587235972360723617236272363723647236572366723677236872369723707237172372723737237472375723767237772378723797238072381723827238372384723857238672387723887238972390723917239272393723947239572396723977239872399724007240172402724037240472405724067240772408724097241072411724127241372414724157241672417724187241972420724217242272423724247242572426724277242872429724307243172432724337243472435724367243772438724397244072441724427244372444724457244672447724487244972450724517245272453724547245572456724577245872459724607246172462724637246472465724667246772468724697247072471724727247372474724757247672477724787247972480724817248272483724847248572486724877248872489724907249172492724937249472495724967249772498724997250072501725027250372504725057250672507725087250972510725117251272513725147251572516725177251872519725207252172522725237252472525725267252772528725297253072531725327253372534725357253672537725387253972540725417254272543725447254572546725477254872549725507255172552725537255472555725567255772558725597256072561725627256372564725657256672567725687256972570725717257272573725747257572576725777257872579725807258172582725837258472585725867258772588725897259072591725927259372594725957259672597725987259972600726017260272603726047260572606726077260872609726107261172612726137261472615726167261772618726197262072621726227262372624726257262672627726287262972630726317263272633726347263572636726377263872639726407264172642726437264472645726467264772648726497265072651726527265372654726557265672657726587265972660726617266272663726647266572666726677266872669726707267172672726737267472675726767267772678726797268072681726827268372684726857268672687726887268972690726917269272693726947269572696726977269872699727007270172702727037270472705727067270772708727097271072711727127271372714727157271672717727187271972720727217272272723727247272572726727277272872729727307273172732727337273472735727367273772738727397274072741727427274372744727457274672747727487274972750727517275272753727547275572756727577275872759727607276172762727637276472765727667276772768727697277072771727727277372774727757277672777727787277972780727817278272783727847278572786727877278872789727907279172792727937279472795727967279772798727997280072801728027280372804728057280672807728087280972810728117281272813728147281572816728177281872819728207282172822728237282472825728267282772828728297283072831728327283372834728357283672837728387283972840728417284272843728447284572846728477284872849728507285172852728537285472855728567285772858728597286072861728627286372864728657286672867728687286972870728717287272873728747287572876728777287872879728807288172882728837288472885728867288772888728897289072891728927289372894728957289672897728987289972900729017290272903729047290572906729077290872909729107291172912729137291472915729167291772918729197292072921729227292372924729257292672927729287292972930729317293272933729347293572936729377293872939729407294172942729437294472945729467294772948729497295072951729527295372954729557295672957729587295972960729617296272963729647296572966729677296872969729707297172972729737297472975729767297772978729797298072981729827298372984729857298672987729887298972990729917299272993729947299572996729977299872999730007300173002730037300473005730067300773008730097301073011730127301373014730157301673017730187301973020730217302273023730247302573026730277302873029730307303173032730337303473035730367303773038730397304073041730427304373044730457304673047730487304973050730517305273053730547305573056730577305873059730607306173062730637306473065730667306773068730697307073071730727307373074730757307673077730787307973080730817308273083730847308573086730877308873089730907309173092730937309473095730967309773098730997310073101731027310373104731057310673107731087310973110731117311273113731147311573116731177311873119731207312173122731237312473125731267312773128731297313073131731327313373134731357313673137731387313973140731417314273143731447314573146731477314873149731507315173152731537315473155731567315773158731597316073161731627316373164731657316673167731687316973170731717317273173731747317573176731777317873179731807318173182731837318473185731867318773188731897319073191731927319373194731957319673197731987319973200732017320273203732047320573206732077320873209732107321173212732137321473215732167321773218732197322073221732227322373224732257322673227732287322973230732317323273233732347323573236732377323873239732407324173242732437324473245732467324773248732497325073251732527325373254732557325673257732587325973260732617326273263732647326573266732677326873269732707327173272732737327473275732767327773278732797328073281732827328373284732857328673287732887328973290732917329273293732947329573296732977329873299733007330173302733037330473305733067330773308733097331073311733127331373314733157331673317733187331973320733217332273323733247332573326733277332873329733307333173332733337333473335733367333773338733397334073341733427334373344733457334673347733487334973350733517335273353733547335573356733577335873359733607336173362733637336473365733667336773368733697337073371733727337373374733757337673377733787337973380733817338273383733847338573386733877338873389733907339173392733937339473395733967339773398733997340073401734027340373404734057340673407734087340973410734117341273413734147341573416734177341873419734207342173422734237342473425734267342773428734297343073431734327343373434734357343673437734387343973440734417344273443734447344573446734477344873449734507345173452734537345473455734567345773458734597346073461734627346373464734657346673467734687346973470734717347273473734747347573476734777347873479734807348173482734837348473485734867348773488734897349073491734927349373494734957349673497734987349973500735017350273503735047350573506735077350873509735107351173512735137351473515735167351773518735197352073521735227352373524735257352673527735287352973530735317353273533735347353573536735377353873539735407354173542735437354473545735467354773548735497355073551735527355373554735557355673557735587355973560735617356273563735647356573566735677356873569735707357173572735737357473575735767357773578735797358073581735827358373584735857358673587735887358973590735917359273593735947359573596735977359873599736007360173602736037360473605736067360773608736097361073611736127361373614736157361673617736187361973620736217362273623736247362573626736277362873629736307363173632736337363473635736367363773638736397364073641736427364373644736457364673647736487364973650736517365273653736547365573656736577365873659736607366173662736637366473665736667366773668736697367073671736727367373674736757367673677736787367973680736817368273683736847368573686736877368873689736907369173692736937369473695736967369773698736997370073701737027370373704737057370673707737087370973710737117371273713737147371573716737177371873719737207372173722737237372473725737267372773728737297373073731737327373373734737357373673737737387373973740737417374273743737447374573746737477374873749737507375173752737537375473755737567375773758737597376073761737627376373764737657376673767737687376973770737717377273773737747377573776737777377873779737807378173782737837378473785737867378773788737897379073791737927379373794737957379673797737987379973800738017380273803738047380573806738077380873809738107381173812738137381473815738167381773818738197382073821738227382373824738257382673827738287382973830738317383273833738347383573836738377383873839738407384173842738437384473845738467384773848738497385073851738527385373854738557385673857738587385973860738617386273863738647386573866738677386873869738707387173872738737387473875738767387773878738797388073881738827388373884738857388673887738887388973890738917389273893738947389573896738977389873899739007390173902739037390473905739067390773908739097391073911739127391373914739157391673917739187391973920739217392273923739247392573926739277392873929739307393173932739337393473935739367393773938739397394073941739427394373944739457394673947739487394973950739517395273953739547395573956739577395873959739607396173962739637396473965739667396773968739697397073971739727397373974739757397673977739787397973980739817398273983739847398573986739877398873989739907399173992739937399473995739967399773998739997400074001740027400374004740057400674007740087400974010740117401274013740147401574016740177401874019740207402174022740237402474025740267402774028740297403074031740327403374034740357403674037740387403974040740417404274043740447404574046740477404874049740507405174052740537405474055740567405774058740597406074061740627406374064740657406674067740687406974070740717407274073740747407574076740777407874079740807408174082740837408474085740867408774088740897409074091740927409374094740957409674097740987409974100741017410274103741047410574106741077410874109741107411174112741137411474115741167411774118741197412074121741227412374124741257412674127741287412974130741317413274133741347413574136741377413874139741407414174142741437414474145741467414774148741497415074151741527415374154741557415674157741587415974160741617416274163741647416574166741677416874169741707417174172741737417474175741767417774178741797418074181741827418374184741857418674187741887418974190741917419274193741947419574196741977419874199742007420174202742037420474205742067420774208742097421074211742127421374214742157421674217742187421974220742217422274223742247422574226742277422874229742307423174232742337423474235742367423774238742397424074241742427424374244742457424674247742487424974250742517425274253742547425574256742577425874259742607426174262742637426474265742667426774268742697427074271742727427374274742757427674277742787427974280742817428274283742847428574286742877428874289742907429174292742937429474295742967429774298742997430074301743027430374304743057430674307743087430974310743117431274313743147431574316743177431874319743207432174322743237432474325743267432774328743297433074331743327433374334743357433674337743387433974340743417434274343743447434574346743477434874349743507435174352743537435474355743567435774358743597436074361743627436374364743657436674367743687436974370743717437274373743747437574376743777437874379743807438174382743837438474385743867438774388743897439074391743927439374394743957439674397743987439974400744017440274403744047440574406744077440874409744107441174412744137441474415744167441774418744197442074421744227442374424744257442674427744287442974430744317443274433744347443574436744377443874439744407444174442744437444474445744467444774448744497445074451744527445374454744557445674457744587445974460744617446274463744647446574466744677446874469744707447174472744737447474475744767447774478744797448074481744827448374484744857448674487744887448974490744917449274493744947449574496744977449874499745007450174502745037450474505745067450774508745097451074511745127451374514745157451674517745187451974520745217452274523745247452574526745277452874529745307453174532745337453474535745367453774538745397454074541745427454374544745457454674547745487454974550745517455274553745547455574556745577455874559745607456174562745637456474565745667456774568745697457074571745727457374574745757457674577745787457974580745817458274583745847458574586745877458874589745907459174592745937459474595745967459774598745997460074601746027460374604746057460674607746087460974610746117461274613746147461574616746177461874619746207462174622746237462474625746267462774628746297463074631746327463374634746357463674637746387463974640746417464274643746447464574646746477464874649746507465174652746537465474655746567465774658746597466074661746627466374664746657466674667746687466974670746717467274673746747467574676746777467874679746807468174682746837468474685746867468774688746897469074691746927469374694746957469674697746987469974700747017470274703747047470574706747077470874709747107471174712747137471474715747167471774718747197472074721747227472374724747257472674727747287472974730747317473274733747347473574736747377473874739747407474174742747437474474745747467474774748747497475074751747527475374754747557475674757747587475974760747617476274763747647476574766747677476874769747707477174772747737477474775747767477774778747797478074781747827478374784747857478674787747887478974790747917479274793747947479574796747977479874799748007480174802748037480474805748067480774808748097481074811748127481374814748157481674817748187481974820748217482274823748247482574826748277482874829748307483174832748337483474835748367483774838748397484074841748427484374844748457484674847748487484974850748517485274853748547485574856748577485874859748607486174862748637486474865748667486774868748697487074871748727487374874748757487674877748787487974880748817488274883748847488574886748877488874889748907489174892748937489474895748967489774898748997490074901749027490374904749057490674907749087490974910749117491274913749147491574916749177491874919749207492174922749237492474925749267492774928749297493074931749327493374934749357493674937749387493974940749417494274943749447494574946749477494874949749507495174952749537495474955749567495774958749597496074961749627496374964749657496674967749687496974970749717497274973749747497574976749777497874979749807498174982749837498474985749867498774988749897499074991749927499374994749957499674997749987499975000750017500275003750047500575006750077500875009750107501175012750137501475015750167501775018750197502075021750227502375024750257502675027750287502975030750317503275033750347503575036750377503875039750407504175042750437504475045750467504775048750497505075051750527505375054750557505675057750587505975060750617506275063750647506575066750677506875069750707507175072750737507475075750767507775078750797508075081750827508375084750857508675087750887508975090750917509275093750947509575096750977509875099751007510175102751037510475105751067510775108751097511075111751127511375114751157511675117751187511975120751217512275123751247512575126751277512875129751307513175132751337513475135751367513775138751397514075141751427514375144751457514675147751487514975150751517515275153751547515575156751577515875159751607516175162751637516475165751667516775168751697517075171751727517375174751757517675177751787517975180751817518275183751847518575186751877518875189751907519175192751937519475195751967519775198751997520075201752027520375204752057520675207752087520975210752117521275213752147521575216752177521875219752207522175222752237522475225752267522775228752297523075231752327523375234752357523675237752387523975240752417524275243752447524575246752477524875249752507525175252752537525475255752567525775258752597526075261752627526375264752657526675267752687526975270752717527275273752747527575276752777527875279752807528175282752837528475285752867528775288752897529075291752927529375294752957529675297752987529975300753017530275303753047530575306753077530875309753107531175312753137531475315753167531775318753197532075321753227532375324753257532675327753287532975330753317533275333753347533575336753377533875339753407534175342753437534475345753467534775348753497535075351753527535375354753557535675357753587535975360753617536275363753647536575366753677536875369753707537175372753737537475375753767537775378753797538075381753827538375384753857538675387753887538975390753917539275393753947539575396753977539875399754007540175402754037540475405754067540775408754097541075411754127541375414754157541675417754187541975420754217542275423754247542575426754277542875429754307543175432754337543475435754367543775438754397544075441754427544375444754457544675447754487544975450754517545275453754547545575456754577545875459754607546175462754637546475465754667546775468754697547075471754727547375474754757547675477754787547975480754817548275483754847548575486754877548875489754907549175492754937549475495754967549775498754997550075501755027550375504755057550675507755087550975510755117551275513755147551575516755177551875519755207552175522755237552475525755267552775528755297553075531755327553375534755357553675537755387553975540755417554275543755447554575546755477554875549755507555175552755537555475555755567555775558755597556075561755627556375564755657556675567755687556975570755717557275573755747557575576755777557875579755807558175582755837558475585755867558775588755897559075591755927559375594755957559675597755987559975600756017560275603756047560575606756077560875609756107561175612756137561475615756167561775618756197562075621756227562375624756257562675627756287562975630756317563275633756347563575636756377563875639756407564175642756437564475645756467564775648756497565075651756527565375654756557565675657756587565975660756617566275663756647566575666756677566875669756707567175672756737567475675756767567775678756797568075681756827568375684756857568675687756887568975690756917569275693756947569575696756977569875699757007570175702757037570475705757067570775708757097571075711757127571375714757157571675717757187571975720757217572275723757247572575726757277572875729757307573175732757337573475735757367573775738757397574075741757427574375744757457574675747757487574975750757517575275753757547575575756757577575875759757607576175762757637576475765757667576775768757697577075771757727577375774757757577675777757787577975780757817578275783757847578575786757877578875789757907579175792757937579475795757967579775798757997580075801758027580375804758057580675807758087580975810758117581275813758147581575816758177581875819758207582175822758237582475825758267582775828758297583075831758327583375834758357583675837758387583975840758417584275843758447584575846758477584875849758507585175852758537585475855758567585775858758597586075861758627586375864758657586675867758687586975870758717587275873758747587575876758777587875879758807588175882758837588475885758867588775888758897589075891758927589375894758957589675897758987589975900759017590275903759047590575906759077590875909759107591175912759137591475915759167591775918759197592075921759227592375924759257592675927759287592975930759317593275933759347593575936759377593875939759407594175942759437594475945759467594775948759497595075951759527595375954759557595675957759587595975960759617596275963759647596575966759677596875969759707597175972759737597475975759767597775978759797598075981759827598375984759857598675987759887598975990759917599275993759947599575996759977599875999760007600176002760037600476005760067600776008760097601076011760127601376014760157601676017760187601976020760217602276023760247602576026760277602876029760307603176032760337603476035760367603776038760397604076041760427604376044760457604676047760487604976050760517605276053760547605576056760577605876059760607606176062760637606476065760667606776068760697607076071760727607376074760757607676077760787607976080760817608276083760847608576086760877608876089760907609176092760937609476095760967609776098760997610076101761027610376104761057610676107761087610976110761117611276113761147611576116761177611876119761207612176122761237612476125761267612776128761297613076131761327613376134761357613676137761387613976140761417614276143761447614576146761477614876149761507615176152761537615476155761567615776158761597616076161761627616376164761657616676167761687616976170761717617276173761747617576176761777617876179761807618176182761837618476185761867618776188761897619076191761927619376194761957619676197761987619976200762017620276203762047620576206762077620876209762107621176212762137621476215762167621776218762197622076221762227622376224762257622676227762287622976230762317623276233762347623576236762377623876239762407624176242762437624476245762467624776248762497625076251762527625376254762557625676257762587625976260762617626276263762647626576266762677626876269762707627176272762737627476275762767627776278762797628076281762827628376284762857628676287762887628976290762917629276293762947629576296762977629876299763007630176302763037630476305763067630776308763097631076311763127631376314763157631676317763187631976320763217632276323763247632576326763277632876329763307633176332763337633476335763367633776338763397634076341763427634376344763457634676347763487634976350763517635276353763547635576356763577635876359763607636176362763637636476365763667636776368763697637076371763727637376374763757637676377763787637976380763817638276383763847638576386763877638876389763907639176392763937639476395763967639776398763997640076401764027640376404764057640676407764087640976410764117641276413764147641576416764177641876419764207642176422764237642476425764267642776428764297643076431764327643376434764357643676437764387643976440764417644276443764447644576446764477644876449764507645176452764537645476455764567645776458764597646076461764627646376464764657646676467764687646976470764717647276473764747647576476764777647876479764807648176482764837648476485764867648776488764897649076491764927649376494764957649676497764987649976500765017650276503765047650576506765077650876509765107651176512765137651476515765167651776518765197652076521765227652376524765257652676527765287652976530765317653276533765347653576536765377653876539765407654176542765437654476545765467654776548765497655076551765527655376554765557655676557765587655976560765617656276563765647656576566765677656876569765707657176572765737657476575765767657776578765797658076581765827658376584765857658676587765887658976590765917659276593765947659576596765977659876599766007660176602766037660476605766067660776608766097661076611766127661376614766157661676617766187661976620766217662276623766247662576626766277662876629766307663176632766337663476635766367663776638766397664076641766427664376644766457664676647766487664976650766517665276653766547665576656766577665876659766607666176662766637666476665766667666776668766697667076671766727667376674766757667676677766787667976680766817668276683766847668576686766877668876689766907669176692766937669476695766967669776698766997670076701767027670376704767057670676707767087670976710767117671276713767147671576716767177671876719767207672176722767237672476725767267672776728767297673076731767327673376734767357673676737767387673976740767417674276743767447674576746767477674876749767507675176752767537675476755767567675776758767597676076761767627676376764767657676676767767687676976770767717677276773767747677576776767777677876779767807678176782767837678476785767867678776788767897679076791767927679376794767957679676797767987679976800768017680276803768047680576806768077680876809768107681176812768137681476815768167681776818768197682076821768227682376824768257682676827768287682976830768317683276833768347683576836768377683876839768407684176842768437684476845768467684776848768497685076851768527685376854768557685676857768587685976860768617686276863768647686576866768677686876869768707687176872768737687476875768767687776878768797688076881768827688376884768857688676887768887688976890768917689276893768947689576896768977689876899769007690176902769037690476905769067690776908769097691076911769127691376914769157691676917769187691976920769217692276923769247692576926769277692876929769307693176932769337693476935769367693776938769397694076941769427694376944769457694676947769487694976950769517695276953769547695576956769577695876959769607696176962769637696476965769667696776968769697697076971769727697376974769757697676977769787697976980769817698276983769847698576986769877698876989769907699176992769937699476995769967699776998769997700077001770027700377004770057700677007770087700977010770117701277013770147701577016770177701877019770207702177022770237702477025770267702777028770297703077031770327703377034770357703677037770387703977040770417704277043770447704577046770477704877049770507705177052770537705477055770567705777058770597706077061770627706377064770657706677067770687706977070770717707277073770747707577076770777707877079770807708177082770837708477085770867708777088770897709077091770927709377094770957709677097770987709977100771017710277103771047710577106771077710877109771107711177112771137711477115771167711777118771197712077121771227712377124771257712677127771287712977130771317713277133771347713577136771377713877139771407714177142771437714477145771467714777148771497715077151771527715377154771557715677157771587715977160771617716277163771647716577166771677716877169771707717177172771737717477175771767717777178771797718077181771827718377184771857718677187771887718977190771917719277193771947719577196771977719877199772007720177202772037720477205772067720777208772097721077211772127721377214772157721677217772187721977220772217722277223772247722577226772277722877229772307723177232772337723477235772367723777238772397724077241772427724377244772457724677247772487724977250772517725277253772547725577256772577725877259772607726177262772637726477265772667726777268772697727077271772727727377274772757727677277772787727977280772817728277283772847728577286772877728877289772907729177292772937729477295772967729777298772997730077301773027730377304773057730677307773087730977310773117731277313773147731577316773177731877319773207732177322773237732477325773267732777328773297733077331773327733377334773357733677337773387733977340773417734277343773447734577346773477734877349773507735177352773537735477355773567735777358773597736077361773627736377364773657736677367773687736977370773717737277373773747737577376773777737877379773807738177382773837738477385773867738777388773897739077391773927739377394773957739677397773987739977400774017740277403774047740577406774077740877409774107741177412774137741477415774167741777418774197742077421774227742377424774257742677427774287742977430774317743277433774347743577436774377743877439774407744177442774437744477445774467744777448774497745077451774527745377454774557745677457774587745977460774617746277463774647746577466774677746877469774707747177472774737747477475774767747777478774797748077481774827748377484774857748677487774887748977490774917749277493774947749577496774977749877499775007750177502775037750477505775067750777508775097751077511775127751377514775157751677517775187751977520775217752277523775247752577526775277752877529775307753177532775337753477535775367753777538775397754077541775427754377544775457754677547775487754977550775517755277553775547755577556775577755877559775607756177562775637756477565775667756777568775697757077571775727757377574775757757677577775787757977580775817758277583775847758577586775877758877589775907759177592775937759477595775967759777598775997760077601776027760377604776057760677607776087760977610776117761277613776147761577616776177761877619776207762177622776237762477625776267762777628776297763077631776327763377634776357763677637776387763977640776417764277643776447764577646776477764877649776507765177652776537765477655776567765777658776597766077661776627766377664776657766677667776687766977670776717767277673776747767577676776777767877679776807768177682776837768477685776867768777688776897769077691776927769377694776957769677697776987769977700777017770277703777047770577706777077770877709777107771177712777137771477715777167771777718777197772077721777227772377724777257772677727777287772977730777317773277733777347773577736777377773877739777407774177742777437774477745777467774777748777497775077751777527775377754777557775677757777587775977760777617776277763777647776577766777677776877769777707777177772777737777477775777767777777778777797778077781777827778377784777857778677787777887778977790777917779277793777947779577796777977779877799778007780177802778037780477805778067780777808778097781077811778127781377814778157781677817778187781977820778217782277823778247782577826778277782877829778307783177832778337783477835778367783777838778397784077841778427784377844778457784677847778487784977850778517785277853778547785577856778577785877859778607786177862778637786477865778667786777868778697787077871778727787377874778757787677877778787787977880778817788277883778847788577886778877788877889778907789177892778937789477895778967789777898778997790077901779027790377904779057790677907779087790977910779117791277913779147791577916779177791877919779207792177922779237792477925779267792777928779297793077931779327793377934779357793677937779387793977940779417794277943779447794577946779477794877949779507795177952779537795477955779567795777958779597796077961779627796377964779657796677967779687796977970779717797277973779747797577976779777797877979779807798177982779837798477985779867798777988779897799077991779927799377994779957799677997779987799978000780017800278003780047800578006780077800878009780107801178012780137801478015780167801778018780197802078021780227802378024780257802678027780287802978030780317803278033780347803578036780377803878039780407804178042780437804478045780467804778048780497805078051780527805378054780557805678057780587805978060780617806278063780647806578066780677806878069780707807178072780737807478075780767807778078780797808078081780827808378084780857808678087780887808978090780917809278093780947809578096780977809878099781007810178102781037810478105781067810778108781097811078111781127811378114781157811678117781187811978120781217812278123781247812578126781277812878129781307813178132781337813478135781367813778138781397814078141781427814378144781457814678147781487814978150781517815278153781547815578156781577815878159781607816178162781637816478165781667816778168781697817078171781727817378174781757817678177781787817978180781817818278183781847818578186781877818878189781907819178192781937819478195781967819778198781997820078201782027820378204782057820678207782087820978210782117821278213782147821578216782177821878219782207822178222782237822478225782267822778228782297823078231782327823378234782357823678237782387823978240782417824278243782447824578246782477824878249782507825178252782537825478255782567825778258782597826078261782627826378264782657826678267782687826978270782717827278273782747827578276782777827878279782807828178282782837828478285782867828778288782897829078291782927829378294782957829678297782987829978300783017830278303783047830578306783077830878309783107831178312783137831478315783167831778318783197832078321783227832378324783257832678327783287832978330783317833278333783347833578336783377833878339783407834178342783437834478345783467834778348783497835078351783527835378354783557835678357783587835978360783617836278363783647836578366783677836878369783707837178372783737837478375783767837778378783797838078381783827838378384783857838678387783887838978390783917839278393783947839578396783977839878399784007840178402784037840478405784067840778408784097841078411784127841378414784157841678417784187841978420784217842278423784247842578426784277842878429784307843178432784337843478435784367843778438784397844078441784427844378444784457844678447784487844978450784517845278453784547845578456784577845878459784607846178462784637846478465784667846778468784697847078471784727847378474784757847678477784787847978480784817848278483784847848578486784877848878489784907849178492784937849478495784967849778498784997850078501785027850378504785057850678507785087850978510785117851278513785147851578516785177851878519785207852178522785237852478525785267852778528785297853078531785327853378534785357853678537785387853978540785417854278543785447854578546785477854878549785507855178552785537855478555785567855778558785597856078561785627856378564785657856678567785687856978570785717857278573785747857578576785777857878579785807858178582785837858478585785867858778588785897859078591785927859378594785957859678597785987859978600786017860278603786047860578606786077860878609786107861178612786137861478615786167861778618786197862078621786227862378624786257862678627786287862978630786317863278633786347863578636786377863878639786407864178642786437864478645786467864778648786497865078651786527865378654786557865678657786587865978660786617866278663786647866578666786677866878669786707867178672786737867478675786767867778678786797868078681786827868378684786857868678687786887868978690786917869278693786947869578696786977869878699787007870178702787037870478705787067870778708787097871078711787127871378714787157871678717787187871978720787217872278723787247872578726787277872878729787307873178732787337873478735787367873778738787397874078741787427874378744787457874678747787487874978750787517875278753787547875578756787577875878759787607876178762787637876478765787667876778768787697877078771787727877378774787757877678777787787877978780787817878278783787847878578786787877878878789787907879178792787937879478795787967879778798787997880078801788027880378804788057880678807788087880978810788117881278813788147881578816788177881878819788207882178822788237882478825788267882778828788297883078831788327883378834788357883678837788387883978840788417884278843788447884578846788477884878849788507885178852788537885478855788567885778858788597886078861788627886378864788657886678867788687886978870788717887278873788747887578876788777887878879788807888178882788837888478885788867888778888788897889078891788927889378894788957889678897788987889978900789017890278903789047890578906789077890878909789107891178912789137891478915789167891778918789197892078921789227892378924789257892678927789287892978930789317893278933789347893578936789377893878939789407894178942789437894478945789467894778948789497895078951789527895378954789557895678957789587895978960789617896278963789647896578966789677896878969789707897178972789737897478975789767897778978789797898078981789827898378984789857898678987789887898978990789917899278993789947899578996789977899878999790007900179002790037900479005790067900779008790097901079011790127901379014790157901679017790187901979020790217902279023790247902579026790277902879029790307903179032790337903479035790367903779038790397904079041790427904379044790457904679047790487904979050790517905279053790547905579056790577905879059790607906179062790637906479065790667906779068790697907079071790727907379074790757907679077790787907979080790817908279083790847908579086790877908879089790907909179092790937909479095790967909779098790997910079101791027910379104791057910679107791087910979110791117911279113791147911579116791177911879119791207912179122791237912479125791267912779128791297913079131791327913379134791357913679137791387913979140791417914279143791447914579146791477914879149791507915179152791537915479155791567915779158791597916079161791627916379164791657916679167791687916979170791717917279173791747917579176791777917879179791807918179182791837918479185791867918779188791897919079191791927919379194791957919679197791987919979200792017920279203792047920579206792077920879209792107921179212792137921479215792167921779218792197922079221792227922379224792257922679227792287922979230792317923279233792347923579236792377923879239792407924179242792437924479245792467924779248792497925079251792527925379254792557925679257792587925979260792617926279263792647926579266792677926879269792707927179272792737927479275792767927779278792797928079281792827928379284792857928679287792887928979290792917929279293792947929579296792977929879299793007930179302793037930479305793067930779308793097931079311793127931379314793157931679317793187931979320793217932279323793247932579326793277932879329793307933179332793337933479335793367933779338793397934079341793427934379344793457934679347793487934979350793517935279353793547935579356793577935879359793607936179362793637936479365793667936779368793697937079371793727937379374793757937679377793787937979380793817938279383793847938579386793877938879389793907939179392793937939479395793967939779398793997940079401794027940379404794057940679407794087940979410794117941279413794147941579416794177941879419794207942179422794237942479425794267942779428794297943079431794327943379434794357943679437794387943979440794417944279443794447944579446794477944879449794507945179452794537945479455794567945779458794597946079461794627946379464794657946679467794687946979470794717947279473794747947579476794777947879479794807948179482794837948479485794867948779488794897949079491794927949379494794957949679497794987949979500795017950279503795047950579506795077950879509795107951179512795137951479515795167951779518795197952079521795227952379524795257952679527795287952979530795317953279533795347953579536795377953879539795407954179542795437954479545795467954779548795497955079551795527955379554795557955679557795587955979560795617956279563795647956579566795677956879569795707957179572795737957479575795767957779578795797958079581795827958379584795857958679587795887958979590795917959279593795947959579596795977959879599796007960179602796037960479605796067960779608796097961079611796127961379614796157961679617796187961979620796217962279623796247962579626796277962879629796307963179632796337963479635796367963779638796397964079641796427964379644796457964679647796487964979650796517965279653796547965579656796577965879659796607966179662796637966479665796667966779668796697967079671796727967379674796757967679677796787967979680796817968279683796847968579686796877968879689796907969179692796937969479695796967969779698796997970079701797027970379704797057970679707797087970979710797117971279713797147971579716797177971879719797207972179722797237972479725797267972779728797297973079731797327973379734797357973679737797387973979740797417974279743797447974579746797477974879749797507975179752797537975479755797567975779758797597976079761797627976379764797657976679767797687976979770797717977279773797747977579776797777977879779797807978179782797837978479785797867978779788797897979079791797927979379794797957979679797797987979979800798017980279803798047980579806798077980879809798107981179812798137981479815798167981779818798197982079821798227982379824798257982679827798287982979830798317983279833798347983579836798377983879839798407984179842798437984479845798467984779848798497985079851798527985379854798557985679857798587985979860798617986279863798647986579866798677986879869798707987179872798737987479875798767987779878798797988079881798827988379884798857988679887798887988979890798917989279893798947989579896798977989879899799007990179902799037990479905799067990779908799097991079911799127991379914799157991679917799187991979920799217992279923799247992579926799277992879929799307993179932799337993479935799367993779938799397994079941799427994379944799457994679947799487994979950799517995279953799547995579956799577995879959799607996179962799637996479965799667996779968799697997079971799727997379974799757997679977799787997979980799817998279983799847998579986799877998879989799907999179992799937999479995799967999779998799998000080001800028000380004800058000680007800088000980010800118001280013800148001580016800178001880019800208002180022800238002480025800268002780028800298003080031800328003380034800358003680037800388003980040800418004280043800448004580046800478004880049800508005180052800538005480055800568005780058800598006080061800628006380064800658006680067800688006980070800718007280073800748007580076800778007880079800808008180082800838008480085800868008780088800898009080091800928009380094800958009680097800988009980100801018010280103801048010580106801078010880109801108011180112801138011480115801168011780118801198012080121801228012380124801258012680127801288012980130801318013280133801348013580136801378013880139801408014180142801438014480145801468014780148801498015080151801528015380154801558015680157801588015980160801618016280163801648016580166801678016880169801708017180172801738017480175801768017780178801798018080181801828018380184801858018680187801888018980190801918019280193801948019580196801978019880199802008020180202802038020480205802068020780208802098021080211802128021380214802158021680217802188021980220802218022280223802248022580226802278022880229802308023180232802338023480235802368023780238802398024080241802428024380244802458024680247802488024980250802518025280253802548025580256802578025880259802608026180262802638026480265802668026780268802698027080271802728027380274802758027680277802788027980280802818028280283802848028580286802878028880289802908029180292802938029480295802968029780298802998030080301803028030380304803058030680307803088030980310803118031280313803148031580316803178031880319803208032180322803238032480325803268032780328803298033080331803328033380334803358033680337803388033980340803418034280343803448034580346803478034880349803508035180352803538035480355803568035780358803598036080361803628036380364803658036680367803688036980370803718037280373803748037580376803778037880379803808038180382803838038480385803868038780388803898039080391803928039380394803958039680397803988039980400804018040280403804048040580406804078040880409804108041180412804138041480415804168041780418804198042080421804228042380424804258042680427804288042980430804318043280433804348043580436804378043880439804408044180442804438044480445804468044780448804498045080451804528045380454804558045680457804588045980460804618046280463804648046580466804678046880469804708047180472804738047480475804768047780478804798048080481804828048380484804858048680487804888048980490804918049280493804948049580496804978049880499805008050180502805038050480505805068050780508805098051080511805128051380514805158051680517805188051980520805218052280523805248052580526805278052880529805308053180532805338053480535805368053780538805398054080541805428054380544805458054680547805488054980550805518055280553805548055580556805578055880559805608056180562805638056480565805668056780568805698057080571805728057380574805758057680577805788057980580805818058280583805848058580586805878058880589805908059180592805938059480595805968059780598805998060080601806028060380604806058060680607806088060980610806118061280613806148061580616806178061880619806208062180622806238062480625806268062780628806298063080631806328063380634806358063680637806388063980640806418064280643806448064580646806478064880649806508065180652806538065480655806568065780658806598066080661806628066380664806658066680667806688066980670806718067280673806748067580676806778067880679806808068180682806838068480685806868068780688806898069080691806928069380694806958069680697806988069980700807018070280703807048070580706807078070880709807108071180712807138071480715807168071780718807198072080721807228072380724807258072680727807288072980730807318073280733807348073580736807378073880739807408074180742807438074480745807468074780748807498075080751807528075380754807558075680757807588075980760807618076280763807648076580766807678076880769807708077180772807738077480775807768077780778807798078080781807828078380784807858078680787807888078980790807918079280793807948079580796807978079880799808008080180802808038080480805808068080780808808098081080811808128081380814808158081680817808188081980820808218082280823808248082580826808278082880829808308083180832808338083480835808368083780838808398084080841808428084380844808458084680847808488084980850808518085280853808548085580856808578085880859808608086180862808638086480865808668086780868808698087080871808728087380874808758087680877808788087980880808818088280883808848088580886808878088880889808908089180892808938089480895808968089780898808998090080901809028090380904809058090680907809088090980910809118091280913809148091580916809178091880919809208092180922809238092480925809268092780928809298093080931809328093380934809358093680937809388093980940809418094280943809448094580946809478094880949809508095180952809538095480955809568095780958809598096080961809628096380964809658096680967809688096980970809718097280973809748097580976809778097880979809808098180982809838098480985809868098780988809898099080991809928099380994809958099680997809988099981000810018100281003810048100581006810078100881009810108101181012810138101481015810168101781018810198102081021810228102381024810258102681027810288102981030810318103281033810348103581036810378103881039810408104181042810438104481045810468104781048810498105081051810528105381054810558105681057810588105981060810618106281063810648106581066810678106881069810708107181072810738107481075810768107781078810798108081081810828108381084810858108681087810888108981090810918109281093810948109581096810978109881099811008110181102811038110481105811068110781108811098111081111811128111381114811158111681117811188111981120811218112281123811248112581126811278112881129811308113181132811338113481135811368113781138811398114081141811428114381144811458114681147811488114981150811518115281153811548115581156811578115881159811608116181162811638116481165811668116781168811698117081171811728117381174811758117681177811788117981180811818118281183811848118581186811878118881189811908119181192811938119481195811968119781198811998120081201812028120381204812058120681207812088120981210812118121281213812148121581216812178121881219812208122181222812238122481225812268122781228812298123081231812328123381234812358123681237812388123981240812418124281243812448124581246812478124881249812508125181252812538125481255812568125781258812598126081261812628126381264812658126681267812688126981270812718127281273812748127581276812778127881279812808128181282812838128481285812868128781288812898129081291812928129381294812958129681297812988129981300813018130281303813048130581306813078130881309813108131181312813138131481315813168131781318813198132081321813228132381324813258132681327813288132981330813318133281333813348133581336813378133881339813408134181342813438134481345813468134781348813498135081351813528135381354813558135681357813588135981360813618136281363813648136581366813678136881369813708137181372813738137481375813768137781378813798138081381813828138381384813858138681387813888138981390813918139281393813948139581396813978139881399814008140181402814038140481405814068140781408814098141081411814128141381414814158141681417814188141981420814218142281423814248142581426814278142881429814308143181432814338143481435814368143781438814398144081441814428144381444814458144681447814488144981450814518145281453814548145581456814578145881459814608146181462814638146481465814668146781468814698147081471814728147381474814758147681477814788147981480814818148281483814848148581486814878148881489814908149181492814938149481495814968149781498814998150081501815028150381504815058150681507815088150981510815118151281513815148151581516815178151881519815208152181522815238152481525815268152781528815298153081531815328153381534815358153681537815388153981540815418154281543815448154581546815478154881549815508155181552815538155481555815568155781558815598156081561815628156381564815658156681567815688156981570815718157281573815748157581576815778157881579815808158181582815838158481585815868158781588815898159081591815928159381594815958159681597815988159981600816018160281603816048160581606816078160881609816108161181612816138161481615816168161781618816198162081621816228162381624816258162681627816288162981630816318163281633816348163581636816378163881639816408164181642816438164481645816468164781648816498165081651816528165381654816558165681657816588165981660816618166281663816648166581666816678166881669816708167181672816738167481675816768167781678816798168081681816828168381684816858168681687816888168981690816918169281693816948169581696816978169881699817008170181702817038170481705817068170781708817098171081711817128171381714817158171681717817188171981720817218172281723817248172581726817278172881729817308173181732817338173481735817368173781738817398174081741817428174381744817458174681747817488174981750817518175281753817548175581756817578175881759817608176181762817638176481765817668176781768817698177081771817728177381774817758177681777817788177981780817818178281783817848178581786817878178881789817908179181792817938179481795817968179781798817998180081801818028180381804818058180681807818088180981810818118181281813818148181581816818178181881819818208182181822818238182481825818268182781828818298183081831818328183381834818358183681837818388183981840818418184281843818448184581846818478184881849818508185181852818538185481855818568185781858818598186081861818628186381864818658186681867818688186981870818718187281873818748187581876818778187881879818808188181882818838188481885818868188781888818898189081891818928189381894818958189681897818988189981900819018190281903819048190581906819078190881909819108191181912819138191481915819168191781918819198192081921819228192381924819258192681927819288192981930819318193281933819348193581936819378193881939819408194181942819438194481945819468194781948819498195081951819528195381954819558195681957819588195981960819618196281963819648196581966819678196881969819708197181972819738197481975819768197781978819798198081981819828198381984819858198681987819888198981990819918199281993819948199581996819978199881999820008200182002820038200482005820068200782008820098201082011820128201382014820158201682017820188201982020820218202282023820248202582026820278202882029820308203182032820338203482035820368203782038820398204082041820428204382044820458204682047820488204982050820518205282053820548205582056820578205882059820608206182062820638206482065820668206782068820698207082071820728207382074820758207682077820788207982080820818208282083820848208582086820878208882089820908209182092820938209482095820968209782098820998210082101821028210382104821058210682107821088210982110821118211282113821148211582116821178211882119821208212182122821238212482125821268212782128821298213082131821328213382134821358213682137821388213982140821418214282143821448214582146821478214882149821508215182152821538215482155821568215782158821598216082161821628216382164821658216682167821688216982170821718217282173821748217582176821778217882179821808218182182821838218482185821868218782188821898219082191821928219382194821958219682197821988219982200822018220282203822048220582206822078220882209822108221182212822138221482215822168221782218822198222082221822228222382224822258222682227822288222982230822318223282233822348223582236822378223882239822408224182242822438224482245822468224782248822498225082251822528225382254822558225682257822588225982260822618226282263822648226582266822678226882269822708227182272822738227482275822768227782278822798228082281822828228382284822858228682287822888228982290822918229282293822948229582296822978229882299823008230182302823038230482305823068230782308823098231082311823128231382314823158231682317823188231982320823218232282323823248232582326823278232882329823308233182332823338233482335823368233782338823398234082341823428234382344823458234682347823488234982350823518235282353823548235582356823578235882359823608236182362823638236482365823668236782368823698237082371823728237382374823758237682377823788237982380823818238282383823848238582386823878238882389823908239182392823938239482395823968239782398823998240082401824028240382404824058240682407824088240982410824118241282413824148241582416824178241882419824208242182422824238242482425824268242782428824298243082431824328243382434824358243682437824388243982440824418244282443824448244582446824478244882449824508245182452824538245482455824568245782458824598246082461824628246382464824658246682467824688246982470824718247282473824748247582476824778247882479824808248182482824838248482485824868248782488824898249082491824928249382494824958249682497824988249982500825018250282503825048250582506825078250882509825108251182512825138251482515825168251782518825198252082521825228252382524825258252682527825288252982530825318253282533825348253582536825378253882539825408254182542825438254482545825468254782548825498255082551825528255382554825558255682557825588255982560825618256282563825648256582566825678256882569825708257182572825738257482575825768257782578825798258082581825828258382584825858258682587825888258982590825918259282593825948259582596825978259882599826008260182602826038260482605826068260782608826098261082611826128261382614826158261682617826188261982620826218262282623826248262582626826278262882629826308263182632826338263482635826368263782638826398264082641826428264382644826458264682647826488264982650826518265282653826548265582656826578265882659826608266182662826638266482665826668266782668826698267082671826728267382674826758267682677826788267982680826818268282683826848268582686826878268882689826908269182692826938269482695826968269782698826998270082701827028270382704827058270682707827088270982710827118271282713827148271582716827178271882719827208272182722827238272482725827268272782728827298273082731827328273382734827358273682737827388273982740827418274282743827448274582746827478274882749827508275182752827538275482755827568275782758827598276082761827628276382764827658276682767827688276982770827718277282773827748277582776827778277882779827808278182782827838278482785827868278782788827898279082791827928279382794827958279682797827988279982800828018280282803828048280582806828078280882809828108281182812828138281482815828168281782818828198282082821828228282382824828258282682827828288282982830828318283282833828348283582836828378283882839828408284182842828438284482845828468284782848828498285082851828528285382854828558285682857828588285982860828618286282863828648286582866828678286882869828708287182872828738287482875828768287782878828798288082881828828288382884828858288682887828888288982890828918289282893828948289582896828978289882899829008290182902829038290482905829068290782908829098291082911829128291382914829158291682917829188291982920829218292282923829248292582926829278292882929829308293182932829338293482935829368293782938829398294082941829428294382944829458294682947829488294982950829518295282953829548295582956829578295882959829608296182962829638296482965829668296782968829698297082971829728297382974829758297682977829788297982980829818298282983829848298582986829878298882989829908299182992829938299482995829968299782998829998300083001830028300383004830058300683007830088300983010830118301283013830148301583016830178301883019830208302183022830238302483025830268302783028830298303083031830328303383034830358303683037830388303983040830418304283043830448304583046830478304883049830508305183052830538305483055830568305783058830598306083061830628306383064830658306683067830688306983070830718307283073830748307583076830778307883079830808308183082830838308483085830868308783088830898309083091830928309383094830958309683097830988309983100831018310283103831048310583106831078310883109831108311183112831138311483115831168311783118831198312083121831228312383124831258312683127831288312983130831318313283133831348313583136831378313883139831408314183142831438314483145831468314783148831498315083151831528315383154831558315683157831588315983160831618316283163831648316583166831678316883169831708317183172831738317483175831768317783178831798318083181831828318383184831858318683187831888318983190831918319283193831948319583196831978319883199832008320183202832038320483205832068320783208832098321083211832128321383214832158321683217832188321983220832218322283223832248322583226832278322883229832308323183232832338323483235832368323783238832398324083241832428324383244832458324683247832488324983250832518325283253832548325583256832578325883259832608326183262832638326483265832668326783268832698327083271832728327383274832758327683277832788327983280832818328283283832848328583286832878328883289832908329183292832938329483295832968329783298832998330083301833028330383304833058330683307833088330983310833118331283313833148331583316833178331883319833208332183322833238332483325833268332783328833298333083331833328333383334833358333683337833388333983340833418334283343833448334583346833478334883349833508335183352833538335483355833568335783358833598336083361833628336383364833658336683367833688336983370833718337283373833748337583376833778337883379833808338183382833838338483385833868338783388833898339083391833928339383394833958339683397833988339983400834018340283403834048340583406834078340883409834108341183412834138341483415834168341783418834198342083421834228342383424834258342683427834288342983430834318343283433834348343583436834378343883439834408344183442834438344483445834468344783448834498345083451834528345383454834558345683457834588345983460834618346283463834648346583466834678346883469834708347183472834738347483475834768347783478834798348083481834828348383484834858348683487834888348983490834918349283493834948349583496834978349883499835008350183502835038350483505835068350783508835098351083511835128351383514835158351683517835188351983520835218352283523835248352583526835278352883529835308353183532835338353483535835368353783538835398354083541835428354383544835458354683547835488354983550835518355283553835548355583556835578355883559835608356183562835638356483565835668356783568835698357083571835728357383574835758357683577835788357983580835818358283583835848358583586835878358883589835908359183592835938359483595835968359783598835998360083601836028360383604836058360683607836088360983610836118361283613836148361583616836178361883619836208362183622836238362483625836268362783628836298363083631836328363383634836358363683637836388363983640836418364283643836448364583646836478364883649836508365183652836538365483655836568365783658836598366083661836628366383664836658366683667836688366983670836718367283673836748367583676836778367883679836808368183682836838368483685836868368783688836898369083691836928369383694836958369683697836988369983700837018370283703837048370583706837078370883709837108371183712837138371483715837168371783718837198372083721837228372383724837258372683727837288372983730837318373283733837348373583736837378373883739837408374183742837438374483745837468374783748837498375083751837528375383754837558375683757837588375983760837618376283763837648376583766837678376883769837708377183772837738377483775837768377783778837798378083781837828378383784837858378683787837888378983790837918379283793837948379583796837978379883799838008380183802838038380483805838068380783808838098381083811838128381383814838158381683817838188381983820838218382283823838248382583826838278382883829838308383183832838338383483835838368383783838838398384083841838428384383844838458384683847838488384983850838518385283853838548385583856838578385883859838608386183862838638386483865838668386783868838698387083871838728387383874838758387683877838788387983880838818388283883838848388583886838878388883889838908389183892838938389483895838968389783898838998390083901839028390383904839058390683907839088390983910839118391283913839148391583916839178391883919839208392183922839238392483925839268392783928839298393083931839328393383934839358393683937839388393983940839418394283943839448394583946839478394883949839508395183952839538395483955839568395783958839598396083961839628396383964839658396683967839688396983970839718397283973839748397583976839778397883979839808398183982839838398483985839868398783988839898399083991839928399383994839958399683997839988399984000840018400284003840048400584006840078400884009840108401184012840138401484015840168401784018840198402084021840228402384024840258402684027840288402984030840318403284033840348403584036840378403884039840408404184042840438404484045840468404784048840498405084051840528405384054840558405684057840588405984060840618406284063840648406584066840678406884069840708407184072840738407484075840768407784078840798408084081840828408384084840858408684087840888408984090840918409284093840948409584096840978409884099841008410184102841038410484105841068410784108841098411084111841128411384114841158411684117841188411984120841218412284123841248412584126841278412884129841308413184132841338413484135841368413784138841398414084141841428414384144841458414684147841488414984150841518415284153841548415584156841578415884159841608416184162841638416484165841668416784168841698417084171841728417384174841758417684177841788417984180841818418284183841848418584186841878418884189841908419184192841938419484195841968419784198841998420084201842028420384204842058420684207842088420984210842118421284213842148421584216842178421884219842208422184222842238422484225842268422784228842298423084231842328423384234842358423684237842388423984240842418424284243842448424584246842478424884249842508425184252842538425484255842568425784258842598426084261842628426384264842658426684267842688426984270842718427284273842748427584276842778427884279842808428184282842838428484285842868428784288842898429084291842928429384294842958429684297842988429984300843018430284303843048430584306843078430884309843108431184312843138431484315843168431784318843198432084321843228432384324843258432684327843288432984330843318433284333843348433584336843378433884339843408434184342843438434484345843468434784348843498435084351843528435384354843558435684357843588435984360843618436284363843648436584366843678436884369843708437184372843738437484375843768437784378843798438084381843828438384384843858438684387843888438984390843918439284393843948439584396843978439884399844008440184402844038440484405844068440784408844098441084411844128441384414844158441684417844188441984420844218442284423844248442584426844278442884429844308443184432844338443484435844368443784438844398444084441844428444384444844458444684447844488444984450844518445284453844548445584456844578445884459844608446184462844638446484465844668446784468844698447084471844728447384474844758447684477844788447984480844818448284483844848448584486844878448884489844908449184492844938449484495844968449784498844998450084501845028450384504845058450684507845088450984510845118451284513845148451584516845178451884519845208452184522845238452484525845268452784528845298453084531845328453384534845358453684537845388453984540845418454284543845448454584546845478454884549845508455184552845538455484555845568455784558845598456084561845628456384564845658456684567845688456984570845718457284573845748457584576845778457884579845808458184582845838458484585845868458784588845898459084591845928459384594845958459684597845988459984600846018460284603846048460584606846078460884609846108461184612846138461484615846168461784618846198462084621846228462384624846258462684627846288462984630846318463284633846348463584636846378463884639846408464184642846438464484645846468464784648846498465084651846528465384654846558465684657846588465984660846618466284663846648466584666846678466884669846708467184672846738467484675846768467784678846798468084681846828468384684846858468684687846888468984690846918469284693846948469584696846978469884699847008470184702847038470484705847068470784708847098471084711847128471384714847158471684717847188471984720847218472284723847248472584726847278472884729847308473184732847338473484735847368473784738847398474084741847428474384744847458474684747847488474984750847518475284753847548475584756847578475884759847608476184762847638476484765847668476784768847698477084771847728477384774847758477684777847788477984780847818478284783847848478584786847878478884789847908479184792847938479484795847968479784798847998480084801848028480384804848058480684807848088480984810848118481284813848148481584816848178481884819848208482184822848238482484825848268482784828848298483084831848328483384834848358483684837848388483984840848418484284843848448484584846848478484884849848508485184852848538485484855848568485784858848598486084861848628486384864848658486684867848688486984870848718487284873848748487584876848778487884879848808488184882848838488484885848868488784888848898489084891848928489384894848958489684897848988489984900849018490284903849048490584906849078490884909849108491184912849138491484915849168491784918849198492084921849228492384924849258492684927849288492984930849318493284933849348493584936849378493884939849408494184942849438494484945849468494784948849498495084951849528495384954849558495684957849588495984960849618496284963849648496584966849678496884969849708497184972849738497484975849768497784978849798498084981849828498384984849858498684987849888498984990849918499284993849948499584996849978499884999850008500185002850038500485005850068500785008850098501085011850128501385014850158501685017850188501985020850218502285023850248502585026850278502885029850308503185032850338503485035850368503785038850398504085041850428504385044850458504685047850488504985050850518505285053850548505585056850578505885059850608506185062850638506485065850668506785068850698507085071850728507385074850758507685077850788507985080850818508285083850848508585086850878508885089850908509185092850938509485095850968509785098850998510085101851028510385104851058510685107851088510985110851118511285113851148511585116851178511885119851208512185122851238512485125851268512785128851298513085131851328513385134851358513685137851388513985140851418514285143851448514585146851478514885149851508515185152851538515485155851568515785158851598516085161851628516385164851658516685167851688516985170851718517285173851748517585176851778517885179851808518185182851838518485185851868518785188851898519085191851928519385194851958519685197851988519985200852018520285203852048520585206852078520885209852108521185212852138521485215852168521785218852198522085221852228522385224852258522685227852288522985230852318523285233852348523585236852378523885239852408524185242852438524485245852468524785248852498525085251852528525385254852558525685257852588525985260852618526285263852648526585266852678526885269852708527185272852738527485275852768527785278852798528085281852828528385284852858528685287852888528985290852918529285293852948529585296852978529885299853008530185302853038530485305853068530785308853098531085311853128531385314853158531685317853188531985320853218532285323853248532585326853278532885329853308533185332853338533485335853368533785338853398534085341853428534385344853458534685347853488534985350853518535285353853548535585356853578535885359853608536185362853638536485365853668536785368853698537085371853728537385374853758537685377853788537985380853818538285383853848538585386853878538885389853908539185392853938539485395853968539785398853998540085401854028540385404854058540685407854088540985410854118541285413854148541585416854178541885419854208542185422854238542485425854268542785428854298543085431854328543385434854358543685437854388543985440854418544285443854448544585446854478544885449854508545185452854538545485455854568545785458854598546085461854628546385464854658546685467854688546985470854718547285473854748547585476854778547885479854808548185482854838548485485854868548785488854898549085491854928549385494854958549685497854988549985500855018550285503855048550585506855078550885509855108551185512855138551485515855168551785518855198552085521855228552385524855258552685527855288552985530855318553285533855348553585536855378553885539855408554185542855438554485545855468554785548855498555085551855528555385554855558555685557855588555985560855618556285563855648556585566855678556885569855708557185572855738557485575855768557785578855798558085581855828558385584855858558685587855888558985590855918559285593855948559585596855978559885599856008560185602856038560485605856068560785608856098561085611856128561385614856158561685617856188561985620856218562285623856248562585626856278562885629856308563185632856338563485635856368563785638856398564085641856428564385644856458564685647856488564985650856518565285653856548565585656856578565885659856608566185662856638566485665856668566785668856698567085671856728567385674856758567685677856788567985680856818568285683856848568585686856878568885689856908569185692856938569485695856968569785698856998570085701857028570385704857058570685707857088570985710857118571285713857148571585716857178571885719857208572185722857238572485725857268572785728857298573085731857328573385734857358573685737857388573985740857418574285743857448574585746857478574885749857508575185752857538575485755857568575785758857598576085761857628576385764857658576685767857688576985770857718577285773857748577585776857778577885779857808578185782857838578485785857868578785788857898579085791857928579385794857958579685797857988579985800858018580285803858048580585806858078580885809858108581185812858138581485815858168581785818858198582085821858228582385824858258582685827858288582985830858318583285833858348583585836858378583885839858408584185842858438584485845858468584785848858498585085851858528585385854858558585685857858588585985860858618586285863858648586585866858678586885869858708587185872858738587485875858768587785878858798588085881858828588385884858858588685887858888588985890858918589285893858948589585896858978589885899859008590185902859038590485905859068590785908859098591085911859128591385914859158591685917859188591985920859218592285923859248592585926859278592885929859308593185932859338593485935859368593785938859398594085941859428594385944859458594685947859488594985950859518595285953859548595585956859578595885959859608596185962859638596485965859668596785968859698597085971859728597385974859758597685977859788597985980859818598285983859848598585986859878598885989859908599185992859938599485995859968599785998859998600086001860028600386004860058600686007860088600986010860118601286013860148601586016860178601886019860208602186022860238602486025860268602786028860298603086031860328603386034860358603686037860388603986040860418604286043860448604586046860478604886049860508605186052860538605486055860568605786058860598606086061860628606386064860658606686067860688606986070860718607286073860748607586076860778607886079860808608186082860838608486085860868608786088860898609086091860928609386094860958609686097860988609986100861018610286103861048610586106861078610886109861108611186112861138611486115861168611786118861198612086121861228612386124861258612686127861288612986130861318613286133861348613586136861378613886139861408614186142861438614486145861468614786148861498615086151861528615386154861558615686157861588615986160861618616286163861648616586166861678616886169861708617186172861738617486175861768617786178861798618086181861828618386184861858618686187861888618986190861918619286193861948619586196861978619886199862008620186202862038620486205862068620786208862098621086211862128621386214862158621686217862188621986220862218622286223862248622586226862278622886229862308623186232862338623486235862368623786238862398624086241862428624386244862458624686247862488624986250862518625286253862548625586256862578625886259862608626186262862638626486265862668626786268862698627086271862728627386274862758627686277862788627986280862818628286283862848628586286862878628886289862908629186292862938629486295862968629786298862998630086301863028630386304863058630686307863088630986310863118631286313863148631586316863178631886319863208632186322863238632486325863268632786328863298633086331863328633386334863358633686337863388633986340863418634286343863448634586346863478634886349863508635186352863538635486355863568635786358863598636086361863628636386364863658636686367863688636986370863718637286373863748637586376863778637886379863808638186382863838638486385863868638786388863898639086391863928639386394863958639686397863988639986400864018640286403864048640586406864078640886409864108641186412864138641486415864168641786418864198642086421864228642386424864258642686427864288642986430864318643286433864348643586436864378643886439864408644186442864438644486445864468644786448864498645086451864528645386454864558645686457864588645986460864618646286463864648646586466864678646886469864708647186472864738647486475864768647786478864798648086481864828648386484864858648686487864888648986490864918649286493864948649586496864978649886499865008650186502865038650486505865068650786508865098651086511865128651386514865158651686517865188651986520865218652286523865248652586526865278652886529865308653186532865338653486535865368653786538865398654086541865428654386544865458654686547865488654986550865518655286553865548655586556865578655886559865608656186562865638656486565865668656786568865698657086571865728657386574865758657686577865788657986580865818658286583865848658586586865878658886589865908659186592865938659486595865968659786598865998660086601866028660386604866058660686607866088660986610866118661286613866148661586616866178661886619866208662186622866238662486625866268662786628866298663086631866328663386634866358663686637866388663986640866418664286643866448664586646866478664886649866508665186652866538665486655866568665786658866598666086661866628666386664866658666686667866688666986670866718667286673866748667586676866778667886679866808668186682866838668486685866868668786688866898669086691866928669386694866958669686697866988669986700867018670286703867048670586706867078670886709867108671186712867138671486715867168671786718867198672086721867228672386724867258672686727867288672986730867318673286733867348673586736867378673886739867408674186742867438674486745867468674786748867498675086751867528675386754867558675686757867588675986760867618676286763867648676586766867678676886769867708677186772867738677486775867768677786778867798678086781867828678386784867858678686787867888678986790867918679286793867948679586796867978679886799868008680186802868038680486805868068680786808868098681086811868128681386814868158681686817868188681986820868218682286823868248682586826868278682886829868308683186832868338683486835868368683786838868398684086841868428684386844868458684686847868488684986850868518685286853868548685586856868578685886859868608686186862868638686486865868668686786868868698687086871868728687386874868758687686877868788687986880868818688286883868848688586886868878688886889868908689186892868938689486895868968689786898868998690086901869028690386904869058690686907869088690986910869118691286913869148691586916869178691886919869208692186922869238692486925869268692786928869298693086931869328693386934869358693686937869388693986940869418694286943869448694586946869478694886949869508695186952869538695486955869568695786958869598696086961869628696386964869658696686967869688696986970869718697286973869748697586976869778697886979869808698186982869838698486985869868698786988869898699086991869928699386994869958699686997869988699987000870018700287003870048700587006870078700887009870108701187012870138701487015870168701787018870198702087021870228702387024870258702687027870288702987030870318703287033870348703587036870378703887039870408704187042870438704487045870468704787048870498705087051870528705387054870558705687057870588705987060870618706287063870648706587066870678706887069870708707187072870738707487075870768707787078870798708087081870828708387084870858708687087870888708987090870918709287093870948709587096870978709887099871008710187102871038710487105871068710787108871098711087111871128711387114871158711687117871188711987120871218712287123871248712587126871278712887129871308713187132871338713487135871368713787138871398714087141871428714387144871458714687147871488714987150871518715287153871548715587156871578715887159871608716187162871638716487165871668716787168871698717087171871728717387174871758717687177871788717987180871818718287183871848718587186871878718887189871908719187192871938719487195871968719787198871998720087201872028720387204872058720687207872088720987210872118721287213872148721587216872178721887219872208722187222872238722487225872268722787228872298723087231872328723387234872358723687237872388723987240872418724287243872448724587246872478724887249872508725187252872538725487255872568725787258872598726087261872628726387264872658726687267872688726987270872718727287273872748727587276872778727887279872808728187282872838728487285872868728787288872898729087291872928729387294872958729687297872988729987300873018730287303873048730587306873078730887309873108731187312873138731487315873168731787318873198732087321873228732387324873258732687327873288732987330873318733287333873348733587336873378733887339873408734187342873438734487345873468734787348873498735087351873528735387354873558735687357873588735987360873618736287363873648736587366873678736887369873708737187372873738737487375873768737787378873798738087381873828738387384873858738687387873888738987390873918739287393873948739587396873978739887399874008740187402874038740487405874068740787408874098741087411874128741387414874158741687417874188741987420874218742287423874248742587426874278742887429874308743187432874338743487435874368743787438874398744087441874428744387444874458744687447874488744987450874518745287453874548745587456874578745887459874608746187462874638746487465874668746787468874698747087471874728747387474874758747687477874788747987480874818748287483874848748587486874878748887489874908749187492874938749487495874968749787498874998750087501875028750387504875058750687507875088750987510875118751287513875148751587516875178751887519875208752187522875238752487525875268752787528875298753087531875328753387534875358753687537875388753987540875418754287543875448754587546875478754887549875508755187552875538755487555875568755787558875598756087561875628756387564875658756687567875688756987570875718757287573875748757587576875778757887579875808758187582875838758487585875868758787588875898759087591875928759387594875958759687597875988759987600876018760287603876048760587606876078760887609876108761187612876138761487615876168761787618876198762087621876228762387624876258762687627876288762987630876318763287633876348763587636876378763887639876408764187642876438764487645876468764787648876498765087651876528765387654876558765687657876588765987660876618766287663876648766587666876678766887669876708767187672876738767487675876768767787678876798768087681876828768387684876858768687687876888768987690876918769287693876948769587696876978769887699877008770187702877038770487705877068770787708877098771087711877128771387714877158771687717877188771987720877218772287723877248772587726877278772887729877308773187732877338773487735877368773787738877398774087741877428774387744877458774687747877488774987750877518775287753877548775587756877578775887759877608776187762877638776487765877668776787768877698777087771877728777387774877758777687777877788777987780877818778287783877848778587786877878778887789877908779187792877938779487795877968779787798877998780087801878028780387804878058780687807878088780987810878118781287813878148781587816878178781887819878208782187822878238782487825878268782787828878298783087831878328783387834878358783687837878388783987840878418784287843878448784587846878478784887849878508785187852878538785487855878568785787858878598786087861878628786387864878658786687867878688786987870878718787287873878748787587876878778787887879878808788187882878838788487885878868788787888878898789087891878928789387894878958789687897878988789987900879018790287903879048790587906879078790887909879108791187912879138791487915879168791787918879198792087921879228792387924879258792687927879288792987930879318793287933879348793587936879378793887939879408794187942879438794487945879468794787948879498795087951879528795387954879558795687957879588795987960879618796287963879648796587966879678796887969879708797187972879738797487975879768797787978879798798087981879828798387984879858798687987879888798987990879918799287993879948799587996879978799887999880008800188002880038800488005880068800788008880098801088011880128801388014880158801688017880188801988020880218802288023880248802588026880278802888029880308803188032880338803488035880368803788038880398804088041880428804388044880458804688047880488804988050880518805288053880548805588056880578805888059880608806188062880638806488065880668806788068880698807088071880728807388074880758807688077880788807988080880818808288083880848808588086880878808888089880908809188092880938809488095880968809788098880998810088101881028810388104881058810688107881088810988110881118811288113881148811588116881178811888119881208812188122881238812488125881268812788128881298813088131881328813388134881358813688137881388813988140881418814288143881448814588146881478814888149881508815188152881538815488155881568815788158881598816088161881628816388164881658816688167881688816988170881718817288173881748817588176881778817888179881808818188182881838818488185881868818788188881898819088191881928819388194881958819688197881988819988200882018820288203882048820588206882078820888209882108821188212882138821488215882168821788218882198822088221882228822388224882258822688227882288822988230882318823288233882348823588236882378823888239882408824188242882438824488245882468824788248882498825088251882528825388254882558825688257882588825988260882618826288263882648826588266882678826888269882708827188272882738827488275882768827788278882798828088281882828828388284882858828688287882888828988290882918829288293882948829588296882978829888299883008830188302883038830488305883068830788308883098831088311883128831388314883158831688317883188831988320883218832288323883248832588326883278832888329883308833188332883338833488335883368833788338883398834088341883428834388344883458834688347883488834988350883518835288353883548835588356883578835888359883608836188362883638836488365883668836788368883698837088371883728837388374883758837688377883788837988380883818838288383883848838588386883878838888389883908839188392883938839488395883968839788398883998840088401884028840388404884058840688407884088840988410884118841288413884148841588416884178841888419884208842188422884238842488425884268842788428884298843088431884328843388434884358843688437884388843988440884418844288443884448844588446884478844888449884508845188452884538845488455884568845788458884598846088461884628846388464884658846688467884688846988470884718847288473884748847588476884778847888479884808848188482884838848488485884868848788488884898849088491884928849388494884958849688497884988849988500885018850288503885048850588506885078850888509885108851188512885138851488515885168851788518885198852088521885228852388524885258852688527885288852988530885318853288533885348853588536885378853888539885408854188542885438854488545885468854788548885498855088551885528855388554885558855688557885588855988560885618856288563885648856588566885678856888569885708857188572885738857488575885768857788578885798858088581885828858388584885858858688587885888858988590885918859288593885948859588596885978859888599886008860188602886038860488605886068860788608886098861088611886128861388614886158861688617886188861988620886218862288623886248862588626886278862888629886308863188632886338863488635886368863788638886398864088641886428864388644886458864688647886488864988650886518865288653886548865588656886578865888659886608866188662886638866488665886668866788668886698867088671886728867388674886758867688677886788867988680886818868288683886848868588686886878868888689886908869188692886938869488695886968869788698886998870088701887028870388704887058870688707887088870988710887118871288713887148871588716887178871888719887208872188722887238872488725887268872788728887298873088731887328873388734887358873688737887388873988740887418874288743887448874588746887478874888749887508875188752887538875488755887568875788758887598876088761887628876388764887658876688767887688876988770887718877288773887748877588776887778877888779887808878188782887838878488785887868878788788887898879088791887928879388794887958879688797887988879988800888018880288803888048880588806888078880888809888108881188812888138881488815888168881788818888198882088821888228882388824888258882688827888288882988830888318883288833888348883588836888378883888839888408884188842888438884488845888468884788848888498885088851888528885388854888558885688857888588885988860888618886288863888648886588866888678886888869888708887188872888738887488875888768887788878888798888088881888828888388884888858888688887888888888988890888918889288893888948889588896888978889888899889008890188902889038890488905889068890788908889098891088911889128891388914889158891688917889188891988920889218892288923889248892588926889278892888929889308893188932889338893488935889368893788938889398894088941889428894388944889458894688947889488894988950889518895288953889548895588956889578895888959889608896188962889638896488965889668896788968889698897088971889728897388974889758897688977889788897988980889818898288983889848898588986889878898888989889908899188992889938899488995889968899788998889998900089001890028900389004890058900689007890088900989010890118901289013890148901589016890178901889019890208902189022890238902489025890268902789028890298903089031890328903389034890358903689037890388903989040890418904289043890448904589046890478904889049890508905189052890538905489055890568905789058890598906089061890628906389064890658906689067890688906989070890718907289073890748907589076890778907889079890808908189082890838908489085890868908789088890898909089091890928909389094890958909689097890988909989100891018910289103891048910589106891078910889109891108911189112891138911489115891168911789118891198912089121891228912389124891258912689127891288912989130891318913289133891348913589136891378913889139891408914189142891438914489145891468914789148891498915089151891528915389154891558915689157891588915989160891618916289163891648916589166891678916889169891708917189172891738917489175891768917789178891798918089181891828918389184891858918689187891888918989190891918919289193891948919589196891978919889199892008920189202892038920489205892068920789208892098921089211892128921389214892158921689217892188921989220892218922289223892248922589226892278922889229892308923189232892338923489235892368923789238892398924089241892428924389244892458924689247892488924989250892518925289253892548925589256892578925889259892608926189262892638926489265892668926789268892698927089271892728927389274892758927689277892788927989280892818928289283892848928589286892878928889289892908929189292892938929489295892968929789298892998930089301893028930389304893058930689307893088930989310893118931289313893148931589316893178931889319893208932189322893238932489325893268932789328893298933089331893328933389334893358933689337893388933989340893418934289343893448934589346893478934889349893508935189352893538935489355893568935789358893598936089361893628936389364893658936689367893688936989370893718937289373893748937589376893778937889379893808938189382893838938489385893868938789388893898939089391893928939389394893958939689397893988939989400894018940289403894048940589406894078940889409894108941189412894138941489415894168941789418894198942089421894228942389424894258942689427894288942989430894318943289433894348943589436894378943889439894408944189442894438944489445894468944789448894498945089451894528945389454894558945689457894588945989460894618946289463894648946589466894678946889469894708947189472894738947489475894768947789478894798948089481894828948389484894858948689487894888948989490894918949289493894948949589496894978949889499895008950189502895038950489505895068950789508895098951089511895128951389514895158951689517895188951989520895218952289523895248952589526895278952889529895308953189532895338953489535895368953789538895398954089541895428954389544895458954689547895488954989550895518955289553895548955589556895578955889559895608956189562895638956489565895668956789568895698957089571895728957389574895758957689577895788957989580895818958289583895848958589586895878958889589895908959189592895938959489595895968959789598895998960089601896028960389604896058960689607896088960989610896118961289613896148961589616896178961889619896208962189622896238962489625896268962789628896298963089631896328963389634896358963689637896388963989640896418964289643896448964589646896478964889649896508965189652896538965489655896568965789658896598966089661896628966389664896658966689667896688966989670896718967289673896748967589676896778967889679896808968189682896838968489685896868968789688896898969089691896928969389694896958969689697896988969989700897018970289703897048970589706897078970889709897108971189712897138971489715897168971789718897198972089721897228972389724897258972689727897288972989730897318973289733897348973589736897378973889739897408974189742897438974489745897468974789748897498975089751897528975389754897558975689757897588975989760897618976289763897648976589766897678976889769897708977189772897738977489775897768977789778897798978089781897828978389784897858978689787897888978989790897918979289793897948979589796897978979889799898008980189802898038980489805898068980789808898098981089811898128981389814898158981689817898188981989820898218982289823898248982589826898278982889829898308983189832898338983489835898368983789838898398984089841898428984389844898458984689847898488984989850898518985289853898548985589856898578985889859898608986189862898638986489865898668986789868898698987089871898728987389874898758987689877898788987989880898818988289883898848988589886898878988889889898908989189892898938989489895898968989789898898998990089901899028990389904899058990689907899088990989910899118991289913899148991589916899178991889919899208992189922899238992489925899268992789928899298993089931899328993389934899358993689937899388993989940899418994289943899448994589946899478994889949899508995189952899538995489955899568995789958899598996089961899628996389964899658996689967899688996989970899718997289973899748997589976899778997889979899808998189982899838998489985899868998789988899898999089991899928999389994899958999689997899988999990000900019000290003900049000590006900079000890009900109001190012900139001490015900169001790018900199002090021900229002390024900259002690027900289002990030900319003290033900349003590036900379003890039900409004190042900439004490045900469004790048900499005090051900529005390054900559005690057900589005990060900619006290063900649006590066900679006890069900709007190072900739007490075900769007790078900799008090081900829008390084900859008690087900889008990090900919009290093900949009590096900979009890099901009010190102901039010490105901069010790108901099011090111901129011390114901159011690117901189011990120901219012290123901249012590126901279012890129901309013190132901339013490135901369013790138901399014090141901429014390144901459014690147901489014990150901519015290153901549015590156901579015890159901609016190162901639016490165901669016790168901699017090171901729017390174901759017690177901789017990180901819018290183901849018590186901879018890189901909019190192901939019490195901969019790198901999020090201902029020390204902059020690207902089020990210902119021290213902149021590216902179021890219902209022190222902239022490225902269022790228902299023090231902329023390234902359023690237902389023990240902419024290243902449024590246902479024890249902509025190252902539025490255902569025790258902599026090261902629026390264902659026690267902689026990270902719027290273902749027590276902779027890279902809028190282902839028490285902869028790288902899029090291902929029390294902959029690297902989029990300903019030290303903049030590306903079030890309903109031190312903139031490315903169031790318903199032090321903229032390324903259032690327903289032990330903319033290333903349033590336903379033890339903409034190342903439034490345903469034790348903499035090351903529035390354903559035690357903589035990360903619036290363903649036590366903679036890369903709037190372903739037490375903769037790378903799038090381903829038390384903859038690387903889038990390903919039290393903949039590396903979039890399904009040190402904039040490405904069040790408904099041090411904129041390414904159041690417904189041990420904219042290423904249042590426904279042890429904309043190432904339043490435904369043790438904399044090441904429044390444904459044690447904489044990450904519045290453904549045590456904579045890459904609046190462904639046490465904669046790468904699047090471904729047390474904759047690477904789047990480904819048290483904849048590486904879048890489904909049190492904939049490495904969049790498904999050090501905029050390504905059050690507905089050990510905119051290513905149051590516905179051890519905209052190522905239052490525905269052790528905299053090531905329053390534905359053690537905389053990540905419054290543905449054590546905479054890549905509055190552905539055490555905569055790558905599056090561905629056390564905659056690567905689056990570905719057290573905749057590576905779057890579905809058190582905839058490585905869058790588905899059090591905929059390594905959059690597905989059990600906019060290603906049060590606906079060890609906109061190612906139061490615906169061790618906199062090621906229062390624906259062690627906289062990630906319063290633906349063590636906379063890639906409064190642906439064490645906469064790648906499065090651906529065390654906559065690657906589065990660906619066290663906649066590666906679066890669906709067190672906739067490675906769067790678906799068090681906829068390684906859068690687906889068990690906919069290693906949069590696906979069890699907009070190702907039070490705907069070790708907099071090711907129071390714907159071690717907189071990720907219072290723907249072590726907279072890729907309073190732907339073490735907369073790738907399074090741907429074390744907459074690747907489074990750907519075290753907549075590756907579075890759907609076190762907639076490765907669076790768907699077090771907729077390774907759077690777907789077990780907819078290783907849078590786907879078890789907909079190792907939079490795907969079790798907999080090801908029080390804908059080690807908089080990810908119081290813908149081590816908179081890819908209082190822908239082490825908269082790828908299083090831908329083390834908359083690837908389083990840908419084290843908449084590846908479084890849908509085190852908539085490855908569085790858908599086090861908629086390864908659086690867908689086990870908719087290873908749087590876908779087890879908809088190882908839088490885908869088790888908899089090891908929089390894908959089690897908989089990900909019090290903909049090590906909079090890909909109091190912909139091490915909169091790918909199092090921909229092390924909259092690927909289092990930909319093290933909349093590936909379093890939909409094190942909439094490945909469094790948909499095090951909529095390954909559095690957909589095990960909619096290963909649096590966909679096890969909709097190972909739097490975909769097790978909799098090981909829098390984909859098690987909889098990990909919099290993909949099590996909979099890999910009100191002910039100491005910069100791008910099101091011910129101391014910159101691017910189101991020910219102291023910249102591026910279102891029910309103191032910339103491035910369103791038910399104091041910429104391044910459104691047910489104991050910519105291053910549105591056910579105891059910609106191062910639106491065910669106791068910699107091071910729107391074910759107691077910789107991080910819108291083910849108591086910879108891089910909109191092910939109491095910969109791098910999110091101911029110391104911059110691107911089110991110911119111291113911149111591116911179111891119911209112191122911239112491125911269112791128911299113091131911329113391134911359113691137911389113991140911419114291143911449114591146911479114891149911509115191152911539115491155911569115791158911599116091161911629116391164911659116691167911689116991170911719117291173911749117591176911779117891179911809118191182911839118491185911869118791188911899119091191911929119391194911959119691197911989119991200912019120291203912049120591206912079120891209912109121191212912139121491215912169121791218912199122091221912229122391224912259122691227912289122991230912319123291233912349123591236912379123891239912409124191242912439124491245912469124791248912499125091251912529125391254912559125691257912589125991260912619126291263912649126591266912679126891269912709127191272912739127491275912769127791278912799128091281912829128391284912859128691287912889128991290912919129291293912949129591296912979129891299913009130191302913039130491305913069130791308913099131091311913129131391314913159131691317913189131991320913219132291323913249132591326913279132891329913309133191332913339133491335913369133791338913399134091341913429134391344913459134691347913489134991350913519135291353913549135591356913579135891359913609136191362913639136491365913669136791368913699137091371913729137391374913759137691377913789137991380913819138291383913849138591386913879138891389913909139191392913939139491395913969139791398913999140091401914029140391404914059140691407914089140991410914119141291413914149141591416914179141891419914209142191422914239142491425914269142791428914299143091431914329143391434914359143691437914389143991440914419144291443914449144591446914479144891449914509145191452914539145491455914569145791458914599146091461914629146391464914659146691467914689146991470914719147291473914749147591476914779147891479914809148191482914839148491485914869148791488914899149091491914929149391494914959149691497914989149991500915019150291503915049150591506915079150891509915109151191512915139151491515915169151791518915199152091521915229152391524915259152691527915289152991530915319153291533915349153591536915379153891539915409154191542915439154491545915469154791548915499155091551915529155391554915559155691557915589155991560915619156291563915649156591566915679156891569915709157191572915739157491575915769157791578915799158091581915829158391584915859158691587915889158991590915919159291593915949159591596915979159891599916009160191602916039160491605916069160791608916099161091611916129161391614916159161691617916189161991620916219162291623916249162591626916279162891629916309163191632916339163491635916369163791638916399164091641916429164391644916459164691647916489164991650916519165291653916549165591656916579165891659916609166191662916639166491665916669166791668916699167091671916729167391674916759167691677916789167991680916819168291683916849168591686916879168891689916909169191692916939169491695916969169791698916999170091701917029170391704917059170691707917089170991710917119171291713917149171591716917179171891719917209172191722917239172491725917269172791728917299173091731917329173391734917359173691737917389173991740917419174291743917449174591746917479174891749917509175191752917539175491755917569175791758917599176091761917629176391764917659176691767917689176991770917719177291773917749177591776917779177891779917809178191782917839178491785917869178791788917899179091791917929179391794917959179691797917989179991800918019180291803918049180591806918079180891809918109181191812918139181491815918169181791818918199182091821918229182391824918259182691827918289182991830918319183291833918349183591836918379183891839918409184191842918439184491845918469184791848918499185091851918529185391854918559185691857918589185991860918619186291863918649186591866918679186891869918709187191872918739187491875918769187791878918799188091881918829188391884918859188691887918889188991890918919189291893918949189591896918979189891899919009190191902919039190491905919069190791908919099191091911919129191391914919159191691917919189191991920919219192291923919249192591926919279192891929919309193191932919339193491935919369193791938919399194091941919429194391944919459194691947919489194991950919519195291953919549195591956919579195891959919609196191962919639196491965919669196791968919699197091971919729197391974919759197691977919789197991980919819198291983919849198591986919879198891989919909199191992919939199491995919969199791998919999200092001920029200392004920059200692007920089200992010920119201292013920149201592016920179201892019920209202192022920239202492025920269202792028920299203092031920329203392034920359203692037920389203992040920419204292043920449204592046920479204892049920509205192052920539205492055920569205792058920599206092061920629206392064920659206692067920689206992070920719207292073920749207592076920779207892079920809208192082920839208492085920869208792088920899209092091920929209392094920959209692097920989209992100921019210292103921049210592106921079210892109921109211192112921139211492115921169211792118921199212092121921229212392124921259212692127921289212992130921319213292133921349213592136921379213892139921409214192142921439214492145921469214792148921499215092151921529215392154921559215692157921589215992160921619216292163921649216592166921679216892169921709217192172921739217492175921769217792178921799218092181921829218392184921859218692187921889218992190921919219292193921949219592196921979219892199922009220192202922039220492205922069220792208922099221092211922129221392214922159221692217922189221992220922219222292223922249222592226922279222892229922309223192232922339223492235922369223792238922399224092241922429224392244922459224692247922489224992250922519225292253922549225592256922579225892259922609226192262922639226492265922669226792268922699227092271922729227392274922759227692277922789227992280922819228292283922849228592286922879228892289922909229192292922939229492295922969229792298922999230092301923029230392304923059230692307923089230992310923119231292313923149231592316923179231892319923209232192322923239232492325923269232792328923299233092331923329233392334923359233692337923389233992340923419234292343923449234592346923479234892349923509235192352923539235492355923569235792358923599236092361923629236392364923659236692367923689236992370923719237292373923749237592376923779237892379923809238192382923839238492385923869238792388923899239092391923929239392394923959239692397923989239992400924019240292403924049240592406924079240892409924109241192412924139241492415924169241792418924199242092421924229242392424924259242692427924289242992430924319243292433924349243592436924379243892439924409244192442924439244492445924469244792448924499245092451924529245392454924559245692457924589245992460924619246292463924649246592466924679246892469924709247192472924739247492475924769247792478924799248092481924829248392484924859248692487924889248992490924919249292493924949249592496924979249892499925009250192502925039250492505925069250792508925099251092511925129251392514925159251692517925189251992520925219252292523925249252592526925279252892529925309253192532925339253492535925369253792538925399254092541925429254392544925459254692547925489254992550925519255292553925549255592556925579255892559925609256192562925639256492565925669256792568925699257092571925729257392574925759257692577925789257992580925819258292583925849258592586925879258892589925909259192592925939259492595925969259792598925999260092601926029260392604926059260692607926089260992610926119261292613926149261592616926179261892619926209262192622926239262492625926269262792628926299263092631926329263392634926359263692637926389263992640926419264292643926449264592646926479264892649926509265192652926539265492655926569265792658926599266092661926629266392664926659266692667926689266992670926719267292673926749267592676926779267892679926809268192682926839268492685926869268792688926899269092691926929269392694926959269692697926989269992700927019270292703927049270592706927079270892709927109271192712927139271492715927169271792718927199272092721927229272392724927259272692727927289272992730927319273292733927349273592736927379273892739927409274192742927439274492745927469274792748927499275092751927529275392754927559275692757927589275992760927619276292763927649276592766927679276892769927709277192772927739277492775927769277792778927799278092781927829278392784927859278692787927889278992790927919279292793927949279592796927979279892799928009280192802928039280492805928069280792808928099281092811928129281392814928159281692817928189281992820928219282292823928249282592826928279282892829928309283192832928339283492835928369283792838928399284092841928429284392844928459284692847928489284992850928519285292853928549285592856928579285892859928609286192862928639286492865928669286792868928699287092871928729287392874928759287692877928789287992880928819288292883928849288592886928879288892889928909289192892928939289492895928969289792898928999290092901929029290392904929059290692907929089290992910929119291292913929149291592916929179291892919929209292192922929239292492925929269292792928929299293092931929329293392934929359293692937929389293992940929419294292943929449294592946929479294892949929509295192952929539295492955929569295792958929599296092961929629296392964929659296692967929689296992970929719297292973929749297592976929779297892979929809298192982929839298492985929869298792988929899299092991929929299392994929959299692997929989299993000930019300293003930049300593006930079300893009930109301193012930139301493015930169301793018930199302093021930229302393024930259302693027930289302993030930319303293033930349303593036930379303893039930409304193042930439304493045930469304793048930499305093051930529305393054930559305693057930589305993060930619306293063930649306593066930679306893069930709307193072930739307493075930769307793078930799308093081930829308393084930859308693087930889308993090930919309293093930949309593096930979309893099931009310193102931039310493105931069310793108931099311093111931129311393114931159311693117931189311993120931219312293123931249312593126931279312893129931309313193132931339313493135931369313793138931399314093141931429314393144931459314693147931489314993150931519315293153931549315593156931579315893159931609316193162931639316493165931669316793168931699317093171931729317393174931759317693177931789317993180931819318293183931849318593186931879318893189931909319193192931939319493195931969319793198931999320093201932029320393204932059320693207932089320993210932119321293213932149321593216932179321893219932209322193222932239322493225932269322793228932299323093231932329323393234932359323693237932389323993240932419324293243932449324593246932479324893249932509325193252932539325493255932569325793258932599326093261932629326393264932659326693267932689326993270932719327293273932749327593276932779327893279932809328193282932839328493285932869328793288932899329093291932929329393294932959329693297932989329993300933019330293303933049330593306933079330893309933109331193312933139331493315933169331793318933199332093321933229332393324933259332693327933289332993330933319333293333933349333593336933379333893339933409334193342933439334493345933469334793348933499335093351933529335393354933559335693357933589335993360933619336293363933649336593366933679336893369933709337193372933739337493375933769337793378933799338093381933829338393384933859338693387933889338993390933919339293393933949339593396933979339893399934009340193402934039340493405934069340793408934099341093411934129341393414934159341693417934189341993420934219342293423934249342593426934279342893429934309343193432934339343493435934369343793438934399344093441934429344393444934459344693447934489344993450934519345293453934549345593456934579345893459934609346193462934639346493465934669346793468934699347093471934729347393474934759347693477934789347993480934819348293483934849348593486934879348893489934909349193492934939349493495934969349793498934999350093501935029350393504935059350693507935089350993510935119351293513935149351593516935179351893519935209352193522935239352493525935269352793528935299353093531935329353393534935359353693537935389353993540935419354293543935449354593546935479354893549935509355193552935539355493555935569355793558935599356093561935629356393564935659356693567935689356993570935719357293573935749357593576935779357893579935809358193582935839358493585935869358793588935899359093591935929359393594935959359693597935989359993600936019360293603936049360593606936079360893609936109361193612936139361493615936169361793618936199362093621936229362393624936259362693627936289362993630936319363293633936349363593636936379363893639936409364193642936439364493645936469364793648936499365093651936529365393654936559365693657936589365993660936619366293663936649366593666936679366893669936709367193672936739367493675936769367793678936799368093681936829368393684936859368693687936889368993690936919369293693936949369593696936979369893699937009370193702937039370493705937069370793708937099371093711937129371393714937159371693717937189371993720937219372293723937249372593726937279372893729937309373193732937339373493735937369373793738937399374093741937429374393744937459374693747937489374993750937519375293753937549375593756937579375893759937609376193762937639376493765937669376793768937699377093771937729377393774937759377693777937789377993780937819378293783937849378593786937879378893789937909379193792937939379493795937969379793798937999380093801938029380393804938059380693807938089380993810938119381293813938149381593816938179381893819938209382193822938239382493825938269382793828938299383093831938329383393834938359383693837938389383993840938419384293843938449384593846938479384893849938509385193852938539385493855938569385793858938599386093861938629386393864938659386693867938689386993870938719387293873938749387593876938779387893879938809388193882938839388493885938869388793888938899389093891938929389393894938959389693897938989389993900939019390293903939049390593906939079390893909939109391193912939139391493915939169391793918939199392093921939229392393924939259392693927939289392993930939319393293933939349393593936939379393893939939409394193942939439394493945939469394793948939499395093951939529395393954939559395693957939589395993960939619396293963939649396593966939679396893969939709397193972939739397493975939769397793978939799398093981939829398393984939859398693987939889398993990939919399293993939949399593996939979399893999940009400194002940039400494005940069400794008940099401094011940129401394014940159401694017940189401994020940219402294023940249402594026940279402894029940309403194032940339403494035940369403794038940399404094041940429404394044940459404694047940489404994050940519405294053940549405594056940579405894059940609406194062940639406494065940669406794068940699407094071940729407394074940759407694077940789407994080940819408294083940849408594086940879408894089940909409194092940939409494095940969409794098940999410094101941029410394104941059410694107941089410994110941119411294113941149411594116941179411894119941209412194122941239412494125941269412794128941299413094131941329413394134941359413694137941389413994140941419414294143941449414594146941479414894149941509415194152941539415494155941569415794158941599416094161941629416394164941659416694167941689416994170941719417294173941749417594176941779417894179941809418194182941839418494185941869418794188941899419094191941929419394194941959419694197941989419994200942019420294203942049420594206942079420894209942109421194212942139421494215942169421794218942199422094221942229422394224942259422694227942289422994230942319423294233942349423594236942379423894239942409424194242942439424494245942469424794248942499425094251942529425394254942559425694257942589425994260942619426294263942649426594266942679426894269942709427194272942739427494275942769427794278942799428094281942829428394284942859428694287942889428994290942919429294293942949429594296942979429894299943009430194302943039430494305943069430794308943099431094311943129431394314943159431694317943189431994320943219432294323943249432594326943279432894329943309433194332943339433494335943369433794338943399434094341943429434394344943459434694347943489434994350943519435294353943549435594356943579435894359943609436194362943639436494365943669436794368943699437094371943729437394374943759437694377943789437994380943819438294383943849438594386943879438894389943909439194392943939439494395943969439794398943999440094401944029440394404944059440694407944089440994410944119441294413944149441594416944179441894419944209442194422944239442494425944269442794428944299443094431944329443394434944359443694437944389443994440944419444294443944449444594446944479444894449944509445194452944539445494455944569445794458944599446094461944629446394464944659446694467944689446994470944719447294473944749447594476944779447894479944809448194482944839448494485944869448794488944899449094491944929449394494944959449694497944989449994500945019450294503945049450594506945079450894509945109451194512945139451494515945169451794518945199452094521945229452394524945259452694527945289452994530945319453294533945349453594536945379453894539945409454194542945439454494545945469454794548945499455094551945529455394554945559455694557945589455994560945619456294563945649456594566945679456894569945709457194572945739457494575945769457794578945799458094581945829458394584945859458694587945889458994590945919459294593945949459594596945979459894599946009460194602946039460494605946069460794608946099461094611946129461394614946159461694617946189461994620946219462294623946249462594626946279462894629946309463194632946339463494635946369463794638946399464094641946429464394644946459464694647946489464994650946519465294653946549465594656946579465894659946609466194662946639466494665946669466794668946699467094671946729467394674946759467694677946789467994680946819468294683946849468594686946879468894689946909469194692946939469494695946969469794698946999470094701947029470394704947059470694707947089470994710947119471294713947149471594716947179471894719947209472194722947239472494725947269472794728947299473094731947329473394734947359473694737947389473994740947419474294743947449474594746947479474894749947509475194752947539475494755947569475794758947599476094761947629476394764947659476694767947689476994770947719477294773947749477594776947779477894779947809478194782947839478494785947869478794788947899479094791947929479394794947959479694797947989479994800948019480294803948049480594806948079480894809948109481194812948139481494815948169481794818948199482094821948229482394824948259482694827948289482994830948319483294833948349483594836948379483894839948409484194842948439484494845948469484794848948499485094851948529485394854948559485694857948589485994860948619486294863948649486594866948679486894869948709487194872948739487494875948769487794878948799488094881948829488394884948859488694887948889488994890948919489294893948949489594896948979489894899949009490194902949039490494905949069490794908949099491094911949129491394914949159491694917949189491994920949219492294923949249492594926949279492894929949309493194932949339493494935949369493794938949399494094941949429494394944949459494694947949489494994950949519495294953949549495594956949579495894959949609496194962949639496494965949669496794968949699497094971949729497394974949759497694977949789497994980949819498294983949849498594986949879498894989949909499194992949939499494995949969499794998949999500095001950029500395004950059500695007950089500995010950119501295013950149501595016950179501895019950209502195022950239502495025950269502795028950299503095031950329503395034950359503695037950389503995040950419504295043950449504595046950479504895049950509505195052950539505495055950569505795058950599506095061950629506395064950659506695067950689506995070950719507295073950749507595076950779507895079950809508195082950839508495085950869508795088950899509095091950929509395094950959509695097950989509995100951019510295103951049510595106951079510895109951109511195112951139511495115951169511795118951199512095121951229512395124951259512695127951289512995130951319513295133951349513595136951379513895139951409514195142951439514495145951469514795148951499515095151951529515395154951559515695157951589515995160951619516295163951649516595166951679516895169951709517195172951739517495175951769517795178951799518095181951829518395184951859518695187951889518995190951919519295193951949519595196951979519895199952009520195202952039520495205952069520795208952099521095211952129521395214952159521695217952189521995220952219522295223952249522595226952279522895229952309523195232952339523495235952369523795238952399524095241952429524395244952459524695247952489524995250952519525295253952549525595256952579525895259952609526195262952639526495265952669526795268952699527095271952729527395274952759527695277952789527995280952819528295283952849528595286952879528895289952909529195292952939529495295952969529795298952999530095301953029530395304953059530695307953089530995310953119531295313953149531595316953179531895319953209532195322953239532495325953269532795328953299533095331953329533395334953359533695337953389533995340953419534295343953449534595346953479534895349953509535195352953539535495355953569535795358953599536095361953629536395364953659536695367953689536995370953719537295373953749537595376953779537895379953809538195382953839538495385953869538795388953899539095391953929539395394953959539695397953989539995400954019540295403954049540595406954079540895409954109541195412954139541495415954169541795418954199542095421954229542395424954259542695427954289542995430954319543295433954349543595436954379543895439954409544195442954439544495445954469544795448954499545095451954529545395454954559545695457954589545995460954619546295463954649546595466954679546895469954709547195472954739547495475954769547795478954799548095481954829548395484954859548695487954889548995490954919549295493954949549595496954979549895499955009550195502955039550495505955069550795508955099551095511955129551395514955159551695517955189551995520955219552295523955249552595526955279552895529955309553195532955339553495535955369553795538955399554095541955429554395544955459554695547955489554995550955519555295553955549555595556955579555895559955609556195562955639556495565955669556795568955699557095571955729557395574955759557695577955789557995580955819558295583955849558595586955879558895589955909559195592955939559495595955969559795598955999560095601956029560395604956059560695607956089560995610956119561295613956149561595616956179561895619956209562195622956239562495625956269562795628956299563095631956329563395634956359563695637956389563995640956419564295643956449564595646956479564895649956509565195652956539565495655956569565795658956599566095661956629566395664956659566695667956689566995670956719567295673956749567595676956779567895679956809568195682956839568495685956869568795688956899569095691956929569395694956959569695697956989569995700957019570295703957049570595706957079570895709957109571195712957139571495715957169571795718957199572095721957229572395724957259572695727957289572995730957319573295733957349573595736957379573895739957409574195742957439574495745957469574795748957499575095751957529575395754957559575695757957589575995760957619576295763957649576595766957679576895769957709577195772957739577495775957769577795778957799578095781957829578395784957859578695787957889578995790957919579295793957949579595796957979579895799958009580195802958039580495805958069580795808958099581095811958129581395814958159581695817958189581995820958219582295823958249582595826958279582895829958309583195832958339583495835958369583795838958399584095841958429584395844958459584695847958489584995850958519585295853958549585595856958579585895859958609586195862958639586495865958669586795868958699587095871958729587395874958759587695877958789587995880958819588295883958849588595886958879588895889958909589195892958939589495895958969589795898958999590095901959029590395904959059590695907959089590995910959119591295913959149591595916959179591895919959209592195922959239592495925959269592795928959299593095931959329593395934959359593695937959389593995940959419594295943959449594595946959479594895949959509595195952959539595495955959569595795958959599596095961959629596395964959659596695967959689596995970959719597295973959749597595976959779597895979959809598195982959839598495985959869598795988959899599095991959929599395994959959599695997959989599996000960019600296003960049600596006960079600896009960109601196012960139601496015960169601796018960199602096021960229602396024960259602696027960289602996030960319603296033960349603596036960379603896039960409604196042960439604496045960469604796048960499605096051960529605396054960559605696057960589605996060960619606296063960649606596066960679606896069960709607196072960739607496075960769607796078960799608096081960829608396084960859608696087960889608996090960919609296093960949609596096960979609896099961009610196102961039610496105961069610796108961099611096111961129611396114961159611696117961189611996120961219612296123961249612596126961279612896129961309613196132961339613496135961369613796138961399614096141961429614396144961459614696147961489614996150961519615296153961549615596156961579615896159961609616196162961639616496165961669616796168961699617096171961729617396174961759617696177961789617996180961819618296183961849618596186961879618896189961909619196192961939619496195961969619796198961999620096201962029620396204962059620696207962089620996210962119621296213962149621596216962179621896219962209622196222962239622496225962269622796228962299623096231962329623396234962359623696237962389623996240962419624296243962449624596246962479624896249962509625196252962539625496255962569625796258962599626096261962629626396264962659626696267962689626996270962719627296273962749627596276962779627896279962809628196282962839628496285962869628796288962899629096291962929629396294962959629696297962989629996300963019630296303963049630596306963079630896309963109631196312963139631496315963169631796318963199632096321963229632396324963259632696327963289632996330963319633296333963349633596336963379633896339963409634196342963439634496345963469634796348963499635096351963529635396354963559635696357963589635996360963619636296363963649636596366963679636896369963709637196372963739637496375963769637796378963799638096381963829638396384963859638696387963889638996390963919639296393963949639596396963979639896399964009640196402964039640496405964069640796408964099641096411964129641396414964159641696417964189641996420964219642296423964249642596426964279642896429964309643196432964339643496435964369643796438964399644096441964429644396444964459644696447964489644996450964519645296453964549645596456964579645896459964609646196462964639646496465964669646796468964699647096471964729647396474964759647696477964789647996480964819648296483964849648596486964879648896489964909649196492964939649496495964969649796498964999650096501965029650396504965059650696507965089650996510965119651296513965149651596516965179651896519965209652196522965239652496525965269652796528965299653096531965329653396534965359653696537965389653996540965419654296543965449654596546965479654896549965509655196552965539655496555965569655796558965599656096561965629656396564965659656696567965689656996570965719657296573965749657596576965779657896579965809658196582965839658496585965869658796588965899659096591965929659396594965959659696597965989659996600966019660296603966049660596606966079660896609966109661196612966139661496615966169661796618966199662096621966229662396624966259662696627966289662996630966319663296633966349663596636966379663896639966409664196642966439664496645966469664796648966499665096651966529665396654966559665696657966589665996660966619666296663966649666596666966679666896669966709667196672966739667496675966769667796678966799668096681966829668396684966859668696687966889668996690966919669296693966949669596696966979669896699967009670196702967039670496705967069670796708967099671096711967129671396714967159671696717967189671996720967219672296723967249672596726967279672896729967309673196732967339673496735967369673796738967399674096741967429674396744967459674696747967489674996750967519675296753967549675596756967579675896759967609676196762967639676496765967669676796768967699677096771967729677396774967759677696777967789677996780967819678296783967849678596786967879678896789967909679196792967939679496795967969679796798967999680096801968029680396804968059680696807968089680996810968119681296813968149681596816968179681896819968209682196822968239682496825968269682796828968299683096831968329683396834968359683696837968389683996840968419684296843968449684596846968479684896849968509685196852968539685496855968569685796858968599686096861968629686396864968659686696867968689686996870968719687296873968749687596876968779687896879968809688196882968839688496885968869688796888968899689096891968929689396894968959689696897968989689996900969019690296903969049690596906969079690896909969109691196912969139691496915969169691796918969199692096921969229692396924969259692696927969289692996930969319693296933969349693596936969379693896939969409694196942969439694496945969469694796948969499695096951969529695396954969559695696957969589695996960969619696296963969649696596966969679696896969969709697196972969739697496975969769697796978969799698096981969829698396984969859698696987969889698996990969919699296993969949699596996969979699896999970009700197002970039700497005970069700797008970099701097011970129701397014970159701697017970189701997020970219702297023970249702597026970279702897029970309703197032970339703497035970369703797038970399704097041970429704397044970459704697047970489704997050970519705297053970549705597056970579705897059970609706197062970639706497065970669706797068970699707097071970729707397074970759707697077970789707997080970819708297083970849708597086970879708897089970909709197092970939709497095970969709797098970999710097101971029710397104971059710697107971089710997110971119711297113971149711597116971179711897119971209712197122971239712497125971269712797128971299713097131971329713397134971359713697137971389713997140971419714297143971449714597146971479714897149971509715197152971539715497155971569715797158971599716097161971629716397164971659716697167971689716997170971719717297173971749717597176971779717897179971809718197182971839718497185971869718797188971899719097191971929719397194971959719697197971989719997200972019720297203972049720597206972079720897209972109721197212972139721497215972169721797218972199722097221972229722397224972259722697227972289722997230972319723297233972349723597236972379723897239972409724197242972439724497245972469724797248972499725097251972529725397254972559725697257972589725997260972619726297263972649726597266972679726897269972709727197272972739727497275972769727797278972799728097281972829728397284972859728697287972889728997290972919729297293972949729597296972979729897299973009730197302973039730497305973069730797308973099731097311973129731397314973159731697317973189731997320973219732297323973249732597326973279732897329973309733197332973339733497335973369733797338973399734097341973429734397344973459734697347973489734997350973519735297353973549735597356973579735897359973609736197362973639736497365973669736797368973699737097371973729737397374973759737697377973789737997380973819738297383973849738597386973879738897389973909739197392973939739497395973969739797398973999740097401974029740397404974059740697407974089740997410974119741297413974149741597416974179741897419974209742197422974239742497425974269742797428974299743097431974329743397434974359743697437974389743997440974419744297443974449744597446974479744897449974509745197452974539745497455974569745797458974599746097461974629746397464974659746697467974689746997470974719747297473974749747597476974779747897479974809748197482974839748497485974869748797488974899749097491974929749397494974959749697497974989749997500975019750297503975049750597506975079750897509975109751197512975139751497515975169751797518975199752097521975229752397524975259752697527975289752997530975319753297533975349753597536975379753897539975409754197542975439754497545975469754797548975499755097551975529755397554975559755697557975589755997560975619756297563975649756597566975679756897569975709757197572975739757497575975769757797578975799758097581975829758397584975859758697587975889758997590975919759297593975949759597596975979759897599976009760197602976039760497605976069760797608976099761097611976129761397614976159761697617976189761997620976219762297623976249762597626976279762897629976309763197632976339763497635976369763797638976399764097641976429764397644976459764697647976489764997650976519765297653976549765597656976579765897659976609766197662976639766497665976669766797668976699767097671976729767397674976759767697677976789767997680976819768297683976849768597686976879768897689976909769197692976939769497695976969769797698976999770097701977029770397704977059770697707977089770997710977119771297713977149771597716977179771897719977209772197722977239772497725977269772797728977299773097731977329773397734977359773697737977389773997740977419774297743977449774597746977479774897749977509775197752977539775497755977569775797758977599776097761977629776397764977659776697767977689776997770977719777297773977749777597776977779777897779977809778197782977839778497785977869778797788977899779097791977929779397794977959779697797977989779997800978019780297803978049780597806978079780897809978109781197812978139781497815978169781797818978199782097821978229782397824978259782697827978289782997830978319783297833978349783597836978379783897839978409784197842978439784497845978469784797848978499785097851978529785397854978559785697857978589785997860978619786297863978649786597866978679786897869978709787197872978739787497875978769787797878978799788097881978829788397884978859788697887978889788997890978919789297893978949789597896978979789897899979009790197902979039790497905979069790797908979099791097911979129791397914979159791697917979189791997920979219792297923979249792597926979279792897929979309793197932979339793497935979369793797938979399794097941979429794397944979459794697947979489794997950979519795297953979549795597956979579795897959979609796197962979639796497965979669796797968979699797097971979729797397974979759797697977979789797997980979819798297983979849798597986979879798897989979909799197992979939799497995979969799797998979999800098001980029800398004980059800698007980089800998010980119801298013980149801598016980179801898019980209802198022980239802498025980269802798028980299803098031980329803398034980359803698037980389803998040980419804298043980449804598046980479804898049980509805198052980539805498055980569805798058980599806098061980629806398064980659806698067980689806998070980719807298073980749807598076980779807898079980809808198082980839808498085980869808798088980899809098091980929809398094980959809698097980989809998100981019810298103981049810598106981079810898109981109811198112981139811498115981169811798118981199812098121981229812398124981259812698127981289812998130981319813298133981349813598136981379813898139981409814198142981439814498145981469814798148981499815098151981529815398154981559815698157981589815998160981619816298163981649816598166981679816898169981709817198172981739817498175981769817798178981799818098181981829818398184981859818698187981889818998190981919819298193981949819598196981979819898199982009820198202982039820498205982069820798208982099821098211982129821398214982159821698217982189821998220982219822298223982249822598226982279822898229982309823198232982339823498235982369823798238982399824098241982429824398244982459824698247982489824998250982519825298253982549825598256982579825898259982609826198262982639826498265982669826798268982699827098271982729827398274982759827698277982789827998280982819828298283982849828598286982879828898289982909829198292982939829498295982969829798298982999830098301983029830398304983059830698307983089830998310983119831298313983149831598316983179831898319983209832198322983239832498325983269832798328983299833098331983329833398334983359833698337983389833998340983419834298343983449834598346983479834898349983509835198352983539835498355983569835798358983599836098361983629836398364983659836698367983689836998370983719837298373983749837598376983779837898379983809838198382983839838498385983869838798388983899839098391983929839398394983959839698397983989839998400984019840298403984049840598406984079840898409984109841198412984139841498415984169841798418984199842098421984229842398424984259842698427984289842998430984319843298433984349843598436984379843898439984409844198442984439844498445984469844798448984499845098451984529845398454984559845698457984589845998460984619846298463984649846598466984679846898469984709847198472984739847498475984769847798478984799848098481984829848398484984859848698487984889848998490984919849298493984949849598496984979849898499985009850198502985039850498505985069850798508985099851098511985129851398514985159851698517985189851998520985219852298523985249852598526985279852898529985309853198532985339853498535985369853798538985399854098541985429854398544985459854698547985489854998550985519855298553985549855598556985579855898559985609856198562985639856498565985669856798568985699857098571985729857398574985759857698577985789857998580985819858298583985849858598586985879858898589985909859198592985939859498595985969859798598985999860098601986029860398604986059860698607986089860998610986119861298613986149861598616986179861898619986209862198622986239862498625986269862798628986299863098631986329863398634986359863698637986389863998640986419864298643986449864598646986479864898649986509865198652986539865498655986569865798658986599866098661986629866398664986659866698667986689866998670986719867298673986749867598676986779867898679986809868198682986839868498685986869868798688986899869098691986929869398694986959869698697986989869998700987019870298703987049870598706987079870898709987109871198712987139871498715987169871798718987199872098721987229872398724987259872698727987289872998730987319873298733987349873598736987379873898739987409874198742987439874498745987469874798748987499875098751987529875398754987559875698757987589875998760987619876298763987649876598766987679876898769987709877198772987739877498775987769877798778987799878098781987829878398784987859878698787987889878998790987919879298793987949879598796987979879898799988009880198802988039880498805988069880798808988099881098811988129881398814988159881698817988189881998820988219882298823988249882598826988279882898829988309883198832988339883498835988369883798838988399884098841988429884398844988459884698847988489884998850988519885298853988549885598856988579885898859988609886198862988639886498865988669886798868988699887098871988729887398874988759887698877988789887998880988819888298883988849888598886988879888898889988909889198892988939889498895988969889798898988999890098901989029890398904989059890698907989089890998910989119891298913989149891598916989179891898919989209892198922989239892498925989269892798928989299893098931989329893398934989359893698937989389893998940989419894298943989449894598946989479894898949989509895198952989539895498955989569895798958989599896098961989629896398964989659896698967989689896998970989719897298973989749897598976989779897898979989809898198982989839898498985989869898798988989899899098991989929899398994989959899698997989989899999000990019900299003990049900599006990079900899009990109901199012990139901499015990169901799018990199902099021990229902399024990259902699027990289902999030990319903299033990349903599036990379903899039990409904199042990439904499045990469904799048990499905099051990529905399054990559905699057990589905999060990619906299063990649906599066990679906899069990709907199072990739907499075990769907799078990799908099081990829908399084990859908699087990889908999090990919909299093990949909599096990979909899099991009910199102991039910499105991069910799108991099911099111991129911399114991159911699117991189911999120991219912299123991249912599126991279912899129991309913199132991339913499135991369913799138991399914099141991429914399144991459914699147991489914999150991519915299153991549915599156991579915899159991609916199162991639916499165991669916799168991699917099171991729917399174991759917699177991789917999180991819918299183991849918599186991879918899189991909919199192991939919499195991969919799198991999920099201992029920399204992059920699207992089920999210992119921299213992149921599216992179921899219992209922199222992239922499225992269922799228992299923099231992329923399234992359923699237992389923999240992419924299243992449924599246992479924899249992509925199252992539925499255992569925799258992599926099261992629926399264992659926699267992689926999270992719927299273992749927599276992779927899279992809928199282992839928499285992869928799288992899929099291992929929399294992959929699297992989929999300993019930299303993049930599306993079930899309993109931199312993139931499315993169931799318993199932099321993229932399324993259932699327993289932999330993319933299333993349933599336993379933899339993409934199342993439934499345993469934799348993499935099351993529935399354993559935699357993589935999360993619936299363993649936599366993679936899369993709937199372993739937499375993769937799378993799938099381993829938399384993859938699387993889938999390993919939299393993949939599396993979939899399994009940199402994039940499405994069940799408994099941099411994129941399414994159941699417994189941999420994219942299423994249942599426994279942899429994309943199432994339943499435994369943799438994399944099441994429944399444994459944699447994489944999450994519945299453994549945599456994579945899459994609946199462994639946499465994669946799468994699947099471994729947399474994759947699477994789947999480994819948299483994849948599486994879948899489994909949199492994939949499495994969949799498994999950099501995029950399504995059950699507995089950999510995119951299513995149951599516995179951899519995209952199522995239952499525995269952799528995299953099531995329953399534995359953699537995389953999540995419954299543995449954599546995479954899549995509955199552995539955499555995569955799558995599956099561995629956399564995659956699567995689956999570995719957299573995749957599576995779957899579995809958199582995839958499585995869958799588995899959099591995929959399594995959959699597995989959999600996019960299603996049960599606996079960899609996109961199612996139961499615996169961799618996199962099621996229962399624996259962699627996289962999630996319963299633996349963599636996379963899639996409964199642996439964499645996469964799648996499965099651996529965399654996559965699657996589965999660996619966299663996649966599666996679966899669996709967199672996739967499675996769967799678996799968099681996829968399684996859968699687996889968999690996919969299693996949969599696996979969899699997009970199702997039970499705997069970799708997099971099711997129971399714997159971699717997189971999720997219972299723997249972599726997279972899729997309973199732997339973499735997369973799738997399974099741997429974399744997459974699747997489974999750997519975299753997549975599756997579975899759997609976199762997639976499765997669976799768997699977099771997729977399774997759977699777997789977999780997819978299783997849978599786997879978899789997909979199792997939979499795997969979799798997999980099801998029980399804998059980699807998089980999810998119981299813998149981599816998179981899819998209982199822998239982499825998269982799828998299983099831998329983399834998359983699837998389983999840998419984299843998449984599846998479984899849998509985199852998539985499855998569985799858998599986099861998629986399864998659986699867998689986999870998719987299873998749987599876998779987899879998809988199882998839988499885998869988799888998899989099891998929989399894998959989699897998989989999900999019990299903999049990599906999079990899909999109991199912999139991499915999169991799918999199992099921999229992399924999259992699927999289992999930999319993299933999349993599936999379993899939999409994199942999439994499945999469994799948999499995099951999529995399954999559995699957999589995999960999619996299963999649996599966999679996899969999709997199972999739997499975999769997799978999799998099981999829998399984999859998699987999889998999990999919999299993999949999599996999979999899999100000100001100002100003100004100005100006100007100008100009100010100011100012100013100014100015100016100017100018100019100020100021100022100023100024100025100026100027100028100029100030100031100032100033100034100035100036100037100038100039100040100041100042100043100044100045100046100047100048100049100050100051100052100053100054100055100056100057100058100059100060100061100062100063100064100065100066100067100068100069100070100071100072100073100074100075100076100077100078100079100080100081100082100083100084100085100086100087100088100089100090100091100092100093100094100095100096100097100098100099100100100101100102100103100104100105100106100107100108100109100110100111100112100113100114100115100116100117100118100119100120100121100122100123100124100125100126100127100128100129100130100131100132100133100134100135100136100137100138100139100140100141100142100143100144100145100146100147100148100149100150100151100152100153100154100155100156100157100158100159100160100161100162100163100164100165100166100167100168100169100170100171100172100173100174100175100176100177100178100179100180100181100182100183100184100185100186100187100188100189100190100191100192100193100194100195100196100197100198100199100200100201100202100203100204100205100206100207100208100209100210100211100212100213100214100215100216100217100218100219100220100221100222100223100224100225100226100227100228100229100230100231100232100233100234100235100236100237100238100239100240100241100242100243100244100245100246100247100248100249100250100251100252100253100254100255100256100257100258100259100260100261100262100263100264100265100266100267100268100269100270100271100272100273100274100275100276100277100278100279100280100281100282100283100284100285100286100287100288100289100290100291100292100293100294100295100296100297100298100299100300100301100302100303100304100305100306100307100308100309100310100311100312100313100314100315100316100317100318100319100320100321100322100323100324100325100326100327100328100329100330100331100332100333100334100335100336100337100338100339100340100341100342100343100344100345100346100347100348100349100350100351100352100353100354100355100356100357100358100359100360100361100362100363100364100365100366100367100368100369100370100371100372100373100374100375100376100377100378100379100380100381100382100383100384100385100386100387100388100389100390100391100392100393100394100395100396100397100398100399100400100401100402100403100404100405100406100407100408100409100410100411100412100413100414100415100416100417100418100419100420100421100422100423100424100425100426100427100428100429100430100431100432100433100434100435100436100437100438100439100440100441100442100443100444100445100446100447100448100449100450100451100452100453100454100455100456100457100458100459100460100461100462100463100464100465100466100467100468100469100470100471100472100473100474100475100476100477100478100479100480100481100482100483100484100485100486100487100488100489100490100491100492100493100494100495100496100497100498100499100500100501100502100503100504100505100506100507100508100509100510100511100512100513100514100515100516100517100518100519100520100521100522100523100524100525100526100527100528100529100530100531100532100533100534100535100536100537100538100539100540100541100542100543100544100545100546100547100548100549100550100551100552100553100554100555100556100557100558100559100560100561100562100563100564100565100566100567100568100569100570100571100572100573100574100575100576100577100578100579100580100581100582100583100584100585100586100587100588100589100590100591100592100593100594100595100596100597100598100599100600100601100602100603100604100605100606100607100608100609100610100611100612100613100614100615100616100617100618100619100620100621100622100623100624100625100626100627100628100629100630100631100632100633100634100635100636100637100638100639100640100641100642100643100644100645100646100647100648100649100650100651100652100653100654100655100656100657100658100659100660100661100662100663100664100665100666100667100668100669100670100671100672100673100674100675100676100677100678100679100680100681100682100683100684100685100686100687100688100689100690100691100692100693100694100695100696100697100698100699100700100701100702100703100704100705100706100707100708100709100710100711100712100713100714100715100716100717100718100719100720100721100722100723100724100725100726100727100728100729100730100731100732100733100734100735100736100737100738100739100740100741100742100743100744100745100746100747100748100749100750100751100752100753100754100755100756100757100758100759100760100761100762100763100764100765100766100767100768100769100770100771100772100773100774100775100776100777100778100779100780100781100782100783100784100785100786100787100788100789100790100791100792100793100794100795100796100797100798100799100800100801100802100803100804100805100806100807100808100809100810100811100812100813100814100815100816100817100818100819100820100821100822100823100824100825100826100827100828100829100830100831100832100833100834100835100836100837100838100839100840100841100842100843100844100845100846100847100848100849100850100851100852100853100854100855100856100857100858100859100860100861100862100863100864100865100866100867100868100869100870100871100872100873100874100875100876100877100878100879100880100881100882100883100884100885100886100887100888100889100890100891100892100893100894100895100896100897100898100899100900100901100902100903100904100905100906100907100908100909100910100911100912100913100914100915100916100917100918100919100920100921100922100923100924100925100926100927100928100929100930100931100932100933100934100935100936100937100938100939100940100941100942100943100944100945100946100947100948100949100950100951100952100953100954100955100956100957100958100959100960100961100962100963100964100965100966100967100968100969100970100971100972100973100974100975100976100977100978100979100980100981100982100983100984100985100986100987100988100989100990100991100992100993100994100995100996100997100998100999101000101001101002101003101004101005101006101007101008101009101010101011101012101013101014101015101016101017101018101019101020101021101022101023101024101025101026101027101028101029101030101031101032101033101034101035101036101037101038101039101040101041101042101043101044101045101046101047101048101049101050101051101052101053101054101055101056101057101058101059101060101061101062101063101064101065101066101067101068101069101070101071101072101073101074101075101076101077101078101079101080101081101082101083101084101085101086101087101088101089101090101091101092101093101094101095101096101097101098101099101100101101101102101103101104101105101106101107101108101109101110101111101112101113101114101115101116101117101118101119101120101121101122101123101124101125101126101127101128101129101130101131101132101133101134101135101136101137101138101139101140101141101142101143101144101145101146101147101148101149101150101151101152101153101154101155101156101157101158101159101160101161101162101163101164101165101166101167101168101169101170101171101172101173101174101175101176101177101178101179101180101181101182101183101184101185101186101187101188101189101190101191101192101193101194101195101196101197101198101199101200101201101202101203101204101205101206101207101208101209101210101211101212101213101214101215101216101217101218101219101220101221101222101223101224101225101226101227101228101229101230101231101232101233101234101235101236101237101238101239101240101241101242101243101244101245101246101247101248101249101250101251101252101253101254101255101256101257101258101259101260101261101262101263101264101265101266101267101268101269101270101271101272101273101274101275101276101277101278101279101280101281101282101283101284101285101286101287101288101289101290101291101292101293101294101295101296101297101298101299101300101301101302101303101304101305101306101307101308101309101310101311101312101313101314101315101316101317101318101319101320101321101322101323101324101325101326101327101328101329101330101331101332101333101334101335101336101337101338101339101340101341101342101343101344101345101346101347101348101349101350101351101352101353101354101355101356101357101358101359101360101361101362101363101364101365101366101367101368101369101370101371101372101373101374101375101376101377101378101379101380101381101382101383101384101385101386101387101388101389101390101391101392101393101394101395101396101397101398101399101400101401101402101403101404101405101406101407101408101409101410101411101412101413101414101415101416101417101418101419101420101421101422101423101424101425101426101427101428101429101430101431101432101433101434101435101436101437101438101439101440101441101442101443101444101445101446101447101448101449101450101451101452101453101454101455101456101457101458101459101460101461101462101463101464101465101466101467101468101469101470101471101472101473101474101475101476101477101478101479101480101481101482101483101484101485101486101487101488101489101490101491101492101493101494101495101496101497101498101499101500101501101502101503101504101505101506101507101508101509101510101511101512101513101514101515101516101517101518101519101520101521101522101523101524101525101526101527101528101529101530101531101532101533101534101535101536101537101538101539101540101541101542101543101544101545101546101547101548101549101550101551101552101553101554101555101556101557101558101559101560101561101562101563101564101565101566101567101568101569101570101571101572101573101574101575101576101577101578101579101580101581101582101583101584101585101586101587101588101589101590101591101592101593101594101595101596101597101598101599101600101601101602101603101604101605101606101607101608101609101610101611101612101613101614101615101616101617101618101619101620101621101622101623101624101625101626101627101628101629101630101631101632101633101634101635101636101637101638101639101640101641101642101643101644101645101646101647101648101649101650101651101652101653101654101655101656101657101658101659101660101661101662101663101664101665101666101667101668101669101670101671101672101673101674101675101676101677101678101679101680101681101682101683101684101685101686101687101688101689101690101691101692101693101694101695101696101697101698101699101700101701101702101703101704101705101706101707101708101709101710101711101712101713101714101715101716101717101718101719101720101721101722101723101724101725101726101727101728101729101730101731101732101733101734101735101736101737101738101739101740101741101742101743101744101745101746101747101748101749101750101751101752101753101754101755101756101757101758101759101760101761101762101763101764101765101766101767101768101769101770101771101772101773101774101775101776101777101778101779101780101781101782101783101784101785101786101787101788101789101790101791101792101793101794101795101796101797101798101799101800101801101802101803101804101805101806101807101808101809101810101811101812101813101814101815101816101817101818101819101820101821101822101823101824101825101826101827101828101829101830101831101832101833101834101835101836101837101838101839101840101841101842101843101844101845101846101847101848101849101850101851101852101853101854101855101856101857101858101859101860101861101862101863101864101865101866101867101868101869101870101871101872101873101874101875101876101877101878101879101880101881101882101883101884101885101886101887101888101889101890101891101892101893101894101895101896101897101898101899101900101901101902101903101904101905101906101907101908101909101910101911101912101913101914101915101916101917101918101919101920101921101922101923101924101925101926101927101928101929101930101931101932101933101934101935101936101937101938101939101940101941101942101943101944101945101946101947101948101949101950101951101952101953101954101955101956101957101958101959101960101961101962101963101964101965101966101967101968101969101970101971101972101973101974101975101976101977101978101979101980101981101982101983101984101985101986101987101988101989101990101991101992101993101994101995101996101997101998101999102000102001102002102003102004102005102006102007102008102009102010102011102012102013102014102015102016102017102018102019102020102021102022102023102024102025102026102027102028102029102030102031102032102033102034102035102036102037102038102039102040102041102042102043102044102045102046102047102048102049102050102051102052102053102054102055102056102057102058102059102060102061102062102063102064102065102066102067102068102069102070102071102072102073102074102075102076102077102078102079102080102081102082102083102084102085102086102087102088102089102090102091102092102093102094102095102096102097102098102099102100102101102102102103102104102105102106102107102108102109102110102111102112102113102114102115102116102117102118102119102120102121102122102123102124102125102126102127102128102129102130102131102132102133102134102135102136102137102138102139102140102141102142102143102144102145102146102147102148102149102150102151102152102153102154102155102156102157102158102159102160102161102162102163102164102165102166102167102168102169102170102171102172102173102174102175102176102177102178102179102180102181102182102183102184102185102186102187102188102189102190102191102192102193102194102195102196102197102198102199102200102201102202102203102204102205102206102207102208102209102210102211102212102213102214102215102216102217102218102219102220102221102222102223102224102225102226102227102228102229102230102231102232102233102234102235102236102237102238102239102240102241102242102243102244102245102246102247102248102249102250102251102252102253102254102255102256102257102258102259102260102261102262102263102264102265102266102267102268102269102270102271102272102273102274102275102276102277102278102279102280102281102282102283102284102285102286102287102288102289102290102291102292102293102294102295102296102297102298102299102300102301102302102303102304102305102306102307102308102309102310102311102312102313102314102315102316102317102318102319102320102321102322102323102324102325102326102327102328102329102330102331102332102333102334102335102336102337102338102339102340102341102342102343102344102345102346102347102348102349102350102351102352102353102354102355102356102357102358102359102360102361102362102363102364102365102366102367102368102369102370102371102372102373102374102375102376102377102378102379102380102381102382102383102384102385102386102387102388102389102390102391102392102393102394102395102396102397102398102399102400102401102402102403102404102405102406102407102408102409102410102411102412102413102414102415102416102417102418102419102420102421102422102423102424102425102426102427102428102429102430102431102432102433102434102435102436102437102438102439102440102441102442102443102444102445102446102447102448102449102450102451102452102453102454102455102456102457102458102459102460102461102462102463102464102465102466102467102468102469102470102471102472102473102474102475102476102477102478102479102480102481102482102483102484102485102486102487102488102489102490102491102492102493102494102495102496102497102498102499102500102501102502102503102504102505102506102507102508102509102510102511102512102513102514102515102516102517102518102519102520102521102522102523102524102525102526102527102528102529102530102531102532102533102534102535102536102537102538102539102540102541102542102543102544102545102546102547102548102549102550102551102552102553102554102555102556102557102558102559102560102561102562102563102564102565102566102567102568102569102570102571102572102573102574102575102576102577102578102579102580102581102582102583102584102585102586102587102588102589102590102591102592102593102594102595102596102597102598102599102600102601102602102603102604102605102606102607102608102609102610102611102612102613102614102615102616102617102618102619102620102621102622102623102624102625102626102627102628102629102630102631102632102633102634102635102636102637102638102639102640102641102642102643102644102645102646102647102648102649102650102651102652102653102654102655102656102657102658102659102660102661102662102663102664102665102666102667102668102669102670102671102672102673102674102675102676102677102678102679102680102681102682102683102684102685102686102687102688102689102690102691102692102693102694102695102696102697102698102699102700102701102702102703102704102705102706102707102708102709102710102711102712102713102714102715102716102717102718102719102720102721102722102723102724102725102726102727102728102729102730102731102732102733102734102735102736102737102738102739102740102741102742102743102744102745102746102747102748102749102750102751102752102753102754102755102756102757102758102759102760102761102762102763102764102765102766102767102768102769102770102771102772102773102774102775102776102777102778102779102780102781102782102783102784102785102786102787102788102789102790102791102792102793102794102795102796102797102798102799102800102801102802102803102804102805102806102807102808102809102810102811102812102813102814102815102816102817102818102819102820102821102822102823102824102825102826102827102828102829102830102831102832102833102834102835102836102837102838102839102840102841102842102843102844102845102846102847102848102849102850102851102852102853102854102855102856102857102858102859102860102861102862102863102864102865102866102867102868102869102870102871102872102873102874102875102876102877102878102879102880102881102882102883102884102885102886102887102888102889102890102891102892102893102894102895102896102897102898102899102900102901102902102903102904102905102906102907102908102909102910102911102912102913102914102915102916102917102918102919102920102921102922102923102924102925102926102927102928102929102930102931102932102933102934102935102936102937102938102939102940102941102942102943102944102945102946102947102948102949102950102951102952102953102954102955102956102957102958102959102960102961102962102963102964102965102966102967102968102969102970102971102972102973102974102975102976102977102978102979102980102981102982102983102984102985102986102987102988102989102990102991102992102993102994102995102996102997102998102999103000103001103002103003103004103005103006103007103008103009103010103011103012103013103014103015103016103017103018103019103020103021103022103023103024103025103026103027103028103029103030103031103032103033103034103035103036103037103038103039103040103041103042103043103044103045103046103047103048103049103050103051103052103053103054103055103056103057103058103059103060103061103062103063103064103065103066103067103068103069103070103071103072103073103074103075103076103077103078103079103080103081103082103083103084103085103086103087103088103089103090103091103092103093103094103095103096103097103098103099103100103101103102103103103104103105103106103107103108103109103110103111103112103113103114103115103116103117103118103119103120103121103122103123103124103125103126103127103128103129103130103131103132103133103134103135103136103137103138103139103140103141103142103143103144103145103146103147103148103149103150103151103152103153103154103155103156103157103158103159103160103161103162103163103164103165103166103167103168103169103170103171103172103173103174103175103176103177103178103179103180103181103182103183103184103185103186103187103188103189103190103191103192103193103194103195103196103197103198103199103200103201103202103203103204103205103206103207103208103209103210103211103212103213103214103215103216103217103218103219103220103221103222103223103224103225103226103227103228103229103230103231103232103233103234103235103236103237103238103239103240103241103242103243103244103245103246103247103248103249103250103251103252103253103254103255103256103257103258103259103260103261103262103263103264103265103266103267103268103269103270103271103272103273103274103275103276103277103278103279103280103281103282103283103284103285103286103287103288103289103290103291103292103293103294103295103296103297103298103299103300103301103302103303103304103305103306103307103308103309103310103311103312103313103314103315103316103317103318103319103320103321103322103323103324103325103326103327103328103329103330103331103332103333103334103335103336103337103338103339103340103341103342103343103344103345103346103347103348103349103350103351103352103353103354103355103356103357103358103359103360103361103362103363103364103365103366103367103368103369103370103371103372103373103374103375103376103377103378103379103380103381103382103383103384103385103386103387103388103389103390103391103392103393103394103395103396103397103398103399103400103401103402103403103404103405103406103407103408103409103410103411103412103413103414103415103416103417103418103419103420103421103422103423103424103425103426103427103428103429103430103431103432103433103434103435103436103437103438103439103440103441103442103443103444103445103446103447103448103449103450103451103452103453103454103455103456103457103458103459103460103461103462103463103464103465103466103467103468103469103470103471103472103473103474103475103476103477103478103479103480103481103482103483103484103485103486103487103488103489103490103491103492103493103494103495103496103497103498103499103500103501103502103503103504103505103506103507103508103509103510103511103512103513103514103515103516103517103518103519103520103521103522103523103524103525103526103527103528103529103530103531103532103533103534103535103536103537103538103539103540103541103542103543103544103545103546103547103548103549103550103551103552103553103554103555103556103557103558103559103560103561103562103563103564103565103566103567103568103569103570103571103572103573103574103575103576103577103578103579103580103581103582103583103584103585103586103587103588103589103590103591103592103593103594103595103596103597103598103599103600103601103602103603103604103605103606103607103608103609103610103611103612103613103614103615103616103617103618103619103620103621103622103623103624103625103626103627103628103629103630103631103632103633103634103635103636103637103638103639103640103641103642103643103644103645103646103647103648103649103650103651103652103653103654103655103656103657103658103659103660103661103662103663103664103665103666103667103668103669103670103671103672103673103674103675103676103677103678103679103680103681103682103683103684103685103686103687103688103689103690103691103692103693103694103695103696103697103698103699103700103701103702103703103704103705103706103707103708103709103710103711103712103713103714103715103716103717103718103719103720103721103722103723103724103725103726103727103728103729103730103731103732103733103734103735103736103737103738103739103740103741103742103743103744103745103746103747103748103749103750103751103752103753103754103755103756103757103758103759103760103761103762103763103764103765103766103767103768103769103770103771103772103773103774103775103776103777103778103779103780103781103782103783103784103785103786103787103788103789103790103791103792103793103794103795103796103797103798103799103800103801103802103803103804103805103806103807103808103809103810103811103812103813103814103815103816103817103818103819103820103821103822103823103824103825103826103827103828103829103830103831103832103833103834103835103836103837103838103839103840103841103842103843103844103845103846103847103848103849103850103851103852103853103854103855103856103857103858103859103860103861103862103863103864103865103866103867103868103869103870103871103872103873103874103875103876103877103878103879103880103881103882103883103884103885103886103887103888103889103890103891103892103893103894103895103896103897103898103899103900103901103902103903103904103905103906103907103908103909103910103911103912103913103914103915103916103917103918103919103920103921103922103923103924103925103926103927103928103929103930103931103932103933103934103935103936103937103938103939103940103941103942103943103944103945103946103947103948103949103950103951103952103953103954103955103956103957103958103959103960103961103962103963103964103965103966103967103968103969103970103971103972103973103974103975103976103977103978103979103980103981103982103983103984103985103986103987103988103989103990103991103992103993103994103995103996103997103998103999104000104001104002104003104004104005104006104007104008104009104010104011104012104013104014104015104016104017104018104019104020104021104022104023104024104025104026104027104028104029104030104031104032104033104034104035104036104037104038104039104040104041104042104043104044104045104046104047104048104049104050104051104052104053104054104055104056104057104058104059104060104061104062104063104064104065104066104067104068104069104070104071104072104073104074104075104076104077104078104079104080104081104082104083104084104085104086104087104088104089104090104091104092104093104094104095104096104097104098104099104100104101104102104103104104104105104106104107104108104109104110104111104112104113104114104115104116104117104118104119104120104121104122104123104124104125104126104127104128104129104130104131104132104133104134104135104136104137104138104139104140104141104142104143104144104145104146104147104148104149104150104151104152104153104154104155104156104157104158104159104160104161104162104163104164104165104166104167104168104169104170104171104172104173104174104175104176104177104178104179104180104181104182104183104184104185104186104187104188104189104190104191104192104193104194104195104196104197104198104199104200104201104202104203104204104205104206104207104208104209104210104211104212104213104214104215104216104217104218104219104220104221104222104223104224104225104226104227104228104229104230104231104232104233104234104235104236104237104238104239104240104241104242104243104244104245104246104247104248104249104250104251104252104253104254104255104256104257104258104259104260104261104262104263104264104265104266104267104268104269104270104271104272104273104274104275104276104277104278104279104280104281104282104283104284104285104286104287104288104289104290104291104292104293104294104295104296104297104298104299104300104301104302104303104304104305104306104307104308104309104310104311104312104313104314104315104316104317104318104319104320104321104322104323104324104325104326104327104328104329104330104331104332104333104334104335104336104337104338104339104340104341104342104343104344104345104346104347104348104349104350104351104352104353104354104355104356104357104358104359104360104361104362104363104364104365104366104367104368104369104370104371104372104373104374104375104376104377104378104379104380104381104382104383104384104385104386104387104388104389104390104391104392104393104394104395104396104397104398104399104400104401104402104403104404104405104406104407104408104409104410104411104412104413104414104415104416104417104418104419104420104421104422104423104424104425104426104427104428104429104430104431104432104433104434104435104436104437104438104439104440104441104442104443104444104445104446104447104448104449104450104451104452104453104454104455104456104457104458104459104460104461104462104463104464104465104466104467104468104469104470104471104472104473104474104475104476104477104478104479104480104481104482104483104484104485104486104487104488104489104490104491104492104493104494104495104496104497104498104499104500104501104502104503104504104505104506104507104508104509104510104511104512104513104514104515104516104517104518104519104520104521104522104523104524104525104526104527104528104529104530104531104532104533104534104535104536104537104538104539104540104541104542104543104544104545104546104547104548104549104550104551104552104553104554104555104556104557104558104559104560104561104562104563104564104565104566104567104568104569104570104571104572104573104574104575104576104577104578104579104580104581104582104583104584104585104586104587104588104589104590104591104592104593104594104595104596104597104598104599104600104601104602104603104604104605104606104607104608104609104610104611104612104613104614104615104616104617104618104619104620104621104622104623104624104625104626104627104628104629104630104631104632104633104634104635104636104637104638104639104640104641104642104643104644104645104646104647104648104649104650104651104652104653104654104655104656104657104658104659104660104661104662104663104664104665104666104667104668104669104670104671104672104673104674104675104676104677104678104679104680104681104682104683104684104685104686104687104688104689104690104691104692104693104694104695104696104697104698104699104700104701104702104703104704104705104706104707104708104709104710104711104712104713104714104715104716104717104718104719104720104721104722104723104724104725104726104727104728104729104730104731104732104733104734104735104736104737104738104739104740104741104742104743104744104745104746104747104748104749104750104751104752104753104754104755104756104757104758104759104760104761104762104763104764104765104766104767104768104769104770104771104772104773104774104775104776104777104778104779104780104781104782104783104784104785104786104787104788104789104790104791104792104793104794104795104796104797104798104799104800104801104802104803104804104805104806104807104808104809104810104811104812104813104814104815104816104817104818104819104820104821104822104823104824104825104826104827104828104829104830104831104832104833104834104835104836104837104838104839104840104841104842104843104844104845104846104847104848104849104850104851104852104853104854104855104856104857104858104859104860104861104862104863104864104865104866104867104868104869104870104871104872104873104874104875104876104877104878104879104880104881104882104883104884104885104886104887104888104889104890104891104892104893104894104895104896104897104898104899104900104901104902104903104904104905104906104907104908104909104910104911104912104913104914104915104916104917104918104919104920104921104922104923104924104925104926104927104928104929104930104931104932104933104934104935104936104937104938104939104940104941104942104943104944104945104946104947104948104949104950104951104952104953104954104955104956104957104958104959104960104961104962104963104964104965104966104967104968104969104970104971104972104973104974104975104976104977104978104979104980104981104982104983104984104985104986104987104988104989104990104991104992104993104994104995104996104997104998104999105000105001105002105003105004105005105006105007105008105009105010105011105012105013105014105015105016105017105018105019105020105021105022105023105024105025105026105027105028105029105030105031105032105033105034105035105036105037105038105039105040105041105042105043105044105045105046105047105048105049105050105051105052105053105054105055105056105057105058105059105060105061105062105063105064105065105066105067105068105069105070105071105072105073105074105075105076105077105078105079105080105081105082105083105084105085105086105087105088105089105090105091105092105093105094105095105096105097105098105099105100105101105102105103105104105105105106105107105108105109105110105111105112105113105114105115105116105117105118105119105120105121105122105123105124105125105126105127105128105129105130105131105132105133105134105135105136105137105138105139105140105141105142105143105144105145105146105147105148105149105150105151105152105153105154105155105156105157105158105159105160105161105162105163105164105165105166105167105168105169105170105171105172105173105174105175105176105177105178105179105180105181105182105183105184105185105186105187105188105189105190105191105192105193105194105195105196105197105198105199105200105201105202105203105204105205105206105207105208105209105210105211105212105213105214105215105216105217105218105219105220105221105222105223105224105225105226105227105228105229105230105231105232105233105234105235105236105237105238105239105240105241105242105243105244105245105246105247105248105249105250105251105252105253105254105255105256105257105258105259105260105261105262105263105264105265105266105267105268105269105270105271105272105273105274105275105276105277105278105279105280105281105282105283105284105285105286105287105288105289105290105291105292105293105294105295105296105297105298105299105300105301105302105303105304105305105306105307105308105309105310105311105312105313105314105315105316105317105318105319105320105321105322105323105324105325105326105327105328105329105330105331105332105333105334105335105336105337105338105339105340105341105342105343105344105345105346105347105348105349105350105351105352105353105354105355105356105357105358105359105360105361105362105363105364105365105366105367105368105369105370105371105372105373105374105375105376105377105378105379105380105381105382105383105384105385105386105387105388105389105390105391105392105393105394105395105396105397105398105399105400105401105402105403105404105405105406105407105408105409105410105411105412105413105414105415105416105417105418105419105420105421105422105423105424105425105426105427105428105429105430105431105432105433105434105435105436105437105438105439105440105441105442105443105444105445105446105447105448105449105450105451105452105453105454105455105456105457105458105459105460105461105462105463105464105465105466105467105468105469105470105471105472105473105474105475105476105477105478105479105480105481105482105483105484105485105486105487105488105489105490105491105492105493105494105495105496105497105498105499105500105501105502105503105504105505105506105507105508105509105510105511105512105513105514105515105516105517105518105519105520105521105522105523105524105525105526105527105528105529105530105531105532105533105534105535105536105537105538105539105540105541105542105543105544105545105546105547105548105549105550105551105552105553105554105555105556105557105558105559105560105561105562105563105564105565105566105567105568105569105570105571105572105573105574105575105576105577105578105579105580105581105582105583105584105585105586105587105588105589105590105591105592105593105594105595105596105597105598105599105600105601105602105603105604105605105606105607105608105609105610105611105612105613105614105615105616105617105618105619105620105621105622105623105624105625105626105627105628105629105630105631105632105633105634105635105636105637105638105639105640105641105642105643105644105645105646105647105648105649105650105651105652105653105654105655105656105657105658105659105660105661105662105663105664105665105666105667105668105669105670105671105672105673105674105675105676105677105678105679105680105681105682105683105684105685105686105687105688105689105690105691105692105693105694105695105696105697105698105699105700105701105702105703105704105705105706105707105708105709105710105711105712105713105714105715105716105717105718105719105720105721105722105723105724105725105726105727105728105729105730105731105732105733105734105735105736105737105738105739105740105741105742105743105744105745105746105747105748105749105750105751105752105753105754105755105756105757105758105759105760105761105762105763105764105765105766105767105768105769105770105771105772105773105774105775105776105777105778105779105780105781105782105783105784105785105786105787105788105789105790105791105792105793105794105795105796105797105798105799105800105801105802105803105804105805105806105807105808105809105810105811105812105813105814105815105816105817105818105819105820105821105822105823105824105825105826105827105828105829105830105831105832105833105834105835105836105837105838105839105840105841105842105843105844105845105846105847105848105849105850105851105852105853105854105855105856105857105858105859105860105861105862105863105864105865105866105867105868105869105870105871105872105873105874105875105876105877105878105879105880105881105882105883105884105885105886105887105888105889105890105891105892105893105894105895105896105897105898105899105900105901105902105903105904105905105906105907105908105909105910105911105912105913105914105915105916105917105918105919105920105921105922105923105924105925105926105927105928105929105930105931105932105933105934105935105936105937105938105939105940105941105942105943105944105945105946105947105948105949105950105951105952105953105954105955105956105957105958105959105960105961105962105963105964105965105966105967105968105969105970105971105972105973105974105975105976105977105978105979105980105981105982105983105984105985105986105987105988105989105990105991105992105993105994105995105996105997105998105999106000106001106002106003106004106005106006106007106008106009106010106011106012106013106014106015106016106017106018106019106020106021106022106023106024106025106026106027106028106029106030106031106032106033106034106035106036106037106038106039106040106041106042106043106044106045106046106047106048106049106050106051106052106053106054106055106056106057106058106059106060106061106062106063106064106065106066106067106068106069106070106071106072106073106074106075106076106077106078106079106080106081106082106083106084106085106086106087106088106089106090106091106092106093106094106095106096106097106098106099106100106101106102106103106104106105106106106107106108106109106110106111106112106113106114106115106116106117106118106119106120106121106122106123106124106125106126106127106128106129106130106131106132106133106134106135106136106137106138106139106140106141106142106143106144106145106146106147106148106149106150106151106152106153106154106155106156106157106158106159106160106161106162106163106164106165106166106167106168106169106170106171106172106173106174106175106176106177106178106179106180106181106182106183106184106185106186106187106188106189106190106191106192106193106194106195106196106197106198106199106200106201106202106203106204106205106206106207106208106209106210106211106212106213106214106215106216106217106218106219106220106221106222106223106224106225106226106227106228106229106230106231106232106233106234106235106236106237106238106239106240106241106242106243106244106245106246106247106248106249106250106251106252106253106254106255106256106257106258106259106260106261106262106263106264106265106266106267106268106269106270106271106272106273106274106275106276106277106278106279106280106281106282106283106284106285106286106287106288106289106290106291106292106293106294106295106296106297106298106299106300106301106302106303106304106305106306106307106308106309106310106311106312106313106314106315106316106317106318106319106320106321106322106323106324106325106326106327106328106329106330106331106332106333106334106335106336106337106338106339106340106341106342106343106344106345106346106347106348106349106350106351106352106353106354106355106356106357106358106359106360106361106362106363106364106365106366106367106368106369106370106371106372106373106374106375106376106377106378106379106380106381106382106383106384106385106386106387106388106389106390106391106392106393106394106395106396106397106398106399106400106401106402106403106404106405106406106407106408106409106410106411106412106413106414106415106416106417106418106419106420106421106422106423106424106425106426106427106428106429106430106431106432106433106434106435106436106437106438106439106440106441106442106443106444106445106446106447106448106449106450106451106452106453106454106455106456106457106458106459106460106461106462106463106464106465106466106467106468106469106470106471106472106473106474106475106476106477106478106479106480106481106482106483106484106485106486106487106488106489106490106491106492106493106494106495106496106497106498106499106500106501106502106503106504106505106506106507106508106509106510106511106512106513106514106515106516106517106518106519106520106521106522106523106524106525106526106527106528106529106530106531106532106533106534106535106536106537106538106539106540106541106542106543106544106545106546106547106548106549106550106551106552106553106554106555106556106557106558106559106560106561106562106563106564106565106566106567106568106569106570106571106572106573106574106575106576106577106578106579106580106581106582106583106584106585106586106587106588106589106590106591106592106593106594106595106596106597106598106599106600106601106602106603106604106605106606106607106608106609106610106611106612106613106614106615106616106617106618106619106620106621106622106623106624106625106626106627106628106629106630106631106632106633106634106635106636106637106638106639106640106641106642106643106644106645106646106647106648106649106650106651106652106653106654106655106656106657106658106659106660106661106662106663106664106665106666106667106668106669106670106671106672106673106674106675106676106677106678106679106680106681106682106683106684106685106686106687106688106689106690106691106692106693106694106695106696106697106698106699106700106701106702106703106704106705106706106707106708106709106710106711106712106713106714106715106716106717106718106719106720106721106722106723106724106725106726106727106728106729106730106731106732106733106734106735106736106737106738106739106740106741106742106743106744106745106746106747106748106749106750106751106752106753106754106755106756106757106758106759106760106761106762106763106764106765106766106767106768106769106770106771106772106773106774106775106776106777106778106779106780106781106782106783106784106785106786106787106788106789106790106791106792106793106794106795106796106797106798106799106800106801106802106803106804106805106806106807106808106809106810106811106812106813106814106815106816106817106818106819106820106821106822106823106824106825106826106827106828106829106830106831106832106833106834106835106836106837106838106839106840106841106842106843106844106845106846106847106848106849106850106851106852106853106854106855106856106857106858106859106860106861106862106863106864106865106866106867106868106869106870106871106872106873106874106875106876106877106878106879106880106881106882106883106884106885106886106887106888106889106890106891106892106893106894106895106896106897106898106899106900106901106902106903106904106905106906106907106908106909106910106911106912106913106914106915106916106917106918106919106920106921106922106923106924106925106926106927106928106929106930106931106932106933106934106935106936106937106938106939106940106941106942106943106944106945106946106947106948106949106950106951106952106953106954106955106956106957106958106959106960106961106962106963106964106965106966106967106968106969106970106971106972106973106974106975106976106977106978106979106980106981106982106983106984106985106986106987106988106989106990106991106992106993106994106995106996106997106998106999107000107001107002107003107004107005107006107007107008107009107010107011107012107013107014107015107016107017107018107019107020107021107022107023107024107025107026107027107028107029107030107031107032107033107034107035107036107037107038107039107040107041107042107043107044107045107046107047107048107049107050107051107052107053107054107055107056107057107058107059107060107061107062107063107064107065107066107067107068107069107070107071107072107073107074107075107076107077107078107079107080107081107082107083107084107085107086107087107088107089107090107091107092107093107094107095107096107097107098107099107100107101107102107103107104107105107106107107107108107109107110107111107112107113107114107115107116107117107118107119107120107121107122107123107124107125107126107127107128107129107130107131107132107133107134107135107136107137107138107139107140107141107142107143107144107145107146107147107148107149107150107151107152107153107154107155107156107157107158107159107160107161107162107163107164107165107166107167107168107169107170107171107172107173107174107175107176107177107178107179107180107181107182107183107184107185107186107187107188107189107190107191107192107193107194107195107196107197107198107199107200107201107202107203107204107205107206107207107208107209107210107211107212107213107214107215107216107217107218107219107220107221107222107223107224107225107226107227107228107229107230107231107232107233107234107235107236107237107238107239107240107241107242107243107244107245107246107247107248107249107250107251107252107253107254107255107256107257107258107259107260107261107262107263107264107265107266107267107268107269107270107271107272107273107274107275107276107277107278107279107280107281107282107283107284107285107286107287107288107289107290107291107292107293107294107295107296107297107298107299107300107301107302107303107304107305107306107307107308107309107310107311107312107313107314107315107316107317107318107319107320107321107322107323107324107325107326107327107328107329107330107331107332107333107334107335107336107337107338107339107340107341107342107343107344107345107346107347107348107349107350107351107352107353107354107355107356107357107358107359107360107361107362107363107364107365107366107367107368107369107370107371107372107373107374107375107376107377107378107379107380107381107382107383107384107385107386107387107388107389107390107391107392107393107394107395107396107397107398107399107400107401107402107403107404107405107406107407107408107409107410107411107412107413107414107415107416107417107418107419107420107421107422107423107424107425107426107427107428107429107430107431107432107433107434107435107436107437107438107439107440107441107442107443107444107445107446107447107448107449107450107451107452107453107454107455107456107457107458107459107460107461107462107463107464107465107466107467107468107469107470107471107472107473107474107475107476107477107478107479107480107481107482107483107484107485107486107487107488107489107490107491107492107493107494107495107496107497107498107499107500107501107502107503107504107505107506107507107508107509107510107511107512107513107514107515107516107517107518107519107520107521107522107523107524107525107526107527107528107529107530107531107532107533107534107535107536107537107538107539107540107541107542107543107544107545107546107547107548107549107550107551107552107553107554107555107556107557107558107559107560107561107562107563107564107565107566107567107568107569107570107571107572107573107574107575107576107577107578107579107580107581107582107583107584107585107586107587107588107589107590107591107592107593107594107595107596107597107598107599107600107601107602107603107604107605107606107607107608107609107610107611107612107613107614107615107616107617107618107619107620107621107622107623107624107625107626107627107628107629107630107631107632107633107634107635107636107637107638107639107640107641107642107643107644107645107646107647107648107649107650107651107652107653107654107655107656107657107658107659107660107661107662107663107664107665107666107667107668107669107670107671107672107673107674107675107676107677107678107679107680107681107682107683107684107685107686107687107688107689107690107691107692107693107694107695107696107697107698107699107700107701107702107703107704107705107706107707107708107709107710107711107712107713107714107715107716107717107718107719107720107721107722107723107724107725107726107727107728107729107730107731107732107733107734107735107736107737107738107739107740107741107742107743107744107745107746107747107748107749107750107751107752107753107754107755107756107757107758107759107760107761107762107763107764107765107766107767107768107769107770107771107772107773107774107775107776107777107778107779107780107781107782107783107784107785107786107787107788107789107790107791107792107793107794107795107796107797107798107799107800107801107802107803107804107805107806107807107808107809107810107811107812107813107814107815107816107817107818107819107820107821107822107823107824107825107826107827107828107829107830107831107832107833107834107835107836107837107838107839107840107841107842107843107844107845107846107847107848107849107850107851107852107853107854107855107856107857107858107859107860107861107862107863107864107865107866107867107868107869107870107871107872107873107874107875107876107877107878107879107880107881107882107883107884107885107886107887107888107889107890107891107892107893107894107895107896107897107898107899107900107901107902107903107904107905107906107907107908107909107910107911107912107913107914107915107916107917107918107919107920107921107922107923107924107925107926107927107928107929107930107931107932107933107934107935107936107937107938107939107940107941107942107943107944107945107946107947107948107949107950107951107952107953107954107955107956107957107958107959107960107961107962107963107964107965107966107967107968107969107970107971107972107973107974107975107976107977107978107979107980107981107982107983107984107985107986107987107988107989107990107991107992107993107994107995107996107997107998107999108000108001108002108003108004108005108006108007108008108009108010108011108012108013108014108015108016108017108018108019108020108021108022108023108024108025108026108027108028108029108030108031108032108033108034108035108036108037108038108039108040108041108042108043108044108045108046108047108048108049108050108051108052108053108054108055108056108057108058108059108060108061108062108063108064108065108066108067108068108069108070108071108072108073108074108075108076108077108078108079108080108081108082108083108084108085108086108087108088108089108090108091108092108093108094108095108096108097108098108099108100108101108102108103108104108105108106108107108108108109108110108111108112108113108114108115108116108117108118108119108120108121108122108123108124108125108126108127108128108129108130108131108132108133108134108135108136108137108138108139108140108141108142108143108144108145108146108147108148108149108150108151108152108153108154108155108156108157108158108159108160108161108162108163108164108165108166108167108168108169108170108171108172108173108174108175108176108177108178108179108180108181108182108183108184108185108186108187108188108189108190108191108192108193108194108195108196108197108198108199108200108201108202108203108204108205108206108207108208108209108210108211108212108213108214108215108216108217108218108219108220108221108222108223108224108225108226108227108228108229108230108231108232108233108234108235108236108237108238108239108240108241108242108243108244108245108246108247108248108249108250108251108252108253108254108255108256108257108258108259108260108261108262108263108264108265108266108267108268108269108270108271108272108273108274108275108276108277108278108279108280108281108282108283108284108285108286108287108288108289108290108291108292108293108294108295108296108297108298108299108300108301108302108303108304108305108306108307108308108309108310108311108312108313108314108315108316108317108318108319108320108321108322108323108324108325108326108327108328108329108330108331108332108333108334108335108336108337108338108339108340108341108342108343108344108345108346108347108348108349108350108351108352108353108354108355108356108357108358108359108360108361108362108363108364108365108366108367108368108369108370108371108372108373108374108375108376108377108378108379108380108381108382108383108384108385108386108387108388108389108390108391108392108393108394108395108396108397108398108399108400108401108402108403108404108405108406108407108408108409108410108411108412108413108414108415108416108417108418108419108420108421108422108423108424108425108426108427108428108429108430108431108432108433108434108435108436108437108438108439108440108441108442108443108444108445108446108447108448108449108450108451108452108453108454108455108456108457108458108459108460108461108462108463108464108465108466108467108468108469108470108471108472108473108474108475108476108477108478108479108480108481108482108483108484108485108486108487108488108489108490108491108492108493108494108495108496108497108498108499108500108501108502108503108504108505108506108507108508108509108510108511108512108513108514108515108516108517108518108519108520108521108522108523108524108525108526108527108528108529108530108531108532108533108534108535108536108537108538108539108540108541108542108543108544108545108546108547108548108549108550108551108552108553108554108555108556108557108558108559108560108561108562108563108564108565108566108567108568108569108570108571108572108573108574108575108576108577108578108579108580108581108582108583108584108585108586108587108588108589108590108591108592108593108594108595108596108597108598108599108600108601108602108603108604108605108606108607108608108609108610108611108612108613108614108615108616108617108618108619108620108621108622108623108624108625108626108627108628108629108630108631108632108633108634108635108636108637108638108639108640108641108642108643108644108645108646108647108648108649108650108651108652108653108654108655108656108657108658108659108660108661108662108663108664108665108666108667108668108669108670108671108672108673108674108675108676108677108678108679108680108681108682108683108684108685108686108687108688108689108690108691108692108693108694108695108696108697108698108699108700108701108702108703108704108705108706108707108708108709108710108711108712108713108714108715108716108717108718108719108720108721108722108723108724108725108726108727108728108729108730108731108732108733108734108735108736108737108738108739108740108741108742108743108744108745108746108747108748108749108750108751108752108753108754108755108756108757108758108759108760108761108762108763108764108765108766108767108768108769108770108771108772108773108774108775108776108777108778108779108780108781108782108783108784108785108786108787108788108789108790108791108792108793108794108795108796108797108798108799108800108801108802108803108804108805108806108807108808108809108810108811108812108813108814108815108816108817108818108819108820108821108822108823108824108825108826108827108828108829108830108831108832108833108834108835108836108837108838108839108840108841108842108843108844108845108846108847108848108849108850108851108852108853108854108855108856108857108858108859108860108861108862108863108864108865108866108867108868108869108870108871108872108873108874108875108876108877108878108879108880108881108882108883108884108885108886108887108888108889108890108891108892108893108894108895108896108897108898108899108900108901108902108903108904108905108906108907108908108909108910108911108912108913108914108915108916108917108918108919108920108921108922108923108924108925108926108927108928108929108930108931108932108933108934108935108936108937108938108939108940108941108942108943108944108945108946108947108948108949108950108951108952108953108954108955108956108957108958108959108960108961108962108963108964108965108966108967108968108969108970108971108972108973108974108975108976108977108978108979108980108981108982108983108984108985108986108987108988108989108990108991108992108993108994108995108996108997108998108999109000109001109002109003109004109005109006109007109008109009109010109011109012109013109014109015109016109017109018109019109020109021109022109023109024109025109026109027109028109029109030109031109032109033109034109035109036109037109038109039109040109041109042109043109044109045109046109047109048109049109050109051109052109053109054109055109056109057109058109059109060109061109062109063109064109065109066109067109068109069109070109071109072109073109074109075109076109077109078109079109080109081109082109083109084109085109086109087109088109089109090109091109092109093109094109095109096109097109098109099109100109101109102109103109104109105109106109107109108109109109110109111109112109113109114109115109116109117109118109119109120109121109122109123109124109125109126109127109128109129109130109131109132109133109134109135109136109137109138109139109140109141109142109143109144109145109146109147109148109149109150109151109152109153109154109155109156109157109158109159109160109161109162109163109164109165109166109167109168109169109170109171109172109173109174109175109176109177109178109179109180109181109182109183109184109185109186109187109188109189109190109191109192109193109194109195109196109197109198109199109200109201109202109203109204109205109206109207109208109209109210109211109212109213109214109215109216109217109218109219109220109221109222109223109224109225109226109227109228109229109230109231109232109233109234109235109236109237109238109239109240109241109242109243109244109245109246109247109248109249109250109251109252109253109254109255109256109257109258109259109260109261109262109263109264109265109266109267109268109269109270109271109272109273109274109275109276109277109278109279109280109281109282109283109284109285109286109287109288109289109290109291109292109293109294109295109296109297109298109299109300109301109302109303109304109305109306109307109308109309109310109311109312109313109314109315109316109317109318109319109320109321109322109323109324109325109326109327109328109329109330109331109332109333109334109335109336109337109338109339109340109341109342109343109344109345109346109347109348109349109350109351109352109353109354109355109356109357109358109359109360109361109362109363109364109365109366109367109368109369109370109371109372109373109374109375109376109377109378109379109380109381109382109383109384109385109386109387109388109389109390109391109392109393109394109395109396109397109398109399109400109401109402109403109404109405109406109407109408109409109410109411109412109413109414109415109416109417109418109419109420109421109422109423109424109425109426109427109428109429109430109431109432109433109434109435109436109437109438109439109440109441109442109443109444109445109446109447109448109449109450109451109452109453109454109455109456109457109458109459109460109461109462109463109464109465109466109467109468109469109470109471109472109473109474109475109476109477109478109479109480109481109482109483109484109485109486109487109488109489109490109491109492109493109494109495109496109497109498109499109500109501109502109503109504109505109506109507109508109509109510109511109512109513109514109515109516109517109518109519109520109521109522109523109524109525109526109527109528109529109530109531109532109533109534109535109536109537109538109539109540109541109542109543109544109545109546109547109548109549109550109551109552109553109554109555109556109557109558109559109560109561109562109563109564109565109566109567109568109569109570109571109572109573109574109575109576109577109578109579109580109581109582109583109584109585109586109587109588109589109590109591109592109593109594109595109596109597109598109599109600109601109602109603109604109605109606109607109608109609109610109611109612109613109614109615109616109617109618109619109620109621109622109623109624109625109626109627109628109629109630109631109632109633109634109635109636109637109638109639109640109641109642109643109644109645109646109647109648109649109650109651109652109653109654109655109656109657109658109659109660109661109662109663109664109665109666109667109668109669109670109671109672109673109674109675109676109677109678109679109680109681109682109683109684109685109686109687109688109689109690109691109692109693109694109695109696109697109698109699109700109701109702109703109704109705109706109707109708109709109710109711109712109713109714109715109716109717109718109719109720109721109722109723109724109725109726109727109728109729109730109731109732109733109734109735109736109737109738109739109740109741109742109743109744109745109746109747109748109749109750109751109752109753109754109755109756109757109758109759109760109761109762109763109764109765109766109767109768109769109770109771109772109773109774109775109776109777109778109779109780109781109782109783109784109785109786109787109788109789109790109791109792109793109794109795109796109797109798109799109800109801109802109803109804109805109806109807109808109809109810109811109812109813109814109815109816109817109818109819109820109821109822109823109824109825109826109827109828109829109830109831109832109833109834109835109836109837109838109839109840109841109842109843109844109845109846109847109848109849109850109851109852109853109854109855109856109857109858109859109860109861109862109863109864109865109866109867109868109869109870109871109872109873109874109875109876109877109878109879109880109881109882109883109884109885109886109887109888109889109890109891109892109893109894109895109896109897109898109899109900109901109902109903109904109905109906109907109908109909109910109911109912109913109914109915109916109917109918109919109920109921109922109923109924109925109926109927109928109929109930109931109932109933109934109935109936109937109938109939109940109941109942109943109944109945109946109947109948109949109950109951109952109953109954109955109956109957109958109959109960109961109962109963109964109965109966109967109968109969109970109971109972109973109974109975109976109977109978109979109980109981109982109983109984109985109986109987109988109989109990109991109992109993109994109995109996109997109998109999110000110001110002110003110004110005110006110007110008110009110010110011110012110013110014110015110016110017110018110019110020110021110022110023110024110025110026110027110028110029110030110031110032110033110034110035110036110037110038110039110040110041110042110043110044110045110046110047110048110049110050110051110052110053110054110055110056110057110058110059110060110061110062110063110064110065110066110067110068110069110070110071110072110073110074110075110076110077110078110079110080110081110082110083110084110085110086110087110088110089110090110091110092110093110094110095110096110097110098110099110100110101110102110103110104110105110106110107110108110109110110110111110112110113110114110115110116110117110118110119110120110121110122110123110124110125110126110127110128110129110130110131110132110133110134110135110136110137110138110139110140110141110142110143110144110145110146110147110148110149110150110151110152110153110154110155110156110157110158110159110160110161110162110163110164110165110166110167110168110169110170110171110172110173110174110175110176110177110178110179110180110181110182110183110184110185110186110187110188110189110190110191110192110193110194110195110196110197110198110199110200110201110202110203110204110205110206110207110208110209110210110211110212110213110214110215110216110217110218110219110220110221110222110223110224110225110226110227110228110229110230110231110232110233110234110235110236110237110238110239110240110241110242110243110244110245110246110247110248110249110250110251110252110253110254110255110256110257110258110259110260110261110262110263110264110265110266110267110268110269110270110271110272110273110274110275110276110277110278110279110280110281110282110283110284110285110286110287110288110289110290110291110292110293110294110295110296110297110298110299110300110301110302110303110304110305110306110307110308110309110310110311110312110313110314110315110316110317110318110319110320110321110322110323110324110325110326110327110328110329110330110331110332110333110334110335110336110337110338110339110340110341110342110343110344110345110346110347110348110349110350110351110352110353110354110355110356110357110358110359110360110361110362110363110364110365110366110367110368110369110370110371110372110373110374110375110376110377110378110379110380110381110382110383110384110385110386110387110388110389110390110391110392110393110394110395110396110397110398110399110400110401110402110403110404110405110406110407110408110409110410110411110412110413110414110415110416110417110418110419110420110421110422110423110424110425110426110427110428110429110430110431110432110433110434110435110436110437110438110439110440110441110442110443110444110445110446110447110448110449110450110451110452110453110454110455110456110457110458110459110460110461110462110463110464110465110466110467110468110469110470110471110472110473110474110475110476110477110478110479110480110481110482110483110484110485110486110487110488110489110490110491110492110493110494110495110496110497110498110499110500110501110502110503110504110505110506110507110508110509110510110511110512110513110514110515110516110517110518110519110520110521110522110523110524110525110526110527110528110529110530110531110532110533110534110535110536110537110538110539110540110541110542110543110544110545110546110547110548110549110550110551110552110553110554110555110556110557110558110559110560110561110562110563110564110565110566110567110568110569110570110571110572110573110574110575110576110577110578110579110580110581110582110583110584110585110586110587110588110589110590110591110592110593110594110595110596110597110598110599110600110601110602110603110604110605110606110607110608110609110610110611110612110613110614110615110616110617110618110619110620110621110622110623110624110625110626110627110628110629110630110631110632110633110634110635110636110637110638110639110640110641110642110643110644110645110646110647110648110649110650110651110652110653110654110655110656110657110658110659110660110661110662110663110664110665110666110667110668110669110670110671110672110673110674110675110676110677110678110679110680110681110682110683110684110685110686110687110688110689110690110691110692110693110694110695110696110697110698110699110700110701110702110703110704110705110706110707110708110709110710110711110712110713110714110715110716110717110718110719110720110721110722110723110724110725110726110727110728110729110730110731110732110733110734110735110736110737110738110739110740110741110742110743110744110745110746110747110748110749110750110751110752110753110754110755110756110757110758110759110760110761110762110763110764110765110766110767110768110769110770110771110772110773110774110775110776110777110778110779110780110781110782110783110784110785110786110787110788110789110790110791110792110793110794110795110796110797110798110799110800110801110802110803110804110805110806110807110808110809110810110811110812110813110814110815110816110817110818110819110820110821110822110823110824110825110826110827110828110829110830110831110832110833110834110835110836110837110838110839110840110841110842110843110844110845110846110847110848110849110850110851110852110853110854110855110856110857110858110859110860110861110862110863110864110865110866110867110868110869110870110871110872110873110874110875110876110877110878110879110880110881110882110883110884110885110886110887110888110889110890110891110892110893110894110895110896110897110898110899110900110901110902110903110904110905110906110907110908110909110910110911110912110913110914110915110916110917110918110919110920110921110922110923110924110925110926110927110928110929110930110931110932110933110934110935110936110937110938110939110940110941110942110943110944110945110946110947110948110949110950110951110952110953110954110955110956110957110958110959110960110961110962110963110964110965110966110967110968110969110970110971110972110973110974110975110976110977110978110979110980110981110982110983110984110985110986110987110988110989110990110991110992110993110994110995110996110997110998110999111000111001111002111003111004111005111006111007111008111009111010111011111012111013111014111015111016111017111018111019111020111021111022111023111024111025111026111027111028111029111030111031111032111033111034111035111036111037111038111039111040111041111042111043111044111045111046111047111048111049111050111051111052111053111054111055111056111057111058111059111060111061111062111063111064111065111066111067111068111069111070111071111072111073111074111075111076111077111078111079111080111081111082111083111084111085111086111087111088111089111090111091111092111093111094111095111096111097111098111099111100111101111102111103111104111105111106111107111108111109111110111111111112111113111114111115111116111117111118111119111120111121111122111123111124111125111126111127111128111129111130111131111132111133111134111135111136111137111138111139111140111141111142111143111144111145111146111147111148111149111150111151111152111153111154111155111156111157111158111159111160111161111162111163111164111165111166111167111168111169111170111171111172111173111174111175111176111177111178111179111180111181111182111183111184111185111186111187111188111189111190111191111192111193111194111195111196111197111198111199111200111201111202111203111204111205111206111207111208111209111210111211111212111213111214111215111216111217111218111219111220111221111222111223111224111225111226111227111228111229111230111231111232111233111234111235111236111237111238111239111240111241111242111243111244111245111246111247111248111249111250111251111252111253111254111255111256111257111258111259111260111261111262111263111264111265111266111267111268111269111270111271111272111273111274111275111276111277111278111279111280111281111282111283111284111285111286111287111288111289111290111291111292111293111294111295111296111297111298111299111300111301111302111303111304111305111306111307111308111309111310111311111312111313111314111315111316111317111318111319111320111321111322111323111324111325111326111327111328111329111330111331111332111333111334111335111336111337111338111339111340111341111342111343111344111345111346111347111348111349111350111351111352111353111354111355111356111357111358111359111360111361111362111363111364111365111366111367111368111369111370111371111372111373111374111375111376111377111378111379111380111381111382111383111384111385111386111387111388111389111390111391111392111393111394111395111396111397111398111399111400111401111402111403111404111405111406111407111408111409111410111411111412111413111414111415111416111417111418111419111420111421111422111423111424111425111426111427111428111429111430111431111432111433111434111435111436111437111438111439111440111441111442111443111444111445111446111447111448111449111450111451111452111453111454111455111456111457111458111459111460111461111462111463111464111465111466111467111468111469111470111471111472111473111474111475111476111477111478111479111480111481111482111483111484111485111486111487111488111489111490111491111492111493111494111495111496111497111498111499111500111501111502111503111504111505111506111507111508111509111510111511111512111513111514111515111516111517111518111519111520111521111522111523111524111525111526111527111528111529111530111531111532111533111534111535111536111537111538111539111540111541111542111543111544111545111546111547111548111549111550111551111552111553111554111555111556111557111558111559111560111561111562111563111564111565111566111567111568111569111570111571111572111573111574111575111576111577111578111579111580111581111582111583111584111585111586111587111588111589111590111591111592111593111594111595111596111597111598111599111600111601111602111603111604111605111606111607111608111609111610111611111612111613111614111615111616111617111618111619111620111621111622111623111624111625111626111627111628111629111630111631111632111633111634111635111636111637111638111639111640111641111642111643111644111645111646111647111648111649111650111651111652111653111654111655111656111657111658111659111660111661111662111663111664111665111666111667111668111669111670111671111672111673111674111675111676111677111678111679111680111681111682111683111684111685111686111687111688111689111690111691111692111693111694111695111696111697111698111699111700111701111702111703111704111705111706111707111708111709111710111711111712111713111714111715111716111717111718111719111720111721111722111723111724111725111726111727111728111729111730111731111732111733111734111735111736111737111738111739111740111741111742111743111744111745111746111747111748111749111750111751111752111753111754111755111756111757111758111759111760111761111762111763111764111765111766111767111768111769111770111771111772111773111774111775111776111777111778111779111780111781111782111783111784111785111786111787111788111789111790111791111792111793111794111795111796111797111798111799111800111801111802111803111804111805111806111807111808111809111810111811111812111813111814111815111816111817111818111819111820111821111822111823111824111825111826111827111828111829111830111831111832111833111834111835111836111837111838111839111840111841111842111843111844111845111846111847111848111849111850111851111852111853111854111855111856111857111858111859111860111861111862111863111864111865111866111867111868111869111870111871111872111873111874111875111876111877111878111879111880111881111882111883111884111885111886111887111888111889111890111891111892111893111894111895111896111897111898111899111900111901111902111903111904111905111906111907111908111909111910111911111912111913111914111915111916111917111918111919111920111921111922111923111924111925111926111927111928111929111930111931111932111933111934111935111936111937111938111939111940111941111942111943111944111945111946111947111948111949111950111951111952111953111954111955111956111957111958111959111960111961111962111963111964111965111966111967111968111969111970111971111972111973111974111975111976111977111978111979111980111981111982111983111984111985111986111987111988111989111990111991111992111993111994111995111996111997111998111999112000112001112002112003112004112005112006112007112008112009112010112011112012112013112014112015112016112017112018112019112020112021112022112023112024112025112026112027112028112029112030112031112032112033112034112035112036112037112038112039112040112041112042112043112044112045112046112047112048112049112050112051112052112053112054112055112056112057112058112059112060112061112062112063112064112065112066112067112068112069112070112071112072112073112074112075112076112077112078112079112080112081112082112083112084112085112086112087112088112089112090112091112092112093112094112095112096112097112098112099112100112101112102112103112104112105112106112107112108112109112110112111112112112113112114112115112116112117112118112119112120112121112122112123112124112125112126112127112128112129112130112131112132112133112134112135112136112137112138112139112140112141112142112143112144112145112146112147112148112149112150112151112152112153112154112155112156112157112158112159112160112161112162112163112164112165112166112167112168112169112170112171112172112173112174112175112176112177112178112179112180112181112182112183112184112185112186112187112188112189112190112191112192112193112194112195112196112197112198112199112200112201112202112203112204112205112206112207112208112209112210112211112212112213112214112215112216112217112218112219112220112221112222112223112224112225112226112227112228112229112230112231112232112233112234112235112236112237112238112239112240112241112242112243112244112245112246112247112248112249112250112251112252112253112254112255112256112257112258112259112260112261112262112263112264112265112266112267112268112269112270112271112272112273112274112275112276112277112278112279112280112281112282112283112284112285112286112287112288112289112290112291112292112293112294112295112296112297112298112299112300112301112302112303112304112305112306112307112308112309112310112311112312112313112314112315112316112317112318112319112320112321112322112323112324112325112326112327112328112329112330112331112332112333112334112335112336112337112338112339112340112341112342112343112344112345112346112347112348112349112350112351112352112353112354112355112356112357112358112359112360112361112362112363112364112365112366112367112368112369112370112371112372112373112374112375112376112377112378112379112380112381112382112383112384112385112386112387112388112389112390112391112392112393112394112395112396112397112398112399112400112401112402112403112404112405112406112407112408112409112410112411112412112413112414112415112416112417112418112419112420112421112422112423112424112425112426112427112428112429112430112431112432112433112434112435112436112437112438112439112440112441112442112443112444112445112446112447112448112449112450112451112452112453112454112455112456112457112458112459112460112461112462112463112464112465112466112467112468112469112470112471112472112473112474112475112476112477112478112479112480112481112482112483112484112485112486112487112488112489112490112491112492112493112494112495112496112497112498112499112500112501112502112503112504112505112506112507112508112509112510112511112512112513112514112515112516112517112518112519112520112521112522112523112524112525112526112527112528112529112530112531112532112533112534112535112536112537112538112539112540112541112542112543112544112545112546112547112548112549112550112551112552112553112554112555112556112557112558112559112560112561112562112563112564112565112566112567112568112569112570112571112572112573112574112575112576112577112578112579112580112581112582112583112584112585112586112587112588112589112590112591112592112593112594112595112596112597112598112599112600112601112602112603112604112605112606112607112608112609112610112611112612112613112614112615112616112617112618112619112620112621112622112623112624112625112626112627112628112629112630112631112632112633112634112635112636112637112638112639112640112641112642112643112644112645112646112647112648112649112650112651112652112653112654112655112656112657112658112659112660112661112662112663112664112665112666112667112668112669112670112671112672112673112674112675112676112677112678112679112680112681112682112683112684112685112686112687112688112689112690112691112692112693112694112695112696112697112698112699112700112701112702112703112704112705112706112707112708112709112710112711112712112713112714112715112716112717112718112719112720112721112722112723112724112725112726112727112728112729112730112731112732112733112734112735112736112737112738112739112740112741112742112743112744112745112746112747112748112749112750112751112752112753112754112755112756112757112758112759112760112761112762112763112764112765112766112767112768112769112770112771112772112773112774112775112776112777112778112779112780112781112782112783112784112785112786112787112788112789112790112791112792112793112794112795112796112797112798112799112800112801112802112803112804112805112806112807112808112809112810112811112812112813112814112815112816112817112818112819112820112821112822112823112824112825112826112827112828112829112830112831112832112833112834112835112836112837112838112839112840112841112842112843112844112845112846112847112848112849112850112851112852112853112854112855112856112857112858112859112860112861112862112863112864112865112866112867112868112869112870112871112872112873112874112875112876112877112878112879112880112881112882112883112884112885112886112887112888112889112890112891112892112893112894112895112896112897112898112899112900112901112902112903112904112905112906112907112908112909112910112911112912112913112914112915112916112917112918112919112920112921112922112923112924112925112926112927112928112929112930112931112932112933112934112935112936112937112938112939112940112941112942112943112944112945112946112947112948112949112950112951112952112953112954112955112956112957112958112959112960112961112962112963112964112965112966112967112968112969112970112971112972112973112974112975112976112977112978112979112980112981112982112983112984112985112986112987112988112989112990112991112992112993112994112995112996112997112998112999113000113001113002113003113004113005113006113007113008113009113010113011113012113013113014113015113016113017113018113019113020113021113022113023113024113025113026113027113028113029113030113031113032113033113034113035113036113037113038113039113040113041113042113043113044113045113046113047113048113049113050113051113052113053113054113055113056113057113058113059113060113061113062113063113064113065113066113067113068113069113070113071113072113073113074113075113076113077113078113079113080113081113082113083113084113085113086113087113088113089113090113091113092113093113094113095113096113097113098113099113100113101113102113103113104113105113106113107113108113109113110113111113112113113113114113115113116113117113118113119113120113121113122113123113124113125113126113127113128113129113130113131113132113133113134113135113136113137113138113139113140113141113142113143113144113145113146113147113148113149113150113151113152113153113154113155113156113157113158113159113160113161113162113163113164113165113166113167113168113169113170113171113172113173113174113175113176113177113178113179113180113181113182113183113184113185113186113187113188113189113190113191113192113193113194113195113196113197113198113199113200113201113202113203113204113205113206113207113208113209113210113211113212113213113214113215113216113217113218113219113220113221113222113223113224113225113226113227113228113229113230113231113232113233113234113235113236113237113238113239113240113241113242113243113244113245113246113247113248113249113250113251113252113253113254113255113256113257113258113259113260113261113262113263113264113265113266113267113268113269113270113271113272113273113274113275113276113277113278113279113280113281113282113283113284113285113286113287113288113289113290113291113292113293113294113295113296113297113298113299113300113301113302113303113304113305113306113307113308113309113310113311113312113313113314113315113316113317113318113319113320113321113322113323113324113325113326113327113328113329113330113331113332113333113334113335113336113337113338113339113340113341113342113343113344113345113346113347113348113349113350113351113352113353113354113355113356113357113358113359113360113361113362113363113364113365113366113367113368113369113370113371113372113373113374113375113376113377113378113379113380113381113382113383113384113385113386113387113388113389113390113391113392113393113394113395113396113397113398113399113400113401113402113403113404113405113406113407113408113409113410113411113412113413113414113415113416113417113418113419113420113421113422113423113424113425113426113427113428113429113430113431113432113433113434113435113436113437113438113439113440113441113442113443113444113445113446113447113448113449113450113451113452113453113454113455113456113457113458113459113460113461113462113463113464113465113466113467113468113469113470113471113472113473113474113475113476113477113478113479113480113481113482113483113484113485113486113487113488113489113490113491113492113493113494113495113496113497113498113499113500113501113502113503113504113505113506113507113508113509113510113511113512113513113514113515113516113517113518113519113520113521113522113523113524113525113526113527113528113529113530113531113532113533113534113535113536113537113538113539113540113541113542113543113544113545113546113547113548113549113550113551113552113553113554113555113556113557113558113559113560113561113562113563113564113565113566113567113568113569113570113571113572113573113574113575113576113577113578113579113580113581113582113583113584113585113586113587113588113589113590113591113592113593113594113595113596113597113598113599113600113601113602113603113604113605113606113607113608113609113610113611113612113613113614113615113616113617113618113619113620113621113622113623113624113625113626113627113628113629113630113631113632113633113634113635113636113637113638113639113640113641113642113643113644113645113646113647113648113649113650113651113652113653113654113655113656113657113658113659113660113661113662113663113664113665113666113667113668113669113670113671113672113673113674113675113676113677113678113679113680113681113682113683113684113685113686113687113688113689113690113691113692113693113694113695113696113697113698113699113700113701113702113703113704113705113706113707113708113709113710113711113712113713113714113715113716113717113718113719113720113721113722113723113724113725113726113727113728113729113730113731113732113733113734113735113736113737113738113739113740113741113742113743113744113745113746113747113748113749113750113751113752113753113754113755113756113757113758113759113760113761113762113763113764113765113766113767113768113769113770113771113772113773113774113775113776113777113778113779113780113781113782113783113784113785113786113787113788113789113790113791113792113793113794113795113796113797113798113799113800113801113802113803113804113805113806113807113808113809113810113811113812113813113814113815113816113817113818113819113820113821113822113823113824113825113826113827113828113829113830113831113832113833113834113835113836113837113838113839113840113841113842113843113844113845113846113847113848113849113850113851113852113853113854113855113856113857113858113859113860113861113862113863113864113865113866113867113868113869113870113871113872113873113874113875113876113877113878113879113880113881113882113883113884113885113886113887113888113889113890113891113892113893113894113895113896113897113898113899113900113901113902113903113904113905113906113907113908113909113910113911113912113913113914113915113916113917113918113919113920113921113922113923113924113925113926113927113928113929113930113931113932113933113934113935113936113937113938113939113940113941113942113943113944113945113946113947113948113949113950113951113952113953113954113955113956113957113958113959113960113961113962113963113964113965113966113967113968113969113970113971113972113973113974113975113976113977113978113979113980113981113982113983113984113985113986113987113988113989113990113991113992113993113994113995113996113997113998113999114000114001114002114003114004114005114006114007114008114009114010114011114012114013114014114015114016114017114018114019114020114021114022114023114024114025114026114027114028114029114030114031114032114033114034114035114036114037114038114039114040114041114042114043114044114045114046114047114048114049114050114051114052114053114054114055114056114057114058114059114060114061114062114063114064114065114066114067114068114069114070114071114072114073114074114075114076114077114078114079114080114081114082114083114084114085114086114087114088114089114090114091114092114093114094114095114096114097114098114099114100114101114102114103114104114105114106114107114108114109114110114111114112114113114114114115114116114117114118114119114120114121114122114123114124114125114126114127114128114129114130114131114132114133114134114135114136114137114138114139114140114141114142114143114144114145114146114147114148114149114150114151114152114153114154114155114156114157114158114159114160114161114162114163114164114165114166114167114168114169114170114171114172114173114174114175114176114177114178114179114180114181114182114183114184114185114186114187114188114189114190114191114192114193114194114195114196114197114198114199114200114201114202114203114204114205114206114207114208114209114210114211114212114213114214114215114216114217114218114219114220114221114222114223114224114225114226114227114228114229114230114231114232114233114234114235114236114237114238114239114240114241114242114243114244114245114246114247114248114249114250114251114252114253114254114255114256114257114258114259114260114261114262114263114264114265114266114267114268114269114270114271114272114273114274114275114276114277114278114279114280114281114282114283114284114285114286114287114288114289114290114291114292114293114294114295114296114297114298114299114300114301114302114303114304114305114306114307114308114309114310114311114312114313114314114315114316114317114318114319114320114321114322114323114324114325114326114327114328114329114330114331114332114333114334114335114336114337114338114339114340114341114342114343114344114345114346114347114348114349114350114351114352114353114354114355114356114357114358114359114360114361114362114363114364114365114366114367114368114369114370114371114372114373114374114375114376114377114378114379114380114381114382114383114384114385114386114387114388114389114390114391114392114393114394114395114396114397114398114399114400114401114402114403114404114405114406114407114408114409114410114411114412114413114414114415114416114417114418114419114420114421114422114423114424114425114426114427114428114429114430114431114432114433114434114435114436114437114438114439114440114441114442114443114444114445114446114447114448114449114450114451114452114453114454114455114456114457114458114459114460114461114462114463114464114465114466114467114468114469114470114471114472114473114474114475114476114477114478114479114480114481114482114483114484114485114486114487114488114489114490114491114492114493114494114495114496114497114498114499114500114501114502114503114504114505114506114507114508114509114510114511114512114513114514114515114516114517114518114519114520114521114522114523114524114525114526114527114528114529114530114531114532114533114534114535114536114537114538114539114540114541114542114543114544114545114546114547114548114549114550114551114552114553114554114555114556114557114558114559114560114561114562114563114564114565114566114567114568114569114570114571114572114573114574114575114576114577114578114579114580114581114582114583114584114585114586114587114588114589114590114591114592114593114594114595114596114597114598114599114600114601114602114603114604114605114606114607114608114609114610114611114612114613114614114615114616114617114618114619114620114621114622114623114624114625114626114627114628114629114630114631114632114633114634114635114636114637114638114639114640114641114642114643114644114645114646114647114648114649114650114651114652114653114654114655114656114657114658114659114660114661114662114663114664114665114666114667114668114669114670114671114672114673114674114675114676114677114678114679114680114681114682114683114684114685114686114687114688114689114690114691114692114693114694114695114696114697114698114699114700114701114702114703114704114705114706114707114708114709114710114711114712114713114714114715114716114717114718114719114720114721114722114723114724114725114726114727114728114729114730114731114732114733114734114735114736114737114738114739114740114741114742114743114744114745114746114747114748114749114750114751114752114753114754114755114756114757114758114759114760114761114762114763114764114765114766114767114768114769114770114771114772114773114774114775114776114777114778114779114780114781114782114783114784114785114786114787114788114789114790114791114792114793114794114795114796114797114798114799114800114801114802114803114804114805114806114807114808114809114810114811114812114813114814114815114816114817114818114819114820114821114822114823114824114825114826114827114828114829114830114831114832114833114834114835114836114837114838114839114840114841114842114843114844114845114846114847114848114849114850114851114852114853114854114855114856114857114858114859114860114861114862114863114864114865114866114867114868114869114870114871114872114873114874114875114876114877114878114879114880114881114882114883114884114885114886114887114888114889114890114891114892114893114894114895114896114897114898114899114900114901114902114903114904114905114906114907114908114909114910114911114912114913114914114915114916114917114918114919114920114921114922114923114924114925114926114927114928114929114930114931114932114933114934114935114936114937114938114939114940114941114942114943114944114945114946114947114948114949114950114951114952114953114954114955114956114957114958114959114960114961114962114963114964114965114966114967114968114969114970114971114972114973114974114975114976114977114978114979114980114981114982114983114984114985114986114987114988114989114990114991114992114993114994114995114996114997114998114999115000115001115002115003115004115005115006115007115008115009115010115011115012115013115014115015115016115017115018115019115020115021115022115023115024115025115026115027115028115029115030115031115032115033115034115035115036115037115038115039115040115041115042115043115044115045115046115047115048115049115050115051115052115053115054115055115056115057115058115059115060115061115062115063115064115065115066115067115068115069115070115071115072115073115074115075115076115077115078115079115080115081115082115083115084115085115086115087115088115089115090115091115092115093115094115095115096115097115098115099115100115101115102115103115104115105115106115107115108115109115110115111115112115113115114115115115116115117115118115119115120115121115122115123115124115125115126115127115128115129115130115131115132115133115134115135115136115137115138115139115140115141115142115143115144115145115146115147115148115149115150115151115152115153115154115155115156115157115158115159115160115161115162115163115164115165115166115167115168115169115170115171115172115173115174115175115176115177115178115179115180115181115182115183115184115185115186115187115188115189115190115191115192115193115194115195115196115197115198115199115200115201115202115203115204115205115206115207115208115209115210115211115212115213115214115215115216115217115218115219115220115221115222115223115224115225115226115227115228115229115230115231115232115233115234115235115236115237115238115239115240115241115242115243115244115245115246115247115248115249115250115251115252115253115254115255115256115257115258115259115260115261115262115263115264115265115266115267115268115269115270115271115272115273115274115275115276115277115278115279115280115281115282115283115284115285115286115287115288115289115290115291115292115293115294115295115296115297115298115299115300115301115302115303115304115305115306115307115308115309115310115311115312115313115314115315115316115317115318115319115320115321115322115323115324115325115326115327115328115329115330115331115332115333115334115335115336115337115338115339115340115341115342115343115344115345115346115347115348115349115350115351115352115353115354115355115356115357115358115359115360115361115362115363115364115365115366115367115368115369115370115371115372115373115374115375115376115377115378115379115380115381115382115383115384115385115386115387115388115389115390115391115392115393115394115395115396115397115398115399115400115401115402115403115404115405115406115407115408115409115410115411115412115413115414115415115416115417115418115419115420115421115422115423115424115425115426115427115428115429115430115431115432115433115434115435115436115437115438115439115440115441115442115443115444115445115446115447115448115449115450115451115452115453115454115455115456115457115458115459115460115461115462115463115464115465115466115467115468115469115470115471115472115473115474115475115476115477115478115479115480115481115482115483115484115485115486115487115488115489115490115491115492115493115494115495115496115497115498115499115500115501115502115503115504115505115506115507115508115509115510115511115512115513115514115515115516115517115518115519115520115521115522115523115524115525115526115527115528115529115530115531115532115533115534115535115536115537115538115539115540115541115542115543115544115545115546115547115548115549115550115551115552115553115554115555115556115557115558115559115560115561115562115563115564115565115566115567115568115569115570115571115572115573115574115575115576115577115578115579115580115581115582115583115584115585115586115587115588115589115590115591115592115593115594115595115596115597115598115599115600115601115602115603115604115605115606115607115608115609115610115611115612115613115614115615115616115617115618115619115620115621115622115623115624115625115626115627115628115629115630115631115632115633115634115635115636115637115638115639115640115641115642115643115644115645115646115647115648115649115650115651115652115653115654115655115656115657115658115659115660115661115662115663115664115665115666115667115668115669115670115671115672115673115674115675115676115677115678115679115680115681115682115683115684115685115686115687115688115689115690115691115692115693115694115695115696115697115698115699115700115701115702115703115704115705115706115707115708115709115710115711115712115713115714115715115716115717115718115719115720115721115722115723115724115725115726115727115728115729115730115731115732115733115734115735115736115737115738115739115740115741115742115743115744115745115746115747115748115749115750115751115752115753115754115755115756115757115758115759115760115761115762115763115764115765115766115767115768115769115770115771115772115773115774115775115776115777115778115779115780115781115782115783115784115785115786115787115788115789115790115791115792115793115794115795115796115797115798115799115800115801115802115803115804115805115806115807115808115809115810115811115812115813115814115815115816115817115818115819115820115821115822115823115824115825115826115827115828115829115830115831115832115833115834115835115836115837115838115839115840115841115842115843115844115845115846115847115848115849115850115851115852115853115854115855115856115857115858115859115860115861115862115863115864115865115866115867115868115869115870115871115872115873115874115875115876115877115878115879115880115881115882115883115884115885115886115887115888115889115890115891115892115893115894115895115896115897115898115899115900115901115902115903115904115905115906115907115908115909115910115911115912115913115914115915115916115917115918115919115920115921115922115923115924115925115926115927115928115929115930115931115932115933115934115935115936115937115938115939115940115941115942115943115944115945115946115947115948115949115950115951115952115953115954115955115956115957115958115959115960115961115962115963115964115965115966115967115968115969115970115971115972115973115974115975115976115977115978115979115980115981115982115983115984115985115986115987115988115989115990115991115992115993115994115995115996115997115998115999116000116001116002116003116004116005116006116007116008116009116010116011116012116013116014116015116016116017116018116019116020116021116022116023116024116025116026116027116028116029116030116031116032116033116034116035116036116037116038116039116040116041116042116043116044116045116046116047116048116049116050116051116052116053116054116055116056116057116058116059116060116061116062116063116064116065116066116067116068116069116070116071116072116073116074116075116076116077116078116079116080116081116082116083116084116085116086116087116088116089116090116091116092116093116094116095116096116097116098116099116100116101116102116103116104116105116106116107116108116109116110116111116112116113116114116115116116116117116118116119116120116121116122116123116124116125116126116127116128116129116130116131116132116133116134116135116136116137116138116139116140116141116142116143116144116145116146116147116148116149116150116151116152116153116154116155116156116157116158116159116160116161116162116163116164116165116166116167116168116169116170116171116172116173116174116175116176116177116178116179116180116181116182116183116184116185116186116187116188116189116190116191116192116193116194116195116196116197116198116199116200116201116202116203116204116205116206116207116208116209116210116211116212116213116214116215116216116217116218116219116220116221116222116223116224116225116226116227116228116229116230116231116232116233116234116235116236116237116238116239116240116241116242116243116244116245116246116247116248116249116250116251116252116253116254116255116256116257116258116259116260116261116262116263116264116265116266116267116268116269116270116271116272116273116274116275116276116277116278116279116280116281116282116283116284116285116286116287116288116289116290116291116292116293116294116295116296116297116298116299116300116301116302116303116304116305116306116307116308116309116310116311116312116313116314116315116316116317116318116319116320116321116322116323116324116325116326116327116328116329116330116331116332116333116334116335116336116337116338116339116340116341116342116343116344116345116346116347116348116349116350116351116352116353116354116355116356116357116358116359116360116361116362116363116364116365116366116367116368116369116370116371116372116373116374116375116376116377116378116379116380116381116382116383116384116385116386116387116388116389116390116391116392116393116394116395116396116397116398116399116400116401116402116403116404116405116406116407116408116409116410116411116412116413116414116415116416116417116418116419116420116421116422116423116424116425116426116427116428116429116430116431116432116433116434116435116436116437116438116439116440116441116442116443116444116445116446116447116448116449116450116451116452116453116454116455116456116457116458116459116460116461116462116463116464116465116466116467116468116469116470116471116472116473116474116475116476116477116478116479116480116481116482116483116484116485116486116487116488116489116490116491116492116493116494116495116496116497116498116499116500116501116502116503116504116505116506116507116508116509116510116511116512116513116514116515116516116517116518116519116520116521116522116523116524116525116526116527116528116529116530116531116532116533116534116535116536116537116538116539116540116541116542116543116544116545116546116547116548116549116550116551116552116553116554116555116556116557116558116559116560116561116562116563116564116565116566116567116568116569116570116571116572116573116574116575116576116577116578116579116580116581116582116583116584116585116586116587116588116589116590116591116592116593116594116595116596116597116598116599116600116601116602116603116604116605116606116607116608116609116610116611116612116613116614116615116616116617116618116619116620116621116622116623116624116625116626116627116628116629116630116631116632116633116634116635116636116637116638116639116640116641116642116643116644116645116646116647116648116649116650116651116652116653116654116655116656116657116658116659116660116661116662116663116664116665116666116667116668116669116670116671116672116673116674116675116676116677116678116679116680116681116682116683116684116685116686116687116688116689116690116691116692116693116694116695116696116697116698116699116700116701116702116703116704116705116706116707116708116709116710116711116712116713116714116715116716116717116718116719116720116721116722116723116724116725116726116727116728116729116730116731116732116733116734116735116736116737116738116739116740116741116742116743116744116745116746116747116748116749116750116751116752116753116754116755116756116757116758116759116760116761116762116763116764116765116766116767116768116769116770116771116772116773116774116775116776116777116778116779116780116781116782116783116784116785116786116787116788116789116790116791116792116793116794116795116796116797116798116799116800116801116802116803116804116805116806116807116808116809116810116811116812116813116814116815116816116817116818116819116820116821116822116823116824116825116826116827116828116829116830116831116832116833116834116835116836116837116838116839116840116841116842116843116844116845116846116847116848116849116850116851116852116853116854116855116856116857116858116859116860116861116862116863116864116865116866116867116868116869116870116871116872116873116874116875116876116877116878116879116880116881116882116883116884116885116886116887116888116889116890116891116892116893116894116895116896116897116898116899116900116901116902116903116904116905116906116907116908116909116910116911116912116913116914116915116916116917116918116919116920116921116922116923116924116925116926116927116928116929116930116931116932116933116934116935116936116937116938116939116940116941116942116943116944116945116946116947116948116949116950116951116952116953116954116955116956116957116958116959116960116961116962116963116964116965116966116967116968116969116970116971116972116973116974116975116976116977116978116979116980116981116982116983116984116985116986116987116988116989116990116991116992116993116994116995116996116997116998116999117000117001117002117003117004117005117006117007117008117009117010117011117012117013117014117015117016117017117018117019117020117021117022117023117024117025117026117027117028117029117030117031117032117033117034117035117036117037117038117039117040117041117042117043117044117045117046117047117048117049117050117051117052117053117054117055117056117057117058117059117060117061117062117063117064117065117066117067117068117069117070117071117072117073117074117075117076117077117078117079117080117081117082117083117084117085117086117087117088117089117090117091117092117093117094117095117096117097117098117099117100117101117102117103117104117105117106117107117108117109117110117111117112117113117114117115117116117117117118117119117120117121117122117123117124117125117126117127117128117129117130117131117132117133117134117135117136117137117138117139117140117141117142117143117144117145117146117147117148117149117150117151117152117153117154117155117156117157117158117159117160117161117162117163117164117165117166117167117168117169117170117171117172117173117174117175117176117177117178117179117180117181117182117183117184117185117186117187117188117189117190117191117192117193117194117195117196117197117198117199117200117201117202117203117204117205117206117207117208117209117210117211117212117213117214117215117216117217117218117219117220117221117222117223117224117225117226117227117228117229117230117231117232117233117234117235117236117237117238117239117240117241117242117243117244117245117246117247117248117249117250117251117252117253117254117255117256117257117258117259117260117261117262117263117264117265117266117267117268117269117270117271117272117273117274117275117276117277117278117279117280117281117282117283117284117285117286117287117288117289117290117291117292117293117294117295117296117297117298117299117300117301117302117303117304117305117306117307117308117309117310117311117312117313117314117315117316117317117318117319117320117321117322117323117324117325117326117327117328117329117330117331117332117333117334117335117336117337117338117339117340117341117342117343117344117345117346117347117348117349117350117351117352117353117354117355117356117357117358117359117360117361117362117363117364117365117366117367117368117369117370117371117372117373117374117375117376117377117378117379117380117381117382117383117384117385117386117387117388117389117390117391117392117393117394117395117396117397117398117399117400117401117402117403117404117405117406117407117408117409117410117411117412117413117414117415117416117417117418117419117420117421117422117423117424117425117426117427117428117429117430117431117432117433117434117435117436117437117438117439117440117441117442117443117444117445117446117447117448117449117450117451117452117453117454117455117456117457117458117459117460117461117462117463117464117465117466117467117468117469117470117471117472117473117474117475117476117477117478117479117480117481117482117483117484117485117486117487117488117489117490117491117492117493117494117495117496117497117498117499117500117501117502117503117504117505117506117507117508117509117510117511117512117513117514117515117516117517117518117519117520117521117522117523117524117525117526117527117528117529117530117531117532117533117534117535117536117537117538117539117540117541117542117543117544117545117546117547117548117549117550117551117552117553117554117555117556117557117558117559117560117561117562117563117564117565117566117567117568117569117570117571117572117573117574117575117576117577117578117579117580117581117582117583117584117585117586117587117588117589117590117591117592117593117594117595117596117597117598117599117600117601117602117603117604117605117606117607117608117609117610117611117612117613117614117615117616117617117618117619117620117621117622117623117624117625117626117627117628117629117630117631117632117633117634117635117636117637117638117639117640117641117642117643117644117645117646117647117648117649117650117651117652117653117654117655117656117657117658117659117660117661117662117663117664117665117666117667117668117669117670117671117672117673117674117675117676117677117678117679117680117681117682117683117684117685117686117687117688117689117690117691117692117693117694117695117696117697117698117699117700117701117702117703117704117705117706117707117708117709117710117711117712117713117714117715117716117717117718117719117720117721117722117723117724117725117726117727117728117729117730117731117732117733117734117735117736117737117738117739117740117741117742117743117744117745117746117747117748117749117750117751117752117753117754117755117756117757117758117759117760117761117762117763117764117765117766117767117768117769117770117771117772117773117774117775117776117777117778117779117780117781117782117783117784117785117786117787117788117789117790117791117792117793117794117795117796117797117798117799117800117801117802117803117804117805117806117807117808117809117810117811117812117813117814117815117816117817117818117819117820117821117822117823117824117825117826117827117828117829117830117831117832117833117834117835117836117837117838117839117840117841117842117843117844117845117846117847117848117849117850117851117852117853117854117855117856117857117858117859117860117861117862117863117864117865117866117867117868117869117870117871117872117873117874117875117876117877117878117879117880117881117882117883117884117885117886117887117888117889117890117891117892117893117894117895117896117897117898117899117900117901117902117903117904117905117906117907117908117909117910117911117912117913117914117915117916117917117918117919117920117921117922117923117924117925117926117927117928117929117930117931117932117933117934117935117936117937117938117939117940117941117942117943117944117945117946117947117948117949117950117951117952117953117954117955117956117957117958117959117960117961117962117963117964117965117966117967117968117969117970117971117972117973117974117975117976117977117978117979117980117981117982117983117984117985117986117987117988117989117990117991117992117993117994117995117996117997117998117999118000118001118002118003118004118005118006118007118008118009118010118011118012118013118014118015118016118017118018118019118020118021118022118023118024118025118026118027118028118029118030118031118032118033118034118035118036118037118038118039118040118041118042118043118044118045118046118047118048118049118050118051118052118053118054118055118056118057118058118059118060118061118062118063118064118065118066118067118068118069118070118071118072118073118074118075118076118077118078118079118080118081118082118083118084118085118086118087118088118089118090118091118092118093118094118095118096118097118098118099118100118101118102118103118104118105118106118107118108118109118110118111118112118113118114118115118116118117118118118119118120118121118122118123118124118125118126118127118128118129118130118131118132118133118134118135118136118137118138118139118140118141118142118143118144118145118146118147118148118149118150118151118152118153118154118155118156118157118158118159118160118161118162118163118164118165118166118167118168118169118170118171118172118173118174118175118176118177118178118179118180118181118182118183118184118185118186118187118188118189118190118191118192118193118194118195118196118197118198118199118200118201118202118203118204118205118206118207118208118209118210118211118212118213118214118215118216118217118218118219118220118221118222118223118224118225118226118227118228118229118230118231118232118233118234118235118236118237118238118239118240118241118242118243118244118245118246118247118248118249118250118251118252118253118254118255118256118257118258118259118260118261118262118263118264118265118266118267118268118269118270118271118272118273118274118275118276118277118278118279118280118281118282118283118284118285118286118287118288118289118290118291118292118293118294118295118296118297118298118299118300118301118302118303118304118305118306118307118308118309118310118311118312118313118314118315118316118317118318118319118320118321118322118323118324118325118326118327118328118329118330118331118332118333118334118335118336118337118338118339118340118341118342118343118344118345118346118347118348118349118350118351118352118353118354118355118356118357118358118359118360118361118362118363118364118365118366118367118368118369118370118371118372118373118374118375118376118377118378118379118380118381118382118383118384118385118386118387118388118389118390118391118392118393118394118395118396118397118398118399118400118401118402118403118404118405118406118407118408118409118410118411118412118413118414118415118416118417118418118419118420118421118422118423118424118425118426118427118428118429118430118431118432118433118434118435118436118437118438118439118440118441118442118443118444118445118446118447118448118449118450118451118452118453118454118455118456118457118458118459118460118461118462118463118464118465118466118467118468118469118470118471118472118473118474118475118476118477118478118479118480118481118482118483118484118485118486118487118488118489118490118491118492118493118494118495118496118497118498118499118500118501118502118503118504118505118506118507118508118509118510118511118512118513118514118515118516118517118518118519118520118521118522118523118524118525118526118527118528118529118530118531118532118533118534118535118536118537118538118539118540118541118542118543118544118545118546118547118548118549118550118551118552118553118554118555118556118557118558118559118560118561118562118563118564118565118566118567118568118569118570118571118572118573118574118575118576118577118578118579118580118581118582118583118584118585118586118587118588118589118590118591118592118593118594118595118596118597118598118599118600118601118602118603118604118605118606118607118608118609118610118611118612118613118614118615118616118617118618118619118620118621118622118623118624118625118626118627118628118629118630118631118632118633118634118635118636118637118638118639118640118641118642118643118644118645118646118647118648118649118650118651118652118653118654118655118656118657118658118659118660118661118662118663118664118665118666118667118668118669118670118671118672118673118674118675118676118677118678118679118680118681118682118683118684118685118686118687118688118689118690118691118692118693118694118695118696118697118698118699118700118701118702118703118704118705118706118707118708118709118710118711118712118713118714118715118716118717118718118719118720118721118722118723118724118725118726118727118728118729118730118731118732118733118734118735118736118737118738118739118740118741118742118743118744118745118746118747118748118749118750118751118752118753118754118755118756118757118758118759118760118761118762118763118764118765118766118767118768118769118770118771118772118773118774118775118776118777118778118779118780118781118782118783118784118785118786118787118788118789118790118791118792118793118794118795118796118797118798118799118800118801118802118803118804118805118806118807118808118809118810118811118812118813118814118815118816118817118818118819118820118821118822118823118824118825118826118827118828118829118830118831118832118833118834118835118836118837118838118839118840118841118842118843118844118845118846118847118848118849118850118851118852118853118854118855118856118857118858118859118860118861118862118863118864118865118866118867118868118869118870118871118872118873118874118875118876118877118878118879118880118881118882118883118884118885118886118887118888118889118890118891118892118893118894118895118896118897118898118899118900118901118902118903118904118905118906118907118908118909118910118911118912118913118914118915118916118917118918118919118920118921118922118923118924118925118926118927118928118929118930118931118932118933118934118935118936118937118938118939118940118941118942118943118944118945118946118947118948118949118950118951118952118953118954118955118956118957118958118959118960118961118962118963118964118965118966118967118968118969118970118971118972118973118974118975118976118977118978118979118980118981118982118983118984118985118986118987118988118989118990118991118992118993118994118995118996118997118998118999119000119001119002119003119004119005119006119007119008119009119010119011119012119013119014119015119016119017119018119019119020119021119022119023119024119025119026119027119028119029119030119031119032119033119034119035119036119037119038119039119040119041119042119043119044119045119046119047119048119049119050119051119052119053119054119055119056119057119058119059119060119061119062119063119064119065119066119067119068119069119070119071119072119073119074119075119076119077119078119079119080119081119082119083119084119085119086119087119088119089119090119091119092119093119094119095119096119097119098119099119100119101119102119103119104119105119106119107119108119109119110119111119112119113119114119115119116119117119118119119119120119121119122119123119124119125119126119127119128119129119130119131119132119133119134119135119136119137119138119139119140119141119142119143119144119145119146119147119148119149119150119151119152119153119154119155119156119157119158119159119160119161119162119163119164119165119166119167119168119169119170119171119172119173119174119175119176119177119178119179119180119181119182119183119184119185119186119187119188119189119190119191119192119193119194119195119196119197119198119199119200119201119202119203119204119205119206119207119208119209119210119211119212119213119214119215119216119217119218119219119220119221119222119223119224119225119226119227119228119229119230119231119232119233119234119235119236119237119238119239119240119241119242119243119244119245119246119247119248119249119250119251119252119253119254119255119256119257119258119259119260119261119262119263119264119265119266119267119268119269119270119271119272119273119274119275119276119277119278119279119280119281119282119283119284119285119286119287119288119289119290119291119292119293119294119295119296119297119298119299119300119301119302119303119304119305119306119307119308119309119310119311119312119313119314119315119316119317119318119319119320119321119322119323119324119325119326119327119328119329119330119331119332119333119334119335119336119337119338119339119340119341119342119343119344119345119346119347119348119349119350119351119352119353119354119355119356119357119358119359119360119361119362119363119364119365119366119367119368119369119370119371119372119373119374119375119376119377119378119379119380119381119382119383119384119385119386119387119388119389119390119391119392119393119394119395119396119397119398119399119400119401119402119403119404119405119406119407119408119409119410119411119412119413119414119415119416119417119418119419119420119421119422119423119424119425119426119427119428119429119430119431119432119433119434119435119436119437119438119439119440119441119442119443119444119445119446119447119448119449119450119451119452119453119454119455119456119457119458119459119460119461119462119463119464119465119466119467119468119469119470119471119472119473119474119475119476119477119478119479119480119481119482119483119484119485119486119487119488119489119490119491119492119493119494119495119496119497119498119499119500119501119502119503119504119505119506119507119508119509119510119511119512119513119514119515119516119517119518119519119520119521119522119523119524119525119526119527119528119529119530119531119532119533119534119535119536119537119538119539119540119541119542119543119544119545119546119547119548119549119550119551119552119553119554119555119556119557119558119559119560119561119562119563119564119565119566119567119568119569119570119571119572119573119574119575119576119577119578119579119580119581119582119583119584119585119586119587119588119589119590119591119592119593119594119595119596119597119598119599119600119601119602119603119604119605119606119607119608119609119610119611119612119613119614119615119616119617119618119619119620119621119622119623119624119625119626119627119628119629119630119631119632119633119634119635119636119637119638119639119640119641119642119643119644119645119646119647119648119649119650119651119652119653119654119655119656119657119658119659119660119661119662119663119664119665119666119667119668119669119670119671119672119673119674119675119676119677119678119679119680119681119682119683119684119685119686119687119688119689119690119691119692119693119694119695119696119697119698119699119700119701119702119703119704119705119706119707119708119709119710119711119712119713119714119715119716119717119718119719119720119721119722119723119724119725119726119727119728119729119730119731119732119733119734119735119736119737119738119739119740119741119742119743119744119745119746119747119748119749119750119751119752119753119754119755119756119757119758119759119760119761119762119763119764119765119766119767119768119769119770119771119772119773119774119775119776119777119778119779119780119781119782119783119784119785119786119787119788119789119790119791119792119793119794119795119796119797119798119799119800119801119802119803119804119805119806119807119808119809119810119811119812119813119814119815119816119817119818119819119820119821119822119823119824119825119826119827119828119829119830119831119832119833119834119835119836119837119838119839119840119841119842119843119844119845119846119847119848119849119850119851119852119853119854119855119856119857119858119859119860119861119862119863119864119865119866119867119868119869119870119871119872119873119874119875119876119877119878119879119880119881119882119883119884119885119886119887119888119889119890119891119892119893119894119895119896119897119898119899119900119901119902119903119904119905119906119907119908119909119910119911119912119913119914119915119916119917119918119919119920119921119922119923119924119925119926119927119928119929119930119931119932119933119934119935119936119937119938119939119940119941119942119943119944119945119946119947119948119949119950119951119952119953119954119955119956119957119958119959119960119961119962119963119964119965119966119967119968119969119970119971119972119973119974119975119976119977119978119979119980119981119982119983119984119985119986119987119988119989119990119991119992119993119994119995119996119997119998119999120000120001120002120003120004120005120006120007120008120009120010120011120012120013120014120015120016120017120018120019120020120021120022120023120024120025120026120027120028120029120030120031120032120033120034120035120036120037120038120039120040120041120042120043120044120045120046120047120048120049120050120051120052120053120054120055120056120057120058120059120060120061120062120063120064120065120066120067120068120069120070120071120072120073120074120075120076120077120078120079120080120081120082120083120084120085120086120087120088120089120090120091120092120093120094120095120096120097120098120099120100120101120102120103120104120105120106120107120108120109120110120111120112120113120114120115120116120117120118120119120120120121120122120123120124120125120126120127120128120129120130120131120132120133120134120135120136120137120138120139120140120141120142120143120144120145120146120147120148120149120150120151120152120153120154120155120156120157120158120159120160120161120162120163120164120165120166120167120168120169120170120171120172120173120174120175120176120177120178120179120180120181120182120183120184120185120186120187120188120189120190120191120192120193120194120195120196120197120198120199120200120201120202120203120204120205120206120207120208120209120210120211120212120213120214120215120216120217120218120219120220120221120222120223120224120225120226120227120228120229120230120231120232120233120234120235120236120237120238120239120240120241120242120243120244120245120246120247120248120249120250120251120252120253120254120255120256120257120258120259120260120261120262120263120264120265120266120267120268120269120270120271120272120273120274120275120276120277120278120279120280120281120282120283120284120285120286120287120288120289120290120291120292120293120294120295120296120297120298120299120300120301120302120303120304120305120306120307120308120309120310120311120312120313120314120315120316120317120318120319120320120321120322120323120324120325120326120327120328120329120330120331120332120333120334120335120336120337120338120339120340120341120342120343120344120345120346120347120348120349120350120351120352120353120354120355120356120357120358120359120360120361120362120363120364120365120366120367120368120369120370120371120372120373120374120375120376120377120378120379120380120381120382120383120384120385120386120387120388120389120390120391120392120393120394120395120396120397120398120399120400120401120402120403120404120405120406120407120408120409120410120411120412120413120414120415120416120417120418120419120420120421120422120423120424120425120426120427120428120429120430120431120432120433120434120435120436120437120438120439120440120441120442120443120444120445120446120447120448120449120450120451120452120453120454120455120456120457120458120459120460120461120462120463120464120465120466120467120468120469120470120471120472120473120474120475120476120477120478120479120480120481120482120483120484120485120486120487120488120489120490120491120492120493120494120495120496120497120498120499120500120501120502120503120504120505120506120507120508120509120510120511120512120513120514120515120516120517120518120519120520120521120522120523120524120525120526120527120528120529120530120531120532120533120534120535120536120537120538120539120540120541120542120543120544120545120546120547120548120549120550120551120552120553120554120555120556120557120558120559120560120561120562120563120564120565120566120567120568120569120570120571120572120573120574120575120576120577120578120579120580120581120582120583120584120585120586120587120588120589120590120591120592120593120594120595120596120597120598120599120600120601120602120603120604120605120606120607120608120609120610120611120612120613120614120615120616120617120618120619120620120621120622120623120624120625120626120627120628120629120630120631120632120633120634120635120636120637120638120639120640120641120642120643120644120645120646120647120648120649120650120651120652120653120654120655120656120657120658120659120660120661120662120663120664120665120666120667120668120669120670120671120672120673120674120675120676120677120678120679120680120681120682120683120684120685120686120687120688120689120690120691120692120693120694120695120696120697120698120699120700120701120702120703120704120705120706120707120708120709120710120711120712120713120714120715120716120717120718120719120720120721120722120723120724120725120726120727120728120729120730120731120732120733120734120735120736120737120738120739120740120741120742120743120744120745120746120747120748120749120750120751120752120753120754120755120756120757120758120759120760120761120762120763120764120765120766120767120768120769120770120771120772120773120774120775120776120777120778120779120780120781120782120783120784120785120786120787120788120789120790120791120792120793120794120795120796120797120798120799120800120801120802120803120804120805120806120807120808120809120810120811120812120813120814120815120816120817120818120819120820120821120822120823120824120825120826120827120828120829120830120831120832120833120834120835120836120837120838120839120840120841120842120843120844120845120846120847120848120849120850120851120852120853120854120855120856120857120858120859120860120861120862120863120864120865120866120867120868120869120870120871120872120873120874120875120876120877120878120879120880120881120882120883120884120885120886120887120888120889120890120891120892120893120894120895120896120897120898120899120900120901120902120903120904120905120906120907120908120909120910120911120912120913120914120915120916120917120918120919120920120921120922120923120924120925120926120927120928120929120930120931120932120933120934120935120936120937120938120939120940120941120942120943120944120945120946120947120948120949120950120951120952120953120954120955120956120957120958120959120960120961120962120963120964120965120966120967120968120969120970120971120972120973120974120975120976120977120978120979120980120981120982120983120984120985120986120987120988120989120990120991120992120993120994120995120996120997120998120999121000121001121002121003121004121005121006121007121008121009121010121011121012121013121014121015121016121017121018121019121020121021121022121023121024121025121026121027121028121029121030121031121032121033121034121035121036121037121038121039121040121041121042121043121044121045121046121047121048121049121050121051121052121053121054121055121056121057121058121059121060121061121062121063121064121065121066121067121068121069121070121071121072121073121074121075121076121077121078121079121080121081121082121083121084121085121086121087121088121089121090121091121092121093121094121095121096121097121098121099121100121101121102121103121104121105121106121107121108121109121110121111121112121113121114121115121116121117121118121119121120121121121122121123121124121125121126121127121128121129121130121131121132121133121134121135121136121137121138121139121140121141121142121143121144121145121146121147121148121149121150121151121152121153121154121155121156121157121158121159121160121161121162121163121164121165121166121167121168121169121170121171121172121173121174121175121176121177121178121179121180121181121182121183121184121185121186121187121188121189121190121191121192121193121194121195121196121197121198121199121200121201121202121203121204121205121206121207121208121209121210121211121212121213121214121215121216121217121218121219121220121221121222121223121224121225121226121227121228121229121230121231121232121233121234121235121236121237121238121239121240121241121242121243121244121245121246121247121248121249121250121251121252121253121254121255121256121257121258121259121260121261121262121263121264121265121266121267121268121269121270121271121272121273121274121275121276121277121278121279121280121281121282121283121284121285121286121287121288121289121290121291121292121293121294121295121296121297121298121299121300121301121302121303121304121305121306121307121308121309121310121311121312121313121314121315121316121317121318121319121320121321121322121323121324121325121326121327121328121329121330121331121332121333121334121335121336121337121338121339121340121341121342121343121344121345121346121347121348121349121350121351121352121353121354121355121356121357121358121359121360121361121362121363121364121365121366121367121368121369121370121371121372121373121374121375121376121377121378121379121380121381121382121383121384121385121386121387121388121389121390121391121392121393121394121395121396121397121398121399121400121401121402121403121404121405121406121407121408121409121410121411121412121413121414121415121416121417121418121419121420121421121422121423121424121425121426121427121428121429121430121431121432121433121434121435121436121437121438121439121440121441121442121443121444121445121446121447121448121449121450121451121452121453121454121455121456121457121458121459121460121461121462121463121464121465121466121467121468121469121470121471121472121473121474121475121476121477121478121479121480121481121482121483121484121485121486121487121488121489121490121491121492121493121494121495121496121497121498121499121500121501121502121503121504121505121506121507121508121509121510121511121512121513121514121515121516121517121518121519121520121521121522121523121524121525121526121527121528121529121530121531121532121533121534121535121536121537121538121539121540121541121542121543121544121545121546121547121548121549121550121551121552121553121554121555121556121557121558121559121560121561121562121563121564121565121566121567121568121569121570121571121572121573121574121575121576121577121578121579121580121581121582121583121584121585121586121587121588121589121590121591121592121593121594121595121596121597121598121599121600121601121602121603121604121605121606121607121608121609121610121611121612121613121614121615121616121617121618121619121620121621121622121623121624121625121626121627121628121629121630121631121632121633121634121635121636121637121638121639121640121641121642121643121644121645121646121647121648121649121650121651121652121653121654121655121656121657121658121659121660121661121662121663121664121665121666121667121668121669121670121671121672121673121674121675121676121677121678121679121680121681121682121683121684121685121686121687121688121689121690121691121692121693121694121695121696121697121698121699121700121701121702121703121704121705121706121707121708121709121710121711121712121713121714121715121716121717121718121719121720121721121722121723121724121725121726121727121728121729121730121731121732121733121734121735121736121737121738121739121740121741121742121743121744121745121746121747121748121749121750121751121752121753121754121755121756121757121758121759121760121761121762121763121764121765121766121767121768121769121770121771121772121773121774121775121776121777121778121779121780121781121782121783121784121785121786121787121788121789121790121791121792121793121794121795121796121797121798121799121800121801121802121803121804121805121806121807121808121809121810121811121812121813121814121815121816121817121818121819121820121821121822121823121824121825121826121827121828121829121830121831121832121833121834121835121836121837121838121839121840121841121842121843121844121845121846121847121848121849121850121851121852121853121854121855121856121857121858121859121860121861121862121863121864121865121866121867121868121869121870121871121872121873121874121875121876121877121878121879121880121881121882121883121884121885121886121887121888121889121890121891121892121893121894121895121896121897121898121899121900121901121902121903121904121905121906121907121908121909121910121911121912121913121914121915121916121917121918121919121920121921121922121923121924121925121926121927121928121929121930121931121932121933121934121935121936121937121938121939121940121941121942121943121944121945121946121947121948121949121950121951121952121953121954121955121956121957121958121959121960121961121962121963121964121965121966121967121968121969121970121971121972121973121974121975121976121977121978121979121980121981121982121983121984121985121986121987121988121989121990121991121992121993121994121995121996121997121998121999122000122001122002122003122004122005122006122007122008122009122010122011122012122013122014122015122016122017122018122019122020122021122022122023122024122025122026122027122028122029122030122031122032122033122034122035122036122037122038122039122040122041122042122043122044122045122046122047122048122049122050122051122052122053122054122055122056122057122058122059122060122061122062122063122064122065122066122067122068122069122070122071122072122073122074122075122076122077122078122079122080122081122082122083122084122085122086122087122088122089122090122091122092122093122094122095122096122097122098122099122100122101122102122103122104122105122106122107122108122109122110122111122112122113122114122115122116122117122118122119122120122121122122122123122124122125122126122127122128122129122130122131122132122133122134122135122136122137122138122139122140122141122142122143122144122145122146122147122148122149122150122151122152122153122154122155122156122157122158122159122160122161122162122163122164122165122166122167122168122169122170122171122172122173122174122175122176122177122178122179122180122181122182122183122184122185122186122187122188122189122190122191122192122193122194122195122196122197122198122199122200122201122202122203122204122205122206122207122208122209122210122211122212122213122214122215122216122217122218122219122220122221122222122223122224122225122226122227122228122229122230122231122232122233122234122235122236122237122238122239122240122241122242122243122244122245122246122247122248122249122250122251122252122253122254122255122256122257122258122259122260122261122262122263122264122265122266122267122268122269122270122271122272122273122274122275122276122277122278122279122280122281122282122283122284122285122286122287122288122289122290122291122292122293122294122295122296122297122298122299122300122301122302122303122304122305122306122307122308122309122310122311122312122313122314122315122316122317122318122319122320122321122322122323122324122325122326122327122328122329122330122331122332122333122334122335122336122337122338122339122340122341122342122343122344122345122346122347122348122349122350122351122352122353122354122355122356122357122358122359122360122361122362122363122364122365122366122367122368122369122370122371122372122373122374122375122376122377122378122379122380122381122382122383122384122385122386122387122388122389122390122391122392122393122394122395122396122397122398122399122400122401122402122403122404122405122406122407122408122409122410122411122412122413122414122415122416122417122418122419122420122421122422122423122424122425122426122427122428122429122430122431122432122433122434122435122436122437122438122439122440122441122442122443122444122445122446122447122448122449122450122451122452122453122454122455122456122457122458122459122460122461122462122463122464122465122466122467122468122469122470122471122472122473122474122475122476122477122478122479122480122481122482122483122484122485122486122487122488122489122490122491122492122493122494122495122496122497122498122499122500122501122502122503122504122505122506122507122508122509122510122511122512122513122514122515122516122517122518122519122520122521122522122523122524122525122526122527122528122529122530122531122532122533122534122535122536122537122538122539122540122541122542122543122544122545122546122547122548122549122550122551122552122553122554122555122556122557122558122559122560122561122562122563122564122565122566122567122568122569122570122571122572122573122574122575122576122577122578122579122580122581122582122583122584122585122586122587122588122589122590122591122592122593122594122595122596122597122598122599122600122601122602122603122604122605122606122607122608122609122610122611122612122613122614122615122616122617122618122619122620122621122622122623122624122625122626122627122628122629122630122631122632122633122634122635122636122637122638122639122640122641122642122643122644122645122646122647122648122649122650122651122652122653122654122655122656122657122658122659122660122661122662122663122664122665122666122667122668122669122670122671122672122673122674122675122676122677122678122679122680122681122682122683122684122685122686122687122688122689122690122691122692122693122694122695122696122697122698122699122700122701122702122703122704122705122706122707122708122709122710122711122712122713122714122715122716122717122718122719122720122721122722122723122724122725122726122727122728122729122730122731122732122733122734122735122736122737122738122739122740122741122742122743122744122745122746122747122748122749122750122751122752122753122754122755122756122757122758122759122760122761122762122763122764122765122766122767122768122769122770122771122772122773122774122775122776122777122778122779122780122781122782122783122784122785122786122787122788122789122790122791122792122793122794122795122796122797122798122799122800122801122802122803122804122805122806122807122808122809122810122811122812122813122814122815122816122817122818122819122820122821122822122823122824122825122826122827122828122829122830122831122832122833122834122835122836122837122838122839122840122841122842122843122844122845122846122847122848122849122850122851122852122853122854122855122856122857122858122859122860122861122862122863122864122865122866122867122868122869122870122871122872122873122874122875122876122877122878122879122880122881122882122883122884122885122886122887122888122889122890122891122892122893122894122895122896122897122898122899122900122901122902122903122904122905122906122907122908122909122910122911122912122913122914122915122916122917122918122919122920122921122922122923122924122925122926122927122928122929122930122931122932122933122934122935122936122937122938122939122940122941122942122943122944122945122946122947122948122949122950122951122952122953122954122955122956122957122958122959122960122961122962122963122964122965122966122967122968122969122970122971122972122973122974122975122976122977122978122979122980122981122982122983122984122985122986122987122988122989122990122991122992122993122994122995122996122997122998122999123000123001123002123003123004123005123006123007123008123009123010123011123012123013123014123015123016123017123018123019123020123021123022123023123024123025123026123027123028123029123030123031123032123033123034123035123036123037123038123039123040123041123042123043123044123045123046123047123048123049123050123051123052123053123054123055123056123057123058123059123060123061123062123063123064123065123066123067123068123069123070123071123072123073123074123075123076123077123078123079123080123081123082123083123084123085123086123087123088123089123090123091123092123093123094123095123096123097123098123099123100123101123102123103123104123105123106123107123108123109123110123111123112123113123114123115123116123117123118123119123120123121123122123123123124123125123126123127123128123129123130123131123132123133123134123135123136123137123138123139123140123141123142123143123144123145123146123147123148123149123150123151123152123153123154123155123156123157123158123159123160123161123162123163123164123165123166123167123168123169123170123171123172123173123174123175123176123177123178123179123180123181123182123183123184123185123186123187123188123189123190123191123192123193123194123195123196123197123198123199123200123201123202123203123204123205123206123207123208123209123210123211123212123213123214123215123216123217123218123219123220123221123222123223123224123225123226123227123228123229123230123231123232123233123234123235123236123237123238123239123240123241123242123243123244123245123246123247123248123249123250123251123252123253123254123255123256123257123258123259123260123261123262123263123264123265123266123267123268123269123270123271123272123273123274123275123276123277123278123279123280123281123282123283123284123285123286123287123288123289123290123291123292123293123294123295123296123297123298123299123300123301123302123303123304123305123306123307123308123309123310123311123312123313123314123315123316123317123318123319123320123321123322123323123324123325123326123327123328123329123330123331123332123333123334123335123336123337123338123339123340123341123342123343123344123345123346123347123348123349123350123351123352123353123354123355123356123357123358123359123360123361123362123363123364123365123366123367123368123369123370123371123372123373123374123375123376123377123378123379123380123381123382123383123384123385123386123387123388123389123390123391123392123393123394123395123396123397123398123399123400123401123402123403123404123405123406123407123408123409123410123411123412123413123414123415123416123417123418123419123420123421123422123423123424123425123426123427123428123429123430123431123432123433123434123435123436123437123438123439123440123441123442123443123444123445123446123447123448123449123450123451123452123453123454123455123456123457123458123459123460123461123462123463123464123465123466123467123468123469123470123471123472123473123474123475123476123477123478123479123480123481123482123483123484123485123486123487123488123489123490123491123492123493123494123495123496123497123498123499123500123501123502123503123504123505123506123507123508123509123510123511123512123513123514123515123516123517123518123519123520123521123522123523123524123525123526123527123528123529123530123531123532123533123534123535123536123537123538123539123540123541123542123543123544123545123546123547123548123549123550123551123552123553123554123555123556123557123558123559123560123561123562123563123564123565123566123567123568123569123570123571123572123573123574123575123576123577123578123579123580123581123582123583123584123585123586123587123588123589123590123591123592123593123594123595123596123597123598123599123600123601123602123603123604123605123606123607123608123609123610123611123612123613123614123615123616123617123618123619123620123621123622123623123624123625123626123627123628123629123630123631123632123633123634123635123636123637123638123639123640123641123642123643123644123645123646123647123648123649123650123651123652123653123654123655123656123657123658123659123660123661123662123663123664123665123666123667123668123669123670123671123672123673123674123675123676123677123678123679123680123681123682123683123684123685123686123687123688123689123690123691123692123693123694123695123696123697123698123699123700123701123702123703123704123705123706123707123708123709123710123711123712123713123714123715123716123717123718123719123720123721123722123723123724123725123726123727123728123729123730123731123732123733123734123735123736123737123738123739123740123741123742123743123744123745123746123747123748123749123750123751123752123753123754123755123756123757123758123759123760123761123762123763123764123765123766123767123768123769123770123771123772123773123774123775123776123777123778123779123780123781123782123783123784123785123786123787123788123789123790123791123792123793123794123795123796123797123798123799123800123801123802123803123804123805123806123807123808123809123810123811123812123813123814123815123816123817123818123819123820123821123822123823123824123825123826123827123828123829123830123831123832123833123834123835123836123837123838123839123840123841123842123843123844123845123846123847123848123849123850123851123852123853123854123855123856123857123858123859123860123861123862123863123864123865123866123867123868123869123870123871123872123873123874123875123876123877123878123879123880123881123882123883123884123885123886123887123888123889123890123891123892123893123894123895123896123897123898123899123900123901123902123903123904123905123906123907123908123909123910123911123912123913123914123915123916123917123918123919123920123921123922123923123924123925123926123927123928123929123930123931123932123933123934123935123936123937123938123939123940123941123942123943123944123945123946123947123948123949123950123951123952123953123954123955123956123957123958123959123960123961123962123963123964123965123966123967123968123969123970123971123972123973123974123975123976123977123978123979123980123981123982123983123984123985123986123987123988123989123990123991123992123993123994123995123996123997123998123999124000124001124002124003124004124005124006124007124008124009124010124011124012124013124014124015124016124017124018124019124020124021124022124023124024124025124026124027124028124029124030124031124032124033124034124035124036124037124038124039124040124041124042124043124044124045124046124047124048124049124050124051124052124053124054124055124056124057124058124059124060124061124062124063124064124065124066124067124068124069124070124071124072124073124074124075124076124077124078124079124080124081124082124083124084124085124086124087124088124089124090124091124092124093124094124095124096124097124098124099124100124101124102124103124104124105124106124107124108124109124110124111124112124113124114124115124116124117124118124119124120124121124122124123124124124125124126124127124128124129124130124131124132124133124134124135124136124137124138124139124140124141124142124143124144124145124146124147124148124149124150124151124152124153124154124155124156124157124158124159124160124161124162124163124164124165124166124167124168124169124170124171124172124173124174124175124176124177124178124179124180124181124182124183124184124185124186124187124188124189124190124191124192124193124194124195124196124197124198124199124200124201124202124203124204124205124206124207124208124209124210124211124212124213124214124215124216124217124218124219124220124221124222124223124224124225124226124227124228124229124230124231124232124233124234124235124236124237124238124239124240124241124242124243124244124245124246124247124248124249124250124251124252124253124254124255124256124257124258124259124260124261124262124263124264124265124266124267124268124269124270124271124272124273124274124275124276124277124278124279124280124281124282124283124284124285124286124287124288124289124290124291124292124293124294124295124296124297124298124299124300124301124302124303124304124305124306124307124308124309124310124311124312124313124314124315124316124317124318124319124320124321124322124323124324124325124326124327124328124329124330124331124332124333124334124335124336124337124338124339124340124341124342124343124344124345124346124347124348124349124350124351124352124353124354124355124356124357124358124359124360124361124362124363124364124365124366124367124368124369124370124371124372124373124374124375124376124377124378124379124380124381124382124383124384124385124386124387124388124389124390124391124392124393124394124395124396124397124398124399124400124401124402124403124404124405124406124407124408124409124410124411124412124413124414124415124416124417124418124419124420124421124422124423124424124425124426124427124428124429124430124431124432124433124434124435124436124437124438124439124440124441124442124443124444124445124446124447124448124449124450124451124452124453124454124455124456124457124458124459124460124461124462124463124464124465124466124467124468124469124470124471124472124473124474124475124476124477124478124479124480124481124482124483124484124485124486124487124488124489124490124491124492124493124494124495124496124497124498124499124500124501124502124503124504124505124506124507124508124509124510124511124512124513124514124515124516124517124518124519124520124521124522124523124524124525124526124527124528124529124530124531124532124533124534124535124536124537124538124539124540124541124542124543124544124545124546124547124548124549124550124551124552124553124554124555124556124557124558124559124560124561124562124563124564124565124566124567124568124569124570124571124572124573124574124575124576124577124578124579124580124581124582124583124584124585124586124587124588124589124590124591124592124593124594124595124596124597124598124599124600124601124602124603124604124605124606124607124608124609124610124611124612124613124614124615124616124617124618124619124620124621124622124623124624124625124626124627124628124629124630124631124632124633124634124635124636124637124638124639124640124641124642124643124644124645124646124647124648124649124650124651124652124653124654124655124656124657124658124659124660124661124662124663124664124665124666124667124668124669124670124671124672124673124674124675124676124677124678124679124680124681124682124683124684124685124686124687124688124689124690124691124692124693124694124695124696124697124698124699124700124701124702124703124704124705124706124707124708124709124710124711124712124713124714124715124716124717124718124719124720124721124722124723124724124725124726124727124728124729124730124731124732124733124734124735124736124737124738124739124740124741124742124743124744124745124746124747124748124749124750124751124752124753124754124755124756124757124758124759124760124761124762124763124764124765124766124767124768124769124770124771124772124773124774124775124776124777124778124779124780124781124782124783124784124785124786124787124788124789124790124791124792124793124794124795124796124797124798124799124800124801124802124803124804124805124806124807124808124809124810124811124812124813124814124815124816124817124818124819124820124821124822124823124824124825124826124827124828124829124830124831124832124833124834124835124836124837124838124839124840124841124842124843124844124845124846124847124848124849124850124851124852124853124854124855124856124857124858124859124860124861124862124863124864124865124866124867124868124869124870124871124872124873124874124875124876124877124878124879124880124881124882124883124884124885124886124887124888124889124890124891124892124893124894124895124896124897124898124899124900124901124902124903124904124905124906124907124908124909124910124911124912124913124914124915124916124917124918124919124920124921124922124923124924124925124926124927124928124929124930124931124932124933124934124935124936124937124938124939124940124941124942124943124944124945124946124947124948124949124950124951124952124953124954124955124956124957124958124959124960124961124962124963124964124965124966124967124968124969124970124971124972124973124974124975124976124977124978124979124980124981124982124983124984124985124986124987124988124989124990124991124992124993124994124995124996124997124998124999125000125001125002125003125004125005125006125007125008125009125010125011125012125013125014125015125016125017125018125019125020125021125022125023125024125025125026125027125028125029125030125031125032125033125034125035125036125037125038125039125040125041125042125043125044125045125046125047125048125049125050125051125052125053125054125055125056125057125058125059125060125061125062125063125064125065125066125067125068125069125070125071125072125073125074125075125076125077125078125079125080125081125082125083125084125085125086125087125088125089125090125091125092125093125094125095125096125097125098125099125100125101125102125103125104125105125106125107125108125109125110125111125112125113125114125115125116125117125118125119125120125121125122125123125124125125125126125127125128125129125130125131125132125133125134125135125136125137125138125139125140125141125142125143125144125145125146125147125148125149125150125151125152125153125154125155125156125157125158125159125160125161125162125163125164125165125166125167125168125169125170125171125172125173125174125175125176125177125178125179125180125181125182125183125184125185125186125187125188125189125190125191125192125193125194125195125196125197125198125199125200125201125202125203125204125205125206125207125208125209125210125211125212125213125214125215125216125217125218125219125220125221125222125223125224125225125226125227125228125229125230125231125232125233125234125235125236125237125238125239125240125241125242125243125244125245125246125247125248125249125250125251125252125253125254125255125256125257125258125259125260125261125262125263125264125265125266125267125268125269125270125271125272125273125274125275125276125277125278125279125280125281125282125283125284125285125286125287125288125289125290125291125292125293125294125295125296125297125298125299125300125301125302125303125304125305125306125307125308125309125310125311125312125313125314125315125316125317125318125319125320125321125322125323125324125325125326125327125328125329125330125331125332125333125334125335125336125337125338125339125340125341125342125343125344125345125346125347125348125349125350125351125352125353125354125355125356125357125358125359125360125361125362125363125364125365125366125367125368125369125370125371125372125373125374125375125376125377125378125379125380125381125382125383125384125385125386125387125388125389125390125391125392125393125394125395125396125397125398125399125400125401125402125403125404125405125406125407125408125409125410125411125412125413125414125415125416125417125418125419125420125421125422125423125424125425125426125427125428125429125430125431125432125433125434125435125436125437125438125439125440125441125442125443125444125445125446125447125448125449125450125451125452125453125454125455125456125457125458125459125460125461125462125463125464125465125466125467125468125469125470125471125472125473125474125475125476125477125478125479125480125481125482125483125484125485125486125487125488125489125490125491125492125493125494125495125496125497125498125499125500125501125502125503125504125505125506125507125508125509125510125511125512125513125514125515125516125517125518125519125520125521125522125523125524125525125526125527125528125529125530125531125532125533125534125535125536125537125538125539125540125541125542125543125544125545125546125547125548125549125550125551125552125553125554125555125556125557125558125559125560125561125562125563125564125565125566125567125568125569125570125571125572125573125574125575125576125577125578125579125580125581125582125583125584125585125586125587125588125589125590125591125592125593125594125595125596125597125598125599125600125601125602125603125604125605125606125607125608125609125610125611125612125613125614125615125616125617125618125619125620125621125622125623125624125625125626125627125628125629125630125631125632125633125634125635125636125637125638125639125640125641125642125643125644125645125646125647125648125649125650125651125652125653125654125655125656125657125658125659125660125661125662125663125664125665125666125667125668125669125670125671125672125673125674125675125676125677125678125679125680125681125682125683125684125685125686125687125688125689125690125691125692125693125694125695125696125697125698125699125700125701125702125703125704125705125706125707125708125709125710125711125712125713125714125715125716125717125718125719125720125721125722125723125724125725125726125727125728125729125730125731125732125733125734125735125736125737125738125739125740125741125742125743125744125745125746125747125748125749125750125751125752125753125754125755125756125757125758125759125760125761125762125763125764125765125766125767125768125769125770125771125772125773125774125775125776125777125778125779125780125781125782125783125784125785125786125787125788125789125790125791125792125793125794125795125796125797125798125799125800125801125802125803125804125805125806125807125808125809125810125811125812125813125814125815125816125817125818125819125820125821125822125823125824125825125826125827125828125829125830125831125832125833125834125835125836125837125838125839125840125841125842125843125844125845125846125847125848125849125850125851125852125853125854125855125856125857125858125859125860125861125862125863125864125865125866125867125868125869125870125871125872125873125874125875125876125877125878125879125880125881125882125883125884125885125886125887125888125889125890125891125892125893125894125895125896125897125898125899125900125901125902125903125904125905125906125907125908125909125910125911125912125913125914125915125916125917125918125919125920125921125922125923125924125925125926125927125928125929125930125931125932125933125934125935125936125937125938125939125940125941125942125943125944125945125946125947125948125949125950125951125952125953125954125955125956125957125958125959125960125961125962125963125964125965125966125967125968125969125970125971125972125973125974125975125976125977125978125979125980125981125982125983125984125985125986125987125988125989125990125991125992125993125994125995125996125997125998125999126000126001126002126003126004126005126006126007126008126009126010126011126012126013126014126015126016126017126018126019126020126021126022126023126024126025126026126027126028126029126030126031126032126033126034126035126036126037126038126039126040126041126042126043126044126045126046126047126048126049126050126051126052126053126054126055126056126057126058126059126060126061126062126063126064126065126066126067126068126069126070126071126072126073126074126075126076126077126078126079126080126081126082126083126084126085126086126087126088126089126090126091126092126093126094126095126096126097126098126099126100126101126102126103126104126105126106126107126108126109126110126111126112126113126114126115126116126117126118126119126120126121126122126123126124126125126126126127126128126129126130126131126132126133126134126135126136126137126138126139126140126141126142126143126144126145126146126147126148126149126150126151126152126153126154126155126156126157126158126159126160126161126162126163126164126165126166126167126168126169126170126171126172126173126174126175126176126177126178126179126180126181126182126183126184126185126186126187126188126189126190126191126192126193126194126195126196126197126198126199126200126201126202126203126204126205126206126207126208126209126210126211126212126213126214126215126216126217126218126219126220126221126222126223126224126225126226126227126228126229126230126231126232126233126234126235126236126237126238126239126240126241126242126243126244126245126246126247126248126249126250126251126252126253126254126255126256126257126258126259126260126261126262126263126264126265126266126267126268126269126270126271126272126273126274126275126276126277126278126279126280126281126282126283126284126285126286126287126288126289126290126291126292126293126294126295126296126297126298126299126300126301126302126303126304126305126306126307126308126309126310126311126312126313126314126315126316126317126318126319126320126321126322126323126324126325126326126327126328126329126330126331126332126333126334126335126336126337126338126339126340126341126342126343126344126345126346126347126348126349126350126351126352126353126354126355126356126357126358126359126360126361126362126363126364126365126366126367126368126369126370126371126372126373126374126375126376126377126378126379126380126381126382126383126384126385126386126387126388126389126390126391126392126393126394126395126396126397126398126399126400126401126402126403126404126405126406126407126408126409126410126411126412126413126414126415126416126417126418126419126420126421126422126423126424126425126426126427126428126429126430126431126432126433126434126435126436126437126438126439126440126441126442126443126444126445126446126447126448126449126450126451126452126453126454126455126456126457126458126459126460126461126462126463126464126465126466126467126468126469126470126471126472126473126474126475126476126477126478126479126480126481126482126483126484126485126486126487126488126489126490126491126492126493126494126495126496126497126498126499126500126501126502126503126504126505126506126507126508126509126510126511126512126513126514126515126516126517126518126519126520126521126522126523126524126525126526126527126528126529126530126531126532126533126534126535126536126537126538126539126540126541126542126543126544126545126546126547126548126549126550126551126552126553126554126555126556126557126558126559126560126561126562126563126564126565126566126567126568126569126570126571126572126573126574126575126576126577126578126579126580126581126582126583126584126585126586126587126588126589126590126591126592126593126594126595126596126597126598126599126600126601126602126603126604126605126606126607126608126609126610126611126612126613126614126615126616126617126618126619126620126621126622126623126624126625126626126627126628126629126630126631126632126633126634126635126636126637126638126639126640126641126642126643126644126645126646126647126648126649126650126651126652126653126654126655126656126657126658126659126660126661126662126663126664126665126666126667126668126669126670126671126672126673126674126675126676126677126678126679126680126681126682126683126684126685126686126687126688126689126690126691126692126693126694126695126696126697126698126699126700126701126702126703126704126705126706126707126708126709126710126711126712126713126714126715126716126717126718126719126720126721126722126723126724126725126726126727126728126729126730126731126732126733126734126735126736126737126738126739126740126741126742126743126744126745126746126747126748126749126750126751126752126753126754126755126756126757126758126759126760126761126762126763126764126765126766126767126768126769126770126771126772126773126774126775126776126777126778126779126780126781126782126783126784126785126786126787126788126789126790126791126792126793126794126795126796126797126798126799126800126801126802126803126804126805126806126807126808126809126810126811126812126813126814126815126816126817126818126819126820126821126822126823126824126825126826126827126828126829126830126831126832126833126834126835126836126837126838126839126840126841126842126843126844126845126846126847126848126849126850126851126852126853126854126855126856126857126858126859126860126861126862126863126864126865126866126867126868126869126870126871126872126873126874126875126876126877126878126879126880126881126882126883126884126885126886126887126888126889126890126891126892126893126894126895126896126897126898126899126900126901126902126903126904126905126906126907126908126909126910126911126912126913126914126915126916126917126918126919126920126921126922126923126924126925126926126927126928126929126930126931126932126933126934126935126936126937126938126939126940126941126942126943126944126945126946126947126948126949126950126951126952126953126954126955126956126957126958126959126960126961126962126963126964126965126966126967126968126969126970126971126972126973126974126975126976126977126978126979126980126981126982126983126984126985126986126987126988126989126990126991126992126993126994126995126996126997126998126999127000127001127002127003127004127005127006127007127008127009127010127011127012127013127014127015127016127017127018127019127020127021127022127023127024127025127026127027127028127029127030127031127032127033127034127035127036127037127038127039127040127041127042127043127044127045127046127047127048127049127050127051127052127053127054127055127056127057127058127059127060127061127062127063127064127065127066127067127068127069127070127071127072127073127074127075127076127077127078127079127080127081127082127083127084127085127086127087127088127089127090127091127092127093127094127095127096127097127098127099127100127101127102127103127104127105127106127107127108127109127110127111127112127113127114127115127116127117127118127119127120127121127122127123127124127125127126127127127128127129127130127131127132127133127134127135127136127137127138127139127140127141127142127143127144127145127146127147127148127149127150127151127152127153127154127155127156127157127158127159127160127161127162127163127164127165127166127167127168127169127170127171127172127173127174127175127176127177127178127179127180127181127182127183127184127185127186127187127188127189127190127191127192127193127194127195127196127197127198127199127200127201127202127203127204127205127206127207127208127209127210127211127212127213127214127215127216127217127218127219127220127221127222127223127224127225127226127227127228127229127230127231127232127233127234127235127236127237127238127239127240127241127242127243127244127245127246127247127248127249127250127251127252127253127254127255127256127257127258127259127260127261127262127263127264127265127266127267127268127269127270127271127272127273127274127275127276127277127278127279127280127281127282127283127284127285127286127287127288127289127290127291127292127293127294127295127296127297127298127299127300127301127302127303127304127305127306127307127308127309127310127311127312127313127314127315127316127317127318127319127320127321127322127323127324127325127326127327127328127329127330127331127332127333127334127335127336127337127338127339127340127341127342127343127344127345127346127347127348127349127350127351127352127353127354127355127356127357127358127359127360127361127362127363127364127365127366127367127368127369127370127371127372127373127374127375127376127377127378127379127380127381127382127383127384127385127386127387127388127389127390127391127392127393127394127395127396127397127398127399127400127401127402127403127404127405127406127407127408127409127410127411127412127413127414127415127416127417127418127419127420127421127422127423127424127425127426127427127428127429127430127431127432127433127434127435127436127437127438127439127440127441127442127443127444127445127446127447127448127449127450127451127452127453127454127455127456127457127458127459127460127461127462127463127464127465127466127467127468127469127470127471127472127473127474127475127476127477127478127479127480127481127482127483127484127485127486127487127488127489127490127491127492127493127494127495127496127497127498127499127500127501127502127503127504127505127506127507127508127509127510127511127512127513127514127515127516127517127518127519127520127521127522127523127524127525127526127527127528127529127530127531127532127533127534127535127536127537127538127539127540127541127542127543127544127545127546127547127548127549127550127551127552127553127554127555127556127557127558127559127560127561127562127563127564127565127566127567127568127569127570127571127572127573127574127575127576127577127578127579127580127581127582127583127584127585127586127587127588127589127590127591127592127593127594127595127596127597127598127599127600127601127602127603127604127605127606127607127608127609127610127611127612127613127614127615127616127617127618127619127620127621127622127623127624127625127626127627127628127629127630127631127632127633127634127635127636127637127638127639127640127641127642127643127644127645127646127647127648127649127650127651127652127653127654127655127656127657127658127659127660127661127662127663127664
  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.3.
  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, A.LinkedHashSet_LinkedHashSet$_empty(t1));
  10048. },
  10049. AsyncEnvironment$_(_modules, _namespaceNodes, _globalModules, _importedModules, _forwardedModules, _nestedForwardedModules, _allModules, _variables, _variableNodes, _functions, _mixins, _content, _configurableVariables) {
  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, _configurableVariables);
  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_empty3;
  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, t15) {
  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$_configurableVariables = t15;
  10136. _._async_environment$_inMixin = false;
  10137. _._async_environment$_inSemiGlobalScope = true;
  10138. _._async_environment$_lastVariableIndex = _._async_environment$_lastVariableName = null;
  10139. },
  10140. AsyncEnvironment__getVariableFromGlobalModule_closure: function AsyncEnvironment__getVariableFromGlobalModule_closure(t0) {
  10141. this.name = t0;
  10142. },
  10143. AsyncEnvironment_setVariable_closure: function AsyncEnvironment_setVariable_closure(t0, t1) {
  10144. this.$this = t0;
  10145. this.name = t1;
  10146. },
  10147. AsyncEnvironment_setVariable_closure0: function AsyncEnvironment_setVariable_closure0(t0) {
  10148. this.name = t0;
  10149. },
  10150. AsyncEnvironment_setVariable_closure1: function AsyncEnvironment_setVariable_closure1(t0, t1) {
  10151. this.$this = t0;
  10152. this.name = t1;
  10153. },
  10154. AsyncEnvironment__getFunctionFromGlobalModule_closure: function AsyncEnvironment__getFunctionFromGlobalModule_closure(t0) {
  10155. this.name = t0;
  10156. },
  10157. AsyncEnvironment__getMixinFromGlobalModule_closure: function AsyncEnvironment__getMixinFromGlobalModule_closure(t0) {
  10158. this.name = t0;
  10159. },
  10160. AsyncEnvironment_toModule_closure: function AsyncEnvironment_toModule_closure() {
  10161. },
  10162. AsyncEnvironment_toDummyModule_closure: function AsyncEnvironment_toDummyModule_closure() {
  10163. },
  10164. _EnvironmentModule0: function _EnvironmentModule0(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11) {
  10165. var _ = this;
  10166. _.upstream = t0;
  10167. _.variables = t1;
  10168. _.variableNodes = t2;
  10169. _.functions = t3;
  10170. _.mixins = t4;
  10171. _.extensionStore = t5;
  10172. _.css = t6;
  10173. _.preModuleComments = t7;
  10174. _.transitivelyContainsCss = t8;
  10175. _.transitivelyContainsExtensions = t9;
  10176. _._async_environment$_environment = t10;
  10177. _._async_environment$_modulesByVariable = t11;
  10178. },
  10179. _EnvironmentModule__EnvironmentModule_closure5: function _EnvironmentModule__EnvironmentModule_closure5() {
  10180. },
  10181. _EnvironmentModule__EnvironmentModule_closure6: function _EnvironmentModule__EnvironmentModule_closure6() {
  10182. },
  10183. _EnvironmentModule__EnvironmentModule_closure7: function _EnvironmentModule__EnvironmentModule_closure7() {
  10184. },
  10185. _EnvironmentModule__EnvironmentModule_closure8: function _EnvironmentModule__EnvironmentModule_closure8() {
  10186. },
  10187. _EnvironmentModule__EnvironmentModule_closure9: function _EnvironmentModule__EnvironmentModule_closure9() {
  10188. },
  10189. _EnvironmentModule__EnvironmentModule_closure10: function _EnvironmentModule__EnvironmentModule_closure10() {
  10190. },
  10191. _EnvironmentModule_couldHaveBeenConfigured_closure0: function _EnvironmentModule_couldHaveBeenConfigured_closure0(t0) {
  10192. this.variables = t0;
  10193. },
  10194. AsyncImportCache__toImporters(importers, loadPaths, packageConfig) {
  10195. var t1, t2, t3, t4, _i, path, _null = null,
  10196. sassPath = A.getEnvironmentVariable("SASS_PATH");
  10197. if (A.isBrowser()) {
  10198. t1 = A._setArrayType([], type$.JSArray_AsyncImporter_2);
  10199. B.JSArray_methods.addAll$1(t1, importers);
  10200. return t1;
  10201. }
  10202. t1 = A._setArrayType([], type$.JSArray_AsyncImporter_2);
  10203. B.JSArray_methods.addAll$1(t1, importers);
  10204. for (t2 = J.get$iterator$ax(loadPaths); t2.moveNext$0();) {
  10205. t3 = t2.get$current(t2);
  10206. 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));
  10207. }
  10208. if (sassPath != null) {
  10209. t2 = A.isNodeJs() ? self.process : _null;
  10210. t3 = sassPath.split(J.$eq$(t2 == null ? _null : J.get$platform$x(t2), "win32") ? ";" : ":");
  10211. t4 = t3.length;
  10212. _i = 0;
  10213. for (; _i < t4; ++_i) {
  10214. path = t3[_i];
  10215. 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));
  10216. }
  10217. }
  10218. return t1;
  10219. },
  10220. AsyncImportCache: function AsyncImportCache(t0, t1, t2, t3, t4, t5, t6) {
  10221. var _ = this;
  10222. _._async_import_cache$_importers = t0;
  10223. _._async_import_cache$_canonicalizeCache = t1;
  10224. _._async_import_cache$_perImporterCanonicalizeCache = t2;
  10225. _._async_import_cache$_nonCanonicalRelativeUrls = t3;
  10226. _._async_import_cache$_importCache = t4;
  10227. _._async_import_cache$_resultsCache = t5;
  10228. _._async_import_cache$_loadTimes = t6;
  10229. },
  10230. AsyncImportCache_canonicalize_closure: function AsyncImportCache_canonicalize_closure(t0, t1, t2, t3, t4, t5, t6) {
  10231. var _ = this;
  10232. _.$this = t0;
  10233. _.baseImporter = t1;
  10234. _.resolvedUrl = t2;
  10235. _.baseUrl = t3;
  10236. _.forImport = t4;
  10237. _.key = t5;
  10238. _.url = t6;
  10239. },
  10240. AsyncImportCache__canonicalize_closure: function AsyncImportCache__canonicalize_closure(t0, t1) {
  10241. this.importer = t0;
  10242. this.url = t1;
  10243. },
  10244. AsyncImportCache_importCanonical_closure: function AsyncImportCache_importCanonical_closure(t0, t1, t2, t3) {
  10245. var _ = this;
  10246. _.$this = t0;
  10247. _.importer = t1;
  10248. _.canonicalUrl = t2;
  10249. _.originalUrl = t3;
  10250. },
  10251. AsyncImportCache_humanize_closure: function AsyncImportCache_humanize_closure(t0) {
  10252. this.canonicalUrl = t0;
  10253. },
  10254. AsyncImportCache_humanize_closure0: function AsyncImportCache_humanize_closure0() {
  10255. },
  10256. AsyncImportCache_humanize_closure1: function AsyncImportCache_humanize_closure1() {
  10257. },
  10258. AsyncImportCache_humanize_closure2: function AsyncImportCache_humanize_closure2(t0) {
  10259. this.canonicalUrl = t0;
  10260. },
  10261. AsyncBuiltInCallable$mixin($name, parameters, callback, acceptsContent, url) {
  10262. return new A.AsyncBuiltInCallable($name, A.ScssParser$("@mixin " + $name + "(" + parameters + ") {", url).parseParameterList$0(), new A.AsyncBuiltInCallable$mixin_closure(callback), false);
  10263. },
  10264. AsyncBuiltInCallable: function AsyncBuiltInCallable(t0, t1, t2, t3) {
  10265. var _ = this;
  10266. _.name = t0;
  10267. _._parameters = t1;
  10268. _._async_built_in$_callback = t2;
  10269. _.acceptsContent = t3;
  10270. },
  10271. AsyncBuiltInCallable$mixin_closure: function AsyncBuiltInCallable$mixin_closure(t0) {
  10272. this.callback = t0;
  10273. },
  10274. AsyncBuiltInCallable_withDeprecationWarning_closure: function AsyncBuiltInCallable_withDeprecationWarning_closure(t0, t1, t2) {
  10275. this.$this = t0;
  10276. this.module = t1;
  10277. this.newName = t2;
  10278. },
  10279. BuiltInCallable$function($name, parameters, callback, url) {
  10280. 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);
  10281. },
  10282. BuiltInCallable$mixin($name, parameters, callback, acceptsContent, url) {
  10283. 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);
  10284. },
  10285. BuiltInCallable$overloadedFunction($name, overloads) {
  10286. var t2, t3, t4, t5, t6, t7, args, callback,
  10287. t1 = A._setArrayType([], type$.JSArray_Record_2_ParameterList_and_Value_Function_List_Value);
  10288. 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();) {
  10289. t7 = t3.get$current(t3);
  10290. args = t7._0;
  10291. callback = t7._1;
  10292. 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));
  10293. }
  10294. return new A.BuiltInCallable($name, t1, false);
  10295. },
  10296. BuiltInCallable: function BuiltInCallable(t0, t1, t2) {
  10297. this.name = t0;
  10298. this._overloads = t1;
  10299. this.acceptsContent = t2;
  10300. },
  10301. BuiltInCallable$mixin_closure: function BuiltInCallable$mixin_closure(t0) {
  10302. this.callback = t0;
  10303. },
  10304. BuiltInCallable_withDeprecationWarning_closure: function BuiltInCallable_withDeprecationWarning_closure(t0, t1, t2, t3) {
  10305. var _ = this;
  10306. _._box_0 = t0;
  10307. _.$this = t1;
  10308. _.module = t2;
  10309. _.newName = t3;
  10310. },
  10311. PlainCssCallable: function PlainCssCallable(t0) {
  10312. this.name = t0;
  10313. },
  10314. UserDefinedCallable: function UserDefinedCallable(t0, t1, t2, t3) {
  10315. var _ = this;
  10316. _.declaration = t0;
  10317. _.environment = t1;
  10318. _.inDependency = t2;
  10319. _.$ti = t3;
  10320. },
  10321. _compileStylesheet(stylesheet, logger, importCache, nodeImporter, importer, functions, style, useSpaces, indentWidth, lineFeed, quietDeps, sourceMap, charset) {
  10322. 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),
  10323. resultSourceMap = serializeResult._1;
  10324. if (resultSourceMap != null)
  10325. A.mapInPlace(resultSourceMap.urls, new A._compileStylesheet_closure(stylesheet, importCache));
  10326. return new A.CompileResult(serializeResult);
  10327. },
  10328. _compileStylesheet_closure: function _compileStylesheet_closure(t0, t1) {
  10329. this.stylesheet = t0;
  10330. this.importCache = t1;
  10331. },
  10332. CompileResult: function CompileResult(t0) {
  10333. this._serialize = t0;
  10334. },
  10335. Configuration: function Configuration(t0, t1) {
  10336. this._configuration$_values = t0;
  10337. this.__originalConfiguration = t1;
  10338. },
  10339. ExplicitConfiguration: function ExplicitConfiguration(t0, t1, t2) {
  10340. this.nodeWithSpan = t0;
  10341. this._configuration$_values = t1;
  10342. this.__originalConfiguration = t2;
  10343. },
  10344. ConfiguredValue: function ConfiguredValue(t0, t1, t2) {
  10345. this.value = t0;
  10346. this.configurationSpan = t1;
  10347. this.assignmentNode = t2;
  10348. },
  10349. Deprecation_fromId(id) {
  10350. return A.IterableExtension_firstWhereOrNull(B.List_rYe, new A.Deprecation_fromId_closure(id));
  10351. },
  10352. Deprecation_forVersion(version) {
  10353. var t2, _i, deprecation, $self, t3,
  10354. t1 = A.LinkedHashSet_LinkedHashSet$_empty(type$.Deprecation);
  10355. for (t2 = A.VersionRange_VersionRange(true, version).get$allows(), _i = 0; _i < 26; ++_i) {
  10356. deprecation = B.List_rYe[_i];
  10357. $self = deprecation._deprecatedIn;
  10358. t3 = $self == null ? null : A.Version___parse_tearOff($self);
  10359. t3 = t3 == null ? null : t2.call$1(t3);
  10360. if (t3 == null ? false : t3)
  10361. t1.add$1(0, deprecation);
  10362. }
  10363. return t1;
  10364. },
  10365. Deprecation: function Deprecation(t0, t1, t2) {
  10366. this.id = t0;
  10367. this._deprecatedIn = t1;
  10368. this._name = t2;
  10369. },
  10370. Deprecation_fromId_closure: function Deprecation_fromId_closure(t0) {
  10371. this.id = t0;
  10372. },
  10373. Environment$() {
  10374. var t1 = type$.String,
  10375. t2 = type$.Module_Callable,
  10376. t3 = type$.AstNode,
  10377. t4 = type$.int,
  10378. t5 = type$.Callable,
  10379. t6 = type$.JSArray_Map_String_Callable;
  10380. 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, A.LinkedHashSet_LinkedHashSet$_empty(t1));
  10381. },
  10382. Environment$_(_modules, _namespaceNodes, _globalModules, _importedModules, _forwardedModules, _nestedForwardedModules, _allModules, _variables, _variableNodes, _functions, _mixins, _content, _configurableVariables) {
  10383. var t1 = type$.String,
  10384. t2 = type$.int;
  10385. 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, _configurableVariables);
  10386. },
  10387. _EnvironmentModule__EnvironmentModule(environment, css, preModuleComments, extensionStore, forwarded) {
  10388. var t1, t2, t3, t4, t5, t6, module, result, t7;
  10389. if (forwarded == null)
  10390. forwarded = B.Set_empty0;
  10391. t1 = type$.dynamic;
  10392. t1 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
  10393. 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();) {
  10394. t6 = t4.get$current(t4);
  10395. module = t6._0;
  10396. result = A.List_List$from(t6._1, false, t5);
  10397. result.$flags = 3;
  10398. t1.$indexSet(0, module, result);
  10399. }
  10400. t1 = A.ConstantMap_ConstantMap$from(t1, t2, t3);
  10401. t2 = A._EnvironmentModule__makeModulesByVariable(forwarded);
  10402. 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);
  10403. 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);
  10404. t5 = type$.Map_String_Callable;
  10405. t6 = type$.Callable;
  10406. t7 = A._EnvironmentModule__memberMap(B.JSArray_methods.get$first(environment._functions), forwarded.map$1$1(0, new A._EnvironmentModule__EnvironmentModule_closure1(), t5), t6);
  10407. t6 = A._EnvironmentModule__memberMap(B.JSArray_methods.get$first(environment._mixins), forwarded.map$1$1(0, new A._EnvironmentModule__EnvironmentModule_closure2(), t5), t6);
  10408. 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());
  10409. 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()));
  10410. },
  10411. _EnvironmentModule__makeModulesByVariable(forwarded) {
  10412. var modulesByVariable, t1, t2, t3, t4, t5;
  10413. if (forwarded.get$isEmpty(forwarded))
  10414. return B.Map_empty0;
  10415. modulesByVariable = A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.Module_Callable);
  10416. for (t1 = forwarded.get$iterator(forwarded); t1.moveNext$0();) {
  10417. t2 = t1.get$current(t1);
  10418. if (t2 instanceof A._EnvironmentModule) {
  10419. for (t3 = t2._modulesByVariable, t3 = t3.get$values(t3), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
  10420. t4 = t3.get$current(t3);
  10421. t5 = t4.get$variables();
  10422. A.setAll(modulesByVariable, t5.get$keys(t5), t4);
  10423. }
  10424. A.setAll(modulesByVariable, J.get$keys$z(B.JSArray_methods.get$first(t2._environment$_environment._variables)), t2);
  10425. } else {
  10426. t3 = t2.get$variables();
  10427. A.setAll(modulesByVariable, t3.get$keys(t3), t2);
  10428. }
  10429. }
  10430. return modulesByVariable;
  10431. },
  10432. _EnvironmentModule__memberMap(localMap, otherMaps, $V) {
  10433. var t1, t2, t3;
  10434. localMap = new A.PublicMemberMapView(localMap, $V._eval$1("PublicMemberMapView<0>"));
  10435. if (otherMaps.get$isEmpty(otherMaps))
  10436. return localMap;
  10437. t1 = A._setArrayType([], $V._eval$1("JSArray<Map<String,0>>"));
  10438. for (t2 = otherMaps.get$iterator(otherMaps); t2.moveNext$0();) {
  10439. t3 = t2.get$current(t2);
  10440. if (t3.get$isNotEmpty(t3))
  10441. t1.push(t3);
  10442. }
  10443. t1.push(localMap);
  10444. if (t1.length === 1)
  10445. return localMap;
  10446. return A.MergedMapView$(t1, type$.String, $V);
  10447. },
  10448. _EnvironmentModule$_(_environment, css, preModuleComments, extensionStore, _modulesByVariable, variables, variableNodes, functions, mixins, transitivelyContainsCss, transitivelyContainsExtensions) {
  10449. return new A._EnvironmentModule(_environment._allModules, variables, variableNodes, functions, mixins, extensionStore, css, preModuleComments, transitivelyContainsCss, transitivelyContainsExtensions, _environment, _modulesByVariable);
  10450. },
  10451. Environment: function Environment(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15) {
  10452. var _ = this;
  10453. _._environment$_modules = t0;
  10454. _._namespaceNodes = t1;
  10455. _._globalModules = t2;
  10456. _._importedModules = t3;
  10457. _._forwardedModules = t4;
  10458. _._nestedForwardedModules = t5;
  10459. _._allModules = t6;
  10460. _._variables = t7;
  10461. _._variableNodes = t8;
  10462. _._variableIndices = t9;
  10463. _._functions = t10;
  10464. _._functionIndices = t11;
  10465. _._mixins = t12;
  10466. _._mixinIndices = t13;
  10467. _._content = t14;
  10468. _._configurableVariables = t15;
  10469. _._inMixin = false;
  10470. _._inSemiGlobalScope = true;
  10471. _._lastVariableIndex = _._lastVariableName = null;
  10472. },
  10473. Environment__getVariableFromGlobalModule_closure: function Environment__getVariableFromGlobalModule_closure(t0) {
  10474. this.name = t0;
  10475. },
  10476. Environment_setVariable_closure: function Environment_setVariable_closure(t0, t1) {
  10477. this.$this = t0;
  10478. this.name = t1;
  10479. },
  10480. Environment_setVariable_closure0: function Environment_setVariable_closure0(t0) {
  10481. this.name = t0;
  10482. },
  10483. Environment_setVariable_closure1: function Environment_setVariable_closure1(t0, t1) {
  10484. this.$this = t0;
  10485. this.name = t1;
  10486. },
  10487. Environment__getFunctionFromGlobalModule_closure: function Environment__getFunctionFromGlobalModule_closure(t0) {
  10488. this.name = t0;
  10489. },
  10490. Environment__getMixinFromGlobalModule_closure: function Environment__getMixinFromGlobalModule_closure(t0) {
  10491. this.name = t0;
  10492. },
  10493. Environment_toModule_closure: function Environment_toModule_closure() {
  10494. },
  10495. Environment_toDummyModule_closure: function Environment_toDummyModule_closure() {
  10496. },
  10497. _EnvironmentModule: function _EnvironmentModule(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11) {
  10498. var _ = this;
  10499. _.upstream = t0;
  10500. _.variables = t1;
  10501. _.variableNodes = t2;
  10502. _.functions = t3;
  10503. _.mixins = t4;
  10504. _.extensionStore = t5;
  10505. _.css = t6;
  10506. _.preModuleComments = t7;
  10507. _.transitivelyContainsCss = t8;
  10508. _.transitivelyContainsExtensions = t9;
  10509. _._environment$_environment = t10;
  10510. _._modulesByVariable = t11;
  10511. },
  10512. _EnvironmentModule__EnvironmentModule_closure: function _EnvironmentModule__EnvironmentModule_closure() {
  10513. },
  10514. _EnvironmentModule__EnvironmentModule_closure0: function _EnvironmentModule__EnvironmentModule_closure0() {
  10515. },
  10516. _EnvironmentModule__EnvironmentModule_closure1: function _EnvironmentModule__EnvironmentModule_closure1() {
  10517. },
  10518. _EnvironmentModule__EnvironmentModule_closure2: function _EnvironmentModule__EnvironmentModule_closure2() {
  10519. },
  10520. _EnvironmentModule__EnvironmentModule_closure3: function _EnvironmentModule__EnvironmentModule_closure3() {
  10521. },
  10522. _EnvironmentModule__EnvironmentModule_closure4: function _EnvironmentModule__EnvironmentModule_closure4() {
  10523. },
  10524. _EnvironmentModule_couldHaveBeenConfigured_closure: function _EnvironmentModule_couldHaveBeenConfigured_closure(t0) {
  10525. this.variables = t0;
  10526. },
  10527. SassException$(message, span, loadedUrls) {
  10528. return new A.SassException(loadedUrls == null ? B.Set_empty : A.Set_Set$unmodifiable(loadedUrls, type$.Uri), message, span);
  10529. },
  10530. MultiSpanSassException$(message, span, primaryLabel, secondarySpans, loadedUrls) {
  10531. var t1 = A.ConstantMap_ConstantMap$from(secondarySpans, type$.FileSpan, type$.String);
  10532. return new A.MultiSpanSassException(primaryLabel, t1, loadedUrls == null ? B.Set_empty : A.Set_Set$unmodifiable(loadedUrls, type$.Uri), message, span);
  10533. },
  10534. SassRuntimeException$(message, span, trace, loadedUrls) {
  10535. return new A.SassRuntimeException(trace, loadedUrls == null ? B.Set_empty : A.Set_Set$unmodifiable(loadedUrls, type$.Uri), message, span);
  10536. },
  10537. MultiSpanSassRuntimeException$(message, span, primaryLabel, secondarySpans, trace, loadedUrls) {
  10538. var t1 = A.ConstantMap_ConstantMap$from(secondarySpans, type$.FileSpan, type$.String);
  10539. return new A.MultiSpanSassRuntimeException(trace, primaryLabel, t1, loadedUrls == null ? B.Set_empty : A.Set_Set$unmodifiable(loadedUrls, type$.Uri), message, span);
  10540. },
  10541. SassFormatException$(message, span, loadedUrls) {
  10542. return new A.SassFormatException(loadedUrls == null ? B.Set_empty : A.Set_Set$unmodifiable(loadedUrls, type$.Uri), message, span);
  10543. },
  10544. MultiSpanSassFormatException$(message, span, primaryLabel, secondarySpans, loadedUrls) {
  10545. var t1 = A.ConstantMap_ConstantMap$from(secondarySpans, type$.FileSpan, type$.String);
  10546. return new A.MultiSpanSassFormatException(primaryLabel, t1, loadedUrls == null ? B.Set_empty : A.Set_Set$unmodifiable(loadedUrls, type$.Uri), message, span);
  10547. },
  10548. SassScriptException$(message, argumentName) {
  10549. return new A.SassScriptException(argumentName == null ? message : "$" + argumentName + ": " + message);
  10550. },
  10551. MultiSpanSassScriptException$(message, primaryLabel, secondarySpans) {
  10552. var t1 = A.ConstantMap_ConstantMap$from(secondarySpans, type$.FileSpan, type$.String);
  10553. return new A.MultiSpanSassScriptException(primaryLabel, t1, message);
  10554. },
  10555. SassException: function SassException(t0, t1, t2) {
  10556. this.loadedUrls = t0;
  10557. this._span_exception$_message = t1;
  10558. this._span = t2;
  10559. },
  10560. MultiSpanSassException: function MultiSpanSassException(t0, t1, t2, t3, t4) {
  10561. var _ = this;
  10562. _.primaryLabel = t0;
  10563. _.secondarySpans = t1;
  10564. _.loadedUrls = t2;
  10565. _._span_exception$_message = t3;
  10566. _._span = t4;
  10567. },
  10568. SassRuntimeException: function SassRuntimeException(t0, t1, t2, t3) {
  10569. var _ = this;
  10570. _.trace = t0;
  10571. _.loadedUrls = t1;
  10572. _._span_exception$_message = t2;
  10573. _._span = t3;
  10574. },
  10575. MultiSpanSassRuntimeException: function MultiSpanSassRuntimeException(t0, t1, t2, t3, t4, t5) {
  10576. var _ = this;
  10577. _.trace = t0;
  10578. _.primaryLabel = t1;
  10579. _.secondarySpans = t2;
  10580. _.loadedUrls = t3;
  10581. _._span_exception$_message = t4;
  10582. _._span = t5;
  10583. },
  10584. SassFormatException: function SassFormatException(t0, t1, t2) {
  10585. this.loadedUrls = t0;
  10586. this._span_exception$_message = t1;
  10587. this._span = t2;
  10588. },
  10589. MultiSpanSassFormatException: function MultiSpanSassFormatException(t0, t1, t2, t3, t4) {
  10590. var _ = this;
  10591. _.primaryLabel = t0;
  10592. _.secondarySpans = t1;
  10593. _.loadedUrls = t2;
  10594. _._span_exception$_message = t3;
  10595. _._span = t4;
  10596. },
  10597. SassScriptException: function SassScriptException(t0) {
  10598. this.message = t0;
  10599. },
  10600. MultiSpanSassScriptException: function MultiSpanSassScriptException(t0, t1, t2) {
  10601. this.primaryLabel = t0;
  10602. this.secondarySpans = t1;
  10603. this.message = t2;
  10604. },
  10605. compileStylesheet(options, graph, source, destination, ifModified) {
  10606. return A.compileStylesheet$body(options, graph, source, destination, ifModified);
  10607. },
  10608. compileStylesheet$body(options, graph, source, destination, ifModified) {
  10609. var $async$goto = 0,
  10610. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Record_3_int_and_String_and_nullable_String),
  10611. $async$returnValue, $async$handler = 2, $async$errorStack = [], error, stackTrace, message, error0, stackTrace0, path, message0, exception, t1, $async$exception;
  10612. var $async$compileStylesheet = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  10613. if ($async$errorCode === 1) {
  10614. $async$errorStack.push($async$result);
  10615. $async$goto = $async$handler;
  10616. }
  10617. while (true)
  10618. switch ($async$goto) {
  10619. case 0:
  10620. // Function start
  10621. $async$handler = 4;
  10622. $async$goto = 7;
  10623. return A._asyncAwait(A._compileStylesheetWithoutErrorHandling(options, graph, source, destination, ifModified), $async$compileStylesheet);
  10624. case 7:
  10625. // returning from await.
  10626. $async$handler = 2;
  10627. // goto after finally
  10628. $async$goto = 6;
  10629. break;
  10630. case 4:
  10631. // catch
  10632. $async$handler = 3;
  10633. $async$exception = $async$errorStack.pop();
  10634. t1 = A.unwrapException($async$exception);
  10635. if (t1 instanceof A.SassException) {
  10636. error = t1;
  10637. stackTrace = A.getTraceFromException($async$exception);
  10638. if (destination != null && !options.get$emitErrorCss())
  10639. A._tryDelete(destination);
  10640. message = J.toString$1$color$(error, options.get$color());
  10641. if (A._asBool(options._options.$index(0, "trace"))) {
  10642. t1 = A.getTrace(error);
  10643. if (t1 == null)
  10644. t1 = stackTrace;
  10645. } else
  10646. t1 = null;
  10647. $async$returnValue = A._getErrorWithStackTrace(65, message, t1);
  10648. // goto return
  10649. $async$goto = 1;
  10650. break;
  10651. } else if (t1 instanceof A.FileSystemException) {
  10652. error0 = t1;
  10653. stackTrace0 = A.getTraceFromException($async$exception);
  10654. path = error0.path;
  10655. message0 = path == null ? error0.message : "Error reading " + $.$get$context().relative$2$from(path, null) + ": " + error0.message + ".";
  10656. if (A._asBool(options._options.$index(0, "trace"))) {
  10657. t1 = A.getTrace(error0);
  10658. if (t1 == null)
  10659. t1 = stackTrace0;
  10660. } else
  10661. t1 = null;
  10662. $async$returnValue = A._getErrorWithStackTrace(66, message0, t1);
  10663. // goto return
  10664. $async$goto = 1;
  10665. break;
  10666. } else
  10667. throw $async$exception;
  10668. // goto after finally
  10669. $async$goto = 6;
  10670. break;
  10671. case 3:
  10672. // uncaught
  10673. // goto rethrow
  10674. $async$goto = 2;
  10675. break;
  10676. case 6:
  10677. // after finally
  10678. $async$returnValue = null;
  10679. // goto return
  10680. $async$goto = 1;
  10681. break;
  10682. case 1:
  10683. // return
  10684. return A._asyncReturn($async$returnValue, $async$completer);
  10685. case 2:
  10686. // rethrow
  10687. return A._asyncRethrow($async$errorStack.at(-1), $async$completer);
  10688. }
  10689. });
  10690. return A._asyncStartSync($async$compileStylesheet, $async$completer);
  10691. },
  10692. _compileStylesheetWithoutErrorHandling(options, graph, source, destination, ifModified) {
  10693. return A._compileStylesheetWithoutErrorHandling$body(options, graph, source, destination, ifModified);
  10694. },
  10695. _compileStylesheetWithoutErrorHandling$body(options, graph, source, destination, ifModified) {
  10696. var $async$goto = 0,
  10697. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  10698. $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;
  10699. var $async$_compileStylesheetWithoutErrorHandling = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  10700. if ($async$errorCode === 1) {
  10701. $async$errorStack.push($async$result);
  10702. $async$goto = $async$handler;
  10703. }
  10704. while (true)
  10705. switch ($async$goto) {
  10706. case 0:
  10707. // Function start
  10708. importer = $.$get$FilesystemImporter_cwd();
  10709. if (ifModified)
  10710. try {
  10711. t1 = false;
  10712. if (source != null)
  10713. if (destination != null) {
  10714. t1 = A.absolute(source, null, null, null, null, null, null, null, null, null, null, null, null, null, null);
  10715. t1 = !graph.modifiedSince$3($.$get$context().toUri$1(t1), A.modificationTime(destination), importer);
  10716. }
  10717. if (t1) {
  10718. // goto return
  10719. $async$goto = 1;
  10720. break;
  10721. }
  10722. } catch (exception) {
  10723. if (!(A.unwrapException(exception) instanceof A.FileSystemException))
  10724. throw exception;
  10725. }
  10726. syntax = null;
  10727. if (A._asBoolQ(options._ifParsed$1("indented")) === true)
  10728. syntax = B.Syntax_Sass_sass;
  10729. else if (source != null)
  10730. syntax = A.Syntax_forPath(source);
  10731. else
  10732. syntax = B.Syntax_SCSS_scss;
  10733. result = null;
  10734. $async$handler = 4;
  10735. t1 = options._options;
  10736. $async$goto = A._asBool(t1.$index(0, "async")) ? 7 : 9;
  10737. break;
  10738. case 7:
  10739. // then
  10740. t2 = type$.nullable_Record_3_AsyncImporter_and_Uri_and_Uri_originalUrl;
  10741. t3 = type$.Record_3_AsyncImporter_and_Uri_and_bool_forImport;
  10742. t4 = type$.Uri;
  10743. 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));
  10744. $async$goto = source == null ? 10 : 12;
  10745. break;
  10746. case 10:
  10747. // then
  10748. $async$goto = 13;
  10749. return A._asyncAwait(A.readStdin(), $async$_compileStylesheetWithoutErrorHandling);
  10750. case 13:
  10751. // returning from await.
  10752. t2 = $async$result;
  10753. t3 = syntax;
  10754. t4 = A._asBool(t1.$index(0, "quiet")) ? $.$get$Logger_quiet() : new A.StderrLogger(options.get$color());
  10755. t5 = $.$get$FilesystemImporter_cwd();
  10756. t6 = J.$eq$(t1.$index(0, "style"), "compressed") ? B.OutputStyle_1 : B.OutputStyle_0;
  10757. t7 = A._asBool(t1.$index(0, "quiet-deps"));
  10758. t8 = A._asBool(t1.$index(0, "verbose"));
  10759. t9 = options.get$emitSourceMap();
  10760. t1 = A._asBool(t1.$index(0, "charset"));
  10761. t10 = options.get$silenceDeprecations(0);
  10762. $async$goto = 14;
  10763. 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);
  10764. case 14:
  10765. // returning from await.
  10766. result0 = $async$result;
  10767. // goto join
  10768. $async$goto = 11;
  10769. break;
  10770. case 12:
  10771. // else
  10772. t2 = syntax;
  10773. t3 = A._asBool(t1.$index(0, "quiet")) ? $.$get$Logger_quiet() : new A.StderrLogger(options.get$color());
  10774. t4 = J.$eq$(t1.$index(0, "style"), "compressed") ? B.OutputStyle_1 : B.OutputStyle_0;
  10775. t5 = A._asBool(t1.$index(0, "quiet-deps"));
  10776. t6 = A._asBool(t1.$index(0, "verbose"));
  10777. t7 = options.get$emitSourceMap();
  10778. t1 = A._asBool(t1.$index(0, "charset"));
  10779. t8 = options.get$silenceDeprecations(0);
  10780. $async$goto = 15;
  10781. 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);
  10782. case 15:
  10783. // returning from await.
  10784. result0 = $async$result;
  10785. case 11:
  10786. // join
  10787. result = result0;
  10788. // goto join
  10789. $async$goto = 8;
  10790. break;
  10791. case 9:
  10792. // else
  10793. graph.reloadAllModified$0();
  10794. $async$goto = source == null ? 16 : 18;
  10795. break;
  10796. case 16:
  10797. // then
  10798. $async$goto = 19;
  10799. return A._asyncAwait(A.readStdin(), $async$_compileStylesheetWithoutErrorHandling);
  10800. case 19:
  10801. // returning from await.
  10802. t2 = $async$result;
  10803. t3 = syntax;
  10804. t4 = A._asBool(t1.$index(0, "quiet")) ? $.$get$Logger_quiet() : new A.StderrLogger(options.get$color());
  10805. t5 = $.$get$FilesystemImporter_cwd();
  10806. t6 = J.$eq$(t1.$index(0, "style"), "compressed") ? B.OutputStyle_1 : B.OutputStyle_0;
  10807. t7 = A._asBool(t1.$index(0, "quiet-deps"));
  10808. t8 = A._asBool(t1.$index(0, "verbose"));
  10809. t9 = options.get$emitSourceMap();
  10810. t1 = A._asBool(t1.$index(0, "charset"));
  10811. t10 = options.get$silenceDeprecations(0);
  10812. t11 = options.get$fatalDeprecations(0);
  10813. t12 = options.get$futureDeprecations(0);
  10814. t13 = type$.Deprecation;
  10815. t14 = A.LinkedHashSet_LinkedHashSet$_empty(t13);
  10816. t14.addAll$1(0, t10);
  10817. t10 = A.LinkedHashSet_LinkedHashSet$_empty(t13);
  10818. t10.addAll$1(0, t11);
  10819. t11 = A.LinkedHashSet_LinkedHashSet$_empty(t13);
  10820. t11.addAll$1(0, t12);
  10821. logger = new A.DeprecationProcessingLogger(A.LinkedHashMap_LinkedHashMap$_empty(t13, type$.int), t4, t14, t10, t11, !t8);
  10822. logger.validate$0();
  10823. stylesheet = A.Stylesheet_Stylesheet$parse(t2, t3 == null ? B.Syntax_SCSS_scss : t3, null);
  10824. t2 = stylesheet.span;
  10825. _0_0 = t2.get$sourceUrl(t2);
  10826. if (type$.Uri._is(_0_0))
  10827. t3 = "" === _0_0.get$scheme();
  10828. else
  10829. t3 = false;
  10830. if (t3)
  10831. A.WarnForDeprecation_warnForDeprecation(logger, B.Deprecation_eJq, "Passing a relative `url` argument (" + A.S(t2.get$sourceUrl(t2)) + string$.x29x20to_cm, null, null);
  10832. result0 = A._compileStylesheet(stylesheet, logger, graph.importCache, null, t5, null, t6, true, null, null, t7, t9, t1);
  10833. logger.summarize$1$js(false);
  10834. // goto join
  10835. $async$goto = 17;
  10836. break;
  10837. case 18:
  10838. // else
  10839. t2 = syntax;
  10840. t3 = A._asBool(t1.$index(0, "quiet")) ? $.$get$Logger_quiet() : new A.StderrLogger(options.get$color());
  10841. importCache = graph.importCache;
  10842. t4 = J.$eq$(t1.$index(0, "style"), "compressed") ? B.OutputStyle_1 : B.OutputStyle_0;
  10843. t5 = A._asBool(t1.$index(0, "quiet-deps"));
  10844. t6 = A._asBool(t1.$index(0, "verbose"));
  10845. t7 = options.get$emitSourceMap();
  10846. t1 = A._asBool(t1.$index(0, "charset"));
  10847. t8 = options.get$silenceDeprecations(0);
  10848. t9 = options.get$fatalDeprecations(0);
  10849. t10 = options.get$futureDeprecations(0);
  10850. t11 = type$.Deprecation;
  10851. t12 = A.LinkedHashSet_LinkedHashSet$_empty(t11);
  10852. t12.addAll$1(0, t8);
  10853. t8 = A.LinkedHashSet_LinkedHashSet$_empty(t11);
  10854. t8.addAll$1(0, t9);
  10855. t9 = A.LinkedHashSet_LinkedHashSet$_empty(t11);
  10856. t9.addAll$1(0, t10);
  10857. logger = new A.DeprecationProcessingLogger(A.LinkedHashMap_LinkedHashMap$_empty(t11, type$.int), t3, t12, t8, t9, !t6);
  10858. logger.validate$0();
  10859. t3 = t2 == null || t2 === A.Syntax_forPath(source);
  10860. if (t3) {
  10861. t2 = $.$get$FilesystemImporter_cwd();
  10862. t3 = A.isNodeJs() ? self.process : null;
  10863. if (!J.$eq$(t3 == null ? null : J.get$platform$x(t3), "win32")) {
  10864. t3 = A.isNodeJs() ? self.process : null;
  10865. t3 = J.$eq$(t3 == null ? null : J.get$platform$x(t3), "darwin");
  10866. } else
  10867. t3 = true;
  10868. if (t3) {
  10869. t3 = A.absolute(source, null, null, null, null, null, null, null, null, null, null, null, null, null, null);
  10870. t6 = $.$get$context();
  10871. t3 = A._realCasePath(t6.normalize$1(t3));
  10872. } else {
  10873. t3 = $.$get$context();
  10874. t6 = t3.canonicalize$1(0, source);
  10875. t0 = t6;
  10876. t6 = t3;
  10877. t3 = t0;
  10878. }
  10879. t6 = importCache.importCanonical$3$originalUrl(t2, t6.toUri$1(t3), t6.toUri$1(source));
  10880. t6.toString;
  10881. stylesheet = t6;
  10882. } else {
  10883. t3 = A.readFile(source);
  10884. if (t2 == null)
  10885. t2 = A.Syntax_forPath(source);
  10886. stylesheet = A.Stylesheet_Stylesheet$parse(t3, t2, $.$get$context().toUri$1(source));
  10887. }
  10888. result0 = A._compileStylesheet(stylesheet, logger, importCache, null, $.$get$FilesystemImporter_cwd(), null, t4, true, null, null, t5, t7, t1);
  10889. logger.summarize$1$js(false);
  10890. case 17:
  10891. // join
  10892. result = result0;
  10893. case 8:
  10894. // join
  10895. $async$handler = 2;
  10896. // goto after finally
  10897. $async$goto = 6;
  10898. break;
  10899. case 4:
  10900. // catch
  10901. $async$handler = 3;
  10902. $async$exception = $async$errorStack.pop();
  10903. t1 = A.unwrapException($async$exception);
  10904. if (t1 instanceof A.SassException) {
  10905. error = t1;
  10906. if (options.get$emitErrorCss())
  10907. if (destination == null)
  10908. A.print(error.toCssString$0());
  10909. else {
  10910. A.ensureDir($.$get$context().dirname$1(destination));
  10911. A.writeFile(destination, error.toCssString$0() + "\n");
  10912. }
  10913. throw $async$exception;
  10914. } else
  10915. throw $async$exception;
  10916. // goto after finally
  10917. $async$goto = 6;
  10918. break;
  10919. case 3:
  10920. // uncaught
  10921. // goto rethrow
  10922. $async$goto = 2;
  10923. break;
  10924. case 6:
  10925. // after finally
  10926. css = result._serialize._0 + A._writeSourceMap(options, result._serialize._1, destination);
  10927. if (destination == null) {
  10928. if (css.length !== 0)
  10929. A.print(css);
  10930. } else {
  10931. A.ensureDir($.$get$context().dirname$1(destination));
  10932. A.writeFile(destination, css + "\n");
  10933. }
  10934. t1 = options._options;
  10935. if (!A._asBool(t1.$index(0, "quiet")))
  10936. t1 = !A._asBool(t1.$index(0, "update")) && !A._asBool(t1.$index(0, "watch"));
  10937. else
  10938. t1 = true;
  10939. if (t1) {
  10940. // goto return
  10941. $async$goto = 1;
  10942. break;
  10943. }
  10944. buffer = new A.StringBuffer("");
  10945. if (source == null)
  10946. sourceName = "stdin";
  10947. else {
  10948. t1 = $.$get$context();
  10949. sourceName = t1.prettyUri$1(t1.toUri$1(source));
  10950. }
  10951. destination.toString;
  10952. t1 = $.$get$context();
  10953. destinationName = t1.prettyUri$1(t1.toUri$1(destination));
  10954. nowStr = new A.DateTime(Date.now(), 0, false).toString$0(0);
  10955. timestamp = B.JSString_methods.substring$2(nowStr, 0, nowStr.length - 7);
  10956. t1 = options.get$color() ? buffer._contents = "" + "\x1b[90m" : "";
  10957. t1 = buffer._contents = t1 + ("[" + timestamp + "] ");
  10958. if (options.get$color())
  10959. t1 = buffer._contents = t1 + "\x1b[32m";
  10960. t1 += "Compiled " + sourceName + " to " + destinationName + ".";
  10961. buffer._contents = t1;
  10962. if (options.get$color())
  10963. buffer._contents = t1 + "\x1b[0m";
  10964. t1 = A.isNodeJs() ? self.process : null;
  10965. if (t1 != null) {
  10966. t1 = J.get$stdout$x(t1);
  10967. J.write$1$x(t1, buffer.toString$0(0) + "\n");
  10968. } else {
  10969. t1 = self.console;
  10970. J.log$1$x(t1, buffer);
  10971. }
  10972. case 1:
  10973. // return
  10974. return A._asyncReturn($async$returnValue, $async$completer);
  10975. case 2:
  10976. // rethrow
  10977. return A._asyncRethrow($async$errorStack.at(-1), $async$completer);
  10978. }
  10979. });
  10980. return A._asyncStartSync($async$_compileStylesheetWithoutErrorHandling, $async$completer);
  10981. },
  10982. _writeSourceMap(options, sourceMap, destination) {
  10983. var t1, sourceMapText, url, sourceMapPath, t2, escapedUrl;
  10984. if (sourceMap == null)
  10985. return "";
  10986. if (destination != null) {
  10987. t1 = $.$get$context();
  10988. sourceMap.targetUrl = t1.toUri$1(A.ParsedPath_ParsedPath$parse(destination, t1.style).get$basename()).toString$0(0);
  10989. }
  10990. A.mapInPlace(sourceMap.urls, new A._writeSourceMap_closure(options, destination));
  10991. t1 = options._options;
  10992. sourceMapText = B.C_JsonCodec.encode$2$toEncodable(sourceMap.toJson$1$includeSourceContents(A._asBool(t1.$index(0, "embed-sources"))), null);
  10993. if (A._asBool(t1.$index(0, "embed-source-map")))
  10994. url = A.Uri_Uri$dataFromString(sourceMapText, B.C_Utf8Codec, "application/json");
  10995. else {
  10996. destination.toString;
  10997. sourceMapPath = destination + ".map";
  10998. t2 = $.$get$context();
  10999. A.ensureDir(t2.dirname$1(sourceMapPath));
  11000. A.writeFile(sourceMapPath, sourceMapText);
  11001. url = t2.toUri$1(t2.relative$2$from(sourceMapPath, t2.dirname$1(destination)));
  11002. }
  11003. t2 = url.toString$0(0);
  11004. escapedUrl = A.stringReplaceAllUnchecked(t2, "*/", "%2A/");
  11005. t1 = (J.$eq$(t1.$index(0, "style"), "compressed") ? B.OutputStyle_1 : B.OutputStyle_0) === B.OutputStyle_1 ? "" : "\n\n";
  11006. return t1 + ("/*# sourceMappingURL=" + escapedUrl + " */");
  11007. },
  11008. _tryDelete(path) {
  11009. var exception;
  11010. try {
  11011. A.deleteFile(path);
  11012. } catch (exception) {
  11013. if (!(A.unwrapException(exception) instanceof A.FileSystemException))
  11014. throw exception;
  11015. }
  11016. },
  11017. _getErrorWithStackTrace(exitCode, error, stackTrace) {
  11018. 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);
  11019. },
  11020. _writeSourceMap_closure: function _writeSourceMap_closure(t0, t1) {
  11021. this.options = t0;
  11022. this.destination = t1;
  11023. },
  11024. ExecutableOptions__separator(text) {
  11025. var t1 = $.$get$ExecutableOptions__separatorBar(),
  11026. t2 = B.JSString_methods.$mul(t1, 3),
  11027. t3 = A.hasTerminal() ? "\x1b[1m" : "",
  11028. t4 = A.hasTerminal() ? "\x1b[0m" : "";
  11029. return t2 + " " + t3 + text + t4 + " " + B.JSString_methods.$mul(t1, 35 - text.length);
  11030. },
  11031. ExecutableOptions__fail(message) {
  11032. return A.throwExpression(A.UsageException$(message));
  11033. },
  11034. ExecutableOptions_ExecutableOptions$parse(args) {
  11035. var options, error, t1, t2, exception;
  11036. try {
  11037. t1 = $.$get$ExecutableOptions__parser();
  11038. t2 = A.ListQueue$(type$.String);
  11039. t2.addAll$1(0, args);
  11040. t2 = A.Parser$(null, t1, t2, null, null).parse$0(0);
  11041. if (t2.wasParsed$1("poll") && !A._asBool(t2.$index(0, "watch")))
  11042. A.ExecutableOptions__fail("--poll may not be passed without --watch.");
  11043. options = new A.ExecutableOptions(t2);
  11044. if (A._asBool(options._options.$index(0, "help")))
  11045. A.ExecutableOptions__fail("Compile Sass to CSS.");
  11046. return options;
  11047. } catch (exception) {
  11048. t1 = A.unwrapException(exception);
  11049. if (type$.FormatException._is(t1)) {
  11050. error = t1;
  11051. A.ExecutableOptions__fail(J.get$message$x(error));
  11052. } else
  11053. throw exception;
  11054. }
  11055. },
  11056. UsageException$(message) {
  11057. return new A.UsageException(message);
  11058. },
  11059. ExecutableOptions: function ExecutableOptions(t0) {
  11060. var _ = this;
  11061. _._options = t0;
  11062. _.__ExecutableOptions_interactive_FI = $;
  11063. _._sourcesToDestinations = null;
  11064. _.__ExecutableOptions__sourceDirectoriesToDestinations_F = $;
  11065. _._fatalDeprecations = null;
  11066. },
  11067. ExecutableOptions__parser_closure: function ExecutableOptions__parser_closure() {
  11068. },
  11069. ExecutableOptions_interactive_closure: function ExecutableOptions_interactive_closure(t0) {
  11070. this.$this = t0;
  11071. },
  11072. ExecutableOptions_emitErrorCss_closure: function ExecutableOptions_emitErrorCss_closure() {
  11073. },
  11074. ExecutableOptions_fatalDeprecations_closure: function ExecutableOptions_fatalDeprecations_closure(t0) {
  11075. this.$this = t0;
  11076. },
  11077. UsageException: function UsageException(t0) {
  11078. this.message = t0;
  11079. },
  11080. repl(options) {
  11081. return A.repl$body(options);
  11082. },
  11083. repl$body(options) {
  11084. var $async$goto = 0,
  11085. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  11086. $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;
  11087. var $async$repl = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  11088. if ($async$errorCode === 1) {
  11089. $async$errorStack.push($async$result);
  11090. $async$goto = $async$handler;
  11091. }
  11092. while (true)
  11093. switch ($async$goto) {
  11094. case 0:
  11095. // Function start
  11096. t1 = A._setArrayType([], type$.JSArray_String);
  11097. t2 = B.JSString_methods.$mul(" ", 3);
  11098. t3 = $.$get$alwaysValid();
  11099. repl0 = new A.Repl(">> ", t2, t3, t1);
  11100. repl0.__Repl__adapter_A = new A.ReplAdapter(repl0);
  11101. repl = repl0;
  11102. t1 = options._options;
  11103. trackingLogger = new A.TrackingLogger(A._asBool(t1.$index(0, "quiet")) ? $.$get$Logger_quiet() : new A.StderrLogger(options.get$color()));
  11104. 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")));
  11105. logger.validate$0();
  11106. warn = new A.repl_warn(logger);
  11107. t2 = $.$get$FilesystemImporter_cwd();
  11108. 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);
  11109. t2 = repl.__Repl__adapter_A;
  11110. t2 === $ && A.throwUnnamedLateFieldNI();
  11111. t2 = new A._StreamIterator(A.checkNotNullable(t2.runAsync$0(), "stream", type$.Object));
  11112. $async$handler = 2;
  11113. t1 = type$.String, t3 = type$.FileSpan, t4 = type$.JSArray_Record_3_nullable_Deprecation_deprecation_and_String_message_and_FileSpan_span, t5 = type$.Expression;
  11114. case 5:
  11115. // for condition
  11116. $async$goto = 7;
  11117. return A._asyncAwait(t2.moveNext$0(), $async$repl);
  11118. case 7:
  11119. // returning from await.
  11120. if (!$async$result) {
  11121. // goto after for
  11122. $async$goto = 6;
  11123. break;
  11124. }
  11125. line = t2.get$current(0);
  11126. if (J.trim$0$s(line).length === 0) {
  11127. // goto for condition
  11128. $async$goto = 5;
  11129. break;
  11130. }
  11131. try {
  11132. if (J.startsWith$1$s(line, "@")) {
  11133. node = null;
  11134. warnings = null;
  11135. _1_0 = new A.ScssParser(A.LinkedHashMap_LinkedHashMap$_empty(t1, t3), A._setArrayType([], t4), A.SpanScanner$(line, null), null).parseUseRule$0();
  11136. node = _1_0._0;
  11137. warnings = _1_0._1;
  11138. J.forEach$1$ax(warnings, warn);
  11139. t6 = evaluator;
  11140. t7 = node;
  11141. t6._visitor.runStatement$2(t6._importer, t7);
  11142. // goto for condition
  11143. $async$goto = 5;
  11144. break;
  11145. }
  11146. if (new A.Parser(A.SpanScanner$(line, null), null)._isVariableDeclarationLike$0()) {
  11147. node0 = null;
  11148. warnings0 = null;
  11149. _2_0 = new A.ScssParser(A.LinkedHashMap_LinkedHashMap$_empty(t1, t3), A._setArrayType([], t4), A.SpanScanner$(line, null), null).parseVariableDeclaration$0();
  11150. node0 = _2_0._0;
  11151. warnings0 = _2_0._1;
  11152. J.forEach$1$ax(warnings0, warn);
  11153. t6 = evaluator;
  11154. t7 = node0;
  11155. t6._visitor.runStatement$2(t6._importer, t7);
  11156. t7 = evaluator;
  11157. t6 = node0.name;
  11158. t8 = node0.span;
  11159. t9 = node0.namespace;
  11160. line0 = t7._visitor.runExpression$2(t7._importer, new A.VariableExpression(t9, t6, t8)).toString$0(0);
  11161. toZone = $.printToZone;
  11162. if (toZone == null)
  11163. A.printString(line0);
  11164. else
  11165. toZone.call$1(line0);
  11166. } else {
  11167. node1 = null;
  11168. warnings1 = null;
  11169. t6 = A._setArrayType([], t4);
  11170. t7 = new A.ScssParser(A.LinkedHashMap_LinkedHashMap$_empty(t1, t3), t6, A.SpanScanner$(line, null), null);
  11171. _3_0 = new A._Record_2(t7._parseSingleProduction$1$1(t7.get$_expression(), t5), t6);
  11172. node1 = _3_0._0;
  11173. warnings1 = _3_0._1;
  11174. J.forEach$1$ax(warnings1, warn);
  11175. t6 = evaluator;
  11176. t7 = node1;
  11177. line0 = t6._visitor.runExpression$2(t6._importer, t7).toString$0(0);
  11178. toZone = $.printToZone;
  11179. if (toZone == null)
  11180. A.printString(line0);
  11181. else
  11182. toZone.call$1(line0);
  11183. }
  11184. } catch (exception) {
  11185. t6 = A.unwrapException(exception);
  11186. if (t6 instanceof A.SassException) {
  11187. error = t6;
  11188. stackTrace = A.getTraceFromException(exception);
  11189. t6 = error;
  11190. t7 = typeof t6 != "string";
  11191. if (!t7 || typeof t6 == "number" || A._isBool(t6))
  11192. t6 = null;
  11193. else {
  11194. t8 = $.$get$_traces();
  11195. if (A._isBool(t6) || typeof t6 == "number" || !t7 || t6 instanceof A._Record)
  11196. A.Expando__badExpandoKey(t6);
  11197. t6 = t8._jsWeakMap.get(t6);
  11198. }
  11199. if (t6 == null)
  11200. t6 = stackTrace;
  11201. A._logError(error, t6, line, repl, options, trackingLogger);
  11202. } else
  11203. throw exception;
  11204. }
  11205. // goto for condition
  11206. $async$goto = 5;
  11207. break;
  11208. case 6:
  11209. // after for
  11210. $async$next.push(4);
  11211. // goto finally
  11212. $async$goto = 3;
  11213. break;
  11214. case 2:
  11215. // uncaught
  11216. $async$next = [1];
  11217. case 3:
  11218. // finally
  11219. $async$handler = 1;
  11220. $async$goto = 8;
  11221. return A._asyncAwait(t2.cancel$0(), $async$repl);
  11222. case 8:
  11223. // returning from await.
  11224. // goto the next finally handler
  11225. $async$goto = $async$next.pop();
  11226. break;
  11227. case 4:
  11228. // after finally
  11229. // implicit return
  11230. return A._asyncReturn(null, $async$completer);
  11231. case 1:
  11232. // rethrow
  11233. return A._asyncRethrow($async$errorStack.at(-1), $async$completer);
  11234. }
  11235. });
  11236. return A._asyncStartSync($async$repl, $async$completer);
  11237. },
  11238. _logError(error, stackTrace, line, repl, options, logger) {
  11239. var t2, spacesBeforeError, t3,
  11240. t1 = A.SourceSpanException.prototype.get$span.call(error, 0);
  11241. if (t1.get$sourceUrl(t1) == null)
  11242. if (!A._asBool(options._options.$index(0, "quiet")))
  11243. t1 = logger._emittedDebug || logger._emittedWarning;
  11244. else
  11245. t1 = false;
  11246. else
  11247. t1 = true;
  11248. if (t1) {
  11249. A.print(error.toString$1$color(0, options.get$color()));
  11250. return;
  11251. }
  11252. t1 = options.get$color() ? "" + "\x1b[31m" : "";
  11253. t2 = A.SourceSpanException.prototype.get$span.call(error, 0);
  11254. t2 = t2.get$start(t2);
  11255. spacesBeforeError = repl.prompt.length + t2.file.getColumn$1(t2.offset);
  11256. if (options.get$color()) {
  11257. t2 = A.SourceSpanException.prototype.get$span.call(error, 0);
  11258. t2 = t2.get$start(t2);
  11259. t2 = t2.file.getColumn$1(t2.offset) < line.length;
  11260. } else
  11261. t2 = false;
  11262. if (t2)
  11263. t1 = t1 + ("\x1b[1F\x1b[" + spacesBeforeError + "C") + (A.SourceSpanException.prototype.get$span.call(error, 0).get$text() + "\n");
  11264. t2 = B.JSString_methods.$mul(" ", spacesBeforeError);
  11265. t3 = A.SourceSpanException.prototype.get$span.call(error, 0);
  11266. t3 = t1 + t2 + (B.JSString_methods.$mul("^", Math.max(1, t3.get$length(t3))) + "\n");
  11267. t1 = options.get$color() ? t3 + "\x1b[0m" : t3;
  11268. t1 += "Error: " + error._span_exception$_message + "\n";
  11269. if (A._asBool(options._options.$index(0, "trace")))
  11270. t1 += A.Trace_Trace$from(stackTrace).get$terse().toString$0(0);
  11271. A.print(B.JSString_methods.trimRight$0(t1.charCodeAt(0) == 0 ? t1 : t1));
  11272. },
  11273. repl_warn: function repl_warn(t0) {
  11274. this.logger = t0;
  11275. },
  11276. watch(options, graph) {
  11277. return A.watch$body(options, graph);
  11278. },
  11279. watch$body(options, graph) {
  11280. var $async$goto = 0,
  11281. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  11282. $async$returnValue, t1, t2, t3, t4, t5, t6, dirWatcher, sourcesToDestinations, t7, t0;
  11283. var $async$watch = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  11284. if ($async$errorCode === 1)
  11285. return A._asyncRethrow($async$result, $async$completer);
  11286. while (true)
  11287. switch ($async$goto) {
  11288. case 0:
  11289. // Function start
  11290. options._ensureSources$0();
  11291. t1 = options.__ExecutableOptions__sourceDirectoriesToDestinations_F;
  11292. t1 === $ && A.throwUnnamedLateFieldNI();
  11293. t2 = type$.String;
  11294. t1 = t1.cast$2$0(0, t2, t2);
  11295. t1 = A.List_List$_of(t1.get$keys(t1), t2);
  11296. 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();) {
  11297. t4 = t3.get$current(t3);
  11298. t1.push($.$get$context().dirname$1(t4));
  11299. }
  11300. t3 = options._options;
  11301. B.JSArray_methods.addAll$1(t1, type$.List_String._as(t3.$index(0, "load-path")));
  11302. t4 = A._asBool(t3.$index(0, "poll"));
  11303. t5 = type$.Stream_WatchEvent;
  11304. t6 = A.PathMap__create(null, t5);
  11305. t5 = new A.StreamGroup(B._StreamGroupState_dormant, A.LinkedHashMap_LinkedHashMap$_empty(t5, type$.nullable_StreamSubscription_WatchEvent), type$.StreamGroup_WatchEvent);
  11306. t5.__StreamGroup__controller_A = A.StreamController_StreamController(t5.get$_onCancel(), t5.get$_onListen(), t5.get$_onPause(), t5.get$_onResume(), true, type$.WatchEvent);
  11307. dirWatcher = new A.MultiDirWatcher(new A.PathMap(t6, type$.PathMap_Stream_WatchEvent), t5, t4);
  11308. $async$goto = 3;
  11309. 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);
  11310. case 3:
  11311. // returning from await.
  11312. options._ensureSources$0();
  11313. sourcesToDestinations = options._sourcesToDestinations.cast$2$0(0, t2, t2);
  11314. for (t1 = J.get$iterator$ax(sourcesToDestinations.get$keys(sourcesToDestinations)); t1.moveNext$0();) {
  11315. t4 = t1.get$current(t1);
  11316. t5 = $.$get$FilesystemImporter_cwd();
  11317. t6 = self.process;
  11318. if (t6 == null)
  11319. t6 = null;
  11320. else {
  11321. t6 = J.get$release$x(t6);
  11322. t6 = t6 == null ? null : J.get$name$x(t6);
  11323. }
  11324. t6 = J.$eq$(t6, "node") ? self.process : null;
  11325. if (!J.$eq$(t6 == null ? null : J.get$platform$x(t6), "win32")) {
  11326. t6 = self.process;
  11327. if (t6 == null)
  11328. t6 = null;
  11329. else {
  11330. t6 = J.get$release$x(t6);
  11331. t6 = t6 == null ? null : J.get$name$x(t6);
  11332. }
  11333. t6 = J.$eq$(t6, "node") ? self.process : null;
  11334. t6 = J.$eq$(t6 == null ? null : J.get$platform$x(t6), "darwin");
  11335. } else
  11336. t6 = true;
  11337. if (t6) {
  11338. t6 = $.$get$context();
  11339. t7 = A._realCasePath(t6.normalize$1(t6.absolute$15(t4, null, null, null, null, null, null, null, null, null, null, null, null, null, null)));
  11340. t0 = t7;
  11341. t7 = t6;
  11342. t6 = t0;
  11343. } else {
  11344. t6 = $.$get$context();
  11345. t7 = t6.canonicalize$1(0, t4);
  11346. t0 = t7;
  11347. t7 = t6;
  11348. t6 = t0;
  11349. }
  11350. graph.addCanonical$4$recanonicalize(t5, t7.toUri$1(t6), t7.toUri$1(t4), false);
  11351. }
  11352. $async$goto = 4;
  11353. return A._asyncAwait(A.compileStylesheets(options, graph, sourcesToDestinations, true), $async$watch);
  11354. case 4:
  11355. // returning from await.
  11356. if (!$async$result && A._asBool(t3.$index(0, "stop-on-error"))) {
  11357. t1 = dirWatcher._group.__StreamGroup__controller_A;
  11358. t1 === $ && A.throwUnnamedLateFieldNI();
  11359. new A._ControllerStream(t1, A._instanceType(t1)._eval$1("_ControllerStream<1>")).listen$1(0, null).cancel$0();
  11360. // goto return
  11361. $async$goto = 1;
  11362. break;
  11363. }
  11364. A.print("Sass is watching for changes. Press Ctrl-C to stop.\n");
  11365. $async$goto = 5;
  11366. return A._asyncAwait(new A._Watcher(options, graph, A.LinkedHashMap_LinkedHashMap$_empty(t2, t2)).watch$1(0, dirWatcher), $async$watch);
  11367. case 5:
  11368. // returning from await.
  11369. case 1:
  11370. // return
  11371. return A._asyncReturn($async$returnValue, $async$completer);
  11372. }
  11373. });
  11374. return A._asyncStartSync($async$watch, $async$completer);
  11375. },
  11376. watch_closure: function watch_closure(t0) {
  11377. this.dirWatcher = t0;
  11378. },
  11379. _Watcher: function _Watcher(t0, t1, t2) {
  11380. this._watch$_options = t0;
  11381. this._graph = t1;
  11382. this._toRecompile = t2;
  11383. },
  11384. _Watcher__debounceEvents_closure: function _Watcher__debounceEvents_closure() {
  11385. },
  11386. EmptyExtensionStore: function EmptyExtensionStore() {
  11387. },
  11388. Extension: function Extension(t0, t1, t2, t3, t4) {
  11389. var _ = this;
  11390. _.extender = t0;
  11391. _.target = t1;
  11392. _.mediaContext = t2;
  11393. _.isOptional = t3;
  11394. _.span = t4;
  11395. },
  11396. Extender: function Extender(t0, t1) {
  11397. this.selector = t0;
  11398. this.isOriginal = t1;
  11399. this._extension = null;
  11400. },
  11401. ExtensionStore__extendOrReplace(selector, source, targets, mode, span) {
  11402. var t1, t2, t3, t4, t5, t6, t7, t8, _i, complex, compound, t9, t10, t11, _i0, simple, t12, _i1, t13, t14,
  11403. extender = A.ExtensionStore$_mode(mode);
  11404. if (!selector.accept$1(B._IsInvisibleVisitor_true))
  11405. extender._originals.addAll$1(0, selector.components);
  11406. 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) {
  11407. complex = t1[_i];
  11408. compound = complex.get$singleCompound();
  11409. if (compound == null)
  11410. throw A.wrapException(A.SassScriptException$("Can't extend complex selector " + complex.toString$0(0) + ".", null));
  11411. t9 = A.LinkedHashMap_LinkedHashMap$_empty(t7, t8);
  11412. for (t10 = compound.components, t11 = t10.length, _i0 = 0; _i0 < t11; ++_i0) {
  11413. simple = t10[_i0];
  11414. t12 = A.LinkedHashMap_LinkedHashMap$_empty(t5, t6);
  11415. for (_i1 = 0; _i1 < t4; ++_i1) {
  11416. complex = t3[_i1];
  11417. complex.get$specificity();
  11418. t13 = new A.Extender(complex, false);
  11419. t14 = new A.Extension(t13, simple, null, true, span);
  11420. t13._extension = t14;
  11421. t12.$indexSet(0, complex, t14);
  11422. }
  11423. t9.$indexSet(0, simple, t12);
  11424. }
  11425. selector = extender._extendList$2(selector, t9);
  11426. }
  11427. return selector;
  11428. },
  11429. ExtensionStore$() {
  11430. var t1 = type$.SimpleSelector;
  11431. 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);
  11432. },
  11433. ExtensionStore$_mode(_mode) {
  11434. var t1 = type$.SimpleSelector;
  11435. 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);
  11436. },
  11437. ExtensionStore: function ExtensionStore(t0, t1, t2, t3, t4, t5, t6) {
  11438. var _ = this;
  11439. _._selectors = t0;
  11440. _._extensions = t1;
  11441. _._extensionsByExtender = t2;
  11442. _._mediaContexts = t3;
  11443. _._sourceSpecificity = t4;
  11444. _._originals = t5;
  11445. _._mode = t6;
  11446. },
  11447. ExtensionStore_extensionsWhereTarget_closure: function ExtensionStore_extensionsWhereTarget_closure() {
  11448. },
  11449. ExtensionStore__registerSelector_closure: function ExtensionStore__registerSelector_closure() {
  11450. },
  11451. ExtensionStore_addExtension_closure: function ExtensionStore_addExtension_closure() {
  11452. },
  11453. ExtensionStore_addExtension_closure0: function ExtensionStore_addExtension_closure0() {
  11454. },
  11455. ExtensionStore_addExtension_closure1: function ExtensionStore_addExtension_closure1(t0) {
  11456. this.complex = t0;
  11457. },
  11458. ExtensionStore__extendExistingExtensions_closure: function ExtensionStore__extendExistingExtensions_closure() {
  11459. },
  11460. ExtensionStore__extendExistingExtensions_closure0: function ExtensionStore__extendExistingExtensions_closure0() {
  11461. },
  11462. ExtensionStore_addExtensions_closure: function ExtensionStore_addExtensions_closure() {
  11463. },
  11464. ExtensionStore__extendComplex_closure: function ExtensionStore__extendComplex_closure(t0, t1, t2) {
  11465. this._box_0 = t0;
  11466. this.$this = t1;
  11467. this.complex = t2;
  11468. },
  11469. ExtensionStore__extendComplex__closure: function ExtensionStore__extendComplex__closure(t0, t1, t2) {
  11470. this._box_0 = t0;
  11471. this.$this = t1;
  11472. this.complex = t2;
  11473. },
  11474. ExtensionStore__extendCompound_closure: function ExtensionStore__extendCompound_closure() {
  11475. },
  11476. ExtensionStore__extendCompound_closure0: function ExtensionStore__extendCompound_closure0() {
  11477. },
  11478. ExtensionStore__extendCompound_closure1: function ExtensionStore__extendCompound_closure1(t0) {
  11479. this.original = t0;
  11480. },
  11481. ExtensionStore__extendSimple_withoutPseudo: function ExtensionStore__extendSimple_withoutPseudo(t0, t1, t2) {
  11482. this.$this = t0;
  11483. this.extensions = t1;
  11484. this.targetsUsed = t2;
  11485. },
  11486. ExtensionStore__extendSimple_closure: function ExtensionStore__extendSimple_closure(t0, t1) {
  11487. this.$this = t0;
  11488. this.withoutPseudo = t1;
  11489. },
  11490. ExtensionStore__extendSimple_closure0: function ExtensionStore__extendSimple_closure0() {
  11491. },
  11492. ExtensionStore__extendPseudo_closure: function ExtensionStore__extendPseudo_closure() {
  11493. },
  11494. ExtensionStore__extendPseudo_closure0: function ExtensionStore__extendPseudo_closure0() {
  11495. },
  11496. ExtensionStore__extendPseudo_closure1: function ExtensionStore__extendPseudo_closure1() {
  11497. },
  11498. ExtensionStore__extendPseudo_closure2: function ExtensionStore__extendPseudo_closure2(t0) {
  11499. this.pseudo = t0;
  11500. },
  11501. ExtensionStore__extendPseudo_closure3: function ExtensionStore__extendPseudo_closure3(t0, t1) {
  11502. this.pseudo = t0;
  11503. this.selector = t1;
  11504. },
  11505. ExtensionStore__trim_closure: function ExtensionStore__trim_closure(t0, t1) {
  11506. this._box_0 = t0;
  11507. this.complex1 = t1;
  11508. },
  11509. ExtensionStore__trim_closure0: function ExtensionStore__trim_closure0(t0, t1) {
  11510. this._box_0 = t0;
  11511. this.complex1 = t1;
  11512. },
  11513. ExtensionStore_clone_closure: function ExtensionStore_clone_closure(t0, t1, t2, t3) {
  11514. var _ = this;
  11515. _.$this = t0;
  11516. _.newSelectors = t1;
  11517. _.oldToNewSelectors = t2;
  11518. _.newMediaContexts = t3;
  11519. },
  11520. unifyComplex(complexes, span) {
  11521. var t2, trailingCombinator, leadingCombinator, unifiedBase, t3, t4, _0_6_isSet, _0_6, t5, newLeadingCombinator, base, _1_1, newTrailingCombinator, unifiedBase0, t6, t7, t8, _null = null,
  11522. t1 = J.getInterceptor$asx(complexes);
  11523. if (t1.get$length(complexes) === 1)
  11524. return complexes;
  11525. for (t2 = t1.get$iterator(complexes), trailingCombinator = _null, leadingCombinator = trailingCombinator, unifiedBase = leadingCombinator; t2.moveNext$0();) {
  11526. t3 = t2.get$current(t2);
  11527. if (t3.accept$1(B.C__IsUselessVisitor))
  11528. return _null;
  11529. t4 = t3.components;
  11530. _0_6_isSet = t4.length === 1;
  11531. if (_0_6_isSet) {
  11532. _0_6 = t3.leadingCombinators;
  11533. t5 = _0_6.length === 1;
  11534. } else {
  11535. _0_6 = _null;
  11536. t5 = false;
  11537. }
  11538. if (t5) {
  11539. newLeadingCombinator = (_0_6_isSet ? _0_6 : t3.leadingCombinators)[0];
  11540. if (leadingCombinator == null)
  11541. leadingCombinator = newLeadingCombinator;
  11542. else if (!(leadingCombinator.$ti._is(newLeadingCombinator) && J.$eq$(newLeadingCombinator.value, leadingCombinator.value)))
  11543. return _null;
  11544. }
  11545. base = B.JSArray_methods.get$last(t4);
  11546. _1_1 = base.combinators;
  11547. if (_1_1.length === 1) {
  11548. newTrailingCombinator = _1_1[0];
  11549. if (trailingCombinator != null)
  11550. t3 = !(trailingCombinator.$ti._is(newTrailingCombinator) && J.$eq$(newTrailingCombinator.value, trailingCombinator.value));
  11551. else
  11552. t3 = false;
  11553. if (t3)
  11554. return _null;
  11555. trailingCombinator = newTrailingCombinator;
  11556. }
  11557. unifiedBase0 = base.selector;
  11558. if (unifiedBase == null)
  11559. unifiedBase = unifiedBase0;
  11560. else {
  11561. unifiedBase = A.unifyCompound(unifiedBase, unifiedBase0);
  11562. if (unifiedBase == null)
  11563. return _null;
  11564. }
  11565. }
  11566. t2 = type$.JSArray_ComplexSelector;
  11567. t3 = A._setArrayType([], t2);
  11568. for (t4 = t1.get$iterator(complexes); t4.moveNext$0();) {
  11569. t5 = t4.get$current(t4);
  11570. t6 = t5.components;
  11571. t7 = t6.length;
  11572. if (t7 > 1) {
  11573. t8 = t5.leadingCombinators;
  11574. t3.push(A.ComplexSelector$(t8, B.JSArray_methods.take$1(t6, t7 - 1), t5.span, t5.lineBreak));
  11575. }
  11576. }
  11577. t4 = leadingCombinator == null ? B.List_empty0 : A._setArrayType([leadingCombinator], type$.JSArray_CssValue_Combinator);
  11578. unifiedBase.toString;
  11579. t5 = trailingCombinator == null ? B.List_empty0 : A._setArrayType([trailingCombinator], type$.JSArray_CssValue_Combinator);
  11580. 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()));
  11581. if (t3.length === 0)
  11582. t1 = A._setArrayType([base], t2);
  11583. else {
  11584. t1 = A.List_List$_of(A.IterableExtension_get_exceptLast(t3), type$.ComplexSelector);
  11585. t1.push(B.JSArray_methods.get$last(t3).concatenate$2(base, span));
  11586. }
  11587. return A.weave(t1, span, false);
  11588. },
  11589. unifyCompound(compound1, compound2) {
  11590. var t1, t2, pseudoElementFound, _i, simple, unified,
  11591. result = compound1.components,
  11592. pseudoResult = A._setArrayType([], type$.JSArray_SimpleSelector);
  11593. for (t1 = compound2.components, t2 = t1.length, pseudoElementFound = false, _i = 0; _i < t2; ++_i) {
  11594. simple = t1[_i];
  11595. if (pseudoElementFound && simple instanceof A.PseudoSelector) {
  11596. unified = simple.unify$1(pseudoResult);
  11597. if (unified == null)
  11598. return null;
  11599. pseudoResult = unified;
  11600. } else {
  11601. pseudoElementFound = B.JSBool_methods.$or(pseudoElementFound, simple instanceof A.PseudoSelector && !simple.isClass);
  11602. unified = simple.unify$1(result);
  11603. if (unified == null)
  11604. return null;
  11605. result = unified;
  11606. }
  11607. }
  11608. t1 = A.List_List$_of(result, type$.SimpleSelector);
  11609. B.JSArray_methods.addAll$1(t1, pseudoResult);
  11610. return A.CompoundSelector$(t1, compound1.span);
  11611. },
  11612. unifyUniversalAndElement(selector1, selector2) {
  11613. var namespace, $name, t1,
  11614. _0_0 = A._namespaceAndName(selector1, "selector1"),
  11615. namespace1 = _0_0._0,
  11616. name1 = _0_0._1,
  11617. _1_0 = A._namespaceAndName(selector2, "selector2"),
  11618. namespace2 = _1_0._0,
  11619. name2 = _1_0._1;
  11620. if (namespace1 == namespace2 || namespace2 === "*")
  11621. namespace = namespace1;
  11622. else {
  11623. if (namespace1 !== "*")
  11624. return null;
  11625. namespace = namespace2;
  11626. }
  11627. if (name1 == name2 || name2 == null)
  11628. $name = name1;
  11629. else {
  11630. if (!(name1 == null || name1 === "*"))
  11631. return null;
  11632. $name = name2;
  11633. }
  11634. t1 = selector1.span;
  11635. return $name == null ? new A.UniversalSelector(namespace, t1) : new A.TypeSelector(new A.QualifiedName($name, namespace), t1);
  11636. },
  11637. _namespaceAndName(selector, $name) {
  11638. var t1, _0_4;
  11639. $label0$0: {
  11640. if (selector instanceof A.UniversalSelector) {
  11641. t1 = new A._Record_2(selector.namespace, null);
  11642. break $label0$0;
  11643. }
  11644. if (selector instanceof A.TypeSelector) {
  11645. _0_4 = selector.name;
  11646. t1 = new A._Record_2(_0_4.namespace, _0_4.name);
  11647. break $label0$0;
  11648. }
  11649. t1 = A.throwExpression(A.ArgumentError$value(selector, $name, string$.must_b));
  11650. }
  11651. return t1;
  11652. },
  11653. weave(complexes, span, forceLineBreak) {
  11654. var complex, t2, prefixes, t3, t4, t5, t6, i, t7, t8, _i, t9, t10, _i0, parentPrefix, t11, t12,
  11655. t1 = J.getInterceptor$asx(complexes);
  11656. if (t1.get$length(complexes) === 1) {
  11657. complex = t1.$index(complexes, 0);
  11658. if (!forceLineBreak || complex.lineBreak)
  11659. return complexes;
  11660. return A._setArrayType([A.ComplexSelector$(complex.leadingCombinators, complex.components, complex.span, true)], type$.JSArray_ComplexSelector);
  11661. }
  11662. t2 = type$.JSArray_ComplexSelector;
  11663. prefixes = A._setArrayType([t1.get$first(complexes)], t2);
  11664. 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();) {
  11665. t5 = t1.__internal$_current;
  11666. if (t5 == null)
  11667. t5 = t3._as(t5);
  11668. t6 = t5.components;
  11669. if (t6.length === 1) {
  11670. for (i = 0; i < prefixes.length; ++i)
  11671. prefixes[i] = prefixes[i].concatenate$3$forceLineBreak(t5, span, forceLineBreak);
  11672. continue;
  11673. }
  11674. t7 = A._setArrayType([], t2);
  11675. for (t8 = prefixes.length, _i = 0; _i < prefixes.length; prefixes.length === t8 || (0, A.throwConcurrentModificationError)(prefixes), ++_i) {
  11676. t9 = A._weaveParents(prefixes[_i], t5, span);
  11677. if (t9 == null)
  11678. t9 = B.List_empty1;
  11679. t10 = t9.length;
  11680. _i0 = 0;
  11681. for (; _i0 < t9.length; t9.length === t10 || (0, A.throwConcurrentModificationError)(t9), ++_i0) {
  11682. parentPrefix = t9[_i0];
  11683. t11 = B.JSArray_methods.get$last(t6);
  11684. t12 = A.List_List$_of(parentPrefix.components, t4);
  11685. t12.push(t11);
  11686. t11 = parentPrefix.lineBreak || forceLineBreak;
  11687. t7.push(A.ComplexSelector$(parentPrefix.leadingCombinators, t12, span, t11));
  11688. }
  11689. }
  11690. prefixes = t7;
  11691. }
  11692. return prefixes;
  11693. },
  11694. _weaveParents(prefix, base, span) {
  11695. 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,
  11696. leadingCombinators = A._mergeLeadingCombinators(prefix.leadingCombinators, base.leadingCombinators);
  11697. if (leadingCombinators == null)
  11698. return _null;
  11699. t1 = type$.ComplexSelectorComponent;
  11700. queue1 = A.QueueList_QueueList$from(prefix.components, t1);
  11701. queue2 = A.QueueList_QueueList$from(A.IterableExtension_get_exceptLast(base.components), t1);
  11702. trailingCombinators = A._mergeTrailingCombinators(queue1, queue2, span, _null);
  11703. if (trailingCombinators == null)
  11704. return _null;
  11705. $label0$0: {
  11706. _0_1 = A._firstIfRootish(queue1);
  11707. _0_3 = A._firstIfRootish(queue2);
  11708. _0_3_isSet = _0_1 != null;
  11709. _0_30 = _null;
  11710. rootish2 = _null;
  11711. t2 = false;
  11712. if (_0_3_isSet) {
  11713. rootish1 = _0_1 == null ? t1._as(_0_1) : _0_1;
  11714. t2 = _0_3 != null;
  11715. if (t2)
  11716. rootish2 = _0_3 == null ? t1._as(_0_3) : _0_3;
  11717. _0_30 = _0_3;
  11718. } else
  11719. rootish1 = _null;
  11720. if (t2) {
  11721. rootish = A.unifyCompound(rootish1.selector, rootish2.selector);
  11722. if (rootish == null)
  11723. return _null;
  11724. t1 = rootish1.combinators;
  11725. t2 = rootish1.span;
  11726. t3 = type$.CssValue_Combinator;
  11727. queue1.addFirst$1(new A.ComplexSelectorComponent(rootish, A.List_List$unmodifiable(t1, t3), t2));
  11728. queue2.addFirst$1(new A.ComplexSelectorComponent(rootish, A.List_List$unmodifiable(rootish2.combinators, t3), t2));
  11729. break $label0$0;
  11730. }
  11731. t2 = _null;
  11732. t3 = false;
  11733. if (_0_1 != null) {
  11734. if (_0_3_isSet)
  11735. t2 = _0_30;
  11736. else {
  11737. t2 = _0_3;
  11738. _0_30 = t2;
  11739. _0_3_isSet = true;
  11740. }
  11741. t2 = t2 == null;
  11742. t3 = t2 ? _0_1 : _null;
  11743. t0 = t3;
  11744. t3 = t2;
  11745. t2 = t0;
  11746. }
  11747. if (!t3)
  11748. if (_0_1 == null) {
  11749. if (_0_3_isSet)
  11750. t3 = _0_30;
  11751. else {
  11752. t3 = _0_3;
  11753. _0_30 = t3;
  11754. _0_3_isSet = true;
  11755. }
  11756. t3 = t3 != null;
  11757. if (t3) {
  11758. rootish_case_1 = _0_3_isSet ? _0_30 : _0_3;
  11759. if (rootish_case_1 == null)
  11760. rootish_case_1 = t1._as(rootish_case_1);
  11761. t1 = rootish_case_1;
  11762. } else
  11763. t1 = t2;
  11764. t2 = t3;
  11765. } else {
  11766. t1 = t2;
  11767. t2 = false;
  11768. }
  11769. else {
  11770. t1 = t2;
  11771. t2 = true;
  11772. }
  11773. if (t2) {
  11774. queue1.addFirst$1(t1);
  11775. queue2.addFirst$1(t1);
  11776. }
  11777. }
  11778. groups1 = A._groupSelectors(queue1);
  11779. groups2 = A._groupSelectors(queue2);
  11780. t1 = type$.List_ComplexSelectorComponent;
  11781. lcs = A.longestCommonSubsequence(groups2, groups1, new A._weaveParents_closure(span), t1);
  11782. choices = A._setArrayType([], type$.JSArray_List_Iterable_ComplexSelectorComponent);
  11783. 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) {
  11784. group = lcs[_i];
  11785. t5 = A._setArrayType([], t3);
  11786. 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) {
  11787. chunk = t6[_i0];
  11788. t8 = A._setArrayType([], t4);
  11789. for (t9 = B.JSArray_methods.get$iterator(chunk); t9.moveNext$0();)
  11790. B.JSArray_methods.addAll$1(t8, t9.get$current(0));
  11791. t5.push(t8);
  11792. }
  11793. choices.push(t5);
  11794. choices.push(A._setArrayType([group], t3));
  11795. groups1.removeFirst$0();
  11796. groups2.removeFirst$0();
  11797. }
  11798. t2 = A._setArrayType([], t3);
  11799. 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) {
  11800. chunk = t1[_i];
  11801. t5 = A._setArrayType([], t4);
  11802. for (t6 = B.JSArray_methods.get$iterator(chunk); t6.moveNext$0();)
  11803. B.JSArray_methods.addAll$1(t5, t6.get$current(0));
  11804. t2.push(t5);
  11805. }
  11806. choices.push(t2);
  11807. B.JSArray_methods.addAll$1(choices, trailingCombinators);
  11808. t1 = A._setArrayType([], type$.JSArray_ComplexSelector);
  11809. 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();) {
  11810. t6 = t2.get$current(t2);
  11811. t7 = A._setArrayType([], t4);
  11812. for (t6 = J.get$iterator$ax(t6); t6.moveNext$0();)
  11813. B.JSArray_methods.addAll$1(t7, t6.get$current(t6));
  11814. t1.push(A.ComplexSelector$(leadingCombinators, t7, span, !t3 || t5));
  11815. }
  11816. return t1;
  11817. },
  11818. _firstIfRootish(queue) {
  11819. var first, t1, t2, _i, simple, t3;
  11820. if (queue.get$length(0) >= 1) {
  11821. first = queue.$index(0, 0);
  11822. for (t1 = first.selector.components, t2 = t1.length, _i = 0; _i < t2; ++_i) {
  11823. simple = t1[_i];
  11824. t3 = false;
  11825. if (simple instanceof A.PseudoSelector)
  11826. if (simple.isClass)
  11827. t3 = $._rootishPseudoClasses.contains$1(0, simple.normalizedName);
  11828. if (t3) {
  11829. queue.removeFirst$0();
  11830. return first;
  11831. }
  11832. }
  11833. }
  11834. return null;
  11835. },
  11836. _mergeLeadingCombinators(combinators1, combinators2) {
  11837. var _0_4, t1, t2, _0_7, t3, _0_11, _0_11_isSet, combinators, _null = null;
  11838. $label0$0: {
  11839. _0_4 = combinators2;
  11840. t1 = _null;
  11841. t2 = type$.List_dynamic;
  11842. _0_7 = combinators1.length;
  11843. t3 = _0_7;
  11844. t3 = t3 > 1;
  11845. _0_11 = _null;
  11846. if (!t3) {
  11847. t3 = _0_4;
  11848. _0_11_isSet = t2._is(t3);
  11849. if (_0_11_isSet) {
  11850. t3 = _0_4;
  11851. _0_11 = (t3 == null ? type$.List_CssValue_Combinator._as(t3) : t3).length;
  11852. t3 = _0_11;
  11853. t3 = t3 > 1;
  11854. } else
  11855. t3 = false;
  11856. } else {
  11857. _0_11_isSet = false;
  11858. t3 = true;
  11859. }
  11860. if (t3)
  11861. break $label0$0;
  11862. t3 = _0_7;
  11863. t3 = t3 <= 0;
  11864. if (t3)
  11865. combinators = _0_4;
  11866. else
  11867. combinators = t1;
  11868. t1 = t3;
  11869. if (!t1) {
  11870. t1 = false;
  11871. t3 = _0_4;
  11872. if (t2._is(t3)) {
  11873. if (_0_11_isSet)
  11874. t1 = _0_11;
  11875. else {
  11876. t1 = _0_4;
  11877. _0_11 = (t1 == null ? type$.List_CssValue_Combinator._as(t1) : t1).length;
  11878. t1 = _0_11;
  11879. }
  11880. t1 = t1 <= 0;
  11881. }
  11882. combinators = combinators1;
  11883. } else
  11884. t1 = true;
  11885. if (t1) {
  11886. t1 = combinators;
  11887. break $label0$0;
  11888. }
  11889. t1 = B.C_ListEquality.equals$2(0, combinators1, combinators2) ? combinators1 : _null;
  11890. break $label0$0;
  11891. }
  11892. return t1;
  11893. },
  11894. _mergeTrailingCombinators(components1, components2, span, result) {
  11895. 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;
  11896. if (result == null)
  11897. result = A.QueueList$(_null, type$.List_List_ComplexSelectorComponent);
  11898. $label0$0: {
  11899. _0_1 = components1.get$length(0);
  11900. if (_0_1 >= 1) {
  11901. t1 = components1.$index(0, _0_1 - 1).combinators;
  11902. break $label0$0;
  11903. }
  11904. t1 = B.List_empty0;
  11905. break $label0$0;
  11906. }
  11907. $label1$1: {
  11908. _1_1 = components2.get$length(0);
  11909. if (_1_1 >= 1) {
  11910. t2 = components2.$index(0, _1_1 - 1).combinators;
  11911. break $label1$1;
  11912. }
  11913. t2 = B.List_empty0;
  11914. break $label1$1;
  11915. }
  11916. t3 = t1.length;
  11917. if (t3 === 0 && t2.length === 0)
  11918. return result;
  11919. if (t3 > 1 || t2.length > 1)
  11920. return _null;
  11921. $label2$2: {
  11922. t3 = A.IterableExtension_get_firstOrNull(t1);
  11923. t3 = t3 == null ? _null : t3.value;
  11924. t2 = A.IterableExtension_get_firstOrNull(t2);
  11925. t2 = [t3, t2 == null ? _null : t2.value, components1, components2];
  11926. _4_1 = t2[0];
  11927. _4_3 = B.Combinator_55N === _4_1;
  11928. _4_5_isSet = _4_3;
  11929. if (_4_5_isSet) {
  11930. _4_4 = t2[1];
  11931. _4_5 = B.Combinator_55N === _4_4;
  11932. t3 = _4_5;
  11933. } else {
  11934. _4_4 = _null;
  11935. _4_5 = _4_4;
  11936. t3 = false;
  11937. }
  11938. if (t3) {
  11939. component1 = components1.removeLast$0(0);
  11940. component2 = components2.removeLast$0(0);
  11941. t2 = component1.selector;
  11942. t3 = component2.selector;
  11943. if (A.compoundIsSuperselector(t2, t3, _null))
  11944. result.addFirst$1(A._setArrayType([A._setArrayType([component2], type$.JSArray_ComplexSelectorComponent)], type$.JSArray_List_ComplexSelectorComponent));
  11945. else {
  11946. t4 = type$.JSArray_ComplexSelectorComponent;
  11947. t5 = type$.JSArray_List_ComplexSelectorComponent;
  11948. if (A.compoundIsSuperselector(t3, t2, _null))
  11949. result.addFirst$1(A._setArrayType([A._setArrayType([component1], t4)], t5));
  11950. else {
  11951. choices = A._setArrayType([A._setArrayType([component1, component2], t4), A._setArrayType([component2, component1], t4)], t5);
  11952. _2_0 = A.unifyCompound(t2, t3);
  11953. if (_2_0 != null)
  11954. 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));
  11955. result.addFirst$1(choices);
  11956. }
  11957. }
  11958. break $label2$2;
  11959. }
  11960. _4_6 = _null;
  11961. _4_7 = _null;
  11962. followingComponents = _null;
  11963. nextComponents = _null;
  11964. if (_4_3) {
  11965. if (_4_5_isSet) {
  11966. t3 = _4_4;
  11967. _4_4_isSet = _4_5_isSet;
  11968. } else {
  11969. _4_4 = t2[1];
  11970. t3 = _4_4;
  11971. _4_4_isSet = true;
  11972. }
  11973. _4_9 = B.Combinator_bOP === t3;
  11974. _4_6_isSet = _4_9;
  11975. if (_4_6_isSet) {
  11976. _4_6 = t2[2];
  11977. _4_7 = t2[3];
  11978. nextComponents = _4_7;
  11979. followingComponents = _4_6;
  11980. }
  11981. t3 = _4_6_isSet;
  11982. _4_7_isSet = t3;
  11983. } else {
  11984. _4_9 = _null;
  11985. _4_4_isSet = _4_5_isSet;
  11986. _4_6_isSet = false;
  11987. _4_7_isSet = false;
  11988. t3 = false;
  11989. }
  11990. _4_10_isSet = !t3;
  11991. if (_4_10_isSet) {
  11992. _4_10 = B.Combinator_bOP === _4_1;
  11993. t3 = _4_10;
  11994. if (t3) {
  11995. if (_4_5_isSet)
  11996. t3 = _4_5;
  11997. else {
  11998. if (_4_4_isSet)
  11999. t3 = _4_4;
  12000. else {
  12001. _4_4 = t2[1];
  12002. t3 = _4_4;
  12003. _4_4_isSet = true;
  12004. }
  12005. _4_5 = B.Combinator_55N === t3;
  12006. t3 = _4_5;
  12007. _4_5_isSet = true;
  12008. }
  12009. if (t3) {
  12010. if (_4_6_isSet)
  12011. nextComponents = _4_6;
  12012. else {
  12013. _4_6 = t2[2];
  12014. nextComponents = _4_6;
  12015. _4_6_isSet = true;
  12016. }
  12017. if (_4_7_isSet)
  12018. followingComponents = _4_7;
  12019. else {
  12020. _4_7 = t2[3];
  12021. followingComponents = _4_7;
  12022. _4_7_isSet = true;
  12023. }
  12024. }
  12025. } else
  12026. t3 = false;
  12027. } else {
  12028. _4_10 = _null;
  12029. t3 = true;
  12030. }
  12031. if (t3) {
  12032. next = nextComponents.removeLast$0(0);
  12033. following = followingComponents.removeLast$0(0);
  12034. t1 = following.selector;
  12035. t2 = next.selector;
  12036. t3 = type$.JSArray_ComplexSelectorComponent;
  12037. t4 = type$.JSArray_List_ComplexSelectorComponent;
  12038. if (A.compoundIsSuperselector(t1, t2, _null))
  12039. result.addFirst$1(A._setArrayType([A._setArrayType([next], t3)], t4));
  12040. else {
  12041. t4 = A._setArrayType([A._setArrayType([following, next], t3)], t4);
  12042. _3_0 = A.unifyCompound(t1, t2);
  12043. if (_3_0 != null)
  12044. t4.push(A._setArrayType([new A.ComplexSelectorComponent(_3_0, A.List_List$unmodifiable(next.combinators, type$.CssValue_Combinator), span)], t3));
  12045. result.addFirst$1(t4);
  12046. }
  12047. break $label2$2;
  12048. }
  12049. t3 = _null;
  12050. if (B.Combinator_0mp === _4_1) {
  12051. _4_4_isSet0 = true;
  12052. if (_4_3)
  12053. t4 = _4_9;
  12054. else {
  12055. if (_4_4_isSet)
  12056. t4 = _4_4;
  12057. else {
  12058. _4_4 = t2[1];
  12059. t4 = _4_4;
  12060. _4_4_isSet = _4_4_isSet0;
  12061. }
  12062. _4_9 = B.Combinator_bOP === t4;
  12063. t4 = _4_9;
  12064. }
  12065. if (!t4)
  12066. if (_4_5_isSet)
  12067. t4 = _4_5;
  12068. else {
  12069. if (_4_4_isSet)
  12070. t4 = _4_4;
  12071. else {
  12072. _4_4 = t2[1];
  12073. t4 = _4_4;
  12074. _4_4_isSet = _4_4_isSet0;
  12075. }
  12076. _4_5 = B.Combinator_55N === t4;
  12077. t4 = _4_5;
  12078. }
  12079. else
  12080. t4 = true;
  12081. if (t4) {
  12082. if (_4_7_isSet)
  12083. siblingComponents_case_0 = _4_7;
  12084. else {
  12085. _4_7 = t2[3];
  12086. siblingComponents_case_0 = _4_7;
  12087. _4_7_isSet = true;
  12088. }
  12089. t3 = siblingComponents_case_0;
  12090. }
  12091. } else
  12092. t4 = false;
  12093. if (!t4) {
  12094. if (_4_10_isSet)
  12095. t4 = _4_10;
  12096. else {
  12097. _4_10 = B.Combinator_bOP === _4_1;
  12098. t4 = _4_10;
  12099. }
  12100. if (!t4)
  12101. t4 = _4_3;
  12102. else
  12103. t4 = true;
  12104. if (t4) {
  12105. if (_4_4_isSet)
  12106. t4 = _4_4;
  12107. else {
  12108. _4_4 = t2[1];
  12109. t4 = _4_4;
  12110. _4_4_isSet = true;
  12111. }
  12112. t4 = B.Combinator_0mp === t4;
  12113. if (t4) {
  12114. if (_4_6_isSet)
  12115. siblingComponents_case_1 = _4_6;
  12116. else {
  12117. _4_6 = t2[2];
  12118. siblingComponents_case_1 = _4_6;
  12119. _4_6_isSet = true;
  12120. }
  12121. t3 = siblingComponents_case_1;
  12122. }
  12123. } else
  12124. t4 = false;
  12125. } else
  12126. t4 = true;
  12127. if (t4) {
  12128. result.addFirst$1(A._setArrayType([A._setArrayType([t3.removeLast$0(0)], type$.JSArray_ComplexSelectorComponent)], type$.JSArray_List_ComplexSelectorComponent));
  12129. break $label2$2;
  12130. }
  12131. t3 = _4_1 == null;
  12132. t4 = !t3;
  12133. t5 = false;
  12134. if (t4) {
  12135. _4_4_isSet0 = true;
  12136. if (_4_4_isSet)
  12137. t6 = _4_4;
  12138. else {
  12139. _4_4 = t2[1];
  12140. t6 = _4_4;
  12141. _4_4_isSet = _4_4_isSet0;
  12142. }
  12143. if (t6 != null) {
  12144. if (_4_4_isSet)
  12145. combinator2 = _4_4;
  12146. else {
  12147. _4_4 = t2[1];
  12148. combinator2 = _4_4;
  12149. _4_4_isSet = _4_4_isSet0;
  12150. }
  12151. t5 = _4_1 === (combinator2 == null ? type$.Combinator._as(combinator2) : combinator2);
  12152. }
  12153. }
  12154. if (t5) {
  12155. unified = A.unifyCompound(components1.removeLast$0(0).selector, components2.removeLast$0(0).selector);
  12156. if (unified == null)
  12157. return _null;
  12158. 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));
  12159. break $label2$2;
  12160. }
  12161. t1 = _null;
  12162. t5 = _null;
  12163. t6 = _null;
  12164. t7 = false;
  12165. if (t4) {
  12166. if (_4_4_isSet)
  12167. t4 = _4_4;
  12168. else {
  12169. _4_4 = t2[1];
  12170. t4 = _4_4;
  12171. _4_4_isSet = true;
  12172. }
  12173. t4 = t4 == null;
  12174. if (t4) {
  12175. if (_4_6_isSet)
  12176. combinatorComponents_case_0 = _4_6;
  12177. else {
  12178. _4_6 = t2[2];
  12179. combinatorComponents_case_0 = _4_6;
  12180. _4_6_isSet = true;
  12181. }
  12182. if (_4_7_isSet)
  12183. descendantComponents_case_0 = _4_7;
  12184. else {
  12185. _4_7 = t2[3];
  12186. descendantComponents_case_0 = _4_7;
  12187. _4_7_isSet = true;
  12188. }
  12189. t1 = descendantComponents_case_0;
  12190. t6 = t1;
  12191. t1 = _4_1;
  12192. t5 = combinatorComponents_case_0;
  12193. }
  12194. t0 = t6;
  12195. t6 = t4;
  12196. t4 = t5;
  12197. t5 = t0;
  12198. } else {
  12199. t4 = t5;
  12200. t5 = t6;
  12201. t6 = t7;
  12202. }
  12203. if (!t6)
  12204. if (t3) {
  12205. if (_4_4_isSet)
  12206. t3 = _4_4;
  12207. else {
  12208. _4_4 = t2[1];
  12209. t3 = _4_4;
  12210. _4_4_isSet = true;
  12211. }
  12212. t3 = t3 != null;
  12213. if (t3) {
  12214. combinator_case_1 = _4_4_isSet ? _4_4 : t2[1];
  12215. if (combinator_case_1 == null)
  12216. combinator_case_1 = type$.Combinator._as(combinator_case_1);
  12217. descendantComponents_case_1 = _4_6_isSet ? _4_6 : t2[2];
  12218. combinatorComponents_case_1 = _4_7_isSet ? _4_7 : t2[3];
  12219. t1 = combinatorComponents_case_1;
  12220. t2 = descendantComponents_case_1;
  12221. t4 = t2;
  12222. t2 = t1;
  12223. t1 = combinator_case_1;
  12224. } else {
  12225. t2 = t4;
  12226. t4 = t5;
  12227. }
  12228. t0 = t4;
  12229. t4 = t3;
  12230. t3 = t0;
  12231. } else {
  12232. t3 = t5;
  12233. t2 = t4;
  12234. t4 = false;
  12235. }
  12236. else {
  12237. t3 = t5;
  12238. t2 = t4;
  12239. t4 = true;
  12240. }
  12241. if (t4) {
  12242. if (t1 === B.Combinator_0mp) {
  12243. t1 = A.IterableExtension_get_lastOrNull(t3);
  12244. t1 = t1 == null ? _null : A.compoundIsSuperselector(t1.selector, t2.get$last(t2).selector, _null);
  12245. t1 = t1 === true;
  12246. } else
  12247. t1 = false;
  12248. if (t1)
  12249. t3.removeLast$0(0);
  12250. result.addFirst$1(A._setArrayType([A._setArrayType([t2.removeLast$0(0)], type$.JSArray_ComplexSelectorComponent)], type$.JSArray_List_ComplexSelectorComponent));
  12251. break $label2$2;
  12252. }
  12253. return _null;
  12254. }
  12255. return A._mergeTrailingCombinators(components1, components2, span, result);
  12256. },
  12257. _mustUnify(complex1, complex2) {
  12258. var t2, t3, t4,
  12259. t1 = A.LinkedHashSet_LinkedHashSet$_empty(type$.SimpleSelector);
  12260. for (t2 = J.get$iterator$ax(complex1); t2.moveNext$0();)
  12261. 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();)
  12262. t1.add$1(0, t3.get$current(0));
  12263. if (t1._collection$_length === 0)
  12264. return false;
  12265. return J.any$1$ax(complex2, new A._mustUnify_closure(t1));
  12266. },
  12267. _isUnique(simple) {
  12268. var t1;
  12269. if (!(simple instanceof A.IDSelector))
  12270. t1 = simple instanceof A.PseudoSelector && !simple.isClass;
  12271. else
  12272. t1 = true;
  12273. return t1;
  12274. },
  12275. _chunks(queue1, queue2, done, $T) {
  12276. var chunk2, _0_4, _0_7_isSet, _0_1, _0_7, _0_5, chunk, _0_5_isSet, t2,
  12277. t1 = $T._eval$1("JSArray<0>"),
  12278. chunk1 = A._setArrayType([], t1);
  12279. for (; !done.call$1(queue1);)
  12280. chunk1.push(queue1.removeFirst$0());
  12281. chunk2 = A._setArrayType([], t1);
  12282. for (; !done.call$1(queue2);)
  12283. chunk2.push(queue2.removeFirst$0());
  12284. $label0$0: {
  12285. _0_4 = chunk1.length <= 0;
  12286. _0_7_isSet = _0_4;
  12287. _0_1 = chunk1;
  12288. if (_0_7_isSet) {
  12289. _0_7 = chunk2.length <= 0;
  12290. t1 = _0_7;
  12291. _0_5 = chunk2;
  12292. } else {
  12293. _0_7 = null;
  12294. _0_5 = null;
  12295. t1 = false;
  12296. }
  12297. if (t1) {
  12298. t1 = A._setArrayType([], $T._eval$1("JSArray<List<0>>"));
  12299. break $label0$0;
  12300. }
  12301. if (_0_4)
  12302. if (_0_7_isSet) {
  12303. chunk = _0_5;
  12304. _0_5_isSet = _0_7_isSet;
  12305. } else {
  12306. chunk = chunk2;
  12307. _0_5 = chunk;
  12308. _0_5_isSet = true;
  12309. }
  12310. else {
  12311. _0_5_isSet = _0_7_isSet;
  12312. chunk = null;
  12313. }
  12314. if (!_0_4) {
  12315. if (_0_7_isSet)
  12316. t1 = _0_7;
  12317. else {
  12318. _0_7 = (_0_5_isSet ? _0_5 : chunk2).length <= 0;
  12319. t1 = _0_7;
  12320. }
  12321. chunk = _0_1;
  12322. } else
  12323. t1 = true;
  12324. if (t1) {
  12325. t1 = A._setArrayType([chunk], $T._eval$1("JSArray<List<0>>"));
  12326. break $label0$0;
  12327. }
  12328. t1 = A.List_List$_of(chunk1, $T);
  12329. B.JSArray_methods.addAll$1(t1, chunk2);
  12330. t2 = A.List_List$_of(chunk2, $T);
  12331. B.JSArray_methods.addAll$1(t2, chunk1);
  12332. t1 = A._setArrayType([t1, t2], $T._eval$1("JSArray<List<0>>"));
  12333. break $label0$0;
  12334. }
  12335. return t1;
  12336. },
  12337. paths(choices, $T) {
  12338. 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));
  12339. },
  12340. _groupSelectors(complex) {
  12341. var t2, t3, t4,
  12342. groups = A.QueueList$(null, type$.List_ComplexSelectorComponent),
  12343. t1 = type$.JSArray_ComplexSelectorComponent,
  12344. group = A._setArrayType([], t1);
  12345. 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();) {
  12346. t4 = t3.__internal$_current;
  12347. if (t4 == null)
  12348. t4 = t2._as(t4);
  12349. group.push(t4);
  12350. if (t4.combinators.length === 0) {
  12351. groups._queue_list$_add$1(group);
  12352. group = A._setArrayType([], t1);
  12353. }
  12354. }
  12355. if (group.length !== 0)
  12356. groups._queue_list$_add$1(group);
  12357. return groups;
  12358. },
  12359. listIsSuperselector(list1, list2) {
  12360. return B.JSArray_methods.every$1(list2, new A.listIsSuperselector_closure(list1));
  12361. },
  12362. _complexIsParentSuperselector(complex1, complex2) {
  12363. var t1, base, t2;
  12364. if (J.get$length$asx(complex1) > J.get$length$asx(complex2))
  12365. return false;
  12366. t1 = $.$get$bogusSpan();
  12367. 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);
  12368. t1 = type$.ComplexSelectorComponent;
  12369. t2 = A.List_List$_of(complex1, t1);
  12370. t2.push(base);
  12371. t1 = A.List_List$_of(complex2, t1);
  12372. t1.push(base);
  12373. return A.complexIsSuperselector(t2, t1);
  12374. },
  12375. complexIsSuperselector(complex1, complex2) {
  12376. var t1, t2, previousCombinator, i1, i2, remaining1, remaining2, component1, t3, t4, endOfSubselector, component2, t5, combinator1, _null = null;
  12377. if (B.JSArray_methods.get$last(complex1).combinators.length !== 0)
  12378. return false;
  12379. if (B.JSArray_methods.get$last(complex2).combinators.length !== 0)
  12380. return false;
  12381. for (t1 = A._arrayInstanceType(complex2), t2 = t1._precomputed1, t1 = t1._eval$1("SubListIterable<1>"), previousCombinator = _null, i1 = 0, i2 = 0; true; previousCombinator = combinator1) {
  12382. remaining1 = complex1.length - i1;
  12383. remaining2 = complex2.length - i2;
  12384. if (remaining1 === 0 || remaining2 === 0)
  12385. return false;
  12386. if (remaining1 > remaining2)
  12387. return false;
  12388. component1 = complex1[i1];
  12389. t3 = component1.combinators;
  12390. if (t3.length > 1)
  12391. return false;
  12392. if (remaining1 === 1)
  12393. if (B.JSArray_methods.any$1(complex2, new A.complexIsSuperselector_closure()))
  12394. return false;
  12395. else {
  12396. t1 = component1.selector;
  12397. t2 = B.JSArray_methods.get$last(complex2).selector;
  12398. return A.compoundIsSuperselector(t1, t2, t1.get$hasComplicatedSuperselectorSemantics() ? B.JSArray_methods.sublist$2(complex2, i2, complex2.length - 1) : _null);
  12399. }
  12400. for (t4 = component1.selector, endOfSubselector = i2; true;) {
  12401. component2 = complex2[endOfSubselector];
  12402. if (component2.combinators.length > 1)
  12403. return false;
  12404. t5 = t4.get$hasComplicatedSuperselectorSemantics() ? B.JSArray_methods.sublist$2(complex2, i2, endOfSubselector) : _null;
  12405. if (A.compoundIsSuperselector(t4, component2.selector, t5))
  12406. break;
  12407. ++endOfSubselector;
  12408. if (endOfSubselector === complex2.length - 1)
  12409. return false;
  12410. }
  12411. t4 = new A.SubListIterable(complex2, 0, endOfSubselector, t1);
  12412. t4.SubListIterable$3(complex2, 0, endOfSubselector, t2);
  12413. if (!A._compatibleWithPreviousCombinator(previousCombinator, t4.skip$1(0, i2)))
  12414. return false;
  12415. component2 = complex2[endOfSubselector];
  12416. combinator1 = A.IterableExtension_get_firstOrNull(t3);
  12417. if (!A._isSupercombinator(combinator1, A.IterableExtension_get_firstOrNull(component2.combinators)))
  12418. return false;
  12419. ++i1;
  12420. i2 = endOfSubselector + 1;
  12421. if (complex1.length - i1 === 1) {
  12422. t3 = combinator1 == null;
  12423. if (J.$eq$(t3 ? _null : combinator1.value, B.Combinator_55N)) {
  12424. t3 = complex2.length - 1;
  12425. t4 = new A.SubListIterable(complex2, 0, t3, t1);
  12426. t4.SubListIterable$3(complex2, 0, t3, t2);
  12427. if (!t4.skip$1(0, i2).every$1(0, new A.complexIsSuperselector_closure0(combinator1)))
  12428. return false;
  12429. } else if (!t3)
  12430. if (complex2.length - i2 > 1)
  12431. return false;
  12432. }
  12433. }
  12434. },
  12435. _compatibleWithPreviousCombinator(previous, parents) {
  12436. if (parents.get$isEmpty(parents))
  12437. return true;
  12438. if (previous == null)
  12439. return true;
  12440. if (previous.value !== B.Combinator_55N)
  12441. return false;
  12442. return parents.every$1(0, new A._compatibleWithPreviousCombinator_closure());
  12443. },
  12444. _isSupercombinator(combinator1, combinator2) {
  12445. var t2, t3,
  12446. t1 = true;
  12447. if (!J.$eq$(combinator1, combinator2)) {
  12448. t2 = combinator1 == null;
  12449. if (t2)
  12450. t3 = J.$eq$(combinator2 == null ? null : combinator2.value, B.Combinator_0mp);
  12451. else
  12452. t3 = false;
  12453. if (!t3)
  12454. if (J.$eq$(t2 ? null : combinator1.value, B.Combinator_55N))
  12455. t1 = J.$eq$(combinator2 == null ? null : combinator2.value, B.Combinator_bOP);
  12456. else
  12457. t1 = false;
  12458. }
  12459. return t1;
  12460. },
  12461. compoundIsSuperselector(compound1, compound2, parents) {
  12462. var t1, _0_1, _0_5, _0_5_isSet, _0_50, index1, pseudo2, index2, t2, t3, pseudo1, t4, t5, _i, simple1, _null = null;
  12463. if (!compound1.get$hasComplicatedSuperselectorSemantics() && !compound2.get$hasComplicatedSuperselectorSemantics()) {
  12464. t1 = compound1.components;
  12465. if (t1.length > compound2.components.length)
  12466. return false;
  12467. return B.JSArray_methods.every$1(t1, new A.compoundIsSuperselector_closure(compound2));
  12468. }
  12469. _0_1 = A._findPseudoElementIndexed(compound1);
  12470. _0_5 = A._findPseudoElementIndexed(compound2);
  12471. t1 = type$.Record_2_nullable_Object_and_nullable_Object;
  12472. _0_5_isSet = t1._is(_0_1);
  12473. _0_50 = _null;
  12474. index1 = _null;
  12475. pseudo2 = _null;
  12476. index2 = _null;
  12477. t2 = false;
  12478. if (_0_5_isSet) {
  12479. t3 = _0_1 == null;
  12480. pseudo1 = (t3 ? t1._as(_0_1) : _0_1)._0;
  12481. index1 = (t3 ? t1._as(_0_1) : _0_1)._1;
  12482. t2 = t1._is(_0_5);
  12483. if (t2) {
  12484. t3 = _0_5 == null;
  12485. pseudo2 = (t3 ? t1._as(_0_5) : _0_5)._0;
  12486. index2 = (t3 ? t1._as(_0_5) : _0_5)._1;
  12487. }
  12488. t1 = t2;
  12489. _0_50 = _0_5;
  12490. } else {
  12491. t1 = t2;
  12492. pseudo1 = _null;
  12493. }
  12494. if (t1) {
  12495. if (pseudo1.isSuperselector$1(pseudo2)) {
  12496. t1 = compound1.components;
  12497. t2 = type$.int;
  12498. t3 = A._arrayInstanceType(t1)._precomputed1;
  12499. t4 = compound2.components;
  12500. t5 = A._arrayInstanceType(t4)._precomputed1;
  12501. 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);
  12502. } else
  12503. t1 = false;
  12504. return t1;
  12505. }
  12506. if (_0_1 == null)
  12507. t1 = (_0_5_isSet ? _0_50 : _0_5) != null;
  12508. else
  12509. t1 = true;
  12510. if (t1)
  12511. return false;
  12512. for (t1 = compound1.components, t2 = t1.length, t3 = compound2.components, _i = 0; _i < t2; ++_i) {
  12513. simple1 = t1[_i];
  12514. if (simple1 instanceof A.PseudoSelector)
  12515. t4 = simple1.selector != null;
  12516. else
  12517. t4 = false;
  12518. if (t4) {
  12519. if (!A._selectorPseudoIsSuperselector(simple1, compound2, parents))
  12520. return false;
  12521. } else if (!B.JSArray_methods.any$1(t3, simple1.get$isSuperselector()))
  12522. return false;
  12523. }
  12524. return true;
  12525. },
  12526. _findPseudoElementIndexed(compound) {
  12527. var t1, t2, i, simple;
  12528. for (t1 = compound.components, t2 = t1.length, i = 0; i < t2; ++i) {
  12529. simple = t1[i];
  12530. if (simple instanceof A.PseudoSelector && !simple.isClass)
  12531. return new A._Record_2(simple, i);
  12532. }
  12533. return null;
  12534. },
  12535. _compoundComponentsIsSuperselector(compound1, compound2, parents) {
  12536. var t1;
  12537. if (compound1.get$length(0) === 0)
  12538. return true;
  12539. if (compound2.get$length(0) === 0)
  12540. compound2 = A._setArrayType([new A.UniversalSelector("*", $.$get$bogusSpan())], type$.JSArray_SimpleSelector);
  12541. t1 = $.$get$bogusSpan();
  12542. return A.compoundIsSuperselector(A.CompoundSelector$(compound1, t1), A.CompoundSelector$(compound2, t1), parents);
  12543. },
  12544. _selectorPseudoIsSuperselector(pseudo1, compound2, parents) {
  12545. var selector1 = pseudo1.selector;
  12546. if (selector1 == null)
  12547. throw A.wrapException(A.ArgumentError$("Selector " + pseudo1.toString$0(0) + " must have a selector argument.", null));
  12548. switch (pseudo1.normalizedName) {
  12549. case "is":
  12550. case "matches":
  12551. case "any":
  12552. case "where":
  12553. 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));
  12554. case "has":
  12555. case "host":
  12556. case "host-context":
  12557. return A._selectorPseudoArgs(compound2, pseudo1.name, true).any$1(0, new A._selectorPseudoIsSuperselector_closure1(selector1));
  12558. case "slotted":
  12559. return A._selectorPseudoArgs(compound2, pseudo1.name, false).any$1(0, new A._selectorPseudoIsSuperselector_closure2(selector1));
  12560. case "not":
  12561. return B.JSArray_methods.every$1(selector1.components, new A._selectorPseudoIsSuperselector_closure3(compound2, pseudo1));
  12562. case "current":
  12563. return A._selectorPseudoArgs(compound2, pseudo1.name, true).any$1(0, new A._selectorPseudoIsSuperselector_closure4(selector1));
  12564. case "nth-child":
  12565. case "nth-last-child":
  12566. return B.JSArray_methods.any$1(compound2.components, new A._selectorPseudoIsSuperselector_closure5(pseudo1, selector1));
  12567. default:
  12568. throw A.wrapException("unreachable");
  12569. }
  12570. },
  12571. _selectorPseudoArgs(compound, $name, isClass) {
  12572. var t1 = type$.WhereTypeIterable_PseudoSelector;
  12573. 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);
  12574. },
  12575. unifyComplex_closure: function unifyComplex_closure() {
  12576. },
  12577. _weaveParents_closure: function _weaveParents_closure(t0) {
  12578. this.span = t0;
  12579. },
  12580. _weaveParents_closure0: function _weaveParents_closure0(t0) {
  12581. this.group = t0;
  12582. },
  12583. _weaveParents_closure1: function _weaveParents_closure1() {
  12584. },
  12585. _weaveParents_closure2: function _weaveParents_closure2() {
  12586. },
  12587. _mustUnify_closure: function _mustUnify_closure(t0) {
  12588. this.uniqueSelectors = t0;
  12589. },
  12590. _mustUnify__closure: function _mustUnify__closure(t0) {
  12591. this.uniqueSelectors = t0;
  12592. },
  12593. paths_closure: function paths_closure(t0) {
  12594. this.T = t0;
  12595. },
  12596. paths__closure: function paths__closure(t0, t1) {
  12597. this.paths = t0;
  12598. this.T = t1;
  12599. },
  12600. paths___closure: function paths___closure(t0, t1) {
  12601. this.option = t0;
  12602. this.T = t1;
  12603. },
  12604. listIsSuperselector_closure: function listIsSuperselector_closure(t0) {
  12605. this.list1 = t0;
  12606. },
  12607. listIsSuperselector__closure: function listIsSuperselector__closure(t0) {
  12608. this.complex1 = t0;
  12609. },
  12610. complexIsSuperselector_closure: function complexIsSuperselector_closure() {
  12611. },
  12612. complexIsSuperselector_closure0: function complexIsSuperselector_closure0(t0) {
  12613. this.combinator1 = t0;
  12614. },
  12615. _compatibleWithPreviousCombinator_closure: function _compatibleWithPreviousCombinator_closure() {
  12616. },
  12617. compoundIsSuperselector_closure: function compoundIsSuperselector_closure(t0) {
  12618. this.compound2 = t0;
  12619. },
  12620. _selectorPseudoIsSuperselector_closure: function _selectorPseudoIsSuperselector_closure(t0) {
  12621. this.selector1 = t0;
  12622. },
  12623. _selectorPseudoIsSuperselector_closure0: function _selectorPseudoIsSuperselector_closure0(t0, t1) {
  12624. this.parents = t0;
  12625. this.compound2 = t1;
  12626. },
  12627. _selectorPseudoIsSuperselector_closure1: function _selectorPseudoIsSuperselector_closure1(t0) {
  12628. this.selector1 = t0;
  12629. },
  12630. _selectorPseudoIsSuperselector_closure2: function _selectorPseudoIsSuperselector_closure2(t0) {
  12631. this.selector1 = t0;
  12632. },
  12633. _selectorPseudoIsSuperselector_closure3: function _selectorPseudoIsSuperselector_closure3(t0, t1) {
  12634. this.compound2 = t0;
  12635. this.pseudo1 = t1;
  12636. },
  12637. _selectorPseudoIsSuperselector__closure: function _selectorPseudoIsSuperselector__closure(t0, t1) {
  12638. this.complex = t0;
  12639. this.pseudo1 = t1;
  12640. },
  12641. _selectorPseudoIsSuperselector___closure: function _selectorPseudoIsSuperselector___closure(t0) {
  12642. this.simple2 = t0;
  12643. },
  12644. _selectorPseudoIsSuperselector___closure0: function _selectorPseudoIsSuperselector___closure0(t0) {
  12645. this.simple2 = t0;
  12646. },
  12647. _selectorPseudoIsSuperselector_closure4: function _selectorPseudoIsSuperselector_closure4(t0) {
  12648. this.selector1 = t0;
  12649. },
  12650. _selectorPseudoIsSuperselector_closure5: function _selectorPseudoIsSuperselector_closure5(t0, t1) {
  12651. this.pseudo1 = t0;
  12652. this.selector1 = t1;
  12653. },
  12654. _selectorPseudoArgs_closure: function _selectorPseudoArgs_closure(t0, t1) {
  12655. this.isClass = t0;
  12656. this.name = t1;
  12657. },
  12658. _selectorPseudoArgs_closure0: function _selectorPseudoArgs_closure0() {
  12659. },
  12660. MergedExtension_merge(left, right) {
  12661. var t2, t3, t4,
  12662. t1 = left.extender.selector;
  12663. if (!t1.$eq(0, right.extender.selector) || !left.target.$eq(0, right.target))
  12664. throw A.wrapException(A.ArgumentError$(left.toString$0(0) + " and " + right.toString$0(0) + " aren't the same extension.", null));
  12665. t2 = left.mediaContext;
  12666. t3 = t2 == null;
  12667. if (!t3) {
  12668. t4 = right.mediaContext;
  12669. t4 = t4 != null && !B.C_ListEquality.equals$2(0, t2, t4);
  12670. } else
  12671. t4 = false;
  12672. if (t4)
  12673. throw A.wrapException(A.SassException$("From " + left.span.message$1(0, "") + string$.x0aYou_m, right.span, null));
  12674. if (right.isOptional && right.mediaContext == null)
  12675. return left;
  12676. if (left.isOptional && t3)
  12677. return right;
  12678. if (t3)
  12679. t2 = right.mediaContext;
  12680. t1.get$specificity();
  12681. t1 = new A.Extender(t1, false);
  12682. return t1._extension = new A.MergedExtension(left, right, t1, left.target, t2, true, left.span);
  12683. },
  12684. MergedExtension: function MergedExtension(t0, t1, t2, t3, t4, t5, t6) {
  12685. var _ = this;
  12686. _.left = t0;
  12687. _.right = t1;
  12688. _.extender = t2;
  12689. _.target = t3;
  12690. _.mediaContext = t4;
  12691. _.isOptional = t5;
  12692. _.span = t6;
  12693. },
  12694. ExtendMode: function ExtendMode(t0, t1) {
  12695. this.name = t0;
  12696. this._name = t1;
  12697. },
  12698. globalFunctions_closure: function globalFunctions_closure() {
  12699. },
  12700. _invert($arguments, global) {
  12701. var t2, color, rgb, channel2, space, weight, inSpace, t3, _1_9, channel0, channel1, t4, _s6_ = "weight", _s5_ = "space",
  12702. t1 = J.getInterceptor$asx($arguments),
  12703. weightNumber = t1.$index($arguments, 1).assertNumber$1(_s6_);
  12704. if (!(t1.$index($arguments, 0) instanceof A.SassNumber))
  12705. t2 = global && t1.$index($arguments, 0).get$isSpecialNumber();
  12706. else
  12707. t2 = true;
  12708. if (t2) {
  12709. if (weightNumber._number$_value !== 100 || !weightNumber.hasUnit$1("%"))
  12710. throw A.wrapException(string$.Only_oa);
  12711. return A._functionString("invert", t1.take$1($arguments, 1));
  12712. }
  12713. color = t1.$index($arguments, 0).assertColor$1("color");
  12714. if (t1.$index($arguments, 2).$eq(0, B.C__SassNull)) {
  12715. t1 = color._space;
  12716. if (!t1.get$isLegacyInternal())
  12717. throw A.wrapException(A.SassScriptException$(string$.To_usei + color.toString$0(0) + ", you must provide a $space.", "color"));
  12718. A._checkPercent(weightNumber, _s6_);
  12719. rgb = color.toSpace$1(B.RgbColorSpace_i0P);
  12720. channel2 = B.LinearChannel_vJ3;
  12721. 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);
  12722. }
  12723. t1 = t1.$index($arguments, 2).assertString$1(_s5_);
  12724. t1.assertUnquoted$1(_s5_);
  12725. space = A.ColorSpace_fromName(t1._string$_text, _s5_);
  12726. weight = weightNumber.valueInRangeWithUnit$4(0, 100, _s6_, "%") / 100;
  12727. if (A.fuzzyEquals(weight, 0))
  12728. return color;
  12729. inSpace = color.toSpace$1(space);
  12730. $label0$0: {
  12731. if (B.HwbColorSpace_guQ === space) {
  12732. t1 = A._invertChannel(inSpace, space._channels[0], inSpace.channel0OrNull);
  12733. t2 = inSpace.alphaOrNull;
  12734. if (t2 == null)
  12735. t2 = 0;
  12736. t2 = A.SassColor_SassColor$hwb(t1, inSpace.channel2OrNull, inSpace.channel1OrNull, t2);
  12737. t1 = t2;
  12738. break $label0$0;
  12739. }
  12740. if (B.HslColorSpace_JQ2 === space || B.LchColorSpace_Bpv === space || B.OklchColorSpace_9Gj === space) {
  12741. t1 = space._channels;
  12742. t2 = A._invertChannel(inSpace, t1[0], inSpace.channel0OrNull);
  12743. t1 = A._invertChannel(inSpace, t1[2], inSpace.channel2OrNull);
  12744. t3 = inSpace.alphaOrNull;
  12745. if (t3 == null)
  12746. t3 = 0;
  12747. t3 = A.SassColor_SassColor$forSpaceInternal(space, t2, inSpace.channel1OrNull, t1, t3);
  12748. t1 = t3;
  12749. break $label0$0;
  12750. }
  12751. _1_9 = space._channels;
  12752. channel0 = _1_9[0];
  12753. channel1 = _1_9[1];
  12754. channel2 = _1_9[2];
  12755. t1 = A._invertChannel(inSpace, channel0, inSpace.channel0OrNull);
  12756. t2 = A._invertChannel(inSpace, channel1, inSpace.channel1OrNull);
  12757. t3 = A._invertChannel(inSpace, channel2, inSpace.channel2OrNull);
  12758. t4 = inSpace.alphaOrNull;
  12759. t1 = A.SassColor_SassColor$forSpaceInternal(space, t1, t2, t3, t4 == null ? 0 : t4);
  12760. break $label0$0;
  12761. }
  12762. 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);
  12763. },
  12764. _invertChannel(color, channel, value) {
  12765. var _0_2_isSet, _0_2, t1;
  12766. if (value == null)
  12767. A._missingChannelError(color, channel.name);
  12768. $label0$0: {
  12769. _0_2_isSet = channel instanceof A.LinearChannel;
  12770. if (_0_2_isSet) {
  12771. _0_2 = channel.min;
  12772. t1 = _0_2;
  12773. t1 = t1 < 0;
  12774. } else {
  12775. _0_2 = null;
  12776. t1 = false;
  12777. }
  12778. if (t1) {
  12779. t1 = -value;
  12780. break $label0$0;
  12781. }
  12782. if (_0_2_isSet)
  12783. t1 = 0 === _0_2;
  12784. else
  12785. t1 = false;
  12786. if (t1) {
  12787. t1 = channel.max - value;
  12788. break $label0$0;
  12789. }
  12790. if (channel.isPolarAngle) {
  12791. t1 = B.JSNumber_methods.$mod(value + 180, 360);
  12792. break $label0$0;
  12793. }
  12794. t1 = A.throwExpression(A.UnsupportedError$("Unknown channel " + channel.toString$0(0) + "."));
  12795. }
  12796. return t1;
  12797. },
  12798. _grayscale(colorArg) {
  12799. var hsl, t2, oklch,
  12800. color = colorArg.assertColor$1("color"),
  12801. t1 = color._space;
  12802. if (t1.get$isLegacyInternal()) {
  12803. hsl = color.toSpace$1(B.HslColorSpace_JQ2);
  12804. t2 = hsl.alphaOrNull;
  12805. if (t2 == null)
  12806. t2 = 0;
  12807. return A.SassColor_SassColor$hsl(hsl.channel0OrNull, 0, hsl.channel2OrNull, t2).toSpace$2$legacyMissing(t1, false);
  12808. } else {
  12809. oklch = color.toSpace$1(B.OklchColorSpace_9Gj);
  12810. t2 = oklch.alphaOrNull;
  12811. if (t2 == null)
  12812. t2 = 0;
  12813. return A.SassColor_SassColor$forSpaceInternal(B.OklchColorSpace_9Gj, oklch.channel0OrNull, 0, oklch.channel2OrNull, t2).toSpace$1(t1);
  12814. }
  12815. },
  12816. _updateComponents($arguments, adjust, change, scale) {
  12817. var t2, t3, keywords, originalColor, spaceKeyword, alphaArg, color, channelArgs, channelInfo, t4, value, channelIndex, result, i, alphaNumber, _null = null, _s5_ = "space",
  12818. t1 = J.getInterceptor$asx($arguments),
  12819. argumentList = type$.SassArgumentList._as(t1.$index($arguments, 1));
  12820. if (argumentList._list$_contents.length !== 0)
  12821. throw A.wrapException(A.SassScriptException$(string$.Only_op, _null));
  12822. argumentList._wereKeywordsAccessed = true;
  12823. t2 = type$.String;
  12824. t3 = type$.Value;
  12825. keywords = A.LinkedHashMap_LinkedHashMap$of(argumentList._keywords, t2, t3);
  12826. originalColor = t1.$index($arguments, 0).assertColor$1("color");
  12827. t1 = keywords.remove$1(0, _s5_);
  12828. spaceKeyword = t1 == null ? _null : t1.assertString$1(_s5_);
  12829. if (spaceKeyword == null)
  12830. spaceKeyword = _null;
  12831. else
  12832. spaceKeyword.assertUnquoted$1(_s5_);
  12833. alphaArg = keywords.remove$1(0, "alpha");
  12834. t1 = spaceKeyword == null;
  12835. if (t1 && originalColor._space.get$isLegacyInternal() && keywords.__js_helper$_length !== 0) {
  12836. t1 = A.NullableExtension_andThen(A._sniffLegacyColorSpace(keywords), new A._updateComponents_closure(originalColor));
  12837. color = t1 == null ? originalColor : t1;
  12838. } else
  12839. color = A._colorInSpace(originalColor, t1 ? B.C__SassNull : spaceKeyword, true);
  12840. channelArgs = A.List_List$filled(color.get$channels().length, _null, false, type$.nullable_Value);
  12841. t1 = color._space;
  12842. channelInfo = t1._channels;
  12843. for (t2 = A.MapExtensions_get_pairs(keywords, t2, t3), t2 = t2.get$iterator(t2); t2.moveNext$0();) {
  12844. t3 = {};
  12845. t4 = t2.get$current(t2);
  12846. t3.name = null;
  12847. t3.name = t4._0;
  12848. value = t4._1;
  12849. channelIndex = B.JSArray_methods.indexWhere$1(channelInfo, new A._updateComponents_closure0(t3));
  12850. if (channelIndex === -1)
  12851. throw A.wrapException(A.SassScriptException$("Color space " + t1.toString$0(0) + " doesn't have a channel with this name.", t3.name));
  12852. channelArgs[channelIndex] = value;
  12853. }
  12854. if (change)
  12855. result = A._changeColor(color, channelArgs, alphaArg);
  12856. else {
  12857. t2 = A._setArrayType([], type$.JSArray_nullable_SassNumber);
  12858. for (i = 0; i < 3; ++i) {
  12859. t3 = channelArgs[i];
  12860. t2.push(t3 == null ? _null : t3.assertNumber$1(channelInfo[i].name));
  12861. }
  12862. alphaNumber = alphaArg == null ? _null : alphaArg.assertNumber$1("alpha");
  12863. 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);
  12864. }
  12865. return result.toSpace$2$legacyMissing(originalColor._space, false);
  12866. },
  12867. _changeColor(color, channelArgs, alphaArg) {
  12868. var t4, _s5_ = "alpha",
  12869. t1 = A._channelForChange(channelArgs[0], color, 0),
  12870. t2 = A._channelForChange(channelArgs[1], color, 1),
  12871. t3 = A._channelForChange(channelArgs[2], color, 2);
  12872. $label0$0: {
  12873. if (alphaArg == null) {
  12874. t4 = color.alphaOrNull;
  12875. if (t4 == null)
  12876. t4 = 0;
  12877. break $label0$0;
  12878. }
  12879. t4 = A._isNone(alphaArg);
  12880. if (t4) {
  12881. t4 = null;
  12882. break $label0$0;
  12883. }
  12884. t4 = alphaArg instanceof A.SassNumber;
  12885. if (t4 && !alphaArg.get$hasUnits()) {
  12886. t4 = alphaArg.valueInRange$3(0, 1, _s5_);
  12887. break $label0$0;
  12888. }
  12889. if (t4 && alphaArg.hasUnit$1("%")) {
  12890. t4 = alphaArg.valueInRangeWithUnit$4(0, 100, _s5_, "%") / 100;
  12891. break $label0$0;
  12892. }
  12893. if (t4) {
  12894. t4 = new A._changeColor_closure(alphaArg).call$0();
  12895. break $label0$0;
  12896. }
  12897. t4 = A.throwExpression(A.SassScriptException$(alphaArg.toString$0(0) + ' is not a number or unquoted "none".', _s5_));
  12898. }
  12899. return A._colorFromChannels(color._space, t1, t2, t3, t4, false, false);
  12900. },
  12901. _channelForChange(channelArg, color, channel) {
  12902. var _0_0, t1, t2;
  12903. if (channelArg == null) {
  12904. _0_0 = color.get$channelsOrNull()[channel];
  12905. $label0$0: {
  12906. if (_0_0 != null) {
  12907. t1 = color._space;
  12908. t2 = A.SassNumber_SassNumber(_0_0, (t1 === B.HslColorSpace_JQ2 || t1 === B.HwbColorSpace_guQ) && channel > 0 ? "%" : null);
  12909. t1 = t2;
  12910. break $label0$0;
  12911. }
  12912. t1 = null;
  12913. break $label0$0;
  12914. }
  12915. return t1;
  12916. }
  12917. if (A._isNone(channelArg))
  12918. return null;
  12919. if (channelArg instanceof A.SassNumber)
  12920. return channelArg;
  12921. throw A.wrapException(A.SassScriptException$(channelArg.toString$0(0) + ' is not a number or unquoted "none".', color._space._channels[channel].name));
  12922. },
  12923. _scaleChannel(color, channel, oldValue, factorArg) {
  12924. var t1, factor;
  12925. if (factorArg == null)
  12926. return oldValue;
  12927. if (!(channel instanceof A.LinearChannel))
  12928. throw A.wrapException(A.SassScriptException$("Channel isn't scalable.", channel.name));
  12929. if (oldValue == null)
  12930. A._missingChannelError(color, channel.name);
  12931. t1 = channel.name;
  12932. factorArg.assertUnit$2("%", t1);
  12933. factor = factorArg.valueInRangeWithUnit$4(-100, 100, t1, "%") / 100;
  12934. $label0$0: {
  12935. if (0 === factor) {
  12936. t1 = oldValue;
  12937. break $label0$0;
  12938. }
  12939. if (factor > 0) {
  12940. t1 = channel.max;
  12941. t1 = oldValue >= t1 ? oldValue : oldValue + (t1 - oldValue) * factor;
  12942. break $label0$0;
  12943. }
  12944. t1 = channel.min;
  12945. t1 = oldValue <= t1 ? oldValue : oldValue + (oldValue - t1) * factor;
  12946. break $label0$0;
  12947. }
  12948. return t1;
  12949. },
  12950. _adjustColor(color, channelArgs, alphaArg) {
  12951. var t1 = color._space,
  12952. t2 = t1._channels;
  12953. 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()));
  12954. },
  12955. _adjustChannel(color, channel, oldValue, adjustmentArg) {
  12956. var _0_1, _0_3, t1, _0_6_isSet, _0_6, _0_6_isSet0, t2, _0_11, result, min, max, _null = null;
  12957. if (adjustmentArg == null)
  12958. return oldValue;
  12959. if (oldValue == null)
  12960. A._missingChannelError(color, channel.name);
  12961. $label0$0: {
  12962. _0_1 = color._space;
  12963. _0_3 = B.HslColorSpace_JQ2 === _0_1;
  12964. t1 = _0_3;
  12965. if (!t1)
  12966. _0_6_isSet = B.HwbColorSpace_guQ === _0_1;
  12967. else
  12968. _0_6_isSet = true;
  12969. if (_0_6_isSet) {
  12970. t1 = channel.isPolarAngle;
  12971. _0_6 = channel;
  12972. } else {
  12973. _0_6 = _null;
  12974. t1 = false;
  12975. }
  12976. if (t1) {
  12977. adjustmentArg = A.SassNumber_SassNumber(A._angleValue(adjustmentArg, "hue"), _null);
  12978. break $label0$0;
  12979. }
  12980. t1 = false;
  12981. if (_0_3) {
  12982. _0_6_isSet0 = true;
  12983. if (_0_6_isSet)
  12984. t2 = _0_6;
  12985. else {
  12986. t2 = channel;
  12987. _0_6_isSet = _0_6_isSet0;
  12988. _0_6 = t2;
  12989. }
  12990. if (t2 instanceof A.LinearChannel) {
  12991. if (_0_6_isSet)
  12992. t1 = _0_6;
  12993. else {
  12994. t1 = channel;
  12995. _0_6_isSet = _0_6_isSet0;
  12996. _0_6 = t1;
  12997. }
  12998. _0_11 = type$.LinearChannel._as(t1).name;
  12999. t1 = _0_11;
  13000. if ("saturation" !== t1)
  13001. t1 = "lightness" === _0_11;
  13002. else
  13003. t1 = true;
  13004. }
  13005. }
  13006. if (t1) {
  13007. A._checkPercent(adjustmentArg, channel.name);
  13008. adjustmentArg = A.SassNumber_SassNumber(adjustmentArg._number$_value, "%");
  13009. break $label0$0;
  13010. }
  13011. if (B.LinearChannel_XL8 === (_0_6_isSet ? _0_6 : channel) && adjustmentArg.get$hasUnits()) {
  13012. A.warnForDeprecation("$alpha: Passing a number with unit " + adjustmentArg.get$unitString() + string$.x20is_de + adjustmentArg.unitSuggestion$1("alpha") + string$.x0a_Morex3af, B.Deprecation_jG1);
  13013. adjustmentArg = A.SassNumber_SassNumber(adjustmentArg._number$_value, _null);
  13014. }
  13015. }
  13016. t1 = A._channelFromValue(channel, adjustmentArg, false);
  13017. t1.toString;
  13018. result = oldValue + t1;
  13019. $label1$1: {
  13020. t1 = channel instanceof A.LinearChannel;
  13021. min = _null;
  13022. t2 = false;
  13023. if (t1)
  13024. if (channel.lowerClamped) {
  13025. min = channel.min;
  13026. t2 = result < min;
  13027. }
  13028. if (t2) {
  13029. t1 = oldValue < min ? Math.max(oldValue, result) : min;
  13030. break $label1$1;
  13031. }
  13032. max = _null;
  13033. t2 = false;
  13034. if (t1)
  13035. if (channel.upperClamped) {
  13036. max = channel.max;
  13037. t1 = result > max;
  13038. } else
  13039. t1 = t2;
  13040. else
  13041. t1 = t2;
  13042. if (t1) {
  13043. t1 = oldValue > max ? Math.min(oldValue, result) : max;
  13044. break $label1$1;
  13045. }
  13046. t1 = result;
  13047. break $label1$1;
  13048. }
  13049. return t1;
  13050. },
  13051. _sniffLegacyColorSpace(keywords) {
  13052. var t1, t2;
  13053. for (t1 = new A.LinkedHashMapKeyIterator(keywords, keywords._modifications, keywords._first); t1.moveNext$0();) {
  13054. t2 = t1.__js_helper$_current;
  13055. if ("red" === t2 || "green" === t2 || "blue" === t2)
  13056. return B.RgbColorSpace_i0P;
  13057. if ("saturation" === t2 || "lightness" === t2)
  13058. return B.HslColorSpace_JQ2;
  13059. if ("whiteness" === t2 || "blackness" === t2)
  13060. return B.HwbColorSpace_guQ;
  13061. }
  13062. return keywords.containsKey$1("hue") ? B.HslColorSpace_JQ2 : null;
  13063. },
  13064. _functionString($name, $arguments) {
  13065. return new A.SassString($name + "(" + J.map$1$1$ax($arguments, new A._functionString_closure(), type$.String).join$1(0, ", ") + ")", false);
  13066. },
  13067. _removedColorFunction($name, argument, negative) {
  13068. return A.BuiltInCallable$function($name, "$color, $amount", new A._removedColorFunction_closure($name, argument, negative), "sass:color");
  13069. },
  13070. _rgb($name, $arguments) {
  13071. var t3, t4,
  13072. t1 = J.getInterceptor$asx($arguments),
  13073. alpha = t1.get$length($arguments) > 3 ? t1.$index($arguments, 3) : null,
  13074. t2 = true;
  13075. if (!t1.$index($arguments, 0).get$isSpecialNumber())
  13076. if (!t1.$index($arguments, 1).get$isSpecialNumber())
  13077. if (!t1.$index($arguments, 2).get$isSpecialNumber()) {
  13078. t2 = alpha == null ? null : alpha.get$isSpecialNumber();
  13079. t2 = t2 === true;
  13080. }
  13081. if (t2)
  13082. return A._functionString($name, $arguments);
  13083. t2 = t1.$index($arguments, 0).assertNumber$1("red");
  13084. t3 = t1.$index($arguments, 1).assertNumber$1("green");
  13085. t1 = t1.$index($arguments, 2).assertNumber$1("blue");
  13086. t4 = A.NullableExtension_andThen(alpha, new A._rgb_closure());
  13087. return A._colorFromChannels(B.RgbColorSpace_i0P, t2, t3, t1, t4 == null ? 1 : t4, true, true);
  13088. },
  13089. _rgbTwoArg($name, $arguments) {
  13090. var t2, color,
  13091. t1 = J.getInterceptor$asx($arguments),
  13092. first = t1.$index($arguments, 0),
  13093. second = t1.$index($arguments, 1);
  13094. if (!first.get$isVar())
  13095. t2 = !(first instanceof A.SassColor) && second.get$isVar();
  13096. else
  13097. t2 = true;
  13098. if (t2)
  13099. return A._functionString($name, $arguments);
  13100. color = first.assertColor$1("color");
  13101. if (!color._space.get$isLegacyInternal())
  13102. throw A.wrapException(A.SassScriptException$("Expected " + color.toString$0(0) + string$.x20to_be_ + color.toString$0(0) + ", $alpha: " + second.toString$0(0) + ")", $name));
  13103. color.assertLegacy$1("color");
  13104. color = color.toSpace$1(B.RgbColorSpace_i0P);
  13105. if (second.get$isSpecialNumber())
  13106. 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));
  13107. t1 = A._percentageOrUnitless(t1.$index($arguments, 1).assertNumber$1("alpha"), 1, "alpha");
  13108. return color.changeAlpha$1(isNaN(t1) ? 0 : B.JSNumber_methods.clamp$2(t1, 0, 1));
  13109. },
  13110. _hsl($name, $arguments) {
  13111. var t3, t4,
  13112. t1 = J.getInterceptor$asx($arguments),
  13113. alpha = t1.get$length($arguments) > 3 ? t1.$index($arguments, 3) : null,
  13114. t2 = true;
  13115. if (!t1.$index($arguments, 0).get$isSpecialNumber())
  13116. if (!t1.$index($arguments, 1).get$isSpecialNumber())
  13117. if (!t1.$index($arguments, 2).get$isSpecialNumber()) {
  13118. t2 = alpha == null ? null : alpha.get$isSpecialNumber();
  13119. t2 = t2 === true;
  13120. }
  13121. if (t2)
  13122. return A._functionString($name, $arguments);
  13123. t2 = t1.$index($arguments, 0).assertNumber$1("hue");
  13124. t3 = t1.$index($arguments, 1).assertNumber$1("saturation");
  13125. t1 = t1.$index($arguments, 2).assertNumber$1("lightness");
  13126. t4 = A.NullableExtension_andThen(alpha, new A._hsl_closure());
  13127. return A._colorFromChannels(B.HslColorSpace_JQ2, t2, t3, t1, t4 == null ? 1 : t4, true, false);
  13128. },
  13129. _angleValue(angleValue, $name) {
  13130. var angle = angleValue.assertNumber$1($name);
  13131. if (angle.compatibleWithUnit$1("deg"))
  13132. return angle.coerceValueToUnit$1("deg");
  13133. 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);
  13134. return angle._number$_value;
  13135. },
  13136. _checkPercent(number, $name) {
  13137. if (number.hasUnit$1("%"))
  13138. return;
  13139. 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);
  13140. },
  13141. _percentageOrUnitless(number, max, $name) {
  13142. var value;
  13143. if (!number.get$hasUnits())
  13144. value = number._number$_value;
  13145. else if (number.hasUnit$1("%"))
  13146. value = max * number._number$_value / 100;
  13147. else
  13148. throw A.wrapException(A.SassScriptException$("Expected " + number.toString$0(0) + ' to have unit "%" or no units.', $name));
  13149. return value;
  13150. },
  13151. _mixLegacy(color1, color2, weight) {
  13152. var t2, alphaDistance, weight1, weight2, t3, t4, t5, t6, t7, t8,
  13153. rgb1 = color1.toSpace$1(B.RgbColorSpace_i0P),
  13154. rgb2 = color2.toSpace$1(B.RgbColorSpace_i0P),
  13155. weightScale = weight.valueInRange$3(0, 100, "weight") / 100,
  13156. normalizedWeight = weightScale * 2 - 1,
  13157. t1 = color1.alphaOrNull;
  13158. if (t1 == null)
  13159. t1 = 0;
  13160. t2 = color2.alphaOrNull;
  13161. alphaDistance = t1 - (t2 == null ? 0 : t2);
  13162. t1 = normalizedWeight * alphaDistance;
  13163. weight1 = ((t1 === -1 ? normalizedWeight : (normalizedWeight + alphaDistance) / (1 + t1)) + 1) / 2;
  13164. weight2 = 1 - weight1;
  13165. t1 = rgb1.channel0OrNull;
  13166. if (t1 == null)
  13167. t1 = 0;
  13168. t2 = rgb2.channel0OrNull;
  13169. if (t2 == null)
  13170. t2 = 0;
  13171. t3 = rgb1.channel1OrNull;
  13172. if (t3 == null)
  13173. t3 = 0;
  13174. t4 = rgb2.channel1OrNull;
  13175. if (t4 == null)
  13176. t4 = 0;
  13177. t5 = rgb1.channel2OrNull;
  13178. if (t5 == null)
  13179. t5 = 0;
  13180. t6 = rgb2.channel2OrNull;
  13181. if (t6 == null)
  13182. t6 = 0;
  13183. t7 = rgb1.alphaOrNull;
  13184. if (t7 == null)
  13185. t7 = 0;
  13186. t8 = rgb2.alphaOrNull;
  13187. if (t8 == null)
  13188. t8 = 0;
  13189. return A.SassColor_SassColor$rgbInternal(t1 * weight1 + t2 * weight2, t3 * weight1 + t4 * weight2, t5 * weight1 + t6 * weight2, t7 * weightScale + t8 * (1 - weightScale), null);
  13190. },
  13191. _opacify($name, $arguments) {
  13192. var result,
  13193. t1 = J.getInterceptor$asx($arguments),
  13194. color = t1.$index($arguments, 0).assertColor$1("color"),
  13195. amount = t1.$index($arguments, 1).assertNumber$1("amount");
  13196. if (!color._space.get$isLegacyInternal())
  13197. throw A.wrapException(A.SassScriptException$($name + string$.x28__is_oa, null));
  13198. t1 = color.alphaOrNull;
  13199. if (t1 == null)
  13200. t1 = 0;
  13201. t1 += amount.valueInRangeWithUnit$4(0, 1, "amount", "");
  13202. result = color.changeAlpha$1(isNaN(t1) ? 0 : B.JSNumber_methods.clamp$2(t1, 0, 1));
  13203. A.warnForDeprecation($name + "() is deprecated. " + A._suggestScaleAndAdjust(color, amount._number$_value, "alpha") + string$.x0a_Morex3ac, B.Deprecation_cyE);
  13204. return result;
  13205. },
  13206. _transparentize($name, $arguments) {
  13207. var result,
  13208. t1 = J.getInterceptor$asx($arguments),
  13209. color = t1.$index($arguments, 0).assertColor$1("color"),
  13210. amount = t1.$index($arguments, 1).assertNumber$1("amount");
  13211. if (!color._space.get$isLegacyInternal())
  13212. throw A.wrapException(A.SassScriptException$($name + string$.x28__is_oa, null));
  13213. t1 = color.alphaOrNull;
  13214. if (t1 == null)
  13215. t1 = 0;
  13216. t1 -= amount.valueInRangeWithUnit$4(0, 1, "amount", "");
  13217. result = color.changeAlpha$1(isNaN(t1) ? 0 : B.JSNumber_methods.clamp$2(t1, 0, 1));
  13218. A.warnForDeprecation($name + "() is deprecated. " + A._suggestScaleAndAdjust(color, -amount._number$_value, "alpha") + string$.x0a_Morex3ac, B.Deprecation_cyE);
  13219. return result;
  13220. },
  13221. _colorInSpace(colorUntyped, spaceUntyped, legacyMissing) {
  13222. var t1, _s5_ = "space",
  13223. color = colorUntyped.assertColor$1("color");
  13224. if (spaceUntyped.$eq(0, B.C__SassNull))
  13225. return color;
  13226. t1 = spaceUntyped.assertString$1(_s5_);
  13227. t1.assertUnquoted$1(_s5_);
  13228. return color.toSpace$2$legacyMissing(A.ColorSpace_fromName(t1._string$_text, _s5_), legacyMissing);
  13229. },
  13230. _parseChannels(functionName, input, $name, space) {
  13231. 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;
  13232. if (input.get$isVar())
  13233. return A._functionString(functionName, A._setArrayType([input], type$.JSArray_Value));
  13234. parsedSlash = A._parseSlashChannels(input, $name);
  13235. if (parsedSlash == null)
  13236. return A._functionString(functionName, A._setArrayType([input], type$.JSArray_Value));
  13237. components = parsedSlash._0;
  13238. alphaValue = parsedSlash._1;
  13239. $label0$0: {
  13240. _2_0 = components.assertCommonListStyle$2$allowSlash($name, false);
  13241. _2_1 = _2_0.length;
  13242. if (_2_1 <= 0)
  13243. throw A.wrapException(A.SassScriptException$("Color component list may not be empty.", $name));
  13244. _2_5 = _2_1 >= 1;
  13245. _2_6_isSet = _2_5;
  13246. t1 = false;
  13247. if (_2_6_isSet) {
  13248. _2_6 = _2_0[0];
  13249. if (_2_6 instanceof A.SassString) {
  13250. type$.SassString._as(_2_6);
  13251. t1 = !_2_6._hasQuotes && _2_6._string$_text.toLowerCase() === "from";
  13252. }
  13253. } else
  13254. _2_6 = _null;
  13255. if (t1)
  13256. return A._functionString(functionName, A._setArrayType([input], type$.JSArray_Value));
  13257. t1 = components.get$isVar();
  13258. if (t1) {
  13259. channels = A._setArrayType([components], type$.JSArray_Value);
  13260. break $label0$0;
  13261. }
  13262. channels = _null;
  13263. if (_2_5) {
  13264. first = _2_6_isSet ? _2_6 : _2_0[0];
  13265. rest = B.JSArray_methods.sublist$1(_2_0, 1);
  13266. componentList = _2_0;
  13267. } else {
  13268. componentList = channels;
  13269. rest = componentList;
  13270. first = _null;
  13271. }
  13272. if (_2_5) {
  13273. if (space == null) {
  13274. spaceName = first.assertString$1($name);
  13275. spaceName.assertUnquoted$1($name);
  13276. space = spaceName.get$isVar() ? _null : A.ColorSpace_fromName(spaceName._string$_text, $name);
  13277. 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)
  13278. throw A.wrapException(A.SassScriptException$(string$.The_co + A.S(space) + ". Use the " + A.S(space) + "() function instead.", $name));
  13279. channels = rest;
  13280. } else
  13281. channels = componentList;
  13282. for (i = 0; i < channels.length; ++i) {
  13283. channel = channels[i];
  13284. t1 = false;
  13285. if (!channel.get$isSpecialNumber())
  13286. if (!(channel instanceof A.SassNumber))
  13287. t1 = !(channel instanceof A.SassString && !channel._hasQuotes && channel._string$_text.toLowerCase() === "none");
  13288. if (t1) {
  13289. t1 = _null;
  13290. if (space == null)
  13291. channelName = t1;
  13292. else {
  13293. t2 = space._channels;
  13294. t2 = i < 3 ? t2[i] : _null;
  13295. if (!(t2 == null))
  13296. t1 = new A._parseChannels_closure().call$1(t2.name);
  13297. channelName = t1;
  13298. }
  13299. if (channelName == null)
  13300. channelName = "channel " + (i + 1);
  13301. throw A.wrapException(A.SassScriptException$("Expected " + channelName + " to be a number, was " + channel.toString$0(0) + ".", $name));
  13302. }
  13303. }
  13304. break $label0$0;
  13305. }
  13306. throw A.wrapException("unreachable");
  13307. }
  13308. t1 = alphaValue == null;
  13309. t2 = t1 ? _null : alphaValue.get$isSpecialNumber();
  13310. if (t2 === true) {
  13311. if (channels.length === 3 && B.Set_9FDyj.contains$1(0, space)) {
  13312. t1 = A.List_List$_of(channels, type$.Value);
  13313. alphaValue.toString;
  13314. t1.push(alphaValue);
  13315. t1 = A._functionString(functionName, t1);
  13316. } else
  13317. t1 = A._functionString(functionName, A._setArrayType([input], type$.JSArray_Value));
  13318. return t1;
  13319. }
  13320. $label1$1: {
  13321. if (t1) {
  13322. t2 = 1;
  13323. break $label1$1;
  13324. }
  13325. if (alphaValue instanceof A.SassString && !alphaValue._hasQuotes && "none" === alphaValue._string$_text) {
  13326. t2 = _null;
  13327. break $label1$1;
  13328. }
  13329. t2 = A._percentageOrUnitless(alphaValue.assertNumber$1($name), 1, "alpha");
  13330. t2 = isNaN(t2) ? 0 : B.JSNumber_methods.clamp$2(t2, 0, 1);
  13331. break $label1$1;
  13332. }
  13333. if (space == null)
  13334. return A._functionString(functionName, A._setArrayType([input], type$.JSArray_Value));
  13335. if (B.JSArray_methods.any$1(channels, new A._parseChannels_closure0())) {
  13336. if (channels.length === 3 && B.Set_9FDyj.contains$1(0, space)) {
  13337. t2 = A.List_List$_of(channels, type$.Value);
  13338. if (!t1)
  13339. t2.push(alphaValue);
  13340. t1 = A._functionString(functionName, t2);
  13341. } else
  13342. t1 = A._functionString(functionName, A._setArrayType([input], type$.JSArray_Value));
  13343. return t1;
  13344. }
  13345. if (channels.length !== 3)
  13346. throw A.wrapException(A.SassScriptException$("The " + space.toString$0(0) + " color space has 3 channels but " + input.toString$0(0) + " has " + channels.length + ".", $name));
  13347. t1 = channels[0];
  13348. t1 = t1 instanceof A.SassNumber ? t1 : _null;
  13349. t3 = channels[1];
  13350. t3 = t3 instanceof A.SassNumber ? t3 : _null;
  13351. t4 = channels[2];
  13352. t4 = t4 instanceof A.SassNumber ? t4 : _null;
  13353. return A._colorFromChannels(space, t1, t3, t4, t2, true, space === B.RgbColorSpace_i0P);
  13354. },
  13355. _parseSlashChannels(input, $name) {
  13356. 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,
  13357. _1_0 = input.assertCommonListStyle$2$allowSlash($name, true);
  13358. $label0$0: {
  13359. _1_1 = _1_0.length;
  13360. alphaValue = _null;
  13361. t1 = false;
  13362. if (_1_1 === 2) {
  13363. components = _1_0[0];
  13364. alphaValue = _1_0[1];
  13365. t1 = input.get$separator(input) === B.ListSeparator_bRz;
  13366. } else
  13367. components = _null;
  13368. if (t1) {
  13369. t1 = new A._Record_2(components, alphaValue);
  13370. break $label0$0;
  13371. }
  13372. t1 = input.get$separator(input);
  13373. if (t1 === B.ListSeparator_bRz) {
  13374. t1 = _1_0.length;
  13375. A.throwExpression(A.SassScriptException$(string$.Only_2 + t1 + " " + A.pluralize("was", t1, "were") + " passed.", $name));
  13376. }
  13377. _1_7 = _1_1 >= 1;
  13378. _1_8_isSet = _1_7;
  13379. _1_9 = _null;
  13380. t1 = false;
  13381. if (_1_8_isSet) {
  13382. _1_8 = B.JSArray_methods.sublist$2(_1_0, 0, _1_1 - 1);
  13383. initial = _1_8;
  13384. _1_9 = _1_0[_1_1 - 1];
  13385. t2 = _1_9;
  13386. if (t2 instanceof A.SassString) {
  13387. type$.SassString._as(_1_9);
  13388. t1 = !_1_9._hasQuotes;
  13389. }
  13390. } else {
  13391. initial = _null;
  13392. _1_8 = initial;
  13393. }
  13394. if (t1) {
  13395. if (_1_8_isSet)
  13396. t1 = _1_9;
  13397. else {
  13398. _1_9 = _1_0[_1_1 - 1];
  13399. t1 = _1_9;
  13400. }
  13401. _0_0 = type$.SassString._as(t1)._string$_text.split("/");
  13402. $label1$1: {
  13403. _0_1 = _0_0.length;
  13404. if (_0_1 === 1) {
  13405. t1 = new A._Record_2(input, _null);
  13406. break $label1$1;
  13407. }
  13408. if (_0_1 === 2) {
  13409. channel3 = _0_0[0];
  13410. alpha = _0_0[1];
  13411. t1 = A.List_List$_of(initial, type$.Value);
  13412. t1.push(A._parseNumberOrString(channel3));
  13413. t1 = new A._Record_2(A.SassList$(t1, B.ListSeparator_qSL, false), A._parseNumberOrString(alpha));
  13414. break $label1$1;
  13415. }
  13416. t1 = _null;
  13417. break $label1$1;
  13418. }
  13419. break $label0$0;
  13420. }
  13421. _1_16 = _null;
  13422. _1_16_isSet = false;
  13423. t1 = false;
  13424. if (_1_7) {
  13425. _1_9_isSet = true;
  13426. if (_1_8_isSet)
  13427. initial = _1_8;
  13428. else {
  13429. _1_8 = B.JSArray_methods.sublist$2(_1_0, 0, _1_1 - 1);
  13430. initial = _1_8;
  13431. }
  13432. if (_1_8_isSet) {
  13433. t2 = _1_9;
  13434. _1_9_isSet0 = _1_8_isSet;
  13435. } else {
  13436. _1_9 = _1_0[_1_1 - 1];
  13437. t2 = _1_9;
  13438. _1_9_isSet0 = _1_9_isSet;
  13439. }
  13440. _1_16_isSet = t2 instanceof A.SassNumber;
  13441. if (_1_16_isSet) {
  13442. if (_1_9_isSet0) {
  13443. t1 = _1_9;
  13444. _1_9_isSet = _1_9_isSet0;
  13445. } else {
  13446. _1_9 = _1_0[_1_1 - 1];
  13447. t1 = _1_9;
  13448. }
  13449. _1_16 = type$.SassNumber._as(t1).asSlash;
  13450. t1 = _1_16;
  13451. t1 = type$.Record_2_nullable_Object_and_nullable_Object._is(t1);
  13452. } else
  13453. _1_9_isSet = _1_9_isSet0;
  13454. } else {
  13455. initial = _null;
  13456. _1_9_isSet = _1_8_isSet;
  13457. }
  13458. if (t1) {
  13459. if (_1_16_isSet)
  13460. t1 = _1_16;
  13461. else {
  13462. if (_1_9_isSet)
  13463. t1 = _1_9;
  13464. else {
  13465. _1_9 = _1_0[_1_1 - 1];
  13466. t1 = _1_9;
  13467. _1_9_isSet = true;
  13468. }
  13469. _1_16 = type$.SassNumber._as(t1).asSlash;
  13470. t1 = _1_16;
  13471. _1_16_isSet = true;
  13472. }
  13473. if (t1 == null)
  13474. t1 = type$.Record_2_nullable_Object_and_nullable_Object._as(t1);
  13475. if (_1_16_isSet)
  13476. t2 = _1_16;
  13477. else {
  13478. if (_1_9_isSet)
  13479. t2 = _1_9;
  13480. else {
  13481. _1_9 = _1_0[_1_1 - 1];
  13482. t2 = _1_9;
  13483. }
  13484. _1_16 = type$.SassNumber._as(t2).asSlash;
  13485. t2 = _1_16;
  13486. }
  13487. if (t2 == null)
  13488. t2 = type$.Record_2_nullable_Object_and_nullable_Object._as(t2);
  13489. t3 = A.List_List$_of(initial, type$.Value);
  13490. t3.push(t1._0);
  13491. t1 = new A._Record_2(A.SassList$(t3, B.ListSeparator_qSL, false), t2._1);
  13492. break $label0$0;
  13493. }
  13494. t1 = new A._Record_2(input, _null);
  13495. break $label0$0;
  13496. }
  13497. return t1;
  13498. },
  13499. _parseNumberOrString(text) {
  13500. var t1, expression, exception;
  13501. try {
  13502. t1 = A.ScssParser$(text, null);
  13503. expression = t1._parseSingleProduction$1$1(t1.get$_number(), type$.NumberExpression);
  13504. t1 = A.SassNumber_SassNumber(expression.value, expression.unit);
  13505. return t1;
  13506. } catch (exception) {
  13507. if (type$.SassFormatException._is(A.unwrapException(exception)))
  13508. return new A.SassString(text, false);
  13509. else
  13510. throw exception;
  13511. }
  13512. },
  13513. _colorFromChannels(space, channel0, channel1, channel2, alpha, clamp, fromRgbFunction) {
  13514. var t1, t2, whiteness, blackness, t3;
  13515. switch (space) {
  13516. case B.HslColorSpace_JQ2:
  13517. if (channel1 != null)
  13518. A._checkPercent(channel1, "saturation");
  13519. if (channel2 != null)
  13520. A._checkPercent(channel2, "lightness");
  13521. t1 = space._channels;
  13522. 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);
  13523. case B.HwbColorSpace_guQ:
  13524. t1 = channel1 == null;
  13525. if (!t1)
  13526. channel1.assertUnit$2("%", "whiteness");
  13527. t2 = channel2 == null;
  13528. if (!t2)
  13529. channel2.assertUnit$2("%", "blackness");
  13530. whiteness = t1 ? null : channel1._number$_value;
  13531. blackness = t2 ? null : channel2._number$_value;
  13532. if (whiteness != null && blackness != null && whiteness + blackness > 100) {
  13533. t1 = whiteness + blackness;
  13534. whiteness = whiteness / t1 * 100;
  13535. blackness = blackness / t1 * 100;
  13536. }
  13537. return A.SassColor_SassColor$hwb(A.NullableExtension_andThen(channel0, new A._colorFromChannels_closure0()), whiteness, blackness, alpha);
  13538. case B.RgbColorSpace_i0P:
  13539. t1 = space._channels;
  13540. t2 = A._channelFromValue(t1[0], channel0, clamp);
  13541. t3 = A._channelFromValue(t1[1], channel1, clamp);
  13542. t1 = A._channelFromValue(t1[2], channel2, clamp);
  13543. return A.SassColor_SassColor$rgbInternal(t2, t3, t1, alpha, fromRgbFunction ? B.C__ColorFormatEnum : null);
  13544. default:
  13545. t1 = space._channels;
  13546. 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);
  13547. }
  13548. },
  13549. _forcePercent(number) {
  13550. var t1, _0_3;
  13551. $label0$0: {
  13552. if (number == null) {
  13553. t1 = null;
  13554. break $label0$0;
  13555. }
  13556. _0_3 = number.get$numeratorUnits(number);
  13557. if (_0_3.length === 1)
  13558. t1 = "%" === _0_3[0] && number.get$denominatorUnits(number).length <= 0;
  13559. else
  13560. t1 = false;
  13561. if (t1) {
  13562. t1 = number;
  13563. break $label0$0;
  13564. }
  13565. t1 = A.SassNumber_SassNumber(number._number$_value, "%");
  13566. break $label0$0;
  13567. }
  13568. return t1;
  13569. },
  13570. _channelFromValue(channel, value, clamp) {
  13571. return A.NullableExtension_andThen(value, new A._channelFromValue_closure(channel, clamp));
  13572. },
  13573. _isNone(value) {
  13574. return value instanceof A.SassString && !value._hasQuotes && value._string$_text.toLowerCase() === "none";
  13575. },
  13576. _channelFunction($name, space, getter, global, unit) {
  13577. return A.BuiltInCallable$function($name, "$color", new A._channelFunction_closure(getter, unit, global, $name, space), "sass:color");
  13578. },
  13579. _suggestScaleAndAdjust(original, adjustment, channelName) {
  13580. var t2, oldValue, newValue, factor, t3, suggestion,
  13581. channel = channelName === "alpha" ? B.LinearChannel_XL8 : type$.LinearChannel._as(B.JSArray_methods.firstWhere$1(B.List_oAL, new A._suggestScaleAndAdjust_closure(channelName))),
  13582. t1 = channel === B.LinearChannel_XL8;
  13583. if (t1) {
  13584. t2 = original.alphaOrNull;
  13585. oldValue = t2 == null ? 0 : t2;
  13586. } else
  13587. oldValue = original.toSpace$1(B.HslColorSpace_JQ2).channel$1(0, channelName);
  13588. newValue = oldValue + adjustment;
  13589. if (adjustment !== 0) {
  13590. factor = A._Cell$();
  13591. t2 = channel.max;
  13592. if (newValue > t2)
  13593. factor.__late_helper$_value = 1;
  13594. else {
  13595. t3 = channel.min;
  13596. if (newValue < t3)
  13597. factor.__late_helper$_value = -1;
  13598. else if (adjustment > 0)
  13599. factor.__late_helper$_value = adjustment / (t2 - oldValue);
  13600. else
  13601. factor.__late_helper$_value = (newValue - oldValue) / (oldValue - t3);
  13602. }
  13603. suggestion = "Suggestion" + ("s:\n\ncolor.scale($color, $" + channelName + ": " + A.SassNumber_SassNumber(factor._readLocal$0() * 100, "%").toString$0(0) + ")\n");
  13604. } else
  13605. suggestion = "Suggestion:\n\n";
  13606. return suggestion + ("color.adjust($color, $" + channelName + ": " + A.SassNumber_SassNumber(adjustment, t1 ? null : "%").toString$0(0) + ")");
  13607. },
  13608. _missingChannelError(color, channel) {
  13609. return A.throwExpression(A.SassScriptException$(string$.Becaus + color.toString$0(0) + ").", channel));
  13610. },
  13611. _channelName(value) {
  13612. var t1 = value.assertString$1("channel");
  13613. t1.assertQuoted$1("channel");
  13614. return t1._string$_text;
  13615. },
  13616. _function5($name, $arguments, callback) {
  13617. return A.BuiltInCallable$function($name, $arguments, callback, "sass:color");
  13618. },
  13619. global_closure0: function global_closure0() {
  13620. },
  13621. global_closure1: function global_closure1() {
  13622. },
  13623. global_closure2: function global_closure2() {
  13624. },
  13625. global_closure3: function global_closure3() {
  13626. },
  13627. global_closure4: function global_closure4() {
  13628. },
  13629. global_closure5: function global_closure5() {
  13630. },
  13631. global_closure6: function global_closure6() {
  13632. },
  13633. global_closure7: function global_closure7() {
  13634. },
  13635. global_closure8: function global_closure8() {
  13636. },
  13637. global_closure9: function global_closure9() {
  13638. },
  13639. global_closure10: function global_closure10() {
  13640. },
  13641. global_closure11: function global_closure11() {
  13642. },
  13643. global_closure12: function global_closure12() {
  13644. },
  13645. global_closure13: function global_closure13() {
  13646. },
  13647. global_closure14: function global_closure14() {
  13648. },
  13649. global_closure15: function global_closure15() {
  13650. },
  13651. global_closure16: function global_closure16() {
  13652. },
  13653. global_closure17: function global_closure17() {
  13654. },
  13655. global_closure18: function global_closure18() {
  13656. },
  13657. global_closure19: function global_closure19() {
  13658. },
  13659. global_closure20: function global_closure20() {
  13660. },
  13661. global_closure21: function global_closure21() {
  13662. },
  13663. global_closure22: function global_closure22() {
  13664. },
  13665. global_closure23: function global_closure23() {
  13666. },
  13667. global_closure24: function global_closure24() {
  13668. },
  13669. global_closure25: function global_closure25() {
  13670. },
  13671. global_closure26: function global_closure26() {
  13672. },
  13673. global_closure27: function global_closure27() {
  13674. },
  13675. global_closure28: function global_closure28() {
  13676. },
  13677. global_closure29: function global_closure29() {
  13678. },
  13679. global_closure30: function global_closure30() {
  13680. },
  13681. global_closure31: function global_closure31() {
  13682. },
  13683. global_closure32: function global_closure32() {
  13684. },
  13685. global_closure33: function global_closure33() {
  13686. },
  13687. global_closure34: function global_closure34() {
  13688. },
  13689. global_closure35: function global_closure35() {
  13690. },
  13691. global__closure: function global__closure() {
  13692. },
  13693. global_closure36: function global_closure36() {
  13694. },
  13695. global_closure37: function global_closure37() {
  13696. },
  13697. global_closure38: function global_closure38() {
  13698. },
  13699. global_closure39: function global_closure39() {
  13700. },
  13701. global_closure40: function global_closure40() {
  13702. },
  13703. global_closure41: function global_closure41() {
  13704. },
  13705. global_closure42: function global_closure42() {
  13706. },
  13707. module_closure1: function module_closure1() {
  13708. },
  13709. module_closure2: function module_closure2() {
  13710. },
  13711. module_closure3: function module_closure3() {
  13712. },
  13713. module_closure4: function module_closure4() {
  13714. },
  13715. module_closure5: function module_closure5() {
  13716. },
  13717. module_closure6: function module_closure6() {
  13718. },
  13719. module_closure7: function module_closure7() {
  13720. },
  13721. module_closure8: function module_closure8() {
  13722. },
  13723. module_closure9: function module_closure9() {
  13724. },
  13725. module_closure10: function module_closure10() {
  13726. },
  13727. module_closure11: function module_closure11() {
  13728. },
  13729. module_closure12: function module_closure12() {
  13730. },
  13731. module_closure13: function module_closure13() {
  13732. },
  13733. module_closure14: function module_closure14() {
  13734. },
  13735. module__closure2: function module__closure2() {
  13736. },
  13737. module_closure15: function module_closure15() {
  13738. },
  13739. module_closure16: function module_closure16() {
  13740. },
  13741. module_closure17: function module_closure17() {
  13742. },
  13743. module_closure18: function module_closure18() {
  13744. },
  13745. module_closure19: function module_closure19() {
  13746. },
  13747. module_closure20: function module_closure20() {
  13748. },
  13749. module_closure21: function module_closure21() {
  13750. },
  13751. module_closure22: function module_closure22() {
  13752. },
  13753. module__closure1: function module__closure1(t0) {
  13754. this.channelName = t0;
  13755. },
  13756. module_closure23: function module_closure23() {
  13757. },
  13758. module_closure_toXyzNoMissing: function module_closure_toXyzNoMissing() {
  13759. },
  13760. module_closure24: function module_closure24() {
  13761. },
  13762. _mix_closure: function _mix_closure() {
  13763. },
  13764. _complement_closure: function _complement_closure() {
  13765. },
  13766. _adjust_closure: function _adjust_closure() {
  13767. },
  13768. _scale_closure: function _scale_closure() {
  13769. },
  13770. _change_closure: function _change_closure() {
  13771. },
  13772. _ieHexStr_closure: function _ieHexStr_closure() {
  13773. },
  13774. _ieHexStr_closure_hexString: function _ieHexStr_closure_hexString() {
  13775. },
  13776. _updateComponents_closure: function _updateComponents_closure(t0) {
  13777. this.originalColor = t0;
  13778. },
  13779. _updateComponents_closure0: function _updateComponents_closure0(t0) {
  13780. this._box_0 = t0;
  13781. },
  13782. _changeColor_closure: function _changeColor_closure(t0) {
  13783. this.alphaArg = t0;
  13784. },
  13785. _adjustColor_closure: function _adjustColor_closure() {
  13786. },
  13787. _functionString_closure: function _functionString_closure() {
  13788. },
  13789. _removedColorFunction_closure: function _removedColorFunction_closure(t0, t1, t2) {
  13790. this.name = t0;
  13791. this.argument = t1;
  13792. this.negative = t2;
  13793. },
  13794. _rgb_closure: function _rgb_closure() {
  13795. },
  13796. _hsl_closure: function _hsl_closure() {
  13797. },
  13798. _parseChannels_closure: function _parseChannels_closure() {
  13799. },
  13800. _parseChannels_closure0: function _parseChannels_closure0() {
  13801. },
  13802. _colorFromChannels_closure: function _colorFromChannels_closure() {
  13803. },
  13804. _colorFromChannels_closure0: function _colorFromChannels_closure0() {
  13805. },
  13806. _channelFromValue_closure: function _channelFromValue_closure(t0, t1) {
  13807. this.channel = t0;
  13808. this.clamp = t1;
  13809. },
  13810. _channelFunction_closure: function _channelFunction_closure(t0, t1, t2, t3, t4) {
  13811. var _ = this;
  13812. _.getter = t0;
  13813. _.unit = t1;
  13814. _.global = t2;
  13815. _.name = t3;
  13816. _.space = t4;
  13817. },
  13818. _suggestScaleAndAdjust_closure: function _suggestScaleAndAdjust_closure(t0) {
  13819. this.channelName = t0;
  13820. },
  13821. _function4($name, $arguments, callback) {
  13822. return A.BuiltInCallable$function($name, $arguments, callback, "sass:list");
  13823. },
  13824. _length_closure0: function _length_closure0() {
  13825. },
  13826. _nth_closure: function _nth_closure() {
  13827. },
  13828. _setNth_closure: function _setNth_closure() {
  13829. },
  13830. _join_closure: function _join_closure() {
  13831. },
  13832. _append_closure0: function _append_closure0() {
  13833. },
  13834. _zip_closure: function _zip_closure() {
  13835. },
  13836. _zip__closure: function _zip__closure() {
  13837. },
  13838. _zip__closure0: function _zip__closure0(t0) {
  13839. this._box_0 = t0;
  13840. },
  13841. _zip__closure1: function _zip__closure1(t0) {
  13842. this._box_0 = t0;
  13843. },
  13844. _index_closure0: function _index_closure0() {
  13845. },
  13846. _separator_closure: function _separator_closure() {
  13847. },
  13848. _isBracketed_closure: function _isBracketed_closure() {
  13849. },
  13850. _slash_closure: function _slash_closure() {
  13851. },
  13852. _modify(map, keys, modify, addNesting) {
  13853. var keyIterator = J.get$iterator$ax(keys);
  13854. return keyIterator.moveNext$0() ? new A._modify_modifyNestedMap(keyIterator, modify, addNesting).call$1(map) : modify.call$1(map);
  13855. },
  13856. _deepMergeImpl(map1, map2) {
  13857. var t2, t3, result, t4, key, value, _1_1, _1_3, _1_3_isSet, _1_30, resultMap, valueMap, merged,
  13858. t1 = map1._map$_contents;
  13859. if (t1.get$isEmpty(t1))
  13860. return map2;
  13861. t2 = map2._map$_contents;
  13862. if (t2.get$isEmpty(t2))
  13863. return map1;
  13864. t3 = type$.Value;
  13865. result = A.LinkedHashMap_LinkedHashMap$of(t1, t3, t3);
  13866. for (t1 = A.MapExtensions_get_pairs(t2, t3, t3), t1 = t1.get$iterator(t1), t2 = type$.SassMap; t1.moveNext$0();) {
  13867. t4 = t1.get$current(t1);
  13868. key = t4._0;
  13869. value = t4._1;
  13870. t4 = result.$index(0, key);
  13871. _1_1 = t4 == null ? null : t4.tryMap$0();
  13872. _1_3 = value.tryMap$0();
  13873. _1_3_isSet = _1_1 != null;
  13874. _1_30 = null;
  13875. t4 = false;
  13876. if (_1_3_isSet) {
  13877. resultMap = _1_1 == null ? t2._as(_1_1) : _1_1;
  13878. t4 = _1_3 != null;
  13879. _1_30 = _1_3;
  13880. } else
  13881. resultMap = null;
  13882. if (t4) {
  13883. valueMap = _1_3_isSet ? _1_30 : _1_3;
  13884. merged = A._deepMergeImpl(resultMap, valueMap == null ? t2._as(valueMap) : valueMap);
  13885. if (merged === resultMap)
  13886. continue;
  13887. result.$indexSet(0, key, merged);
  13888. } else
  13889. result.$indexSet(0, key, value);
  13890. }
  13891. return new A.SassMap(A.ConstantMap_ConstantMap$from(result, t3, t3));
  13892. },
  13893. _function3($name, $arguments, callback) {
  13894. return A.BuiltInCallable$function($name, $arguments, callback, "sass:map");
  13895. },
  13896. _get_closure: function _get_closure() {
  13897. },
  13898. _set_closure: function _set_closure() {
  13899. },
  13900. _set__closure0: function _set__closure0(t0) {
  13901. this.$arguments = t0;
  13902. },
  13903. _set_closure0: function _set_closure0() {
  13904. },
  13905. _set__closure: function _set__closure(t0) {
  13906. this._box_0 = t0;
  13907. },
  13908. _merge_closure: function _merge_closure() {
  13909. },
  13910. _merge_closure0: function _merge_closure0() {
  13911. },
  13912. _merge__closure: function _merge__closure(t0) {
  13913. this.map2 = t0;
  13914. },
  13915. _deepMerge_closure: function _deepMerge_closure() {
  13916. },
  13917. _deepRemove_closure: function _deepRemove_closure() {
  13918. },
  13919. _deepRemove__closure: function _deepRemove__closure(t0) {
  13920. this.keys = t0;
  13921. },
  13922. _remove_closure: function _remove_closure() {
  13923. },
  13924. _remove_closure0: function _remove_closure0() {
  13925. },
  13926. _keys_closure: function _keys_closure() {
  13927. },
  13928. _values_closure: function _values_closure() {
  13929. },
  13930. _hasKey_closure: function _hasKey_closure() {
  13931. },
  13932. _modify_modifyNestedMap: function _modify_modifyNestedMap(t0, t1, t2) {
  13933. this.keyIterator = t0;
  13934. this.modify = t1;
  13935. this.addNesting = t2;
  13936. },
  13937. _singleArgumentMathFunc($name, mathFunc) {
  13938. return A.BuiltInCallable$function($name, "$number", new A._singleArgumentMathFunc_closure(mathFunc), "sass:math");
  13939. },
  13940. _numberFunction($name, transform) {
  13941. return A.BuiltInCallable$function($name, "$number", new A._numberFunction_closure(transform), "sass:math");
  13942. },
  13943. _function2($name, $arguments, callback) {
  13944. return A.BuiltInCallable$function($name, $arguments, callback, "sass:math");
  13945. },
  13946. global_closure: function global_closure() {
  13947. },
  13948. module_closure0: function module_closure0() {
  13949. },
  13950. _ceil_closure: function _ceil_closure() {
  13951. },
  13952. _clamp_closure: function _clamp_closure() {
  13953. },
  13954. _floor_closure: function _floor_closure() {
  13955. },
  13956. _max_closure: function _max_closure() {
  13957. },
  13958. _min_closure: function _min_closure() {
  13959. },
  13960. _round_closure: function _round_closure() {
  13961. },
  13962. _hypot_closure: function _hypot_closure() {
  13963. },
  13964. _hypot__closure: function _hypot__closure() {
  13965. },
  13966. _log_closure: function _log_closure() {
  13967. },
  13968. _pow_closure: function _pow_closure() {
  13969. },
  13970. _atan2_closure: function _atan2_closure() {
  13971. },
  13972. _compatible_closure: function _compatible_closure() {
  13973. },
  13974. _isUnitless_closure: function _isUnitless_closure() {
  13975. },
  13976. _unit_closure: function _unit_closure() {
  13977. },
  13978. _percentage_closure: function _percentage_closure() {
  13979. },
  13980. _randomFunction_closure: function _randomFunction_closure() {
  13981. },
  13982. _div_closure: function _div_closure() {
  13983. },
  13984. _singleArgumentMathFunc_closure: function _singleArgumentMathFunc_closure(t0) {
  13985. this.mathFunc = t0;
  13986. },
  13987. _numberFunction_closure: function _numberFunction_closure(t0) {
  13988. this.transform = t0;
  13989. },
  13990. _function($name, $arguments, callback) {
  13991. return A.BuiltInCallable$function($name, $arguments, callback, "sass:meta");
  13992. },
  13993. _shared_closure: function _shared_closure() {
  13994. },
  13995. _shared_closure0: function _shared_closure0() {
  13996. },
  13997. _shared_closure1: function _shared_closure1() {
  13998. },
  13999. _shared_closure2: function _shared_closure2() {
  14000. },
  14001. moduleFunctions_closure: function moduleFunctions_closure() {
  14002. },
  14003. moduleFunctions_closure0: function moduleFunctions_closure0() {
  14004. },
  14005. moduleFunctions__closure: function moduleFunctions__closure() {
  14006. },
  14007. moduleFunctions_closure1: function moduleFunctions_closure1() {
  14008. },
  14009. _prependParent(compound) {
  14010. var _0_3, _0_4, t2, t3, rest,
  14011. t1 = A.EvaluationContext_currentOrNull(),
  14012. span = (t1 == null ? A.throwExpression(A.StateError$(string$.No_Sass)) : t1).get$currentCallableSpan(),
  14013. _0_0 = compound.components;
  14014. $label0$0: {
  14015. _0_3 = _0_0.length >= 1;
  14016. if (_0_3) {
  14017. _0_4 = _0_0[0];
  14018. t1 = _0_4 instanceof A.UniversalSelector;
  14019. } else {
  14020. _0_4 = null;
  14021. t1 = false;
  14022. }
  14023. t2 = null;
  14024. if (t1) {
  14025. t1 = t2;
  14026. break $label0$0;
  14027. }
  14028. t1 = false;
  14029. if (_0_3) {
  14030. t3 = _0_4;
  14031. if (t3 instanceof A.TypeSelector) {
  14032. t1 = _0_4;
  14033. t1 = type$.TypeSelector._as(t1).name.namespace != null;
  14034. }
  14035. }
  14036. if (t1) {
  14037. t1 = t2;
  14038. break $label0$0;
  14039. }
  14040. if (_0_3) {
  14041. t1 = _0_4;
  14042. t1 = t1 instanceof A.TypeSelector;
  14043. } else
  14044. t1 = false;
  14045. if (t1) {
  14046. t1 = _0_3 ? _0_4 : _0_0[0];
  14047. type$.TypeSelector._as(t1);
  14048. rest = B.JSArray_methods.sublist$1(_0_0, 1);
  14049. t1 = A._setArrayType([new A.ParentSelector(t1.name.name, span)], type$.JSArray_SimpleSelector);
  14050. B.JSArray_methods.addAll$1(t1, rest);
  14051. t1 = A.CompoundSelector$(t1, span);
  14052. break $label0$0;
  14053. }
  14054. t1 = A._setArrayType([new A.ParentSelector(null, span)], type$.JSArray_SimpleSelector);
  14055. B.JSArray_methods.addAll$1(t1, _0_0);
  14056. t1 = A.CompoundSelector$(t1, span);
  14057. break $label0$0;
  14058. }
  14059. return t1;
  14060. },
  14061. _function1($name, $arguments, callback) {
  14062. return A.BuiltInCallable$function($name, $arguments, callback, "sass:selector");
  14063. },
  14064. _nest_closure: function _nest_closure() {
  14065. },
  14066. _nest__closure: function _nest__closure(t0) {
  14067. this._box_0 = t0;
  14068. },
  14069. _nest__closure0: function _nest__closure0() {
  14070. },
  14071. _append_closure: function _append_closure() {
  14072. },
  14073. _append__closure: function _append__closure() {
  14074. },
  14075. _append__closure0: function _append__closure0(t0) {
  14076. this.span = t0;
  14077. },
  14078. _append___closure: function _append___closure(t0, t1) {
  14079. this.parent = t0;
  14080. this.span = t1;
  14081. },
  14082. _extend_closure: function _extend_closure() {
  14083. },
  14084. _replace_closure: function _replace_closure() {
  14085. },
  14086. _unify_closure: function _unify_closure() {
  14087. },
  14088. _isSuperselector_closure: function _isSuperselector_closure() {
  14089. },
  14090. _simpleSelectors_closure: function _simpleSelectors_closure() {
  14091. },
  14092. _simpleSelectors__closure: function _simpleSelectors__closure() {
  14093. },
  14094. _parse_closure: function _parse_closure() {
  14095. },
  14096. _codepointForIndex(index, lengthInCodepoints, allowNegative) {
  14097. var result;
  14098. if (index === 0)
  14099. return 0;
  14100. if (index > 0)
  14101. return Math.min(index - 1, lengthInCodepoints);
  14102. result = lengthInCodepoints + index;
  14103. if (result < 0 && !allowNegative)
  14104. return 0;
  14105. return result;
  14106. },
  14107. _function0($name, $arguments, callback) {
  14108. return A.BuiltInCallable$function($name, $arguments, callback, "sass:string");
  14109. },
  14110. module_closure: function module_closure() {
  14111. },
  14112. module__closure: function module__closure(t0) {
  14113. this.string = t0;
  14114. },
  14115. module__closure0: function module__closure0(t0) {
  14116. this.string = t0;
  14117. },
  14118. _unquote_closure: function _unquote_closure() {
  14119. },
  14120. _quote_closure: function _quote_closure() {
  14121. },
  14122. _length_closure: function _length_closure() {
  14123. },
  14124. _insert_closure: function _insert_closure() {
  14125. },
  14126. _index_closure: function _index_closure() {
  14127. },
  14128. _slice_closure: function _slice_closure() {
  14129. },
  14130. _toUpperCase_closure: function _toUpperCase_closure() {
  14131. },
  14132. _toLowerCase_closure: function _toLowerCase_closure() {
  14133. },
  14134. _uniqueId_closure: function _uniqueId_closure() {
  14135. },
  14136. ImportCache$(importers, loadPaths) {
  14137. var t1 = type$.nullable_Record_3_Importer_and_Uri_and_Uri_originalUrl,
  14138. t2 = type$.Record_3_Importer_and_Uri_and_bool_forImport,
  14139. t3 = type$.Uri;
  14140. 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));
  14141. },
  14142. ImportCache__toImporters(importers, loadPaths, packageConfig) {
  14143. var t1, t2, t3, t4, _i, path, _null = null,
  14144. sassPath = A.getEnvironmentVariable("SASS_PATH");
  14145. if (A.isBrowser()) {
  14146. t1 = A._setArrayType([], type$.JSArray_Importer);
  14147. B.JSArray_methods.addAll$1(t1, importers);
  14148. return t1;
  14149. }
  14150. t1 = A._setArrayType([], type$.JSArray_Importer);
  14151. B.JSArray_methods.addAll$1(t1, importers);
  14152. for (t2 = J.get$iterator$ax(loadPaths); t2.moveNext$0();) {
  14153. t3 = t2.get$current(t2);
  14154. 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));
  14155. }
  14156. if (sassPath != null) {
  14157. t2 = A.isNodeJs() ? self.process : _null;
  14158. t3 = sassPath.split(J.$eq$(t2 == null ? _null : J.get$platform$x(t2), "win32") ? ";" : ":");
  14159. t4 = t3.length;
  14160. _i = 0;
  14161. for (; _i < t4; ++_i) {
  14162. path = t3[_i];
  14163. 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));
  14164. }
  14165. }
  14166. return t1;
  14167. },
  14168. ImportCache: function ImportCache(t0, t1, t2, t3, t4, t5, t6) {
  14169. var _ = this;
  14170. _._importers = t0;
  14171. _._canonicalizeCache = t1;
  14172. _._perImporterCanonicalizeCache = t2;
  14173. _._nonCanonicalRelativeUrls = t3;
  14174. _._importCache = t4;
  14175. _._resultsCache = t5;
  14176. _._loadTimes = t6;
  14177. },
  14178. ImportCache_canonicalize_closure: function ImportCache_canonicalize_closure(t0, t1, t2, t3, t4, t5, t6) {
  14179. var _ = this;
  14180. _.$this = t0;
  14181. _.baseImporter = t1;
  14182. _.resolvedUrl = t2;
  14183. _.baseUrl = t3;
  14184. _.forImport = t4;
  14185. _.key = t5;
  14186. _.url = t6;
  14187. },
  14188. ImportCache__canonicalize_closure: function ImportCache__canonicalize_closure(t0, t1) {
  14189. this.importer = t0;
  14190. this.url = t1;
  14191. },
  14192. ImportCache_importCanonical_closure: function ImportCache_importCanonical_closure(t0, t1, t2, t3) {
  14193. var _ = this;
  14194. _.$this = t0;
  14195. _.importer = t1;
  14196. _.canonicalUrl = t2;
  14197. _.originalUrl = t3;
  14198. },
  14199. ImportCache_humanize_closure: function ImportCache_humanize_closure(t0) {
  14200. this.canonicalUrl = t0;
  14201. },
  14202. ImportCache_humanize_closure0: function ImportCache_humanize_closure0() {
  14203. },
  14204. ImportCache_humanize_closure1: function ImportCache_humanize_closure1() {
  14205. },
  14206. ImportCache_humanize_closure2: function ImportCache_humanize_closure2(t0) {
  14207. this.canonicalUrl = t0;
  14208. },
  14209. Importer: function Importer() {
  14210. },
  14211. AsyncImporter: function AsyncImporter() {
  14212. },
  14213. CanonicalizeContext: function CanonicalizeContext(t0, t1) {
  14214. this._fromImport = t0;
  14215. this._containingUrl = t1;
  14216. this._wasContainingUrlAccessed = false;
  14217. },
  14218. FilesystemImporter: function FilesystemImporter(t0, t1) {
  14219. this._loadPath = t0;
  14220. this._loadPathDeprecated = t1;
  14221. },
  14222. FilesystemImporter_canonicalize_closure: function FilesystemImporter_canonicalize_closure() {
  14223. },
  14224. NoOpImporter: function NoOpImporter() {
  14225. },
  14226. NodePackageImporter: function NodePackageImporter() {
  14227. this.__NodePackageImporter__entryPointDirectory_F = $;
  14228. },
  14229. NodePackageImporter__nodePackageExportsResolve_closure: function NodePackageImporter__nodePackageExportsResolve_closure() {
  14230. },
  14231. NodePackageImporter__nodePackageExportsResolve_closure0: function NodePackageImporter__nodePackageExportsResolve_closure0() {
  14232. },
  14233. NodePackageImporter__nodePackageExportsResolve_closure1: function NodePackageImporter__nodePackageExportsResolve_closure1() {
  14234. },
  14235. NodePackageImporter__nodePackageExportsResolve_closure2: function NodePackageImporter__nodePackageExportsResolve_closure2(t0, t1, t2) {
  14236. this.$this = t0;
  14237. this.exports = t1;
  14238. this.packageRoot = t2;
  14239. },
  14240. NodePackageImporter__nodePackageExportsResolve__closure: function NodePackageImporter__nodePackageExportsResolve__closure(t0, t1, t2) {
  14241. this.$this = t0;
  14242. this.variant = t1;
  14243. this.packageRoot = t2;
  14244. },
  14245. NodePackageImporter__nodePackageExportsResolve__closure0: function NodePackageImporter__nodePackageExportsResolve__closure0() {
  14246. },
  14247. NodePackageImporter__getMainExport_closure: function NodePackageImporter__getMainExport_closure() {
  14248. },
  14249. ImporterResult: function ImporterResult(t0, t1, t2) {
  14250. this.contents = t0;
  14251. this._sourceMapUrl = t1;
  14252. this.syntax = t2;
  14253. },
  14254. fromImport() {
  14255. var t1 = type$.nullable_CanonicalizeContext._as($.Zone__current.$index(0, B.Symbol__canonicalizeContext));
  14256. t1 = t1 == null ? null : t1._fromImport;
  14257. return t1 === true;
  14258. },
  14259. canonicalizeContext() {
  14260. var t1,
  14261. _0_0 = $.Zone__current.$index(0, B.Symbol__canonicalizeContext);
  14262. $label0$0: {
  14263. if (_0_0 == null)
  14264. A.throwExpression(A.StateError$(string$.canoni));
  14265. if (_0_0 instanceof A.CanonicalizeContext) {
  14266. t1 = _0_0;
  14267. break $label0$0;
  14268. }
  14269. t1 = A.throwExpression(A.StateError$(string$.Unexpe + A.S(_0_0) + "."));
  14270. }
  14271. return t1;
  14272. },
  14273. resolveImportPath(path) {
  14274. var t1,
  14275. extension = A.ParsedPath_ParsedPath$parse(path, $.$get$context().style)._splitExtension$1(1)[1];
  14276. if (extension === ".sass" || extension === ".scss" || extension === ".css") {
  14277. t1 = A.fromImport() ? new A.resolveImportPath_closure(path, extension).call$0() : null;
  14278. return t1 == null ? A._exactlyOne(A._tryPath(path)) : t1;
  14279. }
  14280. t1 = A.fromImport() ? new A.resolveImportPath_closure0(path).call$0() : null;
  14281. if (t1 == null)
  14282. t1 = A._exactlyOne(A._tryPathWithExtensions(path));
  14283. return t1 == null ? A._tryPathAsDirectory(path) : t1;
  14284. },
  14285. _tryPathWithExtensions(path) {
  14286. var result = A._tryPath(path + ".sass");
  14287. B.JSArray_methods.addAll$1(result, A._tryPath(path + ".scss"));
  14288. return result.length !== 0 ? result : A._tryPath(path + ".css");
  14289. },
  14290. _tryPath(path) {
  14291. var t1 = $.$get$context(),
  14292. partial = A.join(t1.dirname$1(path), "_" + A.ParsedPath_ParsedPath$parse(path, t1.style).get$basename(), null);
  14293. t1 = A._setArrayType([], type$.JSArray_String);
  14294. if (A.fileExists(partial))
  14295. t1.push(partial);
  14296. if (A.fileExists(path))
  14297. t1.push(path);
  14298. return t1;
  14299. },
  14300. _tryPathAsDirectory(path) {
  14301. var t1;
  14302. if (!A.dirExists(path))
  14303. return null;
  14304. t1 = A.fromImport() ? new A._tryPathAsDirectory_closure(path).call$0() : null;
  14305. return t1 == null ? A._exactlyOne(A._tryPathWithExtensions(A.join(path, "index", null))) : t1;
  14306. },
  14307. _exactlyOne(paths) {
  14308. var _0_1, t1, path;
  14309. $label0$0: {
  14310. _0_1 = paths.length;
  14311. if (_0_1 <= 0) {
  14312. t1 = null;
  14313. break $label0$0;
  14314. }
  14315. if (_0_1 === 1) {
  14316. path = paths[0];
  14317. t1 = path;
  14318. break $label0$0;
  14319. }
  14320. t1 = A.throwExpression(string$.It_s_n + B.JSArray_methods.map$1$1(paths, new A._exactlyOne_closure(), type$.String).join$1(0, "\n"));
  14321. }
  14322. return t1;
  14323. },
  14324. resolveImportPath_closure: function resolveImportPath_closure(t0, t1) {
  14325. this.path = t0;
  14326. this.extension = t1;
  14327. },
  14328. resolveImportPath_closure0: function resolveImportPath_closure0(t0) {
  14329. this.path = t0;
  14330. },
  14331. _tryPathAsDirectory_closure: function _tryPathAsDirectory_closure(t0) {
  14332. this.path = t0;
  14333. },
  14334. _exactlyOne_closure: function _exactlyOne_closure() {
  14335. },
  14336. InterpolationBuffer: function InterpolationBuffer(t0, t1, t2) {
  14337. this._interpolation_buffer$_text = t0;
  14338. this._interpolation_buffer$_contents = t1;
  14339. this._spans = t2;
  14340. },
  14341. InterpolationMap$(_interpolation, targetLocations) {
  14342. var t1 = A.List_List$unmodifiable(targetLocations, type$.SourceLocation),
  14343. t2 = _interpolation.contents.length,
  14344. expectedLocations = Math.max(0, t2 - 1);
  14345. if (t1.length !== expectedLocations)
  14346. A.throwExpression(A.ArgumentError$("InterpolationMap must have " + A.S(expectedLocations) + string$.x20targe + t2 + " components.", null));
  14347. return new A.InterpolationMap(_interpolation, t1);
  14348. },
  14349. InterpolationMap: function InterpolationMap(t0, t1) {
  14350. this._interpolation = t0;
  14351. this._targetLocations = t1;
  14352. },
  14353. InterpolationMap_mapException_closure: function InterpolationMap_mapException_closure() {
  14354. },
  14355. _realCasePath(path) {
  14356. var prefix, _null = null,
  14357. t1 = A.isNodeJs() ? self.process : _null;
  14358. if (!J.$eq$(t1 == null ? _null : J.get$platform$x(t1), "win32")) {
  14359. t1 = A.isNodeJs() ? self.process : _null;
  14360. t1 = J.$eq$(t1 == null ? _null : J.get$platform$x(t1), "darwin");
  14361. } else
  14362. t1 = true;
  14363. if (!t1)
  14364. return path;
  14365. t1 = A.isNodeJs() ? self.process : _null;
  14366. if (J.$eq$(t1 == null ? _null : J.get$platform$x(t1), "win32")) {
  14367. prefix = B.JSString_methods.substring$2(path, 0, $.$get$context().style.rootLength$1(path));
  14368. t1 = prefix.length;
  14369. if (t1 !== 0 && A.CharacterExtension_get_isAlphabetic(prefix.charCodeAt(0)))
  14370. path = prefix.toUpperCase() + B.JSString_methods.substring$1(path, t1);
  14371. }
  14372. return new A._realCasePath_helper().call$1(path);
  14373. },
  14374. _realCasePath_helper: function _realCasePath_helper() {
  14375. },
  14376. _realCasePath_helper_closure: function _realCasePath_helper_closure(t0, t1, t2, t3) {
  14377. var _ = this;
  14378. _.path = t0;
  14379. _.realPath = t1;
  14380. _.helper = t2;
  14381. _.dirname = t3;
  14382. },
  14383. _realCasePath_helper__closure: function _realCasePath_helper__closure(t0) {
  14384. this.basename = t0;
  14385. },
  14386. printError(message) {
  14387. var t1 = A.isNodeJs() ? self.process : null;
  14388. if (t1 != null) {
  14389. t1 = J.get$stderr$x(t1);
  14390. J.write$1$x(t1, A.S(message == null ? "" : message) + "\n");
  14391. } else {
  14392. t1 = self.console;
  14393. J.error$1$x(t1, message == null ? "" : message);
  14394. }
  14395. },
  14396. readFile(path) {
  14397. var contents, sourceFile, t1, i;
  14398. if (!A.isNodeJs())
  14399. throw A.wrapException(A.UnsupportedError$("readFile() is only supported on Node.js"));
  14400. contents = A._asString(A._readFile(path, "utf8"));
  14401. if (!B.JSString_methods.contains$1(contents, "\ufffd"))
  14402. return contents;
  14403. sourceFile = A.SourceFile$fromString(contents, $.$get$context().toUri$1(path));
  14404. for (t1 = contents.length, i = 0; i < t1; ++i) {
  14405. if (contents.charCodeAt(i) !== 65533)
  14406. continue;
  14407. throw A.wrapException(A.SassException$("Invalid UTF-8.", A.FileLocation$_(sourceFile, i).pointSpan$0(), null));
  14408. }
  14409. return contents;
  14410. },
  14411. _readFile(path, encoding) {
  14412. return A._systemErrorToFileSystemException(new A._readFile_closure(path, encoding));
  14413. },
  14414. writeFile(path, contents) {
  14415. if (!A.isNodeJs())
  14416. throw A.wrapException(A.UnsupportedError$("writeFile() is only supported on Node.js"));
  14417. return A._systemErrorToFileSystemException(new A.writeFile_closure(path, contents));
  14418. },
  14419. deleteFile(path) {
  14420. if (!A.isNodeJs())
  14421. throw A.wrapException(A.UnsupportedError$("deleteFile() is only supported on Node.js"));
  14422. return A._systemErrorToFileSystemException(new A.deleteFile_closure(path));
  14423. },
  14424. readStdin() {
  14425. return A.readStdin$body();
  14426. },
  14427. readStdin$body() {
  14428. var $async$goto = 0,
  14429. $async$completer = A._makeAsyncAwaitCompleter(type$.String),
  14430. $async$returnValue, t3, completer, sink, t1, t2;
  14431. var $async$readStdin = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  14432. if ($async$errorCode === 1)
  14433. return A._asyncRethrow($async$result, $async$completer);
  14434. while (true)
  14435. switch ($async$goto) {
  14436. case 0:
  14437. // Function start
  14438. t1 = {};
  14439. t2 = A.isNodeJs() ? self.process : null;
  14440. if (t2 == null)
  14441. throw A.wrapException(A.UnsupportedError$("readStdin() is only supported on Node.js"));
  14442. t3 = new A._Future($.Zone__current, type$._Future_String);
  14443. completer = new A._AsyncCompleter(t3, type$._AsyncCompleter_String);
  14444. t1.contents = null;
  14445. sink = new A._StringCallbackSink(new A.readStdin_closure(t1, completer), new A.StringBuffer("")).asUtf8Sink$1(false);
  14446. t1 = J.getInterceptor$x(t2);
  14447. J.on$2$x(t1.get$stdin(t2), "data", A.allowInterop(new A.readStdin_closure0(sink)));
  14448. J.on$2$x(t1.get$stdin(t2), "end", A.allowInterop(new A.readStdin_closure1(sink)));
  14449. J.on$2$x(t1.get$stdin(t2), "error", A.allowInterop(new A.readStdin_closure2(completer)));
  14450. $async$returnValue = t3;
  14451. // goto return
  14452. $async$goto = 1;
  14453. break;
  14454. case 1:
  14455. // return
  14456. return A._asyncReturn($async$returnValue, $async$completer);
  14457. }
  14458. });
  14459. return A._asyncStartSync($async$readStdin, $async$completer);
  14460. },
  14461. fileExists(path) {
  14462. if (!A.isNodeJs())
  14463. throw A.wrapException(A.UnsupportedError$(string$.fileEx));
  14464. return A._systemErrorToFileSystemException(new A.fileExists_closure(path));
  14465. },
  14466. dirExists(path) {
  14467. if (!A.isNodeJs())
  14468. throw A.wrapException(A.UnsupportedError$("dirExists() is only supported on Node.js"));
  14469. return A._systemErrorToFileSystemException(new A.dirExists_closure(path));
  14470. },
  14471. linkExists(path) {
  14472. if (!A.isNodeJs())
  14473. throw A.wrapException(A.UnsupportedError$(string$.linkEx));
  14474. return A._systemErrorToFileSystemException(new A.linkExists_closure(path));
  14475. },
  14476. ensureDir(path) {
  14477. if (!A.isNodeJs())
  14478. throw A.wrapException(A.UnsupportedError$("ensureDir() is only supported on Node.js"));
  14479. return A._systemErrorToFileSystemException(new A.ensureDir_closure(path));
  14480. },
  14481. listDir(path, recursive) {
  14482. if (!A.isNodeJs())
  14483. throw A.wrapException(A.UnsupportedError$("listDir() is only supported on Node.js"));
  14484. return A._systemErrorToFileSystemException(new A.listDir_closure(recursive, path));
  14485. },
  14486. realpath(path) {
  14487. if (!A.isNodeJs())
  14488. throw A.wrapException(A.UnsupportedError$("listDir() is only supported on Node.js"));
  14489. return A._systemErrorToFileSystemException(new A.realpath_closure(path));
  14490. },
  14491. modificationTime(path) {
  14492. if (!A.isNodeJs())
  14493. throw A.wrapException(A.UnsupportedError$("modificationTime() is only supported on Node.js"));
  14494. return A._systemErrorToFileSystemException(new A.modificationTime_closure(path));
  14495. },
  14496. getEnvironmentVariable($name) {
  14497. var t1 = A.isNodeJs() ? self.process : null,
  14498. env = t1 == null ? null : J.get$env$x(t1);
  14499. if (env == null)
  14500. t1 = null;
  14501. else
  14502. t1 = A._asStringQ(env[$name]);
  14503. return t1;
  14504. },
  14505. _systemErrorToFileSystemException(callback) {
  14506. var error, t1, exception, t2;
  14507. try {
  14508. t1 = callback.call$0();
  14509. return t1;
  14510. } catch (exception) {
  14511. error = A.unwrapException(exception);
  14512. if (!type$.JsSystemError._is(error))
  14513. throw exception;
  14514. t1 = error;
  14515. t2 = J.getInterceptor$x(t1);
  14516. 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)));
  14517. }
  14518. },
  14519. hasTerminal() {
  14520. var t1 = A.isNodeJs() ? self.process : null;
  14521. return J.$eq$(t1 == null ? null : J.get$isTTY$x(J.get$stdout$x(t1)), true);
  14522. },
  14523. isWindows() {
  14524. var t1 = A.isNodeJs() ? self.process : null;
  14525. return J.$eq$(t1 == null ? null : J.get$platform$x(t1), "win32");
  14526. },
  14527. watchDir(path, poll) {
  14528. return A.watchDir$body(path, poll);
  14529. },
  14530. watchDir$body(path, poll) {
  14531. var $async$goto = 0,
  14532. $async$completer = A._makeAsyncAwaitCompleter(type$.Stream_WatchEvent),
  14533. $async$returnValue, _0_0, t2, parcel, controller, watcher, t3, t1, $async$temp1, $async$temp2, $async$temp3;
  14534. var $async$watchDir = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  14535. if ($async$errorCode === 1)
  14536. return A._asyncRethrow($async$result, $async$completer);
  14537. while (true)
  14538. switch ($async$goto) {
  14539. case 0:
  14540. // Function start
  14541. t1 = {};
  14542. if (!A.isNodeJs())
  14543. throw A.wrapException(A.UnsupportedError$("watchDir() is only supported on Node.js"));
  14544. t1.controller = null;
  14545. _0_0 = init.G.parcel_watcher;
  14546. if (_0_0 != null) {
  14547. t2 = !poll;
  14548. parcel = _0_0;
  14549. } else {
  14550. parcel = null;
  14551. t2 = false;
  14552. }
  14553. $async$goto = t2 ? 3 : 5;
  14554. break;
  14555. case 3:
  14556. // then
  14557. $async$temp1 = t1;
  14558. $async$temp2 = A;
  14559. $async$temp3 = A;
  14560. $async$goto = 6;
  14561. return A._asyncAwait(A.ParcelWatcher_subscribe(parcel, path, new A.watchDir_closure0(t1)), $async$watchDir);
  14562. case 6:
  14563. // returning from await.
  14564. controller = $async$temp1.controller = $async$temp2.StreamController_StreamController(new $async$temp3.watchDir_closure($async$result), null, null, null, false, type$.WatchEvent);
  14565. $async$returnValue = new A._ControllerStream(controller, A._instanceType(controller)._eval$1("_ControllerStream<1>"));
  14566. // goto return
  14567. $async$goto = 1;
  14568. break;
  14569. // goto join
  14570. $async$goto = 4;
  14571. break;
  14572. case 5:
  14573. // else
  14574. watcher = J.watch$2$x(self.chokidar, path, {usePolling: poll});
  14575. t2 = J.getInterceptor$x(watcher);
  14576. t2.on$2(watcher, "add", A.allowInterop(new A.watchDir_closure1(t1)));
  14577. t2.on$2(watcher, "change", A.allowInterop(new A.watchDir_closure2(t1)));
  14578. t2.on$2(watcher, "unlink", A.allowInterop(new A.watchDir_closure3(t1)));
  14579. t2.on$2(watcher, "error", A.allowInterop(new A.watchDir_closure4(t1)));
  14580. t3 = new A._Future($.Zone__current, type$._Future_Stream_WatchEvent);
  14581. t2.on$2(watcher, "ready", A.allowInterop(new A.watchDir_closure5(t1, watcher, new A._AsyncCompleter(t3, type$._AsyncCompleter_Stream_WatchEvent))));
  14582. $async$returnValue = t3;
  14583. // goto return
  14584. $async$goto = 1;
  14585. break;
  14586. case 4:
  14587. // join
  14588. case 1:
  14589. // return
  14590. return A._asyncReturn($async$returnValue, $async$completer);
  14591. }
  14592. });
  14593. return A._asyncStartSync($async$watchDir, $async$completer);
  14594. },
  14595. FileSystemException: function FileSystemException(t0, t1) {
  14596. this.message = t0;
  14597. this.path = t1;
  14598. },
  14599. _readFile_closure: function _readFile_closure(t0, t1) {
  14600. this.path = t0;
  14601. this.encoding = t1;
  14602. },
  14603. writeFile_closure: function writeFile_closure(t0, t1) {
  14604. this.path = t0;
  14605. this.contents = t1;
  14606. },
  14607. deleteFile_closure: function deleteFile_closure(t0) {
  14608. this.path = t0;
  14609. },
  14610. readStdin_closure: function readStdin_closure(t0, t1) {
  14611. this._box_0 = t0;
  14612. this.completer = t1;
  14613. },
  14614. readStdin_closure0: function readStdin_closure0(t0) {
  14615. this.sink = t0;
  14616. },
  14617. readStdin_closure1: function readStdin_closure1(t0) {
  14618. this.sink = t0;
  14619. },
  14620. readStdin_closure2: function readStdin_closure2(t0) {
  14621. this.completer = t0;
  14622. },
  14623. fileExists_closure: function fileExists_closure(t0) {
  14624. this.path = t0;
  14625. },
  14626. dirExists_closure: function dirExists_closure(t0) {
  14627. this.path = t0;
  14628. },
  14629. linkExists_closure: function linkExists_closure(t0) {
  14630. this.path = t0;
  14631. },
  14632. ensureDir_closure: function ensureDir_closure(t0) {
  14633. this.path = t0;
  14634. },
  14635. listDir_closure: function listDir_closure(t0, t1) {
  14636. this.recursive = t0;
  14637. this.path = t1;
  14638. },
  14639. listDir__closure: function listDir__closure(t0) {
  14640. this.path = t0;
  14641. },
  14642. listDir__closure0: function listDir__closure0() {
  14643. },
  14644. listDir_closure_list: function listDir_closure_list() {
  14645. },
  14646. listDir__list_closure: function listDir__list_closure(t0, t1) {
  14647. this.parent = t0;
  14648. this.list = t1;
  14649. },
  14650. realpath_closure: function realpath_closure(t0) {
  14651. this.path = t0;
  14652. },
  14653. modificationTime_closure: function modificationTime_closure(t0) {
  14654. this.path = t0;
  14655. },
  14656. watchDir_closure0: function watchDir_closure0(t0) {
  14657. this._box_0 = t0;
  14658. },
  14659. watchDir_closure: function watchDir_closure(t0) {
  14660. this.subscription = t0;
  14661. },
  14662. watchDir_closure1: function watchDir_closure1(t0) {
  14663. this._box_0 = t0;
  14664. },
  14665. watchDir_closure2: function watchDir_closure2(t0) {
  14666. this._box_0 = t0;
  14667. },
  14668. watchDir_closure3: function watchDir_closure3(t0) {
  14669. this._box_0 = t0;
  14670. },
  14671. watchDir_closure4: function watchDir_closure4(t0) {
  14672. this._box_0 = t0;
  14673. },
  14674. watchDir_closure5: function watchDir_closure5(t0, t1, t2) {
  14675. this._box_0 = t0;
  14676. this.watcher = t1;
  14677. this.completer = t2;
  14678. },
  14679. watchDir__closure: function watchDir__closure(t0) {
  14680. this.watcher = t0;
  14681. },
  14682. JSArray0: function JSArray0() {
  14683. },
  14684. Chokidar: function Chokidar() {
  14685. },
  14686. ChokidarOptions: function ChokidarOptions() {
  14687. },
  14688. ChokidarWatcher: function ChokidarWatcher() {
  14689. },
  14690. JSFunction: function JSFunction() {
  14691. },
  14692. ImmutableList: function ImmutableList() {
  14693. },
  14694. ImmutableMap: function ImmutableMap() {
  14695. },
  14696. NodeImporterResult: function NodeImporterResult() {
  14697. },
  14698. RenderContext: function RenderContext() {
  14699. },
  14700. RenderContextOptions: function RenderContextOptions() {
  14701. },
  14702. RenderContextResult: function RenderContextResult() {
  14703. },
  14704. RenderContextResultStats: function RenderContextResultStats() {
  14705. },
  14706. JSModule: function JSModule() {
  14707. },
  14708. JSModuleRequire: function JSModuleRequire() {
  14709. },
  14710. ParcelWatcher_subscribe(_this, path, callback) {
  14711. var result,
  14712. t1 = new A.ParcelWatcher_subscribe_closure(callback);
  14713. if (typeof t1 == "function")
  14714. A.throwExpression(A.ArgumentError$("Attempting to rewrap a JS function.", null));
  14715. result = function(_call, f) {
  14716. return function(arg1, arg2) {
  14717. return _call(f, arg1, arg2, arguments.length);
  14718. };
  14719. }(A._callDartFunctionFast2, t1);
  14720. result[$.$get$DART_CLOSURE_PROPERTY_NAME()] = t1;
  14721. return A.promiseToFuture(_this.subscribe(path, result), type$.JSObject);
  14722. },
  14723. ParcelWatcher_subscribe_closure: function ParcelWatcher_subscribe_closure(t0) {
  14724. this.callback = t0;
  14725. },
  14726. JSClass: function JSClass() {
  14727. },
  14728. JSUrl: function JSUrl() {
  14729. },
  14730. jsThrow0(error) {
  14731. return type$.Never._as($.$get$_jsThrow0().call$1(error));
  14732. },
  14733. _PropertyDescriptor: function _PropertyDescriptor() {
  14734. },
  14735. _RequireMain: function _RequireMain() {
  14736. },
  14737. WarnForDeprecation_warnForDeprecation(_this, deprecation, message, span, trace) {
  14738. _this.internalWarn$4$deprecation$span$trace(message, deprecation, span, trace);
  14739. },
  14740. LoggerWithDeprecationType: function LoggerWithDeprecationType() {
  14741. },
  14742. _QuietLogger: function _QuietLogger() {
  14743. },
  14744. DeprecationProcessingLogger: function DeprecationProcessingLogger(t0, t1, t2, t3, t4, t5) {
  14745. var _ = this;
  14746. _._warningCounts = t0;
  14747. _._inner = t1;
  14748. _.silenceDeprecations = t2;
  14749. _.fatalDeprecations = t3;
  14750. _.futureDeprecations = t4;
  14751. _.limitRepetition = t5;
  14752. },
  14753. DeprecationProcessingLogger_summarize_closure: function DeprecationProcessingLogger_summarize_closure() {
  14754. },
  14755. DeprecationProcessingLogger_summarize_closure0: function DeprecationProcessingLogger_summarize_closure0() {
  14756. },
  14757. StderrLogger: function StderrLogger(t0) {
  14758. this.color = t0;
  14759. },
  14760. TrackingLogger: function TrackingLogger(t0) {
  14761. this._tracking$_logger = t0;
  14762. this._emittedDebug = this._emittedWarning = false;
  14763. },
  14764. BuiltInModule$($name, functions, mixins, variables, $T) {
  14765. var t1 = A._Uri__Uri(null, $name, null, "sass"),
  14766. t2 = A.BuiltInModule__callableMap(functions, $T),
  14767. t3 = A.BuiltInModule__callableMap(mixins, $T),
  14768. t4 = variables == null ? B.Map_empty5 : new A.UnmodifiableMapView(variables, type$.UnmodifiableMapView_String_Value);
  14769. return new A.BuiltInModule(t1, t2, t3, t4, $T._eval$1("BuiltInModule<0>"));
  14770. },
  14771. BuiltInModule__callableMap(callables, $T) {
  14772. var t2, _i, callable,
  14773. t1 = type$.String;
  14774. if (callables == null)
  14775. t1 = A.LinkedHashMap_LinkedHashMap$_empty(t1, $T);
  14776. else {
  14777. t1 = A.LinkedHashMap_LinkedHashMap$_empty(t1, $T);
  14778. for (t2 = callables.length, _i = 0; _i < callables.length; callables.length === t2 || (0, A.throwConcurrentModificationError)(callables), ++_i) {
  14779. callable = callables[_i];
  14780. t1.$indexSet(0, callable.get$name(callable), callable);
  14781. }
  14782. t1 = new A.UnmodifiableMapView(t1, type$.$env_1_1_String._bind$1($T)._eval$1("UnmodifiableMapView<1,2>"));
  14783. }
  14784. return new A.UnmodifiableMapView(t1, type$.$env_1_1_String._bind$1($T)._eval$1("UnmodifiableMapView<1,2>"));
  14785. },
  14786. BuiltInModule: function BuiltInModule(t0, t1, t2, t3, t4) {
  14787. var _ = this;
  14788. _.url = t0;
  14789. _.functions = t1;
  14790. _.mixins = t2;
  14791. _.variables = t3;
  14792. _.$ti = t4;
  14793. },
  14794. ForwardedModuleView_ifNecessary(inner, rule, $T) {
  14795. var t2,
  14796. t1 = false;
  14797. if (rule.prefix == null)
  14798. if (rule.shownMixinsAndFunctions == null)
  14799. if (rule.shownVariables == null) {
  14800. t2 = rule.hiddenMixinsAndFunctions;
  14801. t2 = t2 == null ? null : t2._base.get$isEmpty(0);
  14802. if (t2 === true) {
  14803. t1 = rule.hiddenVariables;
  14804. t1 = t1 == null ? null : t1._base.get$isEmpty(0);
  14805. t1 = t1 === true;
  14806. }
  14807. }
  14808. if (t1)
  14809. return inner;
  14810. else
  14811. return A.ForwardedModuleView$(inner, rule, $T);
  14812. },
  14813. ForwardedModuleView$(_inner, _rule, $T) {
  14814. var t1 = _rule.prefix,
  14815. t2 = _rule.shownVariables,
  14816. t3 = _rule.hiddenVariables,
  14817. t4 = _rule.shownMixinsAndFunctions,
  14818. t5 = _rule.hiddenMixinsAndFunctions;
  14819. 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>"));
  14820. },
  14821. ForwardedModuleView__forwardedMap(map, prefix, safelist, blocklist, $V) {
  14822. var t1 = prefix == null,
  14823. t2 = false;
  14824. if (t1)
  14825. if (safelist == null)
  14826. t2 = blocklist == null || blocklist._base.get$isEmpty(0);
  14827. if (t2)
  14828. return map;
  14829. if (!t1)
  14830. map = new A.PrefixedMapView(map, prefix, $V._eval$1("PrefixedMapView<0>"));
  14831. if (safelist != null)
  14832. 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>"));
  14833. else if (blocklist != null && blocklist._base.get$isNotEmpty(0))
  14834. map = A.LimitedMapView$blocklist(map, blocklist, type$.String, $V);
  14835. return map;
  14836. },
  14837. ForwardedModuleView: function ForwardedModuleView(t0, t1, t2, t3, t4, t5, t6) {
  14838. var _ = this;
  14839. _._forwarded_view$_inner = t0;
  14840. _._rule = t1;
  14841. _.variables = t2;
  14842. _.variableNodes = t3;
  14843. _.functions = t4;
  14844. _.mixins = t5;
  14845. _.$ti = t6;
  14846. },
  14847. ShadowedModuleView_ifNecessary(inner, functions, mixins, variables, $T) {
  14848. 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;
  14849. },
  14850. ShadowedModuleView__shadowedMap(map, blocklist, $V) {
  14851. var t1 = A.ShadowedModuleView__needsBlocklist(map, blocklist);
  14852. return !t1 ? map : A.LimitedMapView$blocklist(map, blocklist, type$.String, $V);
  14853. },
  14854. ShadowedModuleView__needsBlocklist(map, blocklist) {
  14855. return map.get$isNotEmpty(map) && blocklist.any$1(0, map.get$containsKey());
  14856. },
  14857. ShadowedModuleView: function ShadowedModuleView(t0, t1, t2, t3, t4, t5) {
  14858. var _ = this;
  14859. _._shadowed_view$_inner = t0;
  14860. _.variables = t1;
  14861. _.variableNodes = t2;
  14862. _.functions = t3;
  14863. _.mixins = t4;
  14864. _.$ti = t5;
  14865. },
  14866. AtRootQueryParser: function AtRootQueryParser(t0, t1) {
  14867. this.scanner = t0;
  14868. this._interpolationMap = t1;
  14869. },
  14870. AtRootQueryParser_parse_closure: function AtRootQueryParser_parse_closure(t0) {
  14871. this.$this = t0;
  14872. },
  14873. _disallowedFunctionNames_closure: function _disallowedFunctionNames_closure() {
  14874. },
  14875. CssParser: function CssParser(t0, t1, t2, t3) {
  14876. var _ = this;
  14877. _._isUseAllowed = true;
  14878. _._inExpression = _._inParentheses = _._inStyleRule = _._stylesheet$_inUnknownAtRule = _._inControlDirective = _._inContentBlock = _._stylesheet$_inMixin = false;
  14879. _._globalVariables = t0;
  14880. _.warnings = t1;
  14881. _.lastSilentComment = null;
  14882. _.scanner = t2;
  14883. _._interpolationMap = t3;
  14884. },
  14885. KeyframeSelectorParser: function KeyframeSelectorParser(t0, t1) {
  14886. this.scanner = t0;
  14887. this._interpolationMap = t1;
  14888. },
  14889. KeyframeSelectorParser_parse_closure: function KeyframeSelectorParser_parse_closure(t0) {
  14890. this.$this = t0;
  14891. },
  14892. MediaQueryParser: function MediaQueryParser(t0, t1) {
  14893. this.scanner = t0;
  14894. this._interpolationMap = t1;
  14895. },
  14896. MediaQueryParser_parse_closure: function MediaQueryParser_parse_closure(t0) {
  14897. this.$this = t0;
  14898. },
  14899. Parser_isIdentifier(text) {
  14900. var exception;
  14901. try {
  14902. new A.Parser(A.SpanScanner$(text, null), null)._parseIdentifier$0();
  14903. return true;
  14904. } catch (exception) {
  14905. if (type$.SassFormatException._is(A.unwrapException(exception)))
  14906. return false;
  14907. else
  14908. throw exception;
  14909. }
  14910. },
  14911. Parser: function Parser(t0, t1) {
  14912. this.scanner = t0;
  14913. this._interpolationMap = t1;
  14914. },
  14915. Parser__parseIdentifier_closure: function Parser__parseIdentifier_closure(t0) {
  14916. this.$this = t0;
  14917. },
  14918. Parser_escape_closure: function Parser_escape_closure() {
  14919. },
  14920. Parser_scanIdentChar_matches: function Parser_scanIdentChar_matches(t0, t1) {
  14921. this.caseSensitive = t0;
  14922. this.char = t1;
  14923. },
  14924. Parser_spanFrom_closure: function Parser_spanFrom_closure(t0, t1) {
  14925. this.$this = t0;
  14926. this.span = t1;
  14927. },
  14928. SassParser: function SassParser(t0, t1, t2, t3) {
  14929. var _ = this;
  14930. _._currentIndentation = 0;
  14931. _._spaces = _._nextIndentationEnd = _._nextIndentation = null;
  14932. _._isUseAllowed = true;
  14933. _._inExpression = _._inParentheses = _._inStyleRule = _._stylesheet$_inUnknownAtRule = _._inControlDirective = _._inContentBlock = _._stylesheet$_inMixin = false;
  14934. _._globalVariables = t0;
  14935. _.warnings = t1;
  14936. _.lastSilentComment = null;
  14937. _.scanner = t2;
  14938. _._interpolationMap = t3;
  14939. },
  14940. SassParser_styleRuleSelector_closure: function SassParser_styleRuleSelector_closure() {
  14941. },
  14942. SassParser_children_closure: function SassParser_children_closure(t0, t1, t2) {
  14943. this.$this = t0;
  14944. this.child = t1;
  14945. this.children = t2;
  14946. },
  14947. SassParser__peekIndentation_closure: function SassParser__peekIndentation_closure() {
  14948. },
  14949. SassParser__peekIndentation_closure0: function SassParser__peekIndentation_closure0() {
  14950. },
  14951. SassParser__tryTrailingSemicolon_closure: function SassParser__tryTrailingSemicolon_closure() {
  14952. },
  14953. ScssParser$(contents, url) {
  14954. 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);
  14955. },
  14956. ScssParser: function ScssParser(t0, t1, t2, t3) {
  14957. var _ = this;
  14958. _._isUseAllowed = true;
  14959. _._inExpression = _._inParentheses = _._inStyleRule = _._stylesheet$_inUnknownAtRule = _._inControlDirective = _._inContentBlock = _._stylesheet$_inMixin = false;
  14960. _._globalVariables = t0;
  14961. _.warnings = t1;
  14962. _.lastSilentComment = null;
  14963. _.scanner = t2;
  14964. _._interpolationMap = t3;
  14965. },
  14966. SelectorParser: function SelectorParser(t0, t1, t2, t3) {
  14967. var _ = this;
  14968. _._allowParent = t0;
  14969. _._plainCss = t1;
  14970. _.scanner = t2;
  14971. _._interpolationMap = t3;
  14972. },
  14973. SelectorParser_parse_closure: function SelectorParser_parse_closure(t0) {
  14974. this.$this = t0;
  14975. },
  14976. SelectorParser_parseCompoundSelector_closure: function SelectorParser_parseCompoundSelector_closure(t0) {
  14977. this.$this = t0;
  14978. },
  14979. StylesheetParser: function StylesheetParser() {
  14980. },
  14981. StylesheetParser_parse_closure: function StylesheetParser_parse_closure(t0) {
  14982. this.$this = t0;
  14983. },
  14984. StylesheetParser_parse__closure: function StylesheetParser_parse__closure(t0) {
  14985. this.$this = t0;
  14986. },
  14987. StylesheetParser_parseParameterList_closure: function StylesheetParser_parseParameterList_closure(t0) {
  14988. this.$this = t0;
  14989. },
  14990. StylesheetParser_parseVariableDeclaration_closure: function StylesheetParser_parseVariableDeclaration_closure(t0) {
  14991. this.$this = t0;
  14992. },
  14993. StylesheetParser_parseUseRule_closure: function StylesheetParser_parseUseRule_closure(t0) {
  14994. this.$this = t0;
  14995. },
  14996. StylesheetParser__parseSingleProduction_closure: function StylesheetParser__parseSingleProduction_closure(t0, t1, t2) {
  14997. this.$this = t0;
  14998. this.production = t1;
  14999. this.T = t2;
  15000. },
  15001. StylesheetParser__statement_closure: function StylesheetParser__statement_closure(t0) {
  15002. this.$this = t0;
  15003. },
  15004. StylesheetParser_variableDeclarationWithoutNamespace_closure: function StylesheetParser_variableDeclarationWithoutNamespace_closure(t0, t1) {
  15005. this.$this = t0;
  15006. this.start = t1;
  15007. },
  15008. StylesheetParser_variableDeclarationWithoutNamespace_closure0: function StylesheetParser_variableDeclarationWithoutNamespace_closure0(t0) {
  15009. this.declaration = t0;
  15010. },
  15011. StylesheetParser__declarationOrBuffer_closure: function StylesheetParser__declarationOrBuffer_closure(t0) {
  15012. this.$this = t0;
  15013. },
  15014. StylesheetParser__declarationOrBuffer_closure0: function StylesheetParser__declarationOrBuffer_closure0(t0) {
  15015. this.$this = t0;
  15016. },
  15017. StylesheetParser__declarationOrBuffer_closure1: function StylesheetParser__declarationOrBuffer_closure1(t0) {
  15018. this.$this = t0;
  15019. },
  15020. StylesheetParser__styleRule_closure: function StylesheetParser__styleRule_closure(t0, t1, t2, t3) {
  15021. var _ = this;
  15022. _._box_0 = t0;
  15023. _.$this = t1;
  15024. _.wasInStyleRule = t2;
  15025. _.start = t3;
  15026. },
  15027. StylesheetParser__propertyOrVariableDeclaration_closure: function StylesheetParser__propertyOrVariableDeclaration_closure(t0) {
  15028. this.$this = t0;
  15029. },
  15030. StylesheetParser__tryDeclarationChildren_closure: function StylesheetParser__tryDeclarationChildren_closure(t0, t1) {
  15031. this.name = t0;
  15032. this.value = t1;
  15033. },
  15034. StylesheetParser__atRootRule_closure: function StylesheetParser__atRootRule_closure(t0) {
  15035. this.query = t0;
  15036. },
  15037. StylesheetParser__atRootRule_closure0: function StylesheetParser__atRootRule_closure0() {
  15038. },
  15039. StylesheetParser__eachRule_closure: function StylesheetParser__eachRule_closure(t0, t1, t2, t3) {
  15040. var _ = this;
  15041. _.$this = t0;
  15042. _.wasInControlDirective = t1;
  15043. _.variables = t2;
  15044. _.list = t3;
  15045. },
  15046. StylesheetParser__functionRule_closure: function StylesheetParser__functionRule_closure(t0, t1, t2) {
  15047. this.name = t0;
  15048. this.parameters = t1;
  15049. this.precedingComment = t2;
  15050. },
  15051. StylesheetParser__forRule_closure: function StylesheetParser__forRule_closure(t0, t1) {
  15052. this._box_0 = t0;
  15053. this.$this = t1;
  15054. },
  15055. StylesheetParser__forRule_closure0: function StylesheetParser__forRule_closure0(t0, t1, t2, t3, t4, t5) {
  15056. var _ = this;
  15057. _._box_0 = t0;
  15058. _.$this = t1;
  15059. _.wasInControlDirective = t2;
  15060. _.variable = t3;
  15061. _.from = t4;
  15062. _.to = t5;
  15063. },
  15064. StylesheetParser__memberList_closure: function StylesheetParser__memberList_closure(t0, t1, t2) {
  15065. this.$this = t0;
  15066. this.variables = t1;
  15067. this.identifiers = t2;
  15068. },
  15069. StylesheetParser__includeRule_closure: function StylesheetParser__includeRule_closure(t0) {
  15070. this.contentParameters_ = t0;
  15071. },
  15072. StylesheetParser_mediaRule_closure: function StylesheetParser_mediaRule_closure(t0) {
  15073. this.query = t0;
  15074. },
  15075. StylesheetParser__mixinRule_closure: function StylesheetParser__mixinRule_closure(t0, t1, t2, t3) {
  15076. var _ = this;
  15077. _.$this = t0;
  15078. _.name = t1;
  15079. _.parameters = t2;
  15080. _.precedingComment = t3;
  15081. },
  15082. StylesheetParser_mozDocumentRule_closure: function StylesheetParser_mozDocumentRule_closure(t0) {
  15083. this.$this = t0;
  15084. },
  15085. StylesheetParser_mozDocumentRule_closure0: function StylesheetParser_mozDocumentRule_closure0(t0, t1, t2, t3) {
  15086. var _ = this;
  15087. _._box_0 = t0;
  15088. _.$this = t1;
  15089. _.name = t2;
  15090. _.value = t3;
  15091. },
  15092. StylesheetParser_supportsRule_closure: function StylesheetParser_supportsRule_closure(t0) {
  15093. this.condition = t0;
  15094. },
  15095. StylesheetParser__whileRule_closure: function StylesheetParser__whileRule_closure(t0, t1, t2) {
  15096. this.$this = t0;
  15097. this.wasInControlDirective = t1;
  15098. this.condition = t2;
  15099. },
  15100. StylesheetParser_unknownAtRule_closure: function StylesheetParser_unknownAtRule_closure(t0, t1) {
  15101. this._box_0 = t0;
  15102. this.name = t1;
  15103. },
  15104. StylesheetParser__expression_resetState: function StylesheetParser__expression_resetState(t0, t1, t2) {
  15105. this._box_0 = t0;
  15106. this.$this = t1;
  15107. this.start = t2;
  15108. },
  15109. StylesheetParser__expression_resolveOneOperation: function StylesheetParser__expression_resolveOneOperation(t0, t1) {
  15110. this._box_0 = t0;
  15111. this.$this = t1;
  15112. },
  15113. StylesheetParser__expression_resolveOperations: function StylesheetParser__expression_resolveOperations(t0, t1) {
  15114. this._box_0 = t0;
  15115. this.resolveOneOperation = t1;
  15116. },
  15117. StylesheetParser__expression_addSingleExpression: function StylesheetParser__expression_addSingleExpression(t0, t1, t2, t3) {
  15118. var _ = this;
  15119. _._box_0 = t0;
  15120. _.$this = t1;
  15121. _.resetState = t2;
  15122. _.resolveOperations = t3;
  15123. },
  15124. StylesheetParser__expression_addOperator: function StylesheetParser__expression_addOperator(t0, t1, t2, t3) {
  15125. var _ = this;
  15126. _._box_0 = t0;
  15127. _.$this = t1;
  15128. _.resolveOneOperation = t2;
  15129. _.addSingleExpression = t3;
  15130. },
  15131. StylesheetParser__expression_resolveSpaceExpressions: function StylesheetParser__expression_resolveSpaceExpressions(t0, t1, t2) {
  15132. this._box_0 = t0;
  15133. this.$this = t1;
  15134. this.resolveOperations = t2;
  15135. },
  15136. StylesheetParser_expressionUntilComma_closure: function StylesheetParser_expressionUntilComma_closure(t0) {
  15137. this.$this = t0;
  15138. },
  15139. StylesheetParser__isHexColor_closure: function StylesheetParser__isHexColor_closure() {
  15140. },
  15141. StylesheetParser__unicodeRange_closure: function StylesheetParser__unicodeRange_closure() {
  15142. },
  15143. StylesheetParser__unicodeRange_closure0: function StylesheetParser__unicodeRange_closure0() {
  15144. },
  15145. StylesheetParser_namespacedExpression_closure: function StylesheetParser_namespacedExpression_closure(t0, t1) {
  15146. this.$this = t0;
  15147. this.start = t1;
  15148. },
  15149. StylesheetParser_trySpecialFunction_closure: function StylesheetParser_trySpecialFunction_closure() {
  15150. },
  15151. StylesheetParser__expressionUntilComparison_closure: function StylesheetParser__expressionUntilComparison_closure(t0) {
  15152. this.$this = t0;
  15153. },
  15154. StylesheetParser__publicIdentifier_closure: function StylesheetParser__publicIdentifier_closure(t0, t1) {
  15155. this.$this = t0;
  15156. this.start = t1;
  15157. },
  15158. StylesheetNode$_(_stylesheet, importer, canonicalUrl, allUpstream) {
  15159. var t1 = new A.StylesheetNode(_stylesheet, importer, canonicalUrl, allUpstream._1, allUpstream._0, A.LinkedHashSet_LinkedHashSet$_empty(type$.StylesheetNode));
  15160. t1.StylesheetNode$_$4(_stylesheet, importer, canonicalUrl, allUpstream);
  15161. return t1;
  15162. },
  15163. StylesheetGraph: function StylesheetGraph(t0, t1, t2) {
  15164. this._nodes = t0;
  15165. this.importCache = t1;
  15166. this._transitiveModificationTimes = t2;
  15167. },
  15168. StylesheetGraph_modifiedSince_transitiveModificationTime: function StylesheetGraph_modifiedSince_transitiveModificationTime(t0) {
  15169. this.$this = t0;
  15170. },
  15171. StylesheetGraph_modifiedSince_transitiveModificationTime_closure: function StylesheetGraph_modifiedSince_transitiveModificationTime_closure(t0, t1) {
  15172. this.node = t0;
  15173. this.transitiveModificationTime = t1;
  15174. },
  15175. StylesheetGraph__add_closure: function StylesheetGraph__add_closure(t0, t1, t2, t3) {
  15176. var _ = this;
  15177. _.$this = t0;
  15178. _.url = t1;
  15179. _.baseImporter = t2;
  15180. _.baseUrl = t3;
  15181. },
  15182. StylesheetGraph_addCanonical_closure: function StylesheetGraph_addCanonical_closure(t0, t1, t2, t3) {
  15183. var _ = this;
  15184. _.$this = t0;
  15185. _.importer = t1;
  15186. _.canonicalUrl = t2;
  15187. _.originalUrl = t3;
  15188. },
  15189. StylesheetGraph_reload_closure: function StylesheetGraph_reload_closure(t0, t1, t2) {
  15190. this.$this = t0;
  15191. this.node = t1;
  15192. this.canonicalUrl = t2;
  15193. },
  15194. StylesheetGraph__nodeFor_closure: function StylesheetGraph__nodeFor_closure(t0, t1, t2, t3, t4) {
  15195. var _ = this;
  15196. _.$this = t0;
  15197. _.url = t1;
  15198. _.baseImporter = t2;
  15199. _.baseUrl = t3;
  15200. _.forImport = t4;
  15201. },
  15202. StylesheetGraph__nodeFor_closure0: function StylesheetGraph__nodeFor_closure0(t0, t1) {
  15203. this._box_0 = t0;
  15204. this.$this = t1;
  15205. },
  15206. StylesheetNode: function StylesheetNode(t0, t1, t2, t3, t4, t5) {
  15207. var _ = this;
  15208. _._stylesheet = t0;
  15209. _.importer = t1;
  15210. _.canonicalUrl = t2;
  15211. _._upstream = t3;
  15212. _._upstreamImports = t4;
  15213. _._downstream = t5;
  15214. },
  15215. Syntax_forPath(path) {
  15216. var t1,
  15217. _0_0 = A.ParsedPath_ParsedPath$parse(path, $.$get$context().style)._splitExtension$1(1)[1];
  15218. $label0$0: {
  15219. if (".sass" === _0_0) {
  15220. t1 = B.Syntax_Sass_sass;
  15221. break $label0$0;
  15222. }
  15223. if (".css" === _0_0) {
  15224. t1 = B.Syntax_CSS_css;
  15225. break $label0$0;
  15226. }
  15227. t1 = B.Syntax_SCSS_scss;
  15228. break $label0$0;
  15229. }
  15230. return t1;
  15231. },
  15232. Syntax: function Syntax(t0, t1) {
  15233. this._syntax$_name = t0;
  15234. this._name = t1;
  15235. },
  15236. Box: function Box(t0, t1) {
  15237. this._box$_inner = t0;
  15238. this.$ti = t1;
  15239. },
  15240. ModifiableBox: function ModifiableBox(t0, t1) {
  15241. this.value = t0;
  15242. this.$ti = t1;
  15243. },
  15244. LazyFileSpan: function LazyFileSpan(t0) {
  15245. this._builder = t0;
  15246. this._lazy_file_span$_span = null;
  15247. },
  15248. LimitedMapView$blocklist(_map, blocklist, $K, $V) {
  15249. var t2, key,
  15250. t1 = A.LinkedHashSet_LinkedHashSet$_empty($K);
  15251. for (t2 = J.get$iterator$ax(_map.get$keys(_map)); t2.moveNext$0();) {
  15252. key = t2.get$current(t2);
  15253. if (!blocklist.contains$1(0, key))
  15254. t1.add$1(0, key);
  15255. }
  15256. return new A.LimitedMapView(_map, t1, $K._eval$1("@<0>")._bind$1($V)._eval$1("LimitedMapView<1,2>"));
  15257. },
  15258. LimitedMapView: function LimitedMapView(t0, t1, t2) {
  15259. this._limited_map_view$_map = t0;
  15260. this._limited_map_view$_keys = t1;
  15261. this.$ti = t2;
  15262. },
  15263. MapExtensions_get_pairs(_this, $K, $V) {
  15264. var t1 = _this.get$entries(_this);
  15265. 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)"));
  15266. },
  15267. MapExtensions_get_pairs_closure: function MapExtensions_get_pairs_closure(t0, t1) {
  15268. this.K = t0;
  15269. this.V = t1;
  15270. },
  15271. MergedMapView$(maps, $K, $V) {
  15272. var t1 = $K._eval$1("@<0>")._bind$1($V);
  15273. t1 = new A.MergedMapView(A.LinkedHashMap_LinkedHashMap$_empty($K, t1._eval$1("Map<1,2>")), t1._eval$1("MergedMapView<1,2>"));
  15274. t1.MergedMapView$1(maps, $K, $V);
  15275. return t1;
  15276. },
  15277. MergedMapView: function MergedMapView(t0, t1) {
  15278. this._mapsByKey = t0;
  15279. this.$ti = t1;
  15280. },
  15281. MultiDirWatcher: function MultiDirWatcher(t0, t1, t2) {
  15282. this._watchers = t0;
  15283. this._group = t1;
  15284. this._poll = t2;
  15285. },
  15286. MultiSpan: function MultiSpan(t0, t1, t2) {
  15287. this._multi_span$_primary = t0;
  15288. this.primaryLabel = t1;
  15289. this.secondarySpans = t2;
  15290. },
  15291. NoSourceMapBuffer: function NoSourceMapBuffer(t0) {
  15292. this._no_source_map_buffer$_buffer = t0;
  15293. },
  15294. PrefixedMapView: function PrefixedMapView(t0, t1, t2) {
  15295. this._prefixed_map_view$_map = t0;
  15296. this._prefix = t1;
  15297. this.$ti = t2;
  15298. },
  15299. _PrefixedKeys: function _PrefixedKeys(t0) {
  15300. this._view = t0;
  15301. },
  15302. _PrefixedKeys_iterator_closure: function _PrefixedKeys_iterator_closure(t0) {
  15303. this.$this = t0;
  15304. },
  15305. PublicMemberMapView: function PublicMemberMapView(t0, t1) {
  15306. this._public_member_map_view$_inner = t0;
  15307. this.$ti = t1;
  15308. },
  15309. SourceMapBuffer: function SourceMapBuffer(t0, t1) {
  15310. var _ = this;
  15311. _._source_map_buffer$_buffer = t0;
  15312. _._entries = t1;
  15313. _._column = _._line = 0;
  15314. _._inSpan = false;
  15315. },
  15316. SourceMapBuffer_buildSourceMap_closure: function SourceMapBuffer_buildSourceMap_closure(t0, t1) {
  15317. this._box_0 = t0;
  15318. this.prefixLength = t1;
  15319. },
  15320. UnprefixedMapView: function UnprefixedMapView(t0, t1, t2) {
  15321. this._unprefixed_map_view$_map = t0;
  15322. this._unprefixed_map_view$_prefix = t1;
  15323. this.$ti = t2;
  15324. },
  15325. _UnprefixedKeys: function _UnprefixedKeys(t0) {
  15326. this._unprefixed_map_view$_view = t0;
  15327. },
  15328. _UnprefixedKeys_iterator_closure: function _UnprefixedKeys_iterator_closure(t0) {
  15329. this.$this = t0;
  15330. },
  15331. _UnprefixedKeys_iterator_closure0: function _UnprefixedKeys_iterator_closure0(t0) {
  15332. this.$this = t0;
  15333. },
  15334. toSentence(iter, conjunction) {
  15335. if (iter.get$length(iter) === 1)
  15336. return J.toString$0$(iter.get$first(iter));
  15337. return A.IterableExtension_get_exceptLast(iter).join$1(0, ", ") + (" " + conjunction + " " + A.S(iter.get$last(iter)));
  15338. },
  15339. indent(string, indentation) {
  15340. 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");
  15341. },
  15342. pluralize($name, number, plural) {
  15343. if (number === 1)
  15344. return $name;
  15345. if (plural != null)
  15346. return plural;
  15347. return $name + "s";
  15348. },
  15349. trimAscii(string, excludeEscape) {
  15350. var t1,
  15351. start = A._firstNonWhitespace(string);
  15352. if (start == null)
  15353. t1 = "";
  15354. else {
  15355. t1 = A._lastNonWhitespace(string, true);
  15356. t1.toString;
  15357. t1 = B.JSString_methods.substring$2(string, start, t1 + 1);
  15358. }
  15359. return t1;
  15360. },
  15361. trimAsciiRight(string, excludeEscape) {
  15362. var end = A._lastNonWhitespace(string, excludeEscape);
  15363. return end == null ? "" : B.JSString_methods.substring$2(string, 0, end + 1);
  15364. },
  15365. _firstNonWhitespace(string) {
  15366. var t1, i, t2;
  15367. for (t1 = string.length, i = 0; i < t1; ++i) {
  15368. t2 = string.charCodeAt(i);
  15369. if (!(t2 === 32 || t2 === 9 || t2 === 10 || t2 === 13 || t2 === 12))
  15370. return i;
  15371. }
  15372. return null;
  15373. },
  15374. _lastNonWhitespace(string, excludeEscape) {
  15375. var i, i0, codeUnit;
  15376. for (i = string.length - 1, i0 = i; i0 >= 0; --i0) {
  15377. codeUnit = string.charCodeAt(i0);
  15378. if (!(codeUnit === 32 || codeUnit === 9 || codeUnit === 10 || codeUnit === 13 || codeUnit === 12))
  15379. if (excludeEscape && i0 !== 0 && i0 !== i && codeUnit === 92)
  15380. return i0 + 1;
  15381. else
  15382. return i0;
  15383. }
  15384. return null;
  15385. },
  15386. isPublic(member) {
  15387. var start = member.charCodeAt(0);
  15388. return start !== 45 && start !== 95;
  15389. },
  15390. flattenVertically(iterable, $T) {
  15391. var result,
  15392. t1 = iterable.$ti._eval$1("@<ListIterable.E>")._bind$1($T._eval$1("QueueList<0>"))._eval$1("MappedListIterable<1,2>"),
  15393. queues = A.List_List$_of(new A.MappedListIterable(iterable, new A.flattenVertically_closure($T), t1), t1._eval$1("ListIterable.E"));
  15394. if (queues.length === 1)
  15395. return B.JSArray_methods.get$first(queues);
  15396. result = A._setArrayType([], $T._eval$1("JSArray<0>"));
  15397. for (; queues.length !== 0;) {
  15398. queues.$flags & 1 && A.throwUnsupportedOperation(queues, 16);
  15399. B.JSArray_methods._removeWhere$2(queues, new A.flattenVertically_closure0(result, $T), true);
  15400. }
  15401. return result;
  15402. },
  15403. codepointIndexToCodeUnitIndex(string, codepointIndex) {
  15404. var codeUnitIndex, i, codeUnitIndex0;
  15405. for (codeUnitIndex = 0, i = 0; i < codepointIndex; ++i) {
  15406. codeUnitIndex0 = codeUnitIndex + 1;
  15407. codeUnitIndex = string.charCodeAt(codeUnitIndex) >>> 10 === 54 ? codeUnitIndex0 + 1 : codeUnitIndex0;
  15408. }
  15409. return codeUnitIndex;
  15410. },
  15411. codeUnitIndexToCodepointIndex(string, codeUnitIndex) {
  15412. var codepointIndex, i;
  15413. for (codepointIndex = 0, i = 0; i < codeUnitIndex; i = (string.charCodeAt(i) >>> 10 === 54 ? i + 1 : i) + 1)
  15414. ++codepointIndex;
  15415. return codepointIndex;
  15416. },
  15417. frameForSpan(span, member, url) {
  15418. var t2, t3,
  15419. t1 = url == null ? span.get$sourceUrl(span) : url;
  15420. if (t1 == null)
  15421. t1 = $.$get$_noSourceUrl();
  15422. t2 = span.get$start(span);
  15423. t2 = t2.file.getLine$1(t2.offset);
  15424. t3 = span.get$start(span);
  15425. return new A.Frame(t1, t2 + 1, t3.file.getColumn$1(t3.offset) + 1, member);
  15426. },
  15427. declarationName(span) {
  15428. var text = span.get$text();
  15429. return A.trimAsciiRight(B.JSString_methods.substring$2(text, 0, B.JSString_methods.indexOf$1(text, ":")), false);
  15430. },
  15431. unvendor($name) {
  15432. var i,
  15433. t1 = $name.length;
  15434. if (t1 < 2)
  15435. return $name;
  15436. if ($name.charCodeAt(0) !== 45)
  15437. return $name;
  15438. if ($name.charCodeAt(1) === 45)
  15439. return $name;
  15440. for (i = 2; i < t1; ++i)
  15441. if ($name.charCodeAt(i) === 45)
  15442. return B.JSString_methods.substring$1($name, i + 1);
  15443. return $name;
  15444. },
  15445. equalsIgnoreCase(string1, string2) {
  15446. var t1, i;
  15447. if (string1 === string2)
  15448. return true;
  15449. if (string1 == null)
  15450. return false;
  15451. t1 = string1.length;
  15452. if (t1 !== string2.length)
  15453. return false;
  15454. for (i = 0; i < t1; ++i)
  15455. if (!A.characterEqualsIgnoreCase(string1.charCodeAt(i), string2.charCodeAt(i)))
  15456. return false;
  15457. return true;
  15458. },
  15459. startsWithIgnoreCase(string, prefix) {
  15460. var i,
  15461. t1 = prefix.length;
  15462. if (string.length < t1)
  15463. return false;
  15464. for (i = 0; i < t1; ++i)
  15465. if (!A.characterEqualsIgnoreCase(string.charCodeAt(i), prefix.charCodeAt(i)))
  15466. return false;
  15467. return true;
  15468. },
  15469. mapInPlace(list, $function) {
  15470. var i;
  15471. for (i = 0; i < list.length; ++i)
  15472. list[i] = $function.call$1(list[i]);
  15473. },
  15474. longestCommonSubsequence(list1, list2, select, $T) {
  15475. var t1, _i, selections, i, i0, j, selection, j0,
  15476. _length = list1.get$length(0) + 1,
  15477. lengths = J.JSArray_JSArray$allocateFixed(_length, type$.List_int);
  15478. for (t1 = type$.int, _i = 0; _i < _length; ++_i)
  15479. 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);
  15480. _length = list1.get$length(0);
  15481. selections = J.JSArray_JSArray$allocateFixed(_length, $T._eval$1("List<0?>"));
  15482. for (t1 = $T._eval$1("0?"), _i = 0; _i < _length; ++_i)
  15483. 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);
  15484. for (i = 0; i < (list1._queue_list$_tail - list1._queue_list$_head & J.get$length$asx(list1._queue_list$_table) - 1) >>> 0; i = i0)
  15485. 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) {
  15486. selection = select.call$2(list1.$index(0, i), list2.$index(0, j));
  15487. selections[i][j] = selection;
  15488. t1 = lengths[i0];
  15489. j0 = j + 1;
  15490. t1[j0] = selection == null ? Math.max(t1[j], lengths[i][j0]) : lengths[i][j] + 1;
  15491. }
  15492. return new A.longestCommonSubsequence_backtrack(selections, lengths, $T).call$2(list1.get$length(0) - 1, list2.get$length(0) - 1);
  15493. },
  15494. removeFirstWhere(list, test, orElse) {
  15495. var i;
  15496. for (i = 0; i < list.length; ++i) {
  15497. if (!test.call$1(list[i]))
  15498. continue;
  15499. B.JSArray_methods.removeAt$1(list, i);
  15500. return;
  15501. }
  15502. orElse.call$0();
  15503. },
  15504. mapAddAll2(destination, source, K1, K2, $V) {
  15505. source.forEach$1(0, new A.mapAddAll2_closure(destination, K1, K2, $V));
  15506. },
  15507. setAll(map, keys, value) {
  15508. var t1;
  15509. for (t1 = J.get$iterator$ax(keys); t1.moveNext$0();)
  15510. map.$indexSet(0, t1.get$current(t1), value);
  15511. },
  15512. rotateSlice(list, start, end) {
  15513. var i, next,
  15514. element = list.$index(0, end - 1);
  15515. for (i = start; i < end; ++i, element = next) {
  15516. next = list.$index(0, i);
  15517. list.$indexSet(0, i, element);
  15518. }
  15519. },
  15520. mapAsync(iterable, callback, $E, $F) {
  15521. return A.mapAsync$body(iterable, callback, $E, $F, $F._eval$1("Iterable<0>"));
  15522. },
  15523. mapAsync$body(iterable, callback, $E, $F, $async$type) {
  15524. var $async$goto = 0,
  15525. $async$completer = A._makeAsyncAwaitCompleter($async$type),
  15526. $async$returnValue, t2, _i, t1, $async$temp1;
  15527. var $async$mapAsync = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  15528. if ($async$errorCode === 1)
  15529. return A._asyncRethrow($async$result, $async$completer);
  15530. while (true)
  15531. switch ($async$goto) {
  15532. case 0:
  15533. // Function start
  15534. t1 = A._setArrayType([], $F._eval$1("JSArray<0>"));
  15535. t2 = iterable.length, _i = 0;
  15536. case 3:
  15537. // for condition
  15538. if (!(_i < t2)) {
  15539. // goto after for
  15540. $async$goto = 5;
  15541. break;
  15542. }
  15543. $async$temp1 = t1;
  15544. $async$goto = 6;
  15545. return A._asyncAwait(callback.call$1(iterable[_i]), $async$mapAsync);
  15546. case 6:
  15547. // returning from await.
  15548. $async$temp1.push($async$result);
  15549. case 4:
  15550. // for update
  15551. ++_i;
  15552. // goto for condition
  15553. $async$goto = 3;
  15554. break;
  15555. case 5:
  15556. // after for
  15557. $async$returnValue = t1;
  15558. // goto return
  15559. $async$goto = 1;
  15560. break;
  15561. case 1:
  15562. // return
  15563. return A._asyncReturn($async$returnValue, $async$completer);
  15564. }
  15565. });
  15566. return A._asyncStartSync($async$mapAsync, $async$completer);
  15567. },
  15568. putIfAbsentAsync(map, key, ifAbsent, $K, $V) {
  15569. return A.putIfAbsentAsync$body(map, key, ifAbsent, $K, $V, $V);
  15570. },
  15571. putIfAbsentAsync$body(map, key, ifAbsent, $K, $V, $async$type) {
  15572. var $async$goto = 0,
  15573. $async$completer = A._makeAsyncAwaitCompleter($async$type),
  15574. $async$returnValue, t1, value;
  15575. var $async$putIfAbsentAsync = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  15576. if ($async$errorCode === 1)
  15577. return A._asyncRethrow($async$result, $async$completer);
  15578. while (true)
  15579. switch ($async$goto) {
  15580. case 0:
  15581. // Function start
  15582. if (map.containsKey$1(key)) {
  15583. t1 = map.$index(0, key);
  15584. $async$returnValue = t1 == null ? $V._as(t1) : t1;
  15585. // goto return
  15586. $async$goto = 1;
  15587. break;
  15588. }
  15589. $async$goto = 3;
  15590. return A._asyncAwait(ifAbsent.call$0(), $async$putIfAbsentAsync);
  15591. case 3:
  15592. // returning from await.
  15593. value = $async$result;
  15594. map.$indexSet(0, key, value);
  15595. $async$returnValue = value;
  15596. // goto return
  15597. $async$goto = 1;
  15598. break;
  15599. case 1:
  15600. // return
  15601. return A._asyncReturn($async$returnValue, $async$completer);
  15602. }
  15603. });
  15604. return A._asyncStartSync($async$putIfAbsentAsync, $async$completer);
  15605. },
  15606. copyMapOfMap(map, K1, K2, $V) {
  15607. var t3, key, child,
  15608. t1 = K2._eval$1("@<0>")._bind$1($V)._eval$1("Map<1,2>"),
  15609. t2 = A.LinkedHashMap_LinkedHashMap$_empty(K1, t1);
  15610. for (t1 = A.MapExtensions_get_pairs(map, K1, t1), t1 = t1.get$iterator(t1); t1.moveNext$0();) {
  15611. t3 = t1.get$current(t1);
  15612. key = t3._0;
  15613. child = t3._1;
  15614. t3 = A.LinkedHashMap_LinkedHashMap(null, null, null, K2, $V);
  15615. t3.addAll$1(0, child);
  15616. t2.$indexSet(0, key, t3);
  15617. }
  15618. return t2;
  15619. },
  15620. copyMapOfList(map, $K, $E) {
  15621. var t3,
  15622. t1 = $E._eval$1("List<0>"),
  15623. t2 = A.LinkedHashMap_LinkedHashMap$_empty($K, t1);
  15624. for (t1 = A.MapExtensions_get_pairs(map, $K, t1), t1 = t1.get$iterator(t1); t1.moveNext$0();) {
  15625. t3 = t1.get$current(t1);
  15626. t2.$indexSet(0, t3._0, J.toList$0$ax(t3._1));
  15627. }
  15628. return t2;
  15629. },
  15630. consumeEscapedCharacter(scanner) {
  15631. var _1_0, value, i, next, t1;
  15632. scanner.expectChar$1(92);
  15633. _1_0 = scanner.peekChar$0();
  15634. if (_1_0 == null)
  15635. return 65533;
  15636. if (_1_0 === 10 || _1_0 === 13 || _1_0 === 12)
  15637. scanner.error$1(0, "Expected escape sequence.");
  15638. if (A.CharacterExtension_get_isHex(_1_0)) {
  15639. for (value = 0, i = 0; i < 6; ++i) {
  15640. next = scanner.peekChar$0();
  15641. if (next != null) {
  15642. t1 = true;
  15643. if (!(next >= 48 && next <= 57))
  15644. if (!(next >= 97 && next <= 102))
  15645. t1 = next >= 65 && next <= 70;
  15646. t1 = !t1;
  15647. } else
  15648. t1 = true;
  15649. if (t1)
  15650. break;
  15651. value = (value << 4 >>> 0) + A.asHex(scanner.readChar$0());
  15652. }
  15653. t1 = scanner.peekChar$0();
  15654. if (t1 === 32 || t1 === 9 || t1 === 10 || t1 === 13 || t1 === 12)
  15655. scanner.readChar$0();
  15656. $label0$1: {
  15657. if (0 !== value)
  15658. t1 = value >= 55296 && value <= 57343 || value >= 1114111;
  15659. else
  15660. t1 = true;
  15661. if (t1) {
  15662. t1 = 65533;
  15663. break $label0$1;
  15664. }
  15665. t1 = value;
  15666. break $label0$1;
  15667. }
  15668. return t1;
  15669. }
  15670. return scanner.readChar$0();
  15671. },
  15672. throwWithTrace(error, originalError, trace) {
  15673. var t1 = A.getTrace(originalError);
  15674. A.attachTrace(error, t1 == null ? trace : t1);
  15675. throw A.wrapException(error);
  15676. },
  15677. attachTrace(error, trace) {
  15678. var t1;
  15679. if (trace.toString$0(0).length === 0)
  15680. return;
  15681. t1 = $.$get$_traces();
  15682. A.Expando__checkType(error);
  15683. if (t1._jsWeakMap.get(error) == null)
  15684. t1.$indexSet(0, error, trace);
  15685. },
  15686. getTrace(error) {
  15687. var t1;
  15688. if (typeof error == "string" || typeof error == "number" || A._isBool(error))
  15689. t1 = null;
  15690. else {
  15691. t1 = $.$get$_traces();
  15692. A.Expando__checkType(error);
  15693. t1 = t1._jsWeakMap.get(error);
  15694. }
  15695. return t1;
  15696. },
  15697. indent_closure: function indent_closure(t0) {
  15698. this.indentation = t0;
  15699. },
  15700. flattenVertically_closure: function flattenVertically_closure(t0) {
  15701. this.T = t0;
  15702. },
  15703. flattenVertically_closure0: function flattenVertically_closure0(t0, t1) {
  15704. this.result = t0;
  15705. this.T = t1;
  15706. },
  15707. longestCommonSubsequence_backtrack: function longestCommonSubsequence_backtrack(t0, t1, t2) {
  15708. this.selections = t0;
  15709. this.lengths = t1;
  15710. this.T = t2;
  15711. },
  15712. mapAddAll2_closure: function mapAddAll2_closure(t0, t1, t2, t3) {
  15713. var _ = this;
  15714. _.destination = t0;
  15715. _.K1 = t1;
  15716. _.K2 = t2;
  15717. _.V = t3;
  15718. },
  15719. SassApiValue_assertSelector(_this, allowParent, $name) {
  15720. var error, stackTrace, t1, exception,
  15721. string = _this._selectorString$1($name);
  15722. try {
  15723. t1 = A.SelectorList_SelectorList$parse(string, allowParent, null, false);
  15724. return t1;
  15725. } catch (exception) {
  15726. t1 = A.unwrapException(exception);
  15727. if (type$.SassFormatException._is(t1)) {
  15728. error = t1;
  15729. stackTrace = A.getTraceFromException(exception);
  15730. t1 = B.JSString_methods.replaceFirst$2(J.toString$0$(error), "Error: ", "");
  15731. A.throwWithTrace(new A.SassScriptException($name == null ? t1 : "$" + $name + ": " + t1), error, stackTrace);
  15732. } else
  15733. throw exception;
  15734. }
  15735. },
  15736. SassApiValue_assertCompoundSelector(_this, $name) {
  15737. var error, stackTrace, t1, exception,
  15738. allowParent = false,
  15739. string = _this._selectorString$1($name);
  15740. try {
  15741. t1 = new A.SelectorParser(allowParent, false, A.SpanScanner$(string, null), null).parseCompoundSelector$0();
  15742. return t1;
  15743. } catch (exception) {
  15744. t1 = A.unwrapException(exception);
  15745. if (type$.SassFormatException._is(t1)) {
  15746. error = t1;
  15747. stackTrace = A.getTraceFromException(exception);
  15748. t1 = B.JSString_methods.replaceFirst$2(J.toString$0$(error), "Error: ", "");
  15749. A.throwWithTrace(new A.SassScriptException("$" + $name + ": " + t1), error, stackTrace);
  15750. } else
  15751. throw exception;
  15752. }
  15753. },
  15754. Value: function Value() {
  15755. },
  15756. SassArgumentList$(contents, keywords, separator) {
  15757. var t1 = type$.Value;
  15758. t1 = new A.SassArgumentList(A.ConstantMap_ConstantMap$from(keywords, type$.String, t1), A.List_List$unmodifiable(contents, t1), separator, false);
  15759. t1.SassList$3$brackets(contents, separator, false);
  15760. return t1;
  15761. },
  15762. SassArgumentList: function SassArgumentList(t0, t1, t2, t3) {
  15763. var _ = this;
  15764. _._keywords = t0;
  15765. _._wereKeywordsAccessed = false;
  15766. _._list$_contents = t1;
  15767. _._separator = t2;
  15768. _._hasBrackets = t3;
  15769. },
  15770. SassBoolean: function SassBoolean(t0) {
  15771. this.value = t0;
  15772. },
  15773. SassCalculation_calc(argument) {
  15774. var t1,
  15775. _0_0 = A.SassCalculation__simplify(argument);
  15776. $label0$0: {
  15777. if (_0_0 instanceof A.SassNumber) {
  15778. t1 = _0_0;
  15779. break $label0$0;
  15780. }
  15781. if (_0_0 instanceof A.SassCalculation) {
  15782. t1 = _0_0;
  15783. break $label0$0;
  15784. }
  15785. t1 = new A.SassCalculation("calc", A.List_List$unmodifiable([_0_0], type$.Object));
  15786. break $label0$0;
  15787. }
  15788. return t1;
  15789. },
  15790. SassCalculation_min($arguments) {
  15791. var minimum, _i, arg, t2,
  15792. args = A.List_List$unmodifiable(new A.MappedListIterable($arguments, A.calculation_SassCalculation__simplify$closure(), A._arrayInstanceType($arguments)._eval$1("MappedListIterable<1,@>")), type$.Object),
  15793. t1 = args.length;
  15794. if (t1 === 0)
  15795. throw A.wrapException(A.ArgumentError$("min() must have at least one argument.", null));
  15796. for (minimum = null, _i = 0; _i < t1; ++_i) {
  15797. arg = args[_i];
  15798. if (arg instanceof A.SassNumber)
  15799. t2 = minimum != null && !minimum.isComparableTo$1(arg);
  15800. else
  15801. t2 = true;
  15802. if (t2) {
  15803. minimum = null;
  15804. break;
  15805. } else if (minimum == null || minimum.greaterThan$1(arg).value)
  15806. minimum = arg;
  15807. }
  15808. if (minimum != null)
  15809. return minimum;
  15810. A.SassCalculation__verifyCompatibleNumbers(args);
  15811. return new A.SassCalculation("min", args);
  15812. },
  15813. SassCalculation_max($arguments) {
  15814. var maximum, _i, arg, t2,
  15815. args = A.List_List$unmodifiable(new A.MappedListIterable($arguments, A.calculation_SassCalculation__simplify$closure(), A._arrayInstanceType($arguments)._eval$1("MappedListIterable<1,@>")), type$.Object),
  15816. t1 = args.length;
  15817. if (t1 === 0)
  15818. throw A.wrapException(A.ArgumentError$("max() must have at least one argument.", null));
  15819. for (maximum = null, _i = 0; _i < t1; ++_i) {
  15820. arg = args[_i];
  15821. if (arg instanceof A.SassNumber)
  15822. t2 = maximum != null && !maximum.isComparableTo$1(arg);
  15823. else
  15824. t2 = true;
  15825. if (t2) {
  15826. maximum = null;
  15827. break;
  15828. } else if (maximum == null || maximum.lessThan$1(arg).value)
  15829. maximum = arg;
  15830. }
  15831. if (maximum != null)
  15832. return maximum;
  15833. A.SassCalculation__verifyCompatibleNumbers(args);
  15834. return new A.SassCalculation("max", args);
  15835. },
  15836. SassCalculation_hypot($arguments) {
  15837. var first, subtotal, i, number, value, t2,
  15838. args = A.List_List$unmodifiable(new A.MappedListIterable($arguments, A.calculation_SassCalculation__simplify$closure(), A._arrayInstanceType($arguments)._eval$1("MappedListIterable<1,@>")), type$.Object),
  15839. t1 = args.length;
  15840. if (t1 === 0)
  15841. throw A.wrapException(A.ArgumentError$("hypot() must have at least one argument.", null));
  15842. A.SassCalculation__verifyCompatibleNumbers(args);
  15843. first = B.JSArray_methods.get$first(args);
  15844. if (!(first instanceof A.SassNumber) || first.hasUnit$1("%"))
  15845. return new A.SassCalculation("hypot", args);
  15846. for (subtotal = 0, i = 0; i < t1;) {
  15847. number = args[i];
  15848. if (!(number instanceof A.SassNumber) || !number.hasCompatibleUnits$1(first))
  15849. return new A.SassCalculation("hypot", args);
  15850. ++i;
  15851. value = number.convertValueToMatch$3(first, "numbers[" + i + "]", "numbers[1]");
  15852. subtotal += value * value;
  15853. }
  15854. t1 = Math.sqrt(subtotal);
  15855. t2 = first.get$numeratorUnits(first);
  15856. return A.SassNumber_SassNumber$withUnits(t1, first.get$denominatorUnits(first), t2);
  15857. },
  15858. SassCalculation_abs(argument) {
  15859. argument = A.SassCalculation__simplify(argument);
  15860. if (!(argument instanceof A.SassNumber))
  15861. return new A.SassCalculation("abs", A._setArrayType([argument], type$.JSArray_Object));
  15862. if (argument.hasUnit$1("%"))
  15863. 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);
  15864. return A.SassNumber_SassNumber(Math.abs(argument._number$_value), null).coerceToMatch$1(argument);
  15865. },
  15866. SassCalculation_exp(argument) {
  15867. argument = A.SassCalculation__simplify(argument);
  15868. if (!(argument instanceof A.SassNumber))
  15869. return new A.SassCalculation("exp", A._setArrayType([argument], type$.JSArray_Object));
  15870. argument.assertNoUnits$0();
  15871. return A.pow0(A.SassNumber_SassNumber(2.718281828459045, null), argument);
  15872. },
  15873. SassCalculation_sign(argument) {
  15874. var t1, _0_2, t2, arg;
  15875. argument = A.SassCalculation__simplify(argument);
  15876. $label0$0: {
  15877. t1 = argument instanceof A.SassNumber;
  15878. if (t1) {
  15879. _0_2 = argument._number$_value;
  15880. if (!isNaN(_0_2))
  15881. t2 = 0 === _0_2;
  15882. else
  15883. t2 = true;
  15884. } else
  15885. t2 = false;
  15886. if (t2) {
  15887. t1 = argument;
  15888. break $label0$0;
  15889. }
  15890. if (t1) {
  15891. t1 = !argument.hasUnit$1("%");
  15892. arg = argument;
  15893. } else {
  15894. arg = null;
  15895. t1 = false;
  15896. }
  15897. if (t1) {
  15898. t1 = A.SassNumber_SassNumber(J.get$sign$in(arg._number$_value), null).coerceToMatch$1(argument);
  15899. break $label0$0;
  15900. }
  15901. t1 = new A.SassCalculation("sign", A._setArrayType([argument], type$.JSArray_Object));
  15902. break $label0$0;
  15903. }
  15904. return t1;
  15905. },
  15906. SassCalculation_clamp(min, value, max) {
  15907. var t1, args;
  15908. if (value == null && max != null)
  15909. throw A.wrapException(A.ArgumentError$("If value is null, max must also be null.", null));
  15910. min = A.SassCalculation__simplify(min);
  15911. value = A.NullableExtension_andThen(value, A.calculation_SassCalculation__simplify$closure());
  15912. max = A.NullableExtension_andThen(max, A.calculation_SassCalculation__simplify$closure());
  15913. if (min instanceof A.SassNumber && value instanceof A.SassNumber && max instanceof A.SassNumber && min.hasCompatibleUnits$1(value) && min.hasCompatibleUnits$1(max)) {
  15914. if (value.lessThanOrEquals$1(min).value)
  15915. return min;
  15916. if (value.greaterThanOrEquals$1(max).value)
  15917. return max;
  15918. return value;
  15919. }
  15920. t1 = [min];
  15921. if (value != null)
  15922. t1.push(value);
  15923. if (max != null)
  15924. t1.push(max);
  15925. args = A.List_List$unmodifiable(t1, type$.Object);
  15926. A.SassCalculation__verifyCompatibleNumbers(args);
  15927. A.SassCalculation__verifyLength(args, 3);
  15928. return new A.SassCalculation("clamp", args);
  15929. },
  15930. SassCalculation_pow(base, exponent) {
  15931. var t1 = A._setArrayType([base], type$.JSArray_Object);
  15932. if (exponent != null)
  15933. t1.push(exponent);
  15934. A.SassCalculation__verifyLength(t1, 2);
  15935. base = A.SassCalculation__simplify(base);
  15936. exponent = A.NullableExtension_andThen(exponent, A.calculation_SassCalculation__simplify$closure());
  15937. if (!(base instanceof A.SassNumber) || !(exponent instanceof A.SassNumber))
  15938. return new A.SassCalculation("pow", t1);
  15939. base.assertNoUnits$0();
  15940. exponent.assertNoUnits$0();
  15941. return A.pow0(base, exponent);
  15942. },
  15943. SassCalculation_log(number, base) {
  15944. var t1, t2;
  15945. number = A.SassCalculation__simplify(number);
  15946. base = A.NullableExtension_andThen(base, A.calculation_SassCalculation__simplify$closure());
  15947. t1 = A._setArrayType([number], type$.JSArray_Object);
  15948. t2 = base != null;
  15949. if (t2)
  15950. t1.push(base);
  15951. if (number instanceof A.SassNumber)
  15952. t2 = t2 && !(base instanceof A.SassNumber);
  15953. else
  15954. t2 = true;
  15955. if (t2)
  15956. return new A.SassCalculation("log", t1);
  15957. number.assertNoUnits$0();
  15958. if (base instanceof A.SassNumber) {
  15959. base.assertNoUnits$0();
  15960. return A.log(number, base);
  15961. }
  15962. return A.log(number, null);
  15963. },
  15964. SassCalculation_atan2(y, x) {
  15965. var t1;
  15966. y = A.SassCalculation__simplify(y);
  15967. x = A.NullableExtension_andThen(x, A.calculation_SassCalculation__simplify$closure());
  15968. t1 = A._setArrayType([y], type$.JSArray_Object);
  15969. if (x != null)
  15970. t1.push(x);
  15971. A.SassCalculation__verifyLength(t1, 2);
  15972. A.SassCalculation__verifyCompatibleNumbers(t1);
  15973. if (!(y instanceof A.SassNumber) || !(x instanceof A.SassNumber) || y.hasUnit$1("%") || x.hasUnit$1("%") || !y.hasCompatibleUnits$1(x))
  15974. return new A.SassCalculation("atan2", t1);
  15975. 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));
  15976. },
  15977. SassCalculation_rem(dividend, modulus) {
  15978. var t1, result;
  15979. dividend = A.SassCalculation__simplify(dividend);
  15980. modulus = A.NullableExtension_andThen(modulus, A.calculation_SassCalculation__simplify$closure());
  15981. t1 = A._setArrayType([dividend], type$.JSArray_Object);
  15982. if (modulus != null)
  15983. t1.push(modulus);
  15984. A.SassCalculation__verifyLength(t1, 2);
  15985. A.SassCalculation__verifyCompatibleNumbers(t1);
  15986. if (!(dividend instanceof A.SassNumber) || !(modulus instanceof A.SassNumber) || !dividend.hasCompatibleUnits$1(modulus))
  15987. return new A.SassCalculation("rem", t1);
  15988. result = dividend.modulo$1(modulus);
  15989. t1 = modulus._number$_value;
  15990. if (A.DoubleWithSignedZero_get_signIncludingZero(t1) !== A.DoubleWithSignedZero_get_signIncludingZero(dividend._number$_value)) {
  15991. if (t1 == 1 / 0 || t1 == -1 / 0)
  15992. return dividend;
  15993. if (result._number$_value === 0)
  15994. return result.unaryMinus$0();
  15995. return result.minus$1(modulus);
  15996. }
  15997. return result;
  15998. },
  15999. SassCalculation_mod(dividend, modulus) {
  16000. var t1;
  16001. dividend = A.SassCalculation__simplify(dividend);
  16002. modulus = A.NullableExtension_andThen(modulus, A.calculation_SassCalculation__simplify$closure());
  16003. t1 = A._setArrayType([dividend], type$.JSArray_Object);
  16004. if (modulus != null)
  16005. t1.push(modulus);
  16006. A.SassCalculation__verifyLength(t1, 2);
  16007. A.SassCalculation__verifyCompatibleNumbers(t1);
  16008. if (!(dividend instanceof A.SassNumber) || !(modulus instanceof A.SassNumber) || !dividend.hasCompatibleUnits$1(modulus))
  16009. return new A.SassCalculation("mod", t1);
  16010. return dividend.modulo$1(modulus);
  16011. },
  16012. SassCalculation_roundInternal(strategyOrNumber, numberOrStep, step, inLegacySassFunction, span, warn) {
  16013. 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",
  16014. _0_1 = A.SassCalculation__simplify(strategyOrNumber),
  16015. _0_6 = A.NullableExtension_andThen(numberOrStep, A.calculation_SassCalculation__simplify$closure()),
  16016. _0_9 = A.NullableExtension_andThen(step, A.calculation_SassCalculation__simplify$closure()),
  16017. _0_10 = _0_1,
  16018. _0_8 = _null,
  16019. _0_60 = _null,
  16020. _0_100 = _null,
  16021. _0_10_isSet = false,
  16022. _0_90 = _null,
  16023. _0_9_isSet = false,
  16024. number = _null,
  16025. t1 = false;
  16026. if (_0_1 instanceof A.SassNumber) {
  16027. t2 = _0_10;
  16028. t3 = type$.SassNumber;
  16029. _0_8_isSet = !t3._as(t2).get$hasUnits();
  16030. if (_0_8_isSet) {
  16031. number = t3._as(_0_10);
  16032. _0_8 = _0_6 == null;
  16033. _0_10_isSet = _0_8;
  16034. _0_60 = _0_6;
  16035. if (_0_10_isSet) {
  16036. _0_100 = _0_9 == null;
  16037. t1 = _0_100;
  16038. _0_90 = _0_9;
  16039. }
  16040. _0_9_isSet = _0_10_isSet;
  16041. }
  16042. _0_6_isSet = _0_8_isSet;
  16043. } else {
  16044. _0_8_isSet = false;
  16045. _0_6_isSet = false;
  16046. }
  16047. if (t1)
  16048. return A.SassNumber_SassNumber(B.JSNumber_methods.round$0(number._number$_value), _null);
  16049. t1 = false;
  16050. if (_0_10 instanceof A.SassNumber) {
  16051. t2 = _0_10;
  16052. type$.SassNumber._as(t2);
  16053. if (_0_8_isSet)
  16054. t3 = _0_8;
  16055. else {
  16056. if (_0_6_isSet)
  16057. t3 = _0_60;
  16058. else {
  16059. t3 = _0_6;
  16060. _0_60 = t3;
  16061. _0_6_isSet = true;
  16062. }
  16063. _0_8 = t3 == null;
  16064. t3 = _0_8;
  16065. _0_8_isSet = true;
  16066. }
  16067. if (t3) {
  16068. if (_0_10_isSet)
  16069. t1 = _0_100;
  16070. else {
  16071. if (_0_9_isSet)
  16072. t1 = _0_90;
  16073. else {
  16074. t1 = _0_9;
  16075. _0_90 = t1;
  16076. _0_9_isSet = true;
  16077. }
  16078. _0_100 = t1 == null;
  16079. t1 = _0_100;
  16080. _0_10_isSet = true;
  16081. }
  16082. t1 = t1 && inLegacySassFunction != null;
  16083. }
  16084. number = t2;
  16085. } else
  16086. number = _null;
  16087. if (t1) {
  16088. warn.call$2(string$.In_fut, B.Deprecation_1AX);
  16089. t1 = B.JSNumber_methods.round$0(number._number$_value);
  16090. t2 = number.get$numeratorUnits(number);
  16091. return A.SassNumber_SassNumber$withUnits(t1, number.get$denominatorUnits(number), t2);
  16092. }
  16093. step = _null;
  16094. t1 = false;
  16095. if (_0_10 instanceof A.SassNumber) {
  16096. _0_6_isSet0 = true;
  16097. t2 = _0_10;
  16098. t3 = type$.SassNumber;
  16099. t3._as(t2);
  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. if (t4 instanceof A.SassNumber) {
  16108. if (_0_6_isSet)
  16109. t4 = _0_60;
  16110. else {
  16111. t4 = _0_6;
  16112. _0_6_isSet = _0_6_isSet0;
  16113. _0_60 = t4;
  16114. }
  16115. t3._as(t4);
  16116. if (_0_10_isSet)
  16117. t1 = _0_100;
  16118. else {
  16119. if (_0_9_isSet)
  16120. t1 = _0_90;
  16121. else {
  16122. t1 = _0_9;
  16123. _0_90 = t1;
  16124. _0_9_isSet = true;
  16125. }
  16126. _0_100 = t1 == null;
  16127. t1 = _0_100;
  16128. _0_10_isSet = true;
  16129. }
  16130. t1 = t1 && !t2.hasCompatibleUnits$1(t4);
  16131. step = t4;
  16132. }
  16133. number = t2;
  16134. } else
  16135. number = _null;
  16136. if (t1) {
  16137. t1 = type$.JSArray_Object;
  16138. A.SassCalculation__verifyCompatibleNumbers(A._setArrayType([number, step], t1));
  16139. return new A.SassCalculation(_s5_, A._setArrayType([number, step], t1));
  16140. }
  16141. step = _null;
  16142. t1 = false;
  16143. if (_0_10 instanceof A.SassNumber) {
  16144. _0_6_isSet0 = true;
  16145. t2 = _0_10;
  16146. t3 = type$.SassNumber;
  16147. t3._as(t2);
  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. if (t4 instanceof A.SassNumber) {
  16156. if (_0_6_isSet)
  16157. t4 = _0_60;
  16158. else {
  16159. t4 = _0_6;
  16160. _0_6_isSet = _0_6_isSet0;
  16161. _0_60 = t4;
  16162. }
  16163. t3._as(t4);
  16164. if (_0_10_isSet)
  16165. t1 = _0_100;
  16166. else {
  16167. if (_0_9_isSet)
  16168. t1 = _0_90;
  16169. else {
  16170. t1 = _0_9;
  16171. _0_90 = t1;
  16172. _0_9_isSet = true;
  16173. }
  16174. _0_100 = t1 == null;
  16175. t1 = _0_100;
  16176. _0_10_isSet = true;
  16177. }
  16178. step = t4;
  16179. }
  16180. number = t2;
  16181. } else
  16182. number = _null;
  16183. if (t1) {
  16184. A.SassCalculation__verifyCompatibleNumbers(A._setArrayType([number, step], type$.JSArray_Object));
  16185. return A.SassCalculation__roundWithStep("nearest", number, step);
  16186. }
  16187. _0_14_isSet = _0_10 instanceof A.SassString;
  16188. _0_16 = _null;
  16189. _0_18 = _null;
  16190. _0_18_isSet = false;
  16191. _0_20 = _null;
  16192. _0_20_isSet = false;
  16193. strategy = _null;
  16194. number = _null;
  16195. step = _null;
  16196. t1 = false;
  16197. if (_0_14_isSet) {
  16198. _0_6_isSet0 = true;
  16199. _0_9_isSet0 = true;
  16200. t2 = _0_10;
  16201. _0_12 = type$.SassString._as(t2)._string$_text;
  16202. t2 = _0_12;
  16203. _0_14 = "nearest" === t2;
  16204. t2 = _0_14;
  16205. _0_16_isSet = !t2;
  16206. t2 = true;
  16207. if (_0_16_isSet) {
  16208. _0_16 = "up" === _0_12;
  16209. t3 = _0_16;
  16210. _0_18_isSet = !t3;
  16211. if (_0_18_isSet) {
  16212. _0_18 = "down" === _0_12;
  16213. t3 = _0_18;
  16214. _0_20_isSet = !t3;
  16215. if (_0_20_isSet) {
  16216. _0_20 = "to-zero" === _0_12;
  16217. t2 = _0_20;
  16218. }
  16219. }
  16220. }
  16221. if (t2) {
  16222. t2 = _0_10;
  16223. type$.SassString._as(t2);
  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. if (t3 instanceof A.SassNumber) {
  16232. if (_0_6_isSet)
  16233. t3 = _0_60;
  16234. else {
  16235. t3 = _0_6;
  16236. _0_6_isSet = _0_6_isSet0;
  16237. _0_60 = t3;
  16238. }
  16239. t4 = type$.SassNumber;
  16240. t4._as(t3);
  16241. if (_0_9_isSet)
  16242. t5 = _0_90;
  16243. else {
  16244. t5 = _0_9;
  16245. _0_9_isSet = _0_9_isSet0;
  16246. _0_90 = t5;
  16247. }
  16248. if (t5 instanceof A.SassNumber) {
  16249. if (_0_9_isSet)
  16250. t1 = _0_90;
  16251. else {
  16252. t1 = _0_9;
  16253. _0_9_isSet = _0_9_isSet0;
  16254. _0_90 = t1;
  16255. }
  16256. t4._as(t1);
  16257. t4 = !t3.hasCompatibleUnits$1(t1);
  16258. step = t1;
  16259. t1 = t4;
  16260. }
  16261. number = t3;
  16262. }
  16263. strategy = t2;
  16264. }
  16265. } else {
  16266. _0_12 = _null;
  16267. _0_14 = _0_12;
  16268. _0_16_isSet = false;
  16269. }
  16270. if (t1) {
  16271. t1 = type$.JSArray_Object;
  16272. A.SassCalculation__verifyCompatibleNumbers(A._setArrayType([number, step], t1));
  16273. return new A.SassCalculation(_s5_, A._setArrayType([strategy, number, step], t1));
  16274. }
  16275. strategy = _null;
  16276. number = _null;
  16277. step = _null;
  16278. t1 = false;
  16279. if (_0_10 instanceof A.SassString) {
  16280. _0_6_isSet0 = true;
  16281. _0_9_isSet0 = true;
  16282. _0_12_isSet = true;
  16283. if (_0_14_isSet) {
  16284. t2 = _0_14;
  16285. _0_12_isSet0 = _0_14_isSet;
  16286. } else {
  16287. t2 = _0_10;
  16288. _0_12 = type$.SassString._as(t2)._string$_text;
  16289. t2 = _0_12;
  16290. _0_14 = "nearest" === t2;
  16291. t2 = _0_14;
  16292. _0_12_isSet0 = _0_12_isSet;
  16293. _0_14_isSet = true;
  16294. }
  16295. t3 = true;
  16296. if (!t2) {
  16297. if (_0_16_isSet)
  16298. t2 = _0_16;
  16299. else {
  16300. if (_0_12_isSet0)
  16301. t2 = _0_12;
  16302. else {
  16303. t2 = _0_10;
  16304. _0_12 = type$.SassString._as(t2)._string$_text;
  16305. t2 = _0_12;
  16306. _0_12_isSet0 = _0_12_isSet;
  16307. }
  16308. _0_16 = "up" === t2;
  16309. t2 = _0_16;
  16310. _0_16_isSet = true;
  16311. }
  16312. if (!t2) {
  16313. if (_0_18_isSet)
  16314. t2 = _0_18;
  16315. else {
  16316. if (_0_12_isSet0)
  16317. t2 = _0_12;
  16318. else {
  16319. t2 = _0_10;
  16320. _0_12 = type$.SassString._as(t2)._string$_text;
  16321. t2 = _0_12;
  16322. _0_12_isSet0 = _0_12_isSet;
  16323. }
  16324. _0_18 = "down" === t2;
  16325. t2 = _0_18;
  16326. _0_18_isSet = true;
  16327. }
  16328. if (!t2)
  16329. if (_0_20_isSet) {
  16330. t2 = _0_20;
  16331. _0_12_isSet = _0_12_isSet0;
  16332. } else {
  16333. if (_0_12_isSet0) {
  16334. t2 = _0_12;
  16335. _0_12_isSet = _0_12_isSet0;
  16336. } else {
  16337. t2 = _0_10;
  16338. _0_12 = type$.SassString._as(t2)._string$_text;
  16339. t2 = _0_12;
  16340. }
  16341. _0_20 = "to-zero" === t2;
  16342. t2 = _0_20;
  16343. _0_20_isSet = true;
  16344. }
  16345. else {
  16346. t2 = t3;
  16347. _0_12_isSet = _0_12_isSet0;
  16348. }
  16349. } else {
  16350. t2 = t3;
  16351. _0_12_isSet = _0_12_isSet0;
  16352. }
  16353. } else {
  16354. t2 = t3;
  16355. _0_12_isSet = _0_12_isSet0;
  16356. }
  16357. if (t2) {
  16358. t2 = _0_10;
  16359. type$.SassString._as(t2);
  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. if (t3 instanceof A.SassNumber) {
  16368. if (_0_6_isSet)
  16369. t3 = _0_60;
  16370. else {
  16371. t3 = _0_6;
  16372. _0_6_isSet = _0_6_isSet0;
  16373. _0_60 = t3;
  16374. }
  16375. t4 = type$.SassNumber;
  16376. t4._as(t3);
  16377. if (_0_9_isSet)
  16378. t1 = _0_90;
  16379. else {
  16380. t1 = _0_9;
  16381. _0_9_isSet = _0_9_isSet0;
  16382. _0_90 = t1;
  16383. }
  16384. t1 = t1 instanceof A.SassNumber;
  16385. if (t1) {
  16386. if (_0_9_isSet)
  16387. t5 = _0_90;
  16388. else {
  16389. t5 = _0_9;
  16390. _0_9_isSet = _0_9_isSet0;
  16391. _0_90 = t5;
  16392. }
  16393. t4._as(t5);
  16394. step = t5;
  16395. }
  16396. number = t3;
  16397. }
  16398. strategy = t2;
  16399. }
  16400. } else
  16401. _0_12_isSet = _0_14_isSet;
  16402. if (t1) {
  16403. A.SassCalculation__verifyCompatibleNumbers(A._setArrayType([number, step], type$.JSArray_Object));
  16404. return A.SassCalculation__roundWithStep(strategy._string$_text, number, step);
  16405. }
  16406. strategy = _null;
  16407. rest = _null;
  16408. t1 = false;
  16409. if (_0_10 instanceof A.SassString) {
  16410. _0_6_isSet0 = true;
  16411. _0_12_isSet0 = true;
  16412. if (_0_14_isSet)
  16413. t2 = _0_14;
  16414. else {
  16415. if (_0_12_isSet)
  16416. t2 = _0_12;
  16417. else {
  16418. t2 = _0_10;
  16419. _0_12 = type$.SassString._as(t2)._string$_text;
  16420. t2 = _0_12;
  16421. _0_12_isSet = _0_12_isSet0;
  16422. }
  16423. _0_14 = "nearest" === t2;
  16424. t2 = _0_14;
  16425. _0_14_isSet = true;
  16426. }
  16427. t3 = true;
  16428. if (!t2) {
  16429. if (_0_16_isSet)
  16430. t2 = _0_16;
  16431. else {
  16432. if (_0_12_isSet)
  16433. t2 = _0_12;
  16434. else {
  16435. t2 = _0_10;
  16436. _0_12 = type$.SassString._as(t2)._string$_text;
  16437. t2 = _0_12;
  16438. _0_12_isSet = _0_12_isSet0;
  16439. }
  16440. _0_16 = "up" === t2;
  16441. t2 = _0_16;
  16442. _0_16_isSet = true;
  16443. }
  16444. if (!t2) {
  16445. if (_0_18_isSet)
  16446. t2 = _0_18;
  16447. else {
  16448. if (_0_12_isSet)
  16449. t2 = _0_12;
  16450. else {
  16451. t2 = _0_10;
  16452. _0_12 = type$.SassString._as(t2)._string$_text;
  16453. t2 = _0_12;
  16454. _0_12_isSet = _0_12_isSet0;
  16455. }
  16456. _0_18 = "down" === t2;
  16457. t2 = _0_18;
  16458. _0_18_isSet = true;
  16459. }
  16460. if (!t2)
  16461. if (_0_20_isSet)
  16462. t2 = _0_20;
  16463. else {
  16464. if (_0_12_isSet)
  16465. t2 = _0_12;
  16466. else {
  16467. t2 = _0_10;
  16468. _0_12 = type$.SassString._as(t2)._string$_text;
  16469. t2 = _0_12;
  16470. _0_12_isSet = _0_12_isSet0;
  16471. }
  16472. _0_20 = "to-zero" === t2;
  16473. t2 = _0_20;
  16474. _0_20_isSet = true;
  16475. }
  16476. else
  16477. t2 = t3;
  16478. } else
  16479. t2 = t3;
  16480. } else
  16481. t2 = t3;
  16482. if (t2) {
  16483. t2 = _0_10;
  16484. t3 = type$.SassString;
  16485. t3._as(t2);
  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. if (t4 instanceof A.SassString) {
  16494. if (_0_6_isSet)
  16495. t4 = _0_60;
  16496. else {
  16497. t4 = _0_6;
  16498. _0_6_isSet = _0_6_isSet0;
  16499. _0_60 = t4;
  16500. }
  16501. t3._as(t4);
  16502. if (_0_10_isSet)
  16503. t1 = _0_100;
  16504. else {
  16505. if (_0_9_isSet)
  16506. t1 = _0_90;
  16507. else {
  16508. t1 = _0_9;
  16509. _0_90 = t1;
  16510. _0_9_isSet = true;
  16511. }
  16512. _0_100 = t1 == null;
  16513. t1 = _0_100;
  16514. _0_10_isSet = true;
  16515. }
  16516. rest = t4;
  16517. }
  16518. strategy = t2;
  16519. }
  16520. }
  16521. if (t1)
  16522. return new A.SassCalculation(_s5_, A._setArrayType([strategy, rest], type$.JSArray_Object));
  16523. t1 = false;
  16524. if (_0_10 instanceof A.SassString) {
  16525. _0_12_isSet0 = true;
  16526. if (_0_14_isSet)
  16527. t2 = _0_14;
  16528. else {
  16529. if (_0_12_isSet)
  16530. t2 = _0_12;
  16531. else {
  16532. t2 = _0_10;
  16533. _0_12 = type$.SassString._as(t2)._string$_text;
  16534. t2 = _0_12;
  16535. _0_12_isSet = _0_12_isSet0;
  16536. }
  16537. _0_14 = "nearest" === t2;
  16538. t2 = _0_14;
  16539. _0_14_isSet = true;
  16540. }
  16541. t3 = true;
  16542. if (!t2) {
  16543. if (_0_16_isSet)
  16544. t2 = _0_16;
  16545. else {
  16546. if (_0_12_isSet)
  16547. t2 = _0_12;
  16548. else {
  16549. t2 = _0_10;
  16550. _0_12 = type$.SassString._as(t2)._string$_text;
  16551. t2 = _0_12;
  16552. _0_12_isSet = _0_12_isSet0;
  16553. }
  16554. _0_16 = "up" === t2;
  16555. t2 = _0_16;
  16556. _0_16_isSet = true;
  16557. }
  16558. if (!t2) {
  16559. if (_0_18_isSet)
  16560. t2 = _0_18;
  16561. else {
  16562. if (_0_12_isSet)
  16563. t2 = _0_12;
  16564. else {
  16565. t2 = _0_10;
  16566. _0_12 = type$.SassString._as(t2)._string$_text;
  16567. t2 = _0_12;
  16568. _0_12_isSet = _0_12_isSet0;
  16569. }
  16570. _0_18 = "down" === t2;
  16571. t2 = _0_18;
  16572. _0_18_isSet = true;
  16573. }
  16574. if (!t2)
  16575. if (_0_20_isSet)
  16576. t2 = _0_20;
  16577. else {
  16578. if (_0_12_isSet)
  16579. t2 = _0_12;
  16580. else {
  16581. t2 = _0_10;
  16582. _0_12 = type$.SassString._as(t2)._string$_text;
  16583. t2 = _0_12;
  16584. _0_12_isSet = _0_12_isSet0;
  16585. }
  16586. _0_20 = "to-zero" === t2;
  16587. t2 = _0_20;
  16588. _0_20_isSet = true;
  16589. }
  16590. else
  16591. t2 = t3;
  16592. } else
  16593. t2 = t3;
  16594. } else
  16595. t2 = t3;
  16596. if (t2) {
  16597. if (_0_6_isSet)
  16598. t2 = _0_60;
  16599. else {
  16600. t2 = _0_6;
  16601. _0_60 = t2;
  16602. _0_6_isSet = true;
  16603. }
  16604. if (t2 != null)
  16605. if (_0_10_isSet)
  16606. t1 = _0_100;
  16607. else {
  16608. if (_0_9_isSet)
  16609. t1 = _0_90;
  16610. else {
  16611. t1 = _0_9;
  16612. _0_90 = t1;
  16613. _0_9_isSet = true;
  16614. }
  16615. _0_100 = t1 == null;
  16616. t1 = _0_100;
  16617. _0_10_isSet = true;
  16618. }
  16619. }
  16620. }
  16621. if (t1)
  16622. throw A.wrapException(A.SassScriptException$(string$.If_str, _null));
  16623. t1 = false;
  16624. if (_0_10 instanceof A.SassString) {
  16625. _0_12_isSet0 = true;
  16626. if (_0_14_isSet)
  16627. t2 = _0_14;
  16628. else {
  16629. if (_0_12_isSet)
  16630. t2 = _0_12;
  16631. else {
  16632. t2 = _0_10;
  16633. _0_12 = type$.SassString._as(t2)._string$_text;
  16634. t2 = _0_12;
  16635. _0_12_isSet = _0_12_isSet0;
  16636. }
  16637. _0_14 = "nearest" === t2;
  16638. t2 = _0_14;
  16639. _0_14_isSet = true;
  16640. }
  16641. t3 = true;
  16642. if (!t2) {
  16643. if (_0_16_isSet)
  16644. t2 = _0_16;
  16645. else {
  16646. if (_0_12_isSet)
  16647. t2 = _0_12;
  16648. else {
  16649. t2 = _0_10;
  16650. _0_12 = type$.SassString._as(t2)._string$_text;
  16651. t2 = _0_12;
  16652. _0_12_isSet = _0_12_isSet0;
  16653. }
  16654. _0_16 = "up" === t2;
  16655. t2 = _0_16;
  16656. _0_16_isSet = true;
  16657. }
  16658. if (!t2) {
  16659. if (_0_18_isSet)
  16660. t2 = _0_18;
  16661. else {
  16662. if (_0_12_isSet)
  16663. t2 = _0_12;
  16664. else {
  16665. t2 = _0_10;
  16666. _0_12 = type$.SassString._as(t2)._string$_text;
  16667. t2 = _0_12;
  16668. _0_12_isSet = _0_12_isSet0;
  16669. }
  16670. _0_18 = "down" === t2;
  16671. t2 = _0_18;
  16672. _0_18_isSet = true;
  16673. }
  16674. if (!t2)
  16675. if (_0_20_isSet)
  16676. t2 = _0_20;
  16677. else {
  16678. if (_0_12_isSet)
  16679. t2 = _0_12;
  16680. else {
  16681. t2 = _0_10;
  16682. _0_12 = type$.SassString._as(t2)._string$_text;
  16683. t2 = _0_12;
  16684. _0_12_isSet = _0_12_isSet0;
  16685. }
  16686. _0_20 = "to-zero" === t2;
  16687. t2 = _0_20;
  16688. _0_20_isSet = true;
  16689. }
  16690. else
  16691. t2 = t3;
  16692. } else
  16693. t2 = t3;
  16694. } else
  16695. t2 = t3;
  16696. if (t2) {
  16697. if (_0_8_isSet)
  16698. t2 = _0_8;
  16699. else {
  16700. if (_0_6_isSet)
  16701. t2 = _0_60;
  16702. else {
  16703. t2 = _0_6;
  16704. _0_60 = t2;
  16705. _0_6_isSet = true;
  16706. }
  16707. _0_8 = t2 == null;
  16708. t2 = _0_8;
  16709. _0_8_isSet = true;
  16710. }
  16711. if (t2)
  16712. if (_0_10_isSet)
  16713. t1 = _0_100;
  16714. else {
  16715. if (_0_9_isSet)
  16716. t1 = _0_90;
  16717. else {
  16718. t1 = _0_9;
  16719. _0_90 = t1;
  16720. _0_9_isSet = true;
  16721. }
  16722. _0_100 = t1 == null;
  16723. t1 = _0_100;
  16724. _0_10_isSet = true;
  16725. }
  16726. }
  16727. }
  16728. if (t1)
  16729. throw A.wrapException(A.SassScriptException$(string$.Number, _null));
  16730. number = _0_10;
  16731. t1 = false;
  16732. if (_0_8_isSet)
  16733. t2 = _0_8;
  16734. else {
  16735. if (_0_6_isSet)
  16736. t2 = _0_60;
  16737. else {
  16738. t2 = _0_6;
  16739. _0_60 = t2;
  16740. _0_6_isSet = true;
  16741. }
  16742. _0_8 = t2 == null;
  16743. t2 = _0_8;
  16744. }
  16745. if (t2)
  16746. if (_0_10_isSet)
  16747. t1 = _0_100;
  16748. else {
  16749. if (_0_9_isSet)
  16750. t1 = _0_90;
  16751. else {
  16752. t1 = _0_9;
  16753. _0_90 = t1;
  16754. _0_9_isSet = true;
  16755. }
  16756. _0_100 = t1 == null;
  16757. t1 = _0_100;
  16758. _0_10_isSet = true;
  16759. }
  16760. if (t1)
  16761. return new A.SassCalculation(_s5_, A._setArrayType([number], type$.JSArray_Object));
  16762. number = _0_10;
  16763. step = _null;
  16764. t1 = false;
  16765. _0_6_isSet0 = true;
  16766. if (_0_6_isSet)
  16767. t2 = _0_60;
  16768. else {
  16769. t2 = _0_6;
  16770. _0_6_isSet = _0_6_isSet0;
  16771. _0_60 = t2;
  16772. }
  16773. if (t2 != null) {
  16774. if (_0_6_isSet)
  16775. step = _0_60;
  16776. else {
  16777. step = _0_6;
  16778. _0_6_isSet = _0_6_isSet0;
  16779. _0_60 = step;
  16780. }
  16781. if (step == null)
  16782. step = type$.Object._as(step);
  16783. if (_0_10_isSet)
  16784. t1 = _0_100;
  16785. else {
  16786. if (_0_9_isSet)
  16787. t1 = _0_90;
  16788. else {
  16789. t1 = _0_9;
  16790. _0_90 = t1;
  16791. _0_9_isSet = true;
  16792. }
  16793. _0_100 = t1 == null;
  16794. t1 = _0_100;
  16795. }
  16796. }
  16797. if (t1)
  16798. return new A.SassCalculation(_s5_, A._setArrayType([number, step], type$.JSArray_Object));
  16799. if (_0_10 instanceof A.SassString) {
  16800. t1 = true;
  16801. if (_0_14_isSet)
  16802. t2 = _0_14;
  16803. else {
  16804. if (_0_12_isSet)
  16805. t2 = _0_12;
  16806. else {
  16807. t2 = _0_10;
  16808. _0_12 = type$.SassString._as(t2)._string$_text;
  16809. t2 = _0_12;
  16810. _0_12_isSet = true;
  16811. }
  16812. _0_14 = "nearest" === t2;
  16813. t2 = _0_14;
  16814. }
  16815. if (!t2) {
  16816. if (_0_16_isSet)
  16817. t2 = _0_16;
  16818. else {
  16819. if (_0_12_isSet)
  16820. t2 = _0_12;
  16821. else {
  16822. t2 = _0_10;
  16823. _0_12 = type$.SassString._as(t2)._string$_text;
  16824. t2 = _0_12;
  16825. _0_12_isSet = true;
  16826. }
  16827. _0_16 = "up" === t2;
  16828. t2 = _0_16;
  16829. }
  16830. if (!t2) {
  16831. if (_0_18_isSet)
  16832. t2 = _0_18;
  16833. else {
  16834. if (_0_12_isSet)
  16835. t2 = _0_12;
  16836. else {
  16837. t2 = _0_10;
  16838. _0_12 = type$.SassString._as(t2)._string$_text;
  16839. t2 = _0_12;
  16840. _0_12_isSet = true;
  16841. }
  16842. _0_18 = "down" === t2;
  16843. t2 = _0_18;
  16844. }
  16845. if (!t2)
  16846. if (_0_20_isSet)
  16847. t1 = _0_20;
  16848. else {
  16849. if (_0_12_isSet)
  16850. t1 = _0_12;
  16851. else {
  16852. t1 = _0_10;
  16853. _0_12 = type$.SassString._as(t1)._string$_text;
  16854. t1 = _0_12;
  16855. }
  16856. _0_20 = "to-zero" === t1;
  16857. t1 = _0_20;
  16858. }
  16859. }
  16860. }
  16861. } else
  16862. t1 = false;
  16863. if (!t1)
  16864. if (_0_10 instanceof A.SassString) {
  16865. t1 = _0_10;
  16866. t1 = type$.SassString._as(t1).get$isVar();
  16867. } else
  16868. t1 = false;
  16869. else
  16870. t1 = true;
  16871. number = _null;
  16872. step = _null;
  16873. t2 = false;
  16874. if (t1) {
  16875. _0_6_isSet0 = true;
  16876. _0_9_isSet0 = true;
  16877. t1 = _0_10;
  16878. type$.SassString._as(t1);
  16879. if (_0_6_isSet)
  16880. t3 = _0_60;
  16881. else {
  16882. t3 = _0_6;
  16883. _0_6_isSet = _0_6_isSet0;
  16884. _0_60 = t3;
  16885. }
  16886. if (t3 != null) {
  16887. if (_0_6_isSet)
  16888. number = _0_60;
  16889. else {
  16890. number = _0_6;
  16891. _0_6_isSet = _0_6_isSet0;
  16892. _0_60 = number;
  16893. }
  16894. if (number == null)
  16895. number = type$.Object._as(number);
  16896. if (_0_9_isSet)
  16897. t2 = _0_90;
  16898. else {
  16899. t2 = _0_9;
  16900. _0_9_isSet = _0_9_isSet0;
  16901. _0_90 = t2;
  16902. }
  16903. t2 = t2 != null;
  16904. if (t2) {
  16905. if (_0_9_isSet)
  16906. step = _0_90;
  16907. else {
  16908. step = _0_9;
  16909. _0_9_isSet = _0_9_isSet0;
  16910. _0_90 = step;
  16911. }
  16912. if (step == null)
  16913. step = type$.Object._as(step);
  16914. }
  16915. }
  16916. strategy = t1;
  16917. t1 = t2;
  16918. } else {
  16919. t1 = t2;
  16920. strategy = _null;
  16921. }
  16922. if (t1)
  16923. return new A.SassCalculation(_s5_, A._setArrayType([strategy, number, step], type$.JSArray_Object));
  16924. t1 = false;
  16925. if ((_0_6_isSet ? _0_60 : _0_6) != null)
  16926. t1 = (_0_9_isSet ? _0_90 : _0_9) != null;
  16927. if (t1)
  16928. throw A.wrapException(A.SassScriptException$(A.S(strategyOrNumber) + string$.x20must_b, _null));
  16929. t1 = A.SassScriptException$("Invalid parameters.", _null);
  16930. throw A.wrapException(t1);
  16931. },
  16932. SassCalculation_calcSize(basis, value) {
  16933. var t1 = type$.JSArray_Object,
  16934. t2 = A._setArrayType([basis], t1);
  16935. if (value != null)
  16936. t2.push(value);
  16937. A.SassCalculation__verifyLength(t2, 2);
  16938. basis = A.SassCalculation__simplify(basis);
  16939. value = A.NullableExtension_andThen(value, A.calculation_SassCalculation__simplify$closure());
  16940. t1 = A._setArrayType([basis], t1);
  16941. if (value != null)
  16942. t1.push(value);
  16943. return new A.SassCalculation("calc-size", t1);
  16944. },
  16945. SassCalculation_operateInternal(operator, left, right, inLegacySassFunction, simplify, warn) {
  16946. var compatible, t1;
  16947. if (!simplify)
  16948. return new A.CalculationOperation(operator, left, right);
  16949. left = A.SassCalculation__simplify(left);
  16950. right = A.SassCalculation__simplify(right);
  16951. if (B.CalculationOperator_F7i === operator || B.CalculationOperator_oum === operator) {
  16952. if (left instanceof A.SassNumber && right instanceof A.SassNumber) {
  16953. compatible = left.hasCompatibleUnits$1(right);
  16954. if (!compatible && inLegacySassFunction != null && left.isComparableTo$1(right)) {
  16955. 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);
  16956. compatible = true;
  16957. }
  16958. if (compatible)
  16959. return operator === B.CalculationOperator_F7i ? left.plus$1(right) : left.minus$1(right);
  16960. }
  16961. A.SassCalculation__verifyCompatibleNumbers(A._setArrayType([left, right], type$.JSArray_Object));
  16962. if (right instanceof A.SassNumber) {
  16963. t1 = right._number$_value;
  16964. t1 = t1 < 0 && !A.fuzzyEquals(t1, 0);
  16965. } else
  16966. t1 = false;
  16967. if (t1) {
  16968. right = right.times$1(A.SassNumber_SassNumber(-1, null));
  16969. operator = operator === B.CalculationOperator_F7i ? B.CalculationOperator_oum : B.CalculationOperator_F7i;
  16970. }
  16971. return new A.CalculationOperation(operator, left, right);
  16972. } else if (left instanceof A.SassNumber && right instanceof A.SassNumber)
  16973. return operator === B.CalculationOperator_kkN ? left.times$1(right) : left.dividedBy$1(right);
  16974. else
  16975. return new A.CalculationOperation(operator, left, right);
  16976. },
  16977. SassCalculation__roundWithStep(strategy, number, step) {
  16978. var _0_2, t1, _0_6, _0_8_isSet, _0_8, _0_9_isSet, _0_9, _0_11, _0_13, stepWithNumberUnit, t2;
  16979. if (!A.LinkedHashSet_LinkedHashSet$_literal(["nearest", "up", "down", "to-zero"], type$.String).contains$1(0, strategy))
  16980. throw A.wrapException(A.ArgumentError$(strategy + string$.x20must_b, null));
  16981. _0_2 = number._number$_value;
  16982. if (_0_2 == 1 / 0 || _0_2 == -1 / 0) {
  16983. t1 = step._number$_value;
  16984. t1 = t1 == 1 / 0 || t1 == -1 / 0;
  16985. } else
  16986. t1 = false;
  16987. if (!t1) {
  16988. t1 = step._number$_value;
  16989. t1 = t1 === 0 || isNaN(_0_2) || isNaN(t1);
  16990. } else
  16991. t1 = true;
  16992. if (t1) {
  16993. t1 = number.get$numeratorUnits(number);
  16994. return A.SassNumber_SassNumber$withUnits(0 / 0, number.get$denominatorUnits(number), t1);
  16995. }
  16996. if (_0_2 == 1 / 0 || _0_2 == -1 / 0)
  16997. return number;
  16998. t1 = step._number$_value;
  16999. if (t1 == 1 / 0 || t1 == -1 / 0) {
  17000. $label0$0: {
  17001. if (0 === _0_2) {
  17002. t1 = number;
  17003. break $label0$0;
  17004. }
  17005. _0_6 = "nearest" === strategy;
  17006. t1 = _0_6;
  17007. _0_8_isSet = !t1;
  17008. if (_0_8_isSet) {
  17009. _0_8 = "to-zero" === strategy;
  17010. _0_9_isSet = _0_8;
  17011. } else {
  17012. _0_8 = null;
  17013. _0_9_isSet = true;
  17014. }
  17015. if (_0_9_isSet) {
  17016. _0_9 = _0_2 > 0;
  17017. t1 = _0_9;
  17018. } else {
  17019. _0_9 = null;
  17020. t1 = false;
  17021. }
  17022. if (t1) {
  17023. t1 = number.get$numeratorUnits(number);
  17024. t1 = A.SassNumber_SassNumber$withUnits(0, number.get$denominatorUnits(number), t1);
  17025. break $label0$0;
  17026. }
  17027. if (!_0_6)
  17028. if (_0_8_isSet)
  17029. t1 = _0_8;
  17030. else {
  17031. _0_8 = "to-zero" === strategy;
  17032. t1 = _0_8;
  17033. }
  17034. else
  17035. t1 = true;
  17036. if (t1) {
  17037. t1 = number.get$numeratorUnits(number);
  17038. t1 = A.SassNumber_SassNumber$withUnits(-0.0, number.get$denominatorUnits(number), t1);
  17039. break $label0$0;
  17040. }
  17041. _0_11 = "up" === strategy;
  17042. t1 = _0_11;
  17043. if (t1)
  17044. if (_0_9_isSet)
  17045. t1 = _0_9;
  17046. else {
  17047. _0_9 = _0_2 > 0;
  17048. t1 = _0_9;
  17049. }
  17050. else
  17051. t1 = false;
  17052. if (t1) {
  17053. t1 = number.get$numeratorUnits(number);
  17054. t1 = A.SassNumber_SassNumber$withUnits(1 / 0, number.get$denominatorUnits(number), t1);
  17055. break $label0$0;
  17056. }
  17057. if (_0_11) {
  17058. t1 = number.get$numeratorUnits(number);
  17059. t1 = A.SassNumber_SassNumber$withUnits(-0.0, number.get$denominatorUnits(number), t1);
  17060. break $label0$0;
  17061. }
  17062. _0_13 = "down" === strategy;
  17063. t1 = _0_13;
  17064. if (t1)
  17065. t1 = _0_2 < 0;
  17066. else
  17067. t1 = false;
  17068. if (t1) {
  17069. t1 = number.get$numeratorUnits(number);
  17070. t1 = A.SassNumber_SassNumber$withUnits(-1 / 0, number.get$denominatorUnits(number), t1);
  17071. break $label0$0;
  17072. }
  17073. if (_0_13) {
  17074. t1 = number.get$numeratorUnits(number);
  17075. t1 = A.SassNumber_SassNumber$withUnits(0, number.get$denominatorUnits(number), t1);
  17076. break $label0$0;
  17077. }
  17078. t1 = A.throwExpression(A.UnsupportedError$("Invalid argument: " + strategy + "."));
  17079. }
  17080. return t1;
  17081. }
  17082. stepWithNumberUnit = step.convertValueToMatch$1(number);
  17083. $label1$1: {
  17084. if ("nearest" === strategy) {
  17085. t1 = B.JSNumber_methods.round$0(_0_2 / stepWithNumberUnit);
  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 ("up" === strategy) {
  17092. t2 = _0_2 / stepWithNumberUnit;
  17093. t1 = t1 < 0 ? B.JSNumber_methods.floor$0(t2) : B.JSNumber_methods.ceil$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 ("down" === strategy) {
  17100. t2 = _0_2 / stepWithNumberUnit;
  17101. t1 = t1 < 0 ? B.JSNumber_methods.ceil$0(t2) : B.JSNumber_methods.floor$0(t2);
  17102. t2 = number.get$numeratorUnits(number);
  17103. t2 = A.SassNumber_SassNumber$withUnits(t1 * stepWithNumberUnit, number.get$denominatorUnits(number), t2);
  17104. t1 = t2;
  17105. break $label1$1;
  17106. }
  17107. if ("to-zero" === strategy) {
  17108. t1 = _0_2 / stepWithNumberUnit;
  17109. if (_0_2 < 0) {
  17110. t1 = B.JSNumber_methods.ceil$0(t1);
  17111. t2 = number.get$numeratorUnits(number);
  17112. t2 = A.SassNumber_SassNumber$withUnits(t1 * stepWithNumberUnit, number.get$denominatorUnits(number), t2);
  17113. t1 = t2;
  17114. } else {
  17115. t1 = B.JSNumber_methods.floor$0(t1);
  17116. t2 = number.get$numeratorUnits(number);
  17117. t2 = A.SassNumber_SassNumber$withUnits(t1 * stepWithNumberUnit, number.get$denominatorUnits(number), t2);
  17118. t1 = t2;
  17119. }
  17120. break $label1$1;
  17121. }
  17122. t1 = number.get$numeratorUnits(number);
  17123. t1 = A.SassNumber_SassNumber$withUnits(0 / 0, number.get$denominatorUnits(number), t1);
  17124. break $label1$1;
  17125. }
  17126. return t1;
  17127. },
  17128. SassCalculation__simplify(arg) {
  17129. 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,
  17130. _s32_ = " can't be used in a calculation.";
  17131. $label0$0: {
  17132. if (arg instanceof A.SassNumber || arg instanceof A.CalculationOperation) {
  17133. t1 = arg;
  17134. break $label0$0;
  17135. }
  17136. t1 = arg instanceof A.SassString;
  17137. t2 = _null;
  17138. if (t1 && !arg._hasQuotes) {
  17139. t1 = arg;
  17140. break $label0$0;
  17141. }
  17142. if (t1)
  17143. A.throwExpression(A.SassScriptException$("Quoted string " + arg.toString$0(0) + _s32_, _null));
  17144. _0_11_isSet = arg instanceof A.SassCalculation;
  17145. _0_15 = _null;
  17146. _0_12 = _null;
  17147. _0_16_isSet = false;
  17148. text = _null;
  17149. t1 = false;
  17150. if (_0_11_isSet) {
  17151. _0_11 = "calc" === arg.name;
  17152. if (_0_11) {
  17153. _0_12 = arg.$arguments;
  17154. _0_15 = _0_12.length === 1;
  17155. _0_16_isSet = _0_15;
  17156. if (_0_16_isSet) {
  17157. _0_16 = _0_12[0];
  17158. t2 = _0_16;
  17159. if (t2 instanceof A.SassString) {
  17160. t2 = _0_16;
  17161. t3 = type$.SassString;
  17162. if (!t3._as(t2)._hasQuotes) {
  17163. t1 = _0_16;
  17164. text = t3._as(t1)._string$_text;
  17165. t1 = A.SassCalculation__needsParentheses(text);
  17166. }
  17167. }
  17168. } else
  17169. _0_16 = t2;
  17170. } else
  17171. _0_16 = t2;
  17172. _0_12_isSet = _0_11;
  17173. _0_15_isSet = _0_12_isSet;
  17174. } else {
  17175. _0_16 = t2;
  17176. _0_11 = _null;
  17177. _0_15_isSet = false;
  17178. _0_12_isSet = false;
  17179. }
  17180. if (t1) {
  17181. t1 = new A.SassString("(" + A.S(text) + ")", false);
  17182. break $label0$0;
  17183. }
  17184. t1 = false;
  17185. if (_0_11_isSet)
  17186. if (_0_11)
  17187. if (_0_15_isSet)
  17188. t1 = _0_15;
  17189. else {
  17190. if (_0_12_isSet)
  17191. t1 = _0_12;
  17192. else {
  17193. _0_12 = arg.$arguments;
  17194. t1 = _0_12;
  17195. _0_12_isSet = true;
  17196. }
  17197. _0_15 = t1.length === 1;
  17198. t1 = _0_15;
  17199. }
  17200. if (t1) {
  17201. if (_0_16_isSet)
  17202. value = _0_16;
  17203. else {
  17204. _0_16 = (_0_12_isSet ? _0_12 : arg.$arguments)[0];
  17205. value = _0_16;
  17206. }
  17207. t1 = value;
  17208. break $label0$0;
  17209. }
  17210. if (_0_11_isSet) {
  17211. t1 = arg;
  17212. break $label0$0;
  17213. }
  17214. if (arg instanceof A.Value)
  17215. A.throwExpression(A.SassScriptException$("Value " + arg.toString$0(0) + _s32_, _null));
  17216. t1 = A.throwExpression(A.ArgumentError$("Unexpected calculation argument " + A.S(arg) + ".", _null));
  17217. }
  17218. return t1;
  17219. },
  17220. SassCalculation__needsParentheses(text) {
  17221. var t1, couldBeVar, second, third, fourth, i, t2,
  17222. first = text.charCodeAt(0);
  17223. if (first === 32 || first === 9 || first === 10 || first === 13 || first === 12 || first === 47 || first === 42)
  17224. return true;
  17225. t1 = text.length;
  17226. couldBeVar = t1 >= 4 && A.characterEqualsIgnoreCase(first, 118);
  17227. if (t1 < 2)
  17228. return false;
  17229. second = text.charCodeAt(1);
  17230. if (second === 32 || second === 9 || second === 10 || second === 13 || second === 12 || second === 47 || second === 42)
  17231. return true;
  17232. couldBeVar = couldBeVar && A.characterEqualsIgnoreCase(second, 97);
  17233. if (t1 < 3)
  17234. return false;
  17235. third = text.charCodeAt(2);
  17236. if (third === 32 || third === 9 || third === 10 || third === 13 || third === 12 || third === 47 || third === 42)
  17237. return true;
  17238. couldBeVar = couldBeVar && A.characterEqualsIgnoreCase(third, 114);
  17239. if (t1 < 4)
  17240. return false;
  17241. fourth = text.charCodeAt(3);
  17242. if (couldBeVar && fourth === 40)
  17243. return true;
  17244. if (fourth === 32 || fourth === 9 || fourth === 10 || fourth === 13 || fourth === 12 || fourth === 47 || fourth === 42)
  17245. return true;
  17246. for (i = 4; i < t1; ++i) {
  17247. t2 = text.charCodeAt(i);
  17248. if (t2 === 32 || t2 === 9 || t2 === 10 || t2 === 13 || t2 === 12 || t2 === 47 || t2 === 42)
  17249. return true;
  17250. }
  17251. return false;
  17252. },
  17253. SassCalculation__verifyCompatibleNumbers(args) {
  17254. var t1, _i, t2, arg, i, number1, j, number2;
  17255. for (t1 = args.length, _i = 0; t2 = args.length, _i < t2; args.length === t1 || (0, A.throwConcurrentModificationError)(args), ++_i) {
  17256. arg = args[_i];
  17257. if (arg instanceof A.SassNumber && arg.get$hasComplexUnits())
  17258. throw A.wrapException(A.SassScriptException$("Number " + arg.toString$0(0) + " isn't compatible with CSS calculations.", null));
  17259. }
  17260. for (t1 = t2, i = 0; i < t1 - 1; ++i) {
  17261. number1 = args[i];
  17262. if (!(number1 instanceof A.SassNumber))
  17263. continue;
  17264. for (j = i + 1; t1 = args.length, j < t1; ++j) {
  17265. number2 = args[j];
  17266. if (!(number2 instanceof A.SassNumber))
  17267. continue;
  17268. if (number1.hasPossiblyCompatibleUnits$1(number2))
  17269. continue;
  17270. throw A.wrapException(A.SassScriptException$(number1.toString$0(0) + " and " + number2.toString$0(0) + " are incompatible.", null));
  17271. }
  17272. }
  17273. },
  17274. SassCalculation__verifyLength(args, expectedLength) {
  17275. var t1;
  17276. if (args.length === expectedLength)
  17277. return;
  17278. if (B.JSArray_methods.any$1(args, new A.SassCalculation__verifyLength_closure()))
  17279. return;
  17280. t1 = args.length;
  17281. throw A.wrapException(A.SassScriptException$("" + expectedLength + " arguments required, but only " + t1 + " " + A.pluralize("was", t1, "were") + " passed.", null));
  17282. },
  17283. SassCalculation__singleArgument($name, argument, mathFunc, forbidUnits) {
  17284. argument = A.SassCalculation__simplify(argument);
  17285. if (!(argument instanceof A.SassNumber))
  17286. return new A.SassCalculation($name, A._setArrayType([argument], type$.JSArray_Object));
  17287. if (forbidUnits)
  17288. argument.assertNoUnits$0();
  17289. return mathFunc.call$1(argument);
  17290. },
  17291. SassCalculation: function SassCalculation(t0, t1) {
  17292. this.name = t0;
  17293. this.$arguments = t1;
  17294. },
  17295. SassCalculation__verifyLength_closure: function SassCalculation__verifyLength_closure() {
  17296. },
  17297. CalculationOperation: function CalculationOperation(t0, t1, t2) {
  17298. this._operator = t0;
  17299. this._left = t1;
  17300. this._right = t2;
  17301. },
  17302. CalculationOperator: function CalculationOperator(t0, t1, t2, t3) {
  17303. var _ = this;
  17304. _.name = t0;
  17305. _.operator = t1;
  17306. _.precedence = t2;
  17307. _._name = t3;
  17308. },
  17309. SassColor_SassColor$rgb(red, green, blue, alpha) {
  17310. return A.SassColor_SassColor$rgbInternal(red, green, blue, alpha, null);
  17311. },
  17312. SassColor_SassColor$rgbInternal(red, green, blue, alpha, format) {
  17313. var _null = null,
  17314. t1 = red == null ? _null : red,
  17315. t2 = green == null ? _null : green,
  17316. t3 = blue == null ? _null : blue;
  17317. return A.SassColor$_forSpace(B.RgbColorSpace_i0P, t1, t2, t3, alpha == null ? _null : alpha, format);
  17318. },
  17319. SassColor_SassColor$hsl(hue, saturation, lightness, alpha) {
  17320. var _null = null,
  17321. t1 = hue == null ? _null : hue,
  17322. t2 = saturation == null ? _null : saturation,
  17323. t3 = lightness == null ? _null : lightness;
  17324. return A.SassColor_SassColor$forSpaceInternal(B.HslColorSpace_JQ2, t1, t2, t3, alpha == null ? _null : alpha);
  17325. },
  17326. SassColor_SassColor$hwb(hue, whiteness, blackness, alpha) {
  17327. var _null = null,
  17328. t1 = hue == null ? _null : hue,
  17329. t2 = whiteness == null ? _null : whiteness,
  17330. t3 = blackness == null ? _null : blackness;
  17331. return A.SassColor_SassColor$forSpaceInternal(B.HwbColorSpace_guQ, t1, t2, t3, alpha == null ? _null : alpha);
  17332. },
  17333. SassColor_SassColor$forSpaceInternal(space, channel0, channel1, channel2, alpha) {
  17334. var t1, t2, _null = null;
  17335. $label0$0: {
  17336. if (B.HslColorSpace_JQ2 === space) {
  17337. t1 = channel1 == null;
  17338. t2 = A.SassColor__normalizeHue(channel0, !t1 && channel1 < 0 && !A.fuzzyEquals(channel1, 0));
  17339. t2 = A.SassColor$_forSpace(space, t2, t1 ? _null : Math.abs(channel1), channel2, alpha, _null);
  17340. t1 = t2;
  17341. break $label0$0;
  17342. }
  17343. if (B.HwbColorSpace_guQ === space) {
  17344. t1 = A.SassColor$_forSpace(space, A.SassColor__normalizeHue(channel0, false), channel1, channel2, alpha, _null);
  17345. break $label0$0;
  17346. }
  17347. if (B.LchColorSpace_Bpv === space || B.OklchColorSpace_9Gj === space) {
  17348. t1 = channel1 == null;
  17349. t2 = t1 ? _null : Math.abs(channel1);
  17350. t2 = A.SassColor$_forSpace(space, channel0, t2, A.SassColor__normalizeHue(channel2, !t1 && channel1 < 0 && !A.fuzzyEquals(channel1, 0)), alpha, _null);
  17351. t1 = t2;
  17352. break $label0$0;
  17353. }
  17354. t1 = A.SassColor$_forSpace(space, channel0, channel1, channel2, alpha, _null);
  17355. break $label0$0;
  17356. }
  17357. return t1;
  17358. },
  17359. SassColor$_forSpace(_space, channel0OrNull, channel1OrNull, channel2OrNull, alpha, format) {
  17360. return new A.SassColor(_space, channel0OrNull, channel1OrNull, channel2OrNull, format, A.NullableExtension_andThen(alpha, new A.SassColor$_forSpace_closure()));
  17361. },
  17362. SassColor__normalizeHue(hue, invert) {
  17363. var t1, t2;
  17364. if (hue == null)
  17365. return hue;
  17366. t1 = B.JSNumber_methods.$mod(hue, 360);
  17367. t2 = invert ? 180 : 0;
  17368. return B.JSNumber_methods.$mod(t1 + 360 + t2, 360);
  17369. },
  17370. SassColor: function SassColor(t0, t1, t2, t3, t4, t5) {
  17371. var _ = this;
  17372. _._space = t0;
  17373. _.channel0OrNull = t1;
  17374. _.channel1OrNull = t2;
  17375. _.channel2OrNull = t3;
  17376. _.format = t4;
  17377. _.alphaOrNull = t5;
  17378. },
  17379. SassColor$_forSpace_closure: function SassColor$_forSpace_closure() {
  17380. },
  17381. _ColorFormatEnum: function _ColorFormatEnum() {
  17382. },
  17383. SpanColorFormat: function SpanColorFormat(t0) {
  17384. this._color$_span = t0;
  17385. },
  17386. ColorChannel: function ColorChannel(t0, t1, t2) {
  17387. this.name = t0;
  17388. this.isPolarAngle = t1;
  17389. this.associatedUnit = t2;
  17390. },
  17391. LinearChannel: function LinearChannel(t0, t1, t2, t3, t4, t5, t6, t7) {
  17392. var _ = this;
  17393. _.min = t0;
  17394. _.max = t1;
  17395. _.requiresPercent = t2;
  17396. _.lowerClamped = t3;
  17397. _.upperClamped = t4;
  17398. _.name = t5;
  17399. _.isPolarAngle = t6;
  17400. _.associatedUnit = t7;
  17401. },
  17402. GamutMapMethod_GamutMapMethod$fromName($name) {
  17403. var t1;
  17404. $label0$0: {
  17405. if ("clip" === $name) {
  17406. t1 = B.ClipGamutMap_clip;
  17407. break $label0$0;
  17408. }
  17409. if ("local-minde" === $name) {
  17410. t1 = B.LocalMindeGamutMap_A2x;
  17411. break $label0$0;
  17412. }
  17413. t1 = A.throwExpression(A.SassScriptException$('Unknown gamut map method "' + $name + '".', null));
  17414. }
  17415. return t1;
  17416. },
  17417. GamutMapMethod: function GamutMapMethod() {
  17418. },
  17419. ClipGamutMap: function ClipGamutMap(t0) {
  17420. this.name = t0;
  17421. },
  17422. LocalMindeGamutMap: function LocalMindeGamutMap(t0) {
  17423. this.name = t0;
  17424. },
  17425. InterpolationMethod$(space, hue) {
  17426. var t1;
  17427. if (space.get$isPolarInternal())
  17428. t1 = hue == null ? B.HueInterpolationMethod_0 : hue;
  17429. else
  17430. t1 = null;
  17431. if (!space.get$isPolarInternal() && hue != null)
  17432. A.throwExpression(A.ArgumentError$(string$.Hue_in + space.toString$0(0) + ".", null));
  17433. return new A.InterpolationMethod(space, t1);
  17434. },
  17435. InterpolationMethod_InterpolationMethod$fromValue(value, $name) {
  17436. var t1, space, hueMethod,
  17437. list = value.assertCommonListStyle$2$allowSlash($name, false);
  17438. if (list.length === 0)
  17439. throw A.wrapException(A.SassScriptException$(string$.Expecta, $name));
  17440. t1 = B.JSArray_methods.get$first(list).assertString$1($name);
  17441. t1.assertUnquoted$1($name);
  17442. space = A.ColorSpace_fromName(t1._string$_text, $name);
  17443. if (list.length === 1)
  17444. return A.InterpolationMethod$(space, null);
  17445. hueMethod = A.HueInterpolationMethod_HueInterpolationMethod$_fromValue(list[1], $name);
  17446. if (list.length === 2)
  17447. throw A.wrapException(A.SassScriptException$('Expected unquoted string "hue" after ' + value.toString$0(0) + ".", $name));
  17448. else {
  17449. t1 = list[2].assertString$1($name);
  17450. t1.assertUnquoted$1($name);
  17451. if (t1._string$_text.toLowerCase() !== "hue")
  17452. throw A.wrapException(A.SassScriptException$(string$.Expectu + value.toString$0(0) + ", was " + list[2].toString$0(0) + ".", $name));
  17453. else if (list.length > 3)
  17454. throw A.wrapException(A.SassScriptException$('Expected nothing after "hue" in ' + value.toString$0(0) + ".", $name));
  17455. else if (!space.get$isPolarInternal())
  17456. throw A.wrapException(A.SassScriptException$('Hue interpolation method "' + hueMethod.toString$0(0) + string$.x20hue__ + space.toString$0(0) + ".", $name));
  17457. }
  17458. return A.InterpolationMethod$(space, hueMethod);
  17459. },
  17460. HueInterpolationMethod_HueInterpolationMethod$_fromValue(value, $name) {
  17461. var _0_0,
  17462. t1 = value.assertString$1($name);
  17463. t1.assertUnquoted$0();
  17464. _0_0 = t1._string$_text.toLowerCase();
  17465. $label0$0: {
  17466. if ("shorter" === _0_0) {
  17467. t1 = B.HueInterpolationMethod_0;
  17468. break $label0$0;
  17469. }
  17470. if ("longer" === _0_0) {
  17471. t1 = B.HueInterpolationMethod_1;
  17472. break $label0$0;
  17473. }
  17474. if ("increasing" === _0_0) {
  17475. t1 = B.HueInterpolationMethod_2;
  17476. break $label0$0;
  17477. }
  17478. if ("decreasing" === _0_0) {
  17479. t1 = B.HueInterpolationMethod_3;
  17480. break $label0$0;
  17481. }
  17482. t1 = A.throwExpression(A.SassScriptException$("Unknown hue interpolation method " + value.toString$0(0) + ".", $name));
  17483. }
  17484. return t1;
  17485. },
  17486. InterpolationMethod: function InterpolationMethod(t0, t1) {
  17487. this.space = t0;
  17488. this.hue = t1;
  17489. },
  17490. HueInterpolationMethod: function HueInterpolationMethod(t0) {
  17491. this._name = t0;
  17492. },
  17493. ColorSpace_fromName($name, argumentName) {
  17494. var t1,
  17495. _0_0 = $name.toLowerCase();
  17496. $label0$0: {
  17497. if ("rgb" === _0_0) {
  17498. t1 = B.RgbColorSpace_i0P;
  17499. break $label0$0;
  17500. }
  17501. if ("hwb" === _0_0) {
  17502. t1 = B.HwbColorSpace_guQ;
  17503. break $label0$0;
  17504. }
  17505. if ("hsl" === _0_0) {
  17506. t1 = B.HslColorSpace_JQ2;
  17507. break $label0$0;
  17508. }
  17509. if ("srgb" === _0_0) {
  17510. t1 = B.SrgbColorSpace_thf;
  17511. break $label0$0;
  17512. }
  17513. if ("srgb-linear" === _0_0) {
  17514. t1 = B.SrgbLinearColorSpace_kUj;
  17515. break $label0$0;
  17516. }
  17517. if ("display-p3" === _0_0) {
  17518. t1 = B.DisplayP3ColorSpace_MmT;
  17519. break $label0$0;
  17520. }
  17521. if ("a98-rgb" === _0_0) {
  17522. t1 = B.A98RgbColorSpace_lf2;
  17523. break $label0$0;
  17524. }
  17525. if ("prophoto-rgb" === _0_0) {
  17526. t1 = B.ProphotoRgbColorSpace_BDz;
  17527. break $label0$0;
  17528. }
  17529. if ("rec2020" === _0_0) {
  17530. t1 = B.Rec2020ColorSpace_6oo;
  17531. break $label0$0;
  17532. }
  17533. if ("xyz" === _0_0 || "xyz-d65" === _0_0) {
  17534. t1 = B.XyzD65ColorSpace_WiJ;
  17535. break $label0$0;
  17536. }
  17537. if ("xyz-d50" === _0_0) {
  17538. t1 = B.XyzD50ColorSpace_2OB;
  17539. break $label0$0;
  17540. }
  17541. if ("lab" === _0_0) {
  17542. t1 = B.LabColorSpace_2nT;
  17543. break $label0$0;
  17544. }
  17545. if ("lch" === _0_0) {
  17546. t1 = B.LchColorSpace_Bpv;
  17547. break $label0$0;
  17548. }
  17549. if ("oklab" === _0_0) {
  17550. t1 = B.OklabColorSpace_540;
  17551. break $label0$0;
  17552. }
  17553. if ("oklch" === _0_0) {
  17554. t1 = B.OklchColorSpace_9Gj;
  17555. break $label0$0;
  17556. }
  17557. t1 = A.throwExpression(A.SassScriptException$('Unknown color space "' + $name + '".', argumentName));
  17558. }
  17559. return t1;
  17560. },
  17561. ColorSpace: function ColorSpace() {
  17562. },
  17563. A98RgbColorSpace: function A98RgbColorSpace(t0, t1) {
  17564. this.name = t0;
  17565. this._channels = t1;
  17566. },
  17567. DisplayP3ColorSpace: function DisplayP3ColorSpace(t0, t1) {
  17568. this.name = t0;
  17569. this._channels = t1;
  17570. },
  17571. HslColorSpace: function HslColorSpace(t0, t1) {
  17572. this.name = t0;
  17573. this._channels = t1;
  17574. },
  17575. HwbColorSpace: function HwbColorSpace(t0, t1) {
  17576. this.name = t0;
  17577. this._channels = t1;
  17578. },
  17579. HwbColorSpace_convert_toRgb: function HwbColorSpace_convert_toRgb(t0, t1) {
  17580. this._box_0 = t0;
  17581. this.factor = t1;
  17582. },
  17583. LabColorSpace: function LabColorSpace(t0, t1) {
  17584. this.name = t0;
  17585. this._channels = t1;
  17586. },
  17587. LchColorSpace: function LchColorSpace(t0, t1) {
  17588. this.name = t0;
  17589. this._channels = t1;
  17590. },
  17591. LmsColorSpace: function LmsColorSpace(t0, t1) {
  17592. this.name = t0;
  17593. this._channels = t1;
  17594. },
  17595. OklabColorSpace: function OklabColorSpace(t0, t1) {
  17596. this.name = t0;
  17597. this._channels = t1;
  17598. },
  17599. OklchColorSpace: function OklchColorSpace(t0, t1) {
  17600. this.name = t0;
  17601. this._channels = t1;
  17602. },
  17603. ProphotoRgbColorSpace: function ProphotoRgbColorSpace(t0, t1) {
  17604. this.name = t0;
  17605. this._channels = t1;
  17606. },
  17607. Rec2020ColorSpace: function Rec2020ColorSpace(t0, t1) {
  17608. this.name = t0;
  17609. this._channels = t1;
  17610. },
  17611. RgbColorSpace: function RgbColorSpace(t0, t1) {
  17612. this.name = t0;
  17613. this._channels = t1;
  17614. },
  17615. SrgbColorSpace: function SrgbColorSpace(t0, t1) {
  17616. this.name = t0;
  17617. this._channels = t1;
  17618. },
  17619. SrgbLinearColorSpace: function SrgbLinearColorSpace(t0, t1) {
  17620. this.name = t0;
  17621. this._channels = t1;
  17622. },
  17623. XyzD50ColorSpace: function XyzD50ColorSpace(t0, t1) {
  17624. this.name = t0;
  17625. this._channels = t1;
  17626. },
  17627. XyzD65ColorSpace: function XyzD65ColorSpace(t0, t1) {
  17628. this.name = t0;
  17629. this._channels = t1;
  17630. },
  17631. SassFunction: function SassFunction(t0, t1) {
  17632. this.callable = t0;
  17633. this._function$_compileContext = t1;
  17634. },
  17635. SassList$(contents, _separator, brackets) {
  17636. var t1 = new A.SassList(A.List_List$unmodifiable(contents, type$.Value), _separator, brackets);
  17637. t1.SassList$3$brackets(contents, _separator, brackets);
  17638. return t1;
  17639. },
  17640. SassList: function SassList(t0, t1, t2) {
  17641. this._list$_contents = t0;
  17642. this._separator = t1;
  17643. this._hasBrackets = t2;
  17644. },
  17645. SassList_isBlank_closure: function SassList_isBlank_closure() {
  17646. },
  17647. ListSeparator: function ListSeparator(t0, t1, t2) {
  17648. this._list$_name = t0;
  17649. this.separator = t1;
  17650. this._name = t2;
  17651. },
  17652. SassMap: function SassMap(t0) {
  17653. this._map$_contents = t0;
  17654. },
  17655. SassMixin: function SassMixin(t0, t1) {
  17656. this.callable = t0;
  17657. this._mixin$_compileContext = t1;
  17658. },
  17659. _SassNull: function _SassNull() {
  17660. },
  17661. conversionFactor(unit1, unit2) {
  17662. var _0_0;
  17663. if (unit1 === unit2)
  17664. return 1;
  17665. _0_0 = B.Map_NtHoP.$index(0, unit1);
  17666. if (_0_0 != null)
  17667. return _0_0.$index(0, unit2);
  17668. return null;
  17669. },
  17670. SassNumber_SassNumber(value, unit) {
  17671. return unit == null ? new A.UnitlessSassNumber(value, null) : new A.SingleUnitSassNumber(unit, value, null);
  17672. },
  17673. SassNumber_SassNumber$withUnits(value, denominatorUnits, numeratorUnits) {
  17674. 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,
  17675. _0_6_isSet = !false;
  17676. if (_0_6_isSet) {
  17677. _0_4 = numeratorUnits.length;
  17678. t1 = _0_4;
  17679. _0_6 = t1 <= 0;
  17680. _0_8_isSet = _0_6;
  17681. } else {
  17682. _0_4 = _null;
  17683. _0_6 = _0_4;
  17684. _0_8_isSet = true;
  17685. }
  17686. _0_10 = _null;
  17687. if (_0_8_isSet) {
  17688. _0_8 = denominatorUnits == null;
  17689. t1 = _0_8;
  17690. _0_10_isSet = !t1;
  17691. if (_0_10_isSet) {
  17692. _0_10 = (denominatorUnits == null ? type$.List_String._as(denominatorUnits) : denominatorUnits).length <= 0;
  17693. t1 = _0_10;
  17694. } else
  17695. t1 = true;
  17696. _0_7 = denominatorUnits;
  17697. } else {
  17698. _0_7 = _null;
  17699. _0_8 = _0_7;
  17700. _0_10_isSet = false;
  17701. t1 = false;
  17702. }
  17703. if (t1)
  17704. return new A.UnitlessSassNumber(value, _null);
  17705. unit = _null;
  17706. t1 = false;
  17707. _0_7_isSet = true;
  17708. if (_0_6_isSet) {
  17709. t2 = _0_4;
  17710. _0_4_isSet = _0_6_isSet;
  17711. } else {
  17712. _0_4 = numeratorUnits.length;
  17713. t2 = _0_4;
  17714. _0_4_isSet = true;
  17715. }
  17716. if (t2 === 1) {
  17717. unit = numeratorUnits[0];
  17718. if (_0_8_isSet) {
  17719. t1 = _0_8;
  17720. _0_7_isSet0 = _0_8_isSet;
  17721. } else {
  17722. _0_8 = denominatorUnits == null;
  17723. t1 = _0_8;
  17724. _0_7_isSet0 = _0_7_isSet;
  17725. _0_7 = denominatorUnits;
  17726. _0_8_isSet = true;
  17727. }
  17728. if (!t1)
  17729. if (_0_10_isSet) {
  17730. t1 = _0_10;
  17731. _0_7_isSet = _0_7_isSet0;
  17732. } else {
  17733. if (_0_7_isSet0) {
  17734. t1 = _0_7;
  17735. _0_7_isSet = _0_7_isSet0;
  17736. } else {
  17737. t1 = denominatorUnits;
  17738. _0_7 = t1;
  17739. }
  17740. _0_10 = (t1 == null ? type$.List_String._as(t1) : t1).length <= 0;
  17741. t1 = _0_10;
  17742. _0_10_isSet = true;
  17743. }
  17744. else {
  17745. _0_7_isSet = _0_7_isSet0;
  17746. t1 = true;
  17747. }
  17748. } else
  17749. _0_7_isSet = _0_8_isSet;
  17750. if (t1)
  17751. return new A.SingleUnitSassNumber(unit, value, _null);
  17752. t1 = false;
  17753. _0_7_isSet0 = true;
  17754. numerators = numeratorUnits;
  17755. if (_0_8_isSet)
  17756. t1 = _0_8;
  17757. else {
  17758. if (_0_7_isSet)
  17759. t1 = _0_7;
  17760. else {
  17761. t1 = denominatorUnits;
  17762. _0_7_isSet = _0_7_isSet0;
  17763. _0_7 = t1;
  17764. }
  17765. _0_8 = t1 == null;
  17766. t1 = _0_8;
  17767. }
  17768. if (!t1)
  17769. if (_0_10_isSet)
  17770. t1 = _0_10;
  17771. else {
  17772. if (_0_7_isSet)
  17773. t1 = _0_7;
  17774. else {
  17775. t1 = denominatorUnits;
  17776. _0_7_isSet = _0_7_isSet0;
  17777. _0_7 = t1;
  17778. }
  17779. _0_10 = (t1 == null ? type$.List_String._as(t1) : t1).length <= 0;
  17780. t1 = _0_10;
  17781. }
  17782. else
  17783. t1 = true;
  17784. if (t1)
  17785. return new A.ComplexSassNumber(A.List_List$unmodifiable(numerators, type$.String), B.List_empty, value, _null);
  17786. if (!false)
  17787. if (_0_6_isSet)
  17788. t1 = _0_6;
  17789. else {
  17790. if (_0_4_isSet)
  17791. t1 = _0_4;
  17792. else {
  17793. _0_4 = numeratorUnits.length;
  17794. t1 = _0_4;
  17795. }
  17796. _0_6 = t1 <= 0;
  17797. t1 = _0_6;
  17798. }
  17799. else
  17800. t1 = true;
  17801. denominators = _null;
  17802. if (t1) {
  17803. if (_0_7_isSet)
  17804. t1 = _0_7;
  17805. else {
  17806. t1 = denominatorUnits;
  17807. _0_7 = t1;
  17808. _0_7_isSet = true;
  17809. }
  17810. t1 = t1 != null;
  17811. if (t1) {
  17812. denominators = _0_7_isSet ? _0_7 : denominatorUnits;
  17813. if (denominators == null)
  17814. denominators = type$.List_String._as(denominators);
  17815. }
  17816. } else
  17817. t1 = false;
  17818. if (t1)
  17819. return new A.ComplexSassNumber(B.List_empty, A.List_List$unmodifiable(denominators, type$.String), value, _null);
  17820. numerators = A._setArrayType(numeratorUnits.slice(0), A._arrayInstanceType(numeratorUnits));
  17821. unsimplifiedDenominators = A._setArrayType(denominatorUnits.slice(0), A.instanceType(denominatorUnits));
  17822. denominators = A._setArrayType([], type$.JSArray_String);
  17823. for (t1 = unsimplifiedDenominators.length, valueDouble = value, _i = 0; _i < unsimplifiedDenominators.length; unsimplifiedDenominators.length === t1 || (0, A.throwConcurrentModificationError)(unsimplifiedDenominators), ++_i) {
  17824. denominator = unsimplifiedDenominators[_i];
  17825. i = 0;
  17826. while (true) {
  17827. if (!(i < numerators.length)) {
  17828. simplifiedAway = false;
  17829. break;
  17830. }
  17831. c$0: {
  17832. factor = A.conversionFactor(denominator, numerators[i]);
  17833. if (factor == null)
  17834. break c$0;
  17835. valueDouble *= factor;
  17836. B.JSArray_methods.removeAt$1(numerators, i);
  17837. simplifiedAway = true;
  17838. break;
  17839. }
  17840. ++i;
  17841. }
  17842. if (!simplifiedAway)
  17843. denominators.push(denominator);
  17844. }
  17845. $label0$1: {
  17846. _1_2 = numerators.length;
  17847. t1 = _1_2;
  17848. _1_7_isSet = t1 <= 0;
  17849. if (_1_7_isSet) {
  17850. _1_7 = denominators.length <= 0;
  17851. t1 = _1_7;
  17852. } else {
  17853. _1_7 = _null;
  17854. t1 = false;
  17855. }
  17856. if (t1) {
  17857. t1 = new A.UnitlessSassNumber(valueDouble, _null);
  17858. break $label0$1;
  17859. }
  17860. t1 = false;
  17861. if (_1_2 === 1) {
  17862. unit = numerators[0];
  17863. t1 = _1_7_isSet ? _1_7 : denominators.length <= 0;
  17864. } else
  17865. unit = _null;
  17866. if (t1) {
  17867. t1 = new A.SingleUnitSassNumber(unit, valueDouble, _null);
  17868. break $label0$1;
  17869. }
  17870. t1 = type$.String;
  17871. t1 = new A.ComplexSassNumber(A.List_List$unmodifiable(numerators, t1), A.List_List$unmodifiable(denominators, t1), valueDouble, _null);
  17872. break $label0$1;
  17873. }
  17874. return t1;
  17875. },
  17876. SassNumber: function SassNumber() {
  17877. },
  17878. SassNumber__coerceOrConvertValue_compatibilityException: function SassNumber__coerceOrConvertValue_compatibilityException(t0, t1, t2, t3, t4, t5, t6) {
  17879. var _ = this;
  17880. _.$this = t0;
  17881. _.other = t1;
  17882. _.otherName = t2;
  17883. _.otherHasUnits = t3;
  17884. _.name = t4;
  17885. _.newNumerators = t5;
  17886. _.newDenominators = t6;
  17887. },
  17888. SassNumber__coerceOrConvertValue_closure: function SassNumber__coerceOrConvertValue_closure(t0, t1) {
  17889. this._box_0 = t0;
  17890. this.newNumerator = t1;
  17891. },
  17892. SassNumber__coerceOrConvertValue_closure0: function SassNumber__coerceOrConvertValue_closure0(t0) {
  17893. this.compatibilityException = t0;
  17894. },
  17895. SassNumber__coerceOrConvertValue_closure1: function SassNumber__coerceOrConvertValue_closure1(t0, t1) {
  17896. this._box_0 = t0;
  17897. this.newDenominator = t1;
  17898. },
  17899. SassNumber__coerceOrConvertValue_closure2: function SassNumber__coerceOrConvertValue_closure2(t0) {
  17900. this.compatibilityException = t0;
  17901. },
  17902. SassNumber_plus_closure: function SassNumber_plus_closure() {
  17903. },
  17904. SassNumber_minus_closure: function SassNumber_minus_closure() {
  17905. },
  17906. SassNumber_multiplyUnits_closure: function SassNumber_multiplyUnits_closure(t0, t1) {
  17907. this._box_0 = t0;
  17908. this.numerator = t1;
  17909. },
  17910. SassNumber_multiplyUnits_closure0: function SassNumber_multiplyUnits_closure0(t0, t1) {
  17911. this.newNumerators = t0;
  17912. this.numerator = t1;
  17913. },
  17914. SassNumber_multiplyUnits_closure1: function SassNumber_multiplyUnits_closure1(t0, t1) {
  17915. this._box_0 = t0;
  17916. this.numerator = t1;
  17917. },
  17918. SassNumber_multiplyUnits_closure2: function SassNumber_multiplyUnits_closure2(t0, t1) {
  17919. this.newNumerators = t0;
  17920. this.numerator = t1;
  17921. },
  17922. SassNumber__areAnyConvertible_closure: function SassNumber__areAnyConvertible_closure(t0) {
  17923. this.units2 = t0;
  17924. },
  17925. SassNumber__canonicalizeUnitList_closure: function SassNumber__canonicalizeUnitList_closure() {
  17926. },
  17927. SassNumber__canonicalMultiplier_closure: function SassNumber__canonicalMultiplier_closure(t0) {
  17928. this.$this = t0;
  17929. },
  17930. SassNumber_unitSuggestion_closure: function SassNumber_unitSuggestion_closure() {
  17931. },
  17932. SassNumber_unitSuggestion_closure0: function SassNumber_unitSuggestion_closure0() {
  17933. },
  17934. ComplexSassNumber: function ComplexSassNumber(t0, t1, t2, t3) {
  17935. var _ = this;
  17936. _._numeratorUnits = t0;
  17937. _._denominatorUnits = t1;
  17938. _._number$_value = t2;
  17939. _.hashCache = null;
  17940. _.asSlash = t3;
  17941. },
  17942. SingleUnitSassNumber: function SingleUnitSassNumber(t0, t1, t2) {
  17943. var _ = this;
  17944. _._unit = t0;
  17945. _._number$_value = t1;
  17946. _.hashCache = null;
  17947. _.asSlash = t2;
  17948. },
  17949. SingleUnitSassNumber__coerceToUnit_closure: function SingleUnitSassNumber__coerceToUnit_closure(t0, t1) {
  17950. this.$this = t0;
  17951. this.unit = t1;
  17952. },
  17953. SingleUnitSassNumber__coerceValueToUnit_closure: function SingleUnitSassNumber__coerceValueToUnit_closure(t0) {
  17954. this.$this = t0;
  17955. },
  17956. SingleUnitSassNumber_multiplyUnits_closure: function SingleUnitSassNumber_multiplyUnits_closure(t0, t1) {
  17957. this._box_0 = t0;
  17958. this.$this = t1;
  17959. },
  17960. SingleUnitSassNumber_multiplyUnits_closure0: function SingleUnitSassNumber_multiplyUnits_closure0(t0, t1) {
  17961. this._box_0 = t0;
  17962. this.$this = t1;
  17963. },
  17964. UnitlessSassNumber: function UnitlessSassNumber(t0, t1) {
  17965. this._number$_value = t0;
  17966. this.hashCache = null;
  17967. this.asSlash = t1;
  17968. },
  17969. SassString$(_text, quotes) {
  17970. return new A.SassString(_text, quotes);
  17971. },
  17972. SassString: function SassString(t0, t1) {
  17973. var _ = this;
  17974. _._string$_text = t0;
  17975. _._hasQuotes = t1;
  17976. _.__SassString__sassLength_FI = $;
  17977. _._hashCache = null;
  17978. },
  17979. AnySelectorVisitor: function AnySelectorVisitor() {
  17980. },
  17981. AnySelectorVisitor_visitComplexSelector_closure: function AnySelectorVisitor_visitComplexSelector_closure(t0) {
  17982. this.$this = t0;
  17983. },
  17984. AnySelectorVisitor_visitCompoundSelector_closure: function AnySelectorVisitor_visitCompoundSelector_closure(t0) {
  17985. this.$this = t0;
  17986. },
  17987. _EvaluateVisitor$0(functions, importCache, logger, nodeImporter, quietDeps, sourceMap) {
  17988. var t1 = type$.Uri,
  17989. t2 = type$.Module_AsyncCallable,
  17990. t3 = A._setArrayType([], type$.JSArray_Record_2_String_and_AstNode);
  17991. 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);
  17992. t1._EvaluateVisitor$6$functions$importCache$logger$nodeImporter$quietDeps$sourceMap0(functions, importCache, logger, nodeImporter, quietDeps, sourceMap);
  17993. return t1;
  17994. },
  17995. _EvaluateVisitor0: function _EvaluateVisitor0(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16) {
  17996. var _ = this;
  17997. _._async_evaluate$_importCache = t0;
  17998. _._async_evaluate$_nodeImporter = t1;
  17999. _._async_evaluate$_builtInFunctions = t2;
  18000. _._async_evaluate$_builtInModules = t3;
  18001. _._async_evaluate$_modules = t4;
  18002. _._async_evaluate$_moduleConfigurations = t5;
  18003. _._async_evaluate$_moduleNodes = t6;
  18004. _._async_evaluate$_logger = t7;
  18005. _._async_evaluate$_warningsEmitted = t8;
  18006. _._async_evaluate$_quietDeps = t9;
  18007. _._async_evaluate$_sourceMap = t10;
  18008. _._async_evaluate$_compileContext = t11;
  18009. _._async_evaluate$_environment = t12;
  18010. _._async_evaluate$_declarationName = _._async_evaluate$__parent = _._async_evaluate$_mediaQuerySources = _._async_evaluate$_mediaQueries = _._async_evaluate$_styleRuleIgnoringAtRoot = null;
  18011. _._async_evaluate$_member = "root stylesheet";
  18012. _._async_evaluate$_importSpan = _._async_evaluate$_callableNode = null;
  18013. _._async_evaluate$_inSupportsDeclaration = _._async_evaluate$_inKeyframes = _._async_evaluate$_atRootExcludingStyleRule = _._async_evaluate$_inUnknownAtRule = _._async_evaluate$_inFunction = false;
  18014. _._async_evaluate$_loadedUrls = t13;
  18015. _._async_evaluate$_activeModules = t14;
  18016. _._async_evaluate$_stack = t15;
  18017. _._async_evaluate$_importer = null;
  18018. _._async_evaluate$_inDependency = false;
  18019. _._async_evaluate$__extensionStore = _._async_evaluate$_preModuleComments = _._async_evaluate$_outOfOrderImports = _._async_evaluate$__endOfImports = _._async_evaluate$__root = _._async_evaluate$__stylesheet = null;
  18020. _._async_evaluate$_configuration = t16;
  18021. },
  18022. _EvaluateVisitor_closure12: function _EvaluateVisitor_closure12(t0) {
  18023. this.$this = t0;
  18024. },
  18025. _EvaluateVisitor_closure13: function _EvaluateVisitor_closure13(t0) {
  18026. this.$this = t0;
  18027. },
  18028. _EvaluateVisitor_closure14: function _EvaluateVisitor_closure14(t0) {
  18029. this.$this = t0;
  18030. },
  18031. _EvaluateVisitor_closure15: function _EvaluateVisitor_closure15(t0) {
  18032. this.$this = t0;
  18033. },
  18034. _EvaluateVisitor_closure16: function _EvaluateVisitor_closure16(t0) {
  18035. this.$this = t0;
  18036. },
  18037. _EvaluateVisitor_closure17: function _EvaluateVisitor_closure17(t0) {
  18038. this.$this = t0;
  18039. },
  18040. _EvaluateVisitor_closure18: function _EvaluateVisitor_closure18(t0) {
  18041. this.$this = t0;
  18042. },
  18043. _EvaluateVisitor_closure19: function _EvaluateVisitor_closure19(t0) {
  18044. this.$this = t0;
  18045. },
  18046. _EvaluateVisitor_closure20: function _EvaluateVisitor_closure20(t0) {
  18047. this.$this = t0;
  18048. },
  18049. _EvaluateVisitor__closure6: function _EvaluateVisitor__closure6(t0, t1, t2) {
  18050. this.$this = t0;
  18051. this.name = t1;
  18052. this.module = t2;
  18053. },
  18054. _EvaluateVisitor_closure21: function _EvaluateVisitor_closure21(t0) {
  18055. this.$this = t0;
  18056. },
  18057. _EvaluateVisitor__closure5: function _EvaluateVisitor__closure5(t0, t1, t2) {
  18058. this.$this = t0;
  18059. this.name = t1;
  18060. this.module = t2;
  18061. },
  18062. _EvaluateVisitor_closure22: function _EvaluateVisitor_closure22(t0) {
  18063. this.$this = t0;
  18064. },
  18065. _EvaluateVisitor_closure23: function _EvaluateVisitor_closure23(t0) {
  18066. this.$this = t0;
  18067. },
  18068. _EvaluateVisitor__closure3: function _EvaluateVisitor__closure3(t0, t1, t2) {
  18069. this.values = t0;
  18070. this.span = t1;
  18071. this.callableNode = t2;
  18072. },
  18073. _EvaluateVisitor__closure4: function _EvaluateVisitor__closure4(t0) {
  18074. this.$this = t0;
  18075. },
  18076. _EvaluateVisitor_closure24: function _EvaluateVisitor_closure24(t0) {
  18077. this.$this = t0;
  18078. },
  18079. _EvaluateVisitor_run_closure0: function _EvaluateVisitor_run_closure0(t0, t1, t2) {
  18080. this.$this = t0;
  18081. this.node = t1;
  18082. this.importer = t2;
  18083. },
  18084. _EvaluateVisitor_run__closure0: function _EvaluateVisitor_run__closure0(t0, t1, t2) {
  18085. this.$this = t0;
  18086. this.importer = t1;
  18087. this.node = t2;
  18088. },
  18089. _EvaluateVisitor__loadModule_closure1: function _EvaluateVisitor__loadModule_closure1(t0, t1) {
  18090. this._box_0 = t0;
  18091. this.callback = t1;
  18092. },
  18093. _EvaluateVisitor__loadModule_closure2: function _EvaluateVisitor__loadModule_closure2(t0, t1, t2, t3, t4, t5, t6) {
  18094. var _ = this;
  18095. _.$this = t0;
  18096. _.url = t1;
  18097. _.nodeWithSpan = t2;
  18098. _.baseUrl = t3;
  18099. _.namesInErrors = t4;
  18100. _.configuration = t5;
  18101. _.callback = t6;
  18102. },
  18103. _EvaluateVisitor__loadModule__closure1: function _EvaluateVisitor__loadModule__closure1(t0, t1) {
  18104. this.$this = t0;
  18105. this.message = t1;
  18106. },
  18107. _EvaluateVisitor__loadModule__closure2: function _EvaluateVisitor__loadModule__closure2(t0, t1, t2) {
  18108. this._box_1 = t0;
  18109. this.callback = t1;
  18110. this.firstLoad = t2;
  18111. },
  18112. _EvaluateVisitor__execute_closure0: function _EvaluateVisitor__execute_closure0(t0, t1, t2, t3, t4, t5, t6) {
  18113. var _ = this;
  18114. _.$this = t0;
  18115. _.importer = t1;
  18116. _.stylesheet = t2;
  18117. _.extensionStore = t3;
  18118. _.configuration = t4;
  18119. _.css = t5;
  18120. _.preModuleComments = t6;
  18121. },
  18122. _EvaluateVisitor__combineCss_closure1: function _EvaluateVisitor__combineCss_closure1() {
  18123. },
  18124. _EvaluateVisitor__combineCss_closure2: function _EvaluateVisitor__combineCss_closure2(t0) {
  18125. this.selectors = t0;
  18126. },
  18127. _EvaluateVisitor__combineCss_visitModule0: function _EvaluateVisitor__combineCss_visitModule0(t0, t1, t2, t3, t4, t5) {
  18128. var _ = this;
  18129. _.$this = t0;
  18130. _.seen = t1;
  18131. _.clone = t2;
  18132. _.css = t3;
  18133. _.imports = t4;
  18134. _.sorted = t5;
  18135. },
  18136. _EvaluateVisitor__extendModules_closure1: function _EvaluateVisitor__extendModules_closure1(t0) {
  18137. this.originalSelectors = t0;
  18138. },
  18139. _EvaluateVisitor__extendModules_closure2: function _EvaluateVisitor__extendModules_closure2() {
  18140. },
  18141. _EvaluateVisitor_visitAtRootRule_closure1: function _EvaluateVisitor_visitAtRootRule_closure1(t0, t1) {
  18142. this.$this = t0;
  18143. this.node = t1;
  18144. },
  18145. _EvaluateVisitor_visitAtRootRule_closure2: function _EvaluateVisitor_visitAtRootRule_closure2(t0, t1) {
  18146. this.$this = t0;
  18147. this.node = t1;
  18148. },
  18149. _EvaluateVisitor__scopeForAtRoot_closure5: function _EvaluateVisitor__scopeForAtRoot_closure5(t0, t1, t2) {
  18150. this.$this = t0;
  18151. this.newParent = t1;
  18152. this.node = t2;
  18153. },
  18154. _EvaluateVisitor__scopeForAtRoot_closure6: function _EvaluateVisitor__scopeForAtRoot_closure6(t0, t1) {
  18155. this.$this = t0;
  18156. this.innerScope = t1;
  18157. },
  18158. _EvaluateVisitor__scopeForAtRoot_closure7: function _EvaluateVisitor__scopeForAtRoot_closure7(t0, t1) {
  18159. this.$this = t0;
  18160. this.innerScope = t1;
  18161. },
  18162. _EvaluateVisitor__scopeForAtRoot__closure0: function _EvaluateVisitor__scopeForAtRoot__closure0(t0, t1) {
  18163. this.innerScope = t0;
  18164. this.callback = t1;
  18165. },
  18166. _EvaluateVisitor__scopeForAtRoot_closure8: function _EvaluateVisitor__scopeForAtRoot_closure8(t0, t1) {
  18167. this.$this = t0;
  18168. this.innerScope = t1;
  18169. },
  18170. _EvaluateVisitor__scopeForAtRoot_closure9: function _EvaluateVisitor__scopeForAtRoot_closure9() {
  18171. },
  18172. _EvaluateVisitor__scopeForAtRoot_closure10: function _EvaluateVisitor__scopeForAtRoot_closure10(t0, t1) {
  18173. this.$this = t0;
  18174. this.innerScope = t1;
  18175. },
  18176. _EvaluateVisitor_visitContentRule_closure0: function _EvaluateVisitor_visitContentRule_closure0(t0, t1) {
  18177. this.$this = t0;
  18178. this.content = t1;
  18179. },
  18180. _EvaluateVisitor_visitDeclaration_closure0: function _EvaluateVisitor_visitDeclaration_closure0(t0, t1) {
  18181. this._box_0 = t0;
  18182. this.$this = t1;
  18183. },
  18184. _EvaluateVisitor_visitEachRule_closure2: function _EvaluateVisitor_visitEachRule_closure2(t0, t1, t2) {
  18185. this._box_0 = t0;
  18186. this.$this = t1;
  18187. this.nodeWithSpan = t2;
  18188. },
  18189. _EvaluateVisitor_visitEachRule_closure3: function _EvaluateVisitor_visitEachRule_closure3(t0, t1, t2) {
  18190. this._box_1 = t0;
  18191. this.$this = t1;
  18192. this.nodeWithSpan = t2;
  18193. },
  18194. _EvaluateVisitor_visitEachRule_closure4: function _EvaluateVisitor_visitEachRule_closure4(t0, t1, t2, t3) {
  18195. var _ = this;
  18196. _.$this = t0;
  18197. _.list = t1;
  18198. _.setVariables = t2;
  18199. _.node = t3;
  18200. },
  18201. _EvaluateVisitor_visitEachRule__closure0: function _EvaluateVisitor_visitEachRule__closure0(t0, t1, t2) {
  18202. this.$this = t0;
  18203. this.setVariables = t1;
  18204. this.node = t2;
  18205. },
  18206. _EvaluateVisitor_visitEachRule___closure0: function _EvaluateVisitor_visitEachRule___closure0(t0) {
  18207. this.$this = t0;
  18208. },
  18209. _EvaluateVisitor_visitAtRule_closure2: function _EvaluateVisitor_visitAtRule_closure2(t0) {
  18210. this.$this = t0;
  18211. },
  18212. _EvaluateVisitor_visitAtRule_closure3: function _EvaluateVisitor_visitAtRule_closure3(t0, t1, t2) {
  18213. this.$this = t0;
  18214. this.name = t1;
  18215. this.children = t2;
  18216. },
  18217. _EvaluateVisitor_visitAtRule__closure0: function _EvaluateVisitor_visitAtRule__closure0(t0, t1) {
  18218. this.$this = t0;
  18219. this.children = t1;
  18220. },
  18221. _EvaluateVisitor_visitAtRule_closure4: function _EvaluateVisitor_visitAtRule_closure4() {
  18222. },
  18223. _EvaluateVisitor_visitForRule_closure4: function _EvaluateVisitor_visitForRule_closure4(t0, t1) {
  18224. this.$this = t0;
  18225. this.node = t1;
  18226. },
  18227. _EvaluateVisitor_visitForRule_closure5: function _EvaluateVisitor_visitForRule_closure5(t0, t1) {
  18228. this.$this = t0;
  18229. this.node = t1;
  18230. },
  18231. _EvaluateVisitor_visitForRule_closure6: function _EvaluateVisitor_visitForRule_closure6(t0) {
  18232. this.fromNumber = t0;
  18233. },
  18234. _EvaluateVisitor_visitForRule_closure7: function _EvaluateVisitor_visitForRule_closure7(t0, t1) {
  18235. this.toNumber = t0;
  18236. this.fromNumber = t1;
  18237. },
  18238. _EvaluateVisitor_visitForRule_closure8: function _EvaluateVisitor_visitForRule_closure8(t0, t1, t2, t3, t4, t5) {
  18239. var _ = this;
  18240. _._box_0 = t0;
  18241. _.$this = t1;
  18242. _.node = t2;
  18243. _.from = t3;
  18244. _.direction = t4;
  18245. _.fromNumber = t5;
  18246. },
  18247. _EvaluateVisitor_visitForRule__closure0: function _EvaluateVisitor_visitForRule__closure0(t0) {
  18248. this.$this = t0;
  18249. },
  18250. _EvaluateVisitor_visitForwardRule_closure1: function _EvaluateVisitor_visitForwardRule_closure1(t0, t1) {
  18251. this.$this = t0;
  18252. this.node = t1;
  18253. },
  18254. _EvaluateVisitor_visitForwardRule_closure2: function _EvaluateVisitor_visitForwardRule_closure2(t0, t1) {
  18255. this.$this = t0;
  18256. this.node = t1;
  18257. },
  18258. _EvaluateVisitor__registerCommentsForModule_closure0: function _EvaluateVisitor__registerCommentsForModule_closure0() {
  18259. },
  18260. _EvaluateVisitor_visitIfRule_closure0: function _EvaluateVisitor_visitIfRule_closure0(t0) {
  18261. this.$this = t0;
  18262. },
  18263. _EvaluateVisitor_visitIfRule__closure0: function _EvaluateVisitor_visitIfRule__closure0(t0, t1) {
  18264. this.$this = t0;
  18265. this.clause = t1;
  18266. },
  18267. _EvaluateVisitor_visitIfRule___closure0: function _EvaluateVisitor_visitIfRule___closure0(t0) {
  18268. this.$this = t0;
  18269. },
  18270. _EvaluateVisitor__visitDynamicImport_closure0: function _EvaluateVisitor__visitDynamicImport_closure0(t0, t1) {
  18271. this.$this = t0;
  18272. this.$import = t1;
  18273. },
  18274. _EvaluateVisitor__visitDynamicImport__closure3: function _EvaluateVisitor__visitDynamicImport__closure3(t0) {
  18275. this.$this = t0;
  18276. },
  18277. _EvaluateVisitor__visitDynamicImport__closure4: function _EvaluateVisitor__visitDynamicImport__closure4() {
  18278. },
  18279. _EvaluateVisitor__visitDynamicImport__closure5: function _EvaluateVisitor__visitDynamicImport__closure5() {
  18280. },
  18281. _EvaluateVisitor__visitDynamicImport__closure6: function _EvaluateVisitor__visitDynamicImport__closure6(t0, t1, t2, t3, t4) {
  18282. var _ = this;
  18283. _._box_0 = t0;
  18284. _.$this = t1;
  18285. _.loadsUserDefinedModules = t2;
  18286. _.environment = t3;
  18287. _.children = t4;
  18288. },
  18289. _EvaluateVisitor__applyMixin_closure1: function _EvaluateVisitor__applyMixin_closure1(t0, t1, t2, t3) {
  18290. var _ = this;
  18291. _.$this = t0;
  18292. _.$arguments = t1;
  18293. _.mixin = t2;
  18294. _.nodeWithSpanWithoutContent = t3;
  18295. },
  18296. _EvaluateVisitor__applyMixin__closure2: function _EvaluateVisitor__applyMixin__closure2(t0, t1, t2, t3) {
  18297. var _ = this;
  18298. _.$this = t0;
  18299. _.$arguments = t1;
  18300. _.mixin = t2;
  18301. _.nodeWithSpanWithoutContent = t3;
  18302. },
  18303. _EvaluateVisitor__applyMixin_closure2: function _EvaluateVisitor__applyMixin_closure2(t0, t1, t2, t3) {
  18304. var _ = this;
  18305. _.$this = t0;
  18306. _.contentCallable = t1;
  18307. _.mixin = t2;
  18308. _.nodeWithSpanWithoutContent = t3;
  18309. },
  18310. _EvaluateVisitor__applyMixin__closure1: function _EvaluateVisitor__applyMixin__closure1(t0, t1, t2) {
  18311. this.$this = t0;
  18312. this.mixin = t1;
  18313. this.nodeWithSpanWithoutContent = t2;
  18314. },
  18315. _EvaluateVisitor__applyMixin___closure0: function _EvaluateVisitor__applyMixin___closure0(t0, t1, t2) {
  18316. this.$this = t0;
  18317. this.mixin = t1;
  18318. this.nodeWithSpanWithoutContent = t2;
  18319. },
  18320. _EvaluateVisitor__applyMixin____closure0: function _EvaluateVisitor__applyMixin____closure0(t0, t1) {
  18321. this.$this = t0;
  18322. this.statement = t1;
  18323. },
  18324. _EvaluateVisitor_visitIncludeRule_closure2: function _EvaluateVisitor_visitIncludeRule_closure2(t0, t1) {
  18325. this.$this = t0;
  18326. this.node = t1;
  18327. },
  18328. _EvaluateVisitor_visitIncludeRule_closure3: function _EvaluateVisitor_visitIncludeRule_closure3(t0) {
  18329. this.$this = t0;
  18330. },
  18331. _EvaluateVisitor_visitIncludeRule_closure4: function _EvaluateVisitor_visitIncludeRule_closure4(t0) {
  18332. this.node = t0;
  18333. },
  18334. _EvaluateVisitor_visitMediaRule_closure2: function _EvaluateVisitor_visitMediaRule_closure2(t0, t1) {
  18335. this.$this = t0;
  18336. this.queries = t1;
  18337. },
  18338. _EvaluateVisitor_visitMediaRule_closure3: function _EvaluateVisitor_visitMediaRule_closure3(t0, t1, t2, t3, t4) {
  18339. var _ = this;
  18340. _.$this = t0;
  18341. _.mergedQueries = t1;
  18342. _.queries = t2;
  18343. _.mergedSources = t3;
  18344. _.node = t4;
  18345. },
  18346. _EvaluateVisitor_visitMediaRule__closure0: function _EvaluateVisitor_visitMediaRule__closure0(t0, t1) {
  18347. this.$this = t0;
  18348. this.node = t1;
  18349. },
  18350. _EvaluateVisitor_visitMediaRule___closure0: function _EvaluateVisitor_visitMediaRule___closure0(t0, t1) {
  18351. this.$this = t0;
  18352. this.node = t1;
  18353. },
  18354. _EvaluateVisitor_visitMediaRule_closure4: function _EvaluateVisitor_visitMediaRule_closure4(t0) {
  18355. this.mergedSources = t0;
  18356. },
  18357. _EvaluateVisitor_visitStyleRule_closure3: function _EvaluateVisitor_visitStyleRule_closure3(t0, t1) {
  18358. this.$this = t0;
  18359. this.node = t1;
  18360. },
  18361. _EvaluateVisitor_visitStyleRule_closure4: function _EvaluateVisitor_visitStyleRule_closure4() {
  18362. },
  18363. _EvaluateVisitor_visitStyleRule_closure6: function _EvaluateVisitor_visitStyleRule_closure6(t0, t1, t2) {
  18364. this.$this = t0;
  18365. this.rule = t1;
  18366. this.node = t2;
  18367. },
  18368. _EvaluateVisitor_visitStyleRule__closure0: function _EvaluateVisitor_visitStyleRule__closure0(t0, t1) {
  18369. this.$this = t0;
  18370. this.node = t1;
  18371. },
  18372. _EvaluateVisitor_visitStyleRule_closure5: function _EvaluateVisitor_visitStyleRule_closure5() {
  18373. },
  18374. _EvaluateVisitor__warnForBogusCombinators_closure0: function _EvaluateVisitor__warnForBogusCombinators_closure0() {
  18375. },
  18376. _EvaluateVisitor_visitSupportsRule_closure1: function _EvaluateVisitor_visitSupportsRule_closure1(t0, t1) {
  18377. this.$this = t0;
  18378. this.node = t1;
  18379. },
  18380. _EvaluateVisitor_visitSupportsRule__closure0: function _EvaluateVisitor_visitSupportsRule__closure0(t0, t1) {
  18381. this.$this = t0;
  18382. this.node = t1;
  18383. },
  18384. _EvaluateVisitor_visitSupportsRule_closure2: function _EvaluateVisitor_visitSupportsRule_closure2() {
  18385. },
  18386. _EvaluateVisitor__visitSupportsCondition_closure0: function _EvaluateVisitor__visitSupportsCondition_closure0(t0, t1) {
  18387. this._box_0 = t0;
  18388. this.$this = t1;
  18389. },
  18390. _EvaluateVisitor_visitVariableDeclaration_closure2: function _EvaluateVisitor_visitVariableDeclaration_closure2(t0, t1, t2) {
  18391. this._box_0 = t0;
  18392. this.$this = t1;
  18393. this.node = t2;
  18394. },
  18395. _EvaluateVisitor_visitVariableDeclaration_closure3: function _EvaluateVisitor_visitVariableDeclaration_closure3(t0, t1) {
  18396. this.$this = t0;
  18397. this.node = t1;
  18398. },
  18399. _EvaluateVisitor_visitVariableDeclaration_closure4: function _EvaluateVisitor_visitVariableDeclaration_closure4(t0, t1, t2) {
  18400. this.$this = t0;
  18401. this.node = t1;
  18402. this.value = t2;
  18403. },
  18404. _EvaluateVisitor_visitUseRule_closure0: function _EvaluateVisitor_visitUseRule_closure0(t0, t1) {
  18405. this.$this = t0;
  18406. this.node = t1;
  18407. },
  18408. _EvaluateVisitor_visitWarnRule_closure0: function _EvaluateVisitor_visitWarnRule_closure0(t0, t1) {
  18409. this.$this = t0;
  18410. this.node = t1;
  18411. },
  18412. _EvaluateVisitor_visitWhileRule_closure0: function _EvaluateVisitor_visitWhileRule_closure0(t0, t1) {
  18413. this.$this = t0;
  18414. this.node = t1;
  18415. },
  18416. _EvaluateVisitor_visitWhileRule__closure0: function _EvaluateVisitor_visitWhileRule__closure0(t0) {
  18417. this.$this = t0;
  18418. },
  18419. _EvaluateVisitor_visitBinaryOperationExpression_closure0: function _EvaluateVisitor_visitBinaryOperationExpression_closure0(t0, t1) {
  18420. this.$this = t0;
  18421. this.node = t1;
  18422. },
  18423. _EvaluateVisitor__slash_recommendation0: function _EvaluateVisitor__slash_recommendation0() {
  18424. },
  18425. _EvaluateVisitor_visitVariableExpression_closure0: function _EvaluateVisitor_visitVariableExpression_closure0(t0, t1) {
  18426. this.$this = t0;
  18427. this.node = t1;
  18428. },
  18429. _EvaluateVisitor_visitUnaryOperationExpression_closure0: function _EvaluateVisitor_visitUnaryOperationExpression_closure0(t0, t1) {
  18430. this.node = t0;
  18431. this.operand = t1;
  18432. },
  18433. _EvaluateVisitor_visitListExpression_closure0: function _EvaluateVisitor_visitListExpression_closure0(t0) {
  18434. this.$this = t0;
  18435. },
  18436. _EvaluateVisitor_visitFunctionExpression_closure2: function _EvaluateVisitor_visitFunctionExpression_closure2(t0, t1) {
  18437. this.$this = t0;
  18438. this.node = t1;
  18439. },
  18440. _EvaluateVisitor_visitFunctionExpression_closure3: function _EvaluateVisitor_visitFunctionExpression_closure3() {
  18441. },
  18442. _EvaluateVisitor_visitFunctionExpression_closure4: function _EvaluateVisitor_visitFunctionExpression_closure4(t0, t1, t2) {
  18443. this._box_0 = t0;
  18444. this.$this = t1;
  18445. this.node = t2;
  18446. },
  18447. _EvaluateVisitor__visitCalculation_closure0: function _EvaluateVisitor__visitCalculation_closure0(t0, t1) {
  18448. this.$this = t0;
  18449. this.node = t1;
  18450. },
  18451. _EvaluateVisitor__checkCalculationArguments_check0: function _EvaluateVisitor__checkCalculationArguments_check0(t0, t1) {
  18452. this.$this = t0;
  18453. this.node = t1;
  18454. },
  18455. _EvaluateVisitor__visitCalculationExpression_closure0: function _EvaluateVisitor__visitCalculationExpression_closure0(t0, t1, t2, t3) {
  18456. var _ = this;
  18457. _._box_0 = t0;
  18458. _.$this = t1;
  18459. _.node = t2;
  18460. _.inLegacySassFunction = t3;
  18461. },
  18462. _EvaluateVisitor__visitCalculationExpression__closure0: function _EvaluateVisitor__visitCalculationExpression__closure0(t0, t1) {
  18463. this.$this = t0;
  18464. this.node = t1;
  18465. },
  18466. _EvaluateVisitor_visitInterpolatedFunctionExpression_closure0: function _EvaluateVisitor_visitInterpolatedFunctionExpression_closure0(t0, t1, t2) {
  18467. this.$this = t0;
  18468. this.node = t1;
  18469. this.$function = t2;
  18470. },
  18471. _EvaluateVisitor__runUserDefinedCallable_closure0: function _EvaluateVisitor__runUserDefinedCallable_closure0(t0, t1, t2, t3, t4, t5) {
  18472. var _ = this;
  18473. _.$this = t0;
  18474. _.callable = t1;
  18475. _.evaluated = t2;
  18476. _.nodeWithSpan = t3;
  18477. _.run = t4;
  18478. _.V = t5;
  18479. },
  18480. _EvaluateVisitor__runUserDefinedCallable__closure0: function _EvaluateVisitor__runUserDefinedCallable__closure0(t0, t1, t2, t3, t4, t5) {
  18481. var _ = this;
  18482. _.$this = t0;
  18483. _.evaluated = t1;
  18484. _.callable = t2;
  18485. _.nodeWithSpan = t3;
  18486. _.run = t4;
  18487. _.V = t5;
  18488. },
  18489. _EvaluateVisitor__runUserDefinedCallable___closure0: function _EvaluateVisitor__runUserDefinedCallable___closure0(t0, t1, t2, t3, t4, t5) {
  18490. var _ = this;
  18491. _.$this = t0;
  18492. _.evaluated = t1;
  18493. _.callable = t2;
  18494. _.nodeWithSpan = t3;
  18495. _.run = t4;
  18496. _.V = t5;
  18497. },
  18498. _EvaluateVisitor__runUserDefinedCallable____closure0: function _EvaluateVisitor__runUserDefinedCallable____closure0() {
  18499. },
  18500. _EvaluateVisitor__runFunctionCallable_closure0: function _EvaluateVisitor__runFunctionCallable_closure0(t0, t1) {
  18501. this.$this = t0;
  18502. this.callable = t1;
  18503. },
  18504. _EvaluateVisitor__runBuiltInCallable_closure2: function _EvaluateVisitor__runBuiltInCallable_closure2(t0, t1, t2) {
  18505. this._box_0 = t0;
  18506. this.evaluated = t1;
  18507. this.namedSet = t2;
  18508. },
  18509. _EvaluateVisitor__runBuiltInCallable_closure3: function _EvaluateVisitor__runBuiltInCallable_closure3(t0, t1) {
  18510. this._box_0 = t0;
  18511. this.evaluated = t1;
  18512. },
  18513. _EvaluateVisitor__runBuiltInCallable_closure4: function _EvaluateVisitor__runBuiltInCallable_closure4() {
  18514. },
  18515. _EvaluateVisitor__evaluateArguments_closure3: function _EvaluateVisitor__evaluateArguments_closure3() {
  18516. },
  18517. _EvaluateVisitor__evaluateArguments_closure4: function _EvaluateVisitor__evaluateArguments_closure4(t0, t1) {
  18518. this.$this = t0;
  18519. this.restNodeForSpan = t1;
  18520. },
  18521. _EvaluateVisitor__evaluateArguments_closure5: function _EvaluateVisitor__evaluateArguments_closure5(t0, t1, t2, t3) {
  18522. var _ = this;
  18523. _.$this = t0;
  18524. _.named = t1;
  18525. _.restNodeForSpan = t2;
  18526. _.namedNodes = t3;
  18527. },
  18528. _EvaluateVisitor__evaluateArguments_closure6: function _EvaluateVisitor__evaluateArguments_closure6() {
  18529. },
  18530. _EvaluateVisitor__evaluateMacroArguments_closure3: function _EvaluateVisitor__evaluateMacroArguments_closure3(t0) {
  18531. this.restArgs = t0;
  18532. },
  18533. _EvaluateVisitor__evaluateMacroArguments_closure4: function _EvaluateVisitor__evaluateMacroArguments_closure4(t0, t1, t2) {
  18534. this.$this = t0;
  18535. this.restNodeForSpan = t1;
  18536. this.restArgs = t2;
  18537. },
  18538. _EvaluateVisitor__evaluateMacroArguments_closure5: function _EvaluateVisitor__evaluateMacroArguments_closure5(t0, t1, t2, t3) {
  18539. var _ = this;
  18540. _.$this = t0;
  18541. _.named = t1;
  18542. _.restNodeForSpan = t2;
  18543. _.restArgs = t3;
  18544. },
  18545. _EvaluateVisitor__evaluateMacroArguments_closure6: function _EvaluateVisitor__evaluateMacroArguments_closure6(t0, t1, t2) {
  18546. this.$this = t0;
  18547. this.keywordRestNodeForSpan = t1;
  18548. this.keywordRestArgs = t2;
  18549. },
  18550. _EvaluateVisitor__addRestMap_closure0: function _EvaluateVisitor__addRestMap_closure0(t0, t1, t2, t3, t4, t5) {
  18551. var _ = this;
  18552. _.$this = t0;
  18553. _.values = t1;
  18554. _.convert = t2;
  18555. _.expressionNode = t3;
  18556. _.map = t4;
  18557. _.nodeWithSpan = t5;
  18558. },
  18559. _EvaluateVisitor__verifyArguments_closure0: function _EvaluateVisitor__verifyArguments_closure0(t0, t1, t2) {
  18560. this.parameters = t0;
  18561. this.positional = t1;
  18562. this.named = t2;
  18563. },
  18564. _EvaluateVisitor_visitCssAtRule_closure1: function _EvaluateVisitor_visitCssAtRule_closure1(t0, t1) {
  18565. this.$this = t0;
  18566. this.node = t1;
  18567. },
  18568. _EvaluateVisitor_visitCssAtRule_closure2: function _EvaluateVisitor_visitCssAtRule_closure2() {
  18569. },
  18570. _EvaluateVisitor_visitCssKeyframeBlock_closure1: function _EvaluateVisitor_visitCssKeyframeBlock_closure1(t0, t1) {
  18571. this.$this = t0;
  18572. this.node = t1;
  18573. },
  18574. _EvaluateVisitor_visitCssKeyframeBlock_closure2: function _EvaluateVisitor_visitCssKeyframeBlock_closure2() {
  18575. },
  18576. _EvaluateVisitor_visitCssMediaRule_closure2: function _EvaluateVisitor_visitCssMediaRule_closure2(t0, t1) {
  18577. this.$this = t0;
  18578. this.node = t1;
  18579. },
  18580. _EvaluateVisitor_visitCssMediaRule_closure3: function _EvaluateVisitor_visitCssMediaRule_closure3(t0, t1, t2, t3) {
  18581. var _ = this;
  18582. _.$this = t0;
  18583. _.mergedQueries = t1;
  18584. _.node = t2;
  18585. _.mergedSources = t3;
  18586. },
  18587. _EvaluateVisitor_visitCssMediaRule__closure0: function _EvaluateVisitor_visitCssMediaRule__closure0(t0, t1) {
  18588. this.$this = t0;
  18589. this.node = t1;
  18590. },
  18591. _EvaluateVisitor_visitCssMediaRule___closure0: function _EvaluateVisitor_visitCssMediaRule___closure0(t0, t1) {
  18592. this.$this = t0;
  18593. this.node = t1;
  18594. },
  18595. _EvaluateVisitor_visitCssMediaRule_closure4: function _EvaluateVisitor_visitCssMediaRule_closure4(t0) {
  18596. this.mergedSources = t0;
  18597. },
  18598. _EvaluateVisitor_visitCssStyleRule_closure2: function _EvaluateVisitor_visitCssStyleRule_closure2(t0, t1, t2) {
  18599. this.$this = t0;
  18600. this.rule = t1;
  18601. this.node = t2;
  18602. },
  18603. _EvaluateVisitor_visitCssStyleRule__closure0: function _EvaluateVisitor_visitCssStyleRule__closure0(t0, t1) {
  18604. this.$this = t0;
  18605. this.node = t1;
  18606. },
  18607. _EvaluateVisitor_visitCssStyleRule_closure1: function _EvaluateVisitor_visitCssStyleRule_closure1() {
  18608. },
  18609. _EvaluateVisitor_visitCssSupportsRule_closure1: function _EvaluateVisitor_visitCssSupportsRule_closure1(t0, t1) {
  18610. this.$this = t0;
  18611. this.node = t1;
  18612. },
  18613. _EvaluateVisitor_visitCssSupportsRule__closure0: function _EvaluateVisitor_visitCssSupportsRule__closure0(t0, t1) {
  18614. this.$this = t0;
  18615. this.node = t1;
  18616. },
  18617. _EvaluateVisitor_visitCssSupportsRule_closure2: function _EvaluateVisitor_visitCssSupportsRule_closure2() {
  18618. },
  18619. _EvaluateVisitor__performInterpolationHelper_closure0: function _EvaluateVisitor__performInterpolationHelper_closure0(t0) {
  18620. this.interpolation = t0;
  18621. },
  18622. _EvaluateVisitor__serialize_closure0: function _EvaluateVisitor__serialize_closure0(t0, t1) {
  18623. this.value = t0;
  18624. this.quote = t1;
  18625. },
  18626. _EvaluateVisitor__expressionNode_closure0: function _EvaluateVisitor__expressionNode_closure0(t0, t1) {
  18627. this.$this = t0;
  18628. this.expression = t1;
  18629. },
  18630. _EvaluateVisitor__withoutSlash_recommendation0: function _EvaluateVisitor__withoutSlash_recommendation0() {
  18631. },
  18632. _EvaluateVisitor__stackFrame_closure0: function _EvaluateVisitor__stackFrame_closure0(t0) {
  18633. this.$this = t0;
  18634. },
  18635. _ImportedCssVisitor0: function _ImportedCssVisitor0(t0) {
  18636. this._async_evaluate$_visitor = t0;
  18637. },
  18638. _ImportedCssVisitor_visitCssAtRule_closure0: function _ImportedCssVisitor_visitCssAtRule_closure0() {
  18639. },
  18640. _ImportedCssVisitor_visitCssMediaRule_closure0: function _ImportedCssVisitor_visitCssMediaRule_closure0(t0) {
  18641. this.hasBeenMerged = t0;
  18642. },
  18643. _ImportedCssVisitor_visitCssStyleRule_closure0: function _ImportedCssVisitor_visitCssStyleRule_closure0() {
  18644. },
  18645. _ImportedCssVisitor_visitCssSupportsRule_closure0: function _ImportedCssVisitor_visitCssSupportsRule_closure0() {
  18646. },
  18647. _EvaluationContext0: function _EvaluationContext0(t0, t1) {
  18648. this._async_evaluate$_visitor = t0;
  18649. this._async_evaluate$_defaultWarnNodeWithSpan = t1;
  18650. },
  18651. cloneCssStylesheet(stylesheet, extensionStore) {
  18652. var _0_0 = extensionStore.clone$0();
  18653. return new A._Record_2(new A._CloneCssVisitor(_0_0._1)._visitChildren$2(A.ModifiableCssStylesheet$(stylesheet.get$span(stylesheet)), stylesheet), _0_0._0);
  18654. },
  18655. _CloneCssVisitor: function _CloneCssVisitor(t0) {
  18656. this._oldToNewSelectors = t0;
  18657. },
  18658. _EvaluateVisitor$(functions, importCache, logger, nodeImporter, quietDeps, sourceMap) {
  18659. var t1 = type$.Uri,
  18660. t2 = type$.Module_Callable,
  18661. t3 = A._setArrayType([], type$.JSArray_Record_2_String_and_AstNode);
  18662. 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);
  18663. t1._EvaluateVisitor$6$functions$importCache$logger$nodeImporter$quietDeps$sourceMap(functions, importCache, logger, nodeImporter, quietDeps, sourceMap);
  18664. return t1;
  18665. },
  18666. Evaluator: function Evaluator(t0, t1) {
  18667. this._visitor = t0;
  18668. this._importer = t1;
  18669. },
  18670. _EvaluateVisitor: function _EvaluateVisitor(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16) {
  18671. var _ = this;
  18672. _._evaluate$_importCache = t0;
  18673. _._evaluate$_nodeImporter = t1;
  18674. _._builtInFunctions = t2;
  18675. _._builtInModules = t3;
  18676. _._modules = t4;
  18677. _._moduleConfigurations = t5;
  18678. _._moduleNodes = t6;
  18679. _._logger = t7;
  18680. _._warningsEmitted = t8;
  18681. _._quietDeps = t9;
  18682. _._sourceMap = t10;
  18683. _._compileContext = t11;
  18684. _._environment = t12;
  18685. _._declarationName = _.__parent = _._mediaQuerySources = _._mediaQueries = _._styleRuleIgnoringAtRoot = null;
  18686. _._member = "root stylesheet";
  18687. _._importSpan = _._callableNode = null;
  18688. _._inSupportsDeclaration = _._inKeyframes = _._atRootExcludingStyleRule = _._inUnknownAtRule = _._inFunction = false;
  18689. _._loadedUrls = t13;
  18690. _._activeModules = t14;
  18691. _._stack = t15;
  18692. _._importer = null;
  18693. _._inDependency = false;
  18694. _.__extensionStore = _._preModuleComments = _._outOfOrderImports = _.__endOfImports = _.__root = _.__stylesheet = null;
  18695. _._configuration = t16;
  18696. },
  18697. _EvaluateVisitor_closure: function _EvaluateVisitor_closure(t0) {
  18698. this.$this = t0;
  18699. },
  18700. _EvaluateVisitor_closure0: function _EvaluateVisitor_closure0(t0) {
  18701. this.$this = t0;
  18702. },
  18703. _EvaluateVisitor_closure1: function _EvaluateVisitor_closure1(t0) {
  18704. this.$this = t0;
  18705. },
  18706. _EvaluateVisitor_closure2: function _EvaluateVisitor_closure2(t0) {
  18707. this.$this = t0;
  18708. },
  18709. _EvaluateVisitor_closure3: function _EvaluateVisitor_closure3(t0) {
  18710. this.$this = t0;
  18711. },
  18712. _EvaluateVisitor_closure4: function _EvaluateVisitor_closure4(t0) {
  18713. this.$this = t0;
  18714. },
  18715. _EvaluateVisitor_closure5: function _EvaluateVisitor_closure5(t0) {
  18716. this.$this = t0;
  18717. },
  18718. _EvaluateVisitor_closure6: function _EvaluateVisitor_closure6(t0) {
  18719. this.$this = t0;
  18720. },
  18721. _EvaluateVisitor_closure7: function _EvaluateVisitor_closure7(t0) {
  18722. this.$this = t0;
  18723. },
  18724. _EvaluateVisitor__closure2: function _EvaluateVisitor__closure2(t0, t1, t2) {
  18725. this.$this = t0;
  18726. this.name = t1;
  18727. this.module = t2;
  18728. },
  18729. _EvaluateVisitor_closure8: function _EvaluateVisitor_closure8(t0) {
  18730. this.$this = t0;
  18731. },
  18732. _EvaluateVisitor__closure1: function _EvaluateVisitor__closure1(t0, t1, t2) {
  18733. this.$this = t0;
  18734. this.name = t1;
  18735. this.module = t2;
  18736. },
  18737. _EvaluateVisitor_closure9: function _EvaluateVisitor_closure9(t0) {
  18738. this.$this = t0;
  18739. },
  18740. _EvaluateVisitor_closure10: function _EvaluateVisitor_closure10(t0) {
  18741. this.$this = t0;
  18742. },
  18743. _EvaluateVisitor__closure: function _EvaluateVisitor__closure(t0, t1, t2) {
  18744. this.values = t0;
  18745. this.span = t1;
  18746. this.callableNode = t2;
  18747. },
  18748. _EvaluateVisitor__closure0: function _EvaluateVisitor__closure0(t0) {
  18749. this.$this = t0;
  18750. },
  18751. _EvaluateVisitor_closure11: function _EvaluateVisitor_closure11(t0) {
  18752. this.$this = t0;
  18753. },
  18754. _EvaluateVisitor_run_closure: function _EvaluateVisitor_run_closure(t0, t1, t2) {
  18755. this.$this = t0;
  18756. this.node = t1;
  18757. this.importer = t2;
  18758. },
  18759. _EvaluateVisitor_run__closure: function _EvaluateVisitor_run__closure(t0, t1, t2) {
  18760. this.$this = t0;
  18761. this.importer = t1;
  18762. this.node = t2;
  18763. },
  18764. _EvaluateVisitor_runExpression_closure: function _EvaluateVisitor_runExpression_closure(t0, t1, t2) {
  18765. this.$this = t0;
  18766. this.importer = t1;
  18767. this.expression = t2;
  18768. },
  18769. _EvaluateVisitor_runExpression__closure: function _EvaluateVisitor_runExpression__closure(t0, t1) {
  18770. this.$this = t0;
  18771. this.expression = t1;
  18772. },
  18773. _EvaluateVisitor_runExpression___closure: function _EvaluateVisitor_runExpression___closure(t0, t1) {
  18774. this.$this = t0;
  18775. this.expression = t1;
  18776. },
  18777. _EvaluateVisitor_runStatement_closure: function _EvaluateVisitor_runStatement_closure(t0, t1, t2) {
  18778. this.$this = t0;
  18779. this.importer = t1;
  18780. this.statement = t2;
  18781. },
  18782. _EvaluateVisitor_runStatement__closure: function _EvaluateVisitor_runStatement__closure(t0, t1) {
  18783. this.$this = t0;
  18784. this.statement = t1;
  18785. },
  18786. _EvaluateVisitor_runStatement___closure: function _EvaluateVisitor_runStatement___closure(t0, t1) {
  18787. this.$this = t0;
  18788. this.statement = t1;
  18789. },
  18790. _EvaluateVisitor__loadModule_closure: function _EvaluateVisitor__loadModule_closure(t0, t1) {
  18791. this._box_0 = t0;
  18792. this.callback = t1;
  18793. },
  18794. _EvaluateVisitor__loadModule_closure0: function _EvaluateVisitor__loadModule_closure0(t0, t1, t2, t3, t4, t5, t6) {
  18795. var _ = this;
  18796. _.$this = t0;
  18797. _.url = t1;
  18798. _.nodeWithSpan = t2;
  18799. _.baseUrl = t3;
  18800. _.namesInErrors = t4;
  18801. _.configuration = t5;
  18802. _.callback = t6;
  18803. },
  18804. _EvaluateVisitor__loadModule__closure: function _EvaluateVisitor__loadModule__closure(t0, t1) {
  18805. this.$this = t0;
  18806. this.message = t1;
  18807. },
  18808. _EvaluateVisitor__loadModule__closure0: function _EvaluateVisitor__loadModule__closure0(t0, t1, t2) {
  18809. this._box_1 = t0;
  18810. this.callback = t1;
  18811. this.firstLoad = t2;
  18812. },
  18813. _EvaluateVisitor__execute_closure: function _EvaluateVisitor__execute_closure(t0, t1, t2, t3, t4, t5, t6) {
  18814. var _ = this;
  18815. _.$this = t0;
  18816. _.importer = t1;
  18817. _.stylesheet = t2;
  18818. _.extensionStore = t3;
  18819. _.configuration = t4;
  18820. _.css = t5;
  18821. _.preModuleComments = t6;
  18822. },
  18823. _EvaluateVisitor__combineCss_closure: function _EvaluateVisitor__combineCss_closure() {
  18824. },
  18825. _EvaluateVisitor__combineCss_closure0: function _EvaluateVisitor__combineCss_closure0(t0) {
  18826. this.selectors = t0;
  18827. },
  18828. _EvaluateVisitor__combineCss_visitModule: function _EvaluateVisitor__combineCss_visitModule(t0, t1, t2, t3, t4, t5) {
  18829. var _ = this;
  18830. _.$this = t0;
  18831. _.seen = t1;
  18832. _.clone = t2;
  18833. _.css = t3;
  18834. _.imports = t4;
  18835. _.sorted = t5;
  18836. },
  18837. _EvaluateVisitor__extendModules_closure: function _EvaluateVisitor__extendModules_closure(t0) {
  18838. this.originalSelectors = t0;
  18839. },
  18840. _EvaluateVisitor__extendModules_closure0: function _EvaluateVisitor__extendModules_closure0() {
  18841. },
  18842. _EvaluateVisitor_visitAtRootRule_closure: function _EvaluateVisitor_visitAtRootRule_closure(t0, t1) {
  18843. this.$this = t0;
  18844. this.node = t1;
  18845. },
  18846. _EvaluateVisitor_visitAtRootRule_closure0: function _EvaluateVisitor_visitAtRootRule_closure0(t0, t1) {
  18847. this.$this = t0;
  18848. this.node = t1;
  18849. },
  18850. _EvaluateVisitor__scopeForAtRoot_closure: function _EvaluateVisitor__scopeForAtRoot_closure(t0, t1, t2) {
  18851. this.$this = t0;
  18852. this.newParent = t1;
  18853. this.node = t2;
  18854. },
  18855. _EvaluateVisitor__scopeForAtRoot_closure0: function _EvaluateVisitor__scopeForAtRoot_closure0(t0, t1) {
  18856. this.$this = t0;
  18857. this.innerScope = t1;
  18858. },
  18859. _EvaluateVisitor__scopeForAtRoot_closure1: function _EvaluateVisitor__scopeForAtRoot_closure1(t0, t1) {
  18860. this.$this = t0;
  18861. this.innerScope = t1;
  18862. },
  18863. _EvaluateVisitor__scopeForAtRoot__closure: function _EvaluateVisitor__scopeForAtRoot__closure(t0, t1) {
  18864. this.innerScope = t0;
  18865. this.callback = t1;
  18866. },
  18867. _EvaluateVisitor__scopeForAtRoot_closure2: function _EvaluateVisitor__scopeForAtRoot_closure2(t0, t1) {
  18868. this.$this = t0;
  18869. this.innerScope = t1;
  18870. },
  18871. _EvaluateVisitor__scopeForAtRoot_closure3: function _EvaluateVisitor__scopeForAtRoot_closure3() {
  18872. },
  18873. _EvaluateVisitor__scopeForAtRoot_closure4: function _EvaluateVisitor__scopeForAtRoot_closure4(t0, t1) {
  18874. this.$this = t0;
  18875. this.innerScope = t1;
  18876. },
  18877. _EvaluateVisitor_visitContentRule_closure: function _EvaluateVisitor_visitContentRule_closure(t0, t1) {
  18878. this.$this = t0;
  18879. this.content = t1;
  18880. },
  18881. _EvaluateVisitor_visitDeclaration_closure: function _EvaluateVisitor_visitDeclaration_closure(t0, t1) {
  18882. this._box_0 = t0;
  18883. this.$this = t1;
  18884. },
  18885. _EvaluateVisitor_visitEachRule_closure: function _EvaluateVisitor_visitEachRule_closure(t0, t1, t2) {
  18886. this._box_0 = t0;
  18887. this.$this = t1;
  18888. this.nodeWithSpan = t2;
  18889. },
  18890. _EvaluateVisitor_visitEachRule_closure0: function _EvaluateVisitor_visitEachRule_closure0(t0, t1, t2) {
  18891. this._box_1 = t0;
  18892. this.$this = t1;
  18893. this.nodeWithSpan = t2;
  18894. },
  18895. _EvaluateVisitor_visitEachRule_closure1: function _EvaluateVisitor_visitEachRule_closure1(t0, t1, t2, t3) {
  18896. var _ = this;
  18897. _.$this = t0;
  18898. _.list = t1;
  18899. _.setVariables = t2;
  18900. _.node = t3;
  18901. },
  18902. _EvaluateVisitor_visitEachRule__closure: function _EvaluateVisitor_visitEachRule__closure(t0, t1, t2) {
  18903. this.$this = t0;
  18904. this.setVariables = t1;
  18905. this.node = t2;
  18906. },
  18907. _EvaluateVisitor_visitEachRule___closure: function _EvaluateVisitor_visitEachRule___closure(t0) {
  18908. this.$this = t0;
  18909. },
  18910. _EvaluateVisitor_visitAtRule_closure: function _EvaluateVisitor_visitAtRule_closure(t0) {
  18911. this.$this = t0;
  18912. },
  18913. _EvaluateVisitor_visitAtRule_closure0: function _EvaluateVisitor_visitAtRule_closure0(t0, t1, t2) {
  18914. this.$this = t0;
  18915. this.name = t1;
  18916. this.children = t2;
  18917. },
  18918. _EvaluateVisitor_visitAtRule__closure: function _EvaluateVisitor_visitAtRule__closure(t0, t1) {
  18919. this.$this = t0;
  18920. this.children = t1;
  18921. },
  18922. _EvaluateVisitor_visitAtRule_closure1: function _EvaluateVisitor_visitAtRule_closure1() {
  18923. },
  18924. _EvaluateVisitor_visitForRule_closure: function _EvaluateVisitor_visitForRule_closure(t0, t1) {
  18925. this.$this = t0;
  18926. this.node = t1;
  18927. },
  18928. _EvaluateVisitor_visitForRule_closure0: function _EvaluateVisitor_visitForRule_closure0(t0, t1) {
  18929. this.$this = t0;
  18930. this.node = t1;
  18931. },
  18932. _EvaluateVisitor_visitForRule_closure1: function _EvaluateVisitor_visitForRule_closure1(t0) {
  18933. this.fromNumber = t0;
  18934. },
  18935. _EvaluateVisitor_visitForRule_closure2: function _EvaluateVisitor_visitForRule_closure2(t0, t1) {
  18936. this.toNumber = t0;
  18937. this.fromNumber = t1;
  18938. },
  18939. _EvaluateVisitor_visitForRule_closure3: function _EvaluateVisitor_visitForRule_closure3(t0, t1, t2, t3, t4, t5) {
  18940. var _ = this;
  18941. _._box_0 = t0;
  18942. _.$this = t1;
  18943. _.node = t2;
  18944. _.from = t3;
  18945. _.direction = t4;
  18946. _.fromNumber = t5;
  18947. },
  18948. _EvaluateVisitor_visitForRule__closure: function _EvaluateVisitor_visitForRule__closure(t0) {
  18949. this.$this = t0;
  18950. },
  18951. _EvaluateVisitor_visitForwardRule_closure: function _EvaluateVisitor_visitForwardRule_closure(t0, t1) {
  18952. this.$this = t0;
  18953. this.node = t1;
  18954. },
  18955. _EvaluateVisitor_visitForwardRule_closure0: function _EvaluateVisitor_visitForwardRule_closure0(t0, t1) {
  18956. this.$this = t0;
  18957. this.node = t1;
  18958. },
  18959. _EvaluateVisitor__registerCommentsForModule_closure: function _EvaluateVisitor__registerCommentsForModule_closure() {
  18960. },
  18961. _EvaluateVisitor_visitIfRule_closure: function _EvaluateVisitor_visitIfRule_closure(t0) {
  18962. this.$this = t0;
  18963. },
  18964. _EvaluateVisitor_visitIfRule__closure: function _EvaluateVisitor_visitIfRule__closure(t0, t1) {
  18965. this.$this = t0;
  18966. this.clause = t1;
  18967. },
  18968. _EvaluateVisitor_visitIfRule___closure: function _EvaluateVisitor_visitIfRule___closure(t0) {
  18969. this.$this = t0;
  18970. },
  18971. _EvaluateVisitor__visitDynamicImport_closure: function _EvaluateVisitor__visitDynamicImport_closure(t0, t1) {
  18972. this.$this = t0;
  18973. this.$import = t1;
  18974. },
  18975. _EvaluateVisitor__visitDynamicImport__closure: function _EvaluateVisitor__visitDynamicImport__closure(t0) {
  18976. this.$this = t0;
  18977. },
  18978. _EvaluateVisitor__visitDynamicImport__closure0: function _EvaluateVisitor__visitDynamicImport__closure0() {
  18979. },
  18980. _EvaluateVisitor__visitDynamicImport__closure1: function _EvaluateVisitor__visitDynamicImport__closure1() {
  18981. },
  18982. _EvaluateVisitor__visitDynamicImport__closure2: function _EvaluateVisitor__visitDynamicImport__closure2(t0, t1, t2, t3, t4) {
  18983. var _ = this;
  18984. _._box_0 = t0;
  18985. _.$this = t1;
  18986. _.loadsUserDefinedModules = t2;
  18987. _.environment = t3;
  18988. _.children = t4;
  18989. },
  18990. _EvaluateVisitor__applyMixin_closure: function _EvaluateVisitor__applyMixin_closure(t0, t1, t2, t3) {
  18991. var _ = this;
  18992. _.$this = t0;
  18993. _.$arguments = t1;
  18994. _.mixin = t2;
  18995. _.nodeWithSpanWithoutContent = t3;
  18996. },
  18997. _EvaluateVisitor__applyMixin__closure0: function _EvaluateVisitor__applyMixin__closure0(t0, t1, t2, t3) {
  18998. var _ = this;
  18999. _.$this = t0;
  19000. _.$arguments = t1;
  19001. _.mixin = t2;
  19002. _.nodeWithSpanWithoutContent = t3;
  19003. },
  19004. _EvaluateVisitor__applyMixin_closure0: function _EvaluateVisitor__applyMixin_closure0(t0, t1, t2, t3) {
  19005. var _ = this;
  19006. _.$this = t0;
  19007. _.contentCallable = t1;
  19008. _.mixin = t2;
  19009. _.nodeWithSpanWithoutContent = t3;
  19010. },
  19011. _EvaluateVisitor__applyMixin__closure: function _EvaluateVisitor__applyMixin__closure(t0, t1, t2) {
  19012. this.$this = t0;
  19013. this.mixin = t1;
  19014. this.nodeWithSpanWithoutContent = t2;
  19015. },
  19016. _EvaluateVisitor__applyMixin___closure: function _EvaluateVisitor__applyMixin___closure(t0, t1, t2) {
  19017. this.$this = t0;
  19018. this.mixin = t1;
  19019. this.nodeWithSpanWithoutContent = t2;
  19020. },
  19021. _EvaluateVisitor__applyMixin____closure: function _EvaluateVisitor__applyMixin____closure(t0, t1) {
  19022. this.$this = t0;
  19023. this.statement = t1;
  19024. },
  19025. _EvaluateVisitor_visitIncludeRule_closure: function _EvaluateVisitor_visitIncludeRule_closure(t0, t1) {
  19026. this.$this = t0;
  19027. this.node = t1;
  19028. },
  19029. _EvaluateVisitor_visitIncludeRule_closure0: function _EvaluateVisitor_visitIncludeRule_closure0(t0) {
  19030. this.$this = t0;
  19031. },
  19032. _EvaluateVisitor_visitIncludeRule_closure1: function _EvaluateVisitor_visitIncludeRule_closure1(t0) {
  19033. this.node = t0;
  19034. },
  19035. _EvaluateVisitor_visitMediaRule_closure: function _EvaluateVisitor_visitMediaRule_closure(t0, t1) {
  19036. this.$this = t0;
  19037. this.queries = t1;
  19038. },
  19039. _EvaluateVisitor_visitMediaRule_closure0: function _EvaluateVisitor_visitMediaRule_closure0(t0, t1, t2, t3, t4) {
  19040. var _ = this;
  19041. _.$this = t0;
  19042. _.mergedQueries = t1;
  19043. _.queries = t2;
  19044. _.mergedSources = t3;
  19045. _.node = t4;
  19046. },
  19047. _EvaluateVisitor_visitMediaRule__closure: function _EvaluateVisitor_visitMediaRule__closure(t0, t1) {
  19048. this.$this = t0;
  19049. this.node = t1;
  19050. },
  19051. _EvaluateVisitor_visitMediaRule___closure: function _EvaluateVisitor_visitMediaRule___closure(t0, t1) {
  19052. this.$this = t0;
  19053. this.node = t1;
  19054. },
  19055. _EvaluateVisitor_visitMediaRule_closure1: function _EvaluateVisitor_visitMediaRule_closure1(t0) {
  19056. this.mergedSources = t0;
  19057. },
  19058. _EvaluateVisitor_visitStyleRule_closure: function _EvaluateVisitor_visitStyleRule_closure(t0, t1) {
  19059. this.$this = t0;
  19060. this.node = t1;
  19061. },
  19062. _EvaluateVisitor_visitStyleRule_closure0: function _EvaluateVisitor_visitStyleRule_closure0() {
  19063. },
  19064. _EvaluateVisitor_visitStyleRule_closure2: function _EvaluateVisitor_visitStyleRule_closure2(t0, t1, t2) {
  19065. this.$this = t0;
  19066. this.rule = t1;
  19067. this.node = t2;
  19068. },
  19069. _EvaluateVisitor_visitStyleRule__closure: function _EvaluateVisitor_visitStyleRule__closure(t0, t1) {
  19070. this.$this = t0;
  19071. this.node = t1;
  19072. },
  19073. _EvaluateVisitor_visitStyleRule_closure1: function _EvaluateVisitor_visitStyleRule_closure1() {
  19074. },
  19075. _EvaluateVisitor__warnForBogusCombinators_closure: function _EvaluateVisitor__warnForBogusCombinators_closure() {
  19076. },
  19077. _EvaluateVisitor_visitSupportsRule_closure: function _EvaluateVisitor_visitSupportsRule_closure(t0, t1) {
  19078. this.$this = t0;
  19079. this.node = t1;
  19080. },
  19081. _EvaluateVisitor_visitSupportsRule__closure: function _EvaluateVisitor_visitSupportsRule__closure(t0, t1) {
  19082. this.$this = t0;
  19083. this.node = t1;
  19084. },
  19085. _EvaluateVisitor_visitSupportsRule_closure0: function _EvaluateVisitor_visitSupportsRule_closure0() {
  19086. },
  19087. _EvaluateVisitor__visitSupportsCondition_closure: function _EvaluateVisitor__visitSupportsCondition_closure(t0, t1) {
  19088. this._box_0 = t0;
  19089. this.$this = t1;
  19090. },
  19091. _EvaluateVisitor_visitVariableDeclaration_closure: function _EvaluateVisitor_visitVariableDeclaration_closure(t0, t1, t2) {
  19092. this._box_0 = t0;
  19093. this.$this = t1;
  19094. this.node = t2;
  19095. },
  19096. _EvaluateVisitor_visitVariableDeclaration_closure0: function _EvaluateVisitor_visitVariableDeclaration_closure0(t0, t1) {
  19097. this.$this = t0;
  19098. this.node = t1;
  19099. },
  19100. _EvaluateVisitor_visitVariableDeclaration_closure1: function _EvaluateVisitor_visitVariableDeclaration_closure1(t0, t1, t2) {
  19101. this.$this = t0;
  19102. this.node = t1;
  19103. this.value = t2;
  19104. },
  19105. _EvaluateVisitor_visitUseRule_closure: function _EvaluateVisitor_visitUseRule_closure(t0, t1) {
  19106. this.$this = t0;
  19107. this.node = t1;
  19108. },
  19109. _EvaluateVisitor_visitWarnRule_closure: function _EvaluateVisitor_visitWarnRule_closure(t0, t1) {
  19110. this.$this = t0;
  19111. this.node = t1;
  19112. },
  19113. _EvaluateVisitor_visitWhileRule_closure: function _EvaluateVisitor_visitWhileRule_closure(t0, t1) {
  19114. this.$this = t0;
  19115. this.node = t1;
  19116. },
  19117. _EvaluateVisitor_visitWhileRule__closure: function _EvaluateVisitor_visitWhileRule__closure(t0) {
  19118. this.$this = t0;
  19119. },
  19120. _EvaluateVisitor_visitBinaryOperationExpression_closure: function _EvaluateVisitor_visitBinaryOperationExpression_closure(t0, t1) {
  19121. this.$this = t0;
  19122. this.node = t1;
  19123. },
  19124. _EvaluateVisitor__slash_recommendation: function _EvaluateVisitor__slash_recommendation() {
  19125. },
  19126. _EvaluateVisitor_visitVariableExpression_closure: function _EvaluateVisitor_visitVariableExpression_closure(t0, t1) {
  19127. this.$this = t0;
  19128. this.node = t1;
  19129. },
  19130. _EvaluateVisitor_visitUnaryOperationExpression_closure: function _EvaluateVisitor_visitUnaryOperationExpression_closure(t0, t1) {
  19131. this.node = t0;
  19132. this.operand = t1;
  19133. },
  19134. _EvaluateVisitor_visitListExpression_closure: function _EvaluateVisitor_visitListExpression_closure(t0) {
  19135. this.$this = t0;
  19136. },
  19137. _EvaluateVisitor_visitFunctionExpression_closure: function _EvaluateVisitor_visitFunctionExpression_closure(t0, t1) {
  19138. this.$this = t0;
  19139. this.node = t1;
  19140. },
  19141. _EvaluateVisitor_visitFunctionExpression_closure0: function _EvaluateVisitor_visitFunctionExpression_closure0() {
  19142. },
  19143. _EvaluateVisitor_visitFunctionExpression_closure1: function _EvaluateVisitor_visitFunctionExpression_closure1(t0, t1, t2) {
  19144. this._box_0 = t0;
  19145. this.$this = t1;
  19146. this.node = t2;
  19147. },
  19148. _EvaluateVisitor__visitCalculation_closure: function _EvaluateVisitor__visitCalculation_closure(t0, t1) {
  19149. this.$this = t0;
  19150. this.node = t1;
  19151. },
  19152. _EvaluateVisitor__checkCalculationArguments_check: function _EvaluateVisitor__checkCalculationArguments_check(t0, t1) {
  19153. this.$this = t0;
  19154. this.node = t1;
  19155. },
  19156. _EvaluateVisitor__visitCalculationExpression_closure: function _EvaluateVisitor__visitCalculationExpression_closure(t0, t1, t2, t3) {
  19157. var _ = this;
  19158. _._box_0 = t0;
  19159. _.$this = t1;
  19160. _.node = t2;
  19161. _.inLegacySassFunction = t3;
  19162. },
  19163. _EvaluateVisitor__visitCalculationExpression__closure: function _EvaluateVisitor__visitCalculationExpression__closure(t0, t1) {
  19164. this.$this = t0;
  19165. this.node = t1;
  19166. },
  19167. _EvaluateVisitor_visitInterpolatedFunctionExpression_closure: function _EvaluateVisitor_visitInterpolatedFunctionExpression_closure(t0, t1, t2) {
  19168. this.$this = t0;
  19169. this.node = t1;
  19170. this.$function = t2;
  19171. },
  19172. _EvaluateVisitor__runUserDefinedCallable_closure: function _EvaluateVisitor__runUserDefinedCallable_closure(t0, t1, t2, t3, t4, t5) {
  19173. var _ = this;
  19174. _.$this = t0;
  19175. _.callable = t1;
  19176. _.evaluated = t2;
  19177. _.nodeWithSpan = t3;
  19178. _.run = t4;
  19179. _.V = t5;
  19180. },
  19181. _EvaluateVisitor__runUserDefinedCallable__closure: function _EvaluateVisitor__runUserDefinedCallable__closure(t0, t1, t2, t3, t4, t5) {
  19182. var _ = this;
  19183. _.$this = t0;
  19184. _.evaluated = t1;
  19185. _.callable = t2;
  19186. _.nodeWithSpan = t3;
  19187. _.run = t4;
  19188. _.V = t5;
  19189. },
  19190. _EvaluateVisitor__runUserDefinedCallable___closure: function _EvaluateVisitor__runUserDefinedCallable___closure(t0, t1, t2, t3, t4, t5) {
  19191. var _ = this;
  19192. _.$this = t0;
  19193. _.evaluated = t1;
  19194. _.callable = t2;
  19195. _.nodeWithSpan = t3;
  19196. _.run = t4;
  19197. _.V = t5;
  19198. },
  19199. _EvaluateVisitor__runUserDefinedCallable____closure: function _EvaluateVisitor__runUserDefinedCallable____closure() {
  19200. },
  19201. _EvaluateVisitor__runFunctionCallable_closure: function _EvaluateVisitor__runFunctionCallable_closure(t0, t1) {
  19202. this.$this = t0;
  19203. this.callable = t1;
  19204. },
  19205. _EvaluateVisitor__runBuiltInCallable_closure: function _EvaluateVisitor__runBuiltInCallable_closure(t0, t1, t2) {
  19206. this._box_0 = t0;
  19207. this.evaluated = t1;
  19208. this.namedSet = t2;
  19209. },
  19210. _EvaluateVisitor__runBuiltInCallable_closure0: function _EvaluateVisitor__runBuiltInCallable_closure0(t0, t1) {
  19211. this._box_0 = t0;
  19212. this.evaluated = t1;
  19213. },
  19214. _EvaluateVisitor__runBuiltInCallable_closure1: function _EvaluateVisitor__runBuiltInCallable_closure1() {
  19215. },
  19216. _EvaluateVisitor__evaluateArguments_closure: function _EvaluateVisitor__evaluateArguments_closure() {
  19217. },
  19218. _EvaluateVisitor__evaluateArguments_closure0: function _EvaluateVisitor__evaluateArguments_closure0(t0, t1) {
  19219. this.$this = t0;
  19220. this.restNodeForSpan = t1;
  19221. },
  19222. _EvaluateVisitor__evaluateArguments_closure1: function _EvaluateVisitor__evaluateArguments_closure1(t0, t1, t2, t3) {
  19223. var _ = this;
  19224. _.$this = t0;
  19225. _.named = t1;
  19226. _.restNodeForSpan = t2;
  19227. _.namedNodes = t3;
  19228. },
  19229. _EvaluateVisitor__evaluateArguments_closure2: function _EvaluateVisitor__evaluateArguments_closure2() {
  19230. },
  19231. _EvaluateVisitor__evaluateMacroArguments_closure: function _EvaluateVisitor__evaluateMacroArguments_closure(t0) {
  19232. this.restArgs = t0;
  19233. },
  19234. _EvaluateVisitor__evaluateMacroArguments_closure0: function _EvaluateVisitor__evaluateMacroArguments_closure0(t0, t1, t2) {
  19235. this.$this = t0;
  19236. this.restNodeForSpan = t1;
  19237. this.restArgs = t2;
  19238. },
  19239. _EvaluateVisitor__evaluateMacroArguments_closure1: function _EvaluateVisitor__evaluateMacroArguments_closure1(t0, t1, t2, t3) {
  19240. var _ = this;
  19241. _.$this = t0;
  19242. _.named = t1;
  19243. _.restNodeForSpan = t2;
  19244. _.restArgs = t3;
  19245. },
  19246. _EvaluateVisitor__evaluateMacroArguments_closure2: function _EvaluateVisitor__evaluateMacroArguments_closure2(t0, t1, t2) {
  19247. this.$this = t0;
  19248. this.keywordRestNodeForSpan = t1;
  19249. this.keywordRestArgs = t2;
  19250. },
  19251. _EvaluateVisitor__addRestMap_closure: function _EvaluateVisitor__addRestMap_closure(t0, t1, t2, t3, t4, t5) {
  19252. var _ = this;
  19253. _.$this = t0;
  19254. _.values = t1;
  19255. _.convert = t2;
  19256. _.expressionNode = t3;
  19257. _.map = t4;
  19258. _.nodeWithSpan = t5;
  19259. },
  19260. _EvaluateVisitor__verifyArguments_closure: function _EvaluateVisitor__verifyArguments_closure(t0, t1, t2) {
  19261. this.parameters = t0;
  19262. this.positional = t1;
  19263. this.named = t2;
  19264. },
  19265. _EvaluateVisitor_visitCssAtRule_closure: function _EvaluateVisitor_visitCssAtRule_closure(t0, t1) {
  19266. this.$this = t0;
  19267. this.node = t1;
  19268. },
  19269. _EvaluateVisitor_visitCssAtRule_closure0: function _EvaluateVisitor_visitCssAtRule_closure0() {
  19270. },
  19271. _EvaluateVisitor_visitCssKeyframeBlock_closure: function _EvaluateVisitor_visitCssKeyframeBlock_closure(t0, t1) {
  19272. this.$this = t0;
  19273. this.node = t1;
  19274. },
  19275. _EvaluateVisitor_visitCssKeyframeBlock_closure0: function _EvaluateVisitor_visitCssKeyframeBlock_closure0() {
  19276. },
  19277. _EvaluateVisitor_visitCssMediaRule_closure: function _EvaluateVisitor_visitCssMediaRule_closure(t0, t1) {
  19278. this.$this = t0;
  19279. this.node = t1;
  19280. },
  19281. _EvaluateVisitor_visitCssMediaRule_closure0: function _EvaluateVisitor_visitCssMediaRule_closure0(t0, t1, t2, t3) {
  19282. var _ = this;
  19283. _.$this = t0;
  19284. _.mergedQueries = t1;
  19285. _.node = t2;
  19286. _.mergedSources = t3;
  19287. },
  19288. _EvaluateVisitor_visitCssMediaRule__closure: function _EvaluateVisitor_visitCssMediaRule__closure(t0, t1) {
  19289. this.$this = t0;
  19290. this.node = t1;
  19291. },
  19292. _EvaluateVisitor_visitCssMediaRule___closure: function _EvaluateVisitor_visitCssMediaRule___closure(t0, t1) {
  19293. this.$this = t0;
  19294. this.node = t1;
  19295. },
  19296. _EvaluateVisitor_visitCssMediaRule_closure1: function _EvaluateVisitor_visitCssMediaRule_closure1(t0) {
  19297. this.mergedSources = t0;
  19298. },
  19299. _EvaluateVisitor_visitCssStyleRule_closure0: function _EvaluateVisitor_visitCssStyleRule_closure0(t0, t1, t2) {
  19300. this.$this = t0;
  19301. this.rule = t1;
  19302. this.node = t2;
  19303. },
  19304. _EvaluateVisitor_visitCssStyleRule__closure: function _EvaluateVisitor_visitCssStyleRule__closure(t0, t1) {
  19305. this.$this = t0;
  19306. this.node = t1;
  19307. },
  19308. _EvaluateVisitor_visitCssStyleRule_closure: function _EvaluateVisitor_visitCssStyleRule_closure() {
  19309. },
  19310. _EvaluateVisitor_visitCssSupportsRule_closure: function _EvaluateVisitor_visitCssSupportsRule_closure(t0, t1) {
  19311. this.$this = t0;
  19312. this.node = t1;
  19313. },
  19314. _EvaluateVisitor_visitCssSupportsRule__closure: function _EvaluateVisitor_visitCssSupportsRule__closure(t0, t1) {
  19315. this.$this = t0;
  19316. this.node = t1;
  19317. },
  19318. _EvaluateVisitor_visitCssSupportsRule_closure0: function _EvaluateVisitor_visitCssSupportsRule_closure0() {
  19319. },
  19320. _EvaluateVisitor__performInterpolationHelper_closure: function _EvaluateVisitor__performInterpolationHelper_closure(t0) {
  19321. this.interpolation = t0;
  19322. },
  19323. _EvaluateVisitor__serialize_closure: function _EvaluateVisitor__serialize_closure(t0, t1) {
  19324. this.value = t0;
  19325. this.quote = t1;
  19326. },
  19327. _EvaluateVisitor__expressionNode_closure: function _EvaluateVisitor__expressionNode_closure(t0, t1) {
  19328. this.$this = t0;
  19329. this.expression = t1;
  19330. },
  19331. _EvaluateVisitor__withoutSlash_recommendation: function _EvaluateVisitor__withoutSlash_recommendation() {
  19332. },
  19333. _EvaluateVisitor__stackFrame_closure: function _EvaluateVisitor__stackFrame_closure(t0) {
  19334. this.$this = t0;
  19335. },
  19336. _ImportedCssVisitor: function _ImportedCssVisitor(t0) {
  19337. this._visitor = t0;
  19338. },
  19339. _ImportedCssVisitor_visitCssAtRule_closure: function _ImportedCssVisitor_visitCssAtRule_closure() {
  19340. },
  19341. _ImportedCssVisitor_visitCssMediaRule_closure: function _ImportedCssVisitor_visitCssMediaRule_closure(t0) {
  19342. this.hasBeenMerged = t0;
  19343. },
  19344. _ImportedCssVisitor_visitCssStyleRule_closure: function _ImportedCssVisitor_visitCssStyleRule_closure() {
  19345. },
  19346. _ImportedCssVisitor_visitCssSupportsRule_closure: function _ImportedCssVisitor_visitCssSupportsRule_closure() {
  19347. },
  19348. _EvaluationContext: function _EvaluationContext(t0, t1) {
  19349. this._visitor = t0;
  19350. this._defaultWarnNodeWithSpan = t1;
  19351. },
  19352. EveryCssVisitor: function EveryCssVisitor() {
  19353. },
  19354. EveryCssVisitor_visitCssAtRule_closure: function EveryCssVisitor_visitCssAtRule_closure(t0) {
  19355. this.$this = t0;
  19356. },
  19357. EveryCssVisitor_visitCssKeyframeBlock_closure: function EveryCssVisitor_visitCssKeyframeBlock_closure(t0) {
  19358. this.$this = t0;
  19359. },
  19360. EveryCssVisitor_visitCssMediaRule_closure: function EveryCssVisitor_visitCssMediaRule_closure(t0) {
  19361. this.$this = t0;
  19362. },
  19363. EveryCssVisitor_visitCssStyleRule_closure: function EveryCssVisitor_visitCssStyleRule_closure(t0) {
  19364. this.$this = t0;
  19365. },
  19366. EveryCssVisitor_visitCssStylesheet_closure: function EveryCssVisitor_visitCssStylesheet_closure(t0) {
  19367. this.$this = t0;
  19368. },
  19369. EveryCssVisitor_visitCssSupportsRule_closure: function EveryCssVisitor_visitCssSupportsRule_closure(t0) {
  19370. this.$this = t0;
  19371. },
  19372. expressionToCalc(expression) {
  19373. var t4,
  19374. t1 = A._setArrayType([B.C__MakeExpressionCalculationSafe.visitBinaryOperationExpression$1(0, expression)], type$.JSArray_Expression),
  19375. t2 = expression.get$span(0),
  19376. t3 = type$.Expression;
  19377. t1 = A.List_List$unmodifiable(t1, t3);
  19378. t3 = A.ConstantMap_ConstantMap$from(B.Map_empty4, type$.String, t3);
  19379. t4 = expression.get$span(0);
  19380. return new A.FunctionExpression(null, A.stringReplaceAllUnchecked("calc", "_", "-"), "calc", new A.ArgumentList(t1, t3, null, null, t2), t4);
  19381. },
  19382. _MakeExpressionCalculationSafe: function _MakeExpressionCalculationSafe() {
  19383. },
  19384. __MakeExpressionCalculationSafe_Object_ReplaceExpressionVisitor: function __MakeExpressionCalculationSafe_Object_ReplaceExpressionVisitor() {
  19385. },
  19386. _FindDependenciesVisitor: function _FindDependenciesVisitor(t0, t1, t2, t3, t4) {
  19387. var _ = this;
  19388. _._find_dependencies$_uses = t0;
  19389. _._find_dependencies$_forwards = t1;
  19390. _._metaLoadCss = t2;
  19391. _._imports = t3;
  19392. _._metaNamespaces = t4;
  19393. },
  19394. DependencyReport: function DependencyReport(t0, t1, t2, t3) {
  19395. var _ = this;
  19396. _.uses = t0;
  19397. _.forwards = t1;
  19398. _.metaLoadCss = t2;
  19399. _.imports = t3;
  19400. },
  19401. __FindDependenciesVisitor_Object_RecursiveStatementVisitor: function __FindDependenciesVisitor_Object_RecursiveStatementVisitor() {
  19402. },
  19403. IsCalculationSafeVisitor: function IsCalculationSafeVisitor() {
  19404. },
  19405. IsCalculationSafeVisitor_visitListExpression_closure: function IsCalculationSafeVisitor_visitListExpression_closure(t0) {
  19406. this.$this = t0;
  19407. },
  19408. RecursiveStatementVisitor: function RecursiveStatementVisitor() {
  19409. },
  19410. ReplaceExpressionVisitor: function ReplaceExpressionVisitor() {
  19411. },
  19412. ReplaceExpressionVisitor_visitListExpression_closure: function ReplaceExpressionVisitor_visitListExpression_closure(t0) {
  19413. this.$this = t0;
  19414. },
  19415. ReplaceExpressionVisitor_visitArgumentList_closure: function ReplaceExpressionVisitor_visitArgumentList_closure(t0) {
  19416. this.$this = t0;
  19417. },
  19418. ReplaceExpressionVisitor_visitInterpolation_closure: function ReplaceExpressionVisitor_visitInterpolation_closure(t0) {
  19419. this.$this = t0;
  19420. },
  19421. SelectorSearchVisitor: function SelectorSearchVisitor() {
  19422. },
  19423. SelectorSearchVisitor_visitComplexSelector_closure: function SelectorSearchVisitor_visitComplexSelector_closure(t0) {
  19424. this.$this = t0;
  19425. },
  19426. SelectorSearchVisitor_visitCompoundSelector_closure: function SelectorSearchVisitor_visitCompoundSelector_closure(t0) {
  19427. this.$this = t0;
  19428. },
  19429. serialize(node, charset, indentWidth, inspect, lineFeed, logger, sourceMap, style, useSpaces) {
  19430. var t1, css, t2, prefix,
  19431. visitor = A._SerializeVisitor$(2, inspect, lineFeed, logger, true, sourceMap, style, true);
  19432. node.accept$1(visitor);
  19433. t1 = visitor._serialize$_buffer;
  19434. css = t1.toString$0(0);
  19435. if (charset) {
  19436. t2 = new A.CodeUnits(css);
  19437. t2 = t2.any$1(t2, new A.serialize_closure());
  19438. } else
  19439. t2 = false;
  19440. if (t2)
  19441. prefix = style === B.OutputStyle_1 ? "\ufeff" : '@charset "UTF-8";\n';
  19442. else
  19443. prefix = "";
  19444. t1 = sourceMap ? t1.buildSourceMap$1$prefix(prefix) : null;
  19445. return new A._Record_2_sourceMap(prefix + css, t1);
  19446. },
  19447. serializeValue(value, inspect, quote) {
  19448. var _null = null,
  19449. visitor = A._SerializeVisitor$(_null, inspect, _null, _null, quote, false, _null, true);
  19450. value.accept$1(visitor);
  19451. return visitor._serialize$_buffer.toString$0(0);
  19452. },
  19453. serializeSelector(selector, inspect) {
  19454. var _null = null,
  19455. visitor = A._SerializeVisitor$(_null, true, _null, _null, true, false, _null, true);
  19456. selector.accept$1(visitor);
  19457. return visitor._serialize$_buffer.toString$0(0);
  19458. },
  19459. _SerializeVisitor$(indentWidth, inspect, lineFeed, logger, quote, sourceMap, style, useSpaces) {
  19460. var t1 = sourceMap ? new A.SourceMapBuffer(new A.StringBuffer(""), A._setArrayType([], type$.JSArray_Entry)) : new A.NoSourceMapBuffer(new A.StringBuffer("")),
  19461. t2 = style == null ? B.OutputStyle_0 : style,
  19462. t3 = indentWidth == null ? 2 : indentWidth,
  19463. t4 = logger == null ? B.StderrLogger_false : logger;
  19464. A.RangeError_checkValueInInterval(t3, 0, 10, "indentWidth");
  19465. return new A._SerializeVisitor(t1, t2, inspect, quote, 32, t3, B.LineFeed_lf, t4);
  19466. },
  19467. serialize_closure: function serialize_closure() {
  19468. },
  19469. _SerializeVisitor: function _SerializeVisitor(t0, t1, t2, t3, t4, t5, t6, t7) {
  19470. var _ = this;
  19471. _._serialize$_buffer = t0;
  19472. _._indentation = 0;
  19473. _._style = t1;
  19474. _._inspect = t2;
  19475. _._quote = t3;
  19476. _._indentCharacter = t4;
  19477. _._indentWidth = t5;
  19478. _._serialize$_lineFeed = t6;
  19479. _._serialize$_logger = t7;
  19480. },
  19481. _SerializeVisitor_visitCssComment_closure: function _SerializeVisitor_visitCssComment_closure(t0, t1) {
  19482. this.$this = t0;
  19483. this.node = t1;
  19484. },
  19485. _SerializeVisitor_visitCssAtRule_closure: function _SerializeVisitor_visitCssAtRule_closure(t0, t1) {
  19486. this.$this = t0;
  19487. this.node = t1;
  19488. },
  19489. _SerializeVisitor_visitCssMediaRule_closure: function _SerializeVisitor_visitCssMediaRule_closure(t0, t1) {
  19490. this.$this = t0;
  19491. this.node = t1;
  19492. },
  19493. _SerializeVisitor_visitCssImport_closure: function _SerializeVisitor_visitCssImport_closure(t0, t1) {
  19494. this.$this = t0;
  19495. this.node = t1;
  19496. },
  19497. _SerializeVisitor_visitCssImport__closure: function _SerializeVisitor_visitCssImport__closure(t0, t1) {
  19498. this.$this = t0;
  19499. this.node = t1;
  19500. },
  19501. _SerializeVisitor_visitCssKeyframeBlock_closure: function _SerializeVisitor_visitCssKeyframeBlock_closure(t0, t1) {
  19502. this.$this = t0;
  19503. this.node = t1;
  19504. },
  19505. _SerializeVisitor_visitCssStyleRule_closure: function _SerializeVisitor_visitCssStyleRule_closure(t0, t1) {
  19506. this.$this = t0;
  19507. this.node = t1;
  19508. },
  19509. _SerializeVisitor_visitCssSupportsRule_closure: function _SerializeVisitor_visitCssSupportsRule_closure(t0, t1) {
  19510. this.$this = t0;
  19511. this.node = t1;
  19512. },
  19513. _SerializeVisitor_visitCssDeclaration_closure: function _SerializeVisitor_visitCssDeclaration_closure(t0, t1) {
  19514. this.$this = t0;
  19515. this.node = t1;
  19516. },
  19517. _SerializeVisitor_visitCssDeclaration_closure0: function _SerializeVisitor_visitCssDeclaration_closure0(t0, t1) {
  19518. this.$this = t0;
  19519. this.node = t1;
  19520. },
  19521. _SerializeVisitor_visitList_closure: function _SerializeVisitor_visitList_closure() {
  19522. },
  19523. _SerializeVisitor_visitList_closure0: function _SerializeVisitor_visitList_closure0(t0, t1) {
  19524. this.$this = t0;
  19525. this.value = t1;
  19526. },
  19527. _SerializeVisitor_visitList_closure1: function _SerializeVisitor_visitList_closure1(t0) {
  19528. this.$this = t0;
  19529. },
  19530. _SerializeVisitor_visitMap_closure: function _SerializeVisitor_visitMap_closure(t0) {
  19531. this.$this = t0;
  19532. },
  19533. _SerializeVisitor_visitSelectorList_closure: function _SerializeVisitor_visitSelectorList_closure() {
  19534. },
  19535. _SerializeVisitor__write_closure: function _SerializeVisitor__write_closure(t0, t1) {
  19536. this.$this = t0;
  19537. this.value = t1;
  19538. },
  19539. _SerializeVisitor__visitChildren_closure: function _SerializeVisitor__visitChildren_closure(t0, t1) {
  19540. this.$this = t0;
  19541. this.child = t1;
  19542. },
  19543. _SerializeVisitor__visitChildren_closure0: function _SerializeVisitor__visitChildren_closure0(t0, t1) {
  19544. this.$this = t0;
  19545. this.child = t1;
  19546. },
  19547. OutputStyle: function OutputStyle(t0) {
  19548. this._name = t0;
  19549. },
  19550. LineFeed: function LineFeed(t0) {
  19551. this._name = t0;
  19552. },
  19553. StatementSearchVisitor: function StatementSearchVisitor() {
  19554. },
  19555. StatementSearchVisitor_visitIfRule_closure: function StatementSearchVisitor_visitIfRule_closure(t0) {
  19556. this.$this = t0;
  19557. },
  19558. StatementSearchVisitor_visitIfRule__closure0: function StatementSearchVisitor_visitIfRule__closure0(t0) {
  19559. this.$this = t0;
  19560. },
  19561. StatementSearchVisitor_visitIfRule_closure0: function StatementSearchVisitor_visitIfRule_closure0(t0) {
  19562. this.$this = t0;
  19563. },
  19564. StatementSearchVisitor_visitIfRule__closure: function StatementSearchVisitor_visitIfRule__closure(t0) {
  19565. this.$this = t0;
  19566. },
  19567. StatementSearchVisitor_visitChildren_closure: function StatementSearchVisitor_visitChildren_closure(t0) {
  19568. this.$this = t0;
  19569. },
  19570. Entry: function Entry(t0, t1, t2) {
  19571. this.source = t0;
  19572. this.target = t1;
  19573. this.identifierName = t2;
  19574. },
  19575. SingleMapping_SingleMapping$fromEntries(entries) {
  19576. var lines, t1, t2, urls, names, files, targetEntries, t3, lineNum, _i, sourceEntry, t4, t5, sourceUrl, t6, urlId,
  19577. sourceEntries = J.toList$0$ax(entries);
  19578. B.JSArray_methods.sort$0(sourceEntries);
  19579. lines = A._setArrayType([], type$.JSArray_TargetLineEntry);
  19580. t1 = type$.String;
  19581. t2 = type$.int;
  19582. urls = A.LinkedHashMap_LinkedHashMap$_empty(t1, t2);
  19583. names = A.LinkedHashMap_LinkedHashMap$_empty(t1, t2);
  19584. files = A.LinkedHashMap_LinkedHashMap$_empty(t2, type$.SourceFile);
  19585. targetEntries = A._Cell$();
  19586. for (t2 = sourceEntries.length, t3 = type$.JSArray_TargetEntry, lineNum = null, _i = 0; _i < sourceEntries.length; sourceEntries.length === t2 || (0, A.throwConcurrentModificationError)(sourceEntries), ++_i) {
  19587. sourceEntry = sourceEntries[_i];
  19588. if (lineNum == null || sourceEntry.target.line > lineNum) {
  19589. lineNum = sourceEntry.target.line;
  19590. t4 = A._setArrayType([], t3);
  19591. targetEntries.__late_helper$_value = t4;
  19592. lines.push(new A.TargetLineEntry(lineNum, t4));
  19593. }
  19594. t4 = sourceEntry.source;
  19595. t5 = t4.file;
  19596. sourceUrl = t5.url;
  19597. t6 = sourceUrl == null ? "" : sourceUrl.toString$0(0);
  19598. urlId = urls.putIfAbsent$2(t6, new A.SingleMapping_SingleMapping$fromEntries_closure(urls));
  19599. files.putIfAbsent$2(urlId, new A.SingleMapping_SingleMapping$fromEntries_closure0(sourceEntry));
  19600. t6 = targetEntries.__late_helper$_value;
  19601. if (t6 === targetEntries)
  19602. A.throwExpression(A.LateError$localNI(""));
  19603. t4 = t4.offset;
  19604. J.add$1$ax(t6, new A.TargetEntry(sourceEntry.target.column, urlId, t5.getLine$1(t4), t5.getColumn$1(t4), null));
  19605. }
  19606. t2 = urls.$ti;
  19607. t3 = t2._eval$1("LinkedHashMapValuesIterable<2>");
  19608. t3 = A.MappedIterable_MappedIterable(new A.LinkedHashMapValuesIterable(urls, t3), new A.SingleMapping_SingleMapping$fromEntries_closure1(files), t3._eval$1("Iterable.E"), type$.nullable_SourceFile);
  19609. t3 = A.List_List$_of(t3, A._instanceType(t3)._eval$1("Iterable.E"));
  19610. t2 = t2._eval$1("LinkedHashMapKeysIterable<1>");
  19611. t2 = A.List_List$_of(new A.LinkedHashMapKeysIterable(urls, t2), t2._eval$1("Iterable.E"));
  19612. t4 = names.$ti._eval$1("LinkedHashMapKeysIterable<1>");
  19613. t4 = A.List_List$_of(new A.LinkedHashMapKeysIterable(names, t4), t4._eval$1("Iterable.E"));
  19614. return new A.SingleMapping(t2, t4, t3, lines, null, A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.dynamic));
  19615. },
  19616. Mapping: function Mapping() {
  19617. },
  19618. SingleMapping: function SingleMapping(t0, t1, t2, t3, t4, t5) {
  19619. var _ = this;
  19620. _.urls = t0;
  19621. _.names = t1;
  19622. _.files = t2;
  19623. _.lines = t3;
  19624. _.targetUrl = t4;
  19625. _.sourceRoot = null;
  19626. _.extensions = t5;
  19627. },
  19628. SingleMapping_SingleMapping$fromEntries_closure: function SingleMapping_SingleMapping$fromEntries_closure(t0) {
  19629. this.urls = t0;
  19630. },
  19631. SingleMapping_SingleMapping$fromEntries_closure0: function SingleMapping_SingleMapping$fromEntries_closure0(t0) {
  19632. this.sourceEntry = t0;
  19633. },
  19634. SingleMapping_SingleMapping$fromEntries_closure1: function SingleMapping_SingleMapping$fromEntries_closure1(t0) {
  19635. this.files = t0;
  19636. },
  19637. SingleMapping_toJson_closure: function SingleMapping_toJson_closure() {
  19638. },
  19639. SingleMapping_toJson_closure0: function SingleMapping_toJson_closure0(t0) {
  19640. this.result = t0;
  19641. },
  19642. TargetLineEntry: function TargetLineEntry(t0, t1) {
  19643. this.line = t0;
  19644. this.entries = t1;
  19645. },
  19646. TargetEntry: function TargetEntry(t0, t1, t2, t3, t4) {
  19647. var _ = this;
  19648. _.column = t0;
  19649. _.sourceUrlId = t1;
  19650. _.sourceLine = t2;
  19651. _.sourceColumn = t3;
  19652. _.sourceNameId = t4;
  19653. },
  19654. SourceFile$fromString(text, url) {
  19655. var t1 = new A.CodeUnits(text),
  19656. t2 = A._setArrayType([0], type$.JSArray_int),
  19657. t3 = typeof url == "string" ? A.Uri_parse(url) : type$.nullable_Uri._as(url);
  19658. t2 = new A.SourceFile(t3, t2, new Uint32Array(A._ensureNativeList(t1.toList$0(t1))));
  19659. t2.SourceFile$decoded$2$url(t1, url);
  19660. return t2;
  19661. },
  19662. SourceFile$decoded(decodedChars, url) {
  19663. var t1 = A._setArrayType([0], type$.JSArray_int),
  19664. t2 = typeof url == "string" ? A.Uri_parse(url) : type$.nullable_Uri._as(url);
  19665. t1 = new A.SourceFile(t2, t1, new Uint32Array(A._ensureNativeList(J.toList$0$ax(decodedChars))));
  19666. t1.SourceFile$decoded$2$url(decodedChars, url);
  19667. return t1;
  19668. },
  19669. FileLocation$_(file, offset) {
  19670. if (offset < 0)
  19671. A.throwExpression(A.RangeError$("Offset may not be negative, was " + offset + "."));
  19672. else if (offset > file._decodedChars.length)
  19673. A.throwExpression(A.RangeError$("Offset " + offset + string$.x20must_n + file.get$length(0) + "."));
  19674. return new A.FileLocation(file, offset);
  19675. },
  19676. _FileSpan$(file, _start, _end) {
  19677. if (_end < _start)
  19678. A.throwExpression(A.ArgumentError$("End " + _end + " must come after start " + _start + ".", null));
  19679. else if (_end > file._decodedChars.length)
  19680. A.throwExpression(A.RangeError$("End " + _end + string$.x20must_n + file.get$length(0) + "."));
  19681. else if (_start < 0)
  19682. A.throwExpression(A.RangeError$("Start may not be negative, was " + _start + "."));
  19683. return new A._FileSpan(file, _start, _end);
  19684. },
  19685. FileSpanExtension_subspan(_this, start, end) {
  19686. var t1, startOffset, t2;
  19687. A.RangeError_checkValidRange(start, end, _this.get$length(_this));
  19688. if (start === 0)
  19689. t1 = end == null || end === _this.get$length(_this);
  19690. else
  19691. t1 = false;
  19692. if (t1)
  19693. return _this;
  19694. startOffset = _this.get$start(_this).offset;
  19695. t1 = _this.get$file(_this);
  19696. t2 = end == null ? _this.get$end(_this).offset : startOffset + end;
  19697. return t1.span$2(0, startOffset + start, t2);
  19698. },
  19699. SourceFile: function SourceFile(t0, t1, t2) {
  19700. var _ = this;
  19701. _.url = t0;
  19702. _._lineStarts = t1;
  19703. _._decodedChars = t2;
  19704. _._cachedLine = null;
  19705. },
  19706. FileLocation: function FileLocation(t0, t1) {
  19707. this.file = t0;
  19708. this.offset = t1;
  19709. },
  19710. _FileSpan: function _FileSpan(t0, t1, t2) {
  19711. this.file = t0;
  19712. this._file$_start = t1;
  19713. this._end = t2;
  19714. },
  19715. Highlighter$(span, color) {
  19716. var t1 = A.Highlighter__collateLines(A._setArrayType([A._Highlight$(span, null, true)], type$.JSArray__Highlight)),
  19717. t2 = new A.Highlighter_closure(color).call$0(),
  19718. t3 = B.JSInt_methods.toString$0(B.JSArray_methods.get$last(t1).number + 1),
  19719. t4 = A.Highlighter__contiguous(t1) ? 0 : 3,
  19720. t5 = A._arrayInstanceType(t1);
  19721. 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(""));
  19722. },
  19723. Highlighter$multiple(primarySpan, primaryLabel, secondarySpans, color, primaryColor, secondaryColor) {
  19724. var t2, t3, t4, t5, t6,
  19725. t1 = A._setArrayType([A._Highlight$(primarySpan, primaryLabel, true)], type$.JSArray__Highlight);
  19726. for (t2 = secondarySpans.get$entries(secondarySpans), t2 = t2.get$iterator(t2); t2.moveNext$0();) {
  19727. t3 = t2.get$current(t2);
  19728. t1.push(A._Highlight$(t3.key, t3.value, false));
  19729. }
  19730. t1 = A.Highlighter__collateLines(t1);
  19731. if (color)
  19732. t2 = primaryColor == null ? "\x1b[31m" : primaryColor;
  19733. else
  19734. t2 = null;
  19735. if (color)
  19736. t3 = "\x1b[34m";
  19737. else
  19738. t3 = null;
  19739. t4 = B.JSInt_methods.toString$0(B.JSArray_methods.get$last(t1).number + 1);
  19740. t5 = A.Highlighter__contiguous(t1) ? 0 : 3;
  19741. t6 = A._arrayInstanceType(t1);
  19742. 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(""));
  19743. },
  19744. Highlighter__contiguous(lines) {
  19745. var i, thisLine, nextLine;
  19746. for (i = 0; i < lines.length - 1;) {
  19747. thisLine = lines[i];
  19748. ++i;
  19749. nextLine = lines[i];
  19750. if (thisLine.number + 1 !== nextLine.number && J.$eq$(thisLine.url, nextLine.url))
  19751. return false;
  19752. }
  19753. return true;
  19754. },
  19755. Highlighter__collateLines(highlights) {
  19756. var t1, t2,
  19757. highlightsByUrl = A.groupBy(highlights, new A.Highlighter__collateLines_closure(), type$._Highlight, type$.Object);
  19758. for (t1 = new A.LinkedHashMapValueIterator(highlightsByUrl, highlightsByUrl._modifications, highlightsByUrl._first); t1.moveNext$0();)
  19759. J.sort$1$ax(t1.__js_helper$_current, new A.Highlighter__collateLines_closure0());
  19760. t1 = A._instanceType(highlightsByUrl)._eval$1("LinkedHashMapEntriesIterable<1,2>");
  19761. t2 = t1._eval$1("ExpandIterable<Iterable.E,_Line>");
  19762. t1 = A.List_List$_of(new A.ExpandIterable(new A.LinkedHashMapEntriesIterable(highlightsByUrl, t1), new A.Highlighter__collateLines_closure1(), t2), t2._eval$1("Iterable.E"));
  19763. return t1;
  19764. },
  19765. _Highlight$(span, label, primary) {
  19766. var t2,
  19767. t1 = new A._Highlight_closure(span).call$0();
  19768. if (label == null)
  19769. t2 = null;
  19770. else
  19771. t2 = A.stringReplaceAllUnchecked(label, "\r\n", "\n");
  19772. return new A._Highlight(t1, primary, t2);
  19773. },
  19774. _Highlight__normalizeNewlines(span) {
  19775. var endOffset, t1, i, t2, t3, t4,
  19776. text = span.get$text();
  19777. if (!B.JSString_methods.contains$1(text, "\r\n"))
  19778. return span;
  19779. endOffset = span.get$end(span).get$offset();
  19780. for (t1 = text.length - 1, i = 0; i < t1; ++i)
  19781. if (text.charCodeAt(i) === 13 && text.charCodeAt(i + 1) === 10)
  19782. --endOffset;
  19783. t1 = span.get$start(span);
  19784. t2 = span.get$sourceUrl(span);
  19785. t3 = span.get$end(span).get$line();
  19786. t2 = A.SourceLocation$(endOffset, span.get$end(span).get$column(), t3, t2);
  19787. t3 = A.stringReplaceAllUnchecked(text, "\r\n", "\n");
  19788. t4 = span.get$context(span);
  19789. return A.SourceSpanWithContext$(t1, t2, t3, A.stringReplaceAllUnchecked(t4, "\r\n", "\n"));
  19790. },
  19791. _Highlight__normalizeTrailingNewline(span) {
  19792. var context, text, start, end, t1, t2, t3;
  19793. if (!B.JSString_methods.endsWith$1(span.get$context(span), "\n"))
  19794. return span;
  19795. if (B.JSString_methods.endsWith$1(span.get$text(), "\n\n"))
  19796. return span;
  19797. context = B.JSString_methods.substring$2(span.get$context(span), 0, span.get$context(span).length - 1);
  19798. text = span.get$text();
  19799. start = span.get$start(span);
  19800. end = span.get$end(span);
  19801. if (B.JSString_methods.endsWith$1(span.get$text(), "\n")) {
  19802. t1 = A.findLineStart(span.get$context(span), span.get$text(), span.get$start(span).get$column());
  19803. t1.toString;
  19804. t1 = t1 + span.get$start(span).get$column() + span.get$length(span) === span.get$context(span).length;
  19805. } else
  19806. t1 = false;
  19807. if (t1) {
  19808. text = B.JSString_methods.substring$2(span.get$text(), 0, span.get$text().length - 1);
  19809. if (text.length === 0)
  19810. end = start;
  19811. else {
  19812. t1 = span.get$end(span).get$offset();
  19813. t2 = span.get$sourceUrl(span);
  19814. t3 = span.get$end(span).get$line();
  19815. end = A.SourceLocation$(t1 - 1, A._Highlight__lastLineLength(context), t3 - 1, t2);
  19816. start = span.get$start(span).get$offset() === span.get$end(span).get$offset() ? end : span.get$start(span);
  19817. }
  19818. }
  19819. return A.SourceSpanWithContext$(start, end, text, context);
  19820. },
  19821. _Highlight__normalizeEndOfLine(span) {
  19822. var text, t1, t2, t3, t4;
  19823. if (span.get$end(span).get$column() !== 0)
  19824. return span;
  19825. if (span.get$end(span).get$line() === span.get$start(span).get$line())
  19826. return span;
  19827. text = B.JSString_methods.substring$2(span.get$text(), 0, span.get$text().length - 1);
  19828. t1 = span.get$start(span);
  19829. t2 = span.get$end(span).get$offset();
  19830. t3 = span.get$sourceUrl(span);
  19831. t4 = span.get$end(span).get$line();
  19832. t3 = A.SourceLocation$(t2 - 1, text.length - B.JSString_methods.lastIndexOf$1(text, "\n") - 1, t4 - 1, t3);
  19833. 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));
  19834. },
  19835. _Highlight__lastLineLength(text) {
  19836. var t1 = text.length;
  19837. if (t1 === 0)
  19838. return 0;
  19839. else if (text.charCodeAt(t1 - 1) === 10)
  19840. return t1 === 1 ? 0 : t1 - B.JSString_methods.lastIndexOf$2(text, "\n", t1 - 2) - 1;
  19841. else
  19842. return t1 - B.JSString_methods.lastIndexOf$1(text, "\n") - 1;
  19843. },
  19844. Highlighter: function Highlighter(t0, t1, t2, t3, t4, t5, t6) {
  19845. var _ = this;
  19846. _._lines = t0;
  19847. _._primaryColor = t1;
  19848. _._secondaryColor = t2;
  19849. _._paddingBeforeSidebar = t3;
  19850. _._maxMultilineSpans = t4;
  19851. _._multipleFiles = t5;
  19852. _._highlighter$_buffer = t6;
  19853. },
  19854. Highlighter_closure: function Highlighter_closure(t0) {
  19855. this.color = t0;
  19856. },
  19857. Highlighter$__closure: function Highlighter$__closure() {
  19858. },
  19859. Highlighter$___closure: function Highlighter$___closure() {
  19860. },
  19861. Highlighter$__closure0: function Highlighter$__closure0() {
  19862. },
  19863. Highlighter__collateLines_closure: function Highlighter__collateLines_closure() {
  19864. },
  19865. Highlighter__collateLines_closure0: function Highlighter__collateLines_closure0() {
  19866. },
  19867. Highlighter__collateLines_closure1: function Highlighter__collateLines_closure1() {
  19868. },
  19869. Highlighter__collateLines__closure: function Highlighter__collateLines__closure(t0) {
  19870. this.line = t0;
  19871. },
  19872. Highlighter_highlight_closure: function Highlighter_highlight_closure() {
  19873. },
  19874. Highlighter__writeFileStart_closure: function Highlighter__writeFileStart_closure(t0) {
  19875. this.$this = t0;
  19876. },
  19877. Highlighter__writeMultilineHighlights_closure: function Highlighter__writeMultilineHighlights_closure(t0, t1, t2) {
  19878. this.$this = t0;
  19879. this.startLine = t1;
  19880. this.line = t2;
  19881. },
  19882. Highlighter__writeMultilineHighlights_closure0: function Highlighter__writeMultilineHighlights_closure0(t0, t1) {
  19883. this.$this = t0;
  19884. this.highlight = t1;
  19885. },
  19886. Highlighter__writeMultilineHighlights_closure1: function Highlighter__writeMultilineHighlights_closure1(t0) {
  19887. this.$this = t0;
  19888. },
  19889. Highlighter__writeMultilineHighlights_closure2: function Highlighter__writeMultilineHighlights_closure2(t0, t1, t2, t3, t4, t5, t6) {
  19890. var _ = this;
  19891. _._box_0 = t0;
  19892. _.$this = t1;
  19893. _.current = t2;
  19894. _.startLine = t3;
  19895. _.line = t4;
  19896. _.highlight = t5;
  19897. _.endLine = t6;
  19898. },
  19899. Highlighter__writeMultilineHighlights__closure: function Highlighter__writeMultilineHighlights__closure(t0, t1) {
  19900. this._box_0 = t0;
  19901. this.$this = t1;
  19902. },
  19903. Highlighter__writeMultilineHighlights__closure0: function Highlighter__writeMultilineHighlights__closure0(t0, t1) {
  19904. this.$this = t0;
  19905. this.vertical = t1;
  19906. },
  19907. Highlighter__writeHighlightedText_closure: function Highlighter__writeHighlightedText_closure(t0, t1, t2, t3) {
  19908. var _ = this;
  19909. _.$this = t0;
  19910. _.text = t1;
  19911. _.startColumn = t2;
  19912. _.endColumn = t3;
  19913. },
  19914. Highlighter__writeIndicator_closure: function Highlighter__writeIndicator_closure(t0, t1, t2) {
  19915. this.$this = t0;
  19916. this.line = t1;
  19917. this.highlight = t2;
  19918. },
  19919. Highlighter__writeIndicator_closure0: function Highlighter__writeIndicator_closure0(t0, t1, t2) {
  19920. this.$this = t0;
  19921. this.line = t1;
  19922. this.highlight = t2;
  19923. },
  19924. Highlighter__writeIndicator_closure1: function Highlighter__writeIndicator_closure1(t0, t1, t2, t3) {
  19925. var _ = this;
  19926. _.$this = t0;
  19927. _.coversWholeLine = t1;
  19928. _.line = t2;
  19929. _.highlight = t3;
  19930. },
  19931. Highlighter__writeLabel_closure: function Highlighter__writeLabel_closure(t0, t1) {
  19932. this.$this = t0;
  19933. this.lines = t1;
  19934. },
  19935. Highlighter__writeLabel_closure0: function Highlighter__writeLabel_closure0(t0, t1) {
  19936. this.$this = t0;
  19937. this.text = t1;
  19938. },
  19939. Highlighter__writeSidebar_closure: function Highlighter__writeSidebar_closure(t0, t1, t2) {
  19940. this._box_0 = t0;
  19941. this.$this = t1;
  19942. this.end = t2;
  19943. },
  19944. _Highlight: function _Highlight(t0, t1, t2) {
  19945. this.span = t0;
  19946. this.isPrimary = t1;
  19947. this.label = t2;
  19948. },
  19949. _Highlight_closure: function _Highlight_closure(t0) {
  19950. this.span = t0;
  19951. },
  19952. _Line: function _Line(t0, t1, t2, t3) {
  19953. var _ = this;
  19954. _.text = t0;
  19955. _.number = t1;
  19956. _.url = t2;
  19957. _.highlights = t3;
  19958. },
  19959. SourceLocation$(offset, column, line, sourceUrl) {
  19960. var t1 = line == null,
  19961. t2 = t1 ? 0 : line,
  19962. t3 = column == null,
  19963. t4 = t3 ? offset : column;
  19964. if (offset < 0)
  19965. A.throwExpression(A.RangeError$("Offset may not be negative, was " + offset + "."));
  19966. else if (!t1 && line < 0)
  19967. A.throwExpression(A.RangeError$("Line may not be negative, was " + A.S(line) + "."));
  19968. else if (!t3 && column < 0)
  19969. A.throwExpression(A.RangeError$("Column may not be negative, was " + A.S(column) + "."));
  19970. return new A.SourceLocation(sourceUrl, offset, t2, t4);
  19971. },
  19972. SourceLocation: function SourceLocation(t0, t1, t2, t3) {
  19973. var _ = this;
  19974. _.sourceUrl = t0;
  19975. _.offset = t1;
  19976. _.line = t2;
  19977. _.column = t3;
  19978. },
  19979. SourceLocationMixin: function SourceLocationMixin() {
  19980. },
  19981. SourceSpanExtension_messageMultiple(_this, message, label, secondarySpans, color, primaryColor, secondaryColor) {
  19982. var t2, t3,
  19983. t1 = _this.get$start(_this);
  19984. t1 = t1.file.getLine$1(t1.offset);
  19985. t2 = _this.get$start(_this);
  19986. t2 = "" + ("line " + (t1 + 1) + ", column " + (t2.file.getColumn$1(t2.offset) + 1));
  19987. if (_this.get$sourceUrl(_this) != null) {
  19988. t1 = _this.get$sourceUrl(_this);
  19989. t3 = $.$get$context();
  19990. t1.toString;
  19991. t1 = t2 + (" of " + t3.prettyUri$1(t1));
  19992. } else
  19993. t1 = t2;
  19994. t1 = t1 + (": " + message + "\n") + A.Highlighter$multiple(_this, label, secondarySpans, color, primaryColor, secondaryColor).highlight$0();
  19995. return t1.charCodeAt(0) == 0 ? t1 : t1;
  19996. },
  19997. SourceSpanBase: function SourceSpanBase() {
  19998. },
  19999. SourceSpanException: function SourceSpanException() {
  20000. },
  20001. SourceSpanFormatException: function SourceSpanFormatException(t0, t1, t2) {
  20002. this.source = t0;
  20003. this._span_exception$_message = t1;
  20004. this._span = t2;
  20005. },
  20006. MultiSourceSpanException: function MultiSourceSpanException() {
  20007. },
  20008. MultiSourceSpanFormatException: function MultiSourceSpanFormatException(t0, t1, t2, t3, t4) {
  20009. var _ = this;
  20010. _.source = t0;
  20011. _.primaryLabel = t1;
  20012. _.secondarySpans = t2;
  20013. _._span_exception$_message = t3;
  20014. _._span = t4;
  20015. },
  20016. SourceSpanMixin: function SourceSpanMixin() {
  20017. },
  20018. SourceSpanWithContext$(start, end, text, _context) {
  20019. var t1 = new A.SourceSpanWithContext(_context, start, end, text);
  20020. t1.SourceSpanBase$3(start, end, text);
  20021. if (!B.JSString_methods.contains$1(_context, text))
  20022. A.throwExpression(A.ArgumentError$('The context line "' + _context + '" must contain "' + text + '".', null));
  20023. if (A.findLineStart(_context, text, start.get$column()) == null)
  20024. A.throwExpression(A.ArgumentError$('The span text "' + text + '" must start at column ' + (start.get$column() + 1) + ' in a line within "' + _context + '".', null));
  20025. return t1;
  20026. },
  20027. SourceSpanWithContext: function SourceSpanWithContext(t0, t1, t2, t3) {
  20028. var _ = this;
  20029. _._context = t0;
  20030. _.start = t1;
  20031. _.end = t2;
  20032. _.text = t3;
  20033. },
  20034. Chain_Chain$parse(chain) {
  20035. var t1, t2,
  20036. _s51_ = string$.x3d_____;
  20037. if (chain.length === 0)
  20038. return new A.Chain(A.List_List$unmodifiable(A._setArrayType([], type$.JSArray_Trace), type$.Trace));
  20039. t1 = $.$get$vmChainGap();
  20040. if (B.JSString_methods.contains$1(chain, t1)) {
  20041. t1 = B.JSString_methods.split$1(chain, t1);
  20042. t2 = A._arrayInstanceType(t1);
  20043. 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));
  20044. }
  20045. if (!B.JSString_methods.contains$1(chain, _s51_))
  20046. return new A.Chain(A.List_List$unmodifiable(A._setArrayType([A.Trace_Trace$parse(chain)], type$.JSArray_Trace), type$.Trace));
  20047. 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));
  20048. },
  20049. Chain: function Chain(t0) {
  20050. this.traces = t0;
  20051. },
  20052. Chain_Chain$parse_closure: function Chain_Chain$parse_closure() {
  20053. },
  20054. Chain_toTrace_closure: function Chain_toTrace_closure() {
  20055. },
  20056. Chain_toString_closure0: function Chain_toString_closure0() {
  20057. },
  20058. Chain_toString__closure0: function Chain_toString__closure0() {
  20059. },
  20060. Chain_toString_closure: function Chain_toString_closure(t0) {
  20061. this.longest = t0;
  20062. },
  20063. Chain_toString__closure: function Chain_toString__closure(t0) {
  20064. this.longest = t0;
  20065. },
  20066. Frame___parseVM_tearOff(frame) {
  20067. return A.Frame_Frame$parseVM(frame);
  20068. },
  20069. Frame_Frame$parseVM(frame) {
  20070. return A.Frame__catchFormatException(frame, new A.Frame_Frame$parseVM_closure(frame));
  20071. },
  20072. Frame___parseV8_tearOff(frame) {
  20073. return A.Frame_Frame$parseV8(frame);
  20074. },
  20075. Frame_Frame$parseV8(frame) {
  20076. return A.Frame__catchFormatException(frame, new A.Frame_Frame$parseV8_closure(frame));
  20077. },
  20078. Frame_Frame$_parseFirefoxEval(frame) {
  20079. return A.Frame__catchFormatException(frame, new A.Frame_Frame$_parseFirefoxEval_closure(frame));
  20080. },
  20081. Frame___parseFirefox_tearOff(frame) {
  20082. return A.Frame_Frame$parseFirefox(frame);
  20083. },
  20084. Frame_Frame$parseFirefox(frame) {
  20085. return A.Frame__catchFormatException(frame, new A.Frame_Frame$parseFirefox_closure(frame));
  20086. },
  20087. Frame___parseFriendly_tearOff(frame) {
  20088. return A.Frame_Frame$parseFriendly(frame);
  20089. },
  20090. Frame_Frame$parseFriendly(frame) {
  20091. return A.Frame__catchFormatException(frame, new A.Frame_Frame$parseFriendly_closure(frame));
  20092. },
  20093. Frame__uriOrPathToUri(uriOrPath) {
  20094. if (B.JSString_methods.contains$1(uriOrPath, $.$get$Frame__uriRegExp()))
  20095. return A.Uri_parse(uriOrPath);
  20096. else if (B.JSString_methods.contains$1(uriOrPath, $.$get$Frame__windowsRegExp()))
  20097. return A._Uri__Uri$file(uriOrPath, true);
  20098. else if (B.JSString_methods.startsWith$1(uriOrPath, "/"))
  20099. return A._Uri__Uri$file(uriOrPath, false);
  20100. if (B.JSString_methods.contains$1(uriOrPath, "\\"))
  20101. return $.$get$windows().toUri$1(uriOrPath);
  20102. return A.Uri_parse(uriOrPath);
  20103. },
  20104. Frame__catchFormatException(text, body) {
  20105. var t1, exception;
  20106. try {
  20107. t1 = body.call$0();
  20108. return t1;
  20109. } catch (exception) {
  20110. if (type$.FormatException._is(A.unwrapException(exception)))
  20111. return new A.UnparsedFrame(A._Uri__Uri(null, "unparsed", null, null), text);
  20112. else
  20113. throw exception;
  20114. }
  20115. },
  20116. Frame: function Frame(t0, t1, t2, t3) {
  20117. var _ = this;
  20118. _.uri = t0;
  20119. _.line = t1;
  20120. _.column = t2;
  20121. _.member = t3;
  20122. },
  20123. Frame_Frame$parseVM_closure: function Frame_Frame$parseVM_closure(t0) {
  20124. this.frame = t0;
  20125. },
  20126. Frame_Frame$parseV8_closure: function Frame_Frame$parseV8_closure(t0) {
  20127. this.frame = t0;
  20128. },
  20129. Frame_Frame$parseV8_closure_parseJsLocation: function Frame_Frame$parseV8_closure_parseJsLocation(t0) {
  20130. this.frame = t0;
  20131. },
  20132. Frame_Frame$_parseFirefoxEval_closure: function Frame_Frame$_parseFirefoxEval_closure(t0) {
  20133. this.frame = t0;
  20134. },
  20135. Frame_Frame$parseFirefox_closure: function Frame_Frame$parseFirefox_closure(t0) {
  20136. this.frame = t0;
  20137. },
  20138. Frame_Frame$parseFriendly_closure: function Frame_Frame$parseFriendly_closure(t0) {
  20139. this.frame = t0;
  20140. },
  20141. LazyTrace: function LazyTrace(t0) {
  20142. this._thunk = t0;
  20143. this.__LazyTrace__trace_FI = $;
  20144. },
  20145. LazyTrace_terse_closure: function LazyTrace_terse_closure(t0) {
  20146. this.$this = t0;
  20147. },
  20148. Trace_Trace$from(trace) {
  20149. if (type$.Trace._is(trace))
  20150. return trace;
  20151. if (trace instanceof A.Chain)
  20152. return trace.toTrace$0();
  20153. return new A.LazyTrace(new A.Trace_Trace$from_closure(trace));
  20154. },
  20155. Trace_Trace$parse(trace) {
  20156. var error, t1, exception;
  20157. try {
  20158. if (trace.length === 0) {
  20159. t1 = A.Trace$(A._setArrayType([], type$.JSArray_Frame), null);
  20160. return t1;
  20161. }
  20162. if (B.JSString_methods.contains$1(trace, $.$get$_v8Trace())) {
  20163. t1 = A.Trace$parseV8(trace);
  20164. return t1;
  20165. }
  20166. if (B.JSString_methods.contains$1(trace, "\tat ")) {
  20167. t1 = A.Trace$parseJSCore(trace);
  20168. return t1;
  20169. }
  20170. if (B.JSString_methods.contains$1(trace, $.$get$_firefoxSafariTrace()) || B.JSString_methods.contains$1(trace, $.$get$_firefoxEvalTrace())) {
  20171. t1 = A.Trace$parseFirefox(trace);
  20172. return t1;
  20173. }
  20174. if (B.JSString_methods.contains$1(trace, string$.x3d_____)) {
  20175. t1 = A.Chain_Chain$parse(trace).toTrace$0();
  20176. return t1;
  20177. }
  20178. if (B.JSString_methods.contains$1(trace, $.$get$_friendlyTrace())) {
  20179. t1 = A.Trace$parseFriendly(trace);
  20180. return t1;
  20181. }
  20182. t1 = A.Trace$parseVM(trace);
  20183. return t1;
  20184. } catch (exception) {
  20185. t1 = A.unwrapException(exception);
  20186. if (type$.FormatException._is(t1)) {
  20187. error = t1;
  20188. throw A.wrapException(A.FormatException$(J.get$message$x(error) + "\nStack trace:\n" + trace, null, null));
  20189. } else
  20190. throw exception;
  20191. }
  20192. },
  20193. Trace___parseVM_tearOff(trace) {
  20194. return A.Trace$parseVM(trace);
  20195. },
  20196. Trace$parseVM(trace) {
  20197. var t1 = A.List_List$unmodifiable(A.Trace__parseVM(trace), type$.Frame);
  20198. return new A.Trace(t1, new A._StringStackTrace(trace));
  20199. },
  20200. Trace__parseVM(trace) {
  20201. var $frames,
  20202. t1 = B.JSString_methods.trim$0(trace),
  20203. t2 = $.$get$vmChainGap(),
  20204. t3 = type$.WhereIterable_String,
  20205. lines = new A.WhereIterable(A._setArrayType(A.stringReplaceAllUnchecked(t1, t2, "").split("\n"), type$.JSArray_String), new A.Trace__parseVM_closure(), t3);
  20206. if (!lines.get$iterator(0).moveNext$0())
  20207. return A._setArrayType([], type$.JSArray_Frame);
  20208. t1 = A.TakeIterable_TakeIterable(lines, lines.get$length(0) - 1, t3._eval$1("Iterable.E"));
  20209. t1 = A.MappedIterable_MappedIterable(t1, A.frame_Frame___parseVM_tearOff$closure(), A._instanceType(t1)._eval$1("Iterable.E"), type$.Frame);
  20210. $frames = A.List_List$_of(t1, A._instanceType(t1)._eval$1("Iterable.E"));
  20211. if (!J.endsWith$1$s(lines.get$last(0), ".da"))
  20212. $frames.push(A.Frame_Frame$parseVM(lines.get$last(0)));
  20213. return $frames;
  20214. },
  20215. Trace$parseV8(trace) {
  20216. 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()),
  20217. t2 = type$.Frame;
  20218. t2 = A.List_List$unmodifiable(A.MappedIterable_MappedIterable(t1, A.frame_Frame___parseV8_tearOff$closure(), t1.$ti._eval$1("Iterable.E"), t2), t2);
  20219. return new A.Trace(t2, new A._StringStackTrace(trace));
  20220. },
  20221. Trace$parseJSCore(trace) {
  20222. 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);
  20223. return new A.Trace(t1, new A._StringStackTrace(trace));
  20224. },
  20225. Trace$parseFirefox(trace) {
  20226. 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);
  20227. return new A.Trace(t1, new A._StringStackTrace(trace));
  20228. },
  20229. Trace___parseFriendly_tearOff(trace) {
  20230. return A.Trace$parseFriendly(trace);
  20231. },
  20232. Trace$parseFriendly(trace) {
  20233. 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);
  20234. t1 = A.List_List$unmodifiable(t1, type$.Frame);
  20235. return new A.Trace(t1, new A._StringStackTrace(trace));
  20236. },
  20237. Trace$($frames, original) {
  20238. var t1 = A.List_List$unmodifiable($frames, type$.Frame);
  20239. return new A.Trace(t1, new A._StringStackTrace(original == null ? "" : original));
  20240. },
  20241. Trace: function Trace(t0, t1) {
  20242. this.frames = t0;
  20243. this.original = t1;
  20244. },
  20245. Trace_Trace$from_closure: function Trace_Trace$from_closure(t0) {
  20246. this.trace = t0;
  20247. },
  20248. Trace__parseVM_closure: function Trace__parseVM_closure() {
  20249. },
  20250. Trace$parseV8_closure: function Trace$parseV8_closure() {
  20251. },
  20252. Trace$parseJSCore_closure: function Trace$parseJSCore_closure() {
  20253. },
  20254. Trace$parseFirefox_closure: function Trace$parseFirefox_closure() {
  20255. },
  20256. Trace$parseFriendly_closure: function Trace$parseFriendly_closure() {
  20257. },
  20258. Trace_terse_closure: function Trace_terse_closure() {
  20259. },
  20260. Trace_foldFrames_closure: function Trace_foldFrames_closure(t0) {
  20261. this.oldPredicate = t0;
  20262. },
  20263. Trace_foldFrames_closure0: function Trace_foldFrames_closure0(t0) {
  20264. this._box_0 = t0;
  20265. },
  20266. Trace_toString_closure0: function Trace_toString_closure0() {
  20267. },
  20268. Trace_toString_closure: function Trace_toString_closure(t0) {
  20269. this.longest = t0;
  20270. },
  20271. UnparsedFrame: function UnparsedFrame(t0, t1) {
  20272. this.uri = t0;
  20273. this.member = t1;
  20274. },
  20275. TransformByHandlers_transformByHandlers(_this, onData, onDone, $S, $T) {
  20276. var _null = null, t1 = {},
  20277. controller = A.StreamController_StreamController(_null, _null, _null, _null, true, $T);
  20278. t1.subscription = null;
  20279. controller.onListen = new A.TransformByHandlers_transformByHandlers_closure(t1, _this, onData, controller, A.instantiate1(A.from_handlers__TransformByHandlers__defaultHandleError$closure(), $T), onDone, $S);
  20280. return controller.get$stream();
  20281. },
  20282. TransformByHandlers__defaultHandleError(error, stackTrace, sink) {
  20283. sink.addError$2(error, stackTrace);
  20284. },
  20285. TransformByHandlers_transformByHandlers_closure: function TransformByHandlers_transformByHandlers_closure(t0, t1, t2, t3, t4, t5, t6) {
  20286. var _ = this;
  20287. _._box_1 = t0;
  20288. _._this = t1;
  20289. _.onData = t2;
  20290. _.controller = t3;
  20291. _.handleError = t4;
  20292. _.handleDone = t5;
  20293. _.S = t6;
  20294. },
  20295. TransformByHandlers_transformByHandlers__closure: function TransformByHandlers_transformByHandlers__closure(t0, t1, t2) {
  20296. this.onData = t0;
  20297. this.controller = t1;
  20298. this.S = t2;
  20299. },
  20300. TransformByHandlers_transformByHandlers__closure1: function TransformByHandlers_transformByHandlers__closure1(t0, t1) {
  20301. this.handleError = t0;
  20302. this.controller = t1;
  20303. },
  20304. TransformByHandlers_transformByHandlers__closure0: function TransformByHandlers_transformByHandlers__closure0(t0, t1, t2) {
  20305. this._box_0 = t0;
  20306. this.handleDone = t1;
  20307. this.controller = t2;
  20308. },
  20309. TransformByHandlers_transformByHandlers__closure2: function TransformByHandlers_transformByHandlers__closure2(t0, t1) {
  20310. this._box_1 = t0;
  20311. this._box_0 = t1;
  20312. },
  20313. RateLimit__debounceAggregate(_this, duration, collect, leading, trailing, $T, $S) {
  20314. var t1 = {};
  20315. t1.soFar = t1.timer = null;
  20316. t1.emittedLatestAsLeading = t1.shouldClose = t1.hasPending = false;
  20317. 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);
  20318. },
  20319. _collect($event, soFar, $T) {
  20320. var t1 = soFar == null ? A._setArrayType([], $T._eval$1("JSArray<0>")) : soFar;
  20321. J.add$1$ax(t1, $event);
  20322. return t1;
  20323. },
  20324. RateLimit__debounceAggregate_closure: function RateLimit__debounceAggregate_closure(t0, t1, t2, t3, t4, t5, t6) {
  20325. var _ = this;
  20326. _._box_0 = t0;
  20327. _.S = t1;
  20328. _.collect = t2;
  20329. _.leading = t3;
  20330. _.duration = t4;
  20331. _.trailing = t5;
  20332. _.T = t6;
  20333. },
  20334. RateLimit__debounceAggregate_closure_emit: function RateLimit__debounceAggregate_closure_emit(t0, t1, t2) {
  20335. this._box_0 = t0;
  20336. this.sink = t1;
  20337. this.S = t2;
  20338. },
  20339. RateLimit__debounceAggregate__closure: function RateLimit__debounceAggregate__closure(t0, t1, t2, t3) {
  20340. var _ = this;
  20341. _._box_0 = t0;
  20342. _.trailing = t1;
  20343. _.emit = t2;
  20344. _.sink = t3;
  20345. },
  20346. RateLimit__debounceAggregate_closure0: function RateLimit__debounceAggregate_closure0(t0, t1, t2) {
  20347. this._box_0 = t0;
  20348. this.trailing = t1;
  20349. this.S = t2;
  20350. },
  20351. StringScannerException$(message, span, source) {
  20352. return new A.StringScannerException(source, message, span);
  20353. },
  20354. StringScannerException: function StringScannerException(t0, t1, t2) {
  20355. this.source = t0;
  20356. this._span_exception$_message = t1;
  20357. this._span = t2;
  20358. },
  20359. LineScanner$(string) {
  20360. return new A.LineScanner(null, string);
  20361. },
  20362. LineScanner: function LineScanner(t0, t1) {
  20363. var _ = this;
  20364. _._line_scanner$_column = _._line_scanner$_line = 0;
  20365. _.sourceUrl = t0;
  20366. _.string = t1;
  20367. _._string_scanner$_position = 0;
  20368. _._lastMatchPosition = _._lastMatch = null;
  20369. },
  20370. SpanScanner$(string, sourceUrl) {
  20371. var t2,
  20372. t1 = A.SourceFile$fromString(string, sourceUrl);
  20373. if (sourceUrl == null)
  20374. t2 = null;
  20375. else
  20376. t2 = typeof sourceUrl == "string" ? A.Uri_parse(sourceUrl) : type$.Uri._as(sourceUrl);
  20377. return new A.SpanScanner(t1, t2, string);
  20378. },
  20379. SpanScanner: function SpanScanner(t0, t1, t2) {
  20380. var _ = this;
  20381. _._sourceFile = t0;
  20382. _.sourceUrl = t1;
  20383. _.string = t2;
  20384. _._string_scanner$_position = 0;
  20385. _._lastMatchPosition = _._lastMatch = null;
  20386. },
  20387. _SpanScannerState: function _SpanScannerState(t0, t1) {
  20388. this._scanner = t0;
  20389. this.position = t1;
  20390. },
  20391. StringScanner$(string, position, sourceUrl) {
  20392. var t1;
  20393. if (sourceUrl == null)
  20394. t1 = null;
  20395. else
  20396. t1 = typeof sourceUrl == "string" ? A.Uri_parse(sourceUrl) : type$.Uri._as(sourceUrl);
  20397. return new A.StringScanner(t1, string);
  20398. },
  20399. StringScanner: function StringScanner(t0, t1) {
  20400. var _ = this;
  20401. _.sourceUrl = t0;
  20402. _.string = t1;
  20403. _._string_scanner$_position = 0;
  20404. _._lastMatchPosition = _._lastMatch = null;
  20405. },
  20406. AsciiGlyphSet: function AsciiGlyphSet() {
  20407. },
  20408. UnicodeGlyphSet: function UnicodeGlyphSet() {
  20409. },
  20410. WatchEvent: function WatchEvent(t0, t1) {
  20411. this.type = t0;
  20412. this.path = t1;
  20413. },
  20414. ChangeType: function ChangeType(t0) {
  20415. this._watch_event$_name = t0;
  20416. },
  20417. A98RgbColorSpace0: function A98RgbColorSpace0(t0, t1) {
  20418. this.name = t0;
  20419. this._space$_channels = t1;
  20420. },
  20421. AnySelectorVisitor0: function AnySelectorVisitor0() {
  20422. },
  20423. AnySelectorVisitor_visitComplexSelector_closure0: function AnySelectorVisitor_visitComplexSelector_closure0(t0) {
  20424. this.$this = t0;
  20425. },
  20426. AnySelectorVisitor_visitCompoundSelector_closure0: function AnySelectorVisitor_visitCompoundSelector_closure0(t0) {
  20427. this.$this = t0;
  20428. },
  20429. SupportsAnything0: function SupportsAnything0(t0, t1) {
  20430. this.contents = t0;
  20431. this.span = t1;
  20432. },
  20433. ArgumentList$empty0(span) {
  20434. return new A.ArgumentList0(B.List_empty23, B.Map_empty14, null, null, span);
  20435. },
  20436. ArgumentList0: function ArgumentList0(t0, t1, t2, t3, t4) {
  20437. var _ = this;
  20438. _.positional = t0;
  20439. _.named = t1;
  20440. _.rest = t2;
  20441. _.keywordRest = t3;
  20442. _.span = t4;
  20443. },
  20444. argumentListClass_closure: function argumentListClass_closure() {
  20445. },
  20446. argumentListClass__closure: function argumentListClass__closure() {
  20447. },
  20448. argumentListClass__closure0: function argumentListClass__closure0() {
  20449. },
  20450. SassArgumentList$0(contents, keywords, separator) {
  20451. var t1 = type$.Value_2;
  20452. t1 = new A.SassArgumentList0(A.ConstantMap_ConstantMap$from(keywords, type$.String, t1), A.List_List$unmodifiable(contents, t1), separator, false);
  20453. t1.SassList$3$brackets0(contents, separator, false);
  20454. return t1;
  20455. },
  20456. SassArgumentList0: function SassArgumentList0(t0, t1, t2, t3) {
  20457. var _ = this;
  20458. _._argument_list$_keywords = t0;
  20459. _._argument_list$_wereKeywordsAccessed = false;
  20460. _._list1$_contents = t1;
  20461. _._list1$_separator = t2;
  20462. _._list1$_hasBrackets = t3;
  20463. },
  20464. JSArray1: function JSArray1() {
  20465. },
  20466. AsyncImporter0: function AsyncImporter0() {
  20467. },
  20468. JSToDartAsyncImporter: function JSToDartAsyncImporter(t0, t1, t2) {
  20469. this._async0$_canonicalize = t0;
  20470. this._load = t1;
  20471. this._nonCanonicalSchemes = t2;
  20472. },
  20473. JSToDartAsyncImporter_canonicalize_closure: function JSToDartAsyncImporter_canonicalize_closure(t0, t1) {
  20474. this.$this = t0;
  20475. this.url = t1;
  20476. },
  20477. JSToDartAsyncImporter_load_closure: function JSToDartAsyncImporter_load_closure(t0, t1) {
  20478. this.$this = t0;
  20479. this.url = t1;
  20480. },
  20481. AsyncBuiltInCallable$mixin0($name, parameters, callback, acceptsContent, url) {
  20482. return new A.AsyncBuiltInCallable0($name, A.ScssParser$0("@mixin " + $name + "(" + parameters + ") {", url).parseParameterList$0(), new A.AsyncBuiltInCallable$mixin_closure0(callback), false);
  20483. },
  20484. AsyncBuiltInCallable0: function AsyncBuiltInCallable0(t0, t1, t2, t3) {
  20485. var _ = this;
  20486. _.name = t0;
  20487. _._async_built_in0$_parameters = t1;
  20488. _._async_built_in0$_callback = t2;
  20489. _.acceptsContent = t3;
  20490. },
  20491. AsyncBuiltInCallable$mixin_closure0: function AsyncBuiltInCallable$mixin_closure0(t0) {
  20492. this.callback = t0;
  20493. },
  20494. AsyncBuiltInCallable_withDeprecationWarning_closure0: function AsyncBuiltInCallable_withDeprecationWarning_closure0(t0, t1, t2) {
  20495. this.$this = t0;
  20496. this.module = t1;
  20497. this.newName = t2;
  20498. },
  20499. compileAsync0(path, charset, fatalDeprecations, functions, futureDeprecations, importCache, indentWidth, lineFeed, logger, nodeImporter, quietDeps, silenceDeprecations, sourceMap, style, syntax, useSpaces, verbose) {
  20500. return A.compileAsync$body0(path, charset, fatalDeprecations, functions, futureDeprecations, importCache, indentWidth, lineFeed, logger, nodeImporter, quietDeps, silenceDeprecations, sourceMap, style, syntax, useSpaces, verbose);
  20501. },
  20502. compileAsync$body0(path, charset, fatalDeprecations, functions, futureDeprecations, importCache, indentWidth, lineFeed, logger, nodeImporter, quietDeps, silenceDeprecations, sourceMap, style, syntax, useSpaces, verbose) {
  20503. var $async$goto = 0,
  20504. $async$completer = A._makeAsyncAwaitCompleter(type$.CompileResult_2),
  20505. $async$returnValue, t3, t4, t0, stylesheet, result, t1, t2;
  20506. var $async$compileAsync0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  20507. if ($async$errorCode === 1)
  20508. return A._asyncRethrow($async$result, $async$completer);
  20509. while (true)
  20510. switch ($async$goto) {
  20511. case 0:
  20512. // Function start
  20513. t1 = type$.Deprecation_3;
  20514. t2 = A.LinkedHashSet_LinkedHashSet$_empty(t1);
  20515. if (silenceDeprecations != null)
  20516. t2.addAll$1(0, silenceDeprecations);
  20517. t3 = A.LinkedHashSet_LinkedHashSet$_empty(t1);
  20518. if (fatalDeprecations != null)
  20519. t3.addAll$1(0, fatalDeprecations);
  20520. t4 = A.LinkedHashSet_LinkedHashSet$_empty(t1);
  20521. if (futureDeprecations != null)
  20522. t4.addAll$1(0, futureDeprecations);
  20523. logger = new A.DeprecationProcessingLogger0(A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.int), logger, t2, t3, t4, !verbose);
  20524. logger.validate$0();
  20525. t1 = nodeImporter == null;
  20526. if (t1)
  20527. t2 = syntax == null || syntax === A.Syntax_forPath0(path);
  20528. else
  20529. t2 = false;
  20530. $async$goto = t2 ? 3 : 5;
  20531. break;
  20532. case 3:
  20533. // then
  20534. if (importCache == null)
  20535. importCache = A.AsyncImportCache$none();
  20536. t2 = $.$get$FilesystemImporter_cwd0();
  20537. t3 = A.isNodeJs() ? self.process : null;
  20538. if (!J.$eq$(t3 == null ? null : J.get$platform$x(t3), "win32")) {
  20539. t3 = A.isNodeJs() ? self.process : null;
  20540. t3 = J.$eq$(t3 == null ? null : J.get$platform$x(t3), "darwin");
  20541. } else
  20542. t3 = true;
  20543. if (t3) {
  20544. t3 = A.absolute(path, null, null, null, null, null, null, null, null, null, null, null, null, null, null);
  20545. t4 = $.$get$context();
  20546. t3 = A._realCasePath0(t4.normalize$1(t3));
  20547. } else {
  20548. t3 = $.$get$context();
  20549. t4 = t3.canonicalize$1(0, path);
  20550. t0 = t4;
  20551. t4 = t3;
  20552. t3 = t0;
  20553. }
  20554. $async$goto = 6;
  20555. return A._asyncAwait(importCache.importCanonical$3$originalUrl(t2, t4.toUri$1(t3), t4.toUri$1(path)), $async$compileAsync0);
  20556. case 6:
  20557. // returning from await.
  20558. t4 = $async$result;
  20559. t4.toString;
  20560. stylesheet = t4;
  20561. // goto join
  20562. $async$goto = 4;
  20563. break;
  20564. case 5:
  20565. // else
  20566. t2 = A.readFile0(path);
  20567. t3 = syntax == null ? A.Syntax_forPath0(path) : syntax;
  20568. stylesheet = A.Stylesheet_Stylesheet$parse0(t2, t3, $.$get$context().toUri$1(path));
  20569. case 4:
  20570. // join
  20571. $async$goto = 7;
  20572. return A._asyncAwait(A._compileStylesheet2(stylesheet, logger, importCache, nodeImporter, $.$get$FilesystemImporter_cwd0(), functions, style, useSpaces, indentWidth, lineFeed, quietDeps, sourceMap, charset), $async$compileAsync0);
  20573. case 7:
  20574. // returning from await.
  20575. result = $async$result;
  20576. logger.summarize$1$js(!t1);
  20577. $async$returnValue = result;
  20578. // goto return
  20579. $async$goto = 1;
  20580. break;
  20581. case 1:
  20582. // return
  20583. return A._asyncReturn($async$returnValue, $async$completer);
  20584. }
  20585. });
  20586. return A._asyncStartSync($async$compileAsync0, $async$completer);
  20587. },
  20588. compileStringAsync0(source, charset, fatalDeprecations, functions, futureDeprecations, importCache, importer, indentWidth, lineFeed, logger, nodeImporter, quietDeps, silenceDeprecations, sourceMap, style, syntax, url, useSpaces, verbose) {
  20589. return A.compileStringAsync$body0(source, charset, fatalDeprecations, functions, futureDeprecations, importCache, importer, indentWidth, lineFeed, logger, nodeImporter, quietDeps, silenceDeprecations, sourceMap, style, syntax, url, useSpaces, verbose);
  20590. },
  20591. compileStringAsync$body0(source, charset, fatalDeprecations, functions, futureDeprecations, importCache, importer, indentWidth, lineFeed, logger, nodeImporter, quietDeps, silenceDeprecations, sourceMap, style, syntax, url, useSpaces, verbose) {
  20592. var $async$goto = 0,
  20593. $async$completer = A._makeAsyncAwaitCompleter(type$.CompileResult_2),
  20594. $async$returnValue, t3, t4, stylesheet, _0_0, result, t1, t2;
  20595. var $async$compileStringAsync0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  20596. if ($async$errorCode === 1)
  20597. return A._asyncRethrow($async$result, $async$completer);
  20598. while (true)
  20599. switch ($async$goto) {
  20600. case 0:
  20601. // Function start
  20602. t1 = type$.Deprecation_3;
  20603. t2 = A.LinkedHashSet_LinkedHashSet$_empty(t1);
  20604. if (silenceDeprecations != null)
  20605. t2.addAll$1(0, silenceDeprecations);
  20606. t3 = A.LinkedHashSet_LinkedHashSet$_empty(t1);
  20607. if (fatalDeprecations != null)
  20608. t3.addAll$1(0, fatalDeprecations);
  20609. t4 = A.LinkedHashSet_LinkedHashSet$_empty(t1);
  20610. if (futureDeprecations != null)
  20611. t4.addAll$1(0, futureDeprecations);
  20612. logger = new A.DeprecationProcessingLogger0(A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.int), logger, t2, t3, t4, !verbose);
  20613. logger.validate$0();
  20614. stylesheet = A.Stylesheet_Stylesheet$parse0(source, syntax == null ? B.Syntax_SCSS_scss0 : syntax, url);
  20615. _0_0 = stylesheet.span.file.url;
  20616. if (type$.Uri._is(_0_0) && "" === _0_0.get$scheme() && nodeImporter == null)
  20617. A.WarnForDeprecation_warnForDeprecation0(logger, B.Deprecation_pIR, "Passing a relative `url` argument (" + _0_0.toString$0(0) + string$.x29x20to_cm, null, null);
  20618. if (importer == null)
  20619. t1 = A.isBrowser() ? new A.NoOpImporter0() : $.$get$FilesystemImporter_cwd0();
  20620. else
  20621. t1 = importer;
  20622. $async$goto = 3;
  20623. return A._asyncAwait(A._compileStylesheet2(stylesheet, logger, importCache, nodeImporter, t1, functions, style, useSpaces, indentWidth, lineFeed, quietDeps, sourceMap, charset), $async$compileStringAsync0);
  20624. case 3:
  20625. // returning from await.
  20626. result = $async$result;
  20627. logger.summarize$1$js(nodeImporter != null);
  20628. $async$returnValue = result;
  20629. // goto return
  20630. $async$goto = 1;
  20631. break;
  20632. case 1:
  20633. // return
  20634. return A._asyncReturn($async$returnValue, $async$completer);
  20635. }
  20636. });
  20637. return A._asyncStartSync($async$compileStringAsync0, $async$completer);
  20638. },
  20639. _compileStylesheet2(stylesheet, logger, importCache, nodeImporter, importer, functions, style, useSpaces, indentWidth, lineFeed, quietDeps, sourceMap, charset) {
  20640. return A._compileStylesheet$body0(stylesheet, logger, importCache, nodeImporter, importer, functions, style, useSpaces, indentWidth, lineFeed, quietDeps, sourceMap, charset);
  20641. },
  20642. _compileStylesheet$body0(stylesheet, logger, importCache, nodeImporter, importer, functions, style, useSpaces, indentWidth, lineFeed, quietDeps, sourceMap, charset) {
  20643. var $async$goto = 0,
  20644. $async$completer = A._makeAsyncAwaitCompleter(type$.CompileResult_2),
  20645. $async$returnValue, evaluateResult, serializeResult, resultSourceMap;
  20646. var $async$_compileStylesheet2 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  20647. if ($async$errorCode === 1)
  20648. return A._asyncRethrow($async$result, $async$completer);
  20649. while (true)
  20650. switch ($async$goto) {
  20651. case 0:
  20652. // Function start
  20653. if (nodeImporter != null)
  20654. A.WarnForDeprecation_warnForDeprecation0(logger, B.Deprecation_F8y, string$.The_le, null, null);
  20655. $async$goto = 3;
  20656. return A._asyncAwait(A._EvaluateVisitor$2(functions, importCache, logger, nodeImporter, quietDeps, sourceMap).run$2(0, importer, stylesheet), $async$_compileStylesheet2);
  20657. case 3:
  20658. // returning from await.
  20659. evaluateResult = $async$result;
  20660. serializeResult = A.serialize0(evaluateResult._1, charset, indentWidth, false, lineFeed, logger, sourceMap, style, useSpaces);
  20661. resultSourceMap = serializeResult._1;
  20662. if (resultSourceMap != null && importCache != null)
  20663. A.mapInPlace0(resultSourceMap.urls, new A._compileStylesheet_closure2(stylesheet, importCache));
  20664. evaluateResult.toString;
  20665. $async$returnValue = new A.CompileResult0(evaluateResult, serializeResult);
  20666. // goto return
  20667. $async$goto = 1;
  20668. break;
  20669. case 1:
  20670. // return
  20671. return A._asyncReturn($async$returnValue, $async$completer);
  20672. }
  20673. });
  20674. return A._asyncStartSync($async$_compileStylesheet2, $async$completer);
  20675. },
  20676. _compileStylesheet_closure2: function _compileStylesheet_closure2(t0, t1) {
  20677. this.stylesheet = t0;
  20678. this.importCache = t1;
  20679. },
  20680. AsyncEnvironment$0() {
  20681. var t1 = type$.String,
  20682. t2 = type$.Module_AsyncCallable_2,
  20683. t3 = type$.AstNode_2,
  20684. t4 = type$.int,
  20685. t5 = type$.AsyncCallable_2,
  20686. t6 = type$.JSArray_Map_String_AsyncCallable_2;
  20687. 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, A.LinkedHashSet_LinkedHashSet$_empty(t1));
  20688. },
  20689. AsyncEnvironment$_0(_modules, _namespaceNodes, _globalModules, _importedModules, _forwardedModules, _nestedForwardedModules, _allModules, _variables, _variableNodes, _functions, _mixins, _content, _configurableVariables) {
  20690. var t1 = type$.String,
  20691. t2 = type$.int;
  20692. 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, _configurableVariables);
  20693. },
  20694. _EnvironmentModule__EnvironmentModule2(environment, css, preModuleComments, extensionStore, forwarded) {
  20695. var t1, t2, t3, t4, t5, t6, module, result, t7;
  20696. if (forwarded == null)
  20697. forwarded = B.Set_empty7;
  20698. t1 = type$.dynamic;
  20699. t1 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
  20700. 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();) {
  20701. t6 = t4.get$current(t4);
  20702. module = t6._0;
  20703. result = A.List_List$from(t6._1, false, t5);
  20704. result.$flags = 3;
  20705. t1.$indexSet(0, module, result);
  20706. }
  20707. t1 = A.ConstantMap_ConstantMap$from(t1, t2, t3);
  20708. t2 = A._EnvironmentModule__makeModulesByVariable2(forwarded);
  20709. 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);
  20710. 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);
  20711. t5 = type$.Map_String_AsyncCallable_2;
  20712. t6 = type$.AsyncCallable_2;
  20713. 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);
  20714. 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);
  20715. 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());
  20716. 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()));
  20717. },
  20718. _EnvironmentModule__makeModulesByVariable2(forwarded) {
  20719. var modulesByVariable, t1, t2, t3, t4, t5;
  20720. if (forwarded.get$isEmpty(forwarded))
  20721. return B.Map_empty17;
  20722. modulesByVariable = A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.Module_AsyncCallable_2);
  20723. for (t1 = forwarded.get$iterator(forwarded); t1.moveNext$0();) {
  20724. t2 = t1.get$current(t1);
  20725. if (t2 instanceof A._EnvironmentModule2) {
  20726. for (t3 = t2._async_environment0$_modulesByVariable, t3 = t3.get$values(t3), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
  20727. t4 = t3.get$current(t3);
  20728. t5 = t4.get$variables();
  20729. A.setAll0(modulesByVariable, t5.get$keys(t5), t4);
  20730. }
  20731. A.setAll0(modulesByVariable, J.get$keys$z(B.JSArray_methods.get$first(t2._async_environment0$_environment._async_environment0$_variables)), t2);
  20732. } else {
  20733. t3 = t2.get$variables();
  20734. A.setAll0(modulesByVariable, t3.get$keys(t3), t2);
  20735. }
  20736. }
  20737. return modulesByVariable;
  20738. },
  20739. _EnvironmentModule__memberMap2(localMap, otherMaps, $V) {
  20740. var t1, t2, t3;
  20741. localMap = new A.PublicMemberMapView0(localMap, $V._eval$1("PublicMemberMapView0<0>"));
  20742. if (otherMaps.get$isEmpty(otherMaps))
  20743. return localMap;
  20744. t1 = A._setArrayType([], $V._eval$1("JSArray<Map<String,0>>"));
  20745. for (t2 = otherMaps.get$iterator(otherMaps); t2.moveNext$0();) {
  20746. t3 = t2.get$current(t2);
  20747. if (t3.get$isNotEmpty(t3))
  20748. t1.push(t3);
  20749. }
  20750. t1.push(localMap);
  20751. if (t1.length === 1)
  20752. return localMap;
  20753. return A.MergedMapView$0(t1, type$.String, $V);
  20754. },
  20755. _EnvironmentModule$_2(_environment, css, preModuleComments, extensionStore, _modulesByVariable, variables, variableNodes, functions, mixins, transitivelyContainsCss, transitivelyContainsExtensions) {
  20756. return new A._EnvironmentModule2(_environment._async_environment0$_allModules, variables, variableNodes, functions, mixins, extensionStore, css, preModuleComments, transitivelyContainsCss, transitivelyContainsExtensions, _environment, _modulesByVariable);
  20757. },
  20758. AsyncEnvironment0: function AsyncEnvironment0(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15) {
  20759. var _ = this;
  20760. _._async_environment0$_modules = t0;
  20761. _._async_environment0$_namespaceNodes = t1;
  20762. _._async_environment0$_globalModules = t2;
  20763. _._async_environment0$_importedModules = t3;
  20764. _._async_environment0$_forwardedModules = t4;
  20765. _._async_environment0$_nestedForwardedModules = t5;
  20766. _._async_environment0$_allModules = t6;
  20767. _._async_environment0$_variables = t7;
  20768. _._async_environment0$_variableNodes = t8;
  20769. _._async_environment0$_variableIndices = t9;
  20770. _._async_environment0$_functions = t10;
  20771. _._async_environment0$_functionIndices = t11;
  20772. _._async_environment0$_mixins = t12;
  20773. _._async_environment0$_mixinIndices = t13;
  20774. _._async_environment0$_content = t14;
  20775. _._async_environment0$_configurableVariables = t15;
  20776. _._async_environment0$_inMixin = false;
  20777. _._async_environment0$_inSemiGlobalScope = true;
  20778. _._async_environment0$_lastVariableIndex = _._async_environment0$_lastVariableName = null;
  20779. },
  20780. AsyncEnvironment__getVariableFromGlobalModule_closure0: function AsyncEnvironment__getVariableFromGlobalModule_closure0(t0) {
  20781. this.name = t0;
  20782. },
  20783. AsyncEnvironment_setVariable_closure2: function AsyncEnvironment_setVariable_closure2(t0, t1) {
  20784. this.$this = t0;
  20785. this.name = t1;
  20786. },
  20787. AsyncEnvironment_setVariable_closure3: function AsyncEnvironment_setVariable_closure3(t0) {
  20788. this.name = t0;
  20789. },
  20790. AsyncEnvironment_setVariable_closure4: function AsyncEnvironment_setVariable_closure4(t0, t1) {
  20791. this.$this = t0;
  20792. this.name = t1;
  20793. },
  20794. AsyncEnvironment__getFunctionFromGlobalModule_closure0: function AsyncEnvironment__getFunctionFromGlobalModule_closure0(t0) {
  20795. this.name = t0;
  20796. },
  20797. AsyncEnvironment__getMixinFromGlobalModule_closure0: function AsyncEnvironment__getMixinFromGlobalModule_closure0(t0) {
  20798. this.name = t0;
  20799. },
  20800. AsyncEnvironment_toModule_closure0: function AsyncEnvironment_toModule_closure0() {
  20801. },
  20802. AsyncEnvironment_toDummyModule_closure0: function AsyncEnvironment_toDummyModule_closure0() {
  20803. },
  20804. _EnvironmentModule2: function _EnvironmentModule2(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11) {
  20805. var _ = this;
  20806. _.upstream = t0;
  20807. _.variables = t1;
  20808. _.variableNodes = t2;
  20809. _.functions = t3;
  20810. _.mixins = t4;
  20811. _.extensionStore = t5;
  20812. _.css = t6;
  20813. _.preModuleComments = t7;
  20814. _.transitivelyContainsCss = t8;
  20815. _.transitivelyContainsExtensions = t9;
  20816. _._async_environment0$_environment = t10;
  20817. _._async_environment0$_modulesByVariable = t11;
  20818. },
  20819. _EnvironmentModule__EnvironmentModule_closure17: function _EnvironmentModule__EnvironmentModule_closure17() {
  20820. },
  20821. _EnvironmentModule__EnvironmentModule_closure18: function _EnvironmentModule__EnvironmentModule_closure18() {
  20822. },
  20823. _EnvironmentModule__EnvironmentModule_closure19: function _EnvironmentModule__EnvironmentModule_closure19() {
  20824. },
  20825. _EnvironmentModule__EnvironmentModule_closure20: function _EnvironmentModule__EnvironmentModule_closure20() {
  20826. },
  20827. _EnvironmentModule__EnvironmentModule_closure21: function _EnvironmentModule__EnvironmentModule_closure21() {
  20828. },
  20829. _EnvironmentModule__EnvironmentModule_closure22: function _EnvironmentModule__EnvironmentModule_closure22() {
  20830. },
  20831. _EnvironmentModule_couldHaveBeenConfigured_closure2: function _EnvironmentModule_couldHaveBeenConfigured_closure2(t0) {
  20832. this.variables = t0;
  20833. },
  20834. _EvaluateVisitor$2(functions, importCache, logger, nodeImporter, quietDeps, sourceMap) {
  20835. var t4,
  20836. t1 = type$.Uri,
  20837. t2 = type$.Module_AsyncCallable_2,
  20838. t3 = A._setArrayType([], type$.JSArray_Record_2_String_and_AstNode_2);
  20839. if (importCache == null)
  20840. t4 = nodeImporter == null ? A.AsyncImportCache$none() : null;
  20841. else
  20842. t4 = importCache;
  20843. 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);
  20844. t1._EvaluateVisitor$6$functions$importCache$logger$nodeImporter$quietDeps$sourceMap2(functions, importCache, logger, nodeImporter, quietDeps, sourceMap);
  20845. return t1;
  20846. },
  20847. _EvaluateVisitor2: function _EvaluateVisitor2(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16) {
  20848. var _ = this;
  20849. _._async_evaluate0$_importCache = t0;
  20850. _._async_evaluate0$_nodeImporter = t1;
  20851. _._async_evaluate0$_builtInFunctions = t2;
  20852. _._async_evaluate0$_builtInModules = t3;
  20853. _._async_evaluate0$_modules = t4;
  20854. _._async_evaluate0$_moduleConfigurations = t5;
  20855. _._async_evaluate0$_moduleNodes = t6;
  20856. _._async_evaluate0$_logger = t7;
  20857. _._async_evaluate0$_warningsEmitted = t8;
  20858. _._async_evaluate0$_quietDeps = t9;
  20859. _._async_evaluate0$_sourceMap = t10;
  20860. _._async_evaluate0$_compileContext = t11;
  20861. _._async_evaluate0$_environment = t12;
  20862. _._async_evaluate0$_declarationName = _._async_evaluate0$__parent = _._async_evaluate0$_mediaQuerySources = _._async_evaluate0$_mediaQueries = _._async_evaluate0$_styleRuleIgnoringAtRoot = null;
  20863. _._async_evaluate0$_member = "root stylesheet";
  20864. _._async_evaluate0$_importSpan = _._async_evaluate0$_callableNode = null;
  20865. _._async_evaluate0$_inSupportsDeclaration = _._async_evaluate0$_inKeyframes = _._async_evaluate0$_atRootExcludingStyleRule = _._async_evaluate0$_inUnknownAtRule = _._async_evaluate0$_inFunction = false;
  20866. _._async_evaluate0$_loadedUrls = t13;
  20867. _._async_evaluate0$_activeModules = t14;
  20868. _._async_evaluate0$_stack = t15;
  20869. _._async_evaluate0$_importer = null;
  20870. _._async_evaluate0$_inDependency = false;
  20871. _._async_evaluate0$__extensionStore = _._async_evaluate0$_preModuleComments = _._async_evaluate0$_outOfOrderImports = _._async_evaluate0$__endOfImports = _._async_evaluate0$__root = _._async_evaluate0$__stylesheet = null;
  20872. _._async_evaluate0$_configuration = t16;
  20873. },
  20874. _EvaluateVisitor_closure38: function _EvaluateVisitor_closure38(t0) {
  20875. this.$this = t0;
  20876. },
  20877. _EvaluateVisitor_closure39: function _EvaluateVisitor_closure39(t0) {
  20878. this.$this = t0;
  20879. },
  20880. _EvaluateVisitor_closure40: function _EvaluateVisitor_closure40(t0) {
  20881. this.$this = t0;
  20882. },
  20883. _EvaluateVisitor_closure41: function _EvaluateVisitor_closure41(t0) {
  20884. this.$this = t0;
  20885. },
  20886. _EvaluateVisitor_closure42: function _EvaluateVisitor_closure42(t0) {
  20887. this.$this = t0;
  20888. },
  20889. _EvaluateVisitor_closure43: function _EvaluateVisitor_closure43(t0) {
  20890. this.$this = t0;
  20891. },
  20892. _EvaluateVisitor_closure44: function _EvaluateVisitor_closure44(t0) {
  20893. this.$this = t0;
  20894. },
  20895. _EvaluateVisitor_closure45: function _EvaluateVisitor_closure45(t0) {
  20896. this.$this = t0;
  20897. },
  20898. _EvaluateVisitor_closure46: function _EvaluateVisitor_closure46(t0) {
  20899. this.$this = t0;
  20900. },
  20901. _EvaluateVisitor__closure14: function _EvaluateVisitor__closure14(t0, t1, t2) {
  20902. this.$this = t0;
  20903. this.name = t1;
  20904. this.module = t2;
  20905. },
  20906. _EvaluateVisitor_closure47: function _EvaluateVisitor_closure47(t0) {
  20907. this.$this = t0;
  20908. },
  20909. _EvaluateVisitor__closure13: function _EvaluateVisitor__closure13(t0, t1, t2) {
  20910. this.$this = t0;
  20911. this.name = t1;
  20912. this.module = t2;
  20913. },
  20914. _EvaluateVisitor_closure48: function _EvaluateVisitor_closure48(t0) {
  20915. this.$this = t0;
  20916. },
  20917. _EvaluateVisitor_closure49: function _EvaluateVisitor_closure49(t0) {
  20918. this.$this = t0;
  20919. },
  20920. _EvaluateVisitor__closure11: function _EvaluateVisitor__closure11(t0, t1, t2) {
  20921. this.values = t0;
  20922. this.span = t1;
  20923. this.callableNode = t2;
  20924. },
  20925. _EvaluateVisitor__closure12: function _EvaluateVisitor__closure12(t0) {
  20926. this.$this = t0;
  20927. },
  20928. _EvaluateVisitor_closure50: function _EvaluateVisitor_closure50(t0) {
  20929. this.$this = t0;
  20930. },
  20931. _EvaluateVisitor_run_closure2: function _EvaluateVisitor_run_closure2(t0, t1, t2) {
  20932. this.$this = t0;
  20933. this.node = t1;
  20934. this.importer = t2;
  20935. },
  20936. _EvaluateVisitor_run__closure2: function _EvaluateVisitor_run__closure2(t0, t1, t2) {
  20937. this.$this = t0;
  20938. this.importer = t1;
  20939. this.node = t2;
  20940. },
  20941. _EvaluateVisitor__loadModule_closure5: function _EvaluateVisitor__loadModule_closure5(t0, t1) {
  20942. this._box_0 = t0;
  20943. this.callback = t1;
  20944. },
  20945. _EvaluateVisitor__loadModule_closure6: function _EvaluateVisitor__loadModule_closure6(t0, t1, t2, t3, t4, t5, t6) {
  20946. var _ = this;
  20947. _.$this = t0;
  20948. _.url = t1;
  20949. _.nodeWithSpan = t2;
  20950. _.baseUrl = t3;
  20951. _.namesInErrors = t4;
  20952. _.configuration = t5;
  20953. _.callback = t6;
  20954. },
  20955. _EvaluateVisitor__loadModule__closure5: function _EvaluateVisitor__loadModule__closure5(t0, t1) {
  20956. this.$this = t0;
  20957. this.message = t1;
  20958. },
  20959. _EvaluateVisitor__loadModule__closure6: function _EvaluateVisitor__loadModule__closure6(t0, t1, t2) {
  20960. this._box_1 = t0;
  20961. this.callback = t1;
  20962. this.firstLoad = t2;
  20963. },
  20964. _EvaluateVisitor__execute_closure2: function _EvaluateVisitor__execute_closure2(t0, t1, t2, t3, t4, t5, t6) {
  20965. var _ = this;
  20966. _.$this = t0;
  20967. _.importer = t1;
  20968. _.stylesheet = t2;
  20969. _.extensionStore = t3;
  20970. _.configuration = t4;
  20971. _.css = t5;
  20972. _.preModuleComments = t6;
  20973. },
  20974. _EvaluateVisitor__combineCss_closure5: function _EvaluateVisitor__combineCss_closure5() {
  20975. },
  20976. _EvaluateVisitor__combineCss_closure6: function _EvaluateVisitor__combineCss_closure6(t0) {
  20977. this.selectors = t0;
  20978. },
  20979. _EvaluateVisitor__combineCss_visitModule2: function _EvaluateVisitor__combineCss_visitModule2(t0, t1, t2, t3, t4, t5) {
  20980. var _ = this;
  20981. _.$this = t0;
  20982. _.seen = t1;
  20983. _.clone = t2;
  20984. _.css = t3;
  20985. _.imports = t4;
  20986. _.sorted = t5;
  20987. },
  20988. _EvaluateVisitor__extendModules_closure5: function _EvaluateVisitor__extendModules_closure5(t0) {
  20989. this.originalSelectors = t0;
  20990. },
  20991. _EvaluateVisitor__extendModules_closure6: function _EvaluateVisitor__extendModules_closure6() {
  20992. },
  20993. _EvaluateVisitor_visitAtRootRule_closure5: function _EvaluateVisitor_visitAtRootRule_closure5(t0, t1) {
  20994. this.$this = t0;
  20995. this.node = t1;
  20996. },
  20997. _EvaluateVisitor_visitAtRootRule_closure6: function _EvaluateVisitor_visitAtRootRule_closure6(t0, t1) {
  20998. this.$this = t0;
  20999. this.node = t1;
  21000. },
  21001. _EvaluateVisitor__scopeForAtRoot_closure17: function _EvaluateVisitor__scopeForAtRoot_closure17(t0, t1, t2) {
  21002. this.$this = t0;
  21003. this.newParent = t1;
  21004. this.node = t2;
  21005. },
  21006. _EvaluateVisitor__scopeForAtRoot_closure18: function _EvaluateVisitor__scopeForAtRoot_closure18(t0, t1) {
  21007. this.$this = t0;
  21008. this.innerScope = t1;
  21009. },
  21010. _EvaluateVisitor__scopeForAtRoot_closure19: function _EvaluateVisitor__scopeForAtRoot_closure19(t0, t1) {
  21011. this.$this = t0;
  21012. this.innerScope = t1;
  21013. },
  21014. _EvaluateVisitor__scopeForAtRoot__closure2: function _EvaluateVisitor__scopeForAtRoot__closure2(t0, t1) {
  21015. this.innerScope = t0;
  21016. this.callback = t1;
  21017. },
  21018. _EvaluateVisitor__scopeForAtRoot_closure20: function _EvaluateVisitor__scopeForAtRoot_closure20(t0, t1) {
  21019. this.$this = t0;
  21020. this.innerScope = t1;
  21021. },
  21022. _EvaluateVisitor__scopeForAtRoot_closure21: function _EvaluateVisitor__scopeForAtRoot_closure21() {
  21023. },
  21024. _EvaluateVisitor__scopeForAtRoot_closure22: function _EvaluateVisitor__scopeForAtRoot_closure22(t0, t1) {
  21025. this.$this = t0;
  21026. this.innerScope = t1;
  21027. },
  21028. _EvaluateVisitor_visitContentRule_closure2: function _EvaluateVisitor_visitContentRule_closure2(t0, t1) {
  21029. this.$this = t0;
  21030. this.content = t1;
  21031. },
  21032. _EvaluateVisitor_visitDeclaration_closure2: function _EvaluateVisitor_visitDeclaration_closure2(t0, t1) {
  21033. this._box_0 = t0;
  21034. this.$this = t1;
  21035. },
  21036. _EvaluateVisitor_visitEachRule_closure8: function _EvaluateVisitor_visitEachRule_closure8(t0, t1, t2) {
  21037. this._box_0 = t0;
  21038. this.$this = t1;
  21039. this.nodeWithSpan = t2;
  21040. },
  21041. _EvaluateVisitor_visitEachRule_closure9: function _EvaluateVisitor_visitEachRule_closure9(t0, t1, t2) {
  21042. this._box_1 = t0;
  21043. this.$this = t1;
  21044. this.nodeWithSpan = t2;
  21045. },
  21046. _EvaluateVisitor_visitEachRule_closure10: function _EvaluateVisitor_visitEachRule_closure10(t0, t1, t2, t3) {
  21047. var _ = this;
  21048. _.$this = t0;
  21049. _.list = t1;
  21050. _.setVariables = t2;
  21051. _.node = t3;
  21052. },
  21053. _EvaluateVisitor_visitEachRule__closure2: function _EvaluateVisitor_visitEachRule__closure2(t0, t1, t2) {
  21054. this.$this = t0;
  21055. this.setVariables = t1;
  21056. this.node = t2;
  21057. },
  21058. _EvaluateVisitor_visitEachRule___closure2: function _EvaluateVisitor_visitEachRule___closure2(t0) {
  21059. this.$this = t0;
  21060. },
  21061. _EvaluateVisitor_visitAtRule_closure8: function _EvaluateVisitor_visitAtRule_closure8(t0) {
  21062. this.$this = t0;
  21063. },
  21064. _EvaluateVisitor_visitAtRule_closure9: function _EvaluateVisitor_visitAtRule_closure9(t0, t1, t2) {
  21065. this.$this = t0;
  21066. this.name = t1;
  21067. this.children = t2;
  21068. },
  21069. _EvaluateVisitor_visitAtRule__closure2: function _EvaluateVisitor_visitAtRule__closure2(t0, t1) {
  21070. this.$this = t0;
  21071. this.children = t1;
  21072. },
  21073. _EvaluateVisitor_visitAtRule_closure10: function _EvaluateVisitor_visitAtRule_closure10() {
  21074. },
  21075. _EvaluateVisitor_visitForRule_closure14: function _EvaluateVisitor_visitForRule_closure14(t0, t1) {
  21076. this.$this = t0;
  21077. this.node = t1;
  21078. },
  21079. _EvaluateVisitor_visitForRule_closure15: function _EvaluateVisitor_visitForRule_closure15(t0, t1) {
  21080. this.$this = t0;
  21081. this.node = t1;
  21082. },
  21083. _EvaluateVisitor_visitForRule_closure16: function _EvaluateVisitor_visitForRule_closure16(t0) {
  21084. this.fromNumber = t0;
  21085. },
  21086. _EvaluateVisitor_visitForRule_closure17: function _EvaluateVisitor_visitForRule_closure17(t0, t1) {
  21087. this.toNumber = t0;
  21088. this.fromNumber = t1;
  21089. },
  21090. _EvaluateVisitor_visitForRule_closure18: function _EvaluateVisitor_visitForRule_closure18(t0, t1, t2, t3, t4, t5) {
  21091. var _ = this;
  21092. _._box_0 = t0;
  21093. _.$this = t1;
  21094. _.node = t2;
  21095. _.from = t3;
  21096. _.direction = t4;
  21097. _.fromNumber = t5;
  21098. },
  21099. _EvaluateVisitor_visitForRule__closure2: function _EvaluateVisitor_visitForRule__closure2(t0) {
  21100. this.$this = t0;
  21101. },
  21102. _EvaluateVisitor_visitForwardRule_closure5: function _EvaluateVisitor_visitForwardRule_closure5(t0, t1) {
  21103. this.$this = t0;
  21104. this.node = t1;
  21105. },
  21106. _EvaluateVisitor_visitForwardRule_closure6: function _EvaluateVisitor_visitForwardRule_closure6(t0, t1) {
  21107. this.$this = t0;
  21108. this.node = t1;
  21109. },
  21110. _EvaluateVisitor__registerCommentsForModule_closure2: function _EvaluateVisitor__registerCommentsForModule_closure2() {
  21111. },
  21112. _EvaluateVisitor_visitIfRule_closure2: function _EvaluateVisitor_visitIfRule_closure2(t0) {
  21113. this.$this = t0;
  21114. },
  21115. _EvaluateVisitor_visitIfRule__closure2: function _EvaluateVisitor_visitIfRule__closure2(t0, t1) {
  21116. this.$this = t0;
  21117. this.clause = t1;
  21118. },
  21119. _EvaluateVisitor_visitIfRule___closure2: function _EvaluateVisitor_visitIfRule___closure2(t0) {
  21120. this.$this = t0;
  21121. },
  21122. _EvaluateVisitor__visitDynamicImport_closure2: function _EvaluateVisitor__visitDynamicImport_closure2(t0, t1) {
  21123. this.$this = t0;
  21124. this.$import = t1;
  21125. },
  21126. _EvaluateVisitor__visitDynamicImport__closure11: function _EvaluateVisitor__visitDynamicImport__closure11(t0) {
  21127. this.$this = t0;
  21128. },
  21129. _EvaluateVisitor__visitDynamicImport__closure12: function _EvaluateVisitor__visitDynamicImport__closure12() {
  21130. },
  21131. _EvaluateVisitor__visitDynamicImport__closure13: function _EvaluateVisitor__visitDynamicImport__closure13() {
  21132. },
  21133. _EvaluateVisitor__visitDynamicImport__closure14: function _EvaluateVisitor__visitDynamicImport__closure14(t0, t1, t2, t3, t4) {
  21134. var _ = this;
  21135. _._box_0 = t0;
  21136. _.$this = t1;
  21137. _.loadsUserDefinedModules = t2;
  21138. _.environment = t3;
  21139. _.children = t4;
  21140. },
  21141. _EvaluateVisitor__applyMixin_closure5: function _EvaluateVisitor__applyMixin_closure5(t0, t1, t2, t3) {
  21142. var _ = this;
  21143. _.$this = t0;
  21144. _.$arguments = t1;
  21145. _.mixin = t2;
  21146. _.nodeWithSpanWithoutContent = t3;
  21147. },
  21148. _EvaluateVisitor__applyMixin__closure6: function _EvaluateVisitor__applyMixin__closure6(t0, t1, t2, t3) {
  21149. var _ = this;
  21150. _.$this = t0;
  21151. _.$arguments = t1;
  21152. _.mixin = t2;
  21153. _.nodeWithSpanWithoutContent = t3;
  21154. },
  21155. _EvaluateVisitor__applyMixin_closure6: function _EvaluateVisitor__applyMixin_closure6(t0, t1, t2, t3) {
  21156. var _ = this;
  21157. _.$this = t0;
  21158. _.contentCallable = t1;
  21159. _.mixin = t2;
  21160. _.nodeWithSpanWithoutContent = t3;
  21161. },
  21162. _EvaluateVisitor__applyMixin__closure5: function _EvaluateVisitor__applyMixin__closure5(t0, t1, t2) {
  21163. this.$this = t0;
  21164. this.mixin = t1;
  21165. this.nodeWithSpanWithoutContent = t2;
  21166. },
  21167. _EvaluateVisitor__applyMixin___closure2: function _EvaluateVisitor__applyMixin___closure2(t0, t1, t2) {
  21168. this.$this = t0;
  21169. this.mixin = t1;
  21170. this.nodeWithSpanWithoutContent = t2;
  21171. },
  21172. _EvaluateVisitor__applyMixin____closure2: function _EvaluateVisitor__applyMixin____closure2(t0, t1) {
  21173. this.$this = t0;
  21174. this.statement = t1;
  21175. },
  21176. _EvaluateVisitor_visitIncludeRule_closure8: function _EvaluateVisitor_visitIncludeRule_closure8(t0, t1) {
  21177. this.$this = t0;
  21178. this.node = t1;
  21179. },
  21180. _EvaluateVisitor_visitIncludeRule_closure9: function _EvaluateVisitor_visitIncludeRule_closure9(t0) {
  21181. this.$this = t0;
  21182. },
  21183. _EvaluateVisitor_visitIncludeRule_closure10: function _EvaluateVisitor_visitIncludeRule_closure10(t0) {
  21184. this.node = t0;
  21185. },
  21186. _EvaluateVisitor_visitMediaRule_closure8: function _EvaluateVisitor_visitMediaRule_closure8(t0, t1) {
  21187. this.$this = t0;
  21188. this.queries = t1;
  21189. },
  21190. _EvaluateVisitor_visitMediaRule_closure9: function _EvaluateVisitor_visitMediaRule_closure9(t0, t1, t2, t3, t4) {
  21191. var _ = this;
  21192. _.$this = t0;
  21193. _.mergedQueries = t1;
  21194. _.queries = t2;
  21195. _.mergedSources = t3;
  21196. _.node = t4;
  21197. },
  21198. _EvaluateVisitor_visitMediaRule__closure2: function _EvaluateVisitor_visitMediaRule__closure2(t0, t1) {
  21199. this.$this = t0;
  21200. this.node = t1;
  21201. },
  21202. _EvaluateVisitor_visitMediaRule___closure2: function _EvaluateVisitor_visitMediaRule___closure2(t0, t1) {
  21203. this.$this = t0;
  21204. this.node = t1;
  21205. },
  21206. _EvaluateVisitor_visitMediaRule_closure10: function _EvaluateVisitor_visitMediaRule_closure10(t0) {
  21207. this.mergedSources = t0;
  21208. },
  21209. _EvaluateVisitor_visitStyleRule_closure11: function _EvaluateVisitor_visitStyleRule_closure11(t0, t1) {
  21210. this.$this = t0;
  21211. this.node = t1;
  21212. },
  21213. _EvaluateVisitor_visitStyleRule_closure12: function _EvaluateVisitor_visitStyleRule_closure12() {
  21214. },
  21215. _EvaluateVisitor_visitStyleRule_closure14: function _EvaluateVisitor_visitStyleRule_closure14(t0, t1, t2) {
  21216. this.$this = t0;
  21217. this.rule = t1;
  21218. this.node = t2;
  21219. },
  21220. _EvaluateVisitor_visitStyleRule__closure2: function _EvaluateVisitor_visitStyleRule__closure2(t0, t1) {
  21221. this.$this = t0;
  21222. this.node = t1;
  21223. },
  21224. _EvaluateVisitor_visitStyleRule_closure13: function _EvaluateVisitor_visitStyleRule_closure13() {
  21225. },
  21226. _EvaluateVisitor__warnForBogusCombinators_closure2: function _EvaluateVisitor__warnForBogusCombinators_closure2() {
  21227. },
  21228. _EvaluateVisitor_visitSupportsRule_closure5: function _EvaluateVisitor_visitSupportsRule_closure5(t0, t1) {
  21229. this.$this = t0;
  21230. this.node = t1;
  21231. },
  21232. _EvaluateVisitor_visitSupportsRule__closure2: function _EvaluateVisitor_visitSupportsRule__closure2(t0, t1) {
  21233. this.$this = t0;
  21234. this.node = t1;
  21235. },
  21236. _EvaluateVisitor_visitSupportsRule_closure6: function _EvaluateVisitor_visitSupportsRule_closure6() {
  21237. },
  21238. _EvaluateVisitor__visitSupportsCondition_closure2: function _EvaluateVisitor__visitSupportsCondition_closure2(t0, t1) {
  21239. this._box_0 = t0;
  21240. this.$this = t1;
  21241. },
  21242. _EvaluateVisitor_visitVariableDeclaration_closure8: function _EvaluateVisitor_visitVariableDeclaration_closure8(t0, t1, t2) {
  21243. this._box_0 = t0;
  21244. this.$this = t1;
  21245. this.node = t2;
  21246. },
  21247. _EvaluateVisitor_visitVariableDeclaration_closure9: function _EvaluateVisitor_visitVariableDeclaration_closure9(t0, t1) {
  21248. this.$this = t0;
  21249. this.node = t1;
  21250. },
  21251. _EvaluateVisitor_visitVariableDeclaration_closure10: function _EvaluateVisitor_visitVariableDeclaration_closure10(t0, t1, t2) {
  21252. this.$this = t0;
  21253. this.node = t1;
  21254. this.value = t2;
  21255. },
  21256. _EvaluateVisitor_visitUseRule_closure2: function _EvaluateVisitor_visitUseRule_closure2(t0, t1) {
  21257. this.$this = t0;
  21258. this.node = t1;
  21259. },
  21260. _EvaluateVisitor_visitWarnRule_closure2: function _EvaluateVisitor_visitWarnRule_closure2(t0, t1) {
  21261. this.$this = t0;
  21262. this.node = t1;
  21263. },
  21264. _EvaluateVisitor_visitWhileRule_closure2: function _EvaluateVisitor_visitWhileRule_closure2(t0, t1) {
  21265. this.$this = t0;
  21266. this.node = t1;
  21267. },
  21268. _EvaluateVisitor_visitWhileRule__closure2: function _EvaluateVisitor_visitWhileRule__closure2(t0) {
  21269. this.$this = t0;
  21270. },
  21271. _EvaluateVisitor_visitBinaryOperationExpression_closure2: function _EvaluateVisitor_visitBinaryOperationExpression_closure2(t0, t1) {
  21272. this.$this = t0;
  21273. this.node = t1;
  21274. },
  21275. _EvaluateVisitor__slash_recommendation2: function _EvaluateVisitor__slash_recommendation2() {
  21276. },
  21277. _EvaluateVisitor_visitVariableExpression_closure2: function _EvaluateVisitor_visitVariableExpression_closure2(t0, t1) {
  21278. this.$this = t0;
  21279. this.node = t1;
  21280. },
  21281. _EvaluateVisitor_visitUnaryOperationExpression_closure2: function _EvaluateVisitor_visitUnaryOperationExpression_closure2(t0, t1) {
  21282. this.node = t0;
  21283. this.operand = t1;
  21284. },
  21285. _EvaluateVisitor_visitListExpression_closure2: function _EvaluateVisitor_visitListExpression_closure2(t0) {
  21286. this.$this = t0;
  21287. },
  21288. _EvaluateVisitor_visitFunctionExpression_closure8: function _EvaluateVisitor_visitFunctionExpression_closure8(t0, t1) {
  21289. this.$this = t0;
  21290. this.node = t1;
  21291. },
  21292. _EvaluateVisitor_visitFunctionExpression_closure9: function _EvaluateVisitor_visitFunctionExpression_closure9() {
  21293. },
  21294. _EvaluateVisitor_visitFunctionExpression_closure10: function _EvaluateVisitor_visitFunctionExpression_closure10(t0, t1, t2) {
  21295. this._box_0 = t0;
  21296. this.$this = t1;
  21297. this.node = t2;
  21298. },
  21299. _EvaluateVisitor__visitCalculation_closure2: function _EvaluateVisitor__visitCalculation_closure2(t0, t1) {
  21300. this.$this = t0;
  21301. this.node = t1;
  21302. },
  21303. _EvaluateVisitor__checkCalculationArguments_check2: function _EvaluateVisitor__checkCalculationArguments_check2(t0, t1) {
  21304. this.$this = t0;
  21305. this.node = t1;
  21306. },
  21307. _EvaluateVisitor__visitCalculationExpression_closure2: function _EvaluateVisitor__visitCalculationExpression_closure2(t0, t1, t2, t3) {
  21308. var _ = this;
  21309. _._box_0 = t0;
  21310. _.$this = t1;
  21311. _.node = t2;
  21312. _.inLegacySassFunction = t3;
  21313. },
  21314. _EvaluateVisitor__visitCalculationExpression__closure2: function _EvaluateVisitor__visitCalculationExpression__closure2(t0, t1) {
  21315. this.$this = t0;
  21316. this.node = t1;
  21317. },
  21318. _EvaluateVisitor_visitInterpolatedFunctionExpression_closure2: function _EvaluateVisitor_visitInterpolatedFunctionExpression_closure2(t0, t1, t2) {
  21319. this.$this = t0;
  21320. this.node = t1;
  21321. this.$function = t2;
  21322. },
  21323. _EvaluateVisitor__runUserDefinedCallable_closure2: function _EvaluateVisitor__runUserDefinedCallable_closure2(t0, t1, t2, t3, t4, t5) {
  21324. var _ = this;
  21325. _.$this = t0;
  21326. _.callable = t1;
  21327. _.evaluated = t2;
  21328. _.nodeWithSpan = t3;
  21329. _.run = t4;
  21330. _.V = t5;
  21331. },
  21332. _EvaluateVisitor__runUserDefinedCallable__closure2: function _EvaluateVisitor__runUserDefinedCallable__closure2(t0, t1, t2, t3, t4, t5) {
  21333. var _ = this;
  21334. _.$this = t0;
  21335. _.evaluated = t1;
  21336. _.callable = t2;
  21337. _.nodeWithSpan = t3;
  21338. _.run = t4;
  21339. _.V = t5;
  21340. },
  21341. _EvaluateVisitor__runUserDefinedCallable___closure2: function _EvaluateVisitor__runUserDefinedCallable___closure2(t0, t1, t2, t3, t4, t5) {
  21342. var _ = this;
  21343. _.$this = t0;
  21344. _.evaluated = t1;
  21345. _.callable = t2;
  21346. _.nodeWithSpan = t3;
  21347. _.run = t4;
  21348. _.V = t5;
  21349. },
  21350. _EvaluateVisitor__runUserDefinedCallable____closure2: function _EvaluateVisitor__runUserDefinedCallable____closure2() {
  21351. },
  21352. _EvaluateVisitor__runFunctionCallable_closure2: function _EvaluateVisitor__runFunctionCallable_closure2(t0, t1) {
  21353. this.$this = t0;
  21354. this.callable = t1;
  21355. },
  21356. _EvaluateVisitor__runBuiltInCallable_closure8: function _EvaluateVisitor__runBuiltInCallable_closure8(t0, t1, t2) {
  21357. this._box_0 = t0;
  21358. this.evaluated = t1;
  21359. this.namedSet = t2;
  21360. },
  21361. _EvaluateVisitor__runBuiltInCallable_closure9: function _EvaluateVisitor__runBuiltInCallable_closure9(t0, t1) {
  21362. this._box_0 = t0;
  21363. this.evaluated = t1;
  21364. },
  21365. _EvaluateVisitor__runBuiltInCallable_closure10: function _EvaluateVisitor__runBuiltInCallable_closure10() {
  21366. },
  21367. _EvaluateVisitor__evaluateArguments_closure11: function _EvaluateVisitor__evaluateArguments_closure11() {
  21368. },
  21369. _EvaluateVisitor__evaluateArguments_closure12: function _EvaluateVisitor__evaluateArguments_closure12(t0, t1) {
  21370. this.$this = t0;
  21371. this.restNodeForSpan = t1;
  21372. },
  21373. _EvaluateVisitor__evaluateArguments_closure13: function _EvaluateVisitor__evaluateArguments_closure13(t0, t1, t2, t3) {
  21374. var _ = this;
  21375. _.$this = t0;
  21376. _.named = t1;
  21377. _.restNodeForSpan = t2;
  21378. _.namedNodes = t3;
  21379. },
  21380. _EvaluateVisitor__evaluateArguments_closure14: function _EvaluateVisitor__evaluateArguments_closure14() {
  21381. },
  21382. _EvaluateVisitor__evaluateMacroArguments_closure11: function _EvaluateVisitor__evaluateMacroArguments_closure11(t0) {
  21383. this.restArgs = t0;
  21384. },
  21385. _EvaluateVisitor__evaluateMacroArguments_closure12: function _EvaluateVisitor__evaluateMacroArguments_closure12(t0, t1, t2) {
  21386. this.$this = t0;
  21387. this.restNodeForSpan = t1;
  21388. this.restArgs = t2;
  21389. },
  21390. _EvaluateVisitor__evaluateMacroArguments_closure13: function _EvaluateVisitor__evaluateMacroArguments_closure13(t0, t1, t2, t3) {
  21391. var _ = this;
  21392. _.$this = t0;
  21393. _.named = t1;
  21394. _.restNodeForSpan = t2;
  21395. _.restArgs = t3;
  21396. },
  21397. _EvaluateVisitor__evaluateMacroArguments_closure14: function _EvaluateVisitor__evaluateMacroArguments_closure14(t0, t1, t2) {
  21398. this.$this = t0;
  21399. this.keywordRestNodeForSpan = t1;
  21400. this.keywordRestArgs = t2;
  21401. },
  21402. _EvaluateVisitor__addRestMap_closure2: function _EvaluateVisitor__addRestMap_closure2(t0, t1, t2, t3, t4, t5) {
  21403. var _ = this;
  21404. _.$this = t0;
  21405. _.values = t1;
  21406. _.convert = t2;
  21407. _.expressionNode = t3;
  21408. _.map = t4;
  21409. _.nodeWithSpan = t5;
  21410. },
  21411. _EvaluateVisitor__verifyArguments_closure2: function _EvaluateVisitor__verifyArguments_closure2(t0, t1, t2) {
  21412. this.parameters = t0;
  21413. this.positional = t1;
  21414. this.named = t2;
  21415. },
  21416. _EvaluateVisitor_visitCssAtRule_closure5: function _EvaluateVisitor_visitCssAtRule_closure5(t0, t1) {
  21417. this.$this = t0;
  21418. this.node = t1;
  21419. },
  21420. _EvaluateVisitor_visitCssAtRule_closure6: function _EvaluateVisitor_visitCssAtRule_closure6() {
  21421. },
  21422. _EvaluateVisitor_visitCssKeyframeBlock_closure5: function _EvaluateVisitor_visitCssKeyframeBlock_closure5(t0, t1) {
  21423. this.$this = t0;
  21424. this.node = t1;
  21425. },
  21426. _EvaluateVisitor_visitCssKeyframeBlock_closure6: function _EvaluateVisitor_visitCssKeyframeBlock_closure6() {
  21427. },
  21428. _EvaluateVisitor_visitCssMediaRule_closure8: function _EvaluateVisitor_visitCssMediaRule_closure8(t0, t1) {
  21429. this.$this = t0;
  21430. this.node = t1;
  21431. },
  21432. _EvaluateVisitor_visitCssMediaRule_closure9: function _EvaluateVisitor_visitCssMediaRule_closure9(t0, t1, t2, t3) {
  21433. var _ = this;
  21434. _.$this = t0;
  21435. _.mergedQueries = t1;
  21436. _.node = t2;
  21437. _.mergedSources = t3;
  21438. },
  21439. _EvaluateVisitor_visitCssMediaRule__closure2: function _EvaluateVisitor_visitCssMediaRule__closure2(t0, t1) {
  21440. this.$this = t0;
  21441. this.node = t1;
  21442. },
  21443. _EvaluateVisitor_visitCssMediaRule___closure2: function _EvaluateVisitor_visitCssMediaRule___closure2(t0, t1) {
  21444. this.$this = t0;
  21445. this.node = t1;
  21446. },
  21447. _EvaluateVisitor_visitCssMediaRule_closure10: function _EvaluateVisitor_visitCssMediaRule_closure10(t0) {
  21448. this.mergedSources = t0;
  21449. },
  21450. _EvaluateVisitor_visitCssStyleRule_closure6: function _EvaluateVisitor_visitCssStyleRule_closure6(t0, t1, t2) {
  21451. this.$this = t0;
  21452. this.rule = t1;
  21453. this.node = t2;
  21454. },
  21455. _EvaluateVisitor_visitCssStyleRule__closure2: function _EvaluateVisitor_visitCssStyleRule__closure2(t0, t1) {
  21456. this.$this = t0;
  21457. this.node = t1;
  21458. },
  21459. _EvaluateVisitor_visitCssStyleRule_closure5: function _EvaluateVisitor_visitCssStyleRule_closure5() {
  21460. },
  21461. _EvaluateVisitor_visitCssSupportsRule_closure5: function _EvaluateVisitor_visitCssSupportsRule_closure5(t0, t1) {
  21462. this.$this = t0;
  21463. this.node = t1;
  21464. },
  21465. _EvaluateVisitor_visitCssSupportsRule__closure2: function _EvaluateVisitor_visitCssSupportsRule__closure2(t0, t1) {
  21466. this.$this = t0;
  21467. this.node = t1;
  21468. },
  21469. _EvaluateVisitor_visitCssSupportsRule_closure6: function _EvaluateVisitor_visitCssSupportsRule_closure6() {
  21470. },
  21471. _EvaluateVisitor__performInterpolationHelper_closure2: function _EvaluateVisitor__performInterpolationHelper_closure2(t0) {
  21472. this.interpolation = t0;
  21473. },
  21474. _EvaluateVisitor__serialize_closure2: function _EvaluateVisitor__serialize_closure2(t0, t1) {
  21475. this.value = t0;
  21476. this.quote = t1;
  21477. },
  21478. _EvaluateVisitor__expressionNode_closure2: function _EvaluateVisitor__expressionNode_closure2(t0, t1) {
  21479. this.$this = t0;
  21480. this.expression = t1;
  21481. },
  21482. _EvaluateVisitor__withoutSlash_recommendation2: function _EvaluateVisitor__withoutSlash_recommendation2() {
  21483. },
  21484. _EvaluateVisitor__stackFrame_closure2: function _EvaluateVisitor__stackFrame_closure2(t0) {
  21485. this.$this = t0;
  21486. },
  21487. _ImportedCssVisitor2: function _ImportedCssVisitor2(t0) {
  21488. this._async_evaluate0$_visitor = t0;
  21489. },
  21490. _ImportedCssVisitor_visitCssAtRule_closure2: function _ImportedCssVisitor_visitCssAtRule_closure2() {
  21491. },
  21492. _ImportedCssVisitor_visitCssMediaRule_closure2: function _ImportedCssVisitor_visitCssMediaRule_closure2(t0) {
  21493. this.hasBeenMerged = t0;
  21494. },
  21495. _ImportedCssVisitor_visitCssStyleRule_closure2: function _ImportedCssVisitor_visitCssStyleRule_closure2() {
  21496. },
  21497. _ImportedCssVisitor_visitCssSupportsRule_closure2: function _ImportedCssVisitor_visitCssSupportsRule_closure2() {
  21498. },
  21499. _EvaluationContext2: function _EvaluationContext2(t0, t1) {
  21500. this._async_evaluate0$_visitor = t0;
  21501. this._async_evaluate0$_defaultWarnNodeWithSpan = t1;
  21502. },
  21503. JSToDartAsyncFileImporter: function JSToDartAsyncFileImporter(t0) {
  21504. this._findFileUrl = t0;
  21505. },
  21506. JSToDartAsyncFileImporter_canonicalize_closure: function JSToDartAsyncFileImporter_canonicalize_closure(t0, t1) {
  21507. this.$this = t0;
  21508. this.url = t1;
  21509. },
  21510. AsyncImportCache$(importers, loadPaths, packageConfig) {
  21511. var t1 = type$.nullable_Record_3_AsyncImporter_and_Uri_and_Uri_originalUrl_2,
  21512. t2 = type$.Record_3_AsyncImporter_and_Uri_and_bool_forImport_2,
  21513. t3 = type$.Uri;
  21514. 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));
  21515. },
  21516. AsyncImportCache$none() {
  21517. var t1 = type$.nullable_Record_3_AsyncImporter_and_Uri_and_Uri_originalUrl_2,
  21518. t2 = type$.Record_3_AsyncImporter_and_Uri_and_bool_forImport_2,
  21519. t3 = type$.Uri;
  21520. 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));
  21521. },
  21522. AsyncImportCache__toImporters0(importers, loadPaths, packageConfig) {
  21523. var t1, t2, t3, t4, _i, path, _null = null,
  21524. sassPath = A.getEnvironmentVariable0("SASS_PATH");
  21525. if (A.isBrowser()) {
  21526. t1 = A._setArrayType([], type$.JSArray_AsyncImporter);
  21527. if (importers != null)
  21528. B.JSArray_methods.addAll$1(t1, importers);
  21529. return t1;
  21530. }
  21531. t1 = A._setArrayType([], type$.JSArray_AsyncImporter);
  21532. if (importers != null)
  21533. B.JSArray_methods.addAll$1(t1, importers);
  21534. if (loadPaths != null)
  21535. for (t2 = J.get$iterator$ax(loadPaths); t2.moveNext$0();) {
  21536. t3 = t2.get$current(t2);
  21537. 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));
  21538. }
  21539. if (sassPath != null) {
  21540. t2 = A.isNodeJs() ? self.process : _null;
  21541. t3 = sassPath.split(J.$eq$(t2 == null ? _null : J.get$platform$x(t2), "win32") ? ";" : ":");
  21542. t4 = t3.length;
  21543. _i = 0;
  21544. for (; _i < t4; ++_i) {
  21545. path = t3[_i];
  21546. 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));
  21547. }
  21548. }
  21549. return t1;
  21550. },
  21551. AsyncImportCache0: function AsyncImportCache0(t0, t1, t2, t3, t4, t5, t6) {
  21552. var _ = this;
  21553. _._async_import_cache0$_importers = t0;
  21554. _._async_import_cache0$_canonicalizeCache = t1;
  21555. _._async_import_cache0$_perImporterCanonicalizeCache = t2;
  21556. _._async_import_cache0$_nonCanonicalRelativeUrls = t3;
  21557. _._async_import_cache0$_importCache = t4;
  21558. _._async_import_cache0$_resultsCache = t5;
  21559. _._async_import_cache0$_loadTimes = t6;
  21560. },
  21561. AsyncImportCache_canonicalize_closure0: function AsyncImportCache_canonicalize_closure0(t0, t1, t2, t3, t4, t5, t6) {
  21562. var _ = this;
  21563. _.$this = t0;
  21564. _.baseImporter = t1;
  21565. _.resolvedUrl = t2;
  21566. _.baseUrl = t3;
  21567. _.forImport = t4;
  21568. _.key = t5;
  21569. _.url = t6;
  21570. },
  21571. AsyncImportCache__canonicalize_closure0: function AsyncImportCache__canonicalize_closure0(t0, t1) {
  21572. this.importer = t0;
  21573. this.url = t1;
  21574. },
  21575. AsyncImportCache_importCanonical_closure0: function AsyncImportCache_importCanonical_closure0(t0, t1, t2, t3) {
  21576. var _ = this;
  21577. _.$this = t0;
  21578. _.importer = t1;
  21579. _.canonicalUrl = t2;
  21580. _.originalUrl = t3;
  21581. },
  21582. AsyncImportCache_humanize_closure3: function AsyncImportCache_humanize_closure3(t0) {
  21583. this.canonicalUrl = t0;
  21584. },
  21585. AsyncImportCache_humanize_closure4: function AsyncImportCache_humanize_closure4() {
  21586. },
  21587. AsyncImportCache_humanize_closure5: function AsyncImportCache_humanize_closure5() {
  21588. },
  21589. AsyncImportCache_humanize_closure6: function AsyncImportCache_humanize_closure6(t0) {
  21590. this.canonicalUrl = t0;
  21591. },
  21592. AtRootQueryParser0: function AtRootQueryParser0(t0, t1) {
  21593. this.scanner = t0;
  21594. this._parser1$_interpolationMap = t1;
  21595. },
  21596. AtRootQueryParser_parse_closure0: function AtRootQueryParser_parse_closure0(t0) {
  21597. this.$this = t0;
  21598. },
  21599. AtRootQuery0: function AtRootQuery0(t0, t1, t2, t3) {
  21600. var _ = this;
  21601. _.include = t0;
  21602. _.names = t1;
  21603. _._at_root_query0$_all = t2;
  21604. _._at_root_query0$_rule = t3;
  21605. },
  21606. AtRootRule$0(children, span, query) {
  21607. var t1 = A.List_List$unmodifiable(children, type$.Statement_2),
  21608. t2 = B.JSArray_methods.any$1(t1, new A.ParentStatement_closure0());
  21609. return new A.AtRootRule0(query, span, t1, t2);
  21610. },
  21611. AtRootRule0: function AtRootRule0(t0, t1, t2, t3) {
  21612. var _ = this;
  21613. _.query = t0;
  21614. _.span = t1;
  21615. _.children = t2;
  21616. _.hasDeclarations = t3;
  21617. },
  21618. ModifiableCssAtRule$0($name, span, childless, value) {
  21619. var t1 = A._setArrayType([], type$.JSArray_ModifiableCssNode_2);
  21620. return new A.ModifiableCssAtRule0($name, value, childless, span, new A.UnmodifiableListView(t1, type$.UnmodifiableListView_ModifiableCssNode_2), t1);
  21621. },
  21622. ModifiableCssAtRule0: function ModifiableCssAtRule0(t0, t1, t2, t3, t4, t5) {
  21623. var _ = this;
  21624. _.name = t0;
  21625. _.value = t1;
  21626. _.isChildless = t2;
  21627. _.span = t3;
  21628. _.children = t4;
  21629. _._node$_children = t5;
  21630. _._node$_indexInParent = _._node$_parent = null;
  21631. _.isGroupEnd = false;
  21632. },
  21633. AtRule$0($name, span, children, value) {
  21634. var t1 = children == null ? null : A.List_List$unmodifiable(children, type$.Statement_2),
  21635. t2 = t1 == null ? null : B.JSArray_methods.any$1(t1, new A.ParentStatement_closure0());
  21636. return new A.AtRule0($name, value, span, t1, t2 === true);
  21637. },
  21638. AtRule0: function AtRule0(t0, t1, t2, t3, t4) {
  21639. var _ = this;
  21640. _.name = t0;
  21641. _.value = t1;
  21642. _.span = t2;
  21643. _.children = t3;
  21644. _.hasDeclarations = t4;
  21645. },
  21646. AttributeSelector0: function AttributeSelector0(t0, t1, t2, t3, t4) {
  21647. var _ = this;
  21648. _.name = t0;
  21649. _.op = t1;
  21650. _.value = t2;
  21651. _.modifier = t3;
  21652. _.span = t4;
  21653. },
  21654. AttributeOperator0: function AttributeOperator0(t0, t1) {
  21655. this._attribute0$_text = t0;
  21656. this._name = t1;
  21657. },
  21658. BinaryOperationExpression0: function BinaryOperationExpression0(t0, t1, t2, t3) {
  21659. var _ = this;
  21660. _.operator = t0;
  21661. _.left = t1;
  21662. _.right = t2;
  21663. _.allowsSlash = t3;
  21664. },
  21665. BinaryOperator0: function BinaryOperator0(t0, t1, t2, t3, t4) {
  21666. var _ = this;
  21667. _.name = t0;
  21668. _.operator = t1;
  21669. _.precedence = t2;
  21670. _.isAssociative = t3;
  21671. _._name = t4;
  21672. },
  21673. BooleanExpression0: function BooleanExpression0(t0, t1) {
  21674. this.value = t0;
  21675. this.span = t1;
  21676. },
  21677. booleanClass_closure: function booleanClass_closure() {
  21678. },
  21679. booleanClass__closure: function booleanClass__closure() {
  21680. },
  21681. legacyBooleanClass_closure: function legacyBooleanClass_closure() {
  21682. },
  21683. legacyBooleanClass__closure: function legacyBooleanClass__closure() {
  21684. },
  21685. legacyBooleanClass__closure0: function legacyBooleanClass__closure0() {
  21686. },
  21687. SassBoolean0: function SassBoolean0(t0) {
  21688. this.value = t0;
  21689. },
  21690. Box0: function Box0(t0, t1) {
  21691. this._box0$_inner = t0;
  21692. this.$ti = t1;
  21693. },
  21694. ModifiableBox0: function ModifiableBox0(t0, t1) {
  21695. this.value = t0;
  21696. this.$ti = t1;
  21697. },
  21698. BuiltInCallable$function0($name, parameters, callback, url) {
  21699. 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);
  21700. },
  21701. BuiltInCallable$mixin0($name, parameters, callback, acceptsContent, url) {
  21702. 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);
  21703. },
  21704. BuiltInCallable$overloadedFunction0($name, overloads) {
  21705. var t2, t3, t4, t5, t6, t7, args, callback,
  21706. t1 = A._setArrayType([], type$.JSArray_Record_2_ParameterList_and_Value_Function_List_Value_2);
  21707. 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();) {
  21708. t7 = t3.get$current(t3);
  21709. args = t7._0;
  21710. callback = t7._1;
  21711. 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));
  21712. }
  21713. return new A.BuiltInCallable0($name, t1, false);
  21714. },
  21715. BuiltInCallable0: function BuiltInCallable0(t0, t1, t2) {
  21716. this.name = t0;
  21717. this._built_in$_overloads = t1;
  21718. this.acceptsContent = t2;
  21719. },
  21720. BuiltInCallable$mixin_closure0: function BuiltInCallable$mixin_closure0(t0) {
  21721. this.callback = t0;
  21722. },
  21723. BuiltInCallable_withDeprecationWarning_closure0: function BuiltInCallable_withDeprecationWarning_closure0(t0, t1, t2, t3) {
  21724. var _ = this;
  21725. _._box_0 = t0;
  21726. _.$this = t1;
  21727. _.module = t2;
  21728. _.newName = t3;
  21729. },
  21730. BuiltInModule$0($name, functions, mixins, variables, $T) {
  21731. var t1 = A._Uri__Uri(null, $name, null, "sass"),
  21732. t2 = A.BuiltInModule__callableMap0(functions, $T),
  21733. t3 = A.BuiltInModule__callableMap0(mixins, $T),
  21734. t4 = variables == null ? B.Map_empty15 : new A.UnmodifiableMapView(variables, type$.UnmodifiableMapView_String_Value_2);
  21735. return new A.BuiltInModule0(t1, t2, t3, t4, $T._eval$1("BuiltInModule0<0>"));
  21736. },
  21737. BuiltInModule__callableMap0(callables, $T) {
  21738. var t2, _i, callable,
  21739. t1 = type$.String;
  21740. if (callables == null)
  21741. t1 = A.LinkedHashMap_LinkedHashMap$_empty(t1, $T);
  21742. else {
  21743. t1 = A.LinkedHashMap_LinkedHashMap$_empty(t1, $T);
  21744. for (t2 = callables.length, _i = 0; _i < callables.length; callables.length === t2 || (0, A.throwConcurrentModificationError)(callables), ++_i) {
  21745. callable = callables[_i];
  21746. t1.$indexSet(0, callable.get$name(callable), callable);
  21747. }
  21748. t1 = new A.UnmodifiableMapView(t1, type$.$env_1_1_String._bind$1($T)._eval$1("UnmodifiableMapView<1,2>"));
  21749. }
  21750. return new A.UnmodifiableMapView(t1, type$.$env_1_1_String._bind$1($T)._eval$1("UnmodifiableMapView<1,2>"));
  21751. },
  21752. BuiltInModule0: function BuiltInModule0(t0, t1, t2, t3, t4) {
  21753. var _ = this;
  21754. _.url = t0;
  21755. _.functions = t1;
  21756. _.mixins = t2;
  21757. _.variables = t3;
  21758. _.$ti = t4;
  21759. },
  21760. _assertCalculationValue(arg) {
  21761. var t1;
  21762. $label0$0: {
  21763. if (!(arg instanceof A.SassNumber0))
  21764. t1 = arg instanceof A.SassString0 && !arg._string0$_hasQuotes || arg instanceof A.SassCalculation0 || arg instanceof A.CalculationOperation0 || arg instanceof A.CalculationInterpolation;
  21765. else
  21766. t1 = true;
  21767. if (t1) {
  21768. t1 = null;
  21769. break $label0$0;
  21770. }
  21771. t1 = A.jsThrow0(new self.Error("Argument `" + A.S(arg) + "` must be one of SassNumber, unquoted SassString, SassCalculation, CalculationOperation, CalculationInterpolation"));
  21772. }
  21773. return t1;
  21774. },
  21775. _isValidClampArg(arg) {
  21776. var t1;
  21777. $label0$0: {
  21778. if (!(arg instanceof A.CalculationInterpolation))
  21779. t1 = arg instanceof A.SassString0 && !arg._string0$_hasQuotes;
  21780. else
  21781. t1 = true;
  21782. break $label0$0;
  21783. }
  21784. return t1;
  21785. },
  21786. calculationClass_closure: function calculationClass_closure() {
  21787. },
  21788. calculationClass__closure: function calculationClass__closure() {
  21789. },
  21790. calculationClass__closure0: function calculationClass__closure0() {
  21791. },
  21792. calculationClass__closure1: function calculationClass__closure1() {
  21793. },
  21794. calculationClass__closure2: function calculationClass__closure2() {
  21795. },
  21796. calculationClass__closure3: function calculationClass__closure3() {
  21797. },
  21798. calculationClass__closure4: function calculationClass__closure4() {
  21799. },
  21800. calculationClass__closure5: function calculationClass__closure5() {
  21801. },
  21802. calculationOperationClass_closure: function calculationOperationClass_closure() {
  21803. },
  21804. calculationOperationClass__closure: function calculationOperationClass__closure() {
  21805. },
  21806. calculationOperationClass___closure: function calculationOperationClass___closure(t0) {
  21807. this.strOperator = t0;
  21808. },
  21809. calculationOperationClass__closure0: function calculationOperationClass__closure0() {
  21810. },
  21811. calculationOperationClass__closure1: function calculationOperationClass__closure1() {
  21812. },
  21813. calculationOperationClass__closure2: function calculationOperationClass__closure2() {
  21814. },
  21815. calculationOperationClass__closure3: function calculationOperationClass__closure3() {
  21816. },
  21817. calculationOperationClass__closure4: function calculationOperationClass__closure4() {
  21818. },
  21819. calculationInterpolationClass_closure: function calculationInterpolationClass_closure() {
  21820. },
  21821. calculationInterpolationClass__closure: function calculationInterpolationClass__closure() {
  21822. },
  21823. calculationInterpolationClass__closure0: function calculationInterpolationClass__closure0() {
  21824. },
  21825. calculationInterpolationClass__closure1: function calculationInterpolationClass__closure1() {
  21826. },
  21827. calculationInterpolationClass__closure2: function calculationInterpolationClass__closure2() {
  21828. },
  21829. SassCalculation_calc0(argument) {
  21830. var t1,
  21831. _0_0 = A.SassCalculation__simplify0(argument);
  21832. $label0$0: {
  21833. if (_0_0 instanceof A.SassNumber0) {
  21834. t1 = _0_0;
  21835. break $label0$0;
  21836. }
  21837. if (_0_0 instanceof A.SassCalculation0) {
  21838. t1 = _0_0;
  21839. break $label0$0;
  21840. }
  21841. t1 = new A.SassCalculation0("calc", A.List_List$unmodifiable([_0_0], type$.Object));
  21842. break $label0$0;
  21843. }
  21844. return t1;
  21845. },
  21846. SassCalculation_min0($arguments) {
  21847. var minimum, _i, arg, t2,
  21848. args = A.List_List$unmodifiable(new A.MappedListIterable($arguments, A.calculation0_SassCalculation__simplify$closure(), A._arrayInstanceType($arguments)._eval$1("MappedListIterable<1,@>")), type$.Object),
  21849. t1 = args.length;
  21850. if (t1 === 0)
  21851. throw A.wrapException(A.ArgumentError$("min() must have at least one argument.", null));
  21852. for (minimum = null, _i = 0; _i < t1; ++_i) {
  21853. arg = args[_i];
  21854. if (arg instanceof A.SassNumber0)
  21855. t2 = minimum != null && !minimum.isComparableTo$1(arg);
  21856. else
  21857. t2 = true;
  21858. if (t2) {
  21859. minimum = null;
  21860. break;
  21861. } else if (minimum == null || minimum.greaterThan$1(arg).value)
  21862. minimum = arg;
  21863. }
  21864. if (minimum != null)
  21865. return minimum;
  21866. A.SassCalculation__verifyCompatibleNumbers0(args);
  21867. return new A.SassCalculation0("min", args);
  21868. },
  21869. SassCalculation_max0($arguments) {
  21870. var maximum, _i, arg, t2,
  21871. args = A.List_List$unmodifiable(new A.MappedListIterable($arguments, A.calculation0_SassCalculation__simplify$closure(), A._arrayInstanceType($arguments)._eval$1("MappedListIterable<1,@>")), type$.Object),
  21872. t1 = args.length;
  21873. if (t1 === 0)
  21874. throw A.wrapException(A.ArgumentError$("max() must have at least one argument.", null));
  21875. for (maximum = null, _i = 0; _i < t1; ++_i) {
  21876. arg = args[_i];
  21877. if (arg instanceof A.SassNumber0)
  21878. t2 = maximum != null && !maximum.isComparableTo$1(arg);
  21879. else
  21880. t2 = true;
  21881. if (t2) {
  21882. maximum = null;
  21883. break;
  21884. } else if (maximum == null || maximum.lessThan$1(arg).value)
  21885. maximum = arg;
  21886. }
  21887. if (maximum != null)
  21888. return maximum;
  21889. A.SassCalculation__verifyCompatibleNumbers0(args);
  21890. return new A.SassCalculation0("max", args);
  21891. },
  21892. SassCalculation_hypot0($arguments) {
  21893. var first, subtotal, i, number, value, t2,
  21894. args = A.List_List$unmodifiable(new A.MappedListIterable($arguments, A.calculation0_SassCalculation__simplify$closure(), A._arrayInstanceType($arguments)._eval$1("MappedListIterable<1,@>")), type$.Object),
  21895. t1 = args.length;
  21896. if (t1 === 0)
  21897. throw A.wrapException(A.ArgumentError$("hypot() must have at least one argument.", null));
  21898. A.SassCalculation__verifyCompatibleNumbers0(args);
  21899. first = B.JSArray_methods.get$first(args);
  21900. if (!(first instanceof A.SassNumber0) || first.hasUnit$1("%"))
  21901. return new A.SassCalculation0("hypot", args);
  21902. for (subtotal = 0, i = 0; i < t1;) {
  21903. number = args[i];
  21904. if (!(number instanceof A.SassNumber0) || !number.hasCompatibleUnits$1(first))
  21905. return new A.SassCalculation0("hypot", args);
  21906. ++i;
  21907. value = number.convertValueToMatch$3(first, "numbers[" + i + "]", "numbers[1]");
  21908. subtotal += value * value;
  21909. }
  21910. t1 = Math.sqrt(subtotal);
  21911. t2 = first.get$numeratorUnits(first);
  21912. return A.SassNumber_SassNumber$withUnits0(t1, first.get$denominatorUnits(first), t2);
  21913. },
  21914. SassCalculation_abs0(argument) {
  21915. argument = A.SassCalculation__simplify0(argument);
  21916. if (!(argument instanceof A.SassNumber0))
  21917. return new A.SassCalculation0("abs", A._setArrayType([argument], type$.JSArray_Object));
  21918. if (argument.hasUnit$1("%"))
  21919. 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);
  21920. return A.SassNumber_SassNumber0(Math.abs(argument._number1$_value), null).coerceToMatch$1(argument);
  21921. },
  21922. SassCalculation_exp0(argument) {
  21923. argument = A.SassCalculation__simplify0(argument);
  21924. if (!(argument instanceof A.SassNumber0))
  21925. return new A.SassCalculation0("exp", A._setArrayType([argument], type$.JSArray_Object));
  21926. argument.assertNoUnits$0();
  21927. return A.pow1(A.SassNumber_SassNumber0(2.718281828459045, null), argument);
  21928. },
  21929. SassCalculation_sign0(argument) {
  21930. var t1, _0_2, t2, arg;
  21931. argument = A.SassCalculation__simplify0(argument);
  21932. $label0$0: {
  21933. t1 = argument instanceof A.SassNumber0;
  21934. if (t1) {
  21935. _0_2 = argument._number1$_value;
  21936. if (!isNaN(_0_2))
  21937. t2 = 0 === _0_2;
  21938. else
  21939. t2 = true;
  21940. } else
  21941. t2 = false;
  21942. if (t2) {
  21943. t1 = argument;
  21944. break $label0$0;
  21945. }
  21946. if (t1) {
  21947. t1 = !argument.hasUnit$1("%");
  21948. arg = argument;
  21949. } else {
  21950. arg = null;
  21951. t1 = false;
  21952. }
  21953. if (t1) {
  21954. t1 = A.SassNumber_SassNumber0(J.get$sign$in(arg._number1$_value), null).coerceToMatch$1(argument);
  21955. break $label0$0;
  21956. }
  21957. t1 = new A.SassCalculation0("sign", A._setArrayType([argument], type$.JSArray_Object));
  21958. break $label0$0;
  21959. }
  21960. return t1;
  21961. },
  21962. SassCalculation_clamp0(min, value, max) {
  21963. var t1, args;
  21964. if (value == null && max != null)
  21965. throw A.wrapException(A.ArgumentError$("If value is null, max must also be null.", null));
  21966. min = A.SassCalculation__simplify0(min);
  21967. value = A.NullableExtension_andThen0(value, A.calculation0_SassCalculation__simplify$closure());
  21968. max = A.NullableExtension_andThen0(max, A.calculation0_SassCalculation__simplify$closure());
  21969. if (min instanceof A.SassNumber0 && value instanceof A.SassNumber0 && max instanceof A.SassNumber0 && min.hasCompatibleUnits$1(value) && min.hasCompatibleUnits$1(max)) {
  21970. if (value.lessThanOrEquals$1(min).value)
  21971. return min;
  21972. if (value.greaterThanOrEquals$1(max).value)
  21973. return max;
  21974. return value;
  21975. }
  21976. t1 = [min];
  21977. if (value != null)
  21978. t1.push(value);
  21979. if (max != null)
  21980. t1.push(max);
  21981. args = A.List_List$unmodifiable(t1, type$.Object);
  21982. A.SassCalculation__verifyCompatibleNumbers0(args);
  21983. A.SassCalculation__verifyLength0(args, 3);
  21984. return new A.SassCalculation0("clamp", args);
  21985. },
  21986. SassCalculation_pow0(base, exponent) {
  21987. var t1 = A._setArrayType([base], type$.JSArray_Object);
  21988. if (exponent != null)
  21989. t1.push(exponent);
  21990. A.SassCalculation__verifyLength0(t1, 2);
  21991. base = A.SassCalculation__simplify0(base);
  21992. exponent = A.NullableExtension_andThen0(exponent, A.calculation0_SassCalculation__simplify$closure());
  21993. if (!(base instanceof A.SassNumber0) || !(exponent instanceof A.SassNumber0))
  21994. return new A.SassCalculation0("pow", t1);
  21995. base.assertNoUnits$0();
  21996. exponent.assertNoUnits$0();
  21997. return A.pow1(base, exponent);
  21998. },
  21999. SassCalculation_log0(number, base) {
  22000. var t1, t2;
  22001. number = A.SassCalculation__simplify0(number);
  22002. base = A.NullableExtension_andThen0(base, A.calculation0_SassCalculation__simplify$closure());
  22003. t1 = A._setArrayType([number], type$.JSArray_Object);
  22004. t2 = base != null;
  22005. if (t2)
  22006. t1.push(base);
  22007. if (number instanceof A.SassNumber0)
  22008. t2 = t2 && !(base instanceof A.SassNumber0);
  22009. else
  22010. t2 = true;
  22011. if (t2)
  22012. return new A.SassCalculation0("log", t1);
  22013. number.assertNoUnits$0();
  22014. if (base instanceof A.SassNumber0) {
  22015. base.assertNoUnits$0();
  22016. return A.log0(number, base);
  22017. }
  22018. return A.log0(number, null);
  22019. },
  22020. SassCalculation_atan20(y, x) {
  22021. var t1;
  22022. y = A.SassCalculation__simplify0(y);
  22023. x = A.NullableExtension_andThen0(x, A.calculation0_SassCalculation__simplify$closure());
  22024. t1 = A._setArrayType([y], type$.JSArray_Object);
  22025. if (x != null)
  22026. t1.push(x);
  22027. A.SassCalculation__verifyLength0(t1, 2);
  22028. A.SassCalculation__verifyCompatibleNumbers0(t1);
  22029. if (!(y instanceof A.SassNumber0) || !(x instanceof A.SassNumber0) || y.hasUnit$1("%") || x.hasUnit$1("%") || !y.hasCompatibleUnits$1(x))
  22030. return new A.SassCalculation0("atan2", t1);
  22031. 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));
  22032. },
  22033. SassCalculation_rem0(dividend, modulus) {
  22034. var t1, result;
  22035. dividend = A.SassCalculation__simplify0(dividend);
  22036. modulus = A.NullableExtension_andThen0(modulus, A.calculation0_SassCalculation__simplify$closure());
  22037. t1 = A._setArrayType([dividend], type$.JSArray_Object);
  22038. if (modulus != null)
  22039. t1.push(modulus);
  22040. A.SassCalculation__verifyLength0(t1, 2);
  22041. A.SassCalculation__verifyCompatibleNumbers0(t1);
  22042. if (!(dividend instanceof A.SassNumber0) || !(modulus instanceof A.SassNumber0) || !dividend.hasCompatibleUnits$1(modulus))
  22043. return new A.SassCalculation0("rem", t1);
  22044. result = dividend.modulo$1(modulus);
  22045. t1 = modulus._number1$_value;
  22046. if (A.DoubleWithSignedZero_get_signIncludingZero0(t1) !== A.DoubleWithSignedZero_get_signIncludingZero0(dividend._number1$_value)) {
  22047. if (t1 == 1 / 0 || t1 == -1 / 0)
  22048. return dividend;
  22049. if (result._number1$_value === 0)
  22050. return result.unaryMinus$0();
  22051. return result.minus$1(modulus);
  22052. }
  22053. return result;
  22054. },
  22055. SassCalculation_mod0(dividend, modulus) {
  22056. var t1;
  22057. dividend = A.SassCalculation__simplify0(dividend);
  22058. modulus = A.NullableExtension_andThen0(modulus, A.calculation0_SassCalculation__simplify$closure());
  22059. t1 = A._setArrayType([dividend], type$.JSArray_Object);
  22060. if (modulus != null)
  22061. t1.push(modulus);
  22062. A.SassCalculation__verifyLength0(t1, 2);
  22063. A.SassCalculation__verifyCompatibleNumbers0(t1);
  22064. if (!(dividend instanceof A.SassNumber0) || !(modulus instanceof A.SassNumber0) || !dividend.hasCompatibleUnits$1(modulus))
  22065. return new A.SassCalculation0("mod", t1);
  22066. return dividend.modulo$1(modulus);
  22067. },
  22068. SassCalculation_roundInternal0(strategyOrNumber, numberOrStep, step, inLegacySassFunction, span, warn) {
  22069. 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",
  22070. _0_1 = A.SassCalculation__simplify0(strategyOrNumber),
  22071. _0_6 = A.NullableExtension_andThen0(numberOrStep, A.calculation0_SassCalculation__simplify$closure()),
  22072. _0_9 = A.NullableExtension_andThen0(step, A.calculation0_SassCalculation__simplify$closure()),
  22073. _0_10 = _0_1,
  22074. _0_8 = _null,
  22075. _0_60 = _null,
  22076. _0_100 = _null,
  22077. _0_10_isSet = false,
  22078. _0_90 = _null,
  22079. _0_9_isSet = false,
  22080. number = _null,
  22081. t1 = false;
  22082. if (_0_1 instanceof A.SassNumber0) {
  22083. t2 = _0_10;
  22084. t3 = type$.SassNumber_2;
  22085. _0_8_isSet = !t3._as(t2).get$hasUnits();
  22086. if (_0_8_isSet) {
  22087. number = t3._as(_0_10);
  22088. _0_8 = _0_6 == null;
  22089. _0_10_isSet = _0_8;
  22090. _0_60 = _0_6;
  22091. if (_0_10_isSet) {
  22092. _0_100 = _0_9 == null;
  22093. t1 = _0_100;
  22094. _0_90 = _0_9;
  22095. }
  22096. _0_9_isSet = _0_10_isSet;
  22097. }
  22098. _0_6_isSet = _0_8_isSet;
  22099. } else {
  22100. _0_8_isSet = false;
  22101. _0_6_isSet = false;
  22102. }
  22103. if (t1)
  22104. return A.SassNumber_SassNumber0(B.JSNumber_methods.round$0(number._number1$_value), _null);
  22105. t1 = false;
  22106. if (_0_10 instanceof A.SassNumber0) {
  22107. t2 = _0_10;
  22108. type$.SassNumber_2._as(t2);
  22109. if (_0_8_isSet)
  22110. t3 = _0_8;
  22111. else {
  22112. if (_0_6_isSet)
  22113. t3 = _0_60;
  22114. else {
  22115. t3 = _0_6;
  22116. _0_60 = t3;
  22117. _0_6_isSet = true;
  22118. }
  22119. _0_8 = t3 == null;
  22120. t3 = _0_8;
  22121. _0_8_isSet = true;
  22122. }
  22123. if (t3) {
  22124. if (_0_10_isSet)
  22125. t1 = _0_100;
  22126. else {
  22127. if (_0_9_isSet)
  22128. t1 = _0_90;
  22129. else {
  22130. t1 = _0_9;
  22131. _0_90 = t1;
  22132. _0_9_isSet = true;
  22133. }
  22134. _0_100 = t1 == null;
  22135. t1 = _0_100;
  22136. _0_10_isSet = true;
  22137. }
  22138. t1 = t1 && inLegacySassFunction != null;
  22139. }
  22140. number = t2;
  22141. } else
  22142. number = _null;
  22143. if (t1) {
  22144. warn.call$2(string$.In_fut, B.Deprecation_ZDV);
  22145. t1 = B.JSNumber_methods.round$0(number._number1$_value);
  22146. t2 = number.get$numeratorUnits(number);
  22147. return A.SassNumber_SassNumber$withUnits0(t1, number.get$denominatorUnits(number), t2);
  22148. }
  22149. step = _null;
  22150. t1 = false;
  22151. if (_0_10 instanceof A.SassNumber0) {
  22152. _0_6_isSet0 = true;
  22153. t2 = _0_10;
  22154. t3 = type$.SassNumber_2;
  22155. t3._as(t2);
  22156. if (_0_6_isSet)
  22157. t4 = _0_60;
  22158. else {
  22159. t4 = _0_6;
  22160. _0_6_isSet = _0_6_isSet0;
  22161. _0_60 = t4;
  22162. }
  22163. if (t4 instanceof A.SassNumber0) {
  22164. if (_0_6_isSet)
  22165. t4 = _0_60;
  22166. else {
  22167. t4 = _0_6;
  22168. _0_6_isSet = _0_6_isSet0;
  22169. _0_60 = t4;
  22170. }
  22171. t3._as(t4);
  22172. if (_0_10_isSet)
  22173. t1 = _0_100;
  22174. else {
  22175. if (_0_9_isSet)
  22176. t1 = _0_90;
  22177. else {
  22178. t1 = _0_9;
  22179. _0_90 = t1;
  22180. _0_9_isSet = true;
  22181. }
  22182. _0_100 = t1 == null;
  22183. t1 = _0_100;
  22184. _0_10_isSet = true;
  22185. }
  22186. t1 = t1 && !t2.hasCompatibleUnits$1(t4);
  22187. step = t4;
  22188. }
  22189. number = t2;
  22190. } else
  22191. number = _null;
  22192. if (t1) {
  22193. t1 = type$.JSArray_Object;
  22194. A.SassCalculation__verifyCompatibleNumbers0(A._setArrayType([number, step], t1));
  22195. return new A.SassCalculation0(_s5_, A._setArrayType([number, step], t1));
  22196. }
  22197. step = _null;
  22198. t1 = false;
  22199. if (_0_10 instanceof A.SassNumber0) {
  22200. _0_6_isSet0 = true;
  22201. t2 = _0_10;
  22202. t3 = type$.SassNumber_2;
  22203. t3._as(t2);
  22204. if (_0_6_isSet)
  22205. t4 = _0_60;
  22206. else {
  22207. t4 = _0_6;
  22208. _0_6_isSet = _0_6_isSet0;
  22209. _0_60 = t4;
  22210. }
  22211. if (t4 instanceof A.SassNumber0) {
  22212. if (_0_6_isSet)
  22213. t4 = _0_60;
  22214. else {
  22215. t4 = _0_6;
  22216. _0_6_isSet = _0_6_isSet0;
  22217. _0_60 = t4;
  22218. }
  22219. t3._as(t4);
  22220. if (_0_10_isSet)
  22221. t1 = _0_100;
  22222. else {
  22223. if (_0_9_isSet)
  22224. t1 = _0_90;
  22225. else {
  22226. t1 = _0_9;
  22227. _0_90 = t1;
  22228. _0_9_isSet = true;
  22229. }
  22230. _0_100 = t1 == null;
  22231. t1 = _0_100;
  22232. _0_10_isSet = true;
  22233. }
  22234. step = t4;
  22235. }
  22236. number = t2;
  22237. } else
  22238. number = _null;
  22239. if (t1) {
  22240. A.SassCalculation__verifyCompatibleNumbers0(A._setArrayType([number, step], type$.JSArray_Object));
  22241. return A.SassCalculation__roundWithStep0("nearest", number, step);
  22242. }
  22243. _0_14_isSet = _0_10 instanceof A.SassString0;
  22244. _0_16 = _null;
  22245. _0_18 = _null;
  22246. _0_18_isSet = false;
  22247. _0_20 = _null;
  22248. _0_20_isSet = false;
  22249. strategy = _null;
  22250. number = _null;
  22251. step = _null;
  22252. t1 = false;
  22253. if (_0_14_isSet) {
  22254. _0_6_isSet0 = true;
  22255. _0_9_isSet0 = true;
  22256. t2 = _0_10;
  22257. _0_12 = type$.SassString_2._as(t2)._string0$_text;
  22258. t2 = _0_12;
  22259. _0_14 = "nearest" === t2;
  22260. t2 = _0_14;
  22261. _0_16_isSet = !t2;
  22262. t2 = true;
  22263. if (_0_16_isSet) {
  22264. _0_16 = "up" === _0_12;
  22265. t3 = _0_16;
  22266. _0_18_isSet = !t3;
  22267. if (_0_18_isSet) {
  22268. _0_18 = "down" === _0_12;
  22269. t3 = _0_18;
  22270. _0_20_isSet = !t3;
  22271. if (_0_20_isSet) {
  22272. _0_20 = "to-zero" === _0_12;
  22273. t2 = _0_20;
  22274. }
  22275. }
  22276. }
  22277. if (t2) {
  22278. t2 = _0_10;
  22279. type$.SassString_2._as(t2);
  22280. if (_0_6_isSet)
  22281. t3 = _0_60;
  22282. else {
  22283. t3 = _0_6;
  22284. _0_6_isSet = _0_6_isSet0;
  22285. _0_60 = t3;
  22286. }
  22287. if (t3 instanceof A.SassNumber0) {
  22288. if (_0_6_isSet)
  22289. t3 = _0_60;
  22290. else {
  22291. t3 = _0_6;
  22292. _0_6_isSet = _0_6_isSet0;
  22293. _0_60 = t3;
  22294. }
  22295. t4 = type$.SassNumber_2;
  22296. t4._as(t3);
  22297. if (_0_9_isSet)
  22298. t5 = _0_90;
  22299. else {
  22300. t5 = _0_9;
  22301. _0_9_isSet = _0_9_isSet0;
  22302. _0_90 = t5;
  22303. }
  22304. if (t5 instanceof A.SassNumber0) {
  22305. if (_0_9_isSet)
  22306. t1 = _0_90;
  22307. else {
  22308. t1 = _0_9;
  22309. _0_9_isSet = _0_9_isSet0;
  22310. _0_90 = t1;
  22311. }
  22312. t4._as(t1);
  22313. t4 = !t3.hasCompatibleUnits$1(t1);
  22314. step = t1;
  22315. t1 = t4;
  22316. }
  22317. number = t3;
  22318. }
  22319. strategy = t2;
  22320. }
  22321. } else {
  22322. _0_12 = _null;
  22323. _0_14 = _0_12;
  22324. _0_16_isSet = false;
  22325. }
  22326. if (t1) {
  22327. t1 = type$.JSArray_Object;
  22328. A.SassCalculation__verifyCompatibleNumbers0(A._setArrayType([number, step], t1));
  22329. return new A.SassCalculation0(_s5_, A._setArrayType([strategy, number, step], t1));
  22330. }
  22331. strategy = _null;
  22332. number = _null;
  22333. step = _null;
  22334. t1 = false;
  22335. if (_0_10 instanceof A.SassString0) {
  22336. _0_6_isSet0 = true;
  22337. _0_9_isSet0 = true;
  22338. _0_12_isSet = true;
  22339. if (_0_14_isSet) {
  22340. t2 = _0_14;
  22341. _0_12_isSet0 = _0_14_isSet;
  22342. } else {
  22343. t2 = _0_10;
  22344. _0_12 = type$.SassString_2._as(t2)._string0$_text;
  22345. t2 = _0_12;
  22346. _0_14 = "nearest" === t2;
  22347. t2 = _0_14;
  22348. _0_12_isSet0 = _0_12_isSet;
  22349. _0_14_isSet = true;
  22350. }
  22351. t3 = true;
  22352. if (!t2) {
  22353. if (_0_16_isSet)
  22354. t2 = _0_16;
  22355. else {
  22356. if (_0_12_isSet0)
  22357. t2 = _0_12;
  22358. else {
  22359. t2 = _0_10;
  22360. _0_12 = type$.SassString_2._as(t2)._string0$_text;
  22361. t2 = _0_12;
  22362. _0_12_isSet0 = _0_12_isSet;
  22363. }
  22364. _0_16 = "up" === t2;
  22365. t2 = _0_16;
  22366. _0_16_isSet = true;
  22367. }
  22368. if (!t2) {
  22369. if (_0_18_isSet)
  22370. t2 = _0_18;
  22371. else {
  22372. if (_0_12_isSet0)
  22373. t2 = _0_12;
  22374. else {
  22375. t2 = _0_10;
  22376. _0_12 = type$.SassString_2._as(t2)._string0$_text;
  22377. t2 = _0_12;
  22378. _0_12_isSet0 = _0_12_isSet;
  22379. }
  22380. _0_18 = "down" === t2;
  22381. t2 = _0_18;
  22382. _0_18_isSet = true;
  22383. }
  22384. if (!t2)
  22385. if (_0_20_isSet) {
  22386. t2 = _0_20;
  22387. _0_12_isSet = _0_12_isSet0;
  22388. } else {
  22389. if (_0_12_isSet0) {
  22390. t2 = _0_12;
  22391. _0_12_isSet = _0_12_isSet0;
  22392. } else {
  22393. t2 = _0_10;
  22394. _0_12 = type$.SassString_2._as(t2)._string0$_text;
  22395. t2 = _0_12;
  22396. }
  22397. _0_20 = "to-zero" === t2;
  22398. t2 = _0_20;
  22399. _0_20_isSet = true;
  22400. }
  22401. else {
  22402. t2 = t3;
  22403. _0_12_isSet = _0_12_isSet0;
  22404. }
  22405. } else {
  22406. t2 = t3;
  22407. _0_12_isSet = _0_12_isSet0;
  22408. }
  22409. } else {
  22410. t2 = t3;
  22411. _0_12_isSet = _0_12_isSet0;
  22412. }
  22413. if (t2) {
  22414. t2 = _0_10;
  22415. type$.SassString_2._as(t2);
  22416. if (_0_6_isSet)
  22417. t3 = _0_60;
  22418. else {
  22419. t3 = _0_6;
  22420. _0_6_isSet = _0_6_isSet0;
  22421. _0_60 = t3;
  22422. }
  22423. if (t3 instanceof A.SassNumber0) {
  22424. if (_0_6_isSet)
  22425. t3 = _0_60;
  22426. else {
  22427. t3 = _0_6;
  22428. _0_6_isSet = _0_6_isSet0;
  22429. _0_60 = t3;
  22430. }
  22431. t4 = type$.SassNumber_2;
  22432. t4._as(t3);
  22433. if (_0_9_isSet)
  22434. t1 = _0_90;
  22435. else {
  22436. t1 = _0_9;
  22437. _0_9_isSet = _0_9_isSet0;
  22438. _0_90 = t1;
  22439. }
  22440. t1 = t1 instanceof A.SassNumber0;
  22441. if (t1) {
  22442. if (_0_9_isSet)
  22443. t5 = _0_90;
  22444. else {
  22445. t5 = _0_9;
  22446. _0_9_isSet = _0_9_isSet0;
  22447. _0_90 = t5;
  22448. }
  22449. t4._as(t5);
  22450. step = t5;
  22451. }
  22452. number = t3;
  22453. }
  22454. strategy = t2;
  22455. }
  22456. } else
  22457. _0_12_isSet = _0_14_isSet;
  22458. if (t1) {
  22459. A.SassCalculation__verifyCompatibleNumbers0(A._setArrayType([number, step], type$.JSArray_Object));
  22460. return A.SassCalculation__roundWithStep0(strategy._string0$_text, number, step);
  22461. }
  22462. strategy = _null;
  22463. rest = _null;
  22464. t1 = false;
  22465. if (_0_10 instanceof A.SassString0) {
  22466. _0_6_isSet0 = true;
  22467. _0_12_isSet0 = true;
  22468. if (_0_14_isSet)
  22469. t2 = _0_14;
  22470. else {
  22471. if (_0_12_isSet)
  22472. t2 = _0_12;
  22473. else {
  22474. t2 = _0_10;
  22475. _0_12 = type$.SassString_2._as(t2)._string0$_text;
  22476. t2 = _0_12;
  22477. _0_12_isSet = _0_12_isSet0;
  22478. }
  22479. _0_14 = "nearest" === t2;
  22480. t2 = _0_14;
  22481. _0_14_isSet = true;
  22482. }
  22483. t3 = true;
  22484. if (!t2) {
  22485. if (_0_16_isSet)
  22486. t2 = _0_16;
  22487. else {
  22488. if (_0_12_isSet)
  22489. t2 = _0_12;
  22490. else {
  22491. t2 = _0_10;
  22492. _0_12 = type$.SassString_2._as(t2)._string0$_text;
  22493. t2 = _0_12;
  22494. _0_12_isSet = _0_12_isSet0;
  22495. }
  22496. _0_16 = "up" === t2;
  22497. t2 = _0_16;
  22498. _0_16_isSet = true;
  22499. }
  22500. if (!t2) {
  22501. if (_0_18_isSet)
  22502. t2 = _0_18;
  22503. else {
  22504. if (_0_12_isSet)
  22505. t2 = _0_12;
  22506. else {
  22507. t2 = _0_10;
  22508. _0_12 = type$.SassString_2._as(t2)._string0$_text;
  22509. t2 = _0_12;
  22510. _0_12_isSet = _0_12_isSet0;
  22511. }
  22512. _0_18 = "down" === t2;
  22513. t2 = _0_18;
  22514. _0_18_isSet = true;
  22515. }
  22516. if (!t2)
  22517. if (_0_20_isSet)
  22518. t2 = _0_20;
  22519. else {
  22520. if (_0_12_isSet)
  22521. t2 = _0_12;
  22522. else {
  22523. t2 = _0_10;
  22524. _0_12 = type$.SassString_2._as(t2)._string0$_text;
  22525. t2 = _0_12;
  22526. _0_12_isSet = _0_12_isSet0;
  22527. }
  22528. _0_20 = "to-zero" === t2;
  22529. t2 = _0_20;
  22530. _0_20_isSet = true;
  22531. }
  22532. else
  22533. t2 = t3;
  22534. } else
  22535. t2 = t3;
  22536. } else
  22537. t2 = t3;
  22538. if (t2) {
  22539. t2 = _0_10;
  22540. t3 = type$.SassString_2;
  22541. t3._as(t2);
  22542. if (_0_6_isSet)
  22543. t4 = _0_60;
  22544. else {
  22545. t4 = _0_6;
  22546. _0_6_isSet = _0_6_isSet0;
  22547. _0_60 = t4;
  22548. }
  22549. if (t4 instanceof A.SassString0) {
  22550. if (_0_6_isSet)
  22551. t4 = _0_60;
  22552. else {
  22553. t4 = _0_6;
  22554. _0_6_isSet = _0_6_isSet0;
  22555. _0_60 = t4;
  22556. }
  22557. t3._as(t4);
  22558. if (_0_10_isSet)
  22559. t1 = _0_100;
  22560. else {
  22561. if (_0_9_isSet)
  22562. t1 = _0_90;
  22563. else {
  22564. t1 = _0_9;
  22565. _0_90 = t1;
  22566. _0_9_isSet = true;
  22567. }
  22568. _0_100 = t1 == null;
  22569. t1 = _0_100;
  22570. _0_10_isSet = true;
  22571. }
  22572. rest = t4;
  22573. }
  22574. strategy = t2;
  22575. }
  22576. }
  22577. if (t1)
  22578. return new A.SassCalculation0(_s5_, A._setArrayType([strategy, rest], type$.JSArray_Object));
  22579. t1 = false;
  22580. if (_0_10 instanceof A.SassString0) {
  22581. _0_12_isSet0 = true;
  22582. if (_0_14_isSet)
  22583. t2 = _0_14;
  22584. else {
  22585. if (_0_12_isSet)
  22586. t2 = _0_12;
  22587. else {
  22588. t2 = _0_10;
  22589. _0_12 = type$.SassString_2._as(t2)._string0$_text;
  22590. t2 = _0_12;
  22591. _0_12_isSet = _0_12_isSet0;
  22592. }
  22593. _0_14 = "nearest" === t2;
  22594. t2 = _0_14;
  22595. _0_14_isSet = true;
  22596. }
  22597. t3 = true;
  22598. if (!t2) {
  22599. if (_0_16_isSet)
  22600. t2 = _0_16;
  22601. else {
  22602. if (_0_12_isSet)
  22603. t2 = _0_12;
  22604. else {
  22605. t2 = _0_10;
  22606. _0_12 = type$.SassString_2._as(t2)._string0$_text;
  22607. t2 = _0_12;
  22608. _0_12_isSet = _0_12_isSet0;
  22609. }
  22610. _0_16 = "up" === t2;
  22611. t2 = _0_16;
  22612. _0_16_isSet = true;
  22613. }
  22614. if (!t2) {
  22615. if (_0_18_isSet)
  22616. t2 = _0_18;
  22617. else {
  22618. if (_0_12_isSet)
  22619. t2 = _0_12;
  22620. else {
  22621. t2 = _0_10;
  22622. _0_12 = type$.SassString_2._as(t2)._string0$_text;
  22623. t2 = _0_12;
  22624. _0_12_isSet = _0_12_isSet0;
  22625. }
  22626. _0_18 = "down" === t2;
  22627. t2 = _0_18;
  22628. _0_18_isSet = true;
  22629. }
  22630. if (!t2)
  22631. if (_0_20_isSet)
  22632. t2 = _0_20;
  22633. else {
  22634. if (_0_12_isSet)
  22635. t2 = _0_12;
  22636. else {
  22637. t2 = _0_10;
  22638. _0_12 = type$.SassString_2._as(t2)._string0$_text;
  22639. t2 = _0_12;
  22640. _0_12_isSet = _0_12_isSet0;
  22641. }
  22642. _0_20 = "to-zero" === t2;
  22643. t2 = _0_20;
  22644. _0_20_isSet = true;
  22645. }
  22646. else
  22647. t2 = t3;
  22648. } else
  22649. t2 = t3;
  22650. } else
  22651. t2 = t3;
  22652. if (t2) {
  22653. if (_0_6_isSet)
  22654. t2 = _0_60;
  22655. else {
  22656. t2 = _0_6;
  22657. _0_60 = t2;
  22658. _0_6_isSet = true;
  22659. }
  22660. if (t2 != null)
  22661. if (_0_10_isSet)
  22662. t1 = _0_100;
  22663. else {
  22664. if (_0_9_isSet)
  22665. t1 = _0_90;
  22666. else {
  22667. t1 = _0_9;
  22668. _0_90 = t1;
  22669. _0_9_isSet = true;
  22670. }
  22671. _0_100 = t1 == null;
  22672. t1 = _0_100;
  22673. _0_10_isSet = true;
  22674. }
  22675. }
  22676. }
  22677. if (t1)
  22678. throw A.wrapException(A.SassScriptException$0(string$.If_str, _null));
  22679. t1 = false;
  22680. if (_0_10 instanceof A.SassString0) {
  22681. _0_12_isSet0 = true;
  22682. if (_0_14_isSet)
  22683. t2 = _0_14;
  22684. else {
  22685. if (_0_12_isSet)
  22686. t2 = _0_12;
  22687. else {
  22688. t2 = _0_10;
  22689. _0_12 = type$.SassString_2._as(t2)._string0$_text;
  22690. t2 = _0_12;
  22691. _0_12_isSet = _0_12_isSet0;
  22692. }
  22693. _0_14 = "nearest" === t2;
  22694. t2 = _0_14;
  22695. _0_14_isSet = true;
  22696. }
  22697. t3 = true;
  22698. if (!t2) {
  22699. if (_0_16_isSet)
  22700. t2 = _0_16;
  22701. else {
  22702. if (_0_12_isSet)
  22703. t2 = _0_12;
  22704. else {
  22705. t2 = _0_10;
  22706. _0_12 = type$.SassString_2._as(t2)._string0$_text;
  22707. t2 = _0_12;
  22708. _0_12_isSet = _0_12_isSet0;
  22709. }
  22710. _0_16 = "up" === t2;
  22711. t2 = _0_16;
  22712. _0_16_isSet = true;
  22713. }
  22714. if (!t2) {
  22715. if (_0_18_isSet)
  22716. t2 = _0_18;
  22717. else {
  22718. if (_0_12_isSet)
  22719. t2 = _0_12;
  22720. else {
  22721. t2 = _0_10;
  22722. _0_12 = type$.SassString_2._as(t2)._string0$_text;
  22723. t2 = _0_12;
  22724. _0_12_isSet = _0_12_isSet0;
  22725. }
  22726. _0_18 = "down" === t2;
  22727. t2 = _0_18;
  22728. _0_18_isSet = true;
  22729. }
  22730. if (!t2)
  22731. if (_0_20_isSet)
  22732. t2 = _0_20;
  22733. else {
  22734. if (_0_12_isSet)
  22735. t2 = _0_12;
  22736. else {
  22737. t2 = _0_10;
  22738. _0_12 = type$.SassString_2._as(t2)._string0$_text;
  22739. t2 = _0_12;
  22740. _0_12_isSet = _0_12_isSet0;
  22741. }
  22742. _0_20 = "to-zero" === t2;
  22743. t2 = _0_20;
  22744. _0_20_isSet = true;
  22745. }
  22746. else
  22747. t2 = t3;
  22748. } else
  22749. t2 = t3;
  22750. } else
  22751. t2 = t3;
  22752. if (t2) {
  22753. if (_0_8_isSet)
  22754. t2 = _0_8;
  22755. else {
  22756. if (_0_6_isSet)
  22757. t2 = _0_60;
  22758. else {
  22759. t2 = _0_6;
  22760. _0_60 = t2;
  22761. _0_6_isSet = true;
  22762. }
  22763. _0_8 = t2 == null;
  22764. t2 = _0_8;
  22765. _0_8_isSet = true;
  22766. }
  22767. if (t2)
  22768. if (_0_10_isSet)
  22769. t1 = _0_100;
  22770. else {
  22771. if (_0_9_isSet)
  22772. t1 = _0_90;
  22773. else {
  22774. t1 = _0_9;
  22775. _0_90 = t1;
  22776. _0_9_isSet = true;
  22777. }
  22778. _0_100 = t1 == null;
  22779. t1 = _0_100;
  22780. _0_10_isSet = true;
  22781. }
  22782. }
  22783. }
  22784. if (t1)
  22785. throw A.wrapException(A.SassScriptException$0(string$.Number, _null));
  22786. number = _0_10;
  22787. t1 = false;
  22788. if (_0_8_isSet)
  22789. t2 = _0_8;
  22790. else {
  22791. if (_0_6_isSet)
  22792. t2 = _0_60;
  22793. else {
  22794. t2 = _0_6;
  22795. _0_60 = t2;
  22796. _0_6_isSet = true;
  22797. }
  22798. _0_8 = t2 == null;
  22799. t2 = _0_8;
  22800. }
  22801. if (t2)
  22802. if (_0_10_isSet)
  22803. t1 = _0_100;
  22804. else {
  22805. if (_0_9_isSet)
  22806. t1 = _0_90;
  22807. else {
  22808. t1 = _0_9;
  22809. _0_90 = t1;
  22810. _0_9_isSet = true;
  22811. }
  22812. _0_100 = t1 == null;
  22813. t1 = _0_100;
  22814. _0_10_isSet = true;
  22815. }
  22816. if (t1)
  22817. return new A.SassCalculation0(_s5_, A._setArrayType([number], type$.JSArray_Object));
  22818. number = _0_10;
  22819. step = _null;
  22820. t1 = false;
  22821. _0_6_isSet0 = true;
  22822. if (_0_6_isSet)
  22823. t2 = _0_60;
  22824. else {
  22825. t2 = _0_6;
  22826. _0_6_isSet = _0_6_isSet0;
  22827. _0_60 = t2;
  22828. }
  22829. if (t2 != null) {
  22830. if (_0_6_isSet)
  22831. step = _0_60;
  22832. else {
  22833. step = _0_6;
  22834. _0_6_isSet = _0_6_isSet0;
  22835. _0_60 = step;
  22836. }
  22837. if (step == null)
  22838. step = type$.Object._as(step);
  22839. if (_0_10_isSet)
  22840. t1 = _0_100;
  22841. else {
  22842. if (_0_9_isSet)
  22843. t1 = _0_90;
  22844. else {
  22845. t1 = _0_9;
  22846. _0_90 = t1;
  22847. _0_9_isSet = true;
  22848. }
  22849. _0_100 = t1 == null;
  22850. t1 = _0_100;
  22851. }
  22852. }
  22853. if (t1)
  22854. return new A.SassCalculation0(_s5_, A._setArrayType([number, step], type$.JSArray_Object));
  22855. if (_0_10 instanceof A.SassString0) {
  22856. t1 = true;
  22857. if (_0_14_isSet)
  22858. t2 = _0_14;
  22859. else {
  22860. if (_0_12_isSet)
  22861. t2 = _0_12;
  22862. else {
  22863. t2 = _0_10;
  22864. _0_12 = type$.SassString_2._as(t2)._string0$_text;
  22865. t2 = _0_12;
  22866. _0_12_isSet = true;
  22867. }
  22868. _0_14 = "nearest" === t2;
  22869. t2 = _0_14;
  22870. }
  22871. if (!t2) {
  22872. if (_0_16_isSet)
  22873. t2 = _0_16;
  22874. else {
  22875. if (_0_12_isSet)
  22876. t2 = _0_12;
  22877. else {
  22878. t2 = _0_10;
  22879. _0_12 = type$.SassString_2._as(t2)._string0$_text;
  22880. t2 = _0_12;
  22881. _0_12_isSet = true;
  22882. }
  22883. _0_16 = "up" === t2;
  22884. t2 = _0_16;
  22885. }
  22886. if (!t2) {
  22887. if (_0_18_isSet)
  22888. t2 = _0_18;
  22889. else {
  22890. if (_0_12_isSet)
  22891. t2 = _0_12;
  22892. else {
  22893. t2 = _0_10;
  22894. _0_12 = type$.SassString_2._as(t2)._string0$_text;
  22895. t2 = _0_12;
  22896. _0_12_isSet = true;
  22897. }
  22898. _0_18 = "down" === t2;
  22899. t2 = _0_18;
  22900. }
  22901. if (!t2)
  22902. if (_0_20_isSet)
  22903. t1 = _0_20;
  22904. else {
  22905. if (_0_12_isSet)
  22906. t1 = _0_12;
  22907. else {
  22908. t1 = _0_10;
  22909. _0_12 = type$.SassString_2._as(t1)._string0$_text;
  22910. t1 = _0_12;
  22911. }
  22912. _0_20 = "to-zero" === t1;
  22913. t1 = _0_20;
  22914. }
  22915. }
  22916. }
  22917. } else
  22918. t1 = false;
  22919. if (!t1)
  22920. if (_0_10 instanceof A.SassString0) {
  22921. t1 = _0_10;
  22922. t1 = type$.SassString_2._as(t1).get$isVar();
  22923. } else
  22924. t1 = false;
  22925. else
  22926. t1 = true;
  22927. number = _null;
  22928. step = _null;
  22929. t2 = false;
  22930. if (t1) {
  22931. _0_6_isSet0 = true;
  22932. _0_9_isSet0 = true;
  22933. t1 = _0_10;
  22934. type$.SassString_2._as(t1);
  22935. if (_0_6_isSet)
  22936. t3 = _0_60;
  22937. else {
  22938. t3 = _0_6;
  22939. _0_6_isSet = _0_6_isSet0;
  22940. _0_60 = t3;
  22941. }
  22942. if (t3 != null) {
  22943. if (_0_6_isSet)
  22944. number = _0_60;
  22945. else {
  22946. number = _0_6;
  22947. _0_6_isSet = _0_6_isSet0;
  22948. _0_60 = number;
  22949. }
  22950. if (number == null)
  22951. number = type$.Object._as(number);
  22952. if (_0_9_isSet)
  22953. t2 = _0_90;
  22954. else {
  22955. t2 = _0_9;
  22956. _0_9_isSet = _0_9_isSet0;
  22957. _0_90 = t2;
  22958. }
  22959. t2 = t2 != null;
  22960. if (t2) {
  22961. if (_0_9_isSet)
  22962. step = _0_90;
  22963. else {
  22964. step = _0_9;
  22965. _0_9_isSet = _0_9_isSet0;
  22966. _0_90 = step;
  22967. }
  22968. if (step == null)
  22969. step = type$.Object._as(step);
  22970. }
  22971. }
  22972. strategy = t1;
  22973. t1 = t2;
  22974. } else {
  22975. t1 = t2;
  22976. strategy = _null;
  22977. }
  22978. if (t1)
  22979. return new A.SassCalculation0(_s5_, A._setArrayType([strategy, number, step], type$.JSArray_Object));
  22980. t1 = false;
  22981. if ((_0_6_isSet ? _0_60 : _0_6) != null)
  22982. t1 = (_0_9_isSet ? _0_90 : _0_9) != null;
  22983. if (t1)
  22984. throw A.wrapException(A.SassScriptException$0(A.S(strategyOrNumber) + string$.x20must_b, _null));
  22985. t1 = A.SassScriptException$0("Invalid parameters.", _null);
  22986. throw A.wrapException(t1);
  22987. },
  22988. SassCalculation_calcSize0(basis, value) {
  22989. var t1 = type$.JSArray_Object,
  22990. t2 = A._setArrayType([basis], t1);
  22991. if (value != null)
  22992. t2.push(value);
  22993. A.SassCalculation__verifyLength0(t2, 2);
  22994. basis = A.SassCalculation__simplify0(basis);
  22995. value = A.NullableExtension_andThen0(value, A.calculation0_SassCalculation__simplify$closure());
  22996. t1 = A._setArrayType([basis], t1);
  22997. if (value != null)
  22998. t1.push(value);
  22999. return new A.SassCalculation0("calc-size", t1);
  23000. },
  23001. SassCalculation_operateInternal0(operator, left, right, inLegacySassFunction, simplify, warn) {
  23002. var compatible, t1;
  23003. if (!simplify)
  23004. return new A.CalculationOperation0(operator, left, right);
  23005. left = A.SassCalculation__simplify0(left);
  23006. right = A.SassCalculation__simplify0(right);
  23007. if (B.CalculationOperator_F7i0 === operator || B.CalculationOperator_oum0 === operator) {
  23008. if (left instanceof A.SassNumber0 && right instanceof A.SassNumber0) {
  23009. compatible = left.hasCompatibleUnits$1(right);
  23010. if (!compatible && inLegacySassFunction != null && left.isComparableTo$1(right)) {
  23011. 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);
  23012. compatible = true;
  23013. }
  23014. if (compatible)
  23015. return operator === B.CalculationOperator_F7i0 ? left.plus$1(right) : left.minus$1(right);
  23016. }
  23017. A.SassCalculation__verifyCompatibleNumbers0(A._setArrayType([left, right], type$.JSArray_Object));
  23018. if (right instanceof A.SassNumber0) {
  23019. t1 = right._number1$_value;
  23020. t1 = t1 < 0 && !A.fuzzyEquals0(t1, 0);
  23021. } else
  23022. t1 = false;
  23023. if (t1) {
  23024. right = right.times$1(A.SassNumber_SassNumber0(-1, null));
  23025. operator = operator === B.CalculationOperator_F7i0 ? B.CalculationOperator_oum0 : B.CalculationOperator_F7i0;
  23026. }
  23027. return new A.CalculationOperation0(operator, left, right);
  23028. } else if (left instanceof A.SassNumber0 && right instanceof A.SassNumber0)
  23029. return operator === B.CalculationOperator_kkN0 ? left.times$1(right) : left.dividedBy$1(right);
  23030. else
  23031. return new A.CalculationOperation0(operator, left, right);
  23032. },
  23033. SassCalculation__roundWithStep0(strategy, number, step) {
  23034. var _0_2, t1, _0_6, _0_8_isSet, _0_8, _0_9_isSet, _0_9, _0_11, _0_13, stepWithNumberUnit, t2;
  23035. if (!A.LinkedHashSet_LinkedHashSet$_literal(["nearest", "up", "down", "to-zero"], type$.String).contains$1(0, strategy))
  23036. throw A.wrapException(A.ArgumentError$(strategy + string$.x20must_b, null));
  23037. _0_2 = number._number1$_value;
  23038. if (_0_2 == 1 / 0 || _0_2 == -1 / 0) {
  23039. t1 = step._number1$_value;
  23040. t1 = t1 == 1 / 0 || t1 == -1 / 0;
  23041. } else
  23042. t1 = false;
  23043. if (!t1) {
  23044. t1 = step._number1$_value;
  23045. t1 = t1 === 0 || isNaN(_0_2) || isNaN(t1);
  23046. } else
  23047. t1 = true;
  23048. if (t1) {
  23049. t1 = number.get$numeratorUnits(number);
  23050. return A.SassNumber_SassNumber$withUnits0(0 / 0, number.get$denominatorUnits(number), t1);
  23051. }
  23052. if (_0_2 == 1 / 0 || _0_2 == -1 / 0)
  23053. return number;
  23054. t1 = step._number1$_value;
  23055. if (t1 == 1 / 0 || t1 == -1 / 0) {
  23056. $label0$0: {
  23057. if (0 === _0_2) {
  23058. t1 = number;
  23059. break $label0$0;
  23060. }
  23061. _0_6 = "nearest" === strategy;
  23062. t1 = _0_6;
  23063. _0_8_isSet = !t1;
  23064. if (_0_8_isSet) {
  23065. _0_8 = "to-zero" === strategy;
  23066. _0_9_isSet = _0_8;
  23067. } else {
  23068. _0_8 = null;
  23069. _0_9_isSet = true;
  23070. }
  23071. if (_0_9_isSet) {
  23072. _0_9 = _0_2 > 0;
  23073. t1 = _0_9;
  23074. } else {
  23075. _0_9 = null;
  23076. t1 = false;
  23077. }
  23078. if (t1) {
  23079. t1 = number.get$numeratorUnits(number);
  23080. t1 = A.SassNumber_SassNumber$withUnits0(0, number.get$denominatorUnits(number), t1);
  23081. break $label0$0;
  23082. }
  23083. if (!_0_6)
  23084. if (_0_8_isSet)
  23085. t1 = _0_8;
  23086. else {
  23087. _0_8 = "to-zero" === strategy;
  23088. t1 = _0_8;
  23089. }
  23090. else
  23091. t1 = true;
  23092. if (t1) {
  23093. t1 = number.get$numeratorUnits(number);
  23094. t1 = A.SassNumber_SassNumber$withUnits0(-0.0, number.get$denominatorUnits(number), t1);
  23095. break $label0$0;
  23096. }
  23097. _0_11 = "up" === strategy;
  23098. t1 = _0_11;
  23099. if (t1)
  23100. if (_0_9_isSet)
  23101. t1 = _0_9;
  23102. else {
  23103. _0_9 = _0_2 > 0;
  23104. t1 = _0_9;
  23105. }
  23106. else
  23107. t1 = false;
  23108. if (t1) {
  23109. t1 = number.get$numeratorUnits(number);
  23110. t1 = A.SassNumber_SassNumber$withUnits0(1 / 0, number.get$denominatorUnits(number), t1);
  23111. break $label0$0;
  23112. }
  23113. if (_0_11) {
  23114. t1 = number.get$numeratorUnits(number);
  23115. t1 = A.SassNumber_SassNumber$withUnits0(-0.0, number.get$denominatorUnits(number), t1);
  23116. break $label0$0;
  23117. }
  23118. _0_13 = "down" === strategy;
  23119. t1 = _0_13;
  23120. if (t1)
  23121. t1 = _0_2 < 0;
  23122. else
  23123. t1 = false;
  23124. if (t1) {
  23125. t1 = number.get$numeratorUnits(number);
  23126. t1 = A.SassNumber_SassNumber$withUnits0(-1 / 0, number.get$denominatorUnits(number), t1);
  23127. break $label0$0;
  23128. }
  23129. if (_0_13) {
  23130. t1 = number.get$numeratorUnits(number);
  23131. t1 = A.SassNumber_SassNumber$withUnits0(0, number.get$denominatorUnits(number), t1);
  23132. break $label0$0;
  23133. }
  23134. t1 = A.throwExpression(A.UnsupportedError$("Invalid argument: " + strategy + "."));
  23135. }
  23136. return t1;
  23137. }
  23138. stepWithNumberUnit = step.convertValueToMatch$1(number);
  23139. $label1$1: {
  23140. if ("nearest" === strategy) {
  23141. t1 = B.JSNumber_methods.round$0(_0_2 / stepWithNumberUnit);
  23142. t2 = number.get$numeratorUnits(number);
  23143. t2 = A.SassNumber_SassNumber$withUnits0(t1 * stepWithNumberUnit, number.get$denominatorUnits(number), t2);
  23144. t1 = t2;
  23145. break $label1$1;
  23146. }
  23147. if ("up" === strategy) {
  23148. t2 = _0_2 / stepWithNumberUnit;
  23149. t1 = t1 < 0 ? B.JSNumber_methods.floor$0(t2) : B.JSNumber_methods.ceil$0(t2);
  23150. t2 = number.get$numeratorUnits(number);
  23151. t2 = A.SassNumber_SassNumber$withUnits0(t1 * stepWithNumberUnit, number.get$denominatorUnits(number), t2);
  23152. t1 = t2;
  23153. break $label1$1;
  23154. }
  23155. if ("down" === strategy) {
  23156. t2 = _0_2 / stepWithNumberUnit;
  23157. t1 = t1 < 0 ? B.JSNumber_methods.ceil$0(t2) : B.JSNumber_methods.floor$0(t2);
  23158. t2 = number.get$numeratorUnits(number);
  23159. t2 = A.SassNumber_SassNumber$withUnits0(t1 * stepWithNumberUnit, number.get$denominatorUnits(number), t2);
  23160. t1 = t2;
  23161. break $label1$1;
  23162. }
  23163. if ("to-zero" === strategy) {
  23164. t1 = _0_2 / stepWithNumberUnit;
  23165. if (_0_2 < 0) {
  23166. t1 = B.JSNumber_methods.ceil$0(t1);
  23167. t2 = number.get$numeratorUnits(number);
  23168. t2 = A.SassNumber_SassNumber$withUnits0(t1 * stepWithNumberUnit, number.get$denominatorUnits(number), t2);
  23169. t1 = t2;
  23170. } else {
  23171. t1 = B.JSNumber_methods.floor$0(t1);
  23172. t2 = number.get$numeratorUnits(number);
  23173. t2 = A.SassNumber_SassNumber$withUnits0(t1 * stepWithNumberUnit, number.get$denominatorUnits(number), t2);
  23174. t1 = t2;
  23175. }
  23176. break $label1$1;
  23177. }
  23178. t1 = number.get$numeratorUnits(number);
  23179. t1 = A.SassNumber_SassNumber$withUnits0(0 / 0, number.get$denominatorUnits(number), t1);
  23180. break $label1$1;
  23181. }
  23182. return t1;
  23183. },
  23184. SassCalculation__simplify0(arg) {
  23185. 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,
  23186. _s32_ = " can't be used in a calculation.";
  23187. $label0$0: {
  23188. if (arg instanceof A.SassNumber0 || arg instanceof A.CalculationOperation0) {
  23189. t1 = arg;
  23190. break $label0$0;
  23191. }
  23192. if (arg instanceof A.CalculationInterpolation) {
  23193. t1 = new A.SassString0("(" + arg._calculation0$_value + ")", false);
  23194. break $label0$0;
  23195. }
  23196. t1 = arg instanceof A.SassString0;
  23197. t2 = _null;
  23198. if (t1 && !arg._string0$_hasQuotes) {
  23199. t1 = arg;
  23200. break $label0$0;
  23201. }
  23202. if (t1)
  23203. A.throwExpression(A.SassScriptException$0("Quoted string " + arg.toString$0(0) + _s32_, _null));
  23204. _0_11_isSet = arg instanceof A.SassCalculation0;
  23205. _0_15 = _null;
  23206. _0_12 = _null;
  23207. _0_16_isSet = false;
  23208. text = _null;
  23209. t1 = false;
  23210. if (_0_11_isSet) {
  23211. _0_11 = "calc" === arg.name;
  23212. if (_0_11) {
  23213. _0_12 = arg.$arguments;
  23214. _0_15 = _0_12.length === 1;
  23215. _0_16_isSet = _0_15;
  23216. if (_0_16_isSet) {
  23217. _0_16 = _0_12[0];
  23218. t2 = _0_16;
  23219. if (t2 instanceof A.SassString0) {
  23220. t2 = _0_16;
  23221. t3 = type$.SassString_2;
  23222. if (!t3._as(t2)._string0$_hasQuotes) {
  23223. t1 = _0_16;
  23224. text = t3._as(t1)._string0$_text;
  23225. t1 = A.SassCalculation__needsParentheses0(text);
  23226. }
  23227. }
  23228. } else
  23229. _0_16 = t2;
  23230. } else
  23231. _0_16 = t2;
  23232. _0_12_isSet = _0_11;
  23233. _0_15_isSet = _0_12_isSet;
  23234. } else {
  23235. _0_16 = t2;
  23236. _0_11 = _null;
  23237. _0_15_isSet = false;
  23238. _0_12_isSet = false;
  23239. }
  23240. if (t1) {
  23241. t1 = new A.SassString0("(" + A.S(text) + ")", false);
  23242. break $label0$0;
  23243. }
  23244. t1 = false;
  23245. if (_0_11_isSet)
  23246. if (_0_11)
  23247. if (_0_15_isSet)
  23248. t1 = _0_15;
  23249. else {
  23250. if (_0_12_isSet)
  23251. t1 = _0_12;
  23252. else {
  23253. _0_12 = arg.$arguments;
  23254. t1 = _0_12;
  23255. _0_12_isSet = true;
  23256. }
  23257. _0_15 = t1.length === 1;
  23258. t1 = _0_15;
  23259. }
  23260. if (t1) {
  23261. if (_0_16_isSet)
  23262. value = _0_16;
  23263. else {
  23264. _0_16 = (_0_12_isSet ? _0_12 : arg.$arguments)[0];
  23265. value = _0_16;
  23266. }
  23267. t1 = value;
  23268. break $label0$0;
  23269. }
  23270. if (_0_11_isSet) {
  23271. t1 = arg;
  23272. break $label0$0;
  23273. }
  23274. if (arg instanceof A.Value0)
  23275. A.throwExpression(A.SassScriptException$0("Value " + arg.toString$0(0) + _s32_, _null));
  23276. t1 = A.throwExpression(A.ArgumentError$("Unexpected calculation argument " + A.S(arg) + ".", _null));
  23277. }
  23278. return t1;
  23279. },
  23280. SassCalculation__needsParentheses0(text) {
  23281. var t1, couldBeVar, second, third, fourth, i, t2,
  23282. first = text.charCodeAt(0);
  23283. if (first === 32 || first === 9 || first === 10 || first === 13 || first === 12 || first === 47 || first === 42)
  23284. return true;
  23285. t1 = text.length;
  23286. couldBeVar = t1 >= 4 && A.characterEqualsIgnoreCase0(first, 118);
  23287. if (t1 < 2)
  23288. return false;
  23289. second = text.charCodeAt(1);
  23290. if (second === 32 || second === 9 || second === 10 || second === 13 || second === 12 || second === 47 || second === 42)
  23291. return true;
  23292. couldBeVar = couldBeVar && A.characterEqualsIgnoreCase0(second, 97);
  23293. if (t1 < 3)
  23294. return false;
  23295. third = text.charCodeAt(2);
  23296. if (third === 32 || third === 9 || third === 10 || third === 13 || third === 12 || third === 47 || third === 42)
  23297. return true;
  23298. couldBeVar = couldBeVar && A.characterEqualsIgnoreCase0(third, 114);
  23299. if (t1 < 4)
  23300. return false;
  23301. fourth = text.charCodeAt(3);
  23302. if (couldBeVar && fourth === 40)
  23303. return true;
  23304. if (fourth === 32 || fourth === 9 || fourth === 10 || fourth === 13 || fourth === 12 || fourth === 47 || fourth === 42)
  23305. return true;
  23306. for (i = 4; i < t1; ++i) {
  23307. t2 = text.charCodeAt(i);
  23308. if (t2 === 32 || t2 === 9 || t2 === 10 || t2 === 13 || t2 === 12 || t2 === 47 || t2 === 42)
  23309. return true;
  23310. }
  23311. return false;
  23312. },
  23313. SassCalculation__verifyCompatibleNumbers0(args) {
  23314. var t1, _i, t2, arg, i, number1, j, number2;
  23315. for (t1 = args.length, _i = 0; t2 = args.length, _i < t2; args.length === t1 || (0, A.throwConcurrentModificationError)(args), ++_i) {
  23316. arg = args[_i];
  23317. if (arg instanceof A.SassNumber0 && arg.get$hasComplexUnits())
  23318. throw A.wrapException(A.SassScriptException$0("Number " + arg.toString$0(0) + " isn't compatible with CSS calculations.", null));
  23319. }
  23320. for (t1 = t2, i = 0; i < t1 - 1; ++i) {
  23321. number1 = args[i];
  23322. if (!(number1 instanceof A.SassNumber0))
  23323. continue;
  23324. for (j = i + 1; t1 = args.length, j < t1; ++j) {
  23325. number2 = args[j];
  23326. if (!(number2 instanceof A.SassNumber0))
  23327. continue;
  23328. if (number1.hasPossiblyCompatibleUnits$1(number2))
  23329. continue;
  23330. throw A.wrapException(A.SassScriptException$0(number1.toString$0(0) + " and " + number2.toString$0(0) + " are incompatible.", null));
  23331. }
  23332. }
  23333. },
  23334. SassCalculation__verifyLength0(args, expectedLength) {
  23335. var t1;
  23336. if (args.length === expectedLength)
  23337. return;
  23338. if (B.JSArray_methods.any$1(args, new A.SassCalculation__verifyLength_closure0()))
  23339. return;
  23340. t1 = args.length;
  23341. throw A.wrapException(A.SassScriptException$0("" + expectedLength + " arguments required, but only " + t1 + " " + A.pluralize0("was", t1, "were") + " passed.", null));
  23342. },
  23343. SassCalculation__singleArgument0($name, argument, mathFunc, forbidUnits) {
  23344. argument = A.SassCalculation__simplify0(argument);
  23345. if (!(argument instanceof A.SassNumber0))
  23346. return new A.SassCalculation0($name, A._setArrayType([argument], type$.JSArray_Object));
  23347. if (forbidUnits)
  23348. argument.assertNoUnits$0();
  23349. return mathFunc.call$1(argument);
  23350. },
  23351. SassCalculation0: function SassCalculation0(t0, t1) {
  23352. this.name = t0;
  23353. this.$arguments = t1;
  23354. },
  23355. SassCalculation__verifyLength_closure0: function SassCalculation__verifyLength_closure0() {
  23356. },
  23357. CalculationOperation0: function CalculationOperation0(t0, t1, t2) {
  23358. this._calculation0$_operator = t0;
  23359. this._calculation0$_left = t1;
  23360. this._calculation0$_right = t2;
  23361. },
  23362. CalculationOperator0: function CalculationOperator0(t0, t1, t2, t3) {
  23363. var _ = this;
  23364. _.name = t0;
  23365. _.operator = t1;
  23366. _.precedence = t2;
  23367. _._name = t3;
  23368. },
  23369. CalculationInterpolation: function CalculationInterpolation(t0) {
  23370. this._calculation0$_value = t0;
  23371. },
  23372. CallableDeclaration0: function CallableDeclaration0() {
  23373. },
  23374. updateCanonicalizeContextPrototype() {
  23375. var t1 = type$.JSClass._as(new A.CanonicalizeContext0(false, null).constructor);
  23376. 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));
  23377. return null;
  23378. },
  23379. updateCanonicalizeContextPrototype_closure: function updateCanonicalizeContextPrototype_closure() {
  23380. },
  23381. updateCanonicalizeContextPrototype_closure0: function updateCanonicalizeContextPrototype_closure0() {
  23382. },
  23383. CanonicalizeContext0: function CanonicalizeContext0(t0, t1) {
  23384. this._canonicalize_context$_fromImport = t0;
  23385. this._canonicalize_context$_containingUrl = t1;
  23386. this._canonicalize_context$_wasContainingUrlAccessed = false;
  23387. },
  23388. ColorChannel0: function ColorChannel0(t0, t1, t2) {
  23389. this.name = t0;
  23390. this.isPolarAngle = t1;
  23391. this.associatedUnit = t2;
  23392. },
  23393. LinearChannel0: function LinearChannel0(t0, t1, t2, t3, t4, t5, t6, t7) {
  23394. var _ = this;
  23395. _.min = t0;
  23396. _.max = t1;
  23397. _.requiresPercent = t2;
  23398. _.lowerClamped = t3;
  23399. _.upperClamped = t4;
  23400. _.name = t5;
  23401. _.isPolarAngle = t6;
  23402. _.associatedUnit = t7;
  23403. },
  23404. Chokidar0: function Chokidar0() {
  23405. },
  23406. ChokidarOptions0: function ChokidarOptions0() {
  23407. },
  23408. ChokidarWatcher0: function ChokidarWatcher0() {
  23409. },
  23410. ClassSelector0: function ClassSelector0(t0, t1) {
  23411. this.name = t0;
  23412. this.span = t1;
  23413. },
  23414. ClipGamutMap0: function ClipGamutMap0(t0) {
  23415. this.name = t0;
  23416. },
  23417. cloneCssStylesheet0(stylesheet, extensionStore) {
  23418. var _0_0 = extensionStore.clone$0();
  23419. 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);
  23420. },
  23421. _CloneCssVisitor0: function _CloneCssVisitor0(t0) {
  23422. this._clone_css$_oldToNewSelectors = t0;
  23423. },
  23424. ColorExpression0: function ColorExpression0(t0, t1) {
  23425. this.value = t0;
  23426. this.span = t1;
  23427. },
  23428. _invert0($arguments, global) {
  23429. var t2, color, rgb, channel2, space, weight, inSpace, t3, _1_9, channel0, channel1, t4, _s6_ = "weight", _s5_ = "space",
  23430. t1 = J.getInterceptor$asx($arguments),
  23431. weightNumber = t1.$index($arguments, 1).assertNumber$1(_s6_);
  23432. if (!(t1.$index($arguments, 0) instanceof A.SassNumber0))
  23433. t2 = global && t1.$index($arguments, 0).get$isSpecialNumber();
  23434. else
  23435. t2 = true;
  23436. if (t2) {
  23437. if (weightNumber._number1$_value !== 100 || !weightNumber.hasUnit$1("%"))
  23438. throw A.wrapException(string$.Only_oa);
  23439. return A._functionString0("invert", t1.take$1($arguments, 1));
  23440. }
  23441. color = t1.$index($arguments, 0).assertColor$1("color");
  23442. if (t1.$index($arguments, 2).$eq(0, B.C__SassNull0)) {
  23443. t1 = color._color0$_space;
  23444. if (!t1.get$isLegacyInternal())
  23445. throw A.wrapException(A.SassScriptException$0(string$.To_usei + color.toString$0(0) + ", you must provide a $space.", "color"));
  23446. A._checkPercent0(weightNumber, _s6_);
  23447. rgb = color.toSpace$1(B.RgbColorSpace_i0P0);
  23448. channel2 = B.LinearChannel_vJ30;
  23449. 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);
  23450. }
  23451. t1 = t1.$index($arguments, 2).assertString$1(_s5_);
  23452. t1.assertUnquoted$1(_s5_);
  23453. space = A.ColorSpace_fromName0(t1._string0$_text, _s5_);
  23454. weight = weightNumber.valueInRangeWithUnit$4(0, 100, _s6_, "%") / 100;
  23455. if (A.fuzzyEquals0(weight, 0))
  23456. return color;
  23457. inSpace = color.toSpace$1(space);
  23458. $label0$0: {
  23459. if (B.HwbColorSpace_guQ0 === space) {
  23460. t1 = A._invertChannel0(inSpace, space._space$_channels[0], inSpace.channel0OrNull);
  23461. t2 = inSpace.alphaOrNull;
  23462. if (t2 == null)
  23463. t2 = 0;
  23464. t2 = A.SassColor_SassColor$hwb0(t1, inSpace.channel2OrNull, inSpace.channel1OrNull, t2);
  23465. t1 = t2;
  23466. break $label0$0;
  23467. }
  23468. if (B.HslColorSpace_JQ20 === space || B.LchColorSpace_Bpv0 === space || B.OklchColorSpace_9Gj0 === space) {
  23469. t1 = space._space$_channels;
  23470. t2 = A._invertChannel0(inSpace, t1[0], inSpace.channel0OrNull);
  23471. t1 = A._invertChannel0(inSpace, t1[2], inSpace.channel2OrNull);
  23472. t3 = inSpace.alphaOrNull;
  23473. if (t3 == null)
  23474. t3 = 0;
  23475. t3 = A.SassColor_SassColor$forSpaceInternal0(space, t2, inSpace.channel1OrNull, t1, t3);
  23476. t1 = t3;
  23477. break $label0$0;
  23478. }
  23479. _1_9 = space._space$_channels;
  23480. channel0 = _1_9[0];
  23481. channel1 = _1_9[1];
  23482. channel2 = _1_9[2];
  23483. t1 = A._invertChannel0(inSpace, channel0, inSpace.channel0OrNull);
  23484. t2 = A._invertChannel0(inSpace, channel1, inSpace.channel1OrNull);
  23485. t3 = A._invertChannel0(inSpace, channel2, inSpace.channel2OrNull);
  23486. t4 = inSpace.alphaOrNull;
  23487. t1 = A.SassColor_SassColor$forSpaceInternal0(space, t1, t2, t3, t4 == null ? 0 : t4);
  23488. break $label0$0;
  23489. }
  23490. 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);
  23491. },
  23492. _invertChannel0(color, channel, value) {
  23493. var _0_2_isSet, _0_2, t1;
  23494. if (value == null)
  23495. A._missingChannelError0(color, channel.name);
  23496. $label0$0: {
  23497. _0_2_isSet = channel instanceof A.LinearChannel0;
  23498. if (_0_2_isSet) {
  23499. _0_2 = channel.min;
  23500. t1 = _0_2;
  23501. t1 = t1 < 0;
  23502. } else {
  23503. _0_2 = null;
  23504. t1 = false;
  23505. }
  23506. if (t1) {
  23507. t1 = -value;
  23508. break $label0$0;
  23509. }
  23510. if (_0_2_isSet)
  23511. t1 = 0 === _0_2;
  23512. else
  23513. t1 = false;
  23514. if (t1) {
  23515. t1 = channel.max - value;
  23516. break $label0$0;
  23517. }
  23518. if (channel.isPolarAngle) {
  23519. t1 = B.JSNumber_methods.$mod(value + 180, 360);
  23520. break $label0$0;
  23521. }
  23522. t1 = A.throwExpression(A.UnsupportedError$("Unknown channel " + channel.toString$0(0) + "."));
  23523. }
  23524. return t1;
  23525. },
  23526. _grayscale0(colorArg) {
  23527. var hsl, t2, oklch,
  23528. color = colorArg.assertColor$1("color"),
  23529. t1 = color._color0$_space;
  23530. if (t1.get$isLegacyInternal()) {
  23531. hsl = color.toSpace$1(B.HslColorSpace_JQ20);
  23532. t2 = hsl.alphaOrNull;
  23533. if (t2 == null)
  23534. t2 = 0;
  23535. return A.SassColor_SassColor$hsl0(hsl.channel0OrNull, 0, hsl.channel2OrNull, t2).toSpace$2$legacyMissing(t1, false);
  23536. } else {
  23537. oklch = color.toSpace$1(B.OklchColorSpace_9Gj0);
  23538. t2 = oklch.alphaOrNull;
  23539. if (t2 == null)
  23540. t2 = 0;
  23541. return A.SassColor_SassColor$forSpaceInternal0(B.OklchColorSpace_9Gj0, oklch.channel0OrNull, 0, oklch.channel2OrNull, t2).toSpace$1(t1);
  23542. }
  23543. },
  23544. _updateComponents0($arguments, adjust, change, scale) {
  23545. var t2, t3, keywords, originalColor, spaceKeyword, alphaArg, color, channelArgs, channelInfo, t4, value, channelIndex, result, i, alphaNumber, _null = null, _s5_ = "space",
  23546. t1 = J.getInterceptor$asx($arguments),
  23547. argumentList = type$.SassArgumentList_2._as(t1.$index($arguments, 1));
  23548. if (argumentList._list1$_contents.length !== 0)
  23549. throw A.wrapException(A.SassScriptException$0(string$.Only_op, _null));
  23550. argumentList._argument_list$_wereKeywordsAccessed = true;
  23551. t2 = type$.String;
  23552. t3 = type$.Value_2;
  23553. keywords = A.LinkedHashMap_LinkedHashMap$of(argumentList._argument_list$_keywords, t2, t3);
  23554. originalColor = t1.$index($arguments, 0).assertColor$1("color");
  23555. t1 = keywords.remove$1(0, _s5_);
  23556. spaceKeyword = t1 == null ? _null : t1.assertString$1(_s5_);
  23557. if (spaceKeyword == null)
  23558. spaceKeyword = _null;
  23559. else
  23560. spaceKeyword.assertUnquoted$1(_s5_);
  23561. alphaArg = keywords.remove$1(0, "alpha");
  23562. t1 = spaceKeyword == null;
  23563. if (t1 && originalColor._color0$_space.get$isLegacyInternal() && keywords.__js_helper$_length !== 0) {
  23564. t1 = A.NullableExtension_andThen0(A._sniffLegacyColorSpace0(keywords), new A._updateComponents_closure1(originalColor));
  23565. color = t1 == null ? originalColor : t1;
  23566. } else
  23567. color = A._colorInSpace0(originalColor, t1 ? B.C__SassNull0 : spaceKeyword, true);
  23568. channelArgs = A.List_List$filled(color.get$channels().length, _null, false, type$.nullable_Value_2);
  23569. t1 = color._color0$_space;
  23570. channelInfo = t1._space$_channels;
  23571. for (t2 = A.MapExtensions_get_pairs0(keywords, t2, t3), t2 = t2.get$iterator(t2); t2.moveNext$0();) {
  23572. t3 = {};
  23573. t4 = t2.get$current(t2);
  23574. t3.name = null;
  23575. t3.name = t4._0;
  23576. value = t4._1;
  23577. channelIndex = B.JSArray_methods.indexWhere$1(channelInfo, new A._updateComponents_closure2(t3));
  23578. if (channelIndex === -1)
  23579. throw A.wrapException(A.SassScriptException$0("Color space " + t1.toString$0(0) + " doesn't have a channel with this name.", t3.name));
  23580. channelArgs[channelIndex] = value;
  23581. }
  23582. if (change)
  23583. result = A._changeColor0(color, channelArgs, alphaArg);
  23584. else {
  23585. t2 = A._setArrayType([], type$.JSArray_nullable_SassNumber_2);
  23586. for (i = 0; i < 3; ++i) {
  23587. t3 = channelArgs[i];
  23588. t2.push(t3 == null ? _null : t3.assertNumber$1(channelInfo[i].name));
  23589. }
  23590. alphaNumber = alphaArg == null ? _null : alphaArg.assertNumber$1("alpha");
  23591. 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);
  23592. }
  23593. return result.toSpace$2$legacyMissing(originalColor._color0$_space, false);
  23594. },
  23595. _changeColor0(color, channelArgs, alphaArg) {
  23596. var t4, _s5_ = "alpha",
  23597. t1 = A._channelForChange0(channelArgs[0], color, 0),
  23598. t2 = A._channelForChange0(channelArgs[1], color, 1),
  23599. t3 = A._channelForChange0(channelArgs[2], color, 2);
  23600. $label0$0: {
  23601. if (alphaArg == null) {
  23602. t4 = color.alphaOrNull;
  23603. if (t4 == null)
  23604. t4 = 0;
  23605. break $label0$0;
  23606. }
  23607. t4 = A._isNone0(alphaArg);
  23608. if (t4) {
  23609. t4 = null;
  23610. break $label0$0;
  23611. }
  23612. t4 = alphaArg instanceof A.SassNumber0;
  23613. if (t4 && !alphaArg.get$hasUnits()) {
  23614. t4 = alphaArg.valueInRange$3(0, 1, _s5_);
  23615. break $label0$0;
  23616. }
  23617. if (t4 && alphaArg.hasUnit$1("%")) {
  23618. t4 = alphaArg.valueInRangeWithUnit$4(0, 100, _s5_, "%") / 100;
  23619. break $label0$0;
  23620. }
  23621. if (t4) {
  23622. t4 = new A._changeColor_closure0(alphaArg).call$0();
  23623. break $label0$0;
  23624. }
  23625. t4 = A.throwExpression(A.SassScriptException$0(alphaArg.toString$0(0) + ' is not a number or unquoted "none".', _s5_));
  23626. }
  23627. return A._colorFromChannels0(color._color0$_space, t1, t2, t3, t4, false, false);
  23628. },
  23629. _channelForChange0(channelArg, color, channel) {
  23630. var _0_0, t1, t2;
  23631. if (channelArg == null) {
  23632. _0_0 = color.get$channelsOrNull()[channel];
  23633. $label0$0: {
  23634. if (_0_0 != null) {
  23635. t1 = color._color0$_space;
  23636. t2 = A.SassNumber_SassNumber0(_0_0, (t1 === B.HslColorSpace_JQ20 || t1 === B.HwbColorSpace_guQ0) && channel > 0 ? "%" : null);
  23637. t1 = t2;
  23638. break $label0$0;
  23639. }
  23640. t1 = null;
  23641. break $label0$0;
  23642. }
  23643. return t1;
  23644. }
  23645. if (A._isNone0(channelArg))
  23646. return null;
  23647. if (channelArg instanceof A.SassNumber0)
  23648. return channelArg;
  23649. throw A.wrapException(A.SassScriptException$0(channelArg.toString$0(0) + ' is not a number or unquoted "none".', color._color0$_space._space$_channels[channel].name));
  23650. },
  23651. _scaleChannel0(color, channel, oldValue, factorArg) {
  23652. var t1, factor;
  23653. if (factorArg == null)
  23654. return oldValue;
  23655. if (!(channel instanceof A.LinearChannel0))
  23656. throw A.wrapException(A.SassScriptException$0("Channel isn't scalable.", channel.name));
  23657. if (oldValue == null)
  23658. A._missingChannelError0(color, channel.name);
  23659. t1 = channel.name;
  23660. factorArg.assertUnit$2("%", t1);
  23661. factor = factorArg.valueInRangeWithUnit$4(-100, 100, t1, "%") / 100;
  23662. $label0$0: {
  23663. if (0 === factor) {
  23664. t1 = oldValue;
  23665. break $label0$0;
  23666. }
  23667. if (factor > 0) {
  23668. t1 = channel.max;
  23669. t1 = oldValue >= t1 ? oldValue : oldValue + (t1 - oldValue) * factor;
  23670. break $label0$0;
  23671. }
  23672. t1 = channel.min;
  23673. t1 = oldValue <= t1 ? oldValue : oldValue + (oldValue - t1) * factor;
  23674. break $label0$0;
  23675. }
  23676. return t1;
  23677. },
  23678. _adjustColor0(color, channelArgs, alphaArg) {
  23679. var t1 = color._color0$_space,
  23680. t2 = t1._space$_channels;
  23681. 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()));
  23682. },
  23683. _adjustChannel0(color, channel, oldValue, adjustmentArg) {
  23684. var _0_1, _0_3, t1, _0_6_isSet, _0_6, _0_6_isSet0, t2, _0_11, result, min, max, _null = null;
  23685. if (adjustmentArg == null)
  23686. return oldValue;
  23687. if (oldValue == null)
  23688. A._missingChannelError0(color, channel.name);
  23689. $label0$0: {
  23690. _0_1 = color._color0$_space;
  23691. _0_3 = B.HslColorSpace_JQ20 === _0_1;
  23692. t1 = _0_3;
  23693. if (!t1)
  23694. _0_6_isSet = B.HwbColorSpace_guQ0 === _0_1;
  23695. else
  23696. _0_6_isSet = true;
  23697. if (_0_6_isSet) {
  23698. t1 = channel.isPolarAngle;
  23699. _0_6 = channel;
  23700. } else {
  23701. _0_6 = _null;
  23702. t1 = false;
  23703. }
  23704. if (t1) {
  23705. adjustmentArg = A.SassNumber_SassNumber0(A._angleValue0(adjustmentArg, "hue"), _null);
  23706. break $label0$0;
  23707. }
  23708. t1 = false;
  23709. if (_0_3) {
  23710. _0_6_isSet0 = true;
  23711. if (_0_6_isSet)
  23712. t2 = _0_6;
  23713. else {
  23714. t2 = channel;
  23715. _0_6_isSet = _0_6_isSet0;
  23716. _0_6 = t2;
  23717. }
  23718. if (t2 instanceof A.LinearChannel0) {
  23719. if (_0_6_isSet)
  23720. t1 = _0_6;
  23721. else {
  23722. t1 = channel;
  23723. _0_6_isSet = _0_6_isSet0;
  23724. _0_6 = t1;
  23725. }
  23726. _0_11 = type$.LinearChannel_2._as(t1).name;
  23727. t1 = _0_11;
  23728. if ("saturation" !== t1)
  23729. t1 = "lightness" === _0_11;
  23730. else
  23731. t1 = true;
  23732. }
  23733. }
  23734. if (t1) {
  23735. A._checkPercent0(adjustmentArg, channel.name);
  23736. adjustmentArg = A.SassNumber_SassNumber0(adjustmentArg._number1$_value, "%");
  23737. break $label0$0;
  23738. }
  23739. if (B.LinearChannel_XL80 === (_0_6_isSet ? _0_6 : channel) && adjustmentArg.get$hasUnits()) {
  23740. A.warnForDeprecation0("$alpha: Passing a number with unit " + adjustmentArg.get$unitString() + string$.x20is_de + adjustmentArg.unitSuggestion$1("alpha") + string$.x0a_Morex3af, B.Deprecation_vn5);
  23741. adjustmentArg = A.SassNumber_SassNumber0(adjustmentArg._number1$_value, _null);
  23742. }
  23743. }
  23744. t1 = A._channelFromValue0(channel, adjustmentArg, false);
  23745. t1.toString;
  23746. result = oldValue + t1;
  23747. $label1$1: {
  23748. t1 = channel instanceof A.LinearChannel0;
  23749. min = _null;
  23750. t2 = false;
  23751. if (t1)
  23752. if (channel.lowerClamped) {
  23753. min = channel.min;
  23754. t2 = result < min;
  23755. }
  23756. if (t2) {
  23757. t1 = oldValue < min ? Math.max(oldValue, result) : min;
  23758. break $label1$1;
  23759. }
  23760. max = _null;
  23761. t2 = false;
  23762. if (t1)
  23763. if (channel.upperClamped) {
  23764. max = channel.max;
  23765. t1 = result > max;
  23766. } else
  23767. t1 = t2;
  23768. else
  23769. t1 = t2;
  23770. if (t1) {
  23771. t1 = oldValue > max ? Math.min(oldValue, result) : max;
  23772. break $label1$1;
  23773. }
  23774. t1 = result;
  23775. break $label1$1;
  23776. }
  23777. return t1;
  23778. },
  23779. _sniffLegacyColorSpace0(keywords) {
  23780. var t1, t2;
  23781. for (t1 = new A.LinkedHashMapKeyIterator(keywords, keywords._modifications, keywords._first); t1.moveNext$0();) {
  23782. t2 = t1.__js_helper$_current;
  23783. if ("red" === t2 || "green" === t2 || "blue" === t2)
  23784. return B.RgbColorSpace_i0P0;
  23785. if ("saturation" === t2 || "lightness" === t2)
  23786. return B.HslColorSpace_JQ20;
  23787. if ("whiteness" === t2 || "blackness" === t2)
  23788. return B.HwbColorSpace_guQ0;
  23789. }
  23790. return keywords.containsKey$1("hue") ? B.HslColorSpace_JQ20 : null;
  23791. },
  23792. _functionString0($name, $arguments) {
  23793. return new A.SassString0($name + "(" + J.map$1$1$ax($arguments, new A._functionString_closure0(), type$.String).join$1(0, ", ") + ")", false);
  23794. },
  23795. _removedColorFunction0($name, argument, negative) {
  23796. return A.BuiltInCallable$function0($name, "$color, $amount", new A._removedColorFunction_closure0($name, argument, negative), "sass:color");
  23797. },
  23798. _rgb0($name, $arguments) {
  23799. var t3, t4,
  23800. t1 = J.getInterceptor$asx($arguments),
  23801. alpha = t1.get$length($arguments) > 3 ? t1.$index($arguments, 3) : null,
  23802. t2 = true;
  23803. if (!t1.$index($arguments, 0).get$isSpecialNumber())
  23804. if (!t1.$index($arguments, 1).get$isSpecialNumber())
  23805. if (!t1.$index($arguments, 2).get$isSpecialNumber()) {
  23806. t2 = alpha == null ? null : alpha.get$isSpecialNumber();
  23807. t2 = t2 === true;
  23808. }
  23809. if (t2)
  23810. return A._functionString0($name, $arguments);
  23811. t2 = t1.$index($arguments, 0).assertNumber$1("red");
  23812. t3 = t1.$index($arguments, 1).assertNumber$1("green");
  23813. t1 = t1.$index($arguments, 2).assertNumber$1("blue");
  23814. t4 = A.NullableExtension_andThen0(alpha, new A._rgb_closure0());
  23815. return A._colorFromChannels0(B.RgbColorSpace_i0P0, t2, t3, t1, t4 == null ? 1 : t4, true, true);
  23816. },
  23817. _rgbTwoArg0($name, $arguments) {
  23818. var t2, color,
  23819. t1 = J.getInterceptor$asx($arguments),
  23820. first = t1.$index($arguments, 0),
  23821. second = t1.$index($arguments, 1);
  23822. if (!first.get$isVar())
  23823. t2 = !(first instanceof A.SassColor0) && second.get$isVar();
  23824. else
  23825. t2 = true;
  23826. if (t2)
  23827. return A._functionString0($name, $arguments);
  23828. color = first.assertColor$1("color");
  23829. if (!color._color0$_space.get$isLegacyInternal())
  23830. throw A.wrapException(A.SassScriptException$0("Expected " + color.toString$0(0) + string$.x20to_be_ + color.toString$0(0) + ", $alpha: " + second.toString$0(0) + ")", $name));
  23831. color.assertLegacy$1("color");
  23832. color = color.toSpace$1(B.RgbColorSpace_i0P0);
  23833. if (second.get$isSpecialNumber())
  23834. 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));
  23835. t1 = A._percentageOrUnitless0(t1.$index($arguments, 1).assertNumber$1("alpha"), 1, "alpha");
  23836. return color.changeAlpha$1(isNaN(t1) ? 0 : B.JSNumber_methods.clamp$2(t1, 0, 1));
  23837. },
  23838. _hsl0($name, $arguments) {
  23839. var t3, t4,
  23840. t1 = J.getInterceptor$asx($arguments),
  23841. alpha = t1.get$length($arguments) > 3 ? t1.$index($arguments, 3) : null,
  23842. t2 = true;
  23843. if (!t1.$index($arguments, 0).get$isSpecialNumber())
  23844. if (!t1.$index($arguments, 1).get$isSpecialNumber())
  23845. if (!t1.$index($arguments, 2).get$isSpecialNumber()) {
  23846. t2 = alpha == null ? null : alpha.get$isSpecialNumber();
  23847. t2 = t2 === true;
  23848. }
  23849. if (t2)
  23850. return A._functionString0($name, $arguments);
  23851. t2 = t1.$index($arguments, 0).assertNumber$1("hue");
  23852. t3 = t1.$index($arguments, 1).assertNumber$1("saturation");
  23853. t1 = t1.$index($arguments, 2).assertNumber$1("lightness");
  23854. t4 = A.NullableExtension_andThen0(alpha, new A._hsl_closure0());
  23855. return A._colorFromChannels0(B.HslColorSpace_JQ20, t2, t3, t1, t4 == null ? 1 : t4, true, false);
  23856. },
  23857. _angleValue0(angleValue, $name) {
  23858. var angle = angleValue.assertNumber$1($name);
  23859. if (angle.compatibleWithUnit$1("deg"))
  23860. return angle.coerceValueToUnit$1("deg");
  23861. 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);
  23862. return angle._number1$_value;
  23863. },
  23864. _checkPercent0(number, $name) {
  23865. if (number.hasUnit$1("%"))
  23866. return;
  23867. 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);
  23868. },
  23869. _percentageOrUnitless0(number, max, $name) {
  23870. var value;
  23871. if (!number.get$hasUnits())
  23872. value = number._number1$_value;
  23873. else if (number.hasUnit$1("%"))
  23874. value = max * number._number1$_value / 100;
  23875. else
  23876. throw A.wrapException(A.SassScriptException$0("Expected " + number.toString$0(0) + ' to have unit "%" or no units.', $name));
  23877. return value;
  23878. },
  23879. _mixLegacy0(color1, color2, weight) {
  23880. var t2, alphaDistance, weight1, weight2, t3, t4, t5, t6, t7, t8,
  23881. rgb1 = color1.toSpace$1(B.RgbColorSpace_i0P0),
  23882. rgb2 = color2.toSpace$1(B.RgbColorSpace_i0P0),
  23883. weightScale = weight.valueInRange$3(0, 100, "weight") / 100,
  23884. normalizedWeight = weightScale * 2 - 1,
  23885. t1 = color1.alphaOrNull;
  23886. if (t1 == null)
  23887. t1 = 0;
  23888. t2 = color2.alphaOrNull;
  23889. alphaDistance = t1 - (t2 == null ? 0 : t2);
  23890. t1 = normalizedWeight * alphaDistance;
  23891. weight1 = ((t1 === -1 ? normalizedWeight : (normalizedWeight + alphaDistance) / (1 + t1)) + 1) / 2;
  23892. weight2 = 1 - weight1;
  23893. t1 = rgb1.channel0OrNull;
  23894. if (t1 == null)
  23895. t1 = 0;
  23896. t2 = rgb2.channel0OrNull;
  23897. if (t2 == null)
  23898. t2 = 0;
  23899. t3 = rgb1.channel1OrNull;
  23900. if (t3 == null)
  23901. t3 = 0;
  23902. t4 = rgb2.channel1OrNull;
  23903. if (t4 == null)
  23904. t4 = 0;
  23905. t5 = rgb1.channel2OrNull;
  23906. if (t5 == null)
  23907. t5 = 0;
  23908. t6 = rgb2.channel2OrNull;
  23909. if (t6 == null)
  23910. t6 = 0;
  23911. t7 = rgb1.alphaOrNull;
  23912. if (t7 == null)
  23913. t7 = 0;
  23914. t8 = rgb2.alphaOrNull;
  23915. if (t8 == null)
  23916. t8 = 0;
  23917. return A.SassColor_SassColor$rgbInternal0(t1 * weight1 + t2 * weight2, t3 * weight1 + t4 * weight2, t5 * weight1 + t6 * weight2, t7 * weightScale + t8 * (1 - weightScale), null);
  23918. },
  23919. _opacify0($name, $arguments) {
  23920. var result,
  23921. t1 = J.getInterceptor$asx($arguments),
  23922. color = t1.$index($arguments, 0).assertColor$1("color"),
  23923. amount = t1.$index($arguments, 1).assertNumber$1("amount");
  23924. if (!color._color0$_space.get$isLegacyInternal())
  23925. throw A.wrapException(A.SassScriptException$0($name + string$.x28__is_oa, null));
  23926. t1 = color.alphaOrNull;
  23927. if (t1 == null)
  23928. t1 = 0;
  23929. t1 += amount.valueInRangeWithUnit$4(0, 1, "amount", "");
  23930. result = color.changeAlpha$1(isNaN(t1) ? 0 : B.JSNumber_methods.clamp$2(t1, 0, 1));
  23931. A.warnForDeprecation0($name + "() is deprecated. " + A._suggestScaleAndAdjust0(color, amount._number1$_value, "alpha") + string$.x0a_Morex3ac, B.Deprecation_fdF);
  23932. return result;
  23933. },
  23934. _transparentize0($name, $arguments) {
  23935. var result,
  23936. t1 = J.getInterceptor$asx($arguments),
  23937. color = t1.$index($arguments, 0).assertColor$1("color"),
  23938. amount = t1.$index($arguments, 1).assertNumber$1("amount");
  23939. if (!color._color0$_space.get$isLegacyInternal())
  23940. throw A.wrapException(A.SassScriptException$0($name + string$.x28__is_oa, null));
  23941. t1 = color.alphaOrNull;
  23942. if (t1 == null)
  23943. t1 = 0;
  23944. t1 -= amount.valueInRangeWithUnit$4(0, 1, "amount", "");
  23945. result = color.changeAlpha$1(isNaN(t1) ? 0 : B.JSNumber_methods.clamp$2(t1, 0, 1));
  23946. A.warnForDeprecation0($name + "() is deprecated. " + A._suggestScaleAndAdjust0(color, -amount._number1$_value, "alpha") + string$.x0a_Morex3ac, B.Deprecation_fdF);
  23947. return result;
  23948. },
  23949. _colorInSpace0(colorUntyped, spaceUntyped, legacyMissing) {
  23950. var t1, _s5_ = "space",
  23951. color = colorUntyped.assertColor$1("color");
  23952. if (spaceUntyped.$eq(0, B.C__SassNull0))
  23953. return color;
  23954. t1 = spaceUntyped.assertString$1(_s5_);
  23955. t1.assertUnquoted$1(_s5_);
  23956. return color.toSpace$2$legacyMissing(A.ColorSpace_fromName0(t1._string0$_text, _s5_), legacyMissing);
  23957. },
  23958. _parseChannels0(functionName, input, $name, space) {
  23959. 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;
  23960. if (input.get$isVar())
  23961. return A._functionString0(functionName, A._setArrayType([input], type$.JSArray_Value_2));
  23962. parsedSlash = A._parseSlashChannels0(input, $name);
  23963. if (parsedSlash == null)
  23964. return A._functionString0(functionName, A._setArrayType([input], type$.JSArray_Value_2));
  23965. components = parsedSlash._0;
  23966. alphaValue = parsedSlash._1;
  23967. $label0$0: {
  23968. _2_0 = components.assertCommonListStyle$2$allowSlash($name, false);
  23969. _2_1 = _2_0.length;
  23970. if (_2_1 <= 0)
  23971. throw A.wrapException(A.SassScriptException$0("Color component list may not be empty.", $name));
  23972. _2_5 = _2_1 >= 1;
  23973. _2_6_isSet = _2_5;
  23974. t1 = false;
  23975. if (_2_6_isSet) {
  23976. _2_6 = _2_0[0];
  23977. if (_2_6 instanceof A.SassString0) {
  23978. type$.SassString_2._as(_2_6);
  23979. t1 = !_2_6._string0$_hasQuotes && _2_6._string0$_text.toLowerCase() === "from";
  23980. }
  23981. } else
  23982. _2_6 = _null;
  23983. if (t1)
  23984. return A._functionString0(functionName, A._setArrayType([input], type$.JSArray_Value_2));
  23985. t1 = components.get$isVar();
  23986. if (t1) {
  23987. channels = A._setArrayType([components], type$.JSArray_Value_2);
  23988. break $label0$0;
  23989. }
  23990. channels = _null;
  23991. if (_2_5) {
  23992. first = _2_6_isSet ? _2_6 : _2_0[0];
  23993. rest = B.JSArray_methods.sublist$1(_2_0, 1);
  23994. componentList = _2_0;
  23995. } else {
  23996. componentList = channels;
  23997. rest = componentList;
  23998. first = _null;
  23999. }
  24000. if (_2_5) {
  24001. if (space == null) {
  24002. spaceName = first.assertString$1($name);
  24003. spaceName.assertUnquoted$1($name);
  24004. space = spaceName.get$isVar() ? _null : A.ColorSpace_fromName0(spaceName._string0$_text, $name);
  24005. 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)
  24006. throw A.wrapException(A.SassScriptException$0(string$.The_co + A.S(space) + ". Use the " + A.S(space) + "() function instead.", $name));
  24007. channels = rest;
  24008. } else
  24009. channels = componentList;
  24010. for (i = 0; i < channels.length; ++i) {
  24011. channel = channels[i];
  24012. t1 = false;
  24013. if (!channel.get$isSpecialNumber())
  24014. if (!(channel instanceof A.SassNumber0))
  24015. t1 = !(channel instanceof A.SassString0 && !channel._string0$_hasQuotes && channel._string0$_text.toLowerCase() === "none");
  24016. if (t1) {
  24017. t1 = _null;
  24018. if (space == null)
  24019. channelName = t1;
  24020. else {
  24021. t2 = space._space$_channels;
  24022. t2 = i < 3 ? t2[i] : _null;
  24023. if (!(t2 == null))
  24024. t1 = new A._parseChannels_closure1().call$1(t2.name);
  24025. channelName = t1;
  24026. }
  24027. if (channelName == null)
  24028. channelName = "channel " + (i + 1);
  24029. throw A.wrapException(A.SassScriptException$0("Expected " + channelName + " to be a number, was " + channel.toString$0(0) + ".", $name));
  24030. }
  24031. }
  24032. break $label0$0;
  24033. }
  24034. throw A.wrapException("unreachable");
  24035. }
  24036. t1 = alphaValue == null;
  24037. t2 = t1 ? _null : alphaValue.get$isSpecialNumber();
  24038. if (t2 === true) {
  24039. if (channels.length === 3 && B.Set_9FDyj0.contains$1(0, space)) {
  24040. t1 = A.List_List$_of(channels, type$.Value_2);
  24041. alphaValue.toString;
  24042. t1.push(alphaValue);
  24043. t1 = A._functionString0(functionName, t1);
  24044. } else
  24045. t1 = A._functionString0(functionName, A._setArrayType([input], type$.JSArray_Value_2));
  24046. return t1;
  24047. }
  24048. $label1$1: {
  24049. if (t1) {
  24050. t2 = 1;
  24051. break $label1$1;
  24052. }
  24053. if (alphaValue instanceof A.SassString0 && !alphaValue._string0$_hasQuotes && "none" === alphaValue._string0$_text) {
  24054. t2 = _null;
  24055. break $label1$1;
  24056. }
  24057. t2 = A._percentageOrUnitless0(alphaValue.assertNumber$1($name), 1, "alpha");
  24058. t2 = isNaN(t2) ? 0 : B.JSNumber_methods.clamp$2(t2, 0, 1);
  24059. break $label1$1;
  24060. }
  24061. if (space == null)
  24062. return A._functionString0(functionName, A._setArrayType([input], type$.JSArray_Value_2));
  24063. if (B.JSArray_methods.any$1(channels, new A._parseChannels_closure2())) {
  24064. if (channels.length === 3 && B.Set_9FDyj0.contains$1(0, space)) {
  24065. t2 = A.List_List$_of(channels, type$.Value_2);
  24066. if (!t1)
  24067. t2.push(alphaValue);
  24068. t1 = A._functionString0(functionName, t2);
  24069. } else
  24070. t1 = A._functionString0(functionName, A._setArrayType([input], type$.JSArray_Value_2));
  24071. return t1;
  24072. }
  24073. if (channels.length !== 3)
  24074. 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));
  24075. t1 = channels[0];
  24076. t1 = t1 instanceof A.SassNumber0 ? t1 : _null;
  24077. t3 = channels[1];
  24078. t3 = t3 instanceof A.SassNumber0 ? t3 : _null;
  24079. t4 = channels[2];
  24080. t4 = t4 instanceof A.SassNumber0 ? t4 : _null;
  24081. return A._colorFromChannels0(space, t1, t3, t4, t2, true, space === B.RgbColorSpace_i0P0);
  24082. },
  24083. _parseSlashChannels0(input, $name) {
  24084. 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,
  24085. _1_0 = input.assertCommonListStyle$2$allowSlash($name, true);
  24086. $label0$0: {
  24087. _1_1 = _1_0.length;
  24088. alphaValue = _null;
  24089. t1 = false;
  24090. if (_1_1 === 2) {
  24091. components = _1_0[0];
  24092. alphaValue = _1_0[1];
  24093. t1 = input.get$separator(input) === B.ListSeparator_bRz0;
  24094. } else
  24095. components = _null;
  24096. if (t1) {
  24097. t1 = new A._Record_2(components, alphaValue);
  24098. break $label0$0;
  24099. }
  24100. t1 = input.get$separator(input);
  24101. if (t1 === B.ListSeparator_bRz0) {
  24102. t1 = _1_0.length;
  24103. A.throwExpression(A.SassScriptException$0(string$.Only_2 + t1 + " " + A.pluralize0("was", t1, "were") + " passed.", $name));
  24104. }
  24105. _1_7 = _1_1 >= 1;
  24106. _1_8_isSet = _1_7;
  24107. _1_9 = _null;
  24108. t1 = false;
  24109. if (_1_8_isSet) {
  24110. _1_8 = B.JSArray_methods.sublist$2(_1_0, 0, _1_1 - 1);
  24111. initial = _1_8;
  24112. _1_9 = _1_0[_1_1 - 1];
  24113. t2 = _1_9;
  24114. if (t2 instanceof A.SassString0) {
  24115. type$.SassString_2._as(_1_9);
  24116. t1 = !_1_9._string0$_hasQuotes;
  24117. }
  24118. } else {
  24119. initial = _null;
  24120. _1_8 = initial;
  24121. }
  24122. if (t1) {
  24123. if (_1_8_isSet)
  24124. t1 = _1_9;
  24125. else {
  24126. _1_9 = _1_0[_1_1 - 1];
  24127. t1 = _1_9;
  24128. }
  24129. _0_0 = type$.SassString_2._as(t1)._string0$_text.split("/");
  24130. $label1$1: {
  24131. _0_1 = _0_0.length;
  24132. if (_0_1 === 1) {
  24133. t1 = new A._Record_2(input, _null);
  24134. break $label1$1;
  24135. }
  24136. if (_0_1 === 2) {
  24137. channel3 = _0_0[0];
  24138. alpha = _0_0[1];
  24139. t1 = A.List_List$_of(initial, type$.Value_2);
  24140. t1.push(A._parseNumberOrString0(channel3));
  24141. t1 = new A._Record_2(A.SassList$0(t1, B.ListSeparator_qSL0, false), A._parseNumberOrString0(alpha));
  24142. break $label1$1;
  24143. }
  24144. t1 = _null;
  24145. break $label1$1;
  24146. }
  24147. break $label0$0;
  24148. }
  24149. _1_16 = _null;
  24150. _1_16_isSet = false;
  24151. t1 = false;
  24152. if (_1_7) {
  24153. _1_9_isSet = true;
  24154. if (_1_8_isSet)
  24155. initial = _1_8;
  24156. else {
  24157. _1_8 = B.JSArray_methods.sublist$2(_1_0, 0, _1_1 - 1);
  24158. initial = _1_8;
  24159. }
  24160. if (_1_8_isSet) {
  24161. t2 = _1_9;
  24162. _1_9_isSet0 = _1_8_isSet;
  24163. } else {
  24164. _1_9 = _1_0[_1_1 - 1];
  24165. t2 = _1_9;
  24166. _1_9_isSet0 = _1_9_isSet;
  24167. }
  24168. _1_16_isSet = t2 instanceof A.SassNumber0;
  24169. if (_1_16_isSet) {
  24170. if (_1_9_isSet0) {
  24171. t1 = _1_9;
  24172. _1_9_isSet = _1_9_isSet0;
  24173. } else {
  24174. _1_9 = _1_0[_1_1 - 1];
  24175. t1 = _1_9;
  24176. }
  24177. _1_16 = type$.SassNumber_2._as(t1).asSlash;
  24178. t1 = _1_16;
  24179. t1 = type$.Record_2_nullable_Object_and_nullable_Object._is(t1);
  24180. } else
  24181. _1_9_isSet = _1_9_isSet0;
  24182. } else {
  24183. initial = _null;
  24184. _1_9_isSet = _1_8_isSet;
  24185. }
  24186. if (t1) {
  24187. if (_1_16_isSet)
  24188. t1 = _1_16;
  24189. else {
  24190. if (_1_9_isSet)
  24191. t1 = _1_9;
  24192. else {
  24193. _1_9 = _1_0[_1_1 - 1];
  24194. t1 = _1_9;
  24195. _1_9_isSet = true;
  24196. }
  24197. _1_16 = type$.SassNumber_2._as(t1).asSlash;
  24198. t1 = _1_16;
  24199. _1_16_isSet = true;
  24200. }
  24201. if (t1 == null)
  24202. t1 = type$.Record_2_nullable_Object_and_nullable_Object._as(t1);
  24203. if (_1_16_isSet)
  24204. t2 = _1_16;
  24205. else {
  24206. if (_1_9_isSet)
  24207. t2 = _1_9;
  24208. else {
  24209. _1_9 = _1_0[_1_1 - 1];
  24210. t2 = _1_9;
  24211. }
  24212. _1_16 = type$.SassNumber_2._as(t2).asSlash;
  24213. t2 = _1_16;
  24214. }
  24215. if (t2 == null)
  24216. t2 = type$.Record_2_nullable_Object_and_nullable_Object._as(t2);
  24217. t3 = A.List_List$_of(initial, type$.Value_2);
  24218. t3.push(t1._0);
  24219. t1 = new A._Record_2(A.SassList$0(t3, B.ListSeparator_qSL0, false), t2._1);
  24220. break $label0$0;
  24221. }
  24222. t1 = new A._Record_2(input, _null);
  24223. break $label0$0;
  24224. }
  24225. return t1;
  24226. },
  24227. _parseNumberOrString0(text) {
  24228. var t1, expression, exception;
  24229. try {
  24230. t1 = A.ScssParser$0(text, null);
  24231. expression = t1._stylesheet0$_parseSingleProduction$1$1(t1.get$_stylesheet0$_number(), type$.NumberExpression_2);
  24232. t1 = A.SassNumber_SassNumber0(expression.value, expression.unit);
  24233. return t1;
  24234. } catch (exception) {
  24235. if (type$.SassFormatException_2._is(A.unwrapException(exception)))
  24236. return new A.SassString0(text, false);
  24237. else
  24238. throw exception;
  24239. }
  24240. },
  24241. _colorFromChannels0(space, channel0, channel1, channel2, alpha, clamp, fromRgbFunction) {
  24242. var t1, t2, whiteness, blackness, t3;
  24243. switch (space) {
  24244. case B.HslColorSpace_JQ20:
  24245. if (channel1 != null)
  24246. A._checkPercent0(channel1, "saturation");
  24247. if (channel2 != null)
  24248. A._checkPercent0(channel2, "lightness");
  24249. t1 = space._space$_channels;
  24250. 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);
  24251. case B.HwbColorSpace_guQ0:
  24252. t1 = channel1 == null;
  24253. if (!t1)
  24254. channel1.assertUnit$2("%", "whiteness");
  24255. t2 = channel2 == null;
  24256. if (!t2)
  24257. channel2.assertUnit$2("%", "blackness");
  24258. whiteness = t1 ? null : channel1._number1$_value;
  24259. blackness = t2 ? null : channel2._number1$_value;
  24260. if (whiteness != null && blackness != null && whiteness + blackness > 100) {
  24261. t1 = whiteness + blackness;
  24262. whiteness = whiteness / t1 * 100;
  24263. blackness = blackness / t1 * 100;
  24264. }
  24265. return A.SassColor_SassColor$hwb0(A.NullableExtension_andThen0(channel0, new A._colorFromChannels_closure2()), whiteness, blackness, alpha);
  24266. case B.RgbColorSpace_i0P0:
  24267. t1 = space._space$_channels;
  24268. t2 = A._channelFromValue0(t1[0], channel0, clamp);
  24269. t3 = A._channelFromValue0(t1[1], channel1, clamp);
  24270. t1 = A._channelFromValue0(t1[2], channel2, clamp);
  24271. return A.SassColor_SassColor$rgbInternal0(t2, t3, t1, alpha, fromRgbFunction ? B.C__ColorFormatEnum0 : null);
  24272. default:
  24273. t1 = space._space$_channels;
  24274. 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);
  24275. }
  24276. },
  24277. _forcePercent0(number) {
  24278. var t1, _0_3;
  24279. $label0$0: {
  24280. if (number == null) {
  24281. t1 = null;
  24282. break $label0$0;
  24283. }
  24284. _0_3 = number.get$numeratorUnits(number);
  24285. if (_0_3.length === 1)
  24286. t1 = "%" === _0_3[0] && number.get$denominatorUnits(number).length <= 0;
  24287. else
  24288. t1 = false;
  24289. if (t1) {
  24290. t1 = number;
  24291. break $label0$0;
  24292. }
  24293. t1 = A.SassNumber_SassNumber0(number._number1$_value, "%");
  24294. break $label0$0;
  24295. }
  24296. return t1;
  24297. },
  24298. _channelFromValue0(channel, value, clamp) {
  24299. return A.NullableExtension_andThen0(value, new A._channelFromValue_closure0(channel, clamp));
  24300. },
  24301. _isNone0(value) {
  24302. return value instanceof A.SassString0 && !value._string0$_hasQuotes && value._string0$_text.toLowerCase() === "none";
  24303. },
  24304. _channelFunction0($name, space, getter, global, unit) {
  24305. return A.BuiltInCallable$function0($name, "$color", new A._channelFunction_closure0(getter, unit, global, $name, space), "sass:color");
  24306. },
  24307. _suggestScaleAndAdjust0(original, adjustment, channelName) {
  24308. var t2, oldValue, newValue, factor, t3, suggestion,
  24309. channel = channelName === "alpha" ? B.LinearChannel_XL80 : type$.LinearChannel_2._as(B.JSArray_methods.firstWhere$1(B.List_oAL0, new A._suggestScaleAndAdjust_closure0(channelName))),
  24310. t1 = channel === B.LinearChannel_XL80;
  24311. if (t1) {
  24312. t2 = original.alphaOrNull;
  24313. oldValue = t2 == null ? 0 : t2;
  24314. } else
  24315. oldValue = original.toSpace$1(B.HslColorSpace_JQ20).channel$1(0, channelName);
  24316. newValue = oldValue + adjustment;
  24317. if (adjustment !== 0) {
  24318. factor = A._Cell$();
  24319. t2 = channel.max;
  24320. if (newValue > t2)
  24321. factor.__late_helper$_value = 1;
  24322. else {
  24323. t3 = channel.min;
  24324. if (newValue < t3)
  24325. factor.__late_helper$_value = -1;
  24326. else if (adjustment > 0)
  24327. factor.__late_helper$_value = adjustment / (t2 - oldValue);
  24328. else
  24329. factor.__late_helper$_value = (newValue - oldValue) / (oldValue - t3);
  24330. }
  24331. suggestion = "Suggestion" + ("s:\n\ncolor.scale($color, $" + channelName + ": " + A.SassNumber_SassNumber0(factor._readLocal$0() * 100, "%").toString$0(0) + ")\n");
  24332. } else
  24333. suggestion = "Suggestion:\n\n";
  24334. return suggestion + ("color.adjust($color, $" + channelName + ": " + A.SassNumber_SassNumber0(adjustment, t1 ? null : "%").toString$0(0) + ")");
  24335. },
  24336. _missingChannelError0(color, channel) {
  24337. return A.throwExpression(A.SassScriptException$0(string$.Becaus + color.toString$0(0) + ").", channel));
  24338. },
  24339. _channelName0(value) {
  24340. var t1 = value.assertString$1("channel");
  24341. t1.assertQuoted$1("channel");
  24342. return t1._string0$_text;
  24343. },
  24344. _function12($name, $arguments, callback) {
  24345. return A.BuiltInCallable$function0($name, $arguments, callback, "sass:color");
  24346. },
  24347. global_closure44: function global_closure44() {
  24348. },
  24349. global_closure45: function global_closure45() {
  24350. },
  24351. global_closure46: function global_closure46() {
  24352. },
  24353. global_closure47: function global_closure47() {
  24354. },
  24355. global_closure48: function global_closure48() {
  24356. },
  24357. global_closure49: function global_closure49() {
  24358. },
  24359. global_closure50: function global_closure50() {
  24360. },
  24361. global_closure51: function global_closure51() {
  24362. },
  24363. global_closure52: function global_closure52() {
  24364. },
  24365. global_closure53: function global_closure53() {
  24366. },
  24367. global_closure54: function global_closure54() {
  24368. },
  24369. global_closure55: function global_closure55() {
  24370. },
  24371. global_closure56: function global_closure56() {
  24372. },
  24373. global_closure57: function global_closure57() {
  24374. },
  24375. global_closure58: function global_closure58() {
  24376. },
  24377. global_closure59: function global_closure59() {
  24378. },
  24379. global_closure60: function global_closure60() {
  24380. },
  24381. global_closure61: function global_closure61() {
  24382. },
  24383. global_closure62: function global_closure62() {
  24384. },
  24385. global_closure63: function global_closure63() {
  24386. },
  24387. global_closure64: function global_closure64() {
  24388. },
  24389. global_closure65: function global_closure65() {
  24390. },
  24391. global_closure66: function global_closure66() {
  24392. },
  24393. global_closure67: function global_closure67() {
  24394. },
  24395. global_closure68: function global_closure68() {
  24396. },
  24397. global_closure69: function global_closure69() {
  24398. },
  24399. global_closure70: function global_closure70() {
  24400. },
  24401. global_closure71: function global_closure71() {
  24402. },
  24403. global_closure72: function global_closure72() {
  24404. },
  24405. global_closure73: function global_closure73() {
  24406. },
  24407. global_closure74: function global_closure74() {
  24408. },
  24409. global_closure75: function global_closure75() {
  24410. },
  24411. global_closure76: function global_closure76() {
  24412. },
  24413. global_closure77: function global_closure77() {
  24414. },
  24415. global_closure78: function global_closure78() {
  24416. },
  24417. global_closure79: function global_closure79() {
  24418. },
  24419. global__closure0: function global__closure0() {
  24420. },
  24421. global_closure80: function global_closure80() {
  24422. },
  24423. global_closure81: function global_closure81() {
  24424. },
  24425. global_closure82: function global_closure82() {
  24426. },
  24427. global_closure83: function global_closure83() {
  24428. },
  24429. global_closure84: function global_closure84() {
  24430. },
  24431. global_closure85: function global_closure85() {
  24432. },
  24433. global_closure86: function global_closure86() {
  24434. },
  24435. module_closure27: function module_closure27() {
  24436. },
  24437. module_closure28: function module_closure28() {
  24438. },
  24439. module_closure29: function module_closure29() {
  24440. },
  24441. module_closure30: function module_closure30() {
  24442. },
  24443. module_closure31: function module_closure31() {
  24444. },
  24445. module_closure32: function module_closure32() {
  24446. },
  24447. module_closure33: function module_closure33() {
  24448. },
  24449. module_closure34: function module_closure34() {
  24450. },
  24451. module_closure35: function module_closure35() {
  24452. },
  24453. module_closure36: function module_closure36() {
  24454. },
  24455. module_closure37: function module_closure37() {
  24456. },
  24457. module_closure38: function module_closure38() {
  24458. },
  24459. module_closure39: function module_closure39() {
  24460. },
  24461. module_closure40: function module_closure40() {
  24462. },
  24463. module__closure6: function module__closure6() {
  24464. },
  24465. module_closure41: function module_closure41() {
  24466. },
  24467. module_closure42: function module_closure42() {
  24468. },
  24469. module_closure43: function module_closure43() {
  24470. },
  24471. module_closure44: function module_closure44() {
  24472. },
  24473. module_closure45: function module_closure45() {
  24474. },
  24475. module_closure46: function module_closure46() {
  24476. },
  24477. module_closure47: function module_closure47() {
  24478. },
  24479. module_closure48: function module_closure48() {
  24480. },
  24481. module__closure5: function module__closure5(t0) {
  24482. this.channelName = t0;
  24483. },
  24484. module_closure49: function module_closure49() {
  24485. },
  24486. module_closure_toXyzNoMissing0: function module_closure_toXyzNoMissing0() {
  24487. },
  24488. module_closure50: function module_closure50() {
  24489. },
  24490. _mix_closure0: function _mix_closure0() {
  24491. },
  24492. _complement_closure0: function _complement_closure0() {
  24493. },
  24494. _adjust_closure0: function _adjust_closure0() {
  24495. },
  24496. _scale_closure0: function _scale_closure0() {
  24497. },
  24498. _change_closure0: function _change_closure0() {
  24499. },
  24500. _ieHexStr_closure0: function _ieHexStr_closure0() {
  24501. },
  24502. _ieHexStr_closure_hexString0: function _ieHexStr_closure_hexString0() {
  24503. },
  24504. _updateComponents_closure1: function _updateComponents_closure1(t0) {
  24505. this.originalColor = t0;
  24506. },
  24507. _updateComponents_closure2: function _updateComponents_closure2(t0) {
  24508. this._box_0 = t0;
  24509. },
  24510. _changeColor_closure0: function _changeColor_closure0(t0) {
  24511. this.alphaArg = t0;
  24512. },
  24513. _adjustColor_closure0: function _adjustColor_closure0() {
  24514. },
  24515. _functionString_closure0: function _functionString_closure0() {
  24516. },
  24517. _removedColorFunction_closure0: function _removedColorFunction_closure0(t0, t1, t2) {
  24518. this.name = t0;
  24519. this.argument = t1;
  24520. this.negative = t2;
  24521. },
  24522. _rgb_closure0: function _rgb_closure0() {
  24523. },
  24524. _hsl_closure0: function _hsl_closure0() {
  24525. },
  24526. _parseChannels_closure1: function _parseChannels_closure1() {
  24527. },
  24528. _parseChannels_closure2: function _parseChannels_closure2() {
  24529. },
  24530. _colorFromChannels_closure1: function _colorFromChannels_closure1() {
  24531. },
  24532. _colorFromChannels_closure2: function _colorFromChannels_closure2() {
  24533. },
  24534. _channelFromValue_closure0: function _channelFromValue_closure0(t0, t1) {
  24535. this.channel = t0;
  24536. this.clamp = t1;
  24537. },
  24538. _channelFunction_closure0: function _channelFunction_closure0(t0, t1, t2, t3, t4) {
  24539. var _ = this;
  24540. _.getter = t0;
  24541. _.unit = t1;
  24542. _.global = t2;
  24543. _.name = t3;
  24544. _.space = t4;
  24545. },
  24546. _suggestScaleAndAdjust_closure0: function _suggestScaleAndAdjust_closure0(t0) {
  24547. this.channelName = t0;
  24548. },
  24549. _constructionSpace(options) {
  24550. var t1 = J.getInterceptor$x(options);
  24551. if (t1.get$space(options) != null) {
  24552. t1 = t1.get$space(options);
  24553. t1.toString;
  24554. return A.ColorSpace_fromName0(t1, null);
  24555. }
  24556. if (t1.get$red(options) != null)
  24557. return B.RgbColorSpace_i0P0;
  24558. if (t1.get$saturation(options) != null)
  24559. return B.HslColorSpace_JQ20;
  24560. if (t1.get$whiteness(options) != null)
  24561. return B.HwbColorSpace_guQ0;
  24562. throw A.wrapException("No color space found");
  24563. },
  24564. _toSpace($self, space) {
  24565. return $self.toSpace$1(A.ColorSpace_fromName0(space == null ? $self._color0$_space.name : space, null));
  24566. },
  24567. _checkNullAlphaDeprecation(options) {
  24568. var t1 = J.getInterceptor$x(options),
  24569. t2 = t1.get$alpha(options);
  24570. if (!A._asBool($.$get$_isUndefined().call$1(t2)) && t1.get$alpha(options) == null && t1.get$space(options) == null)
  24571. A.warnForDeprecationFromApi(string$.Passin_, B.Deprecation_l0m);
  24572. },
  24573. colorClass_closure: function colorClass_closure() {
  24574. },
  24575. colorClass__closure: function colorClass__closure() {
  24576. },
  24577. colorClass__closure0: function colorClass__closure0() {
  24578. },
  24579. colorClass__closure1: function colorClass__closure1() {
  24580. },
  24581. colorClass__closure2: function colorClass__closure2() {
  24582. },
  24583. colorClass__closure3: function colorClass__closure3() {
  24584. },
  24585. colorClass__closure4: function colorClass__closure4() {
  24586. },
  24587. colorClass__closure5: function colorClass__closure5() {
  24588. },
  24589. colorClass__closure6: function colorClass__closure6() {
  24590. },
  24591. colorClass__closure7: function colorClass__closure7() {
  24592. },
  24593. colorClass__closure8: function colorClass__closure8() {
  24594. },
  24595. colorClass___closure: function colorClass___closure(t0) {
  24596. this.key = t0;
  24597. },
  24598. colorClass__closure_changedValue: function colorClass__closure_changedValue(t0, t1) {
  24599. this.color = t0;
  24600. this.options = t1;
  24601. },
  24602. colorClass__closure9: function colorClass__closure9() {
  24603. },
  24604. colorClass__closure10: function colorClass__closure10() {
  24605. },
  24606. colorClass__closure11: function colorClass__closure11() {
  24607. },
  24608. colorClass__closure12: function colorClass__closure12() {
  24609. },
  24610. colorClass__closure13: function colorClass__closure13() {
  24611. },
  24612. colorClass__closure14: function colorClass__closure14() {
  24613. },
  24614. colorClass__closure15: function colorClass__closure15() {
  24615. },
  24616. colorClass__closure16: function colorClass__closure16() {
  24617. },
  24618. colorClass__closure17: function colorClass__closure17() {
  24619. },
  24620. colorClass__closure18: function colorClass__closure18() {
  24621. },
  24622. colorClass__closure19: function colorClass__closure19() {
  24623. },
  24624. colorClass__closure20: function colorClass__closure20() {
  24625. },
  24626. colorClass__closure21: function colorClass__closure21() {
  24627. },
  24628. colorClass__closure22: function colorClass__closure22() {
  24629. },
  24630. _Channels: function _Channels() {
  24631. },
  24632. _ConstructionOptions: function _ConstructionOptions() {
  24633. },
  24634. _ChannelOptions: function _ChannelOptions() {
  24635. },
  24636. _ToGamutOptions: function _ToGamutOptions() {
  24637. },
  24638. _InterpolationOptions: function _InterpolationOptions() {
  24639. },
  24640. _NodeSassColor: function _NodeSassColor() {
  24641. },
  24642. legacyColorClass_closure: function legacyColorClass_closure() {
  24643. },
  24644. legacyColorClass__closure: function legacyColorClass__closure() {
  24645. },
  24646. legacyColorClass_closure0: function legacyColorClass_closure0() {
  24647. },
  24648. legacyColorClass_closure1: function legacyColorClass_closure1() {
  24649. },
  24650. legacyColorClass_closure2: function legacyColorClass_closure2() {
  24651. },
  24652. legacyColorClass_closure3: function legacyColorClass_closure3() {
  24653. },
  24654. legacyColorClass_closure4: function legacyColorClass_closure4() {
  24655. },
  24656. legacyColorClass_closure5: function legacyColorClass_closure5() {
  24657. },
  24658. legacyColorClass_closure6: function legacyColorClass_closure6() {
  24659. },
  24660. legacyColorClass_closure7: function legacyColorClass_closure7() {
  24661. },
  24662. SassColor_SassColor$rgb0(red, green, blue, alpha) {
  24663. return A.SassColor_SassColor$rgbInternal0(red, green, blue, alpha, null);
  24664. },
  24665. SassColor_SassColor$rgbInternal0(red, green, blue, alpha, format) {
  24666. var _null = null,
  24667. t1 = red == null ? _null : red,
  24668. t2 = green == null ? _null : green,
  24669. t3 = blue == null ? _null : blue;
  24670. return A.SassColor$_forSpace0(B.RgbColorSpace_i0P0, t1, t2, t3, alpha == null ? _null : alpha, format);
  24671. },
  24672. SassColor_SassColor$hsl0(hue, saturation, lightness, alpha) {
  24673. var _null = null,
  24674. t1 = hue == null ? _null : hue,
  24675. t2 = saturation == null ? _null : saturation,
  24676. t3 = lightness == null ? _null : lightness;
  24677. return A.SassColor_SassColor$forSpaceInternal0(B.HslColorSpace_JQ20, t1, t2, t3, alpha == null ? _null : alpha);
  24678. },
  24679. SassColor_SassColor$hwb0(hue, whiteness, blackness, alpha) {
  24680. var _null = null,
  24681. t1 = hue == null ? _null : hue,
  24682. t2 = whiteness == null ? _null : whiteness,
  24683. t3 = blackness == null ? _null : blackness;
  24684. return A.SassColor_SassColor$forSpaceInternal0(B.HwbColorSpace_guQ0, t1, t2, t3, alpha == null ? _null : alpha);
  24685. },
  24686. SassColor_SassColor$forSpaceInternal0(space, channel0, channel1, channel2, alpha) {
  24687. var t1, t2, _null = null;
  24688. $label0$0: {
  24689. if (B.HslColorSpace_JQ20 === space) {
  24690. t1 = channel1 == null;
  24691. t2 = A.SassColor__normalizeHue0(channel0, !t1 && channel1 < 0 && !A.fuzzyEquals0(channel1, 0));
  24692. t2 = A.SassColor$_forSpace0(space, t2, t1 ? _null : Math.abs(channel1), channel2, alpha, _null);
  24693. t1 = t2;
  24694. break $label0$0;
  24695. }
  24696. if (B.HwbColorSpace_guQ0 === space) {
  24697. t1 = A.SassColor$_forSpace0(space, A.SassColor__normalizeHue0(channel0, false), channel1, channel2, alpha, _null);
  24698. break $label0$0;
  24699. }
  24700. if (B.LchColorSpace_Bpv0 === space || B.OklchColorSpace_9Gj0 === space) {
  24701. t1 = channel1 == null;
  24702. t2 = t1 ? _null : Math.abs(channel1);
  24703. t2 = A.SassColor$_forSpace0(space, channel0, t2, A.SassColor__normalizeHue0(channel2, !t1 && channel1 < 0 && !A.fuzzyEquals0(channel1, 0)), alpha, _null);
  24704. t1 = t2;
  24705. break $label0$0;
  24706. }
  24707. t1 = A.SassColor$_forSpace0(space, channel0, channel1, channel2, alpha, _null);
  24708. break $label0$0;
  24709. }
  24710. return t1;
  24711. },
  24712. SassColor$_forSpace0(_space, channel0OrNull, channel1OrNull, channel2OrNull, alpha, format) {
  24713. return new A.SassColor0(_space, channel0OrNull, channel1OrNull, channel2OrNull, format, A.NullableExtension_andThen0(alpha, new A.SassColor$_forSpace_closure0()));
  24714. },
  24715. SassColor__normalizeHue0(hue, invert) {
  24716. var t1, t2;
  24717. if (hue == null)
  24718. return hue;
  24719. t1 = B.JSNumber_methods.$mod(hue, 360);
  24720. t2 = invert ? 180 : 0;
  24721. return B.JSNumber_methods.$mod(t1 + 360 + t2, 360);
  24722. },
  24723. SassColor0: function SassColor0(t0, t1, t2, t3, t4, t5) {
  24724. var _ = this;
  24725. _._color0$_space = t0;
  24726. _.channel0OrNull = t1;
  24727. _.channel1OrNull = t2;
  24728. _.channel2OrNull = t3;
  24729. _.format = t4;
  24730. _.alphaOrNull = t5;
  24731. },
  24732. SassColor$_forSpace_closure0: function SassColor$_forSpace_closure0() {
  24733. },
  24734. _ColorFormatEnum0: function _ColorFormatEnum0() {
  24735. },
  24736. SpanColorFormat0: function SpanColorFormat0(t0) {
  24737. this._color0$_span = t0;
  24738. },
  24739. Combinator0: function Combinator0(t0, t1) {
  24740. this._combinator0$_text = t0;
  24741. this._name = t1;
  24742. },
  24743. ModifiableCssComment0: function ModifiableCssComment0(t0, t1) {
  24744. var _ = this;
  24745. _.text = t0;
  24746. _.span = t1;
  24747. _._node$_indexInParent = _._node$_parent = null;
  24748. _.isGroupEnd = false;
  24749. },
  24750. compile0(path, options) {
  24751. var color, ascii, logger, result, error, stackTrace, t1, color0, ascii0, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, exception, _null = null;
  24752. if (!A.isNodeJs())
  24753. A.jsThrow(new self.Error("The compile() method is only available in Node.js."));
  24754. t1 = options == null;
  24755. color0 = t1 ? _null : J.get$alertColor$x(options);
  24756. color = color0 == null ? A.hasTerminal0() : color0;
  24757. ascii0 = t1 ? _null : J.get$alertAscii$x(options);
  24758. ascii = ascii0 == null ? $._glyphs === B.C_AsciiGlyphSet : ascii0;
  24759. t2 = t1 ? _null : J.get$logger$x(options);
  24760. t3 = ascii;
  24761. if (t3 == null)
  24762. t3 = $._glyphs === B.C_AsciiGlyphSet;
  24763. logger = new A.JSToDartLogger(t2, new A.StderrLogger0(color), t3);
  24764. try {
  24765. t2 = t1 ? _null : J.get$loadPaths$x(options);
  24766. t3 = t1 ? _null : J.get$quietDeps$x(options);
  24767. if (t3 == null)
  24768. t3 = false;
  24769. t4 = A._parseOutputStyle0(t1 ? _null : J.get$style$x(options));
  24770. t5 = t1 ? _null : J.get$verbose$x(options);
  24771. if (t5 == null)
  24772. t5 = false;
  24773. t6 = t1 ? _null : J.get$charset$x(options);
  24774. if (t6 == null)
  24775. t6 = true;
  24776. t7 = t1 ? _null : J.get$sourceMap$x(options);
  24777. if (t7 == null)
  24778. t7 = false;
  24779. if (t1)
  24780. t8 = _null;
  24781. else {
  24782. t8 = J.get$importers$x(options);
  24783. t8 = t8 == null ? _null : J.map$1$1$ax(t8, A.compile___parseImporter$closure(), type$.Importer);
  24784. }
  24785. t9 = A._parseFunctions0(t1 ? _null : J.get$functions$x(options), false);
  24786. t10 = t1 ? _null : J.get$fatalDeprecations$x(options);
  24787. t10 = A.parseDeprecations(logger, t10, true);
  24788. t11 = t1 ? _null : J.get$silenceDeprecations$x(options);
  24789. t11 = A.parseDeprecations(logger, t11, false);
  24790. t12 = t1 ? _null : J.get$futureDeprecations$x(options);
  24791. 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);
  24792. t1 = t1 ? _null : J.get$sourceMapIncludeSources$x(options);
  24793. if (t1 == null)
  24794. t1 = false;
  24795. t1 = A._convertResult(result, t1);
  24796. return t1;
  24797. } catch (exception) {
  24798. t1 = A.unwrapException(exception);
  24799. if (t1 instanceof A.SassException0) {
  24800. error = t1;
  24801. stackTrace = A.getTraceFromException(exception);
  24802. A.throwNodeException(error, ascii, color, stackTrace);
  24803. } else
  24804. throw exception;
  24805. }
  24806. },
  24807. compileString0(text, options) {
  24808. var logger, result, error, stackTrace, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, exception, _null = null,
  24809. t1 = options == null,
  24810. color0 = t1 ? _null : J.get$alertColor$x(options),
  24811. color = color0 == null ? A.hasTerminal0() : color0,
  24812. ascii0 = t1 ? _null : J.get$alertAscii$x(options),
  24813. ascii = ascii0 == null ? $._glyphs === B.C_AsciiGlyphSet : ascii0,
  24814. t2 = t1 ? _null : J.get$logger$x(options),
  24815. t3 = ascii;
  24816. if (t3 == null)
  24817. t3 = $._glyphs === B.C_AsciiGlyphSet;
  24818. logger = new A.JSToDartLogger(t2, new A.StderrLogger0(color), t3);
  24819. try {
  24820. t2 = A.parseSyntax(t1 ? _null : J.get$syntax$x(options));
  24821. t3 = t1 ? _null : A.NullableExtension_andThen0(J.get$url$x(options), A.utils3__jsToDartUrl$closure());
  24822. t4 = t1 ? _null : J.get$loadPaths$x(options);
  24823. t5 = t1 ? _null : J.get$quietDeps$x(options);
  24824. if (t5 == null)
  24825. t5 = false;
  24826. t6 = A._parseOutputStyle0(t1 ? _null : J.get$style$x(options));
  24827. t7 = t1 ? _null : J.get$verbose$x(options);
  24828. if (t7 == null)
  24829. t7 = false;
  24830. t8 = t1 ? _null : J.get$charset$x(options);
  24831. if (t8 == null)
  24832. t8 = true;
  24833. t9 = t1 ? _null : J.get$sourceMap$x(options);
  24834. if (t9 == null)
  24835. t9 = false;
  24836. if (t1)
  24837. t10 = _null;
  24838. else {
  24839. t10 = J.get$importers$x(options);
  24840. t10 = t10 == null ? _null : J.map$1$1$ax(t10, A.compile___parseImporter$closure(), type$.Importer);
  24841. }
  24842. t11 = t1 ? _null : A.NullableExtension_andThen0(J.get$importer$x(options), A.compile___parseImporter$closure());
  24843. if (t11 == null)
  24844. t11 = (t1 ? _null : J.get$url$x(options)) == null ? new A.NoOpImporter0() : _null;
  24845. t12 = A._parseFunctions0(t1 ? _null : J.get$functions$x(options), false);
  24846. t13 = t1 ? _null : J.get$fatalDeprecations$x(options);
  24847. t13 = A.parseDeprecations(logger, t13, true);
  24848. t14 = t1 ? _null : J.get$silenceDeprecations$x(options);
  24849. t14 = A.parseDeprecations(logger, t14, false);
  24850. t15 = t1 ? _null : J.get$futureDeprecations$x(options);
  24851. 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);
  24852. t1 = t1 ? _null : J.get$sourceMapIncludeSources$x(options);
  24853. if (t1 == null)
  24854. t1 = false;
  24855. t1 = A._convertResult(result, t1);
  24856. return t1;
  24857. } catch (exception) {
  24858. t1 = A.unwrapException(exception);
  24859. if (t1 instanceof A.SassException0) {
  24860. error = t1;
  24861. stackTrace = A.getTraceFromException(exception);
  24862. A.throwNodeException(error, ascii, color, stackTrace);
  24863. } else
  24864. throw exception;
  24865. }
  24866. },
  24867. compileAsync1(path, options) {
  24868. var t1, color, ascii;
  24869. if (!A.isNodeJs())
  24870. A.jsThrow(new self.Error("The compileAsync() method is only available in Node.js."));
  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.compileAsync_closure(path, color, options, new A.JSToDartLogger(t1, new A.StderrLogger0(color), ascii)).call$0()), ascii, color);
  24880. },
  24881. compileStringAsync1(text, options) {
  24882. var ascii,
  24883. t1 = options == null,
  24884. color = t1 ? null : J.get$alertColor$x(options);
  24885. if (color == null)
  24886. color = A.hasTerminal0();
  24887. ascii = t1 ? null : J.get$alertAscii$x(options);
  24888. if (ascii == null)
  24889. ascii = $._glyphs === B.C_AsciiGlyphSet;
  24890. t1 = t1 ? null : J.get$logger$x(options);
  24891. 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);
  24892. },
  24893. _convertResult(result, includeSourceContents) {
  24894. var loadedUrls,
  24895. t1 = result._compile_result$_serialize,
  24896. t2 = t1._1,
  24897. sourceMap = t2 == null ? null : t2.toJson$1$includeSourceContents(includeSourceContents);
  24898. if (type$.Map_dynamic_dynamic._is(sourceMap) && !sourceMap.containsKey$1("sources"))
  24899. sourceMap.$indexSet(0, "sources", A._setArrayType([], type$.JSArray_String));
  24900. loadedUrls = A.toJSArray(result._evaluate._0.map$1$1(0, A.utils3__dartToJSUrl$closure(), type$.nullable_Object));
  24901. t1 = t1._0;
  24902. return sourceMap == null ? {css: t1, loadedUrls: loadedUrls} : {css: t1, sourceMap: A.jsify0(sourceMap), loadedUrls: loadedUrls};
  24903. },
  24904. _wrapAsyncSassExceptions(promise, ascii, color) {
  24905. return J.then$2$x(promise, null, A.allowInterop(new A._wrapAsyncSassExceptions_closure(color, ascii)));
  24906. },
  24907. _parseOutputStyle0(style) {
  24908. var t1;
  24909. $label0$0: {
  24910. if (style == null || "expanded" === style) {
  24911. t1 = B.OutputStyle_00;
  24912. break $label0$0;
  24913. }
  24914. if ("compressed" === style) {
  24915. t1 = B.OutputStyle_10;
  24916. break $label0$0;
  24917. }
  24918. t1 = A.jsThrow(new self.Error('Unknown output style "' + style + '".'));
  24919. }
  24920. return t1;
  24921. },
  24922. _parseAsyncImporter(importer) {
  24923. var t1, canonicalize, load, _0_0;
  24924. if (importer instanceof A.NodePackageImporter0)
  24925. return importer;
  24926. if (importer == null)
  24927. A.jsThrow(new self.Error("Importers may not be null."));
  24928. type$.JSImporter._as(importer);
  24929. t1 = J.getInterceptor$x(importer);
  24930. canonicalize = t1.get$canonicalize(importer);
  24931. load = t1.get$load(importer);
  24932. _0_0 = t1.get$findFileUrl(importer);
  24933. if (_0_0 != null)
  24934. if (canonicalize != null || load != null)
  24935. A.jsThrow(new self.Error(string$.An_impa));
  24936. else
  24937. return new A.JSToDartAsyncFileImporter(_0_0);
  24938. else if (canonicalize == null || load == null)
  24939. A.jsThrow(new self.Error(string$.An_impu));
  24940. else {
  24941. t1 = A._normalizeNonCanonicalSchemes(t1.get$nonCanonicalScheme(importer));
  24942. t1 = t1 == null ? B.Set_empty1 : A.Set_Set$unmodifiable(t1, type$.String);
  24943. t1.forEach$1(0, A.utils4__validateUrlScheme$closure());
  24944. return new A.JSToDartAsyncImporter(canonicalize, load, t1);
  24945. }
  24946. },
  24947. _parseImporter0(importer) {
  24948. var t1, canonicalize, load, _0_0;
  24949. if (importer instanceof A.NodePackageImporter0)
  24950. return importer;
  24951. if (importer == null)
  24952. A.jsThrow(new self.Error("Importers may not be null."));
  24953. type$.JSImporter._as(importer);
  24954. t1 = J.getInterceptor$x(importer);
  24955. canonicalize = t1.get$canonicalize(importer);
  24956. load = t1.get$load(importer);
  24957. _0_0 = t1.get$findFileUrl(importer);
  24958. if (_0_0 != null)
  24959. if (canonicalize != null || load != null)
  24960. A.jsThrow(new self.Error(string$.An_impa));
  24961. else
  24962. return new A.JSToDartFileImporter(_0_0);
  24963. else if (canonicalize == null || load == null)
  24964. A.jsThrow(new self.Error(string$.An_impu));
  24965. else {
  24966. t1 = A._normalizeNonCanonicalSchemes(t1.get$nonCanonicalScheme(importer));
  24967. t1 = t1 == null ? B.Set_empty1 : A.Set_Set$unmodifiable(t1, type$.String);
  24968. t1.forEach$1(0, A.utils4__validateUrlScheme$closure());
  24969. return new A.JSToDartImporter(canonicalize, load, t1);
  24970. }
  24971. },
  24972. _normalizeNonCanonicalSchemes(schemes) {
  24973. var t1;
  24974. $label0$0: {
  24975. if (typeof schemes == "string") {
  24976. t1 = A._setArrayType([schemes], type$.JSArray_String);
  24977. break $label0$0;
  24978. }
  24979. if (type$.List_dynamic._is(schemes)) {
  24980. t1 = J.cast$1$0$ax(schemes, type$.String);
  24981. break $label0$0;
  24982. }
  24983. if (schemes == null) {
  24984. t1 = null;
  24985. break $label0$0;
  24986. }
  24987. t1 = A.jsThrow(new self.Error('nonCanonicalScheme must be a string or list of strings, was "' + A.S(schemes) + '"'));
  24988. }
  24989. return t1;
  24990. },
  24991. _simplifyValue(value) {
  24992. 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;
  24993. $label1$1: {
  24994. if (value instanceof A.SassCalculation0) {
  24995. _0_1 = value.name;
  24996. t1 = value.$arguments;
  24997. t2 = A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,Object>");
  24998. _0_4 = A.List_List$_of(new A.MappedListIterable(t1, A.compile___simplifyCalcArg$closure(), t2), t2._eval$1("ListIterable.E"));
  24999. $label0$0: {
  25000. _0_3 = "calc" === _0_1;
  25001. _0_5_isSet = _0_3;
  25002. if (_0_5_isSet) {
  25003. _0_5 = _0_4.length;
  25004. t1 = _0_5;
  25005. _0_40 = _0_4;
  25006. t1 = t1 === 1;
  25007. } else {
  25008. _0_40 = _null;
  25009. _0_5 = _0_40;
  25010. t1 = false;
  25011. }
  25012. if (t1) {
  25013. _0_8 = (_0_5_isSet ? _0_40 : _0_4)[0];
  25014. first = _0_8;
  25015. type$.Value_2._as(first);
  25016. t1 = first;
  25017. break $label0$0;
  25018. }
  25019. if (_0_3)
  25020. A.throwExpression(A.ArgumentError$("calc() requires exactly one argument.", _null));
  25021. _0_10 = "clamp" === _0_1;
  25022. t1 = _0_10;
  25023. if (t1) {
  25024. if (_0_5_isSet) {
  25025. t1 = _0_5;
  25026. _0_4_isSet = _0_5_isSet;
  25027. } else {
  25028. _0_5 = _0_4.length;
  25029. t1 = _0_5;
  25030. _0_40 = _0_4;
  25031. _0_4_isSet = true;
  25032. }
  25033. t1 = t1 === 3;
  25034. } else {
  25035. _0_4_isSet = _0_5_isSet;
  25036. t1 = false;
  25037. }
  25038. if (t1) {
  25039. if (_0_4_isSet)
  25040. t1 = _0_40;
  25041. else {
  25042. t1 = _0_4;
  25043. _0_40 = t1;
  25044. _0_4_isSet = true;
  25045. }
  25046. _0_8 = t1[0];
  25047. min = _0_8;
  25048. if (_0_4_isSet)
  25049. t1 = _0_40;
  25050. else {
  25051. t1 = _0_4;
  25052. _0_40 = t1;
  25053. _0_4_isSet = true;
  25054. }
  25055. value = t1[1];
  25056. t1 = A.SassCalculation_clamp0(min, value, (_0_4_isSet ? _0_40 : _0_4)[2]);
  25057. break $label0$0;
  25058. }
  25059. if (_0_10)
  25060. A.throwExpression(A.ArgumentError$("clamp() requires exactly 3 arguments.", _null));
  25061. if ("min" === _0_1) {
  25062. t1 = A.SassCalculation_min0(_0_4_isSet ? _0_40 : _0_4);
  25063. break $label0$0;
  25064. }
  25065. if ("max" === _0_1) {
  25066. t1 = A.SassCalculation_max0(_0_4_isSet ? _0_40 : _0_4);
  25067. break $label0$0;
  25068. }
  25069. t1 = A.throwExpression(A.ArgumentError$('"' + _0_1 + '" is not a recognized calculation type.', _null));
  25070. }
  25071. break $label1$1;
  25072. }
  25073. t1 = value;
  25074. break $label1$1;
  25075. }
  25076. return t1;
  25077. },
  25078. _simplifyCalcArg(value) {
  25079. var t1;
  25080. $label0$0: {
  25081. if (value instanceof A.SassCalculation0) {
  25082. t1 = A._simplifyValue(value);
  25083. break $label0$0;
  25084. }
  25085. if (value instanceof A.CalculationOperation0) {
  25086. t1 = A.SassCalculation_operateInternal0(value._calculation0$_operator, A._simplifyCalcArg(value._calculation0$_left), A._simplifyCalcArg(value._calculation0$_right), null, true, null);
  25087. break $label0$0;
  25088. }
  25089. t1 = value;
  25090. break $label0$0;
  25091. }
  25092. return t1;
  25093. },
  25094. _parseFunctions0(functions, asynch) {
  25095. var result;
  25096. if (functions == null)
  25097. return B.List_empty28;
  25098. result = A._setArrayType([], type$.JSArray_AsyncCallable_2);
  25099. A.jsForEach(functions, new A._parseFunctions_closure0(asynch, result));
  25100. return result;
  25101. },
  25102. compileAsync_closure: function compileAsync_closure(t0, t1, t2, t3) {
  25103. var _ = this;
  25104. _.path = t0;
  25105. _.color = t1;
  25106. _.options = t2;
  25107. _.logger = t3;
  25108. },
  25109. compileAsync__closure: function compileAsync__closure() {
  25110. },
  25111. compileStringAsync_closure: function compileStringAsync_closure(t0, t1, t2, t3) {
  25112. var _ = this;
  25113. _.text = t0;
  25114. _.options = t1;
  25115. _.color = t2;
  25116. _.logger = t3;
  25117. },
  25118. compileStringAsync__closure: function compileStringAsync__closure() {
  25119. },
  25120. compileStringAsync__closure0: function compileStringAsync__closure0() {
  25121. },
  25122. _wrapAsyncSassExceptions_closure: function _wrapAsyncSassExceptions_closure(t0, t1) {
  25123. this.color = t0;
  25124. this.ascii = t1;
  25125. },
  25126. _parseFunctions_closure0: function _parseFunctions_closure0(t0, t1) {
  25127. this.asynch = t0;
  25128. this.result = t1;
  25129. },
  25130. _parseFunctions__closure2: function _parseFunctions__closure2(t0, t1) {
  25131. this.callback = t0;
  25132. this.callable = t1;
  25133. },
  25134. _parseFunctions___closure6: function _parseFunctions___closure6(t0, t1) {
  25135. this.callback = t0;
  25136. this.$arguments = t1;
  25137. },
  25138. _parseFunctions__closure3: function _parseFunctions__closure3(t0, t1) {
  25139. this.callback = t0;
  25140. this.callable = t1;
  25141. },
  25142. _parseFunctions___closure5: function _parseFunctions___closure5(t0, t1) {
  25143. this.callback = t0;
  25144. this.$arguments = t1;
  25145. },
  25146. nodePackageImporterClass_closure: function nodePackageImporterClass_closure() {
  25147. },
  25148. nodePackageImporterClass__closure: function nodePackageImporterClass__closure() {
  25149. },
  25150. compile(path, charset, fatalDeprecations, functions, futureDeprecations, importCache, indentWidth, lineFeed, logger, nodeImporter, quietDeps, silenceDeprecations, sourceMap, style, syntax, useSpaces, verbose) {
  25151. var t3, t4, t0, stylesheet, result, _null = null,
  25152. t1 = type$.Deprecation_3,
  25153. t2 = A.LinkedHashSet_LinkedHashSet$_empty(t1);
  25154. if (silenceDeprecations != null)
  25155. t2.addAll$1(0, silenceDeprecations);
  25156. t3 = A.LinkedHashSet_LinkedHashSet$_empty(t1);
  25157. if (fatalDeprecations != null)
  25158. t3.addAll$1(0, fatalDeprecations);
  25159. t4 = A.LinkedHashSet_LinkedHashSet$_empty(t1);
  25160. if (futureDeprecations != null)
  25161. t4.addAll$1(0, futureDeprecations);
  25162. logger = new A.DeprecationProcessingLogger0(A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.int), logger, t2, t3, t4, !verbose);
  25163. logger.validate$0();
  25164. t1 = nodeImporter == null;
  25165. if (t1)
  25166. t2 = syntax == null || syntax === A.Syntax_forPath0(path);
  25167. else
  25168. t2 = false;
  25169. if (t2) {
  25170. if (importCache == null)
  25171. importCache = A.ImportCache$none();
  25172. t2 = $.$get$FilesystemImporter_cwd0();
  25173. t3 = A.isNodeJs() ? self.process : _null;
  25174. if (!J.$eq$(t3 == null ? _null : J.get$platform$x(t3), "win32")) {
  25175. t3 = A.isNodeJs() ? self.process : _null;
  25176. t3 = J.$eq$(t3 == null ? _null : J.get$platform$x(t3), "darwin");
  25177. } else
  25178. t3 = true;
  25179. if (t3) {
  25180. t3 = A.absolute(path, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null);
  25181. t4 = $.$get$context();
  25182. t3 = A._realCasePath0(t4.normalize$1(t3));
  25183. } else {
  25184. t3 = $.$get$context();
  25185. t4 = t3.canonicalize$1(0, path);
  25186. t0 = t4;
  25187. t4 = t3;
  25188. t3 = t0;
  25189. }
  25190. t4 = importCache.importCanonical$3$originalUrl(t2, t4.toUri$1(t3), t4.toUri$1(path));
  25191. t4.toString;
  25192. stylesheet = t4;
  25193. } else {
  25194. t2 = A.readFile0(path);
  25195. t3 = syntax == null ? A.Syntax_forPath0(path) : syntax;
  25196. stylesheet = A.Stylesheet_Stylesheet$parse0(t2, t3, $.$get$context().toUri$1(path));
  25197. }
  25198. result = A._compileStylesheet1(stylesheet, logger, importCache, nodeImporter, $.$get$FilesystemImporter_cwd0(), functions, style, useSpaces, indentWidth, lineFeed, quietDeps, sourceMap, charset);
  25199. logger.summarize$1$js(!t1);
  25200. return result;
  25201. },
  25202. compileString(source, charset, fatalDeprecations, functions, futureDeprecations, importCache, importer, indentWidth, lineFeed, logger, nodeImporter, quietDeps, silenceDeprecations, sourceMap, style, syntax, url, useSpaces, verbose) {
  25203. var t3, t4, stylesheet, _0_0, result,
  25204. t1 = type$.Deprecation_3,
  25205. t2 = A.LinkedHashSet_LinkedHashSet$_empty(t1);
  25206. if (silenceDeprecations != null)
  25207. t2.addAll$1(0, silenceDeprecations);
  25208. t3 = A.LinkedHashSet_LinkedHashSet$_empty(t1);
  25209. if (fatalDeprecations != null)
  25210. t3.addAll$1(0, fatalDeprecations);
  25211. t4 = A.LinkedHashSet_LinkedHashSet$_empty(t1);
  25212. if (futureDeprecations != null)
  25213. t4.addAll$1(0, futureDeprecations);
  25214. logger = new A.DeprecationProcessingLogger0(A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.int), logger, t2, t3, t4, !verbose);
  25215. logger.validate$0();
  25216. stylesheet = A.Stylesheet_Stylesheet$parse0(source, syntax == null ? B.Syntax_SCSS_scss0 : syntax, url);
  25217. _0_0 = stylesheet.span.file.url;
  25218. if (type$.Uri._is(_0_0) && "" === _0_0.get$scheme() && nodeImporter == null)
  25219. A.WarnForDeprecation_warnForDeprecation0(logger, B.Deprecation_pIR, "Passing a relative `url` argument (" + _0_0.toString$0(0) + string$.x29x20to_cm, null, null);
  25220. if (importer == null)
  25221. t1 = A.isBrowser() ? new A.NoOpImporter0() : $.$get$FilesystemImporter_cwd0();
  25222. else
  25223. t1 = importer;
  25224. result = A._compileStylesheet1(stylesheet, logger, importCache, nodeImporter, t1, functions, style, useSpaces, indentWidth, lineFeed, quietDeps, sourceMap, charset);
  25225. logger.summarize$1$js(nodeImporter != null);
  25226. return result;
  25227. },
  25228. _compileStylesheet1(stylesheet, logger, importCache, nodeImporter, importer, functions, style, useSpaces, indentWidth, lineFeed, quietDeps, sourceMap, charset) {
  25229. var evaluateResult, serializeResult, resultSourceMap;
  25230. if (nodeImporter != null)
  25231. A.WarnForDeprecation_warnForDeprecation0(logger, B.Deprecation_F8y, string$.The_le, null, null);
  25232. evaluateResult = A._EvaluateVisitor$1(functions, importCache, logger, nodeImporter, quietDeps, sourceMap).run$2(0, importer, stylesheet);
  25233. serializeResult = A.serialize0(evaluateResult._1, charset, indentWidth, false, lineFeed, logger, sourceMap, style, useSpaces);
  25234. resultSourceMap = serializeResult._1;
  25235. if (resultSourceMap != null && importCache != null)
  25236. A.mapInPlace0(resultSourceMap.urls, new A._compileStylesheet_closure1(stylesheet, importCache));
  25237. return new A.CompileResult0(evaluateResult, serializeResult);
  25238. },
  25239. _compileStylesheet_closure1: function _compileStylesheet_closure1(t0, t1) {
  25240. this.stylesheet = t0;
  25241. this.importCache = t1;
  25242. },
  25243. CompileOptions: function CompileOptions() {
  25244. },
  25245. CompileStringOptions: function CompileStringOptions() {
  25246. },
  25247. NodeCompileResult: function NodeCompileResult() {
  25248. },
  25249. CompileResult0: function CompileResult0(t0, t1) {
  25250. this._evaluate = t0;
  25251. this._compile_result$_serialize = t1;
  25252. },
  25253. initCompiler() {
  25254. return new A.Compiler();
  25255. },
  25256. initAsyncCompiler() {
  25257. return A.futureToPromise0(new A.initAsyncCompiler_closure().call$0());
  25258. },
  25259. Compiler: function Compiler() {
  25260. this._disposed = false;
  25261. },
  25262. AsyncCompiler: function AsyncCompiler(t0) {
  25263. this.compilations = t0;
  25264. this._disposed = false;
  25265. },
  25266. AsyncCompiler_addCompilation_closure: function AsyncCompiler_addCompilation_closure() {
  25267. },
  25268. compilerClass_closure: function compilerClass_closure() {
  25269. },
  25270. compilerClass__closure: function compilerClass__closure() {
  25271. },
  25272. compilerClass__closure0: function compilerClass__closure0() {
  25273. },
  25274. compilerClass__closure1: function compilerClass__closure1() {
  25275. },
  25276. compilerClass__closure2: function compilerClass__closure2() {
  25277. },
  25278. asyncCompilerClass_closure: function asyncCompilerClass_closure() {
  25279. },
  25280. asyncCompilerClass__closure: function asyncCompilerClass__closure() {
  25281. },
  25282. asyncCompilerClass__closure0: function asyncCompilerClass__closure0() {
  25283. },
  25284. asyncCompilerClass__closure1: function asyncCompilerClass__closure1() {
  25285. },
  25286. asyncCompilerClass__closure2: function asyncCompilerClass__closure2() {
  25287. },
  25288. asyncCompilerClass___closure: function asyncCompilerClass___closure(t0) {
  25289. this.self = t0;
  25290. },
  25291. initAsyncCompiler_closure: function initAsyncCompiler_closure() {
  25292. },
  25293. ComplexSassNumber0: function ComplexSassNumber0(t0, t1, t2, t3) {
  25294. var _ = this;
  25295. _._complex0$_numeratorUnits = t0;
  25296. _._complex0$_denominatorUnits = t1;
  25297. _._number1$_value = t2;
  25298. _.hashCache = null;
  25299. _.asSlash = t3;
  25300. },
  25301. ComplexSelector$0(leadingCombinators, components, span, lineBreak) {
  25302. var t1 = A.List_List$unmodifiable(leadingCombinators, type$.CssValue_Combinator_2),
  25303. t2 = A.List_List$unmodifiable(components, type$.ComplexSelectorComponent_2);
  25304. if (t1.length === 0 && t2.length === 0)
  25305. A.throwExpression(A.ArgumentError$(string$.leadin, null));
  25306. return new A.ComplexSelector0(t1, t2, lineBreak, span);
  25307. },
  25308. ComplexSelector0: function ComplexSelector0(t0, t1, t2, t3) {
  25309. var _ = this;
  25310. _.leadingCombinators = t0;
  25311. _.components = t1;
  25312. _.lineBreak = t2;
  25313. _._complex$__ComplexSelector_specificity_FI = $;
  25314. _.span = t3;
  25315. },
  25316. ComplexSelector_specificity_closure0: function ComplexSelector_specificity_closure0() {
  25317. },
  25318. ComplexSelectorComponent0: function ComplexSelectorComponent0(t0, t1, t2) {
  25319. this.selector = t0;
  25320. this.combinators = t1;
  25321. this.span = t2;
  25322. },
  25323. ComplexSelectorComponent_toString_closure0: function ComplexSelectorComponent_toString_closure0() {
  25324. },
  25325. CompoundSelector$0(components, span) {
  25326. var t1 = A.List_List$unmodifiable(components, type$.SimpleSelector_2);
  25327. if (t1.length === 0)
  25328. A.throwExpression(A.ArgumentError$("components may not be empty.", null));
  25329. return new A.CompoundSelector0(t1, span);
  25330. },
  25331. CompoundSelector0: function CompoundSelector0(t0, t1) {
  25332. var _ = this;
  25333. _.components = t0;
  25334. _._compound$__CompoundSelector_hasComplicatedSuperselectorSemantics_FI = _._compound$__CompoundSelector_specificity_FI = $;
  25335. _.span = t1;
  25336. },
  25337. CompoundSelector_specificity_closure0: function CompoundSelector_specificity_closure0() {
  25338. },
  25339. CompoundSelector_hasComplicatedSuperselectorSemantics_closure0: function CompoundSelector_hasComplicatedSuperselectorSemantics_closure0() {
  25340. },
  25341. Configuration0: function Configuration0(t0, t1) {
  25342. this._configuration0$_values = t0;
  25343. this._configuration0$__originalConfiguration = t1;
  25344. },
  25345. ExplicitConfiguration0: function ExplicitConfiguration0(t0, t1, t2) {
  25346. this.nodeWithSpan = t0;
  25347. this._configuration0$_values = t1;
  25348. this._configuration0$__originalConfiguration = t2;
  25349. },
  25350. ConfiguredValue0: function ConfiguredValue0(t0, t1, t2) {
  25351. this.value = t0;
  25352. this.configurationSpan = t1;
  25353. this.assignmentNode = t2;
  25354. },
  25355. ConfiguredVariable0: function ConfiguredVariable0(t0, t1, t2, t3) {
  25356. var _ = this;
  25357. _.name = t0;
  25358. _.expression = t1;
  25359. _.isGuarded = t2;
  25360. _.span = t3;
  25361. },
  25362. ContentBlock$0(parameters, children, span) {
  25363. var _s8_ = "@content",
  25364. t1 = A.stringReplaceAllUnchecked(_s8_, "_", "-"),
  25365. t2 = A.List_List$unmodifiable(children, type$.Statement_2),
  25366. t3 = B.JSArray_methods.any$1(t2, new A.ParentStatement_closure0());
  25367. return new A.ContentBlock0(t1, _s8_, parameters, span, t2, t3);
  25368. },
  25369. ContentBlock0: function ContentBlock0(t0, t1, t2, t3, t4, t5) {
  25370. var _ = this;
  25371. _.name = t0;
  25372. _.originalName = t1;
  25373. _.parameters = t2;
  25374. _.span = t3;
  25375. _.children = t4;
  25376. _.hasDeclarations = t5;
  25377. },
  25378. ContentRule0: function ContentRule0(t0, t1) {
  25379. this.$arguments = t0;
  25380. this.span = t1;
  25381. },
  25382. _disallowedFunctionNames_closure0: function _disallowedFunctionNames_closure0() {
  25383. },
  25384. CssParser0: function CssParser0(t0, t1, t2, t3) {
  25385. var _ = this;
  25386. _._stylesheet0$_isUseAllowed = true;
  25387. _._stylesheet0$_inExpression = _._stylesheet0$_inParentheses = _._stylesheet0$_inStyleRule = _._stylesheet0$_inUnknownAtRule = _._stylesheet0$_inControlDirective = _._stylesheet0$_inContentBlock = _._stylesheet0$_inMixin = false;
  25388. _._stylesheet0$_globalVariables = t0;
  25389. _.warnings = t1;
  25390. _.lastSilentComment = null;
  25391. _.scanner = t2;
  25392. _._parser1$_interpolationMap = t3;
  25393. },
  25394. DebugRule0: function DebugRule0(t0, t1) {
  25395. this.expression = t0;
  25396. this.span = t1;
  25397. },
  25398. ModifiableCssDeclaration$0($name, value, span, interleavedRules, parsedAsCustomProperty, trace, valueSpanForMap) {
  25399. var t3,
  25400. t1 = interleavedRules == null ? B.List_empty25 : A.List_List$unmodifiable(interleavedRules, type$.CssStyleRule_2),
  25401. t2 = valueSpanForMap == null ? value.span : valueSpanForMap;
  25402. if (parsedAsCustomProperty)
  25403. if (!J.startsWith$1$s($name.value, "--"))
  25404. A.throwExpression(A.ArgumentError$(string$.parsed, null));
  25405. else {
  25406. t3 = value.value;
  25407. if (!(t3 instanceof A.SassString0))
  25408. A.throwExpression(A.ArgumentError$(string$.If_par + value.toString$0(0) + "` of type " + A.getRuntimeTypeOfDartObject(t3).toString$0(0) + ").", null));
  25409. }
  25410. return new A.ModifiableCssDeclaration0($name, value, parsedAsCustomProperty, t1, trace, t2, span);
  25411. },
  25412. ModifiableCssDeclaration0: function ModifiableCssDeclaration0(t0, t1, t2, t3, t4, t5, t6) {
  25413. var _ = this;
  25414. _.name = t0;
  25415. _.value = t1;
  25416. _.parsedAsCustomProperty = t2;
  25417. _.interleavedRules = t3;
  25418. _.trace = t4;
  25419. _.valueSpanForMap = t5;
  25420. _.span = t6;
  25421. _._node$_indexInParent = _._node$_parent = null;
  25422. _.isGroupEnd = false;
  25423. },
  25424. Declaration$0($name, value, span) {
  25425. return new A.Declaration0($name, value, span, null, false);
  25426. },
  25427. Declaration$nested0($name, children, span, value) {
  25428. var t1 = A.List_List$unmodifiable(children, type$.Statement_2),
  25429. t2 = B.JSArray_methods.any$1(t1, new A.ParentStatement_closure0());
  25430. return new A.Declaration0($name, value, span, t1, t2);
  25431. },
  25432. Declaration0: function Declaration0(t0, t1, t2, t3, t4) {
  25433. var _ = this;
  25434. _.name = t0;
  25435. _.value = t1;
  25436. _.span = t2;
  25437. _.children = t3;
  25438. _.hasDeclarations = t4;
  25439. },
  25440. SupportsDeclaration0: function SupportsDeclaration0(t0, t1, t2) {
  25441. this.name = t0;
  25442. this.value = t1;
  25443. this.span = t2;
  25444. },
  25445. Deprecation_fromId0(id) {
  25446. return A.IterableExtension_firstWhereOrNull(B.List_FlM, new A.Deprecation_fromId_closure0(id));
  25447. },
  25448. Deprecation_forVersion0(version) {
  25449. var t2, _i, deprecation, $self, t3,
  25450. t1 = A.LinkedHashSet_LinkedHashSet$_empty(type$.Deprecation_3);
  25451. for (t2 = A.VersionRange_VersionRange(true, version).get$allows(), _i = 0; _i < 26; ++_i) {
  25452. deprecation = B.List_FlM[_i];
  25453. $self = deprecation._deprecation$_deprecatedIn;
  25454. t3 = $self == null ? null : A.Version___parse_tearOff($self);
  25455. t3 = t3 == null ? null : t2.call$1(t3);
  25456. if (t3 == null ? false : t3)
  25457. t1.add$1(0, deprecation);
  25458. }
  25459. return t1;
  25460. },
  25461. Deprecation0: function Deprecation0(t0, t1, t2, t3) {
  25462. var _ = this;
  25463. _.id = t0;
  25464. _._deprecation$_deprecatedIn = t1;
  25465. _.description = t2;
  25466. _._name = t3;
  25467. },
  25468. Deprecation_fromId_closure0: function Deprecation_fromId_closure0(t0) {
  25469. this.id = t0;
  25470. },
  25471. DeprecationProcessingLogger0: function DeprecationProcessingLogger0(t0, t1, t2, t3, t4, t5) {
  25472. var _ = this;
  25473. _._deprecation_processing$_warningCounts = t0;
  25474. _._deprecation_processing$_inner = t1;
  25475. _.silenceDeprecations = t2;
  25476. _.fatalDeprecations = t3;
  25477. _.futureDeprecations = t4;
  25478. _.limitRepetition = t5;
  25479. },
  25480. DeprecationProcessingLogger_summarize_closure1: function DeprecationProcessingLogger_summarize_closure1() {
  25481. },
  25482. DeprecationProcessingLogger_summarize_closure2: function DeprecationProcessingLogger_summarize_closure2() {
  25483. },
  25484. parseDeprecations(logger, deprecations, supportVersions) {
  25485. if (deprecations == null)
  25486. return null;
  25487. return new A.parseDeprecations_closure(deprecations, logger, supportVersions).call$0();
  25488. },
  25489. Deprecation1: function Deprecation1() {
  25490. },
  25491. deprecations_closure: function deprecations_closure(t0) {
  25492. this.deprecation = t0;
  25493. },
  25494. parseDeprecations_closure: function parseDeprecations_closure(t0, t1, t2) {
  25495. this.deprecations = t0;
  25496. this.logger = t1;
  25497. this.supportVersions = t2;
  25498. },
  25499. versionClass_closure: function versionClass_closure() {
  25500. },
  25501. versionClass__closure: function versionClass__closure() {
  25502. },
  25503. versionClass__closure0: function versionClass__closure0() {
  25504. },
  25505. DisplayP3ColorSpace0: function DisplayP3ColorSpace0(t0, t1) {
  25506. this.name = t0;
  25507. this._space$_channels = t1;
  25508. },
  25509. DynamicImport0: function DynamicImport0(t0, t1) {
  25510. this.urlString = t0;
  25511. this.span = t1;
  25512. },
  25513. EachRule$0(variables, list, children, span) {
  25514. var t1 = A.List_List$unmodifiable(variables, type$.String),
  25515. t2 = A.List_List$unmodifiable(children, type$.Statement_2),
  25516. t3 = B.JSArray_methods.any$1(t2, new A.ParentStatement_closure0());
  25517. return new A.EachRule0(t1, list, span, t2, t3);
  25518. },
  25519. EachRule0: function EachRule0(t0, t1, t2, t3, t4) {
  25520. var _ = this;
  25521. _.variables = t0;
  25522. _.list = t1;
  25523. _.span = t2;
  25524. _.children = t3;
  25525. _.hasDeclarations = t4;
  25526. },
  25527. EachRule_toString_closure0: function EachRule_toString_closure0() {
  25528. },
  25529. EmptyExtensionStore0: function EmptyExtensionStore0() {
  25530. },
  25531. Environment$0() {
  25532. var t1 = type$.String,
  25533. t2 = type$.Module_Callable_2,
  25534. t3 = type$.AstNode_2,
  25535. t4 = type$.int,
  25536. t5 = type$.Callable_2,
  25537. t6 = type$.JSArray_Map_String_Callable_2;
  25538. 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, A.LinkedHashSet_LinkedHashSet$_empty(t1));
  25539. },
  25540. Environment$_0(_modules, _namespaceNodes, _globalModules, _importedModules, _forwardedModules, _nestedForwardedModules, _allModules, _variables, _variableNodes, _functions, _mixins, _content, _configurableVariables) {
  25541. var t1 = type$.String,
  25542. t2 = type$.int;
  25543. 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, _configurableVariables);
  25544. },
  25545. _EnvironmentModule__EnvironmentModule1(environment, css, preModuleComments, extensionStore, forwarded) {
  25546. var t1, t2, t3, t4, t5, t6, module, result, t7;
  25547. if (forwarded == null)
  25548. forwarded = B.Set_empty5;
  25549. t1 = type$.dynamic;
  25550. t1 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
  25551. 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();) {
  25552. t6 = t4.get$current(t4);
  25553. module = t6._0;
  25554. result = A.List_List$from(t6._1, false, t5);
  25555. result.$flags = 3;
  25556. t1.$indexSet(0, module, result);
  25557. }
  25558. t1 = A.ConstantMap_ConstantMap$from(t1, t2, t3);
  25559. t2 = A._EnvironmentModule__makeModulesByVariable1(forwarded);
  25560. 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);
  25561. 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);
  25562. t5 = type$.Map_String_Callable_2;
  25563. t6 = type$.Callable_2;
  25564. t7 = A._EnvironmentModule__memberMap1(B.JSArray_methods.get$first(environment._environment0$_functions), forwarded.map$1$1(0, new A._EnvironmentModule__EnvironmentModule_closure13(), t5), t6);
  25565. t6 = A._EnvironmentModule__memberMap1(B.JSArray_methods.get$first(environment._environment0$_mixins), forwarded.map$1$1(0, new A._EnvironmentModule__EnvironmentModule_closure14(), t5), t6);
  25566. 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());
  25567. 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()));
  25568. },
  25569. _EnvironmentModule__makeModulesByVariable1(forwarded) {
  25570. var modulesByVariable, t1, t2, t3, t4, t5;
  25571. if (forwarded.get$isEmpty(forwarded))
  25572. return B.Map_empty11;
  25573. modulesByVariable = A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.Module_Callable_2);
  25574. for (t1 = forwarded.get$iterator(forwarded); t1.moveNext$0();) {
  25575. t2 = t1.get$current(t1);
  25576. if (t2 instanceof A._EnvironmentModule1) {
  25577. for (t3 = t2._environment0$_modulesByVariable, t3 = t3.get$values(t3), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
  25578. t4 = t3.get$current(t3);
  25579. t5 = t4.get$variables();
  25580. A.setAll0(modulesByVariable, t5.get$keys(t5), t4);
  25581. }
  25582. A.setAll0(modulesByVariable, J.get$keys$z(B.JSArray_methods.get$first(t2._environment0$_environment._environment0$_variables)), t2);
  25583. } else {
  25584. t3 = t2.get$variables();
  25585. A.setAll0(modulesByVariable, t3.get$keys(t3), t2);
  25586. }
  25587. }
  25588. return modulesByVariable;
  25589. },
  25590. _EnvironmentModule__memberMap1(localMap, otherMaps, $V) {
  25591. var t1, t2, t3;
  25592. localMap = new A.PublicMemberMapView0(localMap, $V._eval$1("PublicMemberMapView0<0>"));
  25593. if (otherMaps.get$isEmpty(otherMaps))
  25594. return localMap;
  25595. t1 = A._setArrayType([], $V._eval$1("JSArray<Map<String,0>>"));
  25596. for (t2 = otherMaps.get$iterator(otherMaps); t2.moveNext$0();) {
  25597. t3 = t2.get$current(t2);
  25598. if (t3.get$isNotEmpty(t3))
  25599. t1.push(t3);
  25600. }
  25601. t1.push(localMap);
  25602. if (t1.length === 1)
  25603. return localMap;
  25604. return A.MergedMapView$0(t1, type$.String, $V);
  25605. },
  25606. _EnvironmentModule$_1(_environment, css, preModuleComments, extensionStore, _modulesByVariable, variables, variableNodes, functions, mixins, transitivelyContainsCss, transitivelyContainsExtensions) {
  25607. return new A._EnvironmentModule1(_environment._environment0$_allModules, variables, variableNodes, functions, mixins, extensionStore, css, preModuleComments, transitivelyContainsCss, transitivelyContainsExtensions, _environment, _modulesByVariable);
  25608. },
  25609. Environment0: function Environment0(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15) {
  25610. var _ = this;
  25611. _._environment0$_modules = t0;
  25612. _._environment0$_namespaceNodes = t1;
  25613. _._environment0$_globalModules = t2;
  25614. _._environment0$_importedModules = t3;
  25615. _._environment0$_forwardedModules = t4;
  25616. _._environment0$_nestedForwardedModules = t5;
  25617. _._environment0$_allModules = t6;
  25618. _._environment0$_variables = t7;
  25619. _._environment0$_variableNodes = t8;
  25620. _._environment0$_variableIndices = t9;
  25621. _._environment0$_functions = t10;
  25622. _._environment0$_functionIndices = t11;
  25623. _._environment0$_mixins = t12;
  25624. _._environment0$_mixinIndices = t13;
  25625. _._environment0$_content = t14;
  25626. _._environment0$_configurableVariables = t15;
  25627. _._environment0$_inMixin = false;
  25628. _._environment0$_inSemiGlobalScope = true;
  25629. _._environment0$_lastVariableIndex = _._environment0$_lastVariableName = null;
  25630. },
  25631. Environment__getVariableFromGlobalModule_closure0: function Environment__getVariableFromGlobalModule_closure0(t0) {
  25632. this.name = t0;
  25633. },
  25634. Environment_setVariable_closure2: function Environment_setVariable_closure2(t0, t1) {
  25635. this.$this = t0;
  25636. this.name = t1;
  25637. },
  25638. Environment_setVariable_closure3: function Environment_setVariable_closure3(t0) {
  25639. this.name = t0;
  25640. },
  25641. Environment_setVariable_closure4: function Environment_setVariable_closure4(t0, t1) {
  25642. this.$this = t0;
  25643. this.name = t1;
  25644. },
  25645. Environment__getFunctionFromGlobalModule_closure0: function Environment__getFunctionFromGlobalModule_closure0(t0) {
  25646. this.name = t0;
  25647. },
  25648. Environment__getMixinFromGlobalModule_closure0: function Environment__getMixinFromGlobalModule_closure0(t0) {
  25649. this.name = t0;
  25650. },
  25651. Environment_toModule_closure0: function Environment_toModule_closure0() {
  25652. },
  25653. Environment_toDummyModule_closure0: function Environment_toDummyModule_closure0() {
  25654. },
  25655. _EnvironmentModule1: function _EnvironmentModule1(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11) {
  25656. var _ = this;
  25657. _.upstream = t0;
  25658. _.variables = t1;
  25659. _.variableNodes = t2;
  25660. _.functions = t3;
  25661. _.mixins = t4;
  25662. _.extensionStore = t5;
  25663. _.css = t6;
  25664. _.preModuleComments = t7;
  25665. _.transitivelyContainsCss = t8;
  25666. _.transitivelyContainsExtensions = t9;
  25667. _._environment0$_environment = t10;
  25668. _._environment0$_modulesByVariable = t11;
  25669. },
  25670. _EnvironmentModule__EnvironmentModule_closure11: function _EnvironmentModule__EnvironmentModule_closure11() {
  25671. },
  25672. _EnvironmentModule__EnvironmentModule_closure12: function _EnvironmentModule__EnvironmentModule_closure12() {
  25673. },
  25674. _EnvironmentModule__EnvironmentModule_closure13: function _EnvironmentModule__EnvironmentModule_closure13() {
  25675. },
  25676. _EnvironmentModule__EnvironmentModule_closure14: function _EnvironmentModule__EnvironmentModule_closure14() {
  25677. },
  25678. _EnvironmentModule__EnvironmentModule_closure15: function _EnvironmentModule__EnvironmentModule_closure15() {
  25679. },
  25680. _EnvironmentModule__EnvironmentModule_closure16: function _EnvironmentModule__EnvironmentModule_closure16() {
  25681. },
  25682. _EnvironmentModule_couldHaveBeenConfigured_closure1: function _EnvironmentModule_couldHaveBeenConfigured_closure1(t0) {
  25683. this.variables = t0;
  25684. },
  25685. ErrorRule0: function ErrorRule0(t0, t1) {
  25686. this.expression = t0;
  25687. this.span = t1;
  25688. },
  25689. _EvaluateVisitor$1(functions, importCache, logger, nodeImporter, quietDeps, sourceMap) {
  25690. var t4,
  25691. t1 = type$.Uri,
  25692. t2 = type$.Module_Callable_2,
  25693. t3 = A._setArrayType([], type$.JSArray_Record_2_String_and_AstNode_2);
  25694. if (importCache == null)
  25695. t4 = nodeImporter == null ? A.ImportCache$none() : null;
  25696. else
  25697. t4 = importCache;
  25698. 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);
  25699. t1._EvaluateVisitor$6$functions$importCache$logger$nodeImporter$quietDeps$sourceMap1(functions, importCache, logger, nodeImporter, quietDeps, sourceMap);
  25700. return t1;
  25701. },
  25702. _EvaluateVisitor1: function _EvaluateVisitor1(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16) {
  25703. var _ = this;
  25704. _._evaluate0$_importCache = t0;
  25705. _._nodeImporter = t1;
  25706. _._evaluate0$_builtInFunctions = t2;
  25707. _._evaluate0$_builtInModules = t3;
  25708. _._evaluate0$_modules = t4;
  25709. _._evaluate0$_moduleConfigurations = t5;
  25710. _._evaluate0$_moduleNodes = t6;
  25711. _._evaluate0$_logger = t7;
  25712. _._evaluate0$_warningsEmitted = t8;
  25713. _._evaluate0$_quietDeps = t9;
  25714. _._evaluate0$_sourceMap = t10;
  25715. _._evaluate0$_compileContext = t11;
  25716. _._evaluate0$_environment = t12;
  25717. _._evaluate0$_declarationName = _._evaluate0$__parent = _._evaluate0$_mediaQuerySources = _._evaluate0$_mediaQueries = _._evaluate0$_styleRuleIgnoringAtRoot = null;
  25718. _._evaluate0$_member = "root stylesheet";
  25719. _._evaluate0$_importSpan = _._evaluate0$_callableNode = null;
  25720. _._evaluate0$_inSupportsDeclaration = _._evaluate0$_inKeyframes = _._evaluate0$_atRootExcludingStyleRule = _._evaluate0$_inUnknownAtRule = _._evaluate0$_inFunction = false;
  25721. _._evaluate0$_loadedUrls = t13;
  25722. _._evaluate0$_activeModules = t14;
  25723. _._evaluate0$_stack = t15;
  25724. _._evaluate0$_importer = null;
  25725. _._evaluate0$_inDependency = false;
  25726. _._evaluate0$__extensionStore = _._evaluate0$_preModuleComments = _._evaluate0$_outOfOrderImports = _._evaluate0$__endOfImports = _._evaluate0$__root = _._evaluate0$__stylesheet = null;
  25727. _._evaluate0$_configuration = t16;
  25728. },
  25729. _EvaluateVisitor_closure25: function _EvaluateVisitor_closure25(t0) {
  25730. this.$this = t0;
  25731. },
  25732. _EvaluateVisitor_closure26: function _EvaluateVisitor_closure26(t0) {
  25733. this.$this = t0;
  25734. },
  25735. _EvaluateVisitor_closure27: function _EvaluateVisitor_closure27(t0) {
  25736. this.$this = t0;
  25737. },
  25738. _EvaluateVisitor_closure28: function _EvaluateVisitor_closure28(t0) {
  25739. this.$this = t0;
  25740. },
  25741. _EvaluateVisitor_closure29: function _EvaluateVisitor_closure29(t0) {
  25742. this.$this = t0;
  25743. },
  25744. _EvaluateVisitor_closure30: function _EvaluateVisitor_closure30(t0) {
  25745. this.$this = t0;
  25746. },
  25747. _EvaluateVisitor_closure31: function _EvaluateVisitor_closure31(t0) {
  25748. this.$this = t0;
  25749. },
  25750. _EvaluateVisitor_closure32: function _EvaluateVisitor_closure32(t0) {
  25751. this.$this = t0;
  25752. },
  25753. _EvaluateVisitor_closure33: function _EvaluateVisitor_closure33(t0) {
  25754. this.$this = t0;
  25755. },
  25756. _EvaluateVisitor__closure10: function _EvaluateVisitor__closure10(t0, t1, t2) {
  25757. this.$this = t0;
  25758. this.name = t1;
  25759. this.module = t2;
  25760. },
  25761. _EvaluateVisitor_closure34: function _EvaluateVisitor_closure34(t0) {
  25762. this.$this = t0;
  25763. },
  25764. _EvaluateVisitor__closure9: function _EvaluateVisitor__closure9(t0, t1, t2) {
  25765. this.$this = t0;
  25766. this.name = t1;
  25767. this.module = t2;
  25768. },
  25769. _EvaluateVisitor_closure35: function _EvaluateVisitor_closure35(t0) {
  25770. this.$this = t0;
  25771. },
  25772. _EvaluateVisitor_closure36: function _EvaluateVisitor_closure36(t0) {
  25773. this.$this = t0;
  25774. },
  25775. _EvaluateVisitor__closure7: function _EvaluateVisitor__closure7(t0, t1, t2) {
  25776. this.values = t0;
  25777. this.span = t1;
  25778. this.callableNode = t2;
  25779. },
  25780. _EvaluateVisitor__closure8: function _EvaluateVisitor__closure8(t0) {
  25781. this.$this = t0;
  25782. },
  25783. _EvaluateVisitor_closure37: function _EvaluateVisitor_closure37(t0) {
  25784. this.$this = t0;
  25785. },
  25786. _EvaluateVisitor_run_closure1: function _EvaluateVisitor_run_closure1(t0, t1, t2) {
  25787. this.$this = t0;
  25788. this.node = t1;
  25789. this.importer = t2;
  25790. },
  25791. _EvaluateVisitor_run__closure1: function _EvaluateVisitor_run__closure1(t0, t1, t2) {
  25792. this.$this = t0;
  25793. this.importer = t1;
  25794. this.node = t2;
  25795. },
  25796. _EvaluateVisitor__loadModule_closure3: function _EvaluateVisitor__loadModule_closure3(t0, t1) {
  25797. this._box_0 = t0;
  25798. this.callback = t1;
  25799. },
  25800. _EvaluateVisitor__loadModule_closure4: function _EvaluateVisitor__loadModule_closure4(t0, t1, t2, t3, t4, t5, t6) {
  25801. var _ = this;
  25802. _.$this = t0;
  25803. _.url = t1;
  25804. _.nodeWithSpan = t2;
  25805. _.baseUrl = t3;
  25806. _.namesInErrors = t4;
  25807. _.configuration = t5;
  25808. _.callback = t6;
  25809. },
  25810. _EvaluateVisitor__loadModule__closure3: function _EvaluateVisitor__loadModule__closure3(t0, t1) {
  25811. this.$this = t0;
  25812. this.message = t1;
  25813. },
  25814. _EvaluateVisitor__loadModule__closure4: function _EvaluateVisitor__loadModule__closure4(t0, t1, t2) {
  25815. this._box_1 = t0;
  25816. this.callback = t1;
  25817. this.firstLoad = t2;
  25818. },
  25819. _EvaluateVisitor__execute_closure1: function _EvaluateVisitor__execute_closure1(t0, t1, t2, t3, t4, t5, t6) {
  25820. var _ = this;
  25821. _.$this = t0;
  25822. _.importer = t1;
  25823. _.stylesheet = t2;
  25824. _.extensionStore = t3;
  25825. _.configuration = t4;
  25826. _.css = t5;
  25827. _.preModuleComments = t6;
  25828. },
  25829. _EvaluateVisitor__combineCss_closure3: function _EvaluateVisitor__combineCss_closure3() {
  25830. },
  25831. _EvaluateVisitor__combineCss_closure4: function _EvaluateVisitor__combineCss_closure4(t0) {
  25832. this.selectors = t0;
  25833. },
  25834. _EvaluateVisitor__combineCss_visitModule1: function _EvaluateVisitor__combineCss_visitModule1(t0, t1, t2, t3, t4, t5) {
  25835. var _ = this;
  25836. _.$this = t0;
  25837. _.seen = t1;
  25838. _.clone = t2;
  25839. _.css = t3;
  25840. _.imports = t4;
  25841. _.sorted = t5;
  25842. },
  25843. _EvaluateVisitor__extendModules_closure3: function _EvaluateVisitor__extendModules_closure3(t0) {
  25844. this.originalSelectors = t0;
  25845. },
  25846. _EvaluateVisitor__extendModules_closure4: function _EvaluateVisitor__extendModules_closure4() {
  25847. },
  25848. _EvaluateVisitor_visitAtRootRule_closure3: function _EvaluateVisitor_visitAtRootRule_closure3(t0, t1) {
  25849. this.$this = t0;
  25850. this.node = t1;
  25851. },
  25852. _EvaluateVisitor_visitAtRootRule_closure4: function _EvaluateVisitor_visitAtRootRule_closure4(t0, t1) {
  25853. this.$this = t0;
  25854. this.node = t1;
  25855. },
  25856. _EvaluateVisitor__scopeForAtRoot_closure11: function _EvaluateVisitor__scopeForAtRoot_closure11(t0, t1, t2) {
  25857. this.$this = t0;
  25858. this.newParent = t1;
  25859. this.node = t2;
  25860. },
  25861. _EvaluateVisitor__scopeForAtRoot_closure12: function _EvaluateVisitor__scopeForAtRoot_closure12(t0, t1) {
  25862. this.$this = t0;
  25863. this.innerScope = t1;
  25864. },
  25865. _EvaluateVisitor__scopeForAtRoot_closure13: function _EvaluateVisitor__scopeForAtRoot_closure13(t0, t1) {
  25866. this.$this = t0;
  25867. this.innerScope = t1;
  25868. },
  25869. _EvaluateVisitor__scopeForAtRoot__closure1: function _EvaluateVisitor__scopeForAtRoot__closure1(t0, t1) {
  25870. this.innerScope = t0;
  25871. this.callback = t1;
  25872. },
  25873. _EvaluateVisitor__scopeForAtRoot_closure14: function _EvaluateVisitor__scopeForAtRoot_closure14(t0, t1) {
  25874. this.$this = t0;
  25875. this.innerScope = t1;
  25876. },
  25877. _EvaluateVisitor__scopeForAtRoot_closure15: function _EvaluateVisitor__scopeForAtRoot_closure15() {
  25878. },
  25879. _EvaluateVisitor__scopeForAtRoot_closure16: function _EvaluateVisitor__scopeForAtRoot_closure16(t0, t1) {
  25880. this.$this = t0;
  25881. this.innerScope = t1;
  25882. },
  25883. _EvaluateVisitor_visitContentRule_closure1: function _EvaluateVisitor_visitContentRule_closure1(t0, t1) {
  25884. this.$this = t0;
  25885. this.content = t1;
  25886. },
  25887. _EvaluateVisitor_visitDeclaration_closure1: function _EvaluateVisitor_visitDeclaration_closure1(t0, t1) {
  25888. this._box_0 = t0;
  25889. this.$this = t1;
  25890. },
  25891. _EvaluateVisitor_visitEachRule_closure5: function _EvaluateVisitor_visitEachRule_closure5(t0, t1, t2) {
  25892. this._box_0 = t0;
  25893. this.$this = t1;
  25894. this.nodeWithSpan = t2;
  25895. },
  25896. _EvaluateVisitor_visitEachRule_closure6: function _EvaluateVisitor_visitEachRule_closure6(t0, t1, t2) {
  25897. this._box_1 = t0;
  25898. this.$this = t1;
  25899. this.nodeWithSpan = t2;
  25900. },
  25901. _EvaluateVisitor_visitEachRule_closure7: function _EvaluateVisitor_visitEachRule_closure7(t0, t1, t2, t3) {
  25902. var _ = this;
  25903. _.$this = t0;
  25904. _.list = t1;
  25905. _.setVariables = t2;
  25906. _.node = t3;
  25907. },
  25908. _EvaluateVisitor_visitEachRule__closure1: function _EvaluateVisitor_visitEachRule__closure1(t0, t1, t2) {
  25909. this.$this = t0;
  25910. this.setVariables = t1;
  25911. this.node = t2;
  25912. },
  25913. _EvaluateVisitor_visitEachRule___closure1: function _EvaluateVisitor_visitEachRule___closure1(t0) {
  25914. this.$this = t0;
  25915. },
  25916. _EvaluateVisitor_visitAtRule_closure5: function _EvaluateVisitor_visitAtRule_closure5(t0) {
  25917. this.$this = t0;
  25918. },
  25919. _EvaluateVisitor_visitAtRule_closure6: function _EvaluateVisitor_visitAtRule_closure6(t0, t1, t2) {
  25920. this.$this = t0;
  25921. this.name = t1;
  25922. this.children = t2;
  25923. },
  25924. _EvaluateVisitor_visitAtRule__closure1: function _EvaluateVisitor_visitAtRule__closure1(t0, t1) {
  25925. this.$this = t0;
  25926. this.children = t1;
  25927. },
  25928. _EvaluateVisitor_visitAtRule_closure7: function _EvaluateVisitor_visitAtRule_closure7() {
  25929. },
  25930. _EvaluateVisitor_visitForRule_closure9: function _EvaluateVisitor_visitForRule_closure9(t0, t1) {
  25931. this.$this = t0;
  25932. this.node = t1;
  25933. },
  25934. _EvaluateVisitor_visitForRule_closure10: function _EvaluateVisitor_visitForRule_closure10(t0, t1) {
  25935. this.$this = t0;
  25936. this.node = t1;
  25937. },
  25938. _EvaluateVisitor_visitForRule_closure11: function _EvaluateVisitor_visitForRule_closure11(t0) {
  25939. this.fromNumber = t0;
  25940. },
  25941. _EvaluateVisitor_visitForRule_closure12: function _EvaluateVisitor_visitForRule_closure12(t0, t1) {
  25942. this.toNumber = t0;
  25943. this.fromNumber = t1;
  25944. },
  25945. _EvaluateVisitor_visitForRule_closure13: function _EvaluateVisitor_visitForRule_closure13(t0, t1, t2, t3, t4, t5) {
  25946. var _ = this;
  25947. _._box_0 = t0;
  25948. _.$this = t1;
  25949. _.node = t2;
  25950. _.from = t3;
  25951. _.direction = t4;
  25952. _.fromNumber = t5;
  25953. },
  25954. _EvaluateVisitor_visitForRule__closure1: function _EvaluateVisitor_visitForRule__closure1(t0) {
  25955. this.$this = t0;
  25956. },
  25957. _EvaluateVisitor_visitForwardRule_closure3: function _EvaluateVisitor_visitForwardRule_closure3(t0, t1) {
  25958. this.$this = t0;
  25959. this.node = t1;
  25960. },
  25961. _EvaluateVisitor_visitForwardRule_closure4: function _EvaluateVisitor_visitForwardRule_closure4(t0, t1) {
  25962. this.$this = t0;
  25963. this.node = t1;
  25964. },
  25965. _EvaluateVisitor__registerCommentsForModule_closure1: function _EvaluateVisitor__registerCommentsForModule_closure1() {
  25966. },
  25967. _EvaluateVisitor_visitIfRule_closure1: function _EvaluateVisitor_visitIfRule_closure1(t0) {
  25968. this.$this = t0;
  25969. },
  25970. _EvaluateVisitor_visitIfRule__closure1: function _EvaluateVisitor_visitIfRule__closure1(t0, t1) {
  25971. this.$this = t0;
  25972. this.clause = t1;
  25973. },
  25974. _EvaluateVisitor_visitIfRule___closure1: function _EvaluateVisitor_visitIfRule___closure1(t0) {
  25975. this.$this = t0;
  25976. },
  25977. _EvaluateVisitor__visitDynamicImport_closure1: function _EvaluateVisitor__visitDynamicImport_closure1(t0, t1) {
  25978. this.$this = t0;
  25979. this.$import = t1;
  25980. },
  25981. _EvaluateVisitor__visitDynamicImport__closure7: function _EvaluateVisitor__visitDynamicImport__closure7(t0) {
  25982. this.$this = t0;
  25983. },
  25984. _EvaluateVisitor__visitDynamicImport__closure8: function _EvaluateVisitor__visitDynamicImport__closure8() {
  25985. },
  25986. _EvaluateVisitor__visitDynamicImport__closure9: function _EvaluateVisitor__visitDynamicImport__closure9() {
  25987. },
  25988. _EvaluateVisitor__visitDynamicImport__closure10: function _EvaluateVisitor__visitDynamicImport__closure10(t0, t1, t2, t3, t4) {
  25989. var _ = this;
  25990. _._box_0 = t0;
  25991. _.$this = t1;
  25992. _.loadsUserDefinedModules = t2;
  25993. _.environment = t3;
  25994. _.children = t4;
  25995. },
  25996. _EvaluateVisitor__applyMixin_closure3: function _EvaluateVisitor__applyMixin_closure3(t0, t1, t2, t3) {
  25997. var _ = this;
  25998. _.$this = t0;
  25999. _.$arguments = t1;
  26000. _.mixin = t2;
  26001. _.nodeWithSpanWithoutContent = t3;
  26002. },
  26003. _EvaluateVisitor__applyMixin__closure4: function _EvaluateVisitor__applyMixin__closure4(t0, t1, t2, t3) {
  26004. var _ = this;
  26005. _.$this = t0;
  26006. _.$arguments = t1;
  26007. _.mixin = t2;
  26008. _.nodeWithSpanWithoutContent = t3;
  26009. },
  26010. _EvaluateVisitor__applyMixin_closure4: function _EvaluateVisitor__applyMixin_closure4(t0, t1, t2, t3) {
  26011. var _ = this;
  26012. _.$this = t0;
  26013. _.contentCallable = t1;
  26014. _.mixin = t2;
  26015. _.nodeWithSpanWithoutContent = t3;
  26016. },
  26017. _EvaluateVisitor__applyMixin__closure3: function _EvaluateVisitor__applyMixin__closure3(t0, t1, t2) {
  26018. this.$this = t0;
  26019. this.mixin = t1;
  26020. this.nodeWithSpanWithoutContent = t2;
  26021. },
  26022. _EvaluateVisitor__applyMixin___closure1: function _EvaluateVisitor__applyMixin___closure1(t0, t1, t2) {
  26023. this.$this = t0;
  26024. this.mixin = t1;
  26025. this.nodeWithSpanWithoutContent = t2;
  26026. },
  26027. _EvaluateVisitor__applyMixin____closure1: function _EvaluateVisitor__applyMixin____closure1(t0, t1) {
  26028. this.$this = t0;
  26029. this.statement = t1;
  26030. },
  26031. _EvaluateVisitor_visitIncludeRule_closure5: function _EvaluateVisitor_visitIncludeRule_closure5(t0, t1) {
  26032. this.$this = t0;
  26033. this.node = t1;
  26034. },
  26035. _EvaluateVisitor_visitIncludeRule_closure6: function _EvaluateVisitor_visitIncludeRule_closure6(t0) {
  26036. this.$this = t0;
  26037. },
  26038. _EvaluateVisitor_visitIncludeRule_closure7: function _EvaluateVisitor_visitIncludeRule_closure7(t0) {
  26039. this.node = t0;
  26040. },
  26041. _EvaluateVisitor_visitMediaRule_closure5: function _EvaluateVisitor_visitMediaRule_closure5(t0, t1) {
  26042. this.$this = t0;
  26043. this.queries = t1;
  26044. },
  26045. _EvaluateVisitor_visitMediaRule_closure6: function _EvaluateVisitor_visitMediaRule_closure6(t0, t1, t2, t3, t4) {
  26046. var _ = this;
  26047. _.$this = t0;
  26048. _.mergedQueries = t1;
  26049. _.queries = t2;
  26050. _.mergedSources = t3;
  26051. _.node = t4;
  26052. },
  26053. _EvaluateVisitor_visitMediaRule__closure1: function _EvaluateVisitor_visitMediaRule__closure1(t0, t1) {
  26054. this.$this = t0;
  26055. this.node = t1;
  26056. },
  26057. _EvaluateVisitor_visitMediaRule___closure1: function _EvaluateVisitor_visitMediaRule___closure1(t0, t1) {
  26058. this.$this = t0;
  26059. this.node = t1;
  26060. },
  26061. _EvaluateVisitor_visitMediaRule_closure7: function _EvaluateVisitor_visitMediaRule_closure7(t0) {
  26062. this.mergedSources = t0;
  26063. },
  26064. _EvaluateVisitor_visitStyleRule_closure7: function _EvaluateVisitor_visitStyleRule_closure7(t0, t1) {
  26065. this.$this = t0;
  26066. this.node = t1;
  26067. },
  26068. _EvaluateVisitor_visitStyleRule_closure8: function _EvaluateVisitor_visitStyleRule_closure8() {
  26069. },
  26070. _EvaluateVisitor_visitStyleRule_closure10: function _EvaluateVisitor_visitStyleRule_closure10(t0, t1, t2) {
  26071. this.$this = t0;
  26072. this.rule = t1;
  26073. this.node = t2;
  26074. },
  26075. _EvaluateVisitor_visitStyleRule__closure1: function _EvaluateVisitor_visitStyleRule__closure1(t0, t1) {
  26076. this.$this = t0;
  26077. this.node = t1;
  26078. },
  26079. _EvaluateVisitor_visitStyleRule_closure9: function _EvaluateVisitor_visitStyleRule_closure9() {
  26080. },
  26081. _EvaluateVisitor__warnForBogusCombinators_closure1: function _EvaluateVisitor__warnForBogusCombinators_closure1() {
  26082. },
  26083. _EvaluateVisitor_visitSupportsRule_closure3: function _EvaluateVisitor_visitSupportsRule_closure3(t0, t1) {
  26084. this.$this = t0;
  26085. this.node = t1;
  26086. },
  26087. _EvaluateVisitor_visitSupportsRule__closure1: function _EvaluateVisitor_visitSupportsRule__closure1(t0, t1) {
  26088. this.$this = t0;
  26089. this.node = t1;
  26090. },
  26091. _EvaluateVisitor_visitSupportsRule_closure4: function _EvaluateVisitor_visitSupportsRule_closure4() {
  26092. },
  26093. _EvaluateVisitor__visitSupportsCondition_closure1: function _EvaluateVisitor__visitSupportsCondition_closure1(t0, t1) {
  26094. this._box_0 = t0;
  26095. this.$this = t1;
  26096. },
  26097. _EvaluateVisitor_visitVariableDeclaration_closure5: function _EvaluateVisitor_visitVariableDeclaration_closure5(t0, t1, t2) {
  26098. this._box_0 = t0;
  26099. this.$this = t1;
  26100. this.node = t2;
  26101. },
  26102. _EvaluateVisitor_visitVariableDeclaration_closure6: function _EvaluateVisitor_visitVariableDeclaration_closure6(t0, t1) {
  26103. this.$this = t0;
  26104. this.node = t1;
  26105. },
  26106. _EvaluateVisitor_visitVariableDeclaration_closure7: function _EvaluateVisitor_visitVariableDeclaration_closure7(t0, t1, t2) {
  26107. this.$this = t0;
  26108. this.node = t1;
  26109. this.value = t2;
  26110. },
  26111. _EvaluateVisitor_visitUseRule_closure1: function _EvaluateVisitor_visitUseRule_closure1(t0, t1) {
  26112. this.$this = t0;
  26113. this.node = t1;
  26114. },
  26115. _EvaluateVisitor_visitWarnRule_closure1: function _EvaluateVisitor_visitWarnRule_closure1(t0, t1) {
  26116. this.$this = t0;
  26117. this.node = t1;
  26118. },
  26119. _EvaluateVisitor_visitWhileRule_closure1: function _EvaluateVisitor_visitWhileRule_closure1(t0, t1) {
  26120. this.$this = t0;
  26121. this.node = t1;
  26122. },
  26123. _EvaluateVisitor_visitWhileRule__closure1: function _EvaluateVisitor_visitWhileRule__closure1(t0) {
  26124. this.$this = t0;
  26125. },
  26126. _EvaluateVisitor_visitBinaryOperationExpression_closure1: function _EvaluateVisitor_visitBinaryOperationExpression_closure1(t0, t1) {
  26127. this.$this = t0;
  26128. this.node = t1;
  26129. },
  26130. _EvaluateVisitor__slash_recommendation1: function _EvaluateVisitor__slash_recommendation1() {
  26131. },
  26132. _EvaluateVisitor_visitVariableExpression_closure1: function _EvaluateVisitor_visitVariableExpression_closure1(t0, t1) {
  26133. this.$this = t0;
  26134. this.node = t1;
  26135. },
  26136. _EvaluateVisitor_visitUnaryOperationExpression_closure1: function _EvaluateVisitor_visitUnaryOperationExpression_closure1(t0, t1) {
  26137. this.node = t0;
  26138. this.operand = t1;
  26139. },
  26140. _EvaluateVisitor_visitListExpression_closure1: function _EvaluateVisitor_visitListExpression_closure1(t0) {
  26141. this.$this = t0;
  26142. },
  26143. _EvaluateVisitor_visitFunctionExpression_closure5: function _EvaluateVisitor_visitFunctionExpression_closure5(t0, t1) {
  26144. this.$this = t0;
  26145. this.node = t1;
  26146. },
  26147. _EvaluateVisitor_visitFunctionExpression_closure6: function _EvaluateVisitor_visitFunctionExpression_closure6() {
  26148. },
  26149. _EvaluateVisitor_visitFunctionExpression_closure7: function _EvaluateVisitor_visitFunctionExpression_closure7(t0, t1, t2) {
  26150. this._box_0 = t0;
  26151. this.$this = t1;
  26152. this.node = t2;
  26153. },
  26154. _EvaluateVisitor__visitCalculation_closure1: function _EvaluateVisitor__visitCalculation_closure1(t0, t1) {
  26155. this.$this = t0;
  26156. this.node = t1;
  26157. },
  26158. _EvaluateVisitor__checkCalculationArguments_check1: function _EvaluateVisitor__checkCalculationArguments_check1(t0, t1) {
  26159. this.$this = t0;
  26160. this.node = t1;
  26161. },
  26162. _EvaluateVisitor__visitCalculationExpression_closure1: function _EvaluateVisitor__visitCalculationExpression_closure1(t0, t1, t2, t3) {
  26163. var _ = this;
  26164. _._box_0 = t0;
  26165. _.$this = t1;
  26166. _.node = t2;
  26167. _.inLegacySassFunction = t3;
  26168. },
  26169. _EvaluateVisitor__visitCalculationExpression__closure1: function _EvaluateVisitor__visitCalculationExpression__closure1(t0, t1) {
  26170. this.$this = t0;
  26171. this.node = t1;
  26172. },
  26173. _EvaluateVisitor_visitInterpolatedFunctionExpression_closure1: function _EvaluateVisitor_visitInterpolatedFunctionExpression_closure1(t0, t1, t2) {
  26174. this.$this = t0;
  26175. this.node = t1;
  26176. this.$function = t2;
  26177. },
  26178. _EvaluateVisitor__runUserDefinedCallable_closure1: function _EvaluateVisitor__runUserDefinedCallable_closure1(t0, t1, t2, t3, t4, t5) {
  26179. var _ = this;
  26180. _.$this = t0;
  26181. _.callable = t1;
  26182. _.evaluated = t2;
  26183. _.nodeWithSpan = t3;
  26184. _.run = t4;
  26185. _.V = t5;
  26186. },
  26187. _EvaluateVisitor__runUserDefinedCallable__closure1: function _EvaluateVisitor__runUserDefinedCallable__closure1(t0, t1, t2, t3, t4, t5) {
  26188. var _ = this;
  26189. _.$this = t0;
  26190. _.evaluated = t1;
  26191. _.callable = t2;
  26192. _.nodeWithSpan = t3;
  26193. _.run = t4;
  26194. _.V = t5;
  26195. },
  26196. _EvaluateVisitor__runUserDefinedCallable___closure1: function _EvaluateVisitor__runUserDefinedCallable___closure1(t0, t1, t2, t3, t4, t5) {
  26197. var _ = this;
  26198. _.$this = t0;
  26199. _.evaluated = t1;
  26200. _.callable = t2;
  26201. _.nodeWithSpan = t3;
  26202. _.run = t4;
  26203. _.V = t5;
  26204. },
  26205. _EvaluateVisitor__runUserDefinedCallable____closure1: function _EvaluateVisitor__runUserDefinedCallable____closure1() {
  26206. },
  26207. _EvaluateVisitor__runFunctionCallable_closure1: function _EvaluateVisitor__runFunctionCallable_closure1(t0, t1) {
  26208. this.$this = t0;
  26209. this.callable = t1;
  26210. },
  26211. _EvaluateVisitor__runBuiltInCallable_closure5: function _EvaluateVisitor__runBuiltInCallable_closure5(t0, t1, t2) {
  26212. this._box_0 = t0;
  26213. this.evaluated = t1;
  26214. this.namedSet = t2;
  26215. },
  26216. _EvaluateVisitor__runBuiltInCallable_closure6: function _EvaluateVisitor__runBuiltInCallable_closure6(t0, t1) {
  26217. this._box_0 = t0;
  26218. this.evaluated = t1;
  26219. },
  26220. _EvaluateVisitor__runBuiltInCallable_closure7: function _EvaluateVisitor__runBuiltInCallable_closure7() {
  26221. },
  26222. _EvaluateVisitor__evaluateArguments_closure7: function _EvaluateVisitor__evaluateArguments_closure7() {
  26223. },
  26224. _EvaluateVisitor__evaluateArguments_closure8: function _EvaluateVisitor__evaluateArguments_closure8(t0, t1) {
  26225. this.$this = t0;
  26226. this.restNodeForSpan = t1;
  26227. },
  26228. _EvaluateVisitor__evaluateArguments_closure9: function _EvaluateVisitor__evaluateArguments_closure9(t0, t1, t2, t3) {
  26229. var _ = this;
  26230. _.$this = t0;
  26231. _.named = t1;
  26232. _.restNodeForSpan = t2;
  26233. _.namedNodes = t3;
  26234. },
  26235. _EvaluateVisitor__evaluateArguments_closure10: function _EvaluateVisitor__evaluateArguments_closure10() {
  26236. },
  26237. _EvaluateVisitor__evaluateMacroArguments_closure7: function _EvaluateVisitor__evaluateMacroArguments_closure7(t0) {
  26238. this.restArgs = t0;
  26239. },
  26240. _EvaluateVisitor__evaluateMacroArguments_closure8: function _EvaluateVisitor__evaluateMacroArguments_closure8(t0, t1, t2) {
  26241. this.$this = t0;
  26242. this.restNodeForSpan = t1;
  26243. this.restArgs = t2;
  26244. },
  26245. _EvaluateVisitor__evaluateMacroArguments_closure9: function _EvaluateVisitor__evaluateMacroArguments_closure9(t0, t1, t2, t3) {
  26246. var _ = this;
  26247. _.$this = t0;
  26248. _.named = t1;
  26249. _.restNodeForSpan = t2;
  26250. _.restArgs = t3;
  26251. },
  26252. _EvaluateVisitor__evaluateMacroArguments_closure10: function _EvaluateVisitor__evaluateMacroArguments_closure10(t0, t1, t2) {
  26253. this.$this = t0;
  26254. this.keywordRestNodeForSpan = t1;
  26255. this.keywordRestArgs = t2;
  26256. },
  26257. _EvaluateVisitor__addRestMap_closure1: function _EvaluateVisitor__addRestMap_closure1(t0, t1, t2, t3, t4, t5) {
  26258. var _ = this;
  26259. _.$this = t0;
  26260. _.values = t1;
  26261. _.convert = t2;
  26262. _.expressionNode = t3;
  26263. _.map = t4;
  26264. _.nodeWithSpan = t5;
  26265. },
  26266. _EvaluateVisitor__verifyArguments_closure1: function _EvaluateVisitor__verifyArguments_closure1(t0, t1, t2) {
  26267. this.parameters = t0;
  26268. this.positional = t1;
  26269. this.named = t2;
  26270. },
  26271. _EvaluateVisitor_visitCssAtRule_closure3: function _EvaluateVisitor_visitCssAtRule_closure3(t0, t1) {
  26272. this.$this = t0;
  26273. this.node = t1;
  26274. },
  26275. _EvaluateVisitor_visitCssAtRule_closure4: function _EvaluateVisitor_visitCssAtRule_closure4() {
  26276. },
  26277. _EvaluateVisitor_visitCssKeyframeBlock_closure3: function _EvaluateVisitor_visitCssKeyframeBlock_closure3(t0, t1) {
  26278. this.$this = t0;
  26279. this.node = t1;
  26280. },
  26281. _EvaluateVisitor_visitCssKeyframeBlock_closure4: function _EvaluateVisitor_visitCssKeyframeBlock_closure4() {
  26282. },
  26283. _EvaluateVisitor_visitCssMediaRule_closure5: function _EvaluateVisitor_visitCssMediaRule_closure5(t0, t1) {
  26284. this.$this = t0;
  26285. this.node = t1;
  26286. },
  26287. _EvaluateVisitor_visitCssMediaRule_closure6: function _EvaluateVisitor_visitCssMediaRule_closure6(t0, t1, t2, t3) {
  26288. var _ = this;
  26289. _.$this = t0;
  26290. _.mergedQueries = t1;
  26291. _.node = t2;
  26292. _.mergedSources = t3;
  26293. },
  26294. _EvaluateVisitor_visitCssMediaRule__closure1: function _EvaluateVisitor_visitCssMediaRule__closure1(t0, t1) {
  26295. this.$this = t0;
  26296. this.node = t1;
  26297. },
  26298. _EvaluateVisitor_visitCssMediaRule___closure1: function _EvaluateVisitor_visitCssMediaRule___closure1(t0, t1) {
  26299. this.$this = t0;
  26300. this.node = t1;
  26301. },
  26302. _EvaluateVisitor_visitCssMediaRule_closure7: function _EvaluateVisitor_visitCssMediaRule_closure7(t0) {
  26303. this.mergedSources = t0;
  26304. },
  26305. _EvaluateVisitor_visitCssStyleRule_closure4: function _EvaluateVisitor_visitCssStyleRule_closure4(t0, t1, t2) {
  26306. this.$this = t0;
  26307. this.rule = t1;
  26308. this.node = t2;
  26309. },
  26310. _EvaluateVisitor_visitCssStyleRule__closure1: function _EvaluateVisitor_visitCssStyleRule__closure1(t0, t1) {
  26311. this.$this = t0;
  26312. this.node = t1;
  26313. },
  26314. _EvaluateVisitor_visitCssStyleRule_closure3: function _EvaluateVisitor_visitCssStyleRule_closure3() {
  26315. },
  26316. _EvaluateVisitor_visitCssSupportsRule_closure3: function _EvaluateVisitor_visitCssSupportsRule_closure3(t0, t1) {
  26317. this.$this = t0;
  26318. this.node = t1;
  26319. },
  26320. _EvaluateVisitor_visitCssSupportsRule__closure1: function _EvaluateVisitor_visitCssSupportsRule__closure1(t0, t1) {
  26321. this.$this = t0;
  26322. this.node = t1;
  26323. },
  26324. _EvaluateVisitor_visitCssSupportsRule_closure4: function _EvaluateVisitor_visitCssSupportsRule_closure4() {
  26325. },
  26326. _EvaluateVisitor__performInterpolationHelper_closure1: function _EvaluateVisitor__performInterpolationHelper_closure1(t0) {
  26327. this.interpolation = t0;
  26328. },
  26329. _EvaluateVisitor__serialize_closure1: function _EvaluateVisitor__serialize_closure1(t0, t1) {
  26330. this.value = t0;
  26331. this.quote = t1;
  26332. },
  26333. _EvaluateVisitor__expressionNode_closure1: function _EvaluateVisitor__expressionNode_closure1(t0, t1) {
  26334. this.$this = t0;
  26335. this.expression = t1;
  26336. },
  26337. _EvaluateVisitor__withoutSlash_recommendation1: function _EvaluateVisitor__withoutSlash_recommendation1() {
  26338. },
  26339. _EvaluateVisitor__stackFrame_closure1: function _EvaluateVisitor__stackFrame_closure1(t0) {
  26340. this.$this = t0;
  26341. },
  26342. _ImportedCssVisitor1: function _ImportedCssVisitor1(t0) {
  26343. this._evaluate0$_visitor = t0;
  26344. },
  26345. _ImportedCssVisitor_visitCssAtRule_closure1: function _ImportedCssVisitor_visitCssAtRule_closure1() {
  26346. },
  26347. _ImportedCssVisitor_visitCssMediaRule_closure1: function _ImportedCssVisitor_visitCssMediaRule_closure1(t0) {
  26348. this.hasBeenMerged = t0;
  26349. },
  26350. _ImportedCssVisitor_visitCssStyleRule_closure1: function _ImportedCssVisitor_visitCssStyleRule_closure1() {
  26351. },
  26352. _ImportedCssVisitor_visitCssSupportsRule_closure1: function _ImportedCssVisitor_visitCssSupportsRule_closure1() {
  26353. },
  26354. _EvaluationContext1: function _EvaluationContext1(t0, t1) {
  26355. this._evaluate0$_visitor = t0;
  26356. this._evaluate0$_defaultWarnNodeWithSpan = t1;
  26357. },
  26358. EveryCssVisitor0: function EveryCssVisitor0() {
  26359. },
  26360. EveryCssVisitor_visitCssAtRule_closure0: function EveryCssVisitor_visitCssAtRule_closure0(t0) {
  26361. this.$this = t0;
  26362. },
  26363. EveryCssVisitor_visitCssKeyframeBlock_closure0: function EveryCssVisitor_visitCssKeyframeBlock_closure0(t0) {
  26364. this.$this = t0;
  26365. },
  26366. EveryCssVisitor_visitCssMediaRule_closure0: function EveryCssVisitor_visitCssMediaRule_closure0(t0) {
  26367. this.$this = t0;
  26368. },
  26369. EveryCssVisitor_visitCssStyleRule_closure0: function EveryCssVisitor_visitCssStyleRule_closure0(t0) {
  26370. this.$this = t0;
  26371. },
  26372. EveryCssVisitor_visitCssStylesheet_closure0: function EveryCssVisitor_visitCssStylesheet_closure0(t0) {
  26373. this.$this = t0;
  26374. },
  26375. EveryCssVisitor_visitCssSupportsRule_closure0: function EveryCssVisitor_visitCssSupportsRule_closure0(t0) {
  26376. this.$this = t0;
  26377. },
  26378. throwNodeException(exception, ascii, color, trace) {
  26379. var wasAscii, jsException, t1, trace0;
  26380. trace = trace;
  26381. wasAscii = $._glyphs === B.C_AsciiGlyphSet;
  26382. $._glyphs = ascii ? B.C_AsciiGlyphSet : B.C_UnicodeGlyphSet;
  26383. try {
  26384. t1 = A.callConstructor($.$get$exceptionClass(), [exception, B.JSString_methods.replaceFirst$2(exception.toString$1$color(0, color), "Error: ", "")]);
  26385. jsException = type$._NodeException._as(t1);
  26386. trace0 = A.getTrace0(exception);
  26387. trace = trace0 == null ? trace : trace0;
  26388. if (trace != null)
  26389. A.attachJsStack(jsException, trace);
  26390. A.jsThrow(jsException);
  26391. } finally {
  26392. $._glyphs = wasAscii ? B.C_AsciiGlyphSet : B.C_UnicodeGlyphSet;
  26393. }
  26394. },
  26395. _NodeException: function _NodeException() {
  26396. },
  26397. exceptionClass_closure: function exceptionClass_closure() {
  26398. },
  26399. exceptionClass__closure: function exceptionClass__closure() {
  26400. },
  26401. exceptionClass__closure0: function exceptionClass__closure0() {
  26402. },
  26403. exceptionClass__closure1: function exceptionClass__closure1() {
  26404. },
  26405. SassException$0(message, span, loadedUrls) {
  26406. return new A.SassException0(loadedUrls == null ? B.Set_empty : A.Set_Set$unmodifiable(loadedUrls, type$.Uri), message, span);
  26407. },
  26408. MultiSpanSassException$0(message, span, primaryLabel, secondarySpans, loadedUrls) {
  26409. var t1 = A.ConstantMap_ConstantMap$from(secondarySpans, type$.FileSpan, type$.String);
  26410. return new A.MultiSpanSassException0(primaryLabel, t1, loadedUrls == null ? B.Set_empty : A.Set_Set$unmodifiable(loadedUrls, type$.Uri), message, span);
  26411. },
  26412. SassRuntimeException$0(message, span, trace, loadedUrls) {
  26413. return new A.SassRuntimeException0(trace, loadedUrls == null ? B.Set_empty : A.Set_Set$unmodifiable(loadedUrls, type$.Uri), message, span);
  26414. },
  26415. MultiSpanSassRuntimeException$0(message, span, primaryLabel, secondarySpans, trace, loadedUrls) {
  26416. var t1 = A.ConstantMap_ConstantMap$from(secondarySpans, type$.FileSpan, type$.String);
  26417. return new A.MultiSpanSassRuntimeException0(trace, primaryLabel, t1, loadedUrls == null ? B.Set_empty : A.Set_Set$unmodifiable(loadedUrls, type$.Uri), message, span);
  26418. },
  26419. SassFormatException$0(message, span, loadedUrls) {
  26420. return new A.SassFormatException0(loadedUrls == null ? B.Set_empty : A.Set_Set$unmodifiable(loadedUrls, type$.Uri), message, span);
  26421. },
  26422. MultiSpanSassFormatException$0(message, span, primaryLabel, secondarySpans, loadedUrls) {
  26423. var t1 = A.ConstantMap_ConstantMap$from(secondarySpans, type$.FileSpan, type$.String);
  26424. return new A.MultiSpanSassFormatException0(primaryLabel, t1, loadedUrls == null ? B.Set_empty : A.Set_Set$unmodifiable(loadedUrls, type$.Uri), message, span);
  26425. },
  26426. SassScriptException$0(message, argumentName) {
  26427. return new A.SassScriptException0(argumentName == null ? message : "$" + argumentName + ": " + message);
  26428. },
  26429. MultiSpanSassScriptException$0(message, primaryLabel, secondarySpans) {
  26430. var t1 = A.ConstantMap_ConstantMap$from(secondarySpans, type$.FileSpan, type$.String);
  26431. return new A.MultiSpanSassScriptException0(primaryLabel, t1, message);
  26432. },
  26433. SassException0: function SassException0(t0, t1, t2) {
  26434. this.loadedUrls = t0;
  26435. this._span_exception$_message = t1;
  26436. this._span = t2;
  26437. },
  26438. MultiSpanSassException0: function MultiSpanSassException0(t0, t1, t2, t3, t4) {
  26439. var _ = this;
  26440. _.primaryLabel = t0;
  26441. _.secondarySpans = t1;
  26442. _.loadedUrls = t2;
  26443. _._span_exception$_message = t3;
  26444. _._span = t4;
  26445. },
  26446. SassRuntimeException0: function SassRuntimeException0(t0, t1, t2, t3) {
  26447. var _ = this;
  26448. _.trace = t0;
  26449. _.loadedUrls = t1;
  26450. _._span_exception$_message = t2;
  26451. _._span = t3;
  26452. },
  26453. MultiSpanSassRuntimeException0: function MultiSpanSassRuntimeException0(t0, t1, t2, t3, t4, t5) {
  26454. var _ = this;
  26455. _.trace = t0;
  26456. _.primaryLabel = t1;
  26457. _.secondarySpans = t2;
  26458. _.loadedUrls = t3;
  26459. _._span_exception$_message = t4;
  26460. _._span = t5;
  26461. },
  26462. SassFormatException0: function SassFormatException0(t0, t1, t2) {
  26463. this.loadedUrls = t0;
  26464. this._span_exception$_message = t1;
  26465. this._span = t2;
  26466. },
  26467. MultiSpanSassFormatException0: function MultiSpanSassFormatException0(t0, t1, t2, t3, t4) {
  26468. var _ = this;
  26469. _.primaryLabel = t0;
  26470. _.secondarySpans = t1;
  26471. _.loadedUrls = t2;
  26472. _._span_exception$_message = t3;
  26473. _._span = t4;
  26474. },
  26475. SassScriptException0: function SassScriptException0(t0) {
  26476. this.message = t0;
  26477. },
  26478. MultiSpanSassScriptException0: function MultiSpanSassScriptException0(t0, t1, t2) {
  26479. this.primaryLabel = t0;
  26480. this.secondarySpans = t1;
  26481. this.message = t2;
  26482. },
  26483. Exports: function Exports() {
  26484. },
  26485. LoggerNamespace: function LoggerNamespace() {
  26486. },
  26487. Expression0: function Expression0() {
  26488. },
  26489. JSExpressionVisitor: function JSExpressionVisitor(t0) {
  26490. this._expression$_inner = t0;
  26491. },
  26492. JSExpressionVisitorObject: function JSExpressionVisitorObject() {
  26493. },
  26494. expressionToCalc0(expression) {
  26495. var t4,
  26496. t1 = A._setArrayType([B.C__MakeExpressionCalculationSafe0.visitBinaryOperationExpression$1(0, expression)], type$.JSArray_Expression_2),
  26497. t2 = expression.get$span(0),
  26498. t3 = type$.Expression_2;
  26499. t1 = A.List_List$unmodifiable(t1, t3);
  26500. t3 = A.ConstantMap_ConstantMap$from(B.Map_empty14, type$.String, t3);
  26501. t4 = expression.get$span(0);
  26502. return new A.FunctionExpression0(null, A.stringReplaceAllUnchecked("calc", "_", "-"), "calc", new A.ArgumentList0(t1, t3, null, null, t2), t4);
  26503. },
  26504. _MakeExpressionCalculationSafe0: function _MakeExpressionCalculationSafe0() {
  26505. },
  26506. __MakeExpressionCalculationSafe_Object_ReplaceExpressionVisitor0: function __MakeExpressionCalculationSafe_Object_ReplaceExpressionVisitor0() {
  26507. },
  26508. ExtendRule0: function ExtendRule0(t0, t1, t2) {
  26509. this.selector = t0;
  26510. this.isOptional = t1;
  26511. this.span = t2;
  26512. },
  26513. Extension0: function Extension0(t0, t1, t2, t3, t4) {
  26514. var _ = this;
  26515. _.extender = t0;
  26516. _.target = t1;
  26517. _.mediaContext = t2;
  26518. _.isOptional = t3;
  26519. _.span = t4;
  26520. },
  26521. Extender0: function Extender0(t0, t1) {
  26522. this.selector = t0;
  26523. this.isOriginal = t1;
  26524. this._extension$_extension = null;
  26525. },
  26526. ExtensionStore__extendOrReplace0(selector, source, targets, mode, span) {
  26527. var t1, t2, t3, t4, t5, t6, t7, t8, _i, complex, compound, t9, t10, t11, _i0, simple, t12, _i1, t13, t14,
  26528. extender = A.ExtensionStore$_mode0(mode);
  26529. if (!selector.accept$1(B._IsInvisibleVisitor_true0))
  26530. extender._extension_store$_originals.addAll$1(0, selector.components);
  26531. 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) {
  26532. complex = t1[_i];
  26533. compound = complex.get$singleCompound();
  26534. if (compound == null)
  26535. throw A.wrapException(A.SassScriptException$0("Can't extend complex selector " + complex.toString$0(0) + ".", null));
  26536. t9 = A.LinkedHashMap_LinkedHashMap$_empty(t7, t8);
  26537. for (t10 = compound.components, t11 = t10.length, _i0 = 0; _i0 < t11; ++_i0) {
  26538. simple = t10[_i0];
  26539. t12 = A.LinkedHashMap_LinkedHashMap$_empty(t5, t6);
  26540. for (_i1 = 0; _i1 < t4; ++_i1) {
  26541. complex = t3[_i1];
  26542. complex.get$specificity();
  26543. t13 = new A.Extender0(complex, false);
  26544. t14 = new A.Extension0(t13, simple, null, true, span);
  26545. t13._extension$_extension = t14;
  26546. t12.$indexSet(0, complex, t14);
  26547. }
  26548. t9.$indexSet(0, simple, t12);
  26549. }
  26550. selector = extender._extension_store$_extendList$2(selector, t9);
  26551. }
  26552. return selector;
  26553. },
  26554. ExtensionStore$0() {
  26555. var t1 = type$.SimpleSelector_2;
  26556. 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);
  26557. },
  26558. ExtensionStore$_mode0(_mode) {
  26559. var t1 = type$.SimpleSelector_2;
  26560. 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);
  26561. },
  26562. ExtensionStore0: function ExtensionStore0(t0, t1, t2, t3, t4, t5, t6) {
  26563. var _ = this;
  26564. _._extension_store$_selectors = t0;
  26565. _._extension_store$_extensions = t1;
  26566. _._extension_store$_extensionsByExtender = t2;
  26567. _._extension_store$_mediaContexts = t3;
  26568. _._extension_store$_sourceSpecificity = t4;
  26569. _._extension_store$_originals = t5;
  26570. _._extension_store$_mode = t6;
  26571. },
  26572. ExtensionStore_extensionsWhereTarget_closure0: function ExtensionStore_extensionsWhereTarget_closure0() {
  26573. },
  26574. ExtensionStore__registerSelector_closure0: function ExtensionStore__registerSelector_closure0() {
  26575. },
  26576. ExtensionStore_addExtension_closure2: function ExtensionStore_addExtension_closure2() {
  26577. },
  26578. ExtensionStore_addExtension_closure3: function ExtensionStore_addExtension_closure3() {
  26579. },
  26580. ExtensionStore_addExtension_closure4: function ExtensionStore_addExtension_closure4(t0) {
  26581. this.complex = t0;
  26582. },
  26583. ExtensionStore__extendExistingExtensions_closure1: function ExtensionStore__extendExistingExtensions_closure1() {
  26584. },
  26585. ExtensionStore__extendExistingExtensions_closure2: function ExtensionStore__extendExistingExtensions_closure2() {
  26586. },
  26587. ExtensionStore_addExtensions_closure0: function ExtensionStore_addExtensions_closure0() {
  26588. },
  26589. ExtensionStore__extendComplex_closure0: function ExtensionStore__extendComplex_closure0(t0, t1, t2) {
  26590. this._box_0 = t0;
  26591. this.$this = t1;
  26592. this.complex = t2;
  26593. },
  26594. ExtensionStore__extendComplex__closure0: function ExtensionStore__extendComplex__closure0(t0, t1, t2) {
  26595. this._box_0 = t0;
  26596. this.$this = t1;
  26597. this.complex = t2;
  26598. },
  26599. ExtensionStore__extendCompound_closure2: function ExtensionStore__extendCompound_closure2() {
  26600. },
  26601. ExtensionStore__extendCompound_closure3: function ExtensionStore__extendCompound_closure3() {
  26602. },
  26603. ExtensionStore__extendCompound_closure4: function ExtensionStore__extendCompound_closure4(t0) {
  26604. this.original = t0;
  26605. },
  26606. ExtensionStore__extendSimple_withoutPseudo0: function ExtensionStore__extendSimple_withoutPseudo0(t0, t1, t2) {
  26607. this.$this = t0;
  26608. this.extensions = t1;
  26609. this.targetsUsed = t2;
  26610. },
  26611. ExtensionStore__extendSimple_closure1: function ExtensionStore__extendSimple_closure1(t0, t1) {
  26612. this.$this = t0;
  26613. this.withoutPseudo = t1;
  26614. },
  26615. ExtensionStore__extendSimple_closure2: function ExtensionStore__extendSimple_closure2() {
  26616. },
  26617. ExtensionStore__extendPseudo_closure4: function ExtensionStore__extendPseudo_closure4() {
  26618. },
  26619. ExtensionStore__extendPseudo_closure5: function ExtensionStore__extendPseudo_closure5() {
  26620. },
  26621. ExtensionStore__extendPseudo_closure6: function ExtensionStore__extendPseudo_closure6() {
  26622. },
  26623. ExtensionStore__extendPseudo_closure7: function ExtensionStore__extendPseudo_closure7(t0) {
  26624. this.pseudo = t0;
  26625. },
  26626. ExtensionStore__extendPseudo_closure8: function ExtensionStore__extendPseudo_closure8(t0, t1) {
  26627. this.pseudo = t0;
  26628. this.selector = t1;
  26629. },
  26630. ExtensionStore__trim_closure1: function ExtensionStore__trim_closure1(t0, t1) {
  26631. this._box_0 = t0;
  26632. this.complex1 = t1;
  26633. },
  26634. ExtensionStore__trim_closure2: function ExtensionStore__trim_closure2(t0, t1) {
  26635. this._box_0 = t0;
  26636. this.complex1 = t1;
  26637. },
  26638. ExtensionStore_clone_closure0: function ExtensionStore_clone_closure0(t0, t1, t2, t3) {
  26639. var _ = this;
  26640. _.$this = t0;
  26641. _.newSelectors = t1;
  26642. _.oldToNewSelectors = t2;
  26643. _.newMediaContexts = t3;
  26644. },
  26645. FiberClass: function FiberClass() {
  26646. },
  26647. Fiber: function Fiber() {
  26648. },
  26649. JSToDartFileImporter: function JSToDartFileImporter(t0) {
  26650. this._file0$_findFileUrl = t0;
  26651. },
  26652. JSToDartFileImporter_canonicalize_closure: function JSToDartFileImporter_canonicalize_closure(t0, t1) {
  26653. this.$this = t0;
  26654. this.url = t1;
  26655. },
  26656. FilesystemImporter0: function FilesystemImporter0(t0, t1) {
  26657. this._filesystem$_loadPath = t0;
  26658. this._filesystem$_loadPathDeprecated = t1;
  26659. },
  26660. FilesystemImporter_canonicalize_closure0: function FilesystemImporter_canonicalize_closure0() {
  26661. },
  26662. ForRule$0(variable, from, to, children, span, exclusive) {
  26663. var t1 = A.List_List$unmodifiable(children, type$.Statement_2),
  26664. t2 = B.JSArray_methods.any$1(t1, new A.ParentStatement_closure0());
  26665. return new A.ForRule0(variable, from, to, exclusive, span, t1, t2);
  26666. },
  26667. ForRule0: function ForRule0(t0, t1, t2, t3, t4, t5, t6) {
  26668. var _ = this;
  26669. _.variable = t0;
  26670. _.from = t1;
  26671. _.to = t2;
  26672. _.isExclusive = t3;
  26673. _.span = t4;
  26674. _.children = t5;
  26675. _.hasDeclarations = t6;
  26676. },
  26677. ForwardRule0: function ForwardRule0(t0, t1, t2, t3, t4, t5, t6, t7) {
  26678. var _ = this;
  26679. _.url = t0;
  26680. _.shownMixinsAndFunctions = t1;
  26681. _.shownVariables = t2;
  26682. _.hiddenMixinsAndFunctions = t3;
  26683. _.hiddenVariables = t4;
  26684. _.prefix = t5;
  26685. _.configuration = t6;
  26686. _.span = t7;
  26687. },
  26688. ForwardedModuleView_ifNecessary0(inner, rule, $T) {
  26689. var t2,
  26690. t1 = false;
  26691. if (rule.prefix == null)
  26692. if (rule.shownMixinsAndFunctions == null)
  26693. if (rule.shownVariables == null) {
  26694. t2 = rule.hiddenMixinsAndFunctions;
  26695. t2 = t2 == null ? null : t2._base.get$isEmpty(0);
  26696. if (t2 === true) {
  26697. t1 = rule.hiddenVariables;
  26698. t1 = t1 == null ? null : t1._base.get$isEmpty(0);
  26699. t1 = t1 === true;
  26700. }
  26701. }
  26702. if (t1)
  26703. return inner;
  26704. else
  26705. return A.ForwardedModuleView$0(inner, rule, $T);
  26706. },
  26707. ForwardedModuleView$0(_inner, _rule, $T) {
  26708. var t1 = _rule.prefix,
  26709. t2 = _rule.shownVariables,
  26710. t3 = _rule.hiddenVariables,
  26711. t4 = _rule.shownMixinsAndFunctions,
  26712. t5 = _rule.hiddenMixinsAndFunctions;
  26713. 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>"));
  26714. },
  26715. ForwardedModuleView__forwardedMap0(map, prefix, safelist, blocklist, $V) {
  26716. var t1 = prefix == null,
  26717. t2 = false;
  26718. if (t1)
  26719. if (safelist == null)
  26720. t2 = blocklist == null || blocklist._base.get$isEmpty(0);
  26721. if (t2)
  26722. return map;
  26723. if (!t1)
  26724. map = new A.PrefixedMapView0(map, prefix, $V._eval$1("PrefixedMapView0<0>"));
  26725. if (safelist != null)
  26726. 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>"));
  26727. else if (blocklist != null && blocklist._base.get$isNotEmpty(0))
  26728. map = A.LimitedMapView$blocklist0(map, blocklist, type$.String, $V);
  26729. return map;
  26730. },
  26731. ForwardedModuleView0: function ForwardedModuleView0(t0, t1, t2, t3, t4, t5, t6) {
  26732. var _ = this;
  26733. _._forwarded_view0$_inner = t0;
  26734. _._forwarded_view0$_rule = t1;
  26735. _.variables = t2;
  26736. _.variableNodes = t3;
  26737. _.functions = t4;
  26738. _.mixins = t5;
  26739. _.$ti = t6;
  26740. },
  26741. FunctionExpression0: function FunctionExpression0(t0, t1, t2, t3, t4) {
  26742. var _ = this;
  26743. _.namespace = t0;
  26744. _.name = t1;
  26745. _.originalName = t2;
  26746. _.$arguments = t3;
  26747. _.span = t4;
  26748. },
  26749. JSFunction0: function JSFunction0() {
  26750. },
  26751. SupportsFunction0: function SupportsFunction0(t0, t1, t2) {
  26752. this.name = t0;
  26753. this.$arguments = t1;
  26754. this.span = t2;
  26755. },
  26756. functionClass_closure: function functionClass_closure() {
  26757. },
  26758. functionClass__closure: function functionClass__closure() {
  26759. },
  26760. functionClass__closure0: function functionClass__closure0() {
  26761. },
  26762. SassFunction0: function SassFunction0(t0, t1) {
  26763. this.callable = t0;
  26764. this._function0$_compileContext = t1;
  26765. },
  26766. FunctionRule$0($name, parameters, children, span, comment) {
  26767. var t1 = A.stringReplaceAllUnchecked($name, "_", "-"),
  26768. t2 = A.List_List$unmodifiable(children, type$.Statement_2),
  26769. t3 = B.JSArray_methods.any$1(t2, new A.ParentStatement_closure0());
  26770. return new A.FunctionRule0(t1, $name, parameters, span, t2, t3);
  26771. },
  26772. FunctionRule0: function FunctionRule0(t0, t1, t2, t3, t4, t5) {
  26773. var _ = this;
  26774. _.name = t0;
  26775. _.originalName = t1;
  26776. _.parameters = t2;
  26777. _.span = t3;
  26778. _.children = t4;
  26779. _.hasDeclarations = t5;
  26780. },
  26781. unifyComplex0(complexes, span) {
  26782. var t2, trailingCombinator, leadingCombinator, unifiedBase, t3, t4, _0_6_isSet, _0_6, t5, newLeadingCombinator, base, _1_1, newTrailingCombinator, unifiedBase0, t6, t7, t8, _null = null,
  26783. t1 = J.getInterceptor$asx(complexes);
  26784. if (t1.get$length(complexes) === 1)
  26785. return complexes;
  26786. for (t2 = t1.get$iterator(complexes), trailingCombinator = _null, leadingCombinator = trailingCombinator, unifiedBase = leadingCombinator; t2.moveNext$0();) {
  26787. t3 = t2.get$current(t2);
  26788. if (t3.accept$1(B.C__IsUselessVisitor0))
  26789. return _null;
  26790. t4 = t3.components;
  26791. _0_6_isSet = t4.length === 1;
  26792. if (_0_6_isSet) {
  26793. _0_6 = t3.leadingCombinators;
  26794. t5 = _0_6.length === 1;
  26795. } else {
  26796. _0_6 = _null;
  26797. t5 = false;
  26798. }
  26799. if (t5) {
  26800. newLeadingCombinator = (_0_6_isSet ? _0_6 : t3.leadingCombinators)[0];
  26801. if (leadingCombinator == null)
  26802. leadingCombinator = newLeadingCombinator;
  26803. else if (!(leadingCombinator.$ti._is(newLeadingCombinator) && J.$eq$(newLeadingCombinator.value, leadingCombinator.value)))
  26804. return _null;
  26805. }
  26806. base = B.JSArray_methods.get$last(t4);
  26807. _1_1 = base.combinators;
  26808. if (_1_1.length === 1) {
  26809. newTrailingCombinator = _1_1[0];
  26810. if (trailingCombinator != null)
  26811. t3 = !(trailingCombinator.$ti._is(newTrailingCombinator) && J.$eq$(newTrailingCombinator.value, trailingCombinator.value));
  26812. else
  26813. t3 = false;
  26814. if (t3)
  26815. return _null;
  26816. trailingCombinator = newTrailingCombinator;
  26817. }
  26818. unifiedBase0 = base.selector;
  26819. if (unifiedBase == null)
  26820. unifiedBase = unifiedBase0;
  26821. else {
  26822. unifiedBase = A.unifyCompound0(unifiedBase, unifiedBase0);
  26823. if (unifiedBase == null)
  26824. return _null;
  26825. }
  26826. }
  26827. t2 = type$.JSArray_ComplexSelector_2;
  26828. t3 = A._setArrayType([], t2);
  26829. for (t4 = t1.get$iterator(complexes); t4.moveNext$0();) {
  26830. t5 = t4.get$current(t4);
  26831. t6 = t5.components;
  26832. t7 = t6.length;
  26833. if (t7 > 1) {
  26834. t8 = t5.leadingCombinators;
  26835. t3.push(A.ComplexSelector$0(t8, B.JSArray_methods.take$1(t6, t7 - 1), t5.span, t5.lineBreak));
  26836. }
  26837. }
  26838. t4 = leadingCombinator == null ? B.List_empty16 : A._setArrayType([leadingCombinator], type$.JSArray_CssValue_Combinator_2);
  26839. unifiedBase.toString;
  26840. t5 = trailingCombinator == null ? B.List_empty16 : A._setArrayType([trailingCombinator], type$.JSArray_CssValue_Combinator_2);
  26841. 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()));
  26842. if (t3.length === 0)
  26843. t1 = A._setArrayType([base], t2);
  26844. else {
  26845. t1 = A.List_List$_of(A.IterableExtension_get_exceptLast0(t3), type$.ComplexSelector_2);
  26846. t1.push(B.JSArray_methods.get$last(t3).concatenate$2(base, span));
  26847. }
  26848. return A.weave0(t1, span, false);
  26849. },
  26850. unifyCompound0(compound1, compound2) {
  26851. var t1, t2, pseudoElementFound, _i, simple, unified,
  26852. result = compound1.components,
  26853. pseudoResult = A._setArrayType([], type$.JSArray_SimpleSelector_2);
  26854. for (t1 = compound2.components, t2 = t1.length, pseudoElementFound = false, _i = 0; _i < t2; ++_i) {
  26855. simple = t1[_i];
  26856. if (pseudoElementFound && simple instanceof A.PseudoSelector0) {
  26857. unified = simple.unify$1(pseudoResult);
  26858. if (unified == null)
  26859. return null;
  26860. pseudoResult = unified;
  26861. } else {
  26862. pseudoElementFound = B.JSBool_methods.$or(pseudoElementFound, simple instanceof A.PseudoSelector0 && !simple.isClass);
  26863. unified = simple.unify$1(result);
  26864. if (unified == null)
  26865. return null;
  26866. result = unified;
  26867. }
  26868. }
  26869. t1 = A.List_List$_of(result, type$.SimpleSelector_2);
  26870. B.JSArray_methods.addAll$1(t1, pseudoResult);
  26871. return A.CompoundSelector$0(t1, compound1.span);
  26872. },
  26873. unifyUniversalAndElement0(selector1, selector2) {
  26874. var namespace, $name, t1,
  26875. _0_0 = A._namespaceAndName0(selector1, "selector1"),
  26876. namespace1 = _0_0._0,
  26877. name1 = _0_0._1,
  26878. _1_0 = A._namespaceAndName0(selector2, "selector2"),
  26879. namespace2 = _1_0._0,
  26880. name2 = _1_0._1;
  26881. if (namespace1 == namespace2 || namespace2 === "*")
  26882. namespace = namespace1;
  26883. else {
  26884. if (namespace1 !== "*")
  26885. return null;
  26886. namespace = namespace2;
  26887. }
  26888. if (name1 == name2 || name2 == null)
  26889. $name = name1;
  26890. else {
  26891. if (!(name1 == null || name1 === "*"))
  26892. return null;
  26893. $name = name2;
  26894. }
  26895. t1 = selector1.span;
  26896. return $name == null ? new A.UniversalSelector0(namespace, t1) : new A.TypeSelector0(new A.QualifiedName0($name, namespace), t1);
  26897. },
  26898. _namespaceAndName0(selector, $name) {
  26899. var t1, _0_4;
  26900. $label0$0: {
  26901. if (selector instanceof A.UniversalSelector0) {
  26902. t1 = new A._Record_2(selector.namespace, null);
  26903. break $label0$0;
  26904. }
  26905. if (selector instanceof A.TypeSelector0) {
  26906. _0_4 = selector.name;
  26907. t1 = new A._Record_2(_0_4.namespace, _0_4.name);
  26908. break $label0$0;
  26909. }
  26910. t1 = A.throwExpression(A.ArgumentError$value(selector, $name, string$.must_b));
  26911. }
  26912. return t1;
  26913. },
  26914. weave0(complexes, span, forceLineBreak) {
  26915. var complex, t2, prefixes, t3, t4, t5, t6, i, t7, t8, _i, t9, t10, _i0, parentPrefix, t11, t12,
  26916. t1 = J.getInterceptor$asx(complexes);
  26917. if (t1.get$length(complexes) === 1) {
  26918. complex = t1.$index(complexes, 0);
  26919. if (!forceLineBreak || complex.lineBreak)
  26920. return complexes;
  26921. return A._setArrayType([A.ComplexSelector$0(complex.leadingCombinators, complex.components, complex.span, true)], type$.JSArray_ComplexSelector_2);
  26922. }
  26923. t2 = type$.JSArray_ComplexSelector_2;
  26924. prefixes = A._setArrayType([t1.get$first(complexes)], t2);
  26925. 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();) {
  26926. t5 = t1.__internal$_current;
  26927. if (t5 == null)
  26928. t5 = t3._as(t5);
  26929. t6 = t5.components;
  26930. if (t6.length === 1) {
  26931. for (i = 0; i < prefixes.length; ++i)
  26932. prefixes[i] = prefixes[i].concatenate$3$forceLineBreak(t5, span, forceLineBreak);
  26933. continue;
  26934. }
  26935. t7 = A._setArrayType([], t2);
  26936. for (t8 = prefixes.length, _i = 0; _i < prefixes.length; prefixes.length === t8 || (0, A.throwConcurrentModificationError)(prefixes), ++_i) {
  26937. t9 = A._weaveParents0(prefixes[_i], t5, span);
  26938. if (t9 == null)
  26939. t9 = B.List_empty17;
  26940. t10 = t9.length;
  26941. _i0 = 0;
  26942. for (; _i0 < t9.length; t9.length === t10 || (0, A.throwConcurrentModificationError)(t9), ++_i0) {
  26943. parentPrefix = t9[_i0];
  26944. t11 = B.JSArray_methods.get$last(t6);
  26945. t12 = A.List_List$_of(parentPrefix.components, t4);
  26946. t12.push(t11);
  26947. t11 = parentPrefix.lineBreak || forceLineBreak;
  26948. t7.push(A.ComplexSelector$0(parentPrefix.leadingCombinators, t12, span, t11));
  26949. }
  26950. }
  26951. prefixes = t7;
  26952. }
  26953. return prefixes;
  26954. },
  26955. _weaveParents0(prefix, base, span) {
  26956. 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,
  26957. leadingCombinators = A._mergeLeadingCombinators0(prefix.leadingCombinators, base.leadingCombinators);
  26958. if (leadingCombinators == null)
  26959. return _null;
  26960. t1 = type$.ComplexSelectorComponent_2;
  26961. queue1 = A.QueueList_QueueList$from(prefix.components, t1);
  26962. queue2 = A.QueueList_QueueList$from(A.IterableExtension_get_exceptLast0(base.components), t1);
  26963. trailingCombinators = A._mergeTrailingCombinators0(queue1, queue2, span, _null);
  26964. if (trailingCombinators == null)
  26965. return _null;
  26966. $label0$0: {
  26967. _0_1 = A._firstIfRootish0(queue1);
  26968. _0_3 = A._firstIfRootish0(queue2);
  26969. _0_3_isSet = _0_1 != null;
  26970. _0_30 = _null;
  26971. rootish2 = _null;
  26972. t2 = false;
  26973. if (_0_3_isSet) {
  26974. rootish1 = _0_1 == null ? t1._as(_0_1) : _0_1;
  26975. t2 = _0_3 != null;
  26976. if (t2)
  26977. rootish2 = _0_3 == null ? t1._as(_0_3) : _0_3;
  26978. _0_30 = _0_3;
  26979. } else
  26980. rootish1 = _null;
  26981. if (t2) {
  26982. rootish = A.unifyCompound0(rootish1.selector, rootish2.selector);
  26983. if (rootish == null)
  26984. return _null;
  26985. t1 = rootish1.combinators;
  26986. t2 = rootish1.span;
  26987. t3 = type$.CssValue_Combinator_2;
  26988. queue1.addFirst$1(new A.ComplexSelectorComponent0(rootish, A.List_List$unmodifiable(t1, t3), t2));
  26989. queue2.addFirst$1(new A.ComplexSelectorComponent0(rootish, A.List_List$unmodifiable(rootish2.combinators, t3), t2));
  26990. break $label0$0;
  26991. }
  26992. t2 = _null;
  26993. t3 = false;
  26994. if (_0_1 != null) {
  26995. if (_0_3_isSet)
  26996. t2 = _0_30;
  26997. else {
  26998. t2 = _0_3;
  26999. _0_30 = t2;
  27000. _0_3_isSet = true;
  27001. }
  27002. t2 = t2 == null;
  27003. t3 = t2 ? _0_1 : _null;
  27004. t0 = t3;
  27005. t3 = t2;
  27006. t2 = t0;
  27007. }
  27008. if (!t3)
  27009. if (_0_1 == null) {
  27010. if (_0_3_isSet)
  27011. t3 = _0_30;
  27012. else {
  27013. t3 = _0_3;
  27014. _0_30 = t3;
  27015. _0_3_isSet = true;
  27016. }
  27017. t3 = t3 != null;
  27018. if (t3) {
  27019. rootish_case_1 = _0_3_isSet ? _0_30 : _0_3;
  27020. if (rootish_case_1 == null)
  27021. rootish_case_1 = t1._as(rootish_case_1);
  27022. t1 = rootish_case_1;
  27023. } else
  27024. t1 = t2;
  27025. t2 = t3;
  27026. } else {
  27027. t1 = t2;
  27028. t2 = false;
  27029. }
  27030. else {
  27031. t1 = t2;
  27032. t2 = true;
  27033. }
  27034. if (t2) {
  27035. queue1.addFirst$1(t1);
  27036. queue2.addFirst$1(t1);
  27037. }
  27038. }
  27039. groups1 = A._groupSelectors0(queue1);
  27040. groups2 = A._groupSelectors0(queue2);
  27041. t1 = type$.List_ComplexSelectorComponent_2;
  27042. lcs = A.longestCommonSubsequence0(groups2, groups1, new A._weaveParents_closure3(span), t1);
  27043. choices = A._setArrayType([], type$.JSArray_List_Iterable_ComplexSelectorComponent_2);
  27044. 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) {
  27045. group = lcs[_i];
  27046. t5 = A._setArrayType([], t3);
  27047. 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) {
  27048. chunk = t6[_i0];
  27049. t8 = A._setArrayType([], t4);
  27050. for (t9 = B.JSArray_methods.get$iterator(chunk); t9.moveNext$0();)
  27051. B.JSArray_methods.addAll$1(t8, t9.get$current(0));
  27052. t5.push(t8);
  27053. }
  27054. choices.push(t5);
  27055. choices.push(A._setArrayType([group], t3));
  27056. groups1.removeFirst$0();
  27057. groups2.removeFirst$0();
  27058. }
  27059. t2 = A._setArrayType([], t3);
  27060. 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) {
  27061. chunk = t1[_i];
  27062. t5 = A._setArrayType([], t4);
  27063. for (t6 = B.JSArray_methods.get$iterator(chunk); t6.moveNext$0();)
  27064. B.JSArray_methods.addAll$1(t5, t6.get$current(0));
  27065. t2.push(t5);
  27066. }
  27067. choices.push(t2);
  27068. B.JSArray_methods.addAll$1(choices, trailingCombinators);
  27069. t1 = A._setArrayType([], type$.JSArray_ComplexSelector_2);
  27070. 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();) {
  27071. t6 = t2.get$current(t2);
  27072. t7 = A._setArrayType([], t4);
  27073. for (t6 = J.get$iterator$ax(t6); t6.moveNext$0();)
  27074. B.JSArray_methods.addAll$1(t7, t6.get$current(t6));
  27075. t1.push(A.ComplexSelector$0(leadingCombinators, t7, span, !t3 || t5));
  27076. }
  27077. return t1;
  27078. },
  27079. _firstIfRootish0(queue) {
  27080. var first, t1, t2, _i, simple, t3;
  27081. if (queue.get$length(0) >= 1) {
  27082. first = queue.$index(0, 0);
  27083. for (t1 = first.selector.components, t2 = t1.length, _i = 0; _i < t2; ++_i) {
  27084. simple = t1[_i];
  27085. t3 = false;
  27086. if (simple instanceof A.PseudoSelector0)
  27087. if (simple.isClass)
  27088. t3 = $._rootishPseudoClasses0.contains$1(0, simple.normalizedName);
  27089. if (t3) {
  27090. queue.removeFirst$0();
  27091. return first;
  27092. }
  27093. }
  27094. }
  27095. return null;
  27096. },
  27097. _mergeLeadingCombinators0(combinators1, combinators2) {
  27098. var _0_4, t1, t2, _0_7, t3, _0_11, _0_11_isSet, combinators, _null = null;
  27099. $label0$0: {
  27100. _0_4 = combinators2;
  27101. t1 = _null;
  27102. t2 = type$.List_dynamic;
  27103. _0_7 = combinators1.length;
  27104. t3 = _0_7;
  27105. t3 = t3 > 1;
  27106. _0_11 = _null;
  27107. if (!t3) {
  27108. t3 = _0_4;
  27109. _0_11_isSet = t2._is(t3);
  27110. if (_0_11_isSet) {
  27111. t3 = _0_4;
  27112. _0_11 = (t3 == null ? type$.List_CssValue_Combinator_2._as(t3) : t3).length;
  27113. t3 = _0_11;
  27114. t3 = t3 > 1;
  27115. } else
  27116. t3 = false;
  27117. } else {
  27118. _0_11_isSet = false;
  27119. t3 = true;
  27120. }
  27121. if (t3)
  27122. break $label0$0;
  27123. t3 = _0_7;
  27124. t3 = t3 <= 0;
  27125. if (t3)
  27126. combinators = _0_4;
  27127. else
  27128. combinators = t1;
  27129. t1 = t3;
  27130. if (!t1) {
  27131. t1 = false;
  27132. t3 = _0_4;
  27133. if (t2._is(t3)) {
  27134. if (_0_11_isSet)
  27135. t1 = _0_11;
  27136. else {
  27137. t1 = _0_4;
  27138. _0_11 = (t1 == null ? type$.List_CssValue_Combinator_2._as(t1) : t1).length;
  27139. t1 = _0_11;
  27140. }
  27141. t1 = t1 <= 0;
  27142. }
  27143. combinators = combinators1;
  27144. } else
  27145. t1 = true;
  27146. if (t1) {
  27147. t1 = combinators;
  27148. break $label0$0;
  27149. }
  27150. t1 = B.C_ListEquality.equals$2(0, combinators1, combinators2) ? combinators1 : _null;
  27151. break $label0$0;
  27152. }
  27153. return t1;
  27154. },
  27155. _mergeTrailingCombinators0(components1, components2, span, result) {
  27156. 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;
  27157. if (result == null)
  27158. result = A.QueueList$(_null, type$.List_List_ComplexSelectorComponent_2);
  27159. $label0$0: {
  27160. _0_1 = components1.get$length(0);
  27161. if (_0_1 >= 1) {
  27162. t1 = components1.$index(0, _0_1 - 1).combinators;
  27163. break $label0$0;
  27164. }
  27165. t1 = B.List_empty16;
  27166. break $label0$0;
  27167. }
  27168. $label1$1: {
  27169. _1_1 = components2.get$length(0);
  27170. if (_1_1 >= 1) {
  27171. t2 = components2.$index(0, _1_1 - 1).combinators;
  27172. break $label1$1;
  27173. }
  27174. t2 = B.List_empty16;
  27175. break $label1$1;
  27176. }
  27177. t3 = t1.length;
  27178. if (t3 === 0 && t2.length === 0)
  27179. return result;
  27180. if (t3 > 1 || t2.length > 1)
  27181. return _null;
  27182. $label2$2: {
  27183. t3 = A.IterableExtension_get_firstOrNull(t1);
  27184. t3 = t3 == null ? _null : t3.value;
  27185. t2 = A.IterableExtension_get_firstOrNull(t2);
  27186. t2 = [t3, t2 == null ? _null : t2.value, components1, components2];
  27187. _4_1 = t2[0];
  27188. _4_3 = B.Combinator_55N0 === _4_1;
  27189. _4_5_isSet = _4_3;
  27190. if (_4_5_isSet) {
  27191. _4_4 = t2[1];
  27192. _4_5 = B.Combinator_55N0 === _4_4;
  27193. t3 = _4_5;
  27194. } else {
  27195. _4_4 = _null;
  27196. _4_5 = _4_4;
  27197. t3 = false;
  27198. }
  27199. if (t3) {
  27200. component1 = components1.removeLast$0(0);
  27201. component2 = components2.removeLast$0(0);
  27202. t2 = component1.selector;
  27203. t3 = component2.selector;
  27204. if (A.compoundIsSuperselector0(t2, t3, _null))
  27205. result.addFirst$1(A._setArrayType([A._setArrayType([component2], type$.JSArray_ComplexSelectorComponent_2)], type$.JSArray_List_ComplexSelectorComponent_2));
  27206. else {
  27207. t4 = type$.JSArray_ComplexSelectorComponent_2;
  27208. t5 = type$.JSArray_List_ComplexSelectorComponent_2;
  27209. if (A.compoundIsSuperselector0(t3, t2, _null))
  27210. result.addFirst$1(A._setArrayType([A._setArrayType([component1], t4)], t5));
  27211. else {
  27212. choices = A._setArrayType([A._setArrayType([component1, component2], t4), A._setArrayType([component2, component1], t4)], t5);
  27213. _2_0 = A.unifyCompound0(t2, t3);
  27214. if (_2_0 != null)
  27215. 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));
  27216. result.addFirst$1(choices);
  27217. }
  27218. }
  27219. break $label2$2;
  27220. }
  27221. _4_6 = _null;
  27222. _4_7 = _null;
  27223. followingComponents = _null;
  27224. nextComponents = _null;
  27225. if (_4_3) {
  27226. if (_4_5_isSet) {
  27227. t3 = _4_4;
  27228. _4_4_isSet = _4_5_isSet;
  27229. } else {
  27230. _4_4 = t2[1];
  27231. t3 = _4_4;
  27232. _4_4_isSet = true;
  27233. }
  27234. _4_9 = B.Combinator_bOP0 === t3;
  27235. _4_6_isSet = _4_9;
  27236. if (_4_6_isSet) {
  27237. _4_6 = t2[2];
  27238. _4_7 = t2[3];
  27239. nextComponents = _4_7;
  27240. followingComponents = _4_6;
  27241. }
  27242. t3 = _4_6_isSet;
  27243. _4_7_isSet = t3;
  27244. } else {
  27245. _4_9 = _null;
  27246. _4_4_isSet = _4_5_isSet;
  27247. _4_6_isSet = false;
  27248. _4_7_isSet = false;
  27249. t3 = false;
  27250. }
  27251. _4_10_isSet = !t3;
  27252. if (_4_10_isSet) {
  27253. _4_10 = B.Combinator_bOP0 === _4_1;
  27254. t3 = _4_10;
  27255. if (t3) {
  27256. if (_4_5_isSet)
  27257. t3 = _4_5;
  27258. else {
  27259. if (_4_4_isSet)
  27260. t3 = _4_4;
  27261. else {
  27262. _4_4 = t2[1];
  27263. t3 = _4_4;
  27264. _4_4_isSet = true;
  27265. }
  27266. _4_5 = B.Combinator_55N0 === t3;
  27267. t3 = _4_5;
  27268. _4_5_isSet = true;
  27269. }
  27270. if (t3) {
  27271. if (_4_6_isSet)
  27272. nextComponents = _4_6;
  27273. else {
  27274. _4_6 = t2[2];
  27275. nextComponents = _4_6;
  27276. _4_6_isSet = true;
  27277. }
  27278. if (_4_7_isSet)
  27279. followingComponents = _4_7;
  27280. else {
  27281. _4_7 = t2[3];
  27282. followingComponents = _4_7;
  27283. _4_7_isSet = true;
  27284. }
  27285. }
  27286. } else
  27287. t3 = false;
  27288. } else {
  27289. _4_10 = _null;
  27290. t3 = true;
  27291. }
  27292. if (t3) {
  27293. next = nextComponents.removeLast$0(0);
  27294. following = followingComponents.removeLast$0(0);
  27295. t1 = following.selector;
  27296. t2 = next.selector;
  27297. t3 = type$.JSArray_ComplexSelectorComponent_2;
  27298. t4 = type$.JSArray_List_ComplexSelectorComponent_2;
  27299. if (A.compoundIsSuperselector0(t1, t2, _null))
  27300. result.addFirst$1(A._setArrayType([A._setArrayType([next], t3)], t4));
  27301. else {
  27302. t4 = A._setArrayType([A._setArrayType([following, next], t3)], t4);
  27303. _3_0 = A.unifyCompound0(t1, t2);
  27304. if (_3_0 != null)
  27305. t4.push(A._setArrayType([new A.ComplexSelectorComponent0(_3_0, A.List_List$unmodifiable(next.combinators, type$.CssValue_Combinator_2), span)], t3));
  27306. result.addFirst$1(t4);
  27307. }
  27308. break $label2$2;
  27309. }
  27310. t3 = _null;
  27311. if (B.Combinator_0mp0 === _4_1) {
  27312. _4_4_isSet0 = true;
  27313. if (_4_3)
  27314. t4 = _4_9;
  27315. else {
  27316. if (_4_4_isSet)
  27317. t4 = _4_4;
  27318. else {
  27319. _4_4 = t2[1];
  27320. t4 = _4_4;
  27321. _4_4_isSet = _4_4_isSet0;
  27322. }
  27323. _4_9 = B.Combinator_bOP0 === t4;
  27324. t4 = _4_9;
  27325. }
  27326. if (!t4)
  27327. if (_4_5_isSet)
  27328. t4 = _4_5;
  27329. else {
  27330. if (_4_4_isSet)
  27331. t4 = _4_4;
  27332. else {
  27333. _4_4 = t2[1];
  27334. t4 = _4_4;
  27335. _4_4_isSet = _4_4_isSet0;
  27336. }
  27337. _4_5 = B.Combinator_55N0 === t4;
  27338. t4 = _4_5;
  27339. }
  27340. else
  27341. t4 = true;
  27342. if (t4) {
  27343. if (_4_7_isSet)
  27344. siblingComponents_case_0 = _4_7;
  27345. else {
  27346. _4_7 = t2[3];
  27347. siblingComponents_case_0 = _4_7;
  27348. _4_7_isSet = true;
  27349. }
  27350. t3 = siblingComponents_case_0;
  27351. }
  27352. } else
  27353. t4 = false;
  27354. if (!t4) {
  27355. if (_4_10_isSet)
  27356. t4 = _4_10;
  27357. else {
  27358. _4_10 = B.Combinator_bOP0 === _4_1;
  27359. t4 = _4_10;
  27360. }
  27361. if (!t4)
  27362. t4 = _4_3;
  27363. else
  27364. t4 = true;
  27365. if (t4) {
  27366. if (_4_4_isSet)
  27367. t4 = _4_4;
  27368. else {
  27369. _4_4 = t2[1];
  27370. t4 = _4_4;
  27371. _4_4_isSet = true;
  27372. }
  27373. t4 = B.Combinator_0mp0 === t4;
  27374. if (t4) {
  27375. if (_4_6_isSet)
  27376. siblingComponents_case_1 = _4_6;
  27377. else {
  27378. _4_6 = t2[2];
  27379. siblingComponents_case_1 = _4_6;
  27380. _4_6_isSet = true;
  27381. }
  27382. t3 = siblingComponents_case_1;
  27383. }
  27384. } else
  27385. t4 = false;
  27386. } else
  27387. t4 = true;
  27388. if (t4) {
  27389. result.addFirst$1(A._setArrayType([A._setArrayType([t3.removeLast$0(0)], type$.JSArray_ComplexSelectorComponent_2)], type$.JSArray_List_ComplexSelectorComponent_2));
  27390. break $label2$2;
  27391. }
  27392. t3 = _4_1 == null;
  27393. t4 = !t3;
  27394. t5 = false;
  27395. if (t4) {
  27396. _4_4_isSet0 = true;
  27397. if (_4_4_isSet)
  27398. t6 = _4_4;
  27399. else {
  27400. _4_4 = t2[1];
  27401. t6 = _4_4;
  27402. _4_4_isSet = _4_4_isSet0;
  27403. }
  27404. if (t6 != null) {
  27405. if (_4_4_isSet)
  27406. combinator2 = _4_4;
  27407. else {
  27408. _4_4 = t2[1];
  27409. combinator2 = _4_4;
  27410. _4_4_isSet = _4_4_isSet0;
  27411. }
  27412. t5 = _4_1 === (combinator2 == null ? type$.Combinator_2._as(combinator2) : combinator2);
  27413. }
  27414. }
  27415. if (t5) {
  27416. unified = A.unifyCompound0(components1.removeLast$0(0).selector, components2.removeLast$0(0).selector);
  27417. if (unified == null)
  27418. return _null;
  27419. 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));
  27420. break $label2$2;
  27421. }
  27422. t1 = _null;
  27423. t5 = _null;
  27424. t6 = _null;
  27425. t7 = false;
  27426. if (t4) {
  27427. if (_4_4_isSet)
  27428. t4 = _4_4;
  27429. else {
  27430. _4_4 = t2[1];
  27431. t4 = _4_4;
  27432. _4_4_isSet = true;
  27433. }
  27434. t4 = t4 == null;
  27435. if (t4) {
  27436. if (_4_6_isSet)
  27437. combinatorComponents_case_0 = _4_6;
  27438. else {
  27439. _4_6 = t2[2];
  27440. combinatorComponents_case_0 = _4_6;
  27441. _4_6_isSet = true;
  27442. }
  27443. if (_4_7_isSet)
  27444. descendantComponents_case_0 = _4_7;
  27445. else {
  27446. _4_7 = t2[3];
  27447. descendantComponents_case_0 = _4_7;
  27448. _4_7_isSet = true;
  27449. }
  27450. t1 = descendantComponents_case_0;
  27451. t6 = t1;
  27452. t1 = _4_1;
  27453. t5 = combinatorComponents_case_0;
  27454. }
  27455. t0 = t6;
  27456. t6 = t4;
  27457. t4 = t5;
  27458. t5 = t0;
  27459. } else {
  27460. t4 = t5;
  27461. t5 = t6;
  27462. t6 = t7;
  27463. }
  27464. if (!t6)
  27465. if (t3) {
  27466. if (_4_4_isSet)
  27467. t3 = _4_4;
  27468. else {
  27469. _4_4 = t2[1];
  27470. t3 = _4_4;
  27471. _4_4_isSet = true;
  27472. }
  27473. t3 = t3 != null;
  27474. if (t3) {
  27475. combinator_case_1 = _4_4_isSet ? _4_4 : t2[1];
  27476. if (combinator_case_1 == null)
  27477. combinator_case_1 = type$.Combinator_2._as(combinator_case_1);
  27478. descendantComponents_case_1 = _4_6_isSet ? _4_6 : t2[2];
  27479. combinatorComponents_case_1 = _4_7_isSet ? _4_7 : t2[3];
  27480. t1 = combinatorComponents_case_1;
  27481. t2 = descendantComponents_case_1;
  27482. t4 = t2;
  27483. t2 = t1;
  27484. t1 = combinator_case_1;
  27485. } else {
  27486. t2 = t4;
  27487. t4 = t5;
  27488. }
  27489. t0 = t4;
  27490. t4 = t3;
  27491. t3 = t0;
  27492. } else {
  27493. t3 = t5;
  27494. t2 = t4;
  27495. t4 = false;
  27496. }
  27497. else {
  27498. t3 = t5;
  27499. t2 = t4;
  27500. t4 = true;
  27501. }
  27502. if (t4) {
  27503. if (t1 === B.Combinator_0mp0) {
  27504. t1 = A.IterableExtension_get_lastOrNull(t3);
  27505. t1 = t1 == null ? _null : A.compoundIsSuperselector0(t1.selector, t2.get$last(t2).selector, _null);
  27506. t1 = t1 === true;
  27507. } else
  27508. t1 = false;
  27509. if (t1)
  27510. t3.removeLast$0(0);
  27511. result.addFirst$1(A._setArrayType([A._setArrayType([t2.removeLast$0(0)], type$.JSArray_ComplexSelectorComponent_2)], type$.JSArray_List_ComplexSelectorComponent_2));
  27512. break $label2$2;
  27513. }
  27514. return _null;
  27515. }
  27516. return A._mergeTrailingCombinators0(components1, components2, span, result);
  27517. },
  27518. _mustUnify0(complex1, complex2) {
  27519. var t2, t3, t4,
  27520. t1 = A.LinkedHashSet_LinkedHashSet$_empty(type$.SimpleSelector_2);
  27521. for (t2 = J.get$iterator$ax(complex1); t2.moveNext$0();)
  27522. 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();)
  27523. t1.add$1(0, t3.get$current(0));
  27524. if (t1._collection$_length === 0)
  27525. return false;
  27526. return J.any$1$ax(complex2, new A._mustUnify_closure0(t1));
  27527. },
  27528. _isUnique0(simple) {
  27529. var t1;
  27530. if (!(simple instanceof A.IDSelector0))
  27531. t1 = simple instanceof A.PseudoSelector0 && !simple.isClass;
  27532. else
  27533. t1 = true;
  27534. return t1;
  27535. },
  27536. _chunks0(queue1, queue2, done, $T) {
  27537. var chunk2, _0_4, _0_7_isSet, _0_1, _0_7, _0_5, chunk, _0_5_isSet, t2,
  27538. t1 = $T._eval$1("JSArray<0>"),
  27539. chunk1 = A._setArrayType([], t1);
  27540. for (; !done.call$1(queue1);)
  27541. chunk1.push(queue1.removeFirst$0());
  27542. chunk2 = A._setArrayType([], t1);
  27543. for (; !done.call$1(queue2);)
  27544. chunk2.push(queue2.removeFirst$0());
  27545. $label0$0: {
  27546. _0_4 = chunk1.length <= 0;
  27547. _0_7_isSet = _0_4;
  27548. _0_1 = chunk1;
  27549. if (_0_7_isSet) {
  27550. _0_7 = chunk2.length <= 0;
  27551. t1 = _0_7;
  27552. _0_5 = chunk2;
  27553. } else {
  27554. _0_7 = null;
  27555. _0_5 = null;
  27556. t1 = false;
  27557. }
  27558. if (t1) {
  27559. t1 = A._setArrayType([], $T._eval$1("JSArray<List<0>>"));
  27560. break $label0$0;
  27561. }
  27562. if (_0_4)
  27563. if (_0_7_isSet) {
  27564. chunk = _0_5;
  27565. _0_5_isSet = _0_7_isSet;
  27566. } else {
  27567. chunk = chunk2;
  27568. _0_5 = chunk;
  27569. _0_5_isSet = true;
  27570. }
  27571. else {
  27572. _0_5_isSet = _0_7_isSet;
  27573. chunk = null;
  27574. }
  27575. if (!_0_4) {
  27576. if (_0_7_isSet)
  27577. t1 = _0_7;
  27578. else {
  27579. _0_7 = (_0_5_isSet ? _0_5 : chunk2).length <= 0;
  27580. t1 = _0_7;
  27581. }
  27582. chunk = _0_1;
  27583. } else
  27584. t1 = true;
  27585. if (t1) {
  27586. t1 = A._setArrayType([chunk], $T._eval$1("JSArray<List<0>>"));
  27587. break $label0$0;
  27588. }
  27589. t1 = A.List_List$_of(chunk1, $T);
  27590. B.JSArray_methods.addAll$1(t1, chunk2);
  27591. t2 = A.List_List$_of(chunk2, $T);
  27592. B.JSArray_methods.addAll$1(t2, chunk1);
  27593. t1 = A._setArrayType([t1, t2], $T._eval$1("JSArray<List<0>>"));
  27594. break $label0$0;
  27595. }
  27596. return t1;
  27597. },
  27598. paths0(choices, $T) {
  27599. 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));
  27600. },
  27601. _groupSelectors0(complex) {
  27602. var t2, t3, t4,
  27603. groups = A.QueueList$(null, type$.List_ComplexSelectorComponent_2),
  27604. t1 = type$.JSArray_ComplexSelectorComponent_2,
  27605. group = A._setArrayType([], t1);
  27606. 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();) {
  27607. t4 = t3.__internal$_current;
  27608. if (t4 == null)
  27609. t4 = t2._as(t4);
  27610. group.push(t4);
  27611. if (t4.combinators.length === 0) {
  27612. groups._queue_list$_add$1(group);
  27613. group = A._setArrayType([], t1);
  27614. }
  27615. }
  27616. if (group.length !== 0)
  27617. groups._queue_list$_add$1(group);
  27618. return groups;
  27619. },
  27620. listIsSuperselector0(list1, list2) {
  27621. return B.JSArray_methods.every$1(list2, new A.listIsSuperselector_closure0(list1));
  27622. },
  27623. _complexIsParentSuperselector0(complex1, complex2) {
  27624. var t1, base, t2;
  27625. if (J.get$length$asx(complex1) > J.get$length$asx(complex2))
  27626. return false;
  27627. t1 = $.$get$bogusSpan0();
  27628. 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);
  27629. t1 = type$.ComplexSelectorComponent_2;
  27630. t2 = A.List_List$_of(complex1, t1);
  27631. t2.push(base);
  27632. t1 = A.List_List$_of(complex2, t1);
  27633. t1.push(base);
  27634. return A.complexIsSuperselector0(t2, t1);
  27635. },
  27636. complexIsSuperselector0(complex1, complex2) {
  27637. var t1, t2, previousCombinator, i1, i2, remaining1, remaining2, component1, t3, t4, endOfSubselector, component2, t5, combinator1, _null = null;
  27638. if (B.JSArray_methods.get$last(complex1).combinators.length !== 0)
  27639. return false;
  27640. if (B.JSArray_methods.get$last(complex2).combinators.length !== 0)
  27641. return false;
  27642. for (t1 = A._arrayInstanceType(complex2), t2 = t1._precomputed1, t1 = t1._eval$1("SubListIterable<1>"), previousCombinator = _null, i1 = 0, i2 = 0; true; previousCombinator = combinator1) {
  27643. remaining1 = complex1.length - i1;
  27644. remaining2 = complex2.length - i2;
  27645. if (remaining1 === 0 || remaining2 === 0)
  27646. return false;
  27647. if (remaining1 > remaining2)
  27648. return false;
  27649. component1 = complex1[i1];
  27650. t3 = component1.combinators;
  27651. if (t3.length > 1)
  27652. return false;
  27653. if (remaining1 === 1)
  27654. if (B.JSArray_methods.any$1(complex2, new A.complexIsSuperselector_closure1()))
  27655. return false;
  27656. else {
  27657. t1 = component1.selector;
  27658. t2 = B.JSArray_methods.get$last(complex2).selector;
  27659. return A.compoundIsSuperselector0(t1, t2, t1.get$hasComplicatedSuperselectorSemantics() ? B.JSArray_methods.sublist$2(complex2, i2, complex2.length - 1) : _null);
  27660. }
  27661. for (t4 = component1.selector, endOfSubselector = i2; true;) {
  27662. component2 = complex2[endOfSubselector];
  27663. if (component2.combinators.length > 1)
  27664. return false;
  27665. t5 = t4.get$hasComplicatedSuperselectorSemantics() ? B.JSArray_methods.sublist$2(complex2, i2, endOfSubselector) : _null;
  27666. if (A.compoundIsSuperselector0(t4, component2.selector, t5))
  27667. break;
  27668. ++endOfSubselector;
  27669. if (endOfSubselector === complex2.length - 1)
  27670. return false;
  27671. }
  27672. t4 = new A.SubListIterable(complex2, 0, endOfSubselector, t1);
  27673. t4.SubListIterable$3(complex2, 0, endOfSubselector, t2);
  27674. if (!A._compatibleWithPreviousCombinator0(previousCombinator, t4.skip$1(0, i2)))
  27675. return false;
  27676. component2 = complex2[endOfSubselector];
  27677. combinator1 = A.IterableExtension_get_firstOrNull(t3);
  27678. if (!A._isSupercombinator0(combinator1, A.IterableExtension_get_firstOrNull(component2.combinators)))
  27679. return false;
  27680. ++i1;
  27681. i2 = endOfSubselector + 1;
  27682. if (complex1.length - i1 === 1) {
  27683. t3 = combinator1 == null;
  27684. if (J.$eq$(t3 ? _null : combinator1.value, B.Combinator_55N0)) {
  27685. t3 = complex2.length - 1;
  27686. t4 = new A.SubListIterable(complex2, 0, t3, t1);
  27687. t4.SubListIterable$3(complex2, 0, t3, t2);
  27688. if (!t4.skip$1(0, i2).every$1(0, new A.complexIsSuperselector_closure2(combinator1)))
  27689. return false;
  27690. } else if (!t3)
  27691. if (complex2.length - i2 > 1)
  27692. return false;
  27693. }
  27694. }
  27695. },
  27696. _compatibleWithPreviousCombinator0(previous, parents) {
  27697. if (parents.get$isEmpty(parents))
  27698. return true;
  27699. if (previous == null)
  27700. return true;
  27701. if (previous.value !== B.Combinator_55N0)
  27702. return false;
  27703. return parents.every$1(0, new A._compatibleWithPreviousCombinator_closure0());
  27704. },
  27705. _isSupercombinator0(combinator1, combinator2) {
  27706. var t2, t3,
  27707. t1 = true;
  27708. if (!J.$eq$(combinator1, combinator2)) {
  27709. t2 = combinator1 == null;
  27710. if (t2)
  27711. t3 = J.$eq$(combinator2 == null ? null : combinator2.value, B.Combinator_0mp0);
  27712. else
  27713. t3 = false;
  27714. if (!t3)
  27715. if (J.$eq$(t2 ? null : combinator1.value, B.Combinator_55N0))
  27716. t1 = J.$eq$(combinator2 == null ? null : combinator2.value, B.Combinator_bOP0);
  27717. else
  27718. t1 = false;
  27719. }
  27720. return t1;
  27721. },
  27722. compoundIsSuperselector0(compound1, compound2, parents) {
  27723. var t1, _0_1, _0_5, _0_5_isSet, _0_50, index1, pseudo2, index2, t2, t3, pseudo1, t4, t5, _i, simple1, _null = null;
  27724. if (!compound1.get$hasComplicatedSuperselectorSemantics() && !compound2.get$hasComplicatedSuperselectorSemantics()) {
  27725. t1 = compound1.components;
  27726. if (t1.length > compound2.components.length)
  27727. return false;
  27728. return B.JSArray_methods.every$1(t1, new A.compoundIsSuperselector_closure0(compound2));
  27729. }
  27730. _0_1 = A._findPseudoElementIndexed0(compound1);
  27731. _0_5 = A._findPseudoElementIndexed0(compound2);
  27732. t1 = type$.Record_2_nullable_Object_and_nullable_Object;
  27733. _0_5_isSet = t1._is(_0_1);
  27734. _0_50 = _null;
  27735. index1 = _null;
  27736. pseudo2 = _null;
  27737. index2 = _null;
  27738. t2 = false;
  27739. if (_0_5_isSet) {
  27740. t3 = _0_1 == null;
  27741. pseudo1 = (t3 ? t1._as(_0_1) : _0_1)._0;
  27742. index1 = (t3 ? t1._as(_0_1) : _0_1)._1;
  27743. t2 = t1._is(_0_5);
  27744. if (t2) {
  27745. t3 = _0_5 == null;
  27746. pseudo2 = (t3 ? t1._as(_0_5) : _0_5)._0;
  27747. index2 = (t3 ? t1._as(_0_5) : _0_5)._1;
  27748. }
  27749. t1 = t2;
  27750. _0_50 = _0_5;
  27751. } else {
  27752. t1 = t2;
  27753. pseudo1 = _null;
  27754. }
  27755. if (t1) {
  27756. if (pseudo1.isSuperselector$1(pseudo2)) {
  27757. t1 = compound1.components;
  27758. t2 = type$.int;
  27759. t3 = A._arrayInstanceType(t1)._precomputed1;
  27760. t4 = compound2.components;
  27761. t5 = A._arrayInstanceType(t4)._precomputed1;
  27762. 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);
  27763. } else
  27764. t1 = false;
  27765. return t1;
  27766. }
  27767. if (_0_1 == null)
  27768. t1 = (_0_5_isSet ? _0_50 : _0_5) != null;
  27769. else
  27770. t1 = true;
  27771. if (t1)
  27772. return false;
  27773. for (t1 = compound1.components, t2 = t1.length, t3 = compound2.components, _i = 0; _i < t2; ++_i) {
  27774. simple1 = t1[_i];
  27775. if (simple1 instanceof A.PseudoSelector0)
  27776. t4 = simple1.selector != null;
  27777. else
  27778. t4 = false;
  27779. if (t4) {
  27780. if (!A._selectorPseudoIsSuperselector0(simple1, compound2, parents))
  27781. return false;
  27782. } else if (!B.JSArray_methods.any$1(t3, simple1.get$isSuperselector()))
  27783. return false;
  27784. }
  27785. return true;
  27786. },
  27787. _findPseudoElementIndexed0(compound) {
  27788. var t1, t2, i, simple;
  27789. for (t1 = compound.components, t2 = t1.length, i = 0; i < t2; ++i) {
  27790. simple = t1[i];
  27791. if (simple instanceof A.PseudoSelector0 && !simple.isClass)
  27792. return new A._Record_2(simple, i);
  27793. }
  27794. return null;
  27795. },
  27796. _compoundComponentsIsSuperselector0(compound1, compound2, parents) {
  27797. var t1;
  27798. if (compound1.get$length(0) === 0)
  27799. return true;
  27800. if (compound2.get$length(0) === 0)
  27801. compound2 = A._setArrayType([new A.UniversalSelector0("*", $.$get$bogusSpan0())], type$.JSArray_SimpleSelector_2);
  27802. t1 = $.$get$bogusSpan0();
  27803. return A.compoundIsSuperselector0(A.CompoundSelector$0(compound1, t1), A.CompoundSelector$0(compound2, t1), parents);
  27804. },
  27805. _selectorPseudoIsSuperselector0(pseudo1, compound2, parents) {
  27806. var selector1 = pseudo1.selector;
  27807. if (selector1 == null)
  27808. throw A.wrapException(A.ArgumentError$("Selector " + pseudo1.toString$0(0) + " must have a selector argument.", null));
  27809. switch (pseudo1.normalizedName) {
  27810. case "is":
  27811. case "matches":
  27812. case "any":
  27813. case "where":
  27814. 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));
  27815. case "has":
  27816. case "host":
  27817. case "host-context":
  27818. return A._selectorPseudoArgs0(compound2, pseudo1.name, true).any$1(0, new A._selectorPseudoIsSuperselector_closure8(selector1));
  27819. case "slotted":
  27820. return A._selectorPseudoArgs0(compound2, pseudo1.name, false).any$1(0, new A._selectorPseudoIsSuperselector_closure9(selector1));
  27821. case "not":
  27822. return B.JSArray_methods.every$1(selector1.components, new A._selectorPseudoIsSuperselector_closure10(compound2, pseudo1));
  27823. case "current":
  27824. return A._selectorPseudoArgs0(compound2, pseudo1.name, true).any$1(0, new A._selectorPseudoIsSuperselector_closure11(selector1));
  27825. case "nth-child":
  27826. case "nth-last-child":
  27827. return B.JSArray_methods.any$1(compound2.components, new A._selectorPseudoIsSuperselector_closure12(pseudo1, selector1));
  27828. default:
  27829. throw A.wrapException("unreachable");
  27830. }
  27831. },
  27832. _selectorPseudoArgs0(compound, $name, isClass) {
  27833. var t1 = type$.WhereTypeIterable_PseudoSelector_2;
  27834. 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);
  27835. },
  27836. unifyComplex_closure0: function unifyComplex_closure0() {
  27837. },
  27838. _weaveParents_closure3: function _weaveParents_closure3(t0) {
  27839. this.span = t0;
  27840. },
  27841. _weaveParents_closure4: function _weaveParents_closure4(t0) {
  27842. this.group = t0;
  27843. },
  27844. _weaveParents_closure5: function _weaveParents_closure5() {
  27845. },
  27846. _weaveParents_closure6: function _weaveParents_closure6() {
  27847. },
  27848. _mustUnify_closure0: function _mustUnify_closure0(t0) {
  27849. this.uniqueSelectors = t0;
  27850. },
  27851. _mustUnify__closure0: function _mustUnify__closure0(t0) {
  27852. this.uniqueSelectors = t0;
  27853. },
  27854. paths_closure0: function paths_closure0(t0) {
  27855. this.T = t0;
  27856. },
  27857. paths__closure0: function paths__closure0(t0, t1) {
  27858. this.paths = t0;
  27859. this.T = t1;
  27860. },
  27861. paths___closure0: function paths___closure0(t0, t1) {
  27862. this.option = t0;
  27863. this.T = t1;
  27864. },
  27865. listIsSuperselector_closure0: function listIsSuperselector_closure0(t0) {
  27866. this.list1 = t0;
  27867. },
  27868. listIsSuperselector__closure0: function listIsSuperselector__closure0(t0) {
  27869. this.complex1 = t0;
  27870. },
  27871. complexIsSuperselector_closure1: function complexIsSuperselector_closure1() {
  27872. },
  27873. complexIsSuperselector_closure2: function complexIsSuperselector_closure2(t0) {
  27874. this.combinator1 = t0;
  27875. },
  27876. _compatibleWithPreviousCombinator_closure0: function _compatibleWithPreviousCombinator_closure0() {
  27877. },
  27878. compoundIsSuperselector_closure0: function compoundIsSuperselector_closure0(t0) {
  27879. this.compound2 = t0;
  27880. },
  27881. _selectorPseudoIsSuperselector_closure6: function _selectorPseudoIsSuperselector_closure6(t0) {
  27882. this.selector1 = t0;
  27883. },
  27884. _selectorPseudoIsSuperselector_closure7: function _selectorPseudoIsSuperselector_closure7(t0, t1) {
  27885. this.parents = t0;
  27886. this.compound2 = t1;
  27887. },
  27888. _selectorPseudoIsSuperselector_closure8: function _selectorPseudoIsSuperselector_closure8(t0) {
  27889. this.selector1 = t0;
  27890. },
  27891. _selectorPseudoIsSuperselector_closure9: function _selectorPseudoIsSuperselector_closure9(t0) {
  27892. this.selector1 = t0;
  27893. },
  27894. _selectorPseudoIsSuperselector_closure10: function _selectorPseudoIsSuperselector_closure10(t0, t1) {
  27895. this.compound2 = t0;
  27896. this.pseudo1 = t1;
  27897. },
  27898. _selectorPseudoIsSuperselector__closure0: function _selectorPseudoIsSuperselector__closure0(t0, t1) {
  27899. this.complex = t0;
  27900. this.pseudo1 = t1;
  27901. },
  27902. _selectorPseudoIsSuperselector___closure1: function _selectorPseudoIsSuperselector___closure1(t0) {
  27903. this.simple2 = t0;
  27904. },
  27905. _selectorPseudoIsSuperselector___closure2: function _selectorPseudoIsSuperselector___closure2(t0) {
  27906. this.simple2 = t0;
  27907. },
  27908. _selectorPseudoIsSuperselector_closure11: function _selectorPseudoIsSuperselector_closure11(t0) {
  27909. this.selector1 = t0;
  27910. },
  27911. _selectorPseudoIsSuperselector_closure12: function _selectorPseudoIsSuperselector_closure12(t0, t1) {
  27912. this.pseudo1 = t0;
  27913. this.selector1 = t1;
  27914. },
  27915. _selectorPseudoArgs_closure1: function _selectorPseudoArgs_closure1(t0, t1) {
  27916. this.isClass = t0;
  27917. this.name = t1;
  27918. },
  27919. _selectorPseudoArgs_closure2: function _selectorPseudoArgs_closure2() {
  27920. },
  27921. globalFunctions_closure0: function globalFunctions_closure0() {
  27922. },
  27923. GamutMapMethod_GamutMapMethod$fromName0($name) {
  27924. var t1;
  27925. $label0$0: {
  27926. if ("clip" === $name) {
  27927. t1 = B.ClipGamutMap_clip0;
  27928. break $label0$0;
  27929. }
  27930. if ("local-minde" === $name) {
  27931. t1 = B.LocalMindeGamutMap_A2x0;
  27932. break $label0$0;
  27933. }
  27934. t1 = A.throwExpression(A.SassScriptException$0('Unknown gamut map method "' + $name + '".', null));
  27935. }
  27936. return t1;
  27937. },
  27938. GamutMapMethod0: function GamutMapMethod0() {
  27939. },
  27940. HslColorSpace0: function HslColorSpace0(t0, t1) {
  27941. this.name = t0;
  27942. this._space$_channels = t1;
  27943. },
  27944. HwbColorSpace0: function HwbColorSpace0(t0, t1) {
  27945. this.name = t0;
  27946. this._space$_channels = t1;
  27947. },
  27948. HwbColorSpace_convert_toRgb0: function HwbColorSpace_convert_toRgb0(t0, t1) {
  27949. this._box_0 = t0;
  27950. this.factor = t1;
  27951. },
  27952. IDSelector0: function IDSelector0(t0, t1) {
  27953. this.name = t0;
  27954. this.span = t1;
  27955. },
  27956. IDSelector_unify_closure0: function IDSelector_unify_closure0(t0) {
  27957. this.$this = t0;
  27958. },
  27959. IfExpression0: function IfExpression0(t0, t1) {
  27960. this.$arguments = t0;
  27961. this.span = t1;
  27962. },
  27963. IfClause$0(expression, children) {
  27964. var t1 = A.List_List$unmodifiable(children, type$.Statement_2);
  27965. return new A.IfClause0(expression, t1, B.JSArray_methods.any$1(t1, new A.IfRuleClause$__closure0()));
  27966. },
  27967. ElseClause$0(children) {
  27968. var t1 = A.List_List$unmodifiable(children, type$.Statement_2);
  27969. return new A.ElseClause0(t1, B.JSArray_methods.any$1(t1, new A.IfRuleClause$__closure0()));
  27970. },
  27971. IfRule0: function IfRule0(t0, t1, t2) {
  27972. this.clauses = t0;
  27973. this.lastClause = t1;
  27974. this.span = t2;
  27975. },
  27976. IfRule_toString_closure0: function IfRule_toString_closure0() {
  27977. },
  27978. IfRuleClause0: function IfRuleClause0() {
  27979. },
  27980. IfRuleClause$__closure0: function IfRuleClause$__closure0() {
  27981. },
  27982. IfRuleClause$___closure0: function IfRuleClause$___closure0() {
  27983. },
  27984. IfClause0: function IfClause0(t0, t1, t2) {
  27985. this.expression = t0;
  27986. this.children = t1;
  27987. this.hasDeclarations = t2;
  27988. },
  27989. ElseClause0: function ElseClause0(t0, t1) {
  27990. this.children = t0;
  27991. this.hasDeclarations = t1;
  27992. },
  27993. jsToDartList(list) {
  27994. return self.immutable.isOrderedMap(list) ? J.toArray$0$x(type$.ImmutableList._as(list)) : type$.List_dynamic._as(list);
  27995. },
  27996. dartMapToImmutableMap(dartMap) {
  27997. var t1, t2,
  27998. immutableMap = J.asMutable$0$x(new self.immutable.OrderedMap());
  27999. for (t1 = A.MapExtensions_get_pairs0(dartMap, type$.Object, type$.nullable_Object), t1 = t1.get$iterator(t1); t1.moveNext$0();) {
  28000. t2 = t1.get$current(t1);
  28001. immutableMap = J.$set$2$x(immutableMap, t2._0, t2._1);
  28002. }
  28003. return J.asImmutable$0$x(immutableMap);
  28004. },
  28005. immutableMapToDartMap(immutableMap) {
  28006. var dartMap = A.LinkedHashMap_LinkedHashMap$_empty(type$.Object, type$.nullable_Object);
  28007. J.forEach$1$ax(immutableMap, A.allowInterop(new A.immutableMapToDartMap_closure(dartMap)));
  28008. return dartMap;
  28009. },
  28010. ImmutableList0: function ImmutableList0() {
  28011. },
  28012. ImmutableMap0: function ImmutableMap0() {
  28013. },
  28014. immutableMapToDartMap_closure: function immutableMapToDartMap_closure(t0) {
  28015. this.dartMap = t0;
  28016. },
  28017. NodeImporter__addSassPath(includePaths) {
  28018. return new A._SyncStarIterable(A.NodeImporter__addSassPath$body(includePaths), type$._SyncStarIterable_String);
  28019. },
  28020. NodeImporter__addSassPath$body($async$includePaths) {
  28021. return function() {
  28022. var includePaths = $async$includePaths;
  28023. var $async$goto = 0, $async$handler = 2, $async$errorStack = [], sassPath, t1;
  28024. return function $async$NodeImporter__addSassPath($async$iterator, $async$errorCode, $async$result) {
  28025. if ($async$errorCode === 1) {
  28026. $async$errorStack.push($async$result);
  28027. $async$goto = $async$handler;
  28028. }
  28029. while (true)
  28030. switch ($async$goto) {
  28031. case 0:
  28032. // Function start
  28033. $async$goto = 3;
  28034. return $async$iterator._yieldStar$1(includePaths);
  28035. case 3:
  28036. // after yield
  28037. sassPath = A.getEnvironmentVariable0("SASS_PATH");
  28038. if (sassPath == null) {
  28039. // goto return
  28040. $async$goto = 1;
  28041. break;
  28042. }
  28043. t1 = A.isNodeJs() ? self.process : null;
  28044. $async$goto = 4;
  28045. return $async$iterator._yieldStar$1(A._setArrayType(sassPath.split(J.$eq$(t1 == null ? null : J.get$platform$x(t1), "win32") ? ";" : ":"), type$.JSArray_String));
  28046. case 4:
  28047. // after yield
  28048. case 1:
  28049. // return
  28050. return 0;
  28051. case 2:
  28052. // rethrow
  28053. return $async$iterator._datum = $async$errorStack.at(-1), 3;
  28054. }
  28055. };
  28056. };
  28057. },
  28058. NodeImporter: function NodeImporter(t0, t1, t2) {
  28059. this._implementation$_options = t0;
  28060. this._includePaths = t1;
  28061. this._implementation$_importers = t2;
  28062. },
  28063. NodeImporter_load_closure: function NodeImporter_load_closure(t0, t1, t2, t3, t4) {
  28064. var _ = this;
  28065. _.$this = t0;
  28066. _.importer = t1;
  28067. _.forImport = t2;
  28068. _.url = t3;
  28069. _.previousString = t4;
  28070. },
  28071. NodeImporter__tryPath_closure: function NodeImporter__tryPath_closure(t0) {
  28072. this.path = t0;
  28073. },
  28074. NodeImporter__tryPath_closure0: function NodeImporter__tryPath_closure0() {
  28075. },
  28076. NodeImporter__callImporterAsync_closure: function NodeImporter__callImporterAsync_closure(t0, t1, t2, t3, t4, t5) {
  28077. var _ = this;
  28078. _.$this = t0;
  28079. _.importer = t1;
  28080. _.forImport = t2;
  28081. _.url = t3;
  28082. _.previousString = t4;
  28083. _.completer = t5;
  28084. },
  28085. ModifiableCssImport0: function ModifiableCssImport0(t0, t1, t2) {
  28086. var _ = this;
  28087. _.url = t0;
  28088. _.modifiers = t1;
  28089. _.span = t2;
  28090. _._node$_indexInParent = _._node$_parent = null;
  28091. _.isGroupEnd = false;
  28092. },
  28093. ImportCache$0(importers, loadPaths, packageConfig) {
  28094. var t1 = type$.nullable_Record_3_Importer_and_Uri_and_Uri_originalUrl_2,
  28095. t2 = type$.Record_3_Importer_and_Uri_and_bool_forImport_2,
  28096. t3 = type$.Uri;
  28097. 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));
  28098. },
  28099. ImportCache$none() {
  28100. var t1 = type$.nullable_Record_3_Importer_and_Uri_and_Uri_originalUrl_2,
  28101. t2 = type$.Record_3_Importer_and_Uri_and_bool_forImport_2,
  28102. t3 = type$.Uri;
  28103. 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));
  28104. },
  28105. ImportCache__toImporters0(importers, loadPaths, packageConfig) {
  28106. var t1, t2, t3, t4, _i, path, _null = null,
  28107. sassPath = A.getEnvironmentVariable0("SASS_PATH");
  28108. if (A.isBrowser()) {
  28109. t1 = A._setArrayType([], type$.JSArray_Importer_2);
  28110. if (importers != null)
  28111. B.JSArray_methods.addAll$1(t1, importers);
  28112. return t1;
  28113. }
  28114. t1 = A._setArrayType([], type$.JSArray_Importer_2);
  28115. if (importers != null)
  28116. B.JSArray_methods.addAll$1(t1, importers);
  28117. if (loadPaths != null)
  28118. for (t2 = J.get$iterator$ax(loadPaths); t2.moveNext$0();) {
  28119. t3 = t2.get$current(t2);
  28120. 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));
  28121. }
  28122. if (sassPath != null) {
  28123. t2 = A.isNodeJs() ? self.process : _null;
  28124. t3 = sassPath.split(J.$eq$(t2 == null ? _null : J.get$platform$x(t2), "win32") ? ";" : ":");
  28125. t4 = t3.length;
  28126. _i = 0;
  28127. for (; _i < t4; ++_i) {
  28128. path = t3[_i];
  28129. 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));
  28130. }
  28131. }
  28132. return t1;
  28133. },
  28134. ImportCache0: function ImportCache0(t0, t1, t2, t3, t4, t5, t6) {
  28135. var _ = this;
  28136. _._import_cache$_importers = t0;
  28137. _._import_cache$_canonicalizeCache = t1;
  28138. _._import_cache$_perImporterCanonicalizeCache = t2;
  28139. _._import_cache$_nonCanonicalRelativeUrls = t3;
  28140. _._import_cache$_importCache = t4;
  28141. _._import_cache$_resultsCache = t5;
  28142. _._import_cache$_loadTimes = t6;
  28143. },
  28144. ImportCache_canonicalize_closure0: function ImportCache_canonicalize_closure0(t0, t1, t2, t3, t4, t5, t6) {
  28145. var _ = this;
  28146. _.$this = t0;
  28147. _.baseImporter = t1;
  28148. _.resolvedUrl = t2;
  28149. _.baseUrl = t3;
  28150. _.forImport = t4;
  28151. _.key = t5;
  28152. _.url = t6;
  28153. },
  28154. ImportCache__canonicalize_closure0: function ImportCache__canonicalize_closure0(t0, t1) {
  28155. this.importer = t0;
  28156. this.url = t1;
  28157. },
  28158. ImportCache_importCanonical_closure0: function ImportCache_importCanonical_closure0(t0, t1, t2, t3) {
  28159. var _ = this;
  28160. _.$this = t0;
  28161. _.importer = t1;
  28162. _.canonicalUrl = t2;
  28163. _.originalUrl = t3;
  28164. },
  28165. ImportCache_humanize_closure3: function ImportCache_humanize_closure3(t0) {
  28166. this.canonicalUrl = t0;
  28167. },
  28168. ImportCache_humanize_closure4: function ImportCache_humanize_closure4() {
  28169. },
  28170. ImportCache_humanize_closure5: function ImportCache_humanize_closure5() {
  28171. },
  28172. ImportCache_humanize_closure6: function ImportCache_humanize_closure6(t0) {
  28173. this.canonicalUrl = t0;
  28174. },
  28175. ImportRule0: function ImportRule0(t0, t1) {
  28176. this.imports = t0;
  28177. this.span = t1;
  28178. },
  28179. JSImporter: function JSImporter() {
  28180. },
  28181. JSImporterResult: function JSImporterResult() {
  28182. },
  28183. Importer0: function Importer0() {
  28184. },
  28185. NodeImporterResult0: function NodeImporterResult0() {
  28186. },
  28187. IncludeRule0: function IncludeRule0(t0, t1, t2, t3, t4, t5) {
  28188. var _ = this;
  28189. _.namespace = t0;
  28190. _.name = t1;
  28191. _.originalName = t2;
  28192. _.$arguments = t3;
  28193. _.content = t4;
  28194. _.span = t5;
  28195. },
  28196. InterpolatedFunctionExpression0: function InterpolatedFunctionExpression0(t0, t1, t2) {
  28197. this.name = t0;
  28198. this.$arguments = t1;
  28199. this.span = t2;
  28200. },
  28201. Interpolation$0(contents, spans, span) {
  28202. var t1 = new A.Interpolation0(A.List_List$unmodifiable(contents, type$.Object), A.List_List$unmodifiable(spans, type$.nullable_FileSpan), span);
  28203. t1.Interpolation$30(contents, spans, span);
  28204. return t1;
  28205. },
  28206. Interpolation0: function Interpolation0(t0, t1, t2) {
  28207. this.contents = t0;
  28208. this.spans = t1;
  28209. this.span = t2;
  28210. },
  28211. Interpolation_toString_closure0: function Interpolation_toString_closure0() {
  28212. },
  28213. SupportsInterpolation0: function SupportsInterpolation0(t0, t1) {
  28214. this.expression = t0;
  28215. this.span = t1;
  28216. },
  28217. InterpolationBuffer0: function InterpolationBuffer0(t0, t1, t2) {
  28218. this._interpolation_buffer0$_text = t0;
  28219. this._interpolation_buffer0$_contents = t1;
  28220. this._interpolation_buffer0$_spans = t2;
  28221. },
  28222. InterpolationMap$0(_interpolation, targetLocations) {
  28223. var t1 = A.List_List$unmodifiable(targetLocations, type$.SourceLocation),
  28224. t2 = _interpolation.contents.length,
  28225. expectedLocations = Math.max(0, t2 - 1);
  28226. if (t1.length !== expectedLocations)
  28227. A.throwExpression(A.ArgumentError$("InterpolationMap must have " + A.S(expectedLocations) + string$.x20targe + t2 + " components.", null));
  28228. return new A.InterpolationMap0(_interpolation, t1);
  28229. },
  28230. InterpolationMap0: function InterpolationMap0(t0, t1) {
  28231. this._interpolation_map$_interpolation = t0;
  28232. this._interpolation_map$_targetLocations = t1;
  28233. },
  28234. InterpolationMap_mapException_closure0: function InterpolationMap_mapException_closure0() {
  28235. },
  28236. InterpolationMethod$0(space, hue) {
  28237. var t1;
  28238. if (space.get$isPolarInternal())
  28239. t1 = hue == null ? B.HueInterpolationMethod_00 : hue;
  28240. else
  28241. t1 = null;
  28242. if (!space.get$isPolarInternal() && hue != null)
  28243. A.throwExpression(A.ArgumentError$(string$.Hue_in + space.toString$0(0) + ".", null));
  28244. return new A.InterpolationMethod0(space, t1);
  28245. },
  28246. InterpolationMethod_InterpolationMethod$fromValue0(value, $name) {
  28247. var t1, space, hueMethod,
  28248. list = value.assertCommonListStyle$2$allowSlash($name, false);
  28249. if (list.length === 0)
  28250. throw A.wrapException(A.SassScriptException$0(string$.Expecta, $name));
  28251. t1 = B.JSArray_methods.get$first(list).assertString$1($name);
  28252. t1.assertUnquoted$1($name);
  28253. space = A.ColorSpace_fromName0(t1._string0$_text, $name);
  28254. if (list.length === 1)
  28255. return A.InterpolationMethod$0(space, null);
  28256. hueMethod = A.HueInterpolationMethod_HueInterpolationMethod$_fromValue0(list[1], $name);
  28257. if (list.length === 2)
  28258. throw A.wrapException(A.SassScriptException$0('Expected unquoted string "hue" after ' + value.toString$0(0) + ".", $name));
  28259. else {
  28260. t1 = list[2].assertString$1($name);
  28261. t1.assertUnquoted$1($name);
  28262. if (t1._string0$_text.toLowerCase() !== "hue")
  28263. throw A.wrapException(A.SassScriptException$0(string$.Expectu + value.toString$0(0) + ", was " + list[2].toString$0(0) + ".", $name));
  28264. else if (list.length > 3)
  28265. throw A.wrapException(A.SassScriptException$0('Expected nothing after "hue" in ' + value.toString$0(0) + ".", $name));
  28266. else if (!space.get$isPolarInternal())
  28267. throw A.wrapException(A.SassScriptException$0('Hue interpolation method "' + hueMethod.toString$0(0) + string$.x20hue__ + space.toString$0(0) + ".", $name));
  28268. }
  28269. return A.InterpolationMethod$0(space, hueMethod);
  28270. },
  28271. HueInterpolationMethod_HueInterpolationMethod$_fromValue0(value, $name) {
  28272. var _0_0,
  28273. t1 = value.assertString$1($name);
  28274. t1.assertUnquoted$0();
  28275. _0_0 = t1._string0$_text.toLowerCase();
  28276. $label0$0: {
  28277. if ("shorter" === _0_0) {
  28278. t1 = B.HueInterpolationMethod_00;
  28279. break $label0$0;
  28280. }
  28281. if ("longer" === _0_0) {
  28282. t1 = B.HueInterpolationMethod_10;
  28283. break $label0$0;
  28284. }
  28285. if ("increasing" === _0_0) {
  28286. t1 = B.HueInterpolationMethod_20;
  28287. break $label0$0;
  28288. }
  28289. if ("decreasing" === _0_0) {
  28290. t1 = B.HueInterpolationMethod_30;
  28291. break $label0$0;
  28292. }
  28293. t1 = A.throwExpression(A.SassScriptException$0("Unknown hue interpolation method " + value.toString$0(0) + ".", $name));
  28294. }
  28295. return t1;
  28296. },
  28297. InterpolationMethod0: function InterpolationMethod0(t0, t1) {
  28298. this.space = t0;
  28299. this.hue = t1;
  28300. },
  28301. HueInterpolationMethod0: function HueInterpolationMethod0(t0) {
  28302. this._name = t0;
  28303. },
  28304. _realCasePath0(path) {
  28305. var prefix, _null = null,
  28306. t1 = A.isNodeJs() ? self.process : _null;
  28307. if (!J.$eq$(t1 == null ? _null : J.get$platform$x(t1), "win32")) {
  28308. t1 = A.isNodeJs() ? self.process : _null;
  28309. t1 = J.$eq$(t1 == null ? _null : J.get$platform$x(t1), "darwin");
  28310. } else
  28311. t1 = true;
  28312. if (!t1)
  28313. return path;
  28314. t1 = A.isNodeJs() ? self.process : _null;
  28315. if (J.$eq$(t1 == null ? _null : J.get$platform$x(t1), "win32")) {
  28316. prefix = B.JSString_methods.substring$2(path, 0, $.$get$context().style.rootLength$1(path));
  28317. t1 = prefix.length;
  28318. if (t1 !== 0 && A.CharacterExtension_get_isAlphabetic0(prefix.charCodeAt(0)))
  28319. path = prefix.toUpperCase() + B.JSString_methods.substring$1(path, t1);
  28320. }
  28321. return new A._realCasePath_helper0().call$1(path);
  28322. },
  28323. _realCasePath_helper0: function _realCasePath_helper0() {
  28324. },
  28325. _realCasePath_helper_closure0: function _realCasePath_helper_closure0(t0, t1, t2, t3) {
  28326. var _ = this;
  28327. _.path = t0;
  28328. _.realPath = t1;
  28329. _.helper = t2;
  28330. _.dirname = t3;
  28331. },
  28332. _realCasePath_helper__closure0: function _realCasePath_helper__closure0(t0) {
  28333. this.basename = t0;
  28334. },
  28335. IsCalculationSafeVisitor0: function IsCalculationSafeVisitor0() {
  28336. },
  28337. IsCalculationSafeVisitor_visitListExpression_closure0: function IsCalculationSafeVisitor_visitListExpression_closure0(t0) {
  28338. this.$this = t0;
  28339. },
  28340. printError0(message) {
  28341. var t1 = A.isNodeJs() ? self.process : null;
  28342. if (t1 != null) {
  28343. t1 = J.get$stderr$x(t1);
  28344. J.write$1$x(t1, A.S(message) + "\n");
  28345. } else {
  28346. t1 = self.console;
  28347. J.error$1$x(t1, message);
  28348. }
  28349. },
  28350. readFile0(path) {
  28351. var contents, sourceFile, t1, i;
  28352. if (!A.isNodeJs())
  28353. throw A.wrapException(A.UnsupportedError$("readFile() is only supported on Node.js"));
  28354. contents = A._asString(A._readFile0(path, "utf8"));
  28355. if (!B.JSString_methods.contains$1(contents, "\ufffd"))
  28356. return contents;
  28357. sourceFile = A.SourceFile$fromString(contents, $.$get$context().toUri$1(path));
  28358. for (t1 = contents.length, i = 0; i < t1; ++i) {
  28359. if (contents.charCodeAt(i) !== 65533)
  28360. continue;
  28361. throw A.wrapException(A.SassException$0("Invalid UTF-8.", A.FileLocation$_(sourceFile, i).pointSpan$0(), null));
  28362. }
  28363. return contents;
  28364. },
  28365. _readFile0(path, encoding) {
  28366. return A._systemErrorToFileSystemException0(new A._readFile_closure0(path, encoding));
  28367. },
  28368. fileExists0(path) {
  28369. if (!A.isNodeJs())
  28370. throw A.wrapException(A.UnsupportedError$(string$.fileEx));
  28371. return A._systemErrorToFileSystemException0(new A.fileExists_closure0(path));
  28372. },
  28373. dirExists0(path) {
  28374. if (!A.isNodeJs())
  28375. throw A.wrapException(A.UnsupportedError$("dirExists() is only supported on Node.js"));
  28376. return A._systemErrorToFileSystemException0(new A.dirExists_closure0(path));
  28377. },
  28378. linkExists0(path) {
  28379. if (!A.isNodeJs())
  28380. throw A.wrapException(A.UnsupportedError$(string$.linkEx));
  28381. return A._systemErrorToFileSystemException0(new A.linkExists_closure0(path));
  28382. },
  28383. listDir0(path) {
  28384. if (!A.isNodeJs())
  28385. throw A.wrapException(A.UnsupportedError$("listDir() is only supported on Node.js"));
  28386. return A._systemErrorToFileSystemException0(new A.listDir_closure0(false, path));
  28387. },
  28388. realpath0(path) {
  28389. if (!A.isNodeJs())
  28390. throw A.wrapException(A.UnsupportedError$("listDir() is only supported on Node.js"));
  28391. return A._systemErrorToFileSystemException0(new A.realpath_closure0(path));
  28392. },
  28393. getEnvironmentVariable0($name) {
  28394. var t1 = A.isNodeJs() ? self.process : null,
  28395. env = t1 == null ? null : J.get$env$x(t1);
  28396. if (env == null)
  28397. t1 = null;
  28398. else
  28399. t1 = A._asStringQ(env[$name]);
  28400. return t1;
  28401. },
  28402. _systemErrorToFileSystemException0(callback) {
  28403. var error, t1, exception, t2;
  28404. try {
  28405. t1 = callback.call$0();
  28406. return t1;
  28407. } catch (exception) {
  28408. error = A.unwrapException(exception);
  28409. if (!type$.JsSystemError._is(error))
  28410. throw exception;
  28411. t1 = error;
  28412. t2 = J.getInterceptor$x(t1);
  28413. 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)));
  28414. }
  28415. },
  28416. hasTerminal0() {
  28417. var t1 = A.isNodeJs() ? self.process : null;
  28418. return J.$eq$(t1 == null ? null : J.get$isTTY$x(J.get$stdout$x(t1)), true);
  28419. },
  28420. FileSystemException0: function FileSystemException0(t0, t1) {
  28421. this.message = t0;
  28422. this.path = t1;
  28423. },
  28424. _readFile_closure0: function _readFile_closure0(t0, t1) {
  28425. this.path = t0;
  28426. this.encoding = t1;
  28427. },
  28428. fileExists_closure0: function fileExists_closure0(t0) {
  28429. this.path = t0;
  28430. },
  28431. dirExists_closure0: function dirExists_closure0(t0) {
  28432. this.path = t0;
  28433. },
  28434. linkExists_closure0: function linkExists_closure0(t0) {
  28435. this.path = t0;
  28436. },
  28437. listDir_closure0: function listDir_closure0(t0, t1) {
  28438. this.recursive = t0;
  28439. this.path = t1;
  28440. },
  28441. listDir__closure1: function listDir__closure1(t0) {
  28442. this.path = t0;
  28443. },
  28444. listDir__closure2: function listDir__closure2() {
  28445. },
  28446. listDir_closure_list0: function listDir_closure_list0() {
  28447. },
  28448. listDir__list_closure0: function listDir__list_closure0(t0, t1) {
  28449. this.parent = t0;
  28450. this.list = t1;
  28451. },
  28452. realpath_closure0: function realpath_closure0(t0) {
  28453. this.path = t0;
  28454. },
  28455. main() {
  28456. J.set$compile$x(self.exports, A.allowInteropNamed("sass.compile", A.compile__compile$closure()));
  28457. J.set$compileString$x(self.exports, A.allowInteropNamed("sass.compileString", A.compile__compileString$closure()));
  28458. J.set$compileAsync$x(self.exports, A.allowInteropNamed("sass.compileAsync", A.compile__compileAsync$closure()));
  28459. J.set$compileStringAsync$x(self.exports, A.allowInteropNamed("sass.compileStringAsync", A.compile__compileStringAsync$closure()));
  28460. J.set$initCompiler$x(self.exports, A.allowInteropNamed("sass.initCompiler", A.compiler__initCompiler$closure()));
  28461. J.set$initAsyncCompiler$x(self.exports, A.allowInteropNamed("sass.initAsyncCompiler", A.compiler__initAsyncCompiler$closure()));
  28462. J.set$Compiler$x(self.exports, $.$get$compilerClass());
  28463. J.set$AsyncCompiler$x(self.exports, $.$get$asyncCompilerClass());
  28464. J.set$Value$x(self.exports, $.$get$valueClass());
  28465. J.set$SassBoolean$x(self.exports, $.$get$booleanClass());
  28466. J.set$SassArgumentList$x(self.exports, $.$get$argumentListClass());
  28467. J.set$SassCalculation$x(self.exports, $.$get$calculationClass());
  28468. J.set$CalculationOperation$x(self.exports, $.$get$calculationOperationClass());
  28469. J.set$CalculationInterpolation$x(self.exports, $.$get$calculationInterpolationClass());
  28470. J.set$SassColor$x(self.exports, $.$get$colorClass());
  28471. J.set$SassFunction$x(self.exports, $.$get$functionClass());
  28472. J.set$SassMixin$x(self.exports, $.$get$mixinClass());
  28473. J.set$SassList$x(self.exports, $.$get$listClass());
  28474. J.set$SassMap$x(self.exports, $.$get$mapClass());
  28475. J.set$SassNumber$x(self.exports, $.$get$numberClass());
  28476. J.set$SassString$x(self.exports, $.$get$stringClass());
  28477. J.set$sassNull$x(self.exports, B.C__SassNull0);
  28478. J.set$sassTrue$x(self.exports, B.SassBoolean_true0);
  28479. J.set$sassFalse$x(self.exports, B.SassBoolean_false0);
  28480. J.set$Exception$x(self.exports, $.$get$exceptionClass());
  28481. 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())}});
  28482. J.set$NodePackageImporter$x(self.exports, $.$get$nodePackageImporterClass());
  28483. J.set$deprecations$x(self.exports, A.jsify($.$get$deprecations()));
  28484. J.set$Version$x(self.exports, $.$get$versionClass());
  28485. J.set$loadParserExports_$x(self.exports, A.allowInterop(A.parser0__loadParserExports$closure()));
  28486. J.set$info$x(self.exports, "dart-sass\t1.90.0\t(Sass Compiler)\t[Dart]\ndart2js\t3.8.3\t(Dart Compiler)\t[Dart]");
  28487. A.updateCanonicalizeContextPrototype();
  28488. A.updateSourceSpanPrototype();
  28489. J.set$render$x(self.exports, A.allowInteropNamed("sass.render", A.legacy__render$closure()));
  28490. J.set$renderSync$x(self.exports, A.allowInteropNamed("sass.renderSync", A.legacy__renderSync$closure()));
  28491. 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});
  28492. J.set$NULL$x(self.exports, B.C__SassNull0);
  28493. J.set$TRUE$x(self.exports, B.SassBoolean_true0);
  28494. J.set$FALSE$x(self.exports, B.SassBoolean_false0);
  28495. },
  28496. main_closure: function main_closure() {
  28497. },
  28498. main_closure0: function main_closure0() {
  28499. },
  28500. JSToDartLogger: function JSToDartLogger(t0, t1, t2) {
  28501. this._node = t0;
  28502. this._fallback = t1;
  28503. this._ascii = t2;
  28504. },
  28505. JSToDartLogger_internalWarn_closure: function JSToDartLogger_internalWarn_closure(t0, t1, t2, t3, t4) {
  28506. var _ = this;
  28507. _.$this = t0;
  28508. _.message = t1;
  28509. _.span = t2;
  28510. _.trace = t3;
  28511. _.deprecation = t4;
  28512. },
  28513. JSToDartLogger_debug_closure: function JSToDartLogger_debug_closure(t0, t1, t2) {
  28514. this.$this = t0;
  28515. this.message = t1;
  28516. this.span = t2;
  28517. },
  28518. ModifiableCssKeyframeBlock$0(selector, span) {
  28519. var t1 = A._setArrayType([], type$.JSArray_ModifiableCssNode_2);
  28520. return new A.ModifiableCssKeyframeBlock0(selector, span, new A.UnmodifiableListView(t1, type$.UnmodifiableListView_ModifiableCssNode_2), t1);
  28521. },
  28522. ModifiableCssKeyframeBlock0: function ModifiableCssKeyframeBlock0(t0, t1, t2, t3) {
  28523. var _ = this;
  28524. _.selector = t0;
  28525. _.span = t1;
  28526. _.children = t2;
  28527. _._node$_children = t3;
  28528. _._node$_indexInParent = _._node$_parent = null;
  28529. _.isGroupEnd = false;
  28530. },
  28531. KeyframeSelectorParser0: function KeyframeSelectorParser0(t0, t1) {
  28532. this.scanner = t0;
  28533. this._parser1$_interpolationMap = t1;
  28534. },
  28535. KeyframeSelectorParser_parse_closure0: function KeyframeSelectorParser_parse_closure0(t0) {
  28536. this.$this = t0;
  28537. },
  28538. LabColorSpace0: function LabColorSpace0(t0, t1) {
  28539. this.name = t0;
  28540. this._space$_channels = t1;
  28541. },
  28542. LazyFileSpan0: function LazyFileSpan0(t0) {
  28543. this._lazy_file_span0$_builder = t0;
  28544. this._lazy_file_span0$_span = null;
  28545. },
  28546. LchColorSpace0: function LchColorSpace0(t0, t1) {
  28547. this.name = t0;
  28548. this._space$_channels = t1;
  28549. },
  28550. render(options, callback) {
  28551. var _0_0;
  28552. if (!A.isNodeJs())
  28553. A.jsThrow(new self.Error("The render() method is only available in Node.js."));
  28554. _0_0 = J.get$fiber$x(options);
  28555. if (_0_0 != null)
  28556. J.run$0$x(_0_0.call$1(A.allowInterop(new A.render_closure(callback, options))));
  28557. else
  28558. A._renderAsync(options).then$1$2$onError(0, new A.render_closure0(callback), new A.render_closure1(callback), type$.Null);
  28559. },
  28560. _renderAsync(options) {
  28561. return A._renderAsync$body(options);
  28562. },
  28563. _renderAsync$body(options) {
  28564. var $async$goto = 0,
  28565. $async$completer = A._makeAsyncAwaitCompleter(type$.RenderResult),
  28566. $async$returnValue, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, result, start, t1, file, t2, t3, t4, logger, _0_0;
  28567. var $async$_renderAsync = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  28568. if ($async$errorCode === 1)
  28569. return A._asyncRethrow($async$result, $async$completer);
  28570. while (true)
  28571. switch ($async$goto) {
  28572. case 0:
  28573. // Function start
  28574. start = new A.DateTime(Date.now(), 0, false);
  28575. t1 = J.getInterceptor$x(options);
  28576. file = A.NullableExtension_andThen0(t1.get$file(options), A.path__absolute$closure());
  28577. t2 = t1.get$logger(options);
  28578. t3 = A.hasTerminal0();
  28579. t4 = $._glyphs;
  28580. logger = new A.JSToDartLogger(t2, new A.StderrLogger0(t3), t4 === B.C_AsciiGlyphSet);
  28581. _0_0 = t1.get$data(options);
  28582. $async$goto = _0_0 != null ? 3 : 5;
  28583. break;
  28584. case 3:
  28585. // then
  28586. t2 = A._parseImporter(options, start);
  28587. t3 = A._parsePackageImportersAsync(options, start);
  28588. t4 = A._parseFunctions(options, start, true);
  28589. t5 = t1.get$indentedSyntax(options);
  28590. t5 = !J.$eq$(t5, false) && t5 != null ? B.Syntax_Sass_sass0 : null;
  28591. t6 = A._parseOutputStyle(t1.get$outputStyle(options));
  28592. t7 = J.$eq$(t1.get$indentType(options), "tab");
  28593. t8 = A._parseIndentWidth(t1.get$indentWidth(options));
  28594. t9 = A._parseLineFeed(t1.get$linefeed(options));
  28595. t10 = file == null ? "stdin" : $.$get$context().toUri$1(file).toString$0(0);
  28596. t11 = t1.get$quietDeps(options);
  28597. if (t11 == null)
  28598. t11 = false;
  28599. t12 = A.parseDeprecations(logger, t1.get$fatalDeprecations(options), true);
  28600. t13 = A.parseDeprecations(logger, t1.get$futureDeprecations(options), false);
  28601. t14 = A.parseDeprecations(logger, t1.get$silenceDeprecations(options), false);
  28602. t15 = t1.get$verbose(options);
  28603. if (t15 == null)
  28604. t15 = false;
  28605. t1 = t1.get$charset(options);
  28606. if (t1 == null)
  28607. t1 = true;
  28608. $async$goto = 6;
  28609. 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);
  28610. case 6:
  28611. // returning from await.
  28612. result = $async$result;
  28613. // goto join
  28614. $async$goto = 4;
  28615. break;
  28616. case 5:
  28617. // else
  28618. $async$goto = file != null ? 7 : 9;
  28619. break;
  28620. case 7:
  28621. // then
  28622. t2 = A._parseImporter(options, start);
  28623. t3 = A._parsePackageImportersAsync(options, start);
  28624. t4 = A._parseFunctions(options, start, true);
  28625. t5 = t1.get$indentedSyntax(options);
  28626. t5 = !J.$eq$(t5, false) && t5 != null ? B.Syntax_Sass_sass0 : null;
  28627. t6 = A._parseOutputStyle(t1.get$outputStyle(options));
  28628. t7 = J.$eq$(t1.get$indentType(options), "tab");
  28629. t8 = A._parseIndentWidth(t1.get$indentWidth(options));
  28630. t9 = A._parseLineFeed(t1.get$linefeed(options));
  28631. t10 = t1.get$quietDeps(options);
  28632. if (t10 == null)
  28633. t10 = false;
  28634. t11 = A.parseDeprecations(logger, t1.get$fatalDeprecations(options), true);
  28635. t12 = A.parseDeprecations(logger, t1.get$futureDeprecations(options), false);
  28636. t13 = A.parseDeprecations(logger, t1.get$silenceDeprecations(options), false);
  28637. t14 = t1.get$verbose(options);
  28638. if (t14 == null)
  28639. t14 = false;
  28640. t1 = t1.get$charset(options);
  28641. if (t1 == null)
  28642. t1 = true;
  28643. $async$goto = 10;
  28644. 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);
  28645. case 10:
  28646. // returning from await.
  28647. result = $async$result;
  28648. // goto join
  28649. $async$goto = 8;
  28650. break;
  28651. case 9:
  28652. // else
  28653. throw A.wrapException(A.ArgumentError$(string$.Either, null));
  28654. case 8:
  28655. // join
  28656. case 4:
  28657. // join
  28658. $async$returnValue = A._newRenderResult(options, result, start);
  28659. // goto return
  28660. $async$goto = 1;
  28661. break;
  28662. case 1:
  28663. // return
  28664. return A._asyncReturn($async$returnValue, $async$completer);
  28665. }
  28666. });
  28667. return A._asyncStartSync($async$_renderAsync, $async$completer);
  28668. },
  28669. renderSync(options) {
  28670. 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;
  28671. if (!A.isNodeJs())
  28672. A.jsThrow(new self.Error("The renderSync() method is only available in Node.js."));
  28673. try {
  28674. start = new A.DateTime(Date.now(), 0, false);
  28675. result = null;
  28676. t1 = J.getInterceptor$x(options);
  28677. file = A.NullableExtension_andThen0(t1.get$file(options), A.path__absolute$closure());
  28678. t2 = t1.get$logger(options);
  28679. t3 = A.hasTerminal0();
  28680. t4 = $._glyphs;
  28681. logger = new A.JSToDartLogger(t2, new A.StderrLogger0(t3), t4 === B.C_AsciiGlyphSet);
  28682. _0_0 = t1.get$data(options);
  28683. data = null;
  28684. if (_0_0 != null) {
  28685. data = _0_0;
  28686. t2 = data;
  28687. t3 = A._parseImporter(options, start);
  28688. t4 = A._parsePackageImporters(options, start);
  28689. t5 = A._parseFunctions(options, start, false);
  28690. t6 = t1.get$indentedSyntax(options);
  28691. t6 = !J.$eq$(t6, false) && t6 != null ? B.Syntax_Sass_sass0 : _null;
  28692. t7 = A._parseOutputStyle(t1.get$outputStyle(options));
  28693. t8 = J.$eq$(t1.get$indentType(options), "tab");
  28694. t9 = A._parseIndentWidth(t1.get$indentWidth(options));
  28695. t10 = A._parseLineFeed(t1.get$linefeed(options));
  28696. t11 = file == null ? "stdin" : $.$get$context().toUri$1(file).toString$0(0);
  28697. t12 = t1.get$quietDeps(options);
  28698. if (t12 == null)
  28699. t12 = false;
  28700. t13 = A.parseDeprecations(logger, t1.get$fatalDeprecations(options), true);
  28701. t14 = A.parseDeprecations(logger, t1.get$futureDeprecations(options), false);
  28702. t15 = A.parseDeprecations(logger, t1.get$silenceDeprecations(options), false);
  28703. t16 = t1.get$verbose(options);
  28704. if (t16 == null)
  28705. t16 = false;
  28706. t1 = t1.get$charset(options);
  28707. if (t1 == null)
  28708. t1 = true;
  28709. 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);
  28710. } else if (file != null) {
  28711. t2 = A._parseImporter(options, start);
  28712. t3 = A._parsePackageImporters(options, start);
  28713. t4 = A._parseFunctions(options, start, false);
  28714. t5 = t1.get$indentedSyntax(options);
  28715. t5 = !J.$eq$(t5, false) && t5 != null ? B.Syntax_Sass_sass0 : _null;
  28716. t6 = A._parseOutputStyle(t1.get$outputStyle(options));
  28717. t7 = J.$eq$(t1.get$indentType(options), "tab");
  28718. t8 = A._parseIndentWidth(t1.get$indentWidth(options));
  28719. t9 = A._parseLineFeed(t1.get$linefeed(options));
  28720. t10 = t1.get$quietDeps(options);
  28721. if (t10 == null)
  28722. t10 = false;
  28723. t11 = A.parseDeprecations(logger, t1.get$fatalDeprecations(options), true);
  28724. t12 = A.parseDeprecations(logger, t1.get$futureDeprecations(options), false);
  28725. t13 = A.parseDeprecations(logger, t1.get$silenceDeprecations(options), false);
  28726. t14 = t1.get$verbose(options);
  28727. if (t14 == null)
  28728. t14 = false;
  28729. t1 = t1.get$charset(options);
  28730. if (t1 == null)
  28731. t1 = true;
  28732. 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);
  28733. } else {
  28734. t1 = A.ArgumentError$(string$.Either, _null);
  28735. throw A.wrapException(t1);
  28736. }
  28737. t1 = A._newRenderResult(options, result, start);
  28738. return t1;
  28739. } catch (exception) {
  28740. t1 = A.unwrapException(exception);
  28741. if (t1 instanceof A.SassException0) {
  28742. error = t1;
  28743. stackTrace = A.getTraceFromException(exception);
  28744. A.jsThrow(A._wrapException(error, stackTrace));
  28745. } else {
  28746. error0 = t1;
  28747. stackTrace0 = A.getTraceFromException(exception);
  28748. t1 = J.toString$0$(error0);
  28749. t2 = A.getTrace0(error0);
  28750. A.jsThrow(A._newRenderError(t1, t2 == null ? stackTrace0 : t2, _null, _null, _null, 3));
  28751. }
  28752. }
  28753. },
  28754. _wrapException(exception, stackTrace) {
  28755. var t2, t3, t4, t5,
  28756. t1 = A.SourceSpanException.prototype.get$span.call(exception, 0),
  28757. _0_0 = t1.get$sourceUrl(t1);
  28758. $label0$0: {
  28759. if (_0_0 == null) {
  28760. t1 = "stdin";
  28761. break $label0$0;
  28762. }
  28763. if ("file" === _0_0.get$scheme()) {
  28764. t1 = $.$get$context().style.pathFromUri$1(A._parseUri(_0_0));
  28765. break $label0$0;
  28766. }
  28767. t1 = _0_0.toString$0(0);
  28768. break $label0$0;
  28769. }
  28770. t2 = B.JSString_methods.replaceFirst$2(exception.toString$0(0), "Error: ", "");
  28771. t3 = A.getTrace0(exception);
  28772. if (t3 == null)
  28773. t3 = stackTrace;
  28774. t4 = A.SourceSpanException.prototype.get$span.call(exception, 0);
  28775. t4 = t4.get$start(t4);
  28776. t4 = t4.file.getLine$1(t4.offset);
  28777. t5 = A.SourceSpanException.prototype.get$span.call(exception, 0);
  28778. t5 = t5.get$start(t5);
  28779. return A._newRenderError(t2, t3, t5.file.getColumn$1(t5.offset) + 1, t1, t4 + 1, 1);
  28780. },
  28781. _parseFunctions(options, start, asynch) {
  28782. var result,
  28783. functions = J.get$functions$x(options);
  28784. if (functions == null)
  28785. return B.List_empty28;
  28786. result = A._setArrayType([], type$.JSArray_AsyncCallable_2);
  28787. A.jsForEach(functions, new A._parseFunctions_closure(options, start, result, asynch));
  28788. return result;
  28789. },
  28790. _parseImporter(options, start) {
  28791. var t2, t3, contextOptions, _1_0, t4, importers,
  28792. t1 = J.getInterceptor$x(options),
  28793. _0_0 = t1.get$importer(options);
  28794. $label0$0: {
  28795. if (_0_0 == null) {
  28796. t2 = A._setArrayType([], type$.JSArray_JSFunction);
  28797. break $label0$0;
  28798. }
  28799. if (type$.List_dynamic._is(_0_0)) {
  28800. t2 = J.cast$1$0$ax(_0_0, type$.JSFunction);
  28801. break $label0$0;
  28802. }
  28803. t2 = A._setArrayType([type$.JSFunction._as(_0_0)], type$.JSArray_JSFunction);
  28804. break $label0$0;
  28805. }
  28806. t3 = J.getInterceptor$asx(t2);
  28807. contextOptions = t3.get$isNotEmpty(t2) ? A._contextOptions(options, start) : new A.Object();
  28808. _1_0 = t1.get$fiber(options);
  28809. t4 = {};
  28810. t4.fiber = null;
  28811. if (_1_0 != null) {
  28812. t4.fiber = _1_0;
  28813. t2 = t3.map$1$1(t2, new A._parseImporter_closure(t4), type$.JSFunction);
  28814. importers = A.List_List$_of(t2, t2.$ti._eval$1("ListIterable.E"));
  28815. } else
  28816. importers = t2;
  28817. t1 = t1.get$includePaths(options);
  28818. if (t1 == null)
  28819. t1 = [];
  28820. t2 = type$.String;
  28821. 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));
  28822. },
  28823. _parsePackageImportersAsync(options, start) {
  28824. var t2, t3, t4,
  28825. t1 = J.getInterceptor$x(options);
  28826. if (t1.get$pkgImporter(options) instanceof A.NodePackageImporter0) {
  28827. t1 = t1.get$pkgImporter(options);
  28828. t1.toString;
  28829. t2 = type$.nullable_Record_3_AsyncImporter_and_Uri_and_Uri_originalUrl_2;
  28830. t3 = type$.Record_3_AsyncImporter_and_Uri_and_bool_forImport_2;
  28831. t4 = type$.Uri;
  28832. 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));
  28833. }
  28834. return null;
  28835. },
  28836. _parsePackageImporters(options, start) {
  28837. var t2, t3, t4,
  28838. t1 = J.getInterceptor$x(options);
  28839. if (t1.get$pkgImporter(options) instanceof A.NodePackageImporter0) {
  28840. t1 = t1.get$pkgImporter(options);
  28841. t1.toString;
  28842. t2 = type$.nullable_Record_3_Importer_and_Uri_and_Uri_originalUrl_2;
  28843. t3 = type$.Record_3_Importer_and_Uri_and_bool_forImport_2;
  28844. t4 = type$.Uri;
  28845. 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));
  28846. }
  28847. return null;
  28848. },
  28849. _contextOptions(options, start) {
  28850. var includePaths, t3, t4, t5, t6, t7,
  28851. t1 = J.getInterceptor$x(options),
  28852. t2 = t1.get$includePaths(options);
  28853. if (t2 == null)
  28854. t2 = [];
  28855. includePaths = A.List_List$from(t2, true, type$.String);
  28856. t2 = t1.get$file(options);
  28857. t3 = t1.get$data(options);
  28858. t4 = A._setArrayType([A.current()], type$.JSArray_String);
  28859. B.JSArray_methods.addAll$1(t4, includePaths);
  28860. t5 = A.isNodeJs() ? self.process : null;
  28861. t4 = B.JSArray_methods.join$1(t4, J.$eq$(t5 == null ? null : J.get$platform$x(t5), "win32") ? ";" : ":");
  28862. t5 = J.$eq$(t1.get$indentType(options), "tab") ? 1 : 0;
  28863. t6 = A._parseIndentWidth(t1.get$indentWidth(options));
  28864. if (t6 == null)
  28865. t6 = 2;
  28866. t7 = A._parseLineFeed(t1.get$linefeed(options));
  28867. t1 = t1.get$file(options);
  28868. if (t1 == null)
  28869. t1 = "data";
  28870. 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}}};
  28871. },
  28872. _parseOutputStyle(style) {
  28873. var t1;
  28874. $label0$0: {
  28875. if (style == null || "expanded" === style) {
  28876. t1 = B.OutputStyle_00;
  28877. break $label0$0;
  28878. }
  28879. if ("compressed" === style) {
  28880. t1 = B.OutputStyle_10;
  28881. break $label0$0;
  28882. }
  28883. t1 = A.jsThrow(new self.Error('Unknown output style "' + style + '".'));
  28884. }
  28885. return t1;
  28886. },
  28887. _parseIndentWidth(width) {
  28888. var t1;
  28889. $label0$0: {
  28890. if (width == null) {
  28891. t1 = null;
  28892. break $label0$0;
  28893. }
  28894. if (A._isInt(width)) {
  28895. t1 = width;
  28896. break $label0$0;
  28897. }
  28898. t1 = A.int_parse(J.toString$0$(width), null);
  28899. break $label0$0;
  28900. }
  28901. return t1;
  28902. },
  28903. _parseLineFeed(str) {
  28904. var t1;
  28905. $label0$0: {
  28906. if ("cr" === str) {
  28907. t1 = B.LineFeed_ybQ;
  28908. break $label0$0;
  28909. }
  28910. if ("crlf" === str) {
  28911. t1 = B.LineFeed_Pcs;
  28912. break $label0$0;
  28913. }
  28914. if ("lfcr" === str) {
  28915. t1 = B.LineFeed_G7N;
  28916. break $label0$0;
  28917. }
  28918. t1 = B.LineFeed_9HY;
  28919. break $label0$0;
  28920. }
  28921. return t1;
  28922. },
  28923. _newRenderResult(options, result, start) {
  28924. var t2, sourceMapOption, sourceMapPath, t3, sourceMapDir, outFile, t4, _0_0, t5, sourceMapDirUrl, i, source, t6, buffer, indices, url, t7, t8, _null = null,
  28925. end = new A.DateTime(Date.now(), 0, false),
  28926. t1 = result._compile_result$_serialize,
  28927. css = t1._0,
  28928. sourceMapBytes = self.undefined;
  28929. if (A._enableSourceMaps(options)) {
  28930. t2 = J.getInterceptor$x(options);
  28931. sourceMapOption = t2.get$sourceMap(options);
  28932. if (typeof sourceMapOption == "string")
  28933. sourceMapPath = sourceMapOption;
  28934. else {
  28935. t3 = t2.get$outFile(options);
  28936. t3.toString;
  28937. sourceMapPath = J.$add$ansx(t3, ".map");
  28938. }
  28939. t3 = $.$get$context();
  28940. sourceMapDir = t3.dirname$1(sourceMapPath);
  28941. t1 = t1._1;
  28942. t1.toString;
  28943. t1.sourceRoot = t2.get$sourceMapRoot(options);
  28944. outFile = t2.get$outFile(options);
  28945. t4 = outFile == null;
  28946. if (t4) {
  28947. _0_0 = t2.get$file(options);
  28948. $label0$0: {
  28949. if (_0_0 != null) {
  28950. t5 = t3.toUri$1(t3.withoutExtension$1(_0_0) + ".css").toString$0(0);
  28951. break $label0$0;
  28952. }
  28953. t5 = t1.targetUrl = "stdin.css";
  28954. break $label0$0;
  28955. }
  28956. t1.targetUrl = t5;
  28957. } else
  28958. t1.targetUrl = t3.toUri$1(t3.relative$2$from(outFile, sourceMapDir)).toString$0(0);
  28959. sourceMapDirUrl = t3.toUri$1(sourceMapDir).toString$0(0);
  28960. for (t3 = t1.urls, i = 0; i < t3.length; ++i) {
  28961. source = t3[i];
  28962. if (source === "stdin")
  28963. continue;
  28964. t5 = $.$get$url();
  28965. t6 = t5.style;
  28966. if (t6.rootLength$1(source) <= 0 || t6.isRootRelative$1(source))
  28967. continue;
  28968. t3[i] = t5.relative$2$from(source, sourceMapDirUrl);
  28969. }
  28970. t3 = t2.get$sourceMapContents(options);
  28971. sourceMapBytes = self.Buffer.from(B.C_JsonCodec.encode$2$toEncodable(t1.toJson$1$includeSourceContents(!J.$eq$(t3, false) && t3 != null), _null), "utf8");
  28972. t1 = t2.get$omitSourceMapUrl(options);
  28973. if (!(!J.$eq$(t1, false) && t1 != null)) {
  28974. t1 = t2.get$sourceMapEmbed(options);
  28975. if (!J.$eq$(t1, false) && t1 != null) {
  28976. buffer = new A.StringBuffer("");
  28977. indices = A._setArrayType([-1], type$.JSArray_int);
  28978. A.UriData__writeUri("application/json", _null, _null, buffer, indices);
  28979. indices.push(buffer._contents.length);
  28980. indices.push((buffer._contents += ";base64,").length - 1);
  28981. t1 = B.C_Base64Encoder.startChunkedConversion$1(new A._StringSinkConversionSink(buffer));
  28982. t2 = sourceMapBytes.length;
  28983. A.RangeError_checkValidRange(0, t2, t2);
  28984. t1._convert$_add$4(sourceMapBytes, 0, t2, true);
  28985. t1 = buffer._contents;
  28986. url = new A.UriData(t1.charCodeAt(0) == 0 ? t1 : t1, indices, _null).get$uri();
  28987. } else {
  28988. if (t4)
  28989. t1 = sourceMapPath;
  28990. else {
  28991. t1 = $.$get$context();
  28992. t1 = t1.relative$2$from(sourceMapPath, t1.dirname$1(outFile));
  28993. }
  28994. url = $.$get$context().toUri$1(t1);
  28995. }
  28996. t1 = url.toString$0(0);
  28997. css += "\n\n/*# sourceMappingURL=" + A.stringReplaceAllUnchecked(t1, "*/", "%2A/") + " */";
  28998. }
  28999. }
  29000. t1 = self.Buffer.from(css, "utf8");
  29001. t2 = J.get$file$x(options);
  29002. if (t2 == null)
  29003. t2 = "data";
  29004. t3 = start._value;
  29005. t4 = end._value;
  29006. t5 = B.JSInt_methods._tdivFast$1(A.Duration$(end._microsecond - start._microsecond, t4 - t3)._duration, 1000);
  29007. t6 = A._setArrayType([], type$.JSArray_String);
  29008. for (t7 = result._evaluate._0, t7 = t7.get$iterator(t7); t7.moveNext$0();) {
  29009. t8 = t7.get$current(t7);
  29010. t6.push(t8.get$scheme() === "file" ? $.$get$context().style.pathFromUri$1(A._parseUri(t8)) : t8.toString$0(0));
  29011. }
  29012. return {css: t1, map: sourceMapBytes, stats: {entry: t2, start: t3, end: t4, duration: t5, includedFiles: t6}};
  29013. },
  29014. _enableSourceMaps(options) {
  29015. var t2,
  29016. t1 = J.getInterceptor$x(options);
  29017. if (typeof t1.get$sourceMap(options) != "string") {
  29018. t2 = t1.get$sourceMap(options);
  29019. t1 = !J.$eq$(t2, false) && t2 != null && t1.get$outFile(options) != null;
  29020. } else
  29021. t1 = true;
  29022. return t1;
  29023. },
  29024. _newRenderError(message, stackTrace, column, file, line, $status) {
  29025. var error = new self.Error(message);
  29026. error.formatted = "Error: " + message;
  29027. if (line != null)
  29028. error.line = line;
  29029. if (column != null)
  29030. error.column = column;
  29031. if (file != null)
  29032. error.file = file;
  29033. error.status = $status;
  29034. A.attachJsStack(error, stackTrace);
  29035. return error;
  29036. },
  29037. render_closure: function render_closure(t0, t1) {
  29038. this.callback = t0;
  29039. this.options = t1;
  29040. },
  29041. render_closure0: function render_closure0(t0) {
  29042. this.callback = t0;
  29043. },
  29044. render_closure1: function render_closure1(t0) {
  29045. this.callback = t0;
  29046. },
  29047. _parseFunctions_closure: function _parseFunctions_closure(t0, t1, t2, t3) {
  29048. var _ = this;
  29049. _.options = t0;
  29050. _.start = t1;
  29051. _.result = t2;
  29052. _.asynch = t3;
  29053. },
  29054. _parseFunctions__closure: function _parseFunctions__closure(t0, t1, t2) {
  29055. this._box_0 = t0;
  29056. this.callback = t1;
  29057. this.context = t2;
  29058. },
  29059. _parseFunctions___closure2: function _parseFunctions___closure2(t0) {
  29060. this.currentFiber = t0;
  29061. },
  29062. _parseFunctions____closure: function _parseFunctions____closure(t0, t1) {
  29063. this.currentFiber = t0;
  29064. this.result = t1;
  29065. },
  29066. _parseFunctions___closure3: function _parseFunctions___closure3(t0, t1, t2) {
  29067. this.callback = t0;
  29068. this.context = t1;
  29069. this.jsArguments = t2;
  29070. },
  29071. _parseFunctions___closure4: function _parseFunctions___closure4(t0) {
  29072. this._box_0 = t0;
  29073. },
  29074. _parseFunctions__closure0: function _parseFunctions__closure0(t0, t1) {
  29075. this.callback = t0;
  29076. this.context = t1;
  29077. },
  29078. _parseFunctions___closure1: function _parseFunctions___closure1(t0, t1, t2) {
  29079. this.callback = t0;
  29080. this.context = t1;
  29081. this.$arguments = t2;
  29082. },
  29083. _parseFunctions__closure1: function _parseFunctions__closure1(t0, t1) {
  29084. this.callback = t0;
  29085. this.context = t1;
  29086. },
  29087. _parseFunctions___closure: function _parseFunctions___closure(t0) {
  29088. this.completer = t0;
  29089. },
  29090. _parseFunctions___closure0: function _parseFunctions___closure0(t0, t1, t2) {
  29091. this.callback = t0;
  29092. this.context = t1;
  29093. this.jsArguments = t2;
  29094. },
  29095. _parseImporter_closure: function _parseImporter_closure(t0) {
  29096. this._box_0 = t0;
  29097. },
  29098. _parseImporter__closure: function _parseImporter__closure(t0, t1) {
  29099. this._box_0 = t0;
  29100. this.importer = t1;
  29101. },
  29102. _parseImporter___closure: function _parseImporter___closure(t0) {
  29103. this.currentFiber = t0;
  29104. },
  29105. _parseImporter____closure: function _parseImporter____closure(t0, t1) {
  29106. this.currentFiber = t0;
  29107. this.result = t1;
  29108. },
  29109. _parseImporter___closure0: function _parseImporter___closure0(t0) {
  29110. this._box_0 = t0;
  29111. },
  29112. LimitedMapView$blocklist0(_map, blocklist, $K, $V) {
  29113. var t2, key,
  29114. t1 = A.LinkedHashSet_LinkedHashSet$_empty($K);
  29115. for (t2 = J.get$iterator$ax(_map.get$keys(_map)); t2.moveNext$0();) {
  29116. key = t2.get$current(t2);
  29117. if (!blocklist.contains$1(0, key))
  29118. t1.add$1(0, key);
  29119. }
  29120. return new A.LimitedMapView0(_map, t1, $K._eval$1("@<0>")._bind$1($V)._eval$1("LimitedMapView0<1,2>"));
  29121. },
  29122. LimitedMapView0: function LimitedMapView0(t0, t1, t2) {
  29123. this._limited_map_view0$_map = t0;
  29124. this._limited_map_view0$_keys = t1;
  29125. this.$ti = t2;
  29126. },
  29127. ListExpression0: function ListExpression0(t0, t1, t2, t3) {
  29128. var _ = this;
  29129. _.contents = t0;
  29130. _.separator = t1;
  29131. _.hasBrackets = t2;
  29132. _.span = t3;
  29133. },
  29134. ListExpression_toString_closure0: function ListExpression_toString_closure0(t0) {
  29135. this.$this = t0;
  29136. },
  29137. _function11($name, $arguments, callback) {
  29138. return A.BuiltInCallable$function0($name, $arguments, callback, "sass:list");
  29139. },
  29140. _length_closure2: function _length_closure2() {
  29141. },
  29142. _nth_closure0: function _nth_closure0() {
  29143. },
  29144. _setNth_closure0: function _setNth_closure0() {
  29145. },
  29146. _join_closure0: function _join_closure0() {
  29147. },
  29148. _append_closure2: function _append_closure2() {
  29149. },
  29150. _zip_closure0: function _zip_closure0() {
  29151. },
  29152. _zip__closure2: function _zip__closure2() {
  29153. },
  29154. _zip__closure3: function _zip__closure3(t0) {
  29155. this._box_0 = t0;
  29156. },
  29157. _zip__closure4: function _zip__closure4(t0) {
  29158. this._box_0 = t0;
  29159. },
  29160. _index_closure2: function _index_closure2() {
  29161. },
  29162. _separator_closure0: function _separator_closure0() {
  29163. },
  29164. _isBracketed_closure0: function _isBracketed_closure0() {
  29165. },
  29166. _slash_closure0: function _slash_closure0() {
  29167. },
  29168. SelectorList$0(components, span) {
  29169. var t1 = A.List_List$unmodifiable(components, type$.ComplexSelector_2);
  29170. if (t1.length === 0)
  29171. A.throwExpression(A.ArgumentError$("components may not be empty.", null));
  29172. return new A.SelectorList0(t1, span);
  29173. },
  29174. SelectorList_SelectorList$parse0(contents, allowParent, interpolationMap, plainCss) {
  29175. return new A.SelectorParser0(allowParent, plainCss, A.SpanScanner$(contents, null), interpolationMap).parse$0(0);
  29176. },
  29177. SelectorList0: function SelectorList0(t0, t1) {
  29178. this.components = t0;
  29179. this.span = t1;
  29180. },
  29181. SelectorList_asSassList_closure0: function SelectorList_asSassList_closure0() {
  29182. },
  29183. SelectorList_nestWithin_closure0: function SelectorList_nestWithin_closure0(t0, t1, t2, t3) {
  29184. var _ = this;
  29185. _.$this = t0;
  29186. _.preserveParentSelectors = t1;
  29187. _.implicitParent = t2;
  29188. _.parent = t3;
  29189. },
  29190. SelectorList_nestWithin__closure1: function SelectorList_nestWithin__closure1(t0) {
  29191. this.complex = t0;
  29192. },
  29193. SelectorList_nestWithin__closure2: function SelectorList_nestWithin__closure2(t0) {
  29194. this.complex = t0;
  29195. },
  29196. SelectorList__nestWithinCompound_closure2: function SelectorList__nestWithinCompound_closure2() {
  29197. },
  29198. SelectorList__nestWithinCompound_closure3: function SelectorList__nestWithinCompound_closure3(t0) {
  29199. this.parent = t0;
  29200. },
  29201. SelectorList__nestWithinCompound_closure4: function SelectorList__nestWithinCompound_closure4(t0, t1, t2) {
  29202. this.parentSelector = t0;
  29203. this.resolvedSimples = t1;
  29204. this.component = t2;
  29205. },
  29206. SelectorList_withAdditionalCombinators_closure0: function SelectorList_withAdditionalCombinators_closure0(t0) {
  29207. this.combinators = t0;
  29208. },
  29209. _ParentSelectorVisitor0: function _ParentSelectorVisitor0() {
  29210. },
  29211. __ParentSelectorVisitor_Object_SelectorSearchVisitor0: function __ParentSelectorVisitor_Object_SelectorSearchVisitor0() {
  29212. },
  29213. listClass_closure: function listClass_closure() {
  29214. },
  29215. listClass__closure: function listClass__closure() {
  29216. },
  29217. listClass__closure0: function listClass__closure0() {
  29218. },
  29219. _ConstructorOptions: function _ConstructorOptions() {
  29220. },
  29221. _NodeSassList: function _NodeSassList() {
  29222. },
  29223. legacyListClass_closure: function legacyListClass_closure() {
  29224. },
  29225. legacyListClass__closure: function legacyListClass__closure() {
  29226. },
  29227. legacyListClass_closure0: function legacyListClass_closure0() {
  29228. },
  29229. legacyListClass_closure1: function legacyListClass_closure1() {
  29230. },
  29231. legacyListClass_closure2: function legacyListClass_closure2() {
  29232. },
  29233. legacyListClass_closure3: function legacyListClass_closure3() {
  29234. },
  29235. legacyListClass_closure4: function legacyListClass_closure4() {
  29236. },
  29237. SassList$0(contents, _separator, brackets) {
  29238. var t1 = new A.SassList0(A.List_List$unmodifiable(contents, type$.Value_2), _separator, brackets);
  29239. t1.SassList$3$brackets0(contents, _separator, brackets);
  29240. return t1;
  29241. },
  29242. SassList0: function SassList0(t0, t1, t2) {
  29243. this._list1$_contents = t0;
  29244. this._list1$_separator = t1;
  29245. this._list1$_hasBrackets = t2;
  29246. },
  29247. SassList_isBlank_closure0: function SassList_isBlank_closure0() {
  29248. },
  29249. ListSeparator0: function ListSeparator0(t0, t1, t2) {
  29250. this._list1$_name = t0;
  29251. this.separator = t1;
  29252. this._name = t2;
  29253. },
  29254. LmsColorSpace0: function LmsColorSpace0(t0, t1) {
  29255. this.name = t0;
  29256. this._space$_channels = t1;
  29257. },
  29258. LocalMindeGamutMap0: function LocalMindeGamutMap0(t0) {
  29259. this.name = t0;
  29260. },
  29261. JSLogger: function JSLogger() {
  29262. },
  29263. WarnOptions: function WarnOptions() {
  29264. },
  29265. DebugOptions: function DebugOptions() {
  29266. },
  29267. WarnForDeprecation_warnForDeprecation0(_this, deprecation, message, span, trace) {
  29268. _this.internalWarn$4$deprecation$span$trace(message, deprecation, span, trace);
  29269. },
  29270. LoggerWithDeprecationType0: function LoggerWithDeprecationType0() {
  29271. },
  29272. LoudComment0: function LoudComment0(t0) {
  29273. this.text = t0;
  29274. },
  29275. MapExpression0: function MapExpression0(t0, t1) {
  29276. this.pairs = t0;
  29277. this.span = t1;
  29278. },
  29279. _modify0(map, keys, modify, addNesting) {
  29280. var keyIterator = J.get$iterator$ax(keys);
  29281. return keyIterator.moveNext$0() ? new A._modify_modifyNestedMap0(keyIterator, modify, addNesting).call$1(map) : modify.call$1(map);
  29282. },
  29283. _deepMergeImpl0(map1, map2) {
  29284. var t2, t3, result, t4, key, value, _1_1, _1_3, _1_3_isSet, _1_30, resultMap, valueMap, merged,
  29285. t1 = map1._map0$_contents;
  29286. if (t1.get$isEmpty(t1))
  29287. return map2;
  29288. t2 = map2._map0$_contents;
  29289. if (t2.get$isEmpty(t2))
  29290. return map1;
  29291. t3 = type$.Value_2;
  29292. result = A.LinkedHashMap_LinkedHashMap$of(t1, t3, t3);
  29293. for (t1 = A.MapExtensions_get_pairs0(t2, t3, t3), t1 = t1.get$iterator(t1), t2 = type$.SassMap_2; t1.moveNext$0();) {
  29294. t4 = t1.get$current(t1);
  29295. key = t4._0;
  29296. value = t4._1;
  29297. t4 = result.$index(0, key);
  29298. _1_1 = t4 == null ? null : t4.tryMap$0();
  29299. _1_3 = value.tryMap$0();
  29300. _1_3_isSet = _1_1 != null;
  29301. _1_30 = null;
  29302. t4 = false;
  29303. if (_1_3_isSet) {
  29304. resultMap = _1_1 == null ? t2._as(_1_1) : _1_1;
  29305. t4 = _1_3 != null;
  29306. _1_30 = _1_3;
  29307. } else
  29308. resultMap = null;
  29309. if (t4) {
  29310. valueMap = _1_3_isSet ? _1_30 : _1_3;
  29311. merged = A._deepMergeImpl0(resultMap, valueMap == null ? t2._as(valueMap) : valueMap);
  29312. if (merged === resultMap)
  29313. continue;
  29314. result.$indexSet(0, key, merged);
  29315. } else
  29316. result.$indexSet(0, key, value);
  29317. }
  29318. return new A.SassMap0(A.ConstantMap_ConstantMap$from(result, t3, t3));
  29319. },
  29320. _function10($name, $arguments, callback) {
  29321. return A.BuiltInCallable$function0($name, $arguments, callback, "sass:map");
  29322. },
  29323. _get_closure0: function _get_closure0() {
  29324. },
  29325. _set_closure1: function _set_closure1() {
  29326. },
  29327. _set__closure2: function _set__closure2(t0) {
  29328. this.$arguments = t0;
  29329. },
  29330. _set_closure2: function _set_closure2() {
  29331. },
  29332. _set__closure1: function _set__closure1(t0) {
  29333. this._box_0 = t0;
  29334. },
  29335. _merge_closure1: function _merge_closure1() {
  29336. },
  29337. _merge_closure2: function _merge_closure2() {
  29338. },
  29339. _merge__closure0: function _merge__closure0(t0) {
  29340. this.map2 = t0;
  29341. },
  29342. _deepMerge_closure0: function _deepMerge_closure0() {
  29343. },
  29344. _deepRemove_closure0: function _deepRemove_closure0() {
  29345. },
  29346. _deepRemove__closure0: function _deepRemove__closure0(t0) {
  29347. this.keys = t0;
  29348. },
  29349. _remove_closure1: function _remove_closure1() {
  29350. },
  29351. _remove_closure2: function _remove_closure2() {
  29352. },
  29353. _keys_closure0: function _keys_closure0() {
  29354. },
  29355. _values_closure0: function _values_closure0() {
  29356. },
  29357. _hasKey_closure0: function _hasKey_closure0() {
  29358. },
  29359. _modify_modifyNestedMap0: function _modify_modifyNestedMap0(t0, t1, t2) {
  29360. this.keyIterator = t0;
  29361. this.modify = t1;
  29362. this.addNesting = t2;
  29363. },
  29364. MapExtensions_get_pairs0(_this, $K, $V) {
  29365. var t1 = _this.get$entries(_this);
  29366. 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)"));
  29367. },
  29368. MapExtensions_get_pairs_closure0: function MapExtensions_get_pairs_closure0(t0, t1) {
  29369. this.K = t0;
  29370. this.V = t1;
  29371. },
  29372. mapClass_closure: function mapClass_closure() {
  29373. },
  29374. mapClass__closure: function mapClass__closure() {
  29375. },
  29376. mapClass__closure0: function mapClass__closure0() {
  29377. },
  29378. mapClass__closure1: function mapClass__closure1() {
  29379. },
  29380. _NodeSassMap: function _NodeSassMap() {
  29381. },
  29382. legacyMapClass_closure: function legacyMapClass_closure() {
  29383. },
  29384. legacyMapClass__closure: function legacyMapClass__closure() {
  29385. },
  29386. legacyMapClass__closure0: function legacyMapClass__closure0() {
  29387. },
  29388. legacyMapClass_closure0: function legacyMapClass_closure0() {
  29389. },
  29390. legacyMapClass_closure1: function legacyMapClass_closure1() {
  29391. },
  29392. legacyMapClass_closure2: function legacyMapClass_closure2() {
  29393. },
  29394. legacyMapClass_closure3: function legacyMapClass_closure3() {
  29395. },
  29396. legacyMapClass_closure4: function legacyMapClass_closure4() {
  29397. },
  29398. SassMap0: function SassMap0(t0) {
  29399. this._map0$_contents = t0;
  29400. },
  29401. _singleArgumentMathFunc0($name, mathFunc) {
  29402. return A.BuiltInCallable$function0($name, "$number", new A._singleArgumentMathFunc_closure0(mathFunc), "sass:math");
  29403. },
  29404. _numberFunction0($name, transform) {
  29405. return A.BuiltInCallable$function0($name, "$number", new A._numberFunction_closure0(transform), "sass:math");
  29406. },
  29407. _function9($name, $arguments, callback) {
  29408. return A.BuiltInCallable$function0($name, $arguments, callback, "sass:math");
  29409. },
  29410. global_closure43: function global_closure43() {
  29411. },
  29412. module_closure26: function module_closure26() {
  29413. },
  29414. _ceil_closure0: function _ceil_closure0() {
  29415. },
  29416. _clamp_closure0: function _clamp_closure0() {
  29417. },
  29418. _floor_closure0: function _floor_closure0() {
  29419. },
  29420. _max_closure0: function _max_closure0() {
  29421. },
  29422. _min_closure0: function _min_closure0() {
  29423. },
  29424. _round_closure0: function _round_closure0() {
  29425. },
  29426. _hypot_closure0: function _hypot_closure0() {
  29427. },
  29428. _hypot__closure0: function _hypot__closure0() {
  29429. },
  29430. _log_closure0: function _log_closure0() {
  29431. },
  29432. _pow_closure0: function _pow_closure0() {
  29433. },
  29434. _atan2_closure0: function _atan2_closure0() {
  29435. },
  29436. _compatible_closure0: function _compatible_closure0() {
  29437. },
  29438. _isUnitless_closure0: function _isUnitless_closure0() {
  29439. },
  29440. _unit_closure0: function _unit_closure0() {
  29441. },
  29442. _percentage_closure0: function _percentage_closure0() {
  29443. },
  29444. _randomFunction_closure0: function _randomFunction_closure0() {
  29445. },
  29446. _div_closure0: function _div_closure0() {
  29447. },
  29448. _singleArgumentMathFunc_closure0: function _singleArgumentMathFunc_closure0(t0) {
  29449. this.mathFunc = t0;
  29450. },
  29451. _numberFunction_closure0: function _numberFunction_closure0(t0) {
  29452. this.transform = t0;
  29453. },
  29454. CssMediaQuery$type0(type, conditions, modifier) {
  29455. return new A.CssMediaQuery0(modifier, type, true, conditions == null ? B.List_empty : A.List_List$unmodifiable(conditions, type$.String));
  29456. },
  29457. CssMediaQuery$condition0(conditions, conjunction) {
  29458. var t1 = A.List_List$unmodifiable(conditions, type$.String);
  29459. if (t1.length > 1 && conjunction == null)
  29460. A.throwExpression(A.ArgumentError$(string$.If_con, null));
  29461. return new A.CssMediaQuery0(null, null, conjunction !== false, t1);
  29462. },
  29463. CssMediaQuery0: function CssMediaQuery0(t0, t1, t2, t3) {
  29464. var _ = this;
  29465. _.modifier = t0;
  29466. _.type = t1;
  29467. _.conjunction = t2;
  29468. _.conditions = t3;
  29469. },
  29470. _SingletonCssMediaQueryMergeResult0: function _SingletonCssMediaQueryMergeResult0(t0) {
  29471. this._name = t0;
  29472. },
  29473. MediaQuerySuccessfulMergeResult0: function MediaQuerySuccessfulMergeResult0(t0) {
  29474. this.query = t0;
  29475. },
  29476. MediaQueryParser0: function MediaQueryParser0(t0, t1) {
  29477. this.scanner = t0;
  29478. this._parser1$_interpolationMap = t1;
  29479. },
  29480. MediaQueryParser_parse_closure0: function MediaQueryParser_parse_closure0(t0) {
  29481. this.$this = t0;
  29482. },
  29483. ModifiableCssMediaRule$0(queries, span) {
  29484. var t1 = A.List_List$unmodifiable(queries, type$.CssMediaQuery_2),
  29485. t2 = A._setArrayType([], type$.JSArray_ModifiableCssNode_2);
  29486. if (J.get$isEmpty$asx(queries))
  29487. A.throwExpression(A.ArgumentError$value(queries, "queries", "may not be empty."));
  29488. return new A.ModifiableCssMediaRule0(t1, span, new A.UnmodifiableListView(t2, type$.UnmodifiableListView_ModifiableCssNode_2), t2);
  29489. },
  29490. ModifiableCssMediaRule0: function ModifiableCssMediaRule0(t0, t1, t2, t3) {
  29491. var _ = this;
  29492. _.queries = t0;
  29493. _.span = t1;
  29494. _.children = t2;
  29495. _._node$_children = t3;
  29496. _._node$_indexInParent = _._node$_parent = null;
  29497. _.isGroupEnd = false;
  29498. },
  29499. MediaRule$0(query, children, span) {
  29500. var t1 = A.List_List$unmodifiable(children, type$.Statement_2),
  29501. t2 = B.JSArray_methods.any$1(t1, new A.ParentStatement_closure0());
  29502. return new A.MediaRule0(query, span, t1, t2);
  29503. },
  29504. MediaRule0: function MediaRule0(t0, t1, t2, t3) {
  29505. var _ = this;
  29506. _.query = t0;
  29507. _.span = t1;
  29508. _.children = t2;
  29509. _.hasDeclarations = t3;
  29510. },
  29511. MergedExtension_merge0(left, right) {
  29512. var t2, t3, t4,
  29513. t1 = left.extender.selector;
  29514. if (!t1.$eq(0, right.extender.selector) || !left.target.$eq(0, right.target))
  29515. throw A.wrapException(A.ArgumentError$(left.toString$0(0) + " and " + right.toString$0(0) + " aren't the same extension.", null));
  29516. t2 = left.mediaContext;
  29517. t3 = t2 == null;
  29518. if (!t3) {
  29519. t4 = right.mediaContext;
  29520. t4 = t4 != null && !B.C_ListEquality.equals$2(0, t2, t4);
  29521. } else
  29522. t4 = false;
  29523. if (t4)
  29524. throw A.wrapException(A.SassException$0("From " + left.span.message$1(0, "") + string$.x0aYou_m, right.span, null));
  29525. if (right.isOptional && right.mediaContext == null)
  29526. return left;
  29527. if (left.isOptional && t3)
  29528. return right;
  29529. if (t3)
  29530. t2 = right.mediaContext;
  29531. t1.get$specificity();
  29532. t1 = new A.Extender0(t1, false);
  29533. return t1._extension$_extension = new A.MergedExtension0(left, right, t1, left.target, t2, true, left.span);
  29534. },
  29535. MergedExtension0: function MergedExtension0(t0, t1, t2, t3, t4, t5, t6) {
  29536. var _ = this;
  29537. _.left = t0;
  29538. _.right = t1;
  29539. _.extender = t2;
  29540. _.target = t3;
  29541. _.mediaContext = t4;
  29542. _.isOptional = t5;
  29543. _.span = t6;
  29544. },
  29545. MergedMapView$0(maps, $K, $V) {
  29546. var t1 = $K._eval$1("@<0>")._bind$1($V);
  29547. t1 = new A.MergedMapView0(A.LinkedHashMap_LinkedHashMap$_empty($K, t1._eval$1("Map<1,2>")), t1._eval$1("MergedMapView0<1,2>"));
  29548. t1.MergedMapView$10(maps, $K, $V);
  29549. return t1;
  29550. },
  29551. MergedMapView0: function MergedMapView0(t0, t1) {
  29552. this._merged_map_view$_mapsByKey = t0;
  29553. this.$ti = t1;
  29554. },
  29555. _function6($name, $arguments, callback) {
  29556. return A.BuiltInCallable$function0($name, $arguments, callback, "sass:meta");
  29557. },
  29558. _shared_closure3: function _shared_closure3() {
  29559. },
  29560. _shared_closure4: function _shared_closure4() {
  29561. },
  29562. _shared_closure5: function _shared_closure5() {
  29563. },
  29564. _shared_closure6: function _shared_closure6() {
  29565. },
  29566. moduleFunctions_closure2: function moduleFunctions_closure2() {
  29567. },
  29568. moduleFunctions_closure3: function moduleFunctions_closure3() {
  29569. },
  29570. moduleFunctions__closure0: function moduleFunctions__closure0() {
  29571. },
  29572. moduleFunctions_closure4: function moduleFunctions_closure4() {
  29573. },
  29574. mixinClass_closure: function mixinClass_closure() {
  29575. },
  29576. mixinClass__closure: function mixinClass__closure() {
  29577. },
  29578. mixinClass__closure0: function mixinClass__closure0() {
  29579. },
  29580. SassMixin0: function SassMixin0(t0, t1) {
  29581. this.callable = t0;
  29582. this._mixin0$_compileContext = t1;
  29583. },
  29584. MixinRule$0($name, parameters, children, span, comment) {
  29585. var t1 = A.stringReplaceAllUnchecked($name, "_", "-"),
  29586. t2 = A.List_List$unmodifiable(children, type$.Statement_2),
  29587. t3 = B.JSArray_methods.any$1(t2, new A.ParentStatement_closure0());
  29588. return new A.MixinRule0(t1, $name, parameters, span, t2, t3);
  29589. },
  29590. MixinRule0: function MixinRule0(t0, t1, t2, t3, t4, t5) {
  29591. var _ = this;
  29592. _._mixin_rule$__MixinRule_hasContent_FI = $;
  29593. _.name = t0;
  29594. _.originalName = t1;
  29595. _.parameters = t2;
  29596. _.span = t3;
  29597. _.children = t4;
  29598. _.hasDeclarations = t5;
  29599. },
  29600. _HasContentVisitor0: function _HasContentVisitor0() {
  29601. },
  29602. __HasContentVisitor_Object_StatementSearchVisitor0: function __HasContentVisitor_Object_StatementSearchVisitor0() {
  29603. },
  29604. ExtendMode0: function ExtendMode0(t0, t1) {
  29605. this.name = t0;
  29606. this._name = t1;
  29607. },
  29608. JSModule0: function JSModule0() {
  29609. },
  29610. JSModuleRequire0: function JSModuleRequire0() {
  29611. },
  29612. MultiSpan0: function MultiSpan0(t0, t1, t2) {
  29613. this._multi_span0$_primary = t0;
  29614. this.primaryLabel = t1;
  29615. this.secondarySpans = t2;
  29616. },
  29617. SupportsNegation0: function SupportsNegation0(t0, t1) {
  29618. this.condition = t0;
  29619. this.span = t1;
  29620. },
  29621. NoOpImporter0: function NoOpImporter0() {
  29622. },
  29623. NoSourceMapBuffer0: function NoSourceMapBuffer0(t0) {
  29624. this._no_source_map_buffer0$_buffer = t0;
  29625. },
  29626. _FakeAstNode0: function _FakeAstNode0(t0) {
  29627. this._node0$_callback = t0;
  29628. },
  29629. CssNode0: function CssNode0() {
  29630. },
  29631. CssParentNode0: function CssParentNode0() {
  29632. },
  29633. _IsInvisibleVisitor1: function _IsInvisibleVisitor1(t0, t1) {
  29634. this.includeBogus = t0;
  29635. this.includeComments = t1;
  29636. },
  29637. __IsInvisibleVisitor_Object_EveryCssVisitor0: function __IsInvisibleVisitor_Object_EveryCssVisitor0() {
  29638. },
  29639. ModifiableCssNode0: function ModifiableCssNode0() {
  29640. },
  29641. ModifiableCssNode_hasFollowingSibling_closure0: function ModifiableCssNode_hasFollowingSibling_closure0() {
  29642. },
  29643. ModifiableCssParentNode0: function ModifiableCssParentNode0() {
  29644. },
  29645. NodePackageImporter0: function NodePackageImporter0() {
  29646. this._node_package$__NodePackageImporter__entryPointDirectory_F = $;
  29647. },
  29648. NodePackageImporter__nodePackageExportsResolve_closure3: function NodePackageImporter__nodePackageExportsResolve_closure3() {
  29649. },
  29650. NodePackageImporter__nodePackageExportsResolve_closure4: function NodePackageImporter__nodePackageExportsResolve_closure4() {
  29651. },
  29652. NodePackageImporter__nodePackageExportsResolve_closure5: function NodePackageImporter__nodePackageExportsResolve_closure5() {
  29653. },
  29654. NodePackageImporter__nodePackageExportsResolve_closure6: function NodePackageImporter__nodePackageExportsResolve_closure6(t0, t1, t2) {
  29655. this.$this = t0;
  29656. this.exports = t1;
  29657. this.packageRoot = t2;
  29658. },
  29659. NodePackageImporter__nodePackageExportsResolve__closure1: function NodePackageImporter__nodePackageExportsResolve__closure1(t0, t1, t2) {
  29660. this.$this = t0;
  29661. this.variant = t1;
  29662. this.packageRoot = t2;
  29663. },
  29664. NodePackageImporter__nodePackageExportsResolve__closure2: function NodePackageImporter__nodePackageExportsResolve__closure2() {
  29665. },
  29666. NodePackageImporter__getMainExport_closure0: function NodePackageImporter__getMainExport_closure0() {
  29667. },
  29668. NullExpression$(span) {
  29669. return new A.NullExpression0(span);
  29670. },
  29671. NullExpression0: function NullExpression0(t0) {
  29672. this.span = t0;
  29673. },
  29674. legacyNullClass_closure: function legacyNullClass_closure() {
  29675. },
  29676. legacyNullClass__closure: function legacyNullClass__closure() {
  29677. },
  29678. _SassNull0: function _SassNull0() {
  29679. },
  29680. NumberExpression0: function NumberExpression0(t0, t1, t2) {
  29681. this.value = t0;
  29682. this.unit = t1;
  29683. this.span = t2;
  29684. },
  29685. numberClass_closure: function numberClass_closure() {
  29686. },
  29687. numberClass__closure: function numberClass__closure() {
  29688. },
  29689. numberClass__closure0: function numberClass__closure0() {
  29690. },
  29691. numberClass__closure1: function numberClass__closure1() {
  29692. },
  29693. numberClass__closure2: function numberClass__closure2() {
  29694. },
  29695. numberClass__closure3: function numberClass__closure3() {
  29696. },
  29697. numberClass__closure4: function numberClass__closure4() {
  29698. },
  29699. numberClass__closure5: function numberClass__closure5() {
  29700. },
  29701. numberClass__closure6: function numberClass__closure6() {
  29702. },
  29703. numberClass__closure7: function numberClass__closure7() {
  29704. },
  29705. numberClass__closure8: function numberClass__closure8() {
  29706. },
  29707. numberClass__closure9: function numberClass__closure9() {
  29708. },
  29709. numberClass__closure10: function numberClass__closure10() {
  29710. },
  29711. numberClass__closure11: function numberClass__closure11() {
  29712. },
  29713. numberClass__closure12: function numberClass__closure12() {
  29714. },
  29715. numberClass__closure13: function numberClass__closure13() {
  29716. },
  29717. numberClass__closure14: function numberClass__closure14() {
  29718. },
  29719. numberClass__closure15: function numberClass__closure15() {
  29720. },
  29721. numberClass__closure16: function numberClass__closure16() {
  29722. },
  29723. numberClass__closure17: function numberClass__closure17() {
  29724. },
  29725. numberClass__closure18: function numberClass__closure18() {
  29726. },
  29727. numberClass__closure19: function numberClass__closure19() {
  29728. },
  29729. _ConstructorOptions0: function _ConstructorOptions0() {
  29730. },
  29731. _parseNumber(value, unit) {
  29732. var invalidUnit, operands, t1, numerator, denominator, numeratorUnits, denominatorUnits;
  29733. if (unit == null || unit.length === 0)
  29734. return A.SassNumber_SassNumber0(value, null);
  29735. if (!B.JSString_methods.contains$1(unit, "*") && !B.JSString_methods.contains$1(unit, "/"))
  29736. return A.SassNumber_SassNumber0(value, unit);
  29737. invalidUnit = new A.ArgumentError(true, unit, "unit", "is invalid.");
  29738. operands = unit.split("/");
  29739. t1 = operands.length;
  29740. if (t1 > 2)
  29741. throw A.wrapException(invalidUnit);
  29742. numerator = operands[0];
  29743. denominator = t1 === 1 ? null : operands[1];
  29744. t1 = type$.JSArray_String;
  29745. numeratorUnits = numerator.length === 0 ? A._setArrayType([], t1) : A._setArrayType(numerator.split("*"), t1);
  29746. if (B.JSArray_methods.any$1(numeratorUnits, new A._parseNumber_closure()))
  29747. throw A.wrapException(invalidUnit);
  29748. denominatorUnits = denominator == null ? A._setArrayType([], t1) : A._setArrayType(denominator.split("*"), t1);
  29749. if (B.JSArray_methods.any$1(denominatorUnits, new A._parseNumber_closure0()))
  29750. throw A.wrapException(invalidUnit);
  29751. return A.SassNumber_SassNumber$withUnits0(value, denominatorUnits, numeratorUnits);
  29752. },
  29753. _NodeSassNumber: function _NodeSassNumber() {
  29754. },
  29755. legacyNumberClass_closure: function legacyNumberClass_closure() {
  29756. },
  29757. legacyNumberClass_closure0: function legacyNumberClass_closure0() {
  29758. },
  29759. legacyNumberClass_closure1: function legacyNumberClass_closure1() {
  29760. },
  29761. legacyNumberClass_closure2: function legacyNumberClass_closure2() {
  29762. },
  29763. legacyNumberClass_closure3: function legacyNumberClass_closure3() {
  29764. },
  29765. _parseNumber_closure: function _parseNumber_closure() {
  29766. },
  29767. _parseNumber_closure0: function _parseNumber_closure0() {
  29768. },
  29769. conversionFactor0(unit1, unit2) {
  29770. var _0_0;
  29771. if (unit1 === unit2)
  29772. return 1;
  29773. _0_0 = B.Map_NtHoP.$index(0, unit1);
  29774. if (_0_0 != null)
  29775. return _0_0.$index(0, unit2);
  29776. return null;
  29777. },
  29778. SassNumber_SassNumber0(value, unit) {
  29779. return unit == null ? new A.UnitlessSassNumber0(value, null) : new A.SingleUnitSassNumber0(unit, value, null);
  29780. },
  29781. SassNumber_SassNumber$withUnits0(value, denominatorUnits, numeratorUnits) {
  29782. 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,
  29783. _0_3 = numeratorUnits == null,
  29784. t1 = _0_3,
  29785. _0_6_isSet = !t1;
  29786. if (_0_6_isSet) {
  29787. _0_4 = J.get$length$asx(numeratorUnits == null ? type$.List_String._as(numeratorUnits) : numeratorUnits);
  29788. t1 = _0_4;
  29789. _0_6 = t1 <= 0;
  29790. _0_8_isSet = _0_6;
  29791. } else {
  29792. _0_4 = _null;
  29793. _0_6 = _0_4;
  29794. _0_8_isSet = true;
  29795. }
  29796. _0_10 = _null;
  29797. if (_0_8_isSet) {
  29798. _0_8 = denominatorUnits == null;
  29799. t1 = _0_8;
  29800. _0_10_isSet = !t1;
  29801. if (_0_10_isSet) {
  29802. _0_10 = J.get$length$asx(denominatorUnits == null ? type$.List_String._as(denominatorUnits) : denominatorUnits) <= 0;
  29803. t1 = _0_10;
  29804. } else
  29805. t1 = true;
  29806. _0_7 = denominatorUnits;
  29807. } else {
  29808. _0_7 = _null;
  29809. _0_8 = _0_7;
  29810. _0_10_isSet = false;
  29811. t1 = false;
  29812. }
  29813. if (t1)
  29814. return new A.UnitlessSassNumber0(value, _null);
  29815. unit = _null;
  29816. t1 = false;
  29817. if (type$.List_dynamic._is(numeratorUnits)) {
  29818. _0_7_isSet = true;
  29819. if (_0_6_isSet) {
  29820. t2 = _0_4;
  29821. _0_4_isSet = _0_6_isSet;
  29822. } else {
  29823. _0_4 = J.get$length$asx(numeratorUnits);
  29824. t2 = _0_4;
  29825. _0_4_isSet = true;
  29826. }
  29827. if (t2 === 1) {
  29828. unit = J.$index$asx(numeratorUnits, 0);
  29829. if (_0_8_isSet) {
  29830. t1 = _0_8;
  29831. _0_7_isSet0 = _0_8_isSet;
  29832. } else {
  29833. _0_8 = denominatorUnits == null;
  29834. t1 = _0_8;
  29835. _0_7_isSet0 = _0_7_isSet;
  29836. _0_7 = denominatorUnits;
  29837. _0_8_isSet = true;
  29838. }
  29839. if (!t1)
  29840. if (_0_10_isSet) {
  29841. t1 = _0_10;
  29842. _0_7_isSet = _0_7_isSet0;
  29843. } else {
  29844. if (_0_7_isSet0) {
  29845. t1 = _0_7;
  29846. _0_7_isSet = _0_7_isSet0;
  29847. } else {
  29848. t1 = denominatorUnits;
  29849. _0_7 = t1;
  29850. }
  29851. _0_10 = J.get$length$asx(t1 == null ? type$.List_String._as(t1) : t1) <= 0;
  29852. t1 = _0_10;
  29853. _0_10_isSet = true;
  29854. }
  29855. else {
  29856. _0_7_isSet = _0_7_isSet0;
  29857. t1 = true;
  29858. }
  29859. } else
  29860. _0_7_isSet = _0_8_isSet;
  29861. } else {
  29862. _0_7_isSet = _0_8_isSet;
  29863. _0_4_isSet = _0_6_isSet;
  29864. }
  29865. if (t1)
  29866. return new A.SingleUnitSassNumber0(unit, value, _null);
  29867. t1 = numeratorUnits == null;
  29868. t2 = false;
  29869. if (!t1) {
  29870. _0_7_isSet0 = true;
  29871. numerators = numeratorUnits;
  29872. if (_0_8_isSet)
  29873. t2 = _0_8;
  29874. else {
  29875. if (_0_7_isSet)
  29876. t2 = _0_7;
  29877. else {
  29878. t2 = denominatorUnits;
  29879. _0_7_isSet = _0_7_isSet0;
  29880. _0_7 = t2;
  29881. }
  29882. _0_8 = t2 == null;
  29883. t2 = _0_8;
  29884. }
  29885. if (!t2)
  29886. if (_0_10_isSet)
  29887. t2 = _0_10;
  29888. else {
  29889. if (_0_7_isSet)
  29890. t2 = _0_7;
  29891. else {
  29892. t2 = denominatorUnits;
  29893. _0_7_isSet = _0_7_isSet0;
  29894. _0_7 = t2;
  29895. }
  29896. _0_10 = J.get$length$asx(t2 == null ? type$.List_String._as(t2) : t2) <= 0;
  29897. t2 = _0_10;
  29898. }
  29899. else
  29900. t2 = true;
  29901. } else
  29902. numerators = _null;
  29903. if (t2)
  29904. return new A.ComplexSassNumber0(A.List_List$unmodifiable(numerators, type$.String), B.List_empty, value, _null);
  29905. if (!_0_3)
  29906. if (_0_6_isSet)
  29907. t1 = _0_6;
  29908. else {
  29909. if (_0_4_isSet)
  29910. t1 = _0_4;
  29911. else {
  29912. _0_4 = J.get$length$asx(t1 ? type$.List_String._as(numeratorUnits) : numeratorUnits);
  29913. t1 = _0_4;
  29914. }
  29915. _0_6 = t1 <= 0;
  29916. t1 = _0_6;
  29917. }
  29918. else
  29919. t1 = true;
  29920. denominators = _null;
  29921. if (t1) {
  29922. if (_0_7_isSet)
  29923. t1 = _0_7;
  29924. else {
  29925. t1 = denominatorUnits;
  29926. _0_7 = t1;
  29927. _0_7_isSet = true;
  29928. }
  29929. t1 = t1 != null;
  29930. if (t1) {
  29931. denominators = _0_7_isSet ? _0_7 : denominatorUnits;
  29932. if (denominators == null)
  29933. denominators = type$.List_String._as(denominators);
  29934. }
  29935. } else
  29936. t1 = false;
  29937. if (t1)
  29938. return new A.ComplexSassNumber0(B.List_empty, A.List_List$unmodifiable(denominators, type$.String), value, _null);
  29939. numeratorUnits.toString;
  29940. numerators = J.toList$0$ax(numeratorUnits);
  29941. denominatorUnits.toString;
  29942. unsimplifiedDenominators = J.toList$0$ax(denominatorUnits);
  29943. denominators = A._setArrayType([], type$.JSArray_String);
  29944. for (t1 = unsimplifiedDenominators.length, valueDouble = value, _i = 0; _i < unsimplifiedDenominators.length; unsimplifiedDenominators.length === t1 || (0, A.throwConcurrentModificationError)(unsimplifiedDenominators), ++_i) {
  29945. denominator = unsimplifiedDenominators[_i];
  29946. i = 0;
  29947. while (true) {
  29948. if (!(i < numerators.length)) {
  29949. simplifiedAway = false;
  29950. break;
  29951. }
  29952. c$0: {
  29953. factor = A.conversionFactor0(denominator, numerators[i]);
  29954. if (factor == null)
  29955. break c$0;
  29956. valueDouble *= factor;
  29957. B.JSArray_methods.removeAt$1(numerators, i);
  29958. simplifiedAway = true;
  29959. break;
  29960. }
  29961. ++i;
  29962. }
  29963. if (!simplifiedAway)
  29964. denominators.push(denominator);
  29965. }
  29966. $label0$1: {
  29967. _1_2 = numerators.length;
  29968. t1 = _1_2;
  29969. _1_7_isSet = t1 <= 0;
  29970. if (_1_7_isSet) {
  29971. _1_7 = denominators.length <= 0;
  29972. t1 = _1_7;
  29973. } else {
  29974. _1_7 = _null;
  29975. t1 = false;
  29976. }
  29977. if (t1) {
  29978. t1 = new A.UnitlessSassNumber0(valueDouble, _null);
  29979. break $label0$1;
  29980. }
  29981. t1 = false;
  29982. if (_1_2 === 1) {
  29983. unit = numerators[0];
  29984. t1 = _1_7_isSet ? _1_7 : denominators.length <= 0;
  29985. } else
  29986. unit = _null;
  29987. if (t1) {
  29988. t1 = new A.SingleUnitSassNumber0(unit, valueDouble, _null);
  29989. break $label0$1;
  29990. }
  29991. t1 = type$.String;
  29992. t1 = new A.ComplexSassNumber0(A.List_List$unmodifiable(numerators, t1), A.List_List$unmodifiable(denominators, t1), valueDouble, _null);
  29993. break $label0$1;
  29994. }
  29995. return t1;
  29996. },
  29997. SassNumber0: function SassNumber0() {
  29998. },
  29999. SassNumber__coerceOrConvertValue_compatibilityException0: function SassNumber__coerceOrConvertValue_compatibilityException0(t0, t1, t2, t3, t4, t5, t6) {
  30000. var _ = this;
  30001. _.$this = t0;
  30002. _.other = t1;
  30003. _.otherName = t2;
  30004. _.otherHasUnits = t3;
  30005. _.name = t4;
  30006. _.newNumerators = t5;
  30007. _.newDenominators = t6;
  30008. },
  30009. SassNumber__coerceOrConvertValue_closure3: function SassNumber__coerceOrConvertValue_closure3(t0, t1) {
  30010. this._box_0 = t0;
  30011. this.newNumerator = t1;
  30012. },
  30013. SassNumber__coerceOrConvertValue_closure4: function SassNumber__coerceOrConvertValue_closure4(t0) {
  30014. this.compatibilityException = t0;
  30015. },
  30016. SassNumber__coerceOrConvertValue_closure5: function SassNumber__coerceOrConvertValue_closure5(t0, t1) {
  30017. this._box_0 = t0;
  30018. this.newDenominator = t1;
  30019. },
  30020. SassNumber__coerceOrConvertValue_closure6: function SassNumber__coerceOrConvertValue_closure6(t0) {
  30021. this.compatibilityException = t0;
  30022. },
  30023. SassNumber_plus_closure0: function SassNumber_plus_closure0() {
  30024. },
  30025. SassNumber_minus_closure0: function SassNumber_minus_closure0() {
  30026. },
  30027. SassNumber_multiplyUnits_closure3: function SassNumber_multiplyUnits_closure3(t0, t1) {
  30028. this._box_0 = t0;
  30029. this.numerator = t1;
  30030. },
  30031. SassNumber_multiplyUnits_closure4: function SassNumber_multiplyUnits_closure4(t0, t1) {
  30032. this.newNumerators = t0;
  30033. this.numerator = t1;
  30034. },
  30035. SassNumber_multiplyUnits_closure5: function SassNumber_multiplyUnits_closure5(t0, t1) {
  30036. this._box_0 = t0;
  30037. this.numerator = t1;
  30038. },
  30039. SassNumber_multiplyUnits_closure6: function SassNumber_multiplyUnits_closure6(t0, t1) {
  30040. this.newNumerators = t0;
  30041. this.numerator = t1;
  30042. },
  30043. SassNumber__areAnyConvertible_closure0: function SassNumber__areAnyConvertible_closure0(t0) {
  30044. this.units2 = t0;
  30045. },
  30046. SassNumber__canonicalizeUnitList_closure0: function SassNumber__canonicalizeUnitList_closure0() {
  30047. },
  30048. SassNumber__canonicalMultiplier_closure0: function SassNumber__canonicalMultiplier_closure0(t0) {
  30049. this.$this = t0;
  30050. },
  30051. SassNumber_unitSuggestion_closure1: function SassNumber_unitSuggestion_closure1() {
  30052. },
  30053. SassNumber_unitSuggestion_closure2: function SassNumber_unitSuggestion_closure2() {
  30054. },
  30055. OklabColorSpace0: function OklabColorSpace0(t0, t1) {
  30056. this.name = t0;
  30057. this._space$_channels = t1;
  30058. },
  30059. OklchColorSpace0: function OklchColorSpace0(t0, t1) {
  30060. this.name = t0;
  30061. this._space$_channels = t1;
  30062. },
  30063. SupportsOperation$0(left, right, operator, span) {
  30064. var lowerOperator = operator.toLowerCase();
  30065. if (lowerOperator !== "and" && lowerOperator !== "or")
  30066. A.throwExpression(A.ArgumentError$value(operator, "operator", 'may only be "and" or "or".'));
  30067. return new A.SupportsOperation0(left, right, operator, span);
  30068. },
  30069. SupportsOperation0: function SupportsOperation0(t0, t1, t2, t3) {
  30070. var _ = this;
  30071. _.left = t0;
  30072. _.right = t1;
  30073. _.operator = t2;
  30074. _.span = t3;
  30075. },
  30076. Parameter0: function Parameter0(t0, t1, t2) {
  30077. this.name = t0;
  30078. this.defaultValue = t1;
  30079. this.span = t2;
  30080. },
  30081. ParameterList_ParameterList$parse0(contents, url) {
  30082. return A.ScssParser$0(contents, url).parseParameterList$0();
  30083. },
  30084. ParameterList0: function ParameterList0(t0, t1, t2) {
  30085. this.parameters = t0;
  30086. this.restParameter = t1;
  30087. this.span = t2;
  30088. },
  30089. ParameterList_verify_closure1: function ParameterList_verify_closure1() {
  30090. },
  30091. ParameterList_verify_closure2: function ParameterList_verify_closure2() {
  30092. },
  30093. ParentSelector0: function ParentSelector0(t0, t1) {
  30094. this.suffix = t0;
  30095. this.span = t1;
  30096. },
  30097. ParentStatement0: function ParentStatement0() {
  30098. },
  30099. ParentStatement_closure0: function ParentStatement_closure0() {
  30100. },
  30101. ParentStatement__closure0: function ParentStatement__closure0() {
  30102. },
  30103. ParenthesizedExpression0: function ParenthesizedExpression0(t0, t1) {
  30104. this.expression = t0;
  30105. this.span = t1;
  30106. },
  30107. loadParserExports() {
  30108. A._updateAstPrototypes();
  30109. 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())};
  30110. },
  30111. _updateAstPrototypes() {
  30112. var t2, t3, string, t4, t5, $arguments, _i, _null = null,
  30113. _s9_ = "arguments",
  30114. file = A.SourceFile$fromString("", _null),
  30115. t1 = type$.JSClass;
  30116. J.get$$prototype$x(t1._as(file.constructor)).getText = A.allowInteropCaptureThisNamed("getText", new A._updateAstPrototypes_closure());
  30117. A.defineGetter(J.get$$prototype$x(t1._as(file.constructor)), "codeUnits", new A._updateAstPrototypes_closure0(), _null);
  30118. t2 = $.$get$_interpolation();
  30119. A.defineGetter(J.get$$prototype$x(t1._as(t2.constructor)), "asPlain", new A._updateAstPrototypes_closure1(), _null);
  30120. t3 = $.$get$bogusSpan0();
  30121. 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());
  30122. string = new A.StringExpression0(t2, false);
  30123. 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());
  30124. t4 = type$.String;
  30125. t5 = type$.Expression_2;
  30126. $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);
  30127. 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);
  30128. A.defineGetter(J.get$$prototype$x(t1._as(new A.ContentRule0($arguments, t3).constructor)), _s9_, new A._updateAstPrototypes_closure5(), _null);
  30129. 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);
  30130. A.defineGetter(J.get$$prototype$x(t1._as(new A.IfExpression0($arguments, t3).constructor)), _s9_, new A._updateAstPrototypes_closure7(), _null);
  30131. A.defineGetter(J.get$$prototype$x(t1._as(new A.InterpolatedFunctionExpression0(t2, $arguments, t3).constructor)), _s9_, new A._updateAstPrototypes_closure8(), _null);
  30132. A._addSupportsConditionToInterpolation();
  30133. 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) {
  30134. t3 = J.get$$prototype$x(t1._as(t2[_i].constructor));
  30135. t4 = {get: A.allowInteropCaptureThis(new A._updateAstPrototypes_closure9()), enumerable: false};
  30136. self.Object.defineProperty(t3, "span", t4);
  30137. }
  30138. },
  30139. _addSupportsConditionToInterpolation() {
  30140. var t3, _i, $function, t4,
  30141. t1 = $.$get$_interpolation(),
  30142. t2 = $.$get$bogusSpan0(),
  30143. anything = new A.SupportsAnything0(t1, t2);
  30144. 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) {
  30145. t1 = J.get$$prototype$x(t3._as(t2[_i].constructor));
  30146. $function = A.allowInteropCaptureThis(new A._addSupportsConditionToInterpolation_closure());
  30147. t4 = {value: "toInterpolation", enumerable: false};
  30148. self.Object.defineProperty($function, "name", t4);
  30149. A._hideDartProperties($function);
  30150. t1.toInterpolation = $function;
  30151. }
  30152. },
  30153. _parse(css, syntax, path) {
  30154. var t1;
  30155. $label0$0: {
  30156. if ("scss" === syntax) {
  30157. t1 = B.Syntax_SCSS_scss0;
  30158. break $label0$0;
  30159. }
  30160. if ("sass" === syntax) {
  30161. t1 = B.Syntax_Sass_sass0;
  30162. break $label0$0;
  30163. }
  30164. if ("css" === syntax) {
  30165. t1 = B.Syntax_CSS_css0;
  30166. break $label0$0;
  30167. }
  30168. t1 = A.throwExpression(A.UnsupportedError$('Unknown syntax "' + syntax + '"'));
  30169. }
  30170. return A.Stylesheet_Stylesheet$parse0(css, t1, A.NullableExtension_andThen0(path, A.path__toUri$closure()));
  30171. },
  30172. _parseIdentifier(identifier) {
  30173. var t1, exception;
  30174. try {
  30175. t1 = new A.Parser1(A.SpanScanner$(identifier, null), null)._parser1$_parseIdentifier$0();
  30176. return t1;
  30177. } catch (exception) {
  30178. if (type$.SassFormatException_2._is(A.unwrapException(exception)))
  30179. return null;
  30180. else
  30181. throw exception;
  30182. }
  30183. },
  30184. _toCssIdentifier(text) {
  30185. return A.StringExtension_toCssIdentifier(text);
  30186. },
  30187. ParserExports: function ParserExports() {
  30188. },
  30189. loadParserExports_closure: function loadParserExports_closure() {
  30190. },
  30191. loadParserExports_closure0: function loadParserExports_closure0() {
  30192. },
  30193. loadParserExports_closure1: function loadParserExports_closure1() {
  30194. },
  30195. _updateAstPrototypes_closure: function _updateAstPrototypes_closure() {
  30196. },
  30197. _updateAstPrototypes_closure0: function _updateAstPrototypes_closure0() {
  30198. },
  30199. _updateAstPrototypes_closure1: function _updateAstPrototypes_closure1() {
  30200. },
  30201. _updateAstPrototypes_closure2: function _updateAstPrototypes_closure2() {
  30202. },
  30203. _updateAstPrototypes_closure3: function _updateAstPrototypes_closure3() {
  30204. },
  30205. _updateAstPrototypes_closure4: function _updateAstPrototypes_closure4() {
  30206. },
  30207. _updateAstPrototypes_closure5: function _updateAstPrototypes_closure5() {
  30208. },
  30209. _updateAstPrototypes_closure6: function _updateAstPrototypes_closure6() {
  30210. },
  30211. _updateAstPrototypes_closure7: function _updateAstPrototypes_closure7() {
  30212. },
  30213. _updateAstPrototypes_closure8: function _updateAstPrototypes_closure8() {
  30214. },
  30215. _updateAstPrototypes_closure9: function _updateAstPrototypes_closure9() {
  30216. },
  30217. _addSupportsConditionToInterpolation_closure: function _addSupportsConditionToInterpolation_closure() {
  30218. },
  30219. Parser_isIdentifier0(text) {
  30220. var exception;
  30221. try {
  30222. new A.Parser1(A.SpanScanner$(text, null), null)._parser1$_parseIdentifier$0();
  30223. return true;
  30224. } catch (exception) {
  30225. if (type$.SassFormatException_2._is(A.unwrapException(exception)))
  30226. return false;
  30227. else
  30228. throw exception;
  30229. }
  30230. },
  30231. Parser1: function Parser1(t0, t1) {
  30232. this.scanner = t0;
  30233. this._parser1$_interpolationMap = t1;
  30234. },
  30235. Parser__parseIdentifier_closure0: function Parser__parseIdentifier_closure0(t0) {
  30236. this.$this = t0;
  30237. },
  30238. Parser_escape_closure0: function Parser_escape_closure0() {
  30239. },
  30240. Parser_scanIdentChar_matches0: function Parser_scanIdentChar_matches0(t0, t1) {
  30241. this.caseSensitive = t0;
  30242. this.char = t1;
  30243. },
  30244. Parser_spanFrom_closure0: function Parser_spanFrom_closure0(t0, t1) {
  30245. this.$this = t0;
  30246. this.span = t1;
  30247. },
  30248. PlaceholderSelector0: function PlaceholderSelector0(t0, t1) {
  30249. this.name = t0;
  30250. this.span = t1;
  30251. },
  30252. PlainCssCallable0: function PlainCssCallable0(t0) {
  30253. this.name = t0;
  30254. },
  30255. PrefixedMapView0: function PrefixedMapView0(t0, t1, t2) {
  30256. this._prefixed_map_view0$_map = t0;
  30257. this._prefixed_map_view0$_prefix = t1;
  30258. this.$ti = t2;
  30259. },
  30260. _PrefixedKeys0: function _PrefixedKeys0(t0) {
  30261. this._prefixed_map_view0$_view = t0;
  30262. },
  30263. _PrefixedKeys_iterator_closure0: function _PrefixedKeys_iterator_closure0(t0) {
  30264. this.$this = t0;
  30265. },
  30266. ProphotoRgbColorSpace0: function ProphotoRgbColorSpace0(t0, t1) {
  30267. this.name = t0;
  30268. this._space$_channels = t1;
  30269. },
  30270. PseudoSelector$0($name, span, argument, element, selector) {
  30271. var t1 = !element,
  30272. t2 = t1 && !A.PseudoSelector__isFakePseudoElement0($name);
  30273. return new A.PseudoSelector0($name, A.unvendor0($name), t2, t1, argument, selector, span);
  30274. },
  30275. PseudoSelector__isFakePseudoElement0($name) {
  30276. switch ($name.charCodeAt(0)) {
  30277. case 97:
  30278. case 65:
  30279. return A.equalsIgnoreCase0($name, "after");
  30280. case 98:
  30281. case 66:
  30282. return A.equalsIgnoreCase0($name, "before");
  30283. case 102:
  30284. case 70:
  30285. return A.equalsIgnoreCase0($name, "first-line") || A.equalsIgnoreCase0($name, "first-letter");
  30286. default:
  30287. return false;
  30288. }
  30289. },
  30290. PseudoSelector0: function PseudoSelector0(t0, t1, t2, t3, t4, t5, t6) {
  30291. var _ = this;
  30292. _.name = t0;
  30293. _.normalizedName = t1;
  30294. _.isClass = t2;
  30295. _.isSyntacticClass = t3;
  30296. _.argument = t4;
  30297. _.selector = t5;
  30298. _._pseudo$__PseudoSelector_specificity_FI = $;
  30299. _.span = t6;
  30300. },
  30301. PseudoSelector_specificity_closure0: function PseudoSelector_specificity_closure0(t0) {
  30302. this.$this = t0;
  30303. },
  30304. PseudoSelector_specificity__closure1: function PseudoSelector_specificity__closure1() {
  30305. },
  30306. PseudoSelector_specificity__closure2: function PseudoSelector_specificity__closure2() {
  30307. },
  30308. PseudoSelector_unify_closure0: function PseudoSelector_unify_closure0() {
  30309. },
  30310. PublicMemberMapView0: function PublicMemberMapView0(t0, t1) {
  30311. this._public_member_map_view0$_inner = t0;
  30312. this.$ti = t1;
  30313. },
  30314. QualifiedName0: function QualifiedName0(t0, t1) {
  30315. this.name = t0;
  30316. this.namespace = t1;
  30317. },
  30318. Rec2020ColorSpace0: function Rec2020ColorSpace0(t0, t1) {
  30319. this.name = t0;
  30320. this._space$_channels = t1;
  30321. },
  30322. createJSClass($name, $constructor) {
  30323. return type$.JSClass._as(A.allowInteropCaptureThisNamed($name, $constructor));
  30324. },
  30325. JSClassExtension_injectSuperclass(_this, superclass) {
  30326. var t1 = J.getInterceptor$x(superclass),
  30327. t2 = J.getInterceptor$x(_this);
  30328. self.Object.setPrototypeOf(t1.get$$prototype(superclass), J.get$$prototype$x(type$.JSClass._as(self.Object.getPrototypeOf(t2.get$$prototype(_this)).constructor)));
  30329. self.Object.setPrototypeOf(t2.get$$prototype(_this), self.Object.create(t1.get$$prototype(superclass)));
  30330. },
  30331. JSClassExtension_setCustomInspect(_this, inspect) {
  30332. if (self.util == null)
  30333. return;
  30334. J.get$$prototype$x(_this)[self.util.inspect.custom] = A.allowInteropCaptureThis(new A.JSClassExtension_setCustomInspect_closure(inspect));
  30335. },
  30336. JSClassExtension_get_defineStaticMethod(_this) {
  30337. return new A.JSClassExtension_get_defineStaticMethod_closure(_this);
  30338. },
  30339. JSClassExtension_get_defineMethod(_this) {
  30340. return new A.JSClassExtension_get_defineMethod_closure(_this);
  30341. },
  30342. JSClassExtension_defineMethods(_this, methods) {
  30343. methods.forEach$1(0, A.JSClassExtension_get_defineMethod(_this));
  30344. },
  30345. JSClassExtension_get_defineGetter(_this) {
  30346. return new A.JSClassExtension_get_defineGetter_closure(_this);
  30347. },
  30348. JSClass0: function JSClass0() {
  30349. },
  30350. JSClassExtension_setCustomInspect_closure: function JSClassExtension_setCustomInspect_closure(t0) {
  30351. this.inspect = t0;
  30352. },
  30353. JSClassExtension_get_defineStaticMethod_closure: function JSClassExtension_get_defineStaticMethod_closure(t0) {
  30354. this._this = t0;
  30355. },
  30356. JSClassExtension_get_defineMethod_closure: function JSClassExtension_get_defineMethod_closure(t0) {
  30357. this._this = t0;
  30358. },
  30359. JSClassExtension_get_defineGetter_closure: function JSClassExtension_get_defineGetter_closure(t0) {
  30360. this._this = t0;
  30361. },
  30362. RenderContext0: function RenderContext0() {
  30363. },
  30364. RenderContextOptions0: function RenderContextOptions0() {
  30365. },
  30366. RenderContextResult0: function RenderContextResult0() {
  30367. },
  30368. RenderContextResultStats0: function RenderContextResultStats0() {
  30369. },
  30370. RenderOptions: function RenderOptions() {
  30371. },
  30372. RenderResult: function RenderResult() {
  30373. },
  30374. RenderResultStats: function RenderResultStats() {
  30375. },
  30376. ReplaceExpressionVisitor0: function ReplaceExpressionVisitor0() {
  30377. },
  30378. ReplaceExpressionVisitor_visitListExpression_closure0: function ReplaceExpressionVisitor_visitListExpression_closure0(t0) {
  30379. this.$this = t0;
  30380. },
  30381. ReplaceExpressionVisitor_visitArgumentList_closure0: function ReplaceExpressionVisitor_visitArgumentList_closure0(t0) {
  30382. this.$this = t0;
  30383. },
  30384. ReplaceExpressionVisitor_visitInterpolation_closure0: function ReplaceExpressionVisitor_visitInterpolation_closure0(t0) {
  30385. this.$this = t0;
  30386. },
  30387. ImporterResult$(contents, sourceMapUrl, syntax) {
  30388. if ((sourceMapUrl == null ? null : sourceMapUrl.get$scheme()) === "")
  30389. A.throwExpression(A.ArgumentError$value(sourceMapUrl, "sourceMapUrl", "must be absolute"));
  30390. return new A.ImporterResult0(contents, sourceMapUrl, syntax);
  30391. },
  30392. ImporterResult0: function ImporterResult0(t0, t1, t2) {
  30393. this.contents = t0;
  30394. this._result$_sourceMapUrl = t1;
  30395. this.syntax = t2;
  30396. },
  30397. ReturnRule0: function ReturnRule0(t0, t1) {
  30398. this.expression = t0;
  30399. this.span = t1;
  30400. },
  30401. RgbColorSpace0: function RgbColorSpace0(t0, t1) {
  30402. this.name = t0;
  30403. this._space$_channels = t1;
  30404. },
  30405. SassParser0: function SassParser0(t0, t1, t2, t3) {
  30406. var _ = this;
  30407. _._sass0$_currentIndentation = 0;
  30408. _._sass0$_spaces = _._sass0$_nextIndentationEnd = _._sass0$_nextIndentation = null;
  30409. _._stylesheet0$_isUseAllowed = true;
  30410. _._stylesheet0$_inExpression = _._stylesheet0$_inParentheses = _._stylesheet0$_inStyleRule = _._stylesheet0$_inUnknownAtRule = _._stylesheet0$_inControlDirective = _._stylesheet0$_inContentBlock = _._stylesheet0$_inMixin = false;
  30411. _._stylesheet0$_globalVariables = t0;
  30412. _.warnings = t1;
  30413. _.lastSilentComment = null;
  30414. _.scanner = t2;
  30415. _._parser1$_interpolationMap = t3;
  30416. },
  30417. SassParser_styleRuleSelector_closure0: function SassParser_styleRuleSelector_closure0() {
  30418. },
  30419. SassParser_children_closure0: function SassParser_children_closure0(t0, t1, t2) {
  30420. this.$this = t0;
  30421. this.child = t1;
  30422. this.children = t2;
  30423. },
  30424. SassParser__peekIndentation_closure1: function SassParser__peekIndentation_closure1() {
  30425. },
  30426. SassParser__peekIndentation_closure2: function SassParser__peekIndentation_closure2() {
  30427. },
  30428. SassParser__tryTrailingSemicolon_closure0: function SassParser__tryTrailingSemicolon_closure0() {
  30429. },
  30430. _translateReturnValue(val) {
  30431. if (val instanceof A._Future)
  30432. return A.futureToPromise(val, type$.dynamic);
  30433. else
  30434. return val;
  30435. },
  30436. main2() {
  30437. new Uint8Array(0);
  30438. A.main();
  30439. J.set$cli_pkg_main_0_$x(self.exports, A._wrapMain(A.sass__main$closure()));
  30440. },
  30441. _wrapMain(main) {
  30442. if (type$.dynamic_Function._is(main))
  30443. return A.allowInterop(new A._wrapMain_closure(main));
  30444. else
  30445. return A.allowInterop(new A._wrapMain_closure0(main));
  30446. },
  30447. _Exports: function _Exports() {
  30448. },
  30449. _wrapMain_closure: function _wrapMain_closure(t0) {
  30450. this.main = t0;
  30451. },
  30452. _wrapMain_closure0: function _wrapMain_closure0(t0) {
  30453. this.main = t0;
  30454. },
  30455. ScssParser$0(contents, url) {
  30456. 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);
  30457. },
  30458. ScssParser0: function ScssParser0(t0, t1, t2, t3) {
  30459. var _ = this;
  30460. _._stylesheet0$_isUseAllowed = true;
  30461. _._stylesheet0$_inExpression = _._stylesheet0$_inParentheses = _._stylesheet0$_inStyleRule = _._stylesheet0$_inUnknownAtRule = _._stylesheet0$_inControlDirective = _._stylesheet0$_inContentBlock = _._stylesheet0$_inMixin = false;
  30462. _._stylesheet0$_globalVariables = t0;
  30463. _.warnings = t1;
  30464. _.lastSilentComment = null;
  30465. _.scanner = t2;
  30466. _._parser1$_interpolationMap = t3;
  30467. },
  30468. Selector0: function Selector0() {
  30469. },
  30470. _IsInvisibleVisitor2: function _IsInvisibleVisitor2(t0) {
  30471. this.includeBogus = t0;
  30472. },
  30473. _IsBogusVisitor0: function _IsBogusVisitor0(t0) {
  30474. this.includeLeadingCombinator = t0;
  30475. },
  30476. _IsBogusVisitor_visitComplexSelector_closure0: function _IsBogusVisitor_visitComplexSelector_closure0(t0) {
  30477. this.$this = t0;
  30478. },
  30479. _IsUselessVisitor0: function _IsUselessVisitor0() {
  30480. },
  30481. _IsUselessVisitor_visitComplexSelector_closure0: function _IsUselessVisitor_visitComplexSelector_closure0(t0) {
  30482. this.$this = t0;
  30483. },
  30484. _ContainsParentSelectorVisitor0: function _ContainsParentSelectorVisitor0() {
  30485. },
  30486. __ContainsParentSelectorVisitor_Object_AnySelectorVisitor0: function __ContainsParentSelectorVisitor_Object_AnySelectorVisitor0() {
  30487. },
  30488. __IsBogusVisitor_Object_AnySelectorVisitor0: function __IsBogusVisitor_Object_AnySelectorVisitor0() {
  30489. },
  30490. __IsInvisibleVisitor_Object_AnySelectorVisitor0: function __IsInvisibleVisitor_Object_AnySelectorVisitor0() {
  30491. },
  30492. __IsUselessVisitor_Object_AnySelectorVisitor0: function __IsUselessVisitor_Object_AnySelectorVisitor0() {
  30493. },
  30494. SelectorExpression0: function SelectorExpression0(t0) {
  30495. this.span = t0;
  30496. },
  30497. _prependParent0(compound) {
  30498. var _0_3, _0_4, t2, t3, rest,
  30499. t1 = A.EvaluationContext_currentOrNull0(),
  30500. span = (t1 == null ? A.throwExpression(A.StateError$(string$.No_Sass)) : t1).get$currentCallableSpan(),
  30501. _0_0 = compound.components;
  30502. $label0$0: {
  30503. _0_3 = _0_0.length >= 1;
  30504. if (_0_3) {
  30505. _0_4 = _0_0[0];
  30506. t1 = _0_4 instanceof A.UniversalSelector0;
  30507. } else {
  30508. _0_4 = null;
  30509. t1 = false;
  30510. }
  30511. t2 = null;
  30512. if (t1) {
  30513. t1 = t2;
  30514. break $label0$0;
  30515. }
  30516. t1 = false;
  30517. if (_0_3) {
  30518. t3 = _0_4;
  30519. if (t3 instanceof A.TypeSelector0) {
  30520. t1 = _0_4;
  30521. t1 = type$.TypeSelector_2._as(t1).name.namespace != null;
  30522. }
  30523. }
  30524. if (t1) {
  30525. t1 = t2;
  30526. break $label0$0;
  30527. }
  30528. if (_0_3) {
  30529. t1 = _0_4;
  30530. t1 = t1 instanceof A.TypeSelector0;
  30531. } else
  30532. t1 = false;
  30533. if (t1) {
  30534. t1 = _0_3 ? _0_4 : _0_0[0];
  30535. type$.TypeSelector_2._as(t1);
  30536. rest = B.JSArray_methods.sublist$1(_0_0, 1);
  30537. t1 = A._setArrayType([new A.ParentSelector0(t1.name.name, span)], type$.JSArray_SimpleSelector_2);
  30538. B.JSArray_methods.addAll$1(t1, rest);
  30539. t1 = A.CompoundSelector$0(t1, span);
  30540. break $label0$0;
  30541. }
  30542. t1 = A._setArrayType([new A.ParentSelector0(null, span)], type$.JSArray_SimpleSelector_2);
  30543. B.JSArray_methods.addAll$1(t1, _0_0);
  30544. t1 = A.CompoundSelector$0(t1, span);
  30545. break $label0$0;
  30546. }
  30547. return t1;
  30548. },
  30549. _function8($name, $arguments, callback) {
  30550. return A.BuiltInCallable$function0($name, $arguments, callback, "sass:selector");
  30551. },
  30552. _nest_closure0: function _nest_closure0() {
  30553. },
  30554. _nest__closure1: function _nest__closure1(t0) {
  30555. this._box_0 = t0;
  30556. },
  30557. _nest__closure2: function _nest__closure2() {
  30558. },
  30559. _append_closure1: function _append_closure1() {
  30560. },
  30561. _append__closure1: function _append__closure1() {
  30562. },
  30563. _append__closure2: function _append__closure2(t0) {
  30564. this.span = t0;
  30565. },
  30566. _append___closure0: function _append___closure0(t0, t1) {
  30567. this.parent = t0;
  30568. this.span = t1;
  30569. },
  30570. _extend_closure0: function _extend_closure0() {
  30571. },
  30572. _replace_closure0: function _replace_closure0() {
  30573. },
  30574. _unify_closure0: function _unify_closure0() {
  30575. },
  30576. _isSuperselector_closure0: function _isSuperselector_closure0() {
  30577. },
  30578. _simpleSelectors_closure0: function _simpleSelectors_closure0() {
  30579. },
  30580. _simpleSelectors__closure0: function _simpleSelectors__closure0() {
  30581. },
  30582. _parse_closure0: function _parse_closure0() {
  30583. },
  30584. SelectorParser0: function SelectorParser0(t0, t1, t2, t3) {
  30585. var _ = this;
  30586. _._selector$_allowParent = t0;
  30587. _._selector$_plainCss = t1;
  30588. _.scanner = t2;
  30589. _._parser1$_interpolationMap = t3;
  30590. },
  30591. SelectorParser_parse_closure0: function SelectorParser_parse_closure0(t0) {
  30592. this.$this = t0;
  30593. },
  30594. SelectorParser_parseCompoundSelector_closure0: function SelectorParser_parseCompoundSelector_closure0(t0) {
  30595. this.$this = t0;
  30596. },
  30597. SelectorSearchVisitor0: function SelectorSearchVisitor0() {
  30598. },
  30599. SelectorSearchVisitor_visitComplexSelector_closure0: function SelectorSearchVisitor_visitComplexSelector_closure0(t0) {
  30600. this.$this = t0;
  30601. },
  30602. SelectorSearchVisitor_visitCompoundSelector_closure0: function SelectorSearchVisitor_visitCompoundSelector_closure0(t0) {
  30603. this.$this = t0;
  30604. },
  30605. serialize0(node, charset, indentWidth, inspect, lineFeed, logger, sourceMap, style, useSpaces) {
  30606. var t1, css, t2, prefix,
  30607. visitor = A._SerializeVisitor$0(indentWidth == null ? 2 : indentWidth, inspect, lineFeed, logger, true, sourceMap, style, useSpaces);
  30608. node.accept$1(visitor);
  30609. t1 = visitor._serialize0$_buffer;
  30610. css = t1.toString$0(0);
  30611. if (charset) {
  30612. t2 = new A.CodeUnits(css);
  30613. t2 = t2.any$1(t2, new A.serialize_closure0());
  30614. } else
  30615. t2 = false;
  30616. if (t2)
  30617. prefix = style === B.OutputStyle_10 ? "\ufeff" : '@charset "UTF-8";\n';
  30618. else
  30619. prefix = "";
  30620. t1 = sourceMap ? t1.buildSourceMap$1$prefix(prefix) : null;
  30621. return new A._Record_2_sourceMap(prefix + css, t1);
  30622. },
  30623. serializeValue0(value, inspect, quote) {
  30624. var _null = null,
  30625. visitor = A._SerializeVisitor$0(_null, inspect, _null, _null, quote, false, _null, true);
  30626. value.accept$1(visitor);
  30627. return visitor._serialize0$_buffer.toString$0(0);
  30628. },
  30629. serializeSelector0(selector, inspect) {
  30630. var _null = null,
  30631. visitor = A._SerializeVisitor$0(_null, true, _null, _null, true, false, _null, true);
  30632. selector.accept$1(visitor);
  30633. return visitor._serialize0$_buffer.toString$0(0);
  30634. },
  30635. _SerializeVisitor$0(indentWidth, inspect, lineFeed, logger, quote, sourceMap, style, useSpaces) {
  30636. var t1 = sourceMap ? new A.SourceMapBuffer0(new A.StringBuffer(""), A._setArrayType([], type$.JSArray_Entry)) : new A.NoSourceMapBuffer0(new A.StringBuffer("")),
  30637. t2 = style == null ? B.OutputStyle_00 : style,
  30638. t3 = useSpaces ? 32 : 9,
  30639. t4 = indentWidth == null ? 2 : indentWidth,
  30640. t5 = lineFeed == null ? B.LineFeed_9HY : lineFeed,
  30641. t6 = logger == null ? B.StderrLogger_false0 : logger;
  30642. A.RangeError_checkValueInInterval(t4, 0, 10, "indentWidth");
  30643. return new A._SerializeVisitor0(t1, t2, inspect, quote, t3, t4, t5, t6);
  30644. },
  30645. serialize_closure0: function serialize_closure0() {
  30646. },
  30647. _SerializeVisitor0: function _SerializeVisitor0(t0, t1, t2, t3, t4, t5, t6, t7) {
  30648. var _ = this;
  30649. _._serialize0$_buffer = t0;
  30650. _._serialize0$_indentation = 0;
  30651. _._serialize0$_style = t1;
  30652. _._serialize0$_inspect = t2;
  30653. _._serialize0$_quote = t3;
  30654. _._serialize0$_indentCharacter = t4;
  30655. _._serialize0$_indentWidth = t5;
  30656. _._lineFeed = t6;
  30657. _._serialize0$_logger = t7;
  30658. },
  30659. _SerializeVisitor_visitCssComment_closure0: function _SerializeVisitor_visitCssComment_closure0(t0, t1) {
  30660. this.$this = t0;
  30661. this.node = t1;
  30662. },
  30663. _SerializeVisitor_visitCssAtRule_closure0: function _SerializeVisitor_visitCssAtRule_closure0(t0, t1) {
  30664. this.$this = t0;
  30665. this.node = t1;
  30666. },
  30667. _SerializeVisitor_visitCssMediaRule_closure0: function _SerializeVisitor_visitCssMediaRule_closure0(t0, t1) {
  30668. this.$this = t0;
  30669. this.node = t1;
  30670. },
  30671. _SerializeVisitor_visitCssImport_closure0: function _SerializeVisitor_visitCssImport_closure0(t0, t1) {
  30672. this.$this = t0;
  30673. this.node = t1;
  30674. },
  30675. _SerializeVisitor_visitCssImport__closure0: function _SerializeVisitor_visitCssImport__closure0(t0, t1) {
  30676. this.$this = t0;
  30677. this.node = t1;
  30678. },
  30679. _SerializeVisitor_visitCssKeyframeBlock_closure0: function _SerializeVisitor_visitCssKeyframeBlock_closure0(t0, t1) {
  30680. this.$this = t0;
  30681. this.node = t1;
  30682. },
  30683. _SerializeVisitor_visitCssStyleRule_closure0: function _SerializeVisitor_visitCssStyleRule_closure0(t0, t1) {
  30684. this.$this = t0;
  30685. this.node = t1;
  30686. },
  30687. _SerializeVisitor_visitCssSupportsRule_closure0: function _SerializeVisitor_visitCssSupportsRule_closure0(t0, t1) {
  30688. this.$this = t0;
  30689. this.node = t1;
  30690. },
  30691. _SerializeVisitor_visitCssDeclaration_closure1: function _SerializeVisitor_visitCssDeclaration_closure1(t0, t1) {
  30692. this.$this = t0;
  30693. this.node = t1;
  30694. },
  30695. _SerializeVisitor_visitCssDeclaration_closure2: function _SerializeVisitor_visitCssDeclaration_closure2(t0, t1) {
  30696. this.$this = t0;
  30697. this.node = t1;
  30698. },
  30699. _SerializeVisitor_visitList_closure2: function _SerializeVisitor_visitList_closure2() {
  30700. },
  30701. _SerializeVisitor_visitList_closure3: function _SerializeVisitor_visitList_closure3(t0, t1) {
  30702. this.$this = t0;
  30703. this.value = t1;
  30704. },
  30705. _SerializeVisitor_visitList_closure4: function _SerializeVisitor_visitList_closure4(t0) {
  30706. this.$this = t0;
  30707. },
  30708. _SerializeVisitor_visitMap_closure0: function _SerializeVisitor_visitMap_closure0(t0) {
  30709. this.$this = t0;
  30710. },
  30711. _SerializeVisitor_visitSelectorList_closure0: function _SerializeVisitor_visitSelectorList_closure0() {
  30712. },
  30713. _SerializeVisitor__write_closure0: function _SerializeVisitor__write_closure0(t0, t1) {
  30714. this.$this = t0;
  30715. this.value = t1;
  30716. },
  30717. _SerializeVisitor__visitChildren_closure1: function _SerializeVisitor__visitChildren_closure1(t0, t1) {
  30718. this.$this = t0;
  30719. this.child = t1;
  30720. },
  30721. _SerializeVisitor__visitChildren_closure2: function _SerializeVisitor__visitChildren_closure2(t0, t1) {
  30722. this.$this = t0;
  30723. this.child = t1;
  30724. },
  30725. OutputStyle0: function OutputStyle0(t0) {
  30726. this._name = t0;
  30727. },
  30728. LineFeed0: function LineFeed0(t0, t1, t2) {
  30729. this.name = t0;
  30730. this.text = t1;
  30731. this._name = t2;
  30732. },
  30733. JSSet: function JSSet() {
  30734. },
  30735. ShadowedModuleView_ifNecessary0(inner, functions, mixins, variables, $T) {
  30736. 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;
  30737. },
  30738. ShadowedModuleView__shadowedMap0(map, blocklist, $V) {
  30739. var t1 = A.ShadowedModuleView__needsBlocklist0(map, blocklist);
  30740. return !t1 ? map : A.LimitedMapView$blocklist0(map, blocklist, type$.String, $V);
  30741. },
  30742. ShadowedModuleView__needsBlocklist0(map, blocklist) {
  30743. return map.get$isNotEmpty(map) && blocklist.any$1(0, map.get$containsKey());
  30744. },
  30745. ShadowedModuleView0: function ShadowedModuleView0(t0, t1, t2, t3, t4, t5) {
  30746. var _ = this;
  30747. _._shadowed_view0$_inner = t0;
  30748. _.variables = t1;
  30749. _.variableNodes = t2;
  30750. _.functions = t3;
  30751. _.mixins = t4;
  30752. _.$ti = t5;
  30753. },
  30754. SilentComment0: function SilentComment0(t0, t1) {
  30755. this.text = t0;
  30756. this.span = t1;
  30757. },
  30758. SimpleSelector0: function SimpleSelector0() {
  30759. },
  30760. SimpleSelector_isSuperselector_closure0: function SimpleSelector_isSuperselector_closure0(t0) {
  30761. this.$this = t0;
  30762. },
  30763. SimpleSelector_isSuperselector__closure0: function SimpleSelector_isSuperselector__closure0(t0) {
  30764. this.$this = t0;
  30765. },
  30766. SingleUnitSassNumber0: function SingleUnitSassNumber0(t0, t1, t2) {
  30767. var _ = this;
  30768. _._single_unit$_unit = t0;
  30769. _._number1$_value = t1;
  30770. _.hashCache = null;
  30771. _.asSlash = t2;
  30772. },
  30773. SingleUnitSassNumber__coerceToUnit_closure0: function SingleUnitSassNumber__coerceToUnit_closure0(t0, t1) {
  30774. this.$this = t0;
  30775. this.unit = t1;
  30776. },
  30777. SingleUnitSassNumber__coerceValueToUnit_closure0: function SingleUnitSassNumber__coerceValueToUnit_closure0(t0) {
  30778. this.$this = t0;
  30779. },
  30780. SingleUnitSassNumber_multiplyUnits_closure1: function SingleUnitSassNumber_multiplyUnits_closure1(t0, t1) {
  30781. this._box_0 = t0;
  30782. this.$this = t1;
  30783. },
  30784. SingleUnitSassNumber_multiplyUnits_closure2: function SingleUnitSassNumber_multiplyUnits_closure2(t0, t1) {
  30785. this._box_0 = t0;
  30786. this.$this = t1;
  30787. },
  30788. SourceInterpolationVisitor: function SourceInterpolationVisitor(t0) {
  30789. this.buffer = t0;
  30790. },
  30791. SourceMapBuffer0: function SourceMapBuffer0(t0, t1) {
  30792. var _ = this;
  30793. _._source_map_buffer0$_buffer = t0;
  30794. _._source_map_buffer0$_entries = t1;
  30795. _._source_map_buffer0$_column = _._source_map_buffer0$_line = 0;
  30796. _._source_map_buffer0$_inSpan = false;
  30797. },
  30798. SourceMapBuffer_buildSourceMap_closure0: function SourceMapBuffer_buildSourceMap_closure0(t0, t1) {
  30799. this._box_0 = t0;
  30800. this.prefixLength = t1;
  30801. },
  30802. updateSourceSpanPrototype() {
  30803. var t3, t4, _i, t5,
  30804. span = A.SourceFile$fromString("", null).span$1(0, 0),
  30805. t1 = type$.SourceSpan,
  30806. t2 = type$.String;
  30807. 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) {
  30808. t5 = t3._as(t1[_i].constructor);
  30809. 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));
  30810. }
  30811. t1 = t3._as(A.FileLocation$_(span.file, span._file$_start).constructor);
  30812. A.LinkedHashMap_LinkedHashMap$_literal(["line", new A.updateSourceSpanPrototype_closure5(), "column", new A.updateSourceSpanPrototype_closure6()], t2, t4).forEach$1(0, A.JSClassExtension_get_defineGetter(t1));
  30813. },
  30814. updateSourceSpanPrototype_closure: function updateSourceSpanPrototype_closure(t0) {
  30815. this.span = t0;
  30816. },
  30817. updateSourceSpanPrototype_closure0: function updateSourceSpanPrototype_closure0() {
  30818. },
  30819. updateSourceSpanPrototype_closure1: function updateSourceSpanPrototype_closure1() {
  30820. },
  30821. updateSourceSpanPrototype_closure2: function updateSourceSpanPrototype_closure2() {
  30822. },
  30823. updateSourceSpanPrototype__closure: function updateSourceSpanPrototype__closure() {
  30824. },
  30825. updateSourceSpanPrototype_closure3: function updateSourceSpanPrototype_closure3() {
  30826. },
  30827. updateSourceSpanPrototype_closure4: function updateSourceSpanPrototype_closure4() {
  30828. },
  30829. updateSourceSpanPrototype_closure5: function updateSourceSpanPrototype_closure5() {
  30830. },
  30831. updateSourceSpanPrototype_closure6: function updateSourceSpanPrototype_closure6() {
  30832. },
  30833. ColorSpace_fromName0($name, argumentName) {
  30834. var t1,
  30835. _0_0 = $name.toLowerCase();
  30836. $label0$0: {
  30837. if ("rgb" === _0_0) {
  30838. t1 = B.RgbColorSpace_i0P0;
  30839. break $label0$0;
  30840. }
  30841. if ("hwb" === _0_0) {
  30842. t1 = B.HwbColorSpace_guQ0;
  30843. break $label0$0;
  30844. }
  30845. if ("hsl" === _0_0) {
  30846. t1 = B.HslColorSpace_JQ20;
  30847. break $label0$0;
  30848. }
  30849. if ("srgb" === _0_0) {
  30850. t1 = B.SrgbColorSpace_thf0;
  30851. break $label0$0;
  30852. }
  30853. if ("srgb-linear" === _0_0) {
  30854. t1 = B.SrgbLinearColorSpace_kUj0;
  30855. break $label0$0;
  30856. }
  30857. if ("display-p3" === _0_0) {
  30858. t1 = B.DisplayP3ColorSpace_MmT0;
  30859. break $label0$0;
  30860. }
  30861. if ("a98-rgb" === _0_0) {
  30862. t1 = B.A98RgbColorSpace_lf20;
  30863. break $label0$0;
  30864. }
  30865. if ("prophoto-rgb" === _0_0) {
  30866. t1 = B.ProphotoRgbColorSpace_BDz0;
  30867. break $label0$0;
  30868. }
  30869. if ("rec2020" === _0_0) {
  30870. t1 = B.Rec2020ColorSpace_6oo0;
  30871. break $label0$0;
  30872. }
  30873. if ("xyz" === _0_0 || "xyz-d65" === _0_0) {
  30874. t1 = B.XyzD65ColorSpace_WiJ0;
  30875. break $label0$0;
  30876. }
  30877. if ("xyz-d50" === _0_0) {
  30878. t1 = B.XyzD50ColorSpace_2OB0;
  30879. break $label0$0;
  30880. }
  30881. if ("lab" === _0_0) {
  30882. t1 = B.LabColorSpace_2nT0;
  30883. break $label0$0;
  30884. }
  30885. if ("lch" === _0_0) {
  30886. t1 = B.LchColorSpace_Bpv0;
  30887. break $label0$0;
  30888. }
  30889. if ("oklab" === _0_0) {
  30890. t1 = B.OklabColorSpace_5400;
  30891. break $label0$0;
  30892. }
  30893. if ("oklch" === _0_0) {
  30894. t1 = B.OklchColorSpace_9Gj0;
  30895. break $label0$0;
  30896. }
  30897. t1 = A.throwExpression(A.SassScriptException$0('Unknown color space "' + $name + '".', argumentName));
  30898. }
  30899. return t1;
  30900. },
  30901. ColorSpace0: function ColorSpace0() {
  30902. },
  30903. SrgbColorSpace0: function SrgbColorSpace0(t0, t1) {
  30904. this.name = t0;
  30905. this._space$_channels = t1;
  30906. },
  30907. SrgbLinearColorSpace0: function SrgbLinearColorSpace0(t0, t1) {
  30908. this.name = t0;
  30909. this._space$_channels = t1;
  30910. },
  30911. Statement0: function Statement0() {
  30912. },
  30913. JSStatementVisitor: function JSStatementVisitor(t0) {
  30914. this._statement$_inner = t0;
  30915. },
  30916. JSStatementVisitorObject: function JSStatementVisitorObject() {
  30917. },
  30918. StatementSearchVisitor0: function StatementSearchVisitor0() {
  30919. },
  30920. StatementSearchVisitor_visitIfRule_closure1: function StatementSearchVisitor_visitIfRule_closure1(t0) {
  30921. this.$this = t0;
  30922. },
  30923. StatementSearchVisitor_visitIfRule__closure2: function StatementSearchVisitor_visitIfRule__closure2(t0) {
  30924. this.$this = t0;
  30925. },
  30926. StatementSearchVisitor_visitIfRule_closure2: function StatementSearchVisitor_visitIfRule_closure2(t0) {
  30927. this.$this = t0;
  30928. },
  30929. StatementSearchVisitor_visitIfRule__closure1: function StatementSearchVisitor_visitIfRule__closure1(t0) {
  30930. this.$this = t0;
  30931. },
  30932. StatementSearchVisitor_visitChildren_closure0: function StatementSearchVisitor_visitChildren_closure0(t0) {
  30933. this.$this = t0;
  30934. },
  30935. StaticImport0: function StaticImport0(t0, t1, t2) {
  30936. this.url = t0;
  30937. this.modifiers = t1;
  30938. this.span = t2;
  30939. },
  30940. StderrLogger0: function StderrLogger0(t0) {
  30941. this.color = t0;
  30942. },
  30943. StringExpression_quoteText0(text) {
  30944. var t1,
  30945. quote = A.StringExpression__bestQuote0(A._setArrayType([text], type$.JSArray_String)),
  30946. buffer = new A.StringBuffer("");
  30947. buffer._contents = "" + A.Primitives_stringFromCharCode(quote);
  30948. A.StringExpression__quoteInnerText0(text, quote, buffer, true);
  30949. t1 = A.Primitives_stringFromCharCode(quote);
  30950. t1 = buffer._contents += t1;
  30951. return t1.charCodeAt(0) == 0 ? t1 : t1;
  30952. },
  30953. StringExpression__quoteInnerText0(text, quote, buffer, $static) {
  30954. var t1, t2, i, _1_0, _0_0, t3, t4, t5, t0;
  30955. for (t1 = text.length, t2 = t1 - 1, i = 0; i < t1; ++i) {
  30956. _1_0 = text.charCodeAt(i);
  30957. if (_1_0 === 10 || _1_0 === 13 || _1_0 === 12) {
  30958. buffer.writeCharCode$1(92);
  30959. buffer.writeCharCode$1(97);
  30960. if (i !== t2) {
  30961. _0_0 = text.charCodeAt(i + 1);
  30962. t3 = true;
  30963. if (!(_0_0 === 32 || _0_0 === 9 || _0_0 === 10 || _0_0 === 13 || _0_0 === 12))
  30964. if (!(_0_0 >= 48 && _0_0 <= 57))
  30965. if (!(_0_0 >= 97 && _0_0 <= 102))
  30966. t3 = _0_0 >= 65 && _0_0 <= 70;
  30967. if (t3)
  30968. buffer.writeCharCode$1(32);
  30969. }
  30970. continue;
  30971. }
  30972. t3 = 92 === _1_0;
  30973. if (t3)
  30974. t4 = _1_0;
  30975. else
  30976. t4 = null;
  30977. if (!t3) {
  30978. t3 = false;
  30979. t5 = _1_0 === quote;
  30980. if (t5)
  30981. t4 = _1_0;
  30982. if (!t5)
  30983. if (35 === _1_0)
  30984. if ($static)
  30985. if (i < t2) {
  30986. t3 = text.charCodeAt(i + 1) === 123;
  30987. if (t3)
  30988. t4 = _1_0;
  30989. t0 = t4;
  30990. t4 = t3;
  30991. t3 = t0;
  30992. } else {
  30993. t0 = t4;
  30994. t4 = t3;
  30995. t3 = t0;
  30996. }
  30997. else {
  30998. t0 = t4;
  30999. t4 = t3;
  31000. t3 = t0;
  31001. }
  31002. else {
  31003. t0 = t4;
  31004. t4 = t3;
  31005. t3 = t0;
  31006. }
  31007. else {
  31008. t3 = t4;
  31009. t4 = true;
  31010. }
  31011. } else {
  31012. t3 = t4;
  31013. t4 = true;
  31014. }
  31015. if (t4) {
  31016. buffer.writeCharCode$1(92);
  31017. buffer.writeCharCode$1(t3);
  31018. continue;
  31019. }
  31020. buffer.writeCharCode$1(_1_0);
  31021. }
  31022. },
  31023. StringExpression__bestQuote0(strings) {
  31024. var t1, t2, t3, containsDoubleQuote, t4, t5;
  31025. 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();)
  31026. for (t4 = new A.CodeUnits(t1.get$current(t1)), t4 = new A.ListIterator(t4, t4.get$length(0), t3); t4.moveNext$0();) {
  31027. t5 = t4.__internal$_current;
  31028. if (t5 == null)
  31029. t5 = t2._as(t5);
  31030. if (t5 === 39)
  31031. return 34;
  31032. if (t5 === 34)
  31033. containsDoubleQuote = true;
  31034. }
  31035. return containsDoubleQuote ? 39 : 34;
  31036. },
  31037. StringExpression0: function StringExpression0(t0, t1) {
  31038. this.text = t0;
  31039. this.hasQuotes = t1;
  31040. },
  31041. _codepointForIndex0(index, lengthInCodepoints, allowNegative) {
  31042. var result;
  31043. if (index === 0)
  31044. return 0;
  31045. if (index > 0)
  31046. return Math.min(index - 1, lengthInCodepoints);
  31047. result = lengthInCodepoints + index;
  31048. if (result < 0 && !allowNegative)
  31049. return 0;
  31050. return result;
  31051. },
  31052. _function7($name, $arguments, callback) {
  31053. return A.BuiltInCallable$function0($name, $arguments, callback, "sass:string");
  31054. },
  31055. module_closure25: function module_closure25() {
  31056. },
  31057. module__closure3: function module__closure3(t0) {
  31058. this.string = t0;
  31059. },
  31060. module__closure4: function module__closure4(t0) {
  31061. this.string = t0;
  31062. },
  31063. _unquote_closure0: function _unquote_closure0() {
  31064. },
  31065. _quote_closure0: function _quote_closure0() {
  31066. },
  31067. _length_closure1: function _length_closure1() {
  31068. },
  31069. _insert_closure0: function _insert_closure0() {
  31070. },
  31071. _index_closure1: function _index_closure1() {
  31072. },
  31073. _slice_closure0: function _slice_closure0() {
  31074. },
  31075. _toUpperCase_closure0: function _toUpperCase_closure0() {
  31076. },
  31077. _toLowerCase_closure0: function _toLowerCase_closure0() {
  31078. },
  31079. _uniqueId_closure0: function _uniqueId_closure0() {
  31080. },
  31081. StringExtension_toCssIdentifier(_this) {
  31082. var t1, doubleDash, _2_0, character, _3_0,
  31083. _s52_ = "The U+0000 can't be represented as a CSS identifier.",
  31084. _s65_ = "An individual surrogate can't be represented as a CSS identifier.",
  31085. buffer = new A.StringBuffer(""),
  31086. scanner = A.SpanScanner$(_this, null),
  31087. writeEscape = new A.StringExtension_toCssIdentifier_writeEscape(buffer, scanner),
  31088. consumeSurrogatePair = new A.StringExtension_toCssIdentifier_consumeSurrogatePair(scanner, writeEscape, buffer);
  31089. if (scanner.scanChar$1(45)) {
  31090. if (scanner._string_scanner$_position === scanner.string.length)
  31091. return "\\2d";
  31092. t1 = A.Primitives_stringFromCharCode(45);
  31093. buffer._contents += t1;
  31094. doubleDash = scanner.scanChar$1(45);
  31095. if (doubleDash) {
  31096. t1 = A.Primitives_stringFromCharCode(45);
  31097. buffer._contents += t1;
  31098. }
  31099. } else
  31100. doubleDash = false;
  31101. if (!doubleDash)
  31102. $label0$0: {
  31103. _2_0 = scanner.peekChar$0();
  31104. if (_2_0 == null)
  31105. scanner.error$1(0, "The empty string can't be represented as a CSS identifier.");
  31106. if (0 === _2_0)
  31107. scanner.error$1(0, _s52_);
  31108. t1 = _2_0 >>> 10 === 54;
  31109. character = _2_0;
  31110. if (t1) {
  31111. consumeSurrogatePair.call$1(character);
  31112. break $label0$0;
  31113. }
  31114. if (_2_0 >>> 10 === 55)
  31115. scanner.error$2$length(0, _s65_, 1);
  31116. if (_2_0 === 95 || A.CharacterExtension_get_isAlphabetic0(_2_0) || _2_0 >= 128)
  31117. t1 = !(_2_0 >= 57344 && _2_0 <= 63743);
  31118. else
  31119. t1 = false;
  31120. if (t1) {
  31121. t1 = A.Primitives_stringFromCharCode(scanner.readChar$0());
  31122. buffer._contents += t1;
  31123. break $label0$0;
  31124. }
  31125. writeEscape.call$1(scanner.readChar$0());
  31126. }
  31127. for (; true;) {
  31128. _3_0 = scanner.peekChar$0();
  31129. if (_3_0 == null)
  31130. break;
  31131. if (0 === _3_0)
  31132. scanner.error$1(0, _s52_);
  31133. t1 = _3_0 >>> 10 === 54;
  31134. if (t1) {
  31135. consumeSurrogatePair.call$1(_3_0);
  31136. continue;
  31137. }
  31138. if (_3_0 >>> 10 === 55)
  31139. scanner.error$2$length(0, _s65_, 1);
  31140. if (_3_0 !== 95) {
  31141. if (!(_3_0 >= 97 && _3_0 <= 122))
  31142. t1 = _3_0 >= 65 && _3_0 <= 90;
  31143. else
  31144. t1 = true;
  31145. t1 = t1 || _3_0 >= 128;
  31146. } else
  31147. t1 = true;
  31148. if (!t1)
  31149. t1 = _3_0 >= 48 && _3_0 <= 57 || _3_0 === 45;
  31150. else
  31151. t1 = true;
  31152. if (t1)
  31153. t1 = !(_3_0 >= 57344 && _3_0 <= 63743);
  31154. else
  31155. t1 = false;
  31156. if (t1) {
  31157. t1 = A.Primitives_stringFromCharCode(scanner.readChar$0());
  31158. buffer._contents += t1;
  31159. continue;
  31160. }
  31161. writeEscape.call$1(scanner.readChar$0());
  31162. }
  31163. t1 = buffer._contents;
  31164. return t1.charCodeAt(0) == 0 ? t1 : t1;
  31165. },
  31166. StringExtension_toCssIdentifier_writeEscape: function StringExtension_toCssIdentifier_writeEscape(t0, t1) {
  31167. this.buffer = t0;
  31168. this.scanner = t1;
  31169. },
  31170. StringExtension_toCssIdentifier_consumeSurrogatePair: function StringExtension_toCssIdentifier_consumeSurrogatePair(t0, t1, t2) {
  31171. this.scanner = t0;
  31172. this.writeEscape = t1;
  31173. this.buffer = t2;
  31174. },
  31175. stringClass_closure: function stringClass_closure() {
  31176. },
  31177. stringClass__closure: function stringClass__closure() {
  31178. },
  31179. stringClass__closure0: function stringClass__closure0() {
  31180. },
  31181. stringClass__closure1: function stringClass__closure1() {
  31182. },
  31183. stringClass__closure2: function stringClass__closure2() {
  31184. },
  31185. stringClass__closure3: function stringClass__closure3() {
  31186. },
  31187. _ConstructorOptions1: function _ConstructorOptions1() {
  31188. },
  31189. _NodeSassString: function _NodeSassString() {
  31190. },
  31191. legacyStringClass_closure: function legacyStringClass_closure() {
  31192. },
  31193. legacyStringClass_closure0: function legacyStringClass_closure0() {
  31194. },
  31195. legacyStringClass_closure1: function legacyStringClass_closure1() {
  31196. },
  31197. SassString$0(_text, quotes) {
  31198. return new A.SassString0(_text, quotes);
  31199. },
  31200. SassString0: function SassString0(t0, t1) {
  31201. var _ = this;
  31202. _._string0$_text = t0;
  31203. _._string0$_hasQuotes = t1;
  31204. _._string0$__SassString__sassLength_FI = $;
  31205. _._string0$_hashCache = null;
  31206. },
  31207. ModifiableCssStyleRule$0(_selector, span, fromPlainCss, originalSelector) {
  31208. var t1 = A._setArrayType([], type$.JSArray_ModifiableCssNode_2);
  31209. return new A.ModifiableCssStyleRule0(_selector, originalSelector, span, fromPlainCss, new A.UnmodifiableListView(t1, type$.UnmodifiableListView_ModifiableCssNode_2), t1);
  31210. },
  31211. ModifiableCssStyleRule0: function ModifiableCssStyleRule0(t0, t1, t2, t3, t4, t5) {
  31212. var _ = this;
  31213. _._style_rule0$_selector = t0;
  31214. _.originalSelector = t1;
  31215. _.span = t2;
  31216. _.fromPlainCss = t3;
  31217. _.children = t4;
  31218. _._node$_children = t5;
  31219. _._node$_indexInParent = _._node$_parent = null;
  31220. _.isGroupEnd = false;
  31221. },
  31222. StyleRule$0(selector, children, span) {
  31223. var t1 = A.List_List$unmodifiable(children, type$.Statement_2),
  31224. t2 = B.JSArray_methods.any$1(t1, new A.ParentStatement_closure0());
  31225. return new A.StyleRule0(selector, span, t1, t2);
  31226. },
  31227. StyleRule0: function StyleRule0(t0, t1, t2, t3) {
  31228. var _ = this;
  31229. _.selector = t0;
  31230. _.span = t1;
  31231. _.children = t2;
  31232. _.hasDeclarations = t3;
  31233. },
  31234. CssStylesheet0: function CssStylesheet0(t0, t1) {
  31235. this.children = t0;
  31236. this.span = t1;
  31237. },
  31238. ModifiableCssStylesheet$0(span) {
  31239. var t1 = A._setArrayType([], type$.JSArray_ModifiableCssNode_2);
  31240. return new A.ModifiableCssStylesheet0(span, new A.UnmodifiableListView(t1, type$.UnmodifiableListView_ModifiableCssNode_2), t1);
  31241. },
  31242. ModifiableCssStylesheet0: function ModifiableCssStylesheet0(t0, t1, t2) {
  31243. var _ = this;
  31244. _.span = t0;
  31245. _.children = t1;
  31246. _._node$_children = t2;
  31247. _._node$_indexInParent = _._node$_parent = null;
  31248. _.isGroupEnd = false;
  31249. },
  31250. StylesheetParser0: function StylesheetParser0() {
  31251. },
  31252. StylesheetParser_parse_closure0: function StylesheetParser_parse_closure0(t0) {
  31253. this.$this = t0;
  31254. },
  31255. StylesheetParser_parse__closure0: function StylesheetParser_parse__closure0(t0) {
  31256. this.$this = t0;
  31257. },
  31258. StylesheetParser_parseParameterList_closure0: function StylesheetParser_parseParameterList_closure0(t0) {
  31259. this.$this = t0;
  31260. },
  31261. StylesheetParser__parseSingleProduction_closure0: function StylesheetParser__parseSingleProduction_closure0(t0, t1, t2) {
  31262. this.$this = t0;
  31263. this.production = t1;
  31264. this.T = t2;
  31265. },
  31266. StylesheetParser_parseSignature_closure: function StylesheetParser_parseSignature_closure(t0, t1) {
  31267. this.$this = t0;
  31268. this.requireParens = t1;
  31269. },
  31270. StylesheetParser__statement_closure0: function StylesheetParser__statement_closure0(t0) {
  31271. this.$this = t0;
  31272. },
  31273. StylesheetParser_variableDeclarationWithoutNamespace_closure1: function StylesheetParser_variableDeclarationWithoutNamespace_closure1(t0, t1) {
  31274. this.$this = t0;
  31275. this.start = t1;
  31276. },
  31277. StylesheetParser_variableDeclarationWithoutNamespace_closure2: function StylesheetParser_variableDeclarationWithoutNamespace_closure2(t0) {
  31278. this.declaration = t0;
  31279. },
  31280. StylesheetParser__declarationOrBuffer_closure2: function StylesheetParser__declarationOrBuffer_closure2(t0) {
  31281. this.$this = t0;
  31282. },
  31283. StylesheetParser__declarationOrBuffer_closure3: function StylesheetParser__declarationOrBuffer_closure3(t0) {
  31284. this.$this = t0;
  31285. },
  31286. StylesheetParser__declarationOrBuffer_closure4: function StylesheetParser__declarationOrBuffer_closure4(t0) {
  31287. this.$this = t0;
  31288. },
  31289. StylesheetParser__styleRule_closure0: function StylesheetParser__styleRule_closure0(t0, t1, t2, t3) {
  31290. var _ = this;
  31291. _._box_0 = t0;
  31292. _.$this = t1;
  31293. _.wasInStyleRule = t2;
  31294. _.start = t3;
  31295. },
  31296. StylesheetParser__propertyOrVariableDeclaration_closure0: function StylesheetParser__propertyOrVariableDeclaration_closure0(t0) {
  31297. this.$this = t0;
  31298. },
  31299. StylesheetParser__tryDeclarationChildren_closure0: function StylesheetParser__tryDeclarationChildren_closure0(t0, t1) {
  31300. this.name = t0;
  31301. this.value = t1;
  31302. },
  31303. StylesheetParser__atRootRule_closure1: function StylesheetParser__atRootRule_closure1(t0) {
  31304. this.query = t0;
  31305. },
  31306. StylesheetParser__atRootRule_closure2: function StylesheetParser__atRootRule_closure2() {
  31307. },
  31308. StylesheetParser__eachRule_closure0: function StylesheetParser__eachRule_closure0(t0, t1, t2, t3) {
  31309. var _ = this;
  31310. _.$this = t0;
  31311. _.wasInControlDirective = t1;
  31312. _.variables = t2;
  31313. _.list = t3;
  31314. },
  31315. StylesheetParser__functionRule_closure0: function StylesheetParser__functionRule_closure0(t0, t1, t2) {
  31316. this.name = t0;
  31317. this.parameters = t1;
  31318. this.precedingComment = t2;
  31319. },
  31320. StylesheetParser__forRule_closure1: function StylesheetParser__forRule_closure1(t0, t1) {
  31321. this._box_0 = t0;
  31322. this.$this = t1;
  31323. },
  31324. StylesheetParser__forRule_closure2: function StylesheetParser__forRule_closure2(t0, t1, t2, t3, t4, t5) {
  31325. var _ = this;
  31326. _._box_0 = t0;
  31327. _.$this = t1;
  31328. _.wasInControlDirective = t2;
  31329. _.variable = t3;
  31330. _.from = t4;
  31331. _.to = t5;
  31332. },
  31333. StylesheetParser__memberList_closure0: function StylesheetParser__memberList_closure0(t0, t1, t2) {
  31334. this.$this = t0;
  31335. this.variables = t1;
  31336. this.identifiers = t2;
  31337. },
  31338. StylesheetParser__includeRule_closure0: function StylesheetParser__includeRule_closure0(t0) {
  31339. this.contentParameters_ = t0;
  31340. },
  31341. StylesheetParser_mediaRule_closure0: function StylesheetParser_mediaRule_closure0(t0) {
  31342. this.query = t0;
  31343. },
  31344. StylesheetParser__mixinRule_closure0: function StylesheetParser__mixinRule_closure0(t0, t1, t2, t3) {
  31345. var _ = this;
  31346. _.$this = t0;
  31347. _.name = t1;
  31348. _.parameters = t2;
  31349. _.precedingComment = t3;
  31350. },
  31351. StylesheetParser_mozDocumentRule_closure1: function StylesheetParser_mozDocumentRule_closure1(t0) {
  31352. this.$this = t0;
  31353. },
  31354. StylesheetParser_mozDocumentRule_closure2: function StylesheetParser_mozDocumentRule_closure2(t0, t1, t2, t3) {
  31355. var _ = this;
  31356. _._box_0 = t0;
  31357. _.$this = t1;
  31358. _.name = t2;
  31359. _.value = t3;
  31360. },
  31361. StylesheetParser_supportsRule_closure0: function StylesheetParser_supportsRule_closure0(t0) {
  31362. this.condition = t0;
  31363. },
  31364. StylesheetParser__whileRule_closure0: function StylesheetParser__whileRule_closure0(t0, t1, t2) {
  31365. this.$this = t0;
  31366. this.wasInControlDirective = t1;
  31367. this.condition = t2;
  31368. },
  31369. StylesheetParser_unknownAtRule_closure0: function StylesheetParser_unknownAtRule_closure0(t0, t1) {
  31370. this._box_0 = t0;
  31371. this.name = t1;
  31372. },
  31373. StylesheetParser__expression_resetState0: function StylesheetParser__expression_resetState0(t0, t1, t2) {
  31374. this._box_0 = t0;
  31375. this.$this = t1;
  31376. this.start = t2;
  31377. },
  31378. StylesheetParser__expression_resolveOneOperation0: function StylesheetParser__expression_resolveOneOperation0(t0, t1) {
  31379. this._box_0 = t0;
  31380. this.$this = t1;
  31381. },
  31382. StylesheetParser__expression_resolveOperations0: function StylesheetParser__expression_resolveOperations0(t0, t1) {
  31383. this._box_0 = t0;
  31384. this.resolveOneOperation = t1;
  31385. },
  31386. StylesheetParser__expression_addSingleExpression0: function StylesheetParser__expression_addSingleExpression0(t0, t1, t2, t3) {
  31387. var _ = this;
  31388. _._box_0 = t0;
  31389. _.$this = t1;
  31390. _.resetState = t2;
  31391. _.resolveOperations = t3;
  31392. },
  31393. StylesheetParser__expression_addOperator0: function StylesheetParser__expression_addOperator0(t0, t1, t2, t3) {
  31394. var _ = this;
  31395. _._box_0 = t0;
  31396. _.$this = t1;
  31397. _.resolveOneOperation = t2;
  31398. _.addSingleExpression = t3;
  31399. },
  31400. StylesheetParser__expression_resolveSpaceExpressions0: function StylesheetParser__expression_resolveSpaceExpressions0(t0, t1, t2) {
  31401. this._box_0 = t0;
  31402. this.$this = t1;
  31403. this.resolveOperations = t2;
  31404. },
  31405. StylesheetParser_expressionUntilComma_closure0: function StylesheetParser_expressionUntilComma_closure0(t0) {
  31406. this.$this = t0;
  31407. },
  31408. StylesheetParser__isHexColor_closure0: function StylesheetParser__isHexColor_closure0() {
  31409. },
  31410. StylesheetParser__unicodeRange_closure1: function StylesheetParser__unicodeRange_closure1() {
  31411. },
  31412. StylesheetParser__unicodeRange_closure2: function StylesheetParser__unicodeRange_closure2() {
  31413. },
  31414. StylesheetParser_namespacedExpression_closure0: function StylesheetParser_namespacedExpression_closure0(t0, t1) {
  31415. this.$this = t0;
  31416. this.start = t1;
  31417. },
  31418. StylesheetParser_trySpecialFunction_closure0: function StylesheetParser_trySpecialFunction_closure0() {
  31419. },
  31420. StylesheetParser__expressionUntilComparison_closure0: function StylesheetParser__expressionUntilComparison_closure0(t0) {
  31421. this.$this = t0;
  31422. },
  31423. StylesheetParser__publicIdentifier_closure0: function StylesheetParser__publicIdentifier_closure0(t0, t1) {
  31424. this.$this = t0;
  31425. this.start = t1;
  31426. },
  31427. Stylesheet$internal0(children, span, parseTimeWarnings, globalVariables, plainCss) {
  31428. var t1 = A._setArrayType([], type$.JSArray_UseRule_2),
  31429. t2 = A._setArrayType([], type$.JSArray_ForwardRule_2),
  31430. t3 = A.ConstantMap_ConstantMap$from(globalVariables, type$.String, type$.FileSpan),
  31431. t4 = A.List_List$unmodifiable(children, type$.Statement_2),
  31432. t5 = B.JSArray_methods.any$1(t4, new A.ParentStatement_closure0());
  31433. 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);
  31434. t1.Stylesheet$internal$5$globalVariables$plainCss0(children, span, parseTimeWarnings, globalVariables, plainCss);
  31435. return t1;
  31436. },
  31437. Stylesheet_Stylesheet$parse0(contents, syntax, url) {
  31438. var error, stackTrace, url0, t1, exception, t2;
  31439. try {
  31440. switch (syntax) {
  31441. case B.Syntax_Sass_sass0:
  31442. 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);
  31443. return t1;
  31444. case B.Syntax_SCSS_scss0:
  31445. t1 = A.ScssParser$0(contents, url).parse$0(0);
  31446. return t1;
  31447. case B.Syntax_CSS_css0:
  31448. 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);
  31449. return t1;
  31450. }
  31451. } catch (exception) {
  31452. t1 = A.unwrapException(exception);
  31453. if (t1 instanceof A.SassException0) {
  31454. error = t1;
  31455. stackTrace = A.getTraceFromException(exception);
  31456. t1 = error;
  31457. t2 = J.getInterceptor$z(t1);
  31458. t1 = A.SourceSpanException.prototype.get$span.call(t2, t1);
  31459. url0 = t1.get$sourceUrl(t1);
  31460. if (url0 == null || url0.toString$0(0) === "stdin")
  31461. throw exception;
  31462. t1 = type$.Uri;
  31463. throw A.wrapException(A.throwWithTrace0(error.withLoadedUrls$1(A.Set_Set$unmodifiable(A.LinkedHashSet_LinkedHashSet$_literal([url0], t1), t1)), error, stackTrace));
  31464. } else
  31465. throw exception;
  31466. }
  31467. },
  31468. Stylesheet0: function Stylesheet0(t0, t1, t2, t3, t4, t5, t6, t7) {
  31469. var _ = this;
  31470. _.span = t0;
  31471. _.plainCss = t1;
  31472. _._stylesheet1$_uses = t2;
  31473. _._stylesheet1$_forwards = t3;
  31474. _.parseTimeWarnings = t4;
  31475. _.globalVariables = t5;
  31476. _.children = t6;
  31477. _.hasDeclarations = t7;
  31478. },
  31479. SupportsExpression0: function SupportsExpression0(t0) {
  31480. this.condition = t0;
  31481. },
  31482. ModifiableCssSupportsRule$0(condition, span) {
  31483. var t1 = A._setArrayType([], type$.JSArray_ModifiableCssNode_2);
  31484. return new A.ModifiableCssSupportsRule0(condition, span, new A.UnmodifiableListView(t1, type$.UnmodifiableListView_ModifiableCssNode_2), t1);
  31485. },
  31486. ModifiableCssSupportsRule0: function ModifiableCssSupportsRule0(t0, t1, t2, t3) {
  31487. var _ = this;
  31488. _.condition = t0;
  31489. _.span = t1;
  31490. _.children = t2;
  31491. _._node$_children = t3;
  31492. _._node$_indexInParent = _._node$_parent = null;
  31493. _.isGroupEnd = false;
  31494. },
  31495. SupportsRule$0(condition, children, span) {
  31496. var t1 = A.List_List$unmodifiable(children, type$.Statement_2),
  31497. t2 = B.JSArray_methods.any$1(t1, new A.ParentStatement_closure0());
  31498. return new A.SupportsRule0(condition, span, t1, t2);
  31499. },
  31500. SupportsRule0: function SupportsRule0(t0, t1, t2, t3) {
  31501. var _ = this;
  31502. _.condition = t0;
  31503. _.span = t1;
  31504. _.children = t2;
  31505. _.hasDeclarations = t3;
  31506. },
  31507. JSToDartImporter: function JSToDartImporter(t0, t1, t2) {
  31508. this._sync$_canonicalize = t0;
  31509. this._sync$_load = t1;
  31510. this._sync$_nonCanonicalSchemes = t2;
  31511. },
  31512. JSToDartImporter_canonicalize_closure: function JSToDartImporter_canonicalize_closure(t0, t1) {
  31513. this.$this = t0;
  31514. this.url = t1;
  31515. },
  31516. JSToDartImporter_load_closure: function JSToDartImporter_load_closure(t0, t1) {
  31517. this.$this = t0;
  31518. this.url = t1;
  31519. },
  31520. Syntax_forPath0(path) {
  31521. var t1,
  31522. _0_0 = A.ParsedPath_ParsedPath$parse(path, $.$get$context().style)._splitExtension$1(1)[1];
  31523. $label0$0: {
  31524. if (".sass" === _0_0) {
  31525. t1 = B.Syntax_Sass_sass0;
  31526. break $label0$0;
  31527. }
  31528. if (".css" === _0_0) {
  31529. t1 = B.Syntax_CSS_css0;
  31530. break $label0$0;
  31531. }
  31532. t1 = B.Syntax_SCSS_scss0;
  31533. break $label0$0;
  31534. }
  31535. return t1;
  31536. },
  31537. Syntax0: function Syntax0(t0, t1) {
  31538. this._syntax0$_name = t0;
  31539. this._name = t1;
  31540. },
  31541. TypeSelector0: function TypeSelector0(t0, t1) {
  31542. this.name = t0;
  31543. this.span = t1;
  31544. },
  31545. Types: function Types() {
  31546. },
  31547. UnaryOperationExpression0: function UnaryOperationExpression0(t0, t1, t2) {
  31548. this.operator = t0;
  31549. this.operand = t1;
  31550. this.span = t2;
  31551. },
  31552. UnaryOperator0: function UnaryOperator0(t0, t1, t2) {
  31553. this.name = t0;
  31554. this.operator = t1;
  31555. this._name = t2;
  31556. },
  31557. UnitlessSassNumber0: function UnitlessSassNumber0(t0, t1) {
  31558. this._number1$_value = t0;
  31559. this.hashCache = null;
  31560. this.asSlash = t1;
  31561. },
  31562. UniversalSelector0: function UniversalSelector0(t0, t1) {
  31563. this.namespace = t0;
  31564. this.span = t1;
  31565. },
  31566. UnprefixedMapView0: function UnprefixedMapView0(t0, t1, t2) {
  31567. this._unprefixed_map_view0$_map = t0;
  31568. this._unprefixed_map_view0$_prefix = t1;
  31569. this.$ti = t2;
  31570. },
  31571. _UnprefixedKeys0: function _UnprefixedKeys0(t0) {
  31572. this._unprefixed_map_view0$_view = t0;
  31573. },
  31574. _UnprefixedKeys_iterator_closure1: function _UnprefixedKeys_iterator_closure1(t0) {
  31575. this.$this = t0;
  31576. },
  31577. _UnprefixedKeys_iterator_closure2: function _UnprefixedKeys_iterator_closure2(t0) {
  31578. this.$this = t0;
  31579. },
  31580. JSUrl0: function JSUrl0() {
  31581. },
  31582. UseRule0: function UseRule0(t0, t1, t2, t3) {
  31583. var _ = this;
  31584. _.url = t0;
  31585. _.namespace = t1;
  31586. _.configuration = t2;
  31587. _.span = t3;
  31588. },
  31589. UserDefinedCallable0: function UserDefinedCallable0(t0, t1, t2, t3) {
  31590. var _ = this;
  31591. _.declaration = t0;
  31592. _.environment = t1;
  31593. _.inDependency = t2;
  31594. _.$ti = t3;
  31595. },
  31596. fromImport0() {
  31597. var t1 = type$.nullable_CanonicalizeContext_2._as($.Zone__current.$index(0, B.Symbol__canonicalizeContext));
  31598. t1 = t1 == null ? null : t1._canonicalize_context$_fromImport;
  31599. return t1 === true;
  31600. },
  31601. canonicalizeContext0() {
  31602. var t1,
  31603. _0_0 = $.Zone__current.$index(0, B.Symbol__canonicalizeContext);
  31604. $label0$0: {
  31605. if (_0_0 == null)
  31606. A.throwExpression(A.StateError$(string$.canoni));
  31607. if (_0_0 instanceof A.CanonicalizeContext0) {
  31608. t1 = _0_0;
  31609. break $label0$0;
  31610. }
  31611. t1 = A.throwExpression(A.StateError$(string$.Unexpe + A.S(_0_0) + "."));
  31612. }
  31613. return t1;
  31614. },
  31615. inImportRule(callback, $T) {
  31616. var t1,
  31617. _0_0 = $.Zone__current.$index(0, B.Symbol__canonicalizeContext);
  31618. $label0$0: {
  31619. if (_0_0 == null) {
  31620. t1 = type$.nullable_Object;
  31621. t1 = A.runZoned(callback, A.LinkedHashMap_LinkedHashMap$_literal([B.Symbol__canonicalizeContext, new A.CanonicalizeContext0(true, null)], t1, t1), $T);
  31622. break $label0$0;
  31623. }
  31624. if (_0_0 instanceof A.CanonicalizeContext0) {
  31625. t1 = _0_0.withFromImport$2(true, callback);
  31626. break $label0$0;
  31627. }
  31628. t1 = A.throwExpression(A.StateError$(string$.Unexpe + A.S(_0_0) + "."));
  31629. }
  31630. return t1;
  31631. },
  31632. resolveImportPath0(path) {
  31633. var t1,
  31634. extension = A.ParsedPath_ParsedPath$parse(path, $.$get$context().style)._splitExtension$1(1)[1];
  31635. if (extension === ".sass" || extension === ".scss" || extension === ".css") {
  31636. t1 = A.fromImport0() ? new A.resolveImportPath_closure1(path, extension).call$0() : null;
  31637. return t1 == null ? A._exactlyOne0(A._tryPath0(path)) : t1;
  31638. }
  31639. t1 = A.fromImport0() ? new A.resolveImportPath_closure2(path).call$0() : null;
  31640. if (t1 == null)
  31641. t1 = A._exactlyOne0(A._tryPathWithExtensions0(path));
  31642. return t1 == null ? A._tryPathAsDirectory0(path) : t1;
  31643. },
  31644. _tryPathWithExtensions0(path) {
  31645. var result = A._tryPath0(path + ".sass");
  31646. B.JSArray_methods.addAll$1(result, A._tryPath0(path + ".scss"));
  31647. return result.length !== 0 ? result : A._tryPath0(path + ".css");
  31648. },
  31649. _tryPath0(path) {
  31650. var t1 = $.$get$context(),
  31651. partial = A.join(t1.dirname$1(path), "_" + A.ParsedPath_ParsedPath$parse(path, t1.style).get$basename(), null);
  31652. t1 = A._setArrayType([], type$.JSArray_String);
  31653. if (A.fileExists0(partial))
  31654. t1.push(partial);
  31655. if (A.fileExists0(path))
  31656. t1.push(path);
  31657. return t1;
  31658. },
  31659. _tryPathAsDirectory0(path) {
  31660. var t1;
  31661. if (!A.dirExists0(path))
  31662. return null;
  31663. t1 = A.fromImport0() ? new A._tryPathAsDirectory_closure0(path).call$0() : null;
  31664. return t1 == null ? A._exactlyOne0(A._tryPathWithExtensions0(A.join(path, "index", null))) : t1;
  31665. },
  31666. _exactlyOne0(paths) {
  31667. var _0_1, t1, path;
  31668. $label0$0: {
  31669. _0_1 = paths.length;
  31670. if (_0_1 <= 0) {
  31671. t1 = null;
  31672. break $label0$0;
  31673. }
  31674. if (_0_1 === 1) {
  31675. path = paths[0];
  31676. t1 = path;
  31677. break $label0$0;
  31678. }
  31679. t1 = A.throwExpression(string$.It_s_n + B.JSArray_methods.map$1$1(paths, new A._exactlyOne_closure0(), type$.String).join$1(0, "\n"));
  31680. }
  31681. return t1;
  31682. },
  31683. resolveImportPath_closure1: function resolveImportPath_closure1(t0, t1) {
  31684. this.path = t0;
  31685. this.extension = t1;
  31686. },
  31687. resolveImportPath_closure2: function resolveImportPath_closure2(t0) {
  31688. this.path = t0;
  31689. },
  31690. _tryPathAsDirectory_closure0: function _tryPathAsDirectory_closure0(t0) {
  31691. this.path = t0;
  31692. },
  31693. _exactlyOne_closure0: function _exactlyOne_closure0() {
  31694. },
  31695. jsThrow(error) {
  31696. return type$.Never._as($.$get$_jsThrow().call$1(error));
  31697. },
  31698. attachJsStack(error, trace) {
  31699. var traceString = trace.toString$0(0),
  31700. firstRealLine = B.JSString_methods.indexOf$1(traceString, "\n at");
  31701. if (firstRealLine !== -1)
  31702. traceString = B.JSString_methods.substring$1(traceString, firstRealLine + 1);
  31703. error.stack = "Error: " + A.S(J.get$message$x(error)) + "\n" + traceString;
  31704. },
  31705. jsForEach(object, callback) {
  31706. var t1, t2;
  31707. for (t1 = J.get$iterator$ax(self.Object.keys(object)); t1.moveNext$0();) {
  31708. t2 = t1.get$current(t1);
  31709. callback.call$2(t2, object[t2]);
  31710. }
  31711. },
  31712. jsType(value) {
  31713. var typeOf = A._asString(new self.Function("value", "return typeof value").call$1(value));
  31714. 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));
  31715. },
  31716. defineGetter(object, $name, get, value) {
  31717. self.Object.defineProperty(object, $name, get == null ? {value: value, enumerable: false} : {get: A.allowInteropCaptureThis(get), enumerable: false});
  31718. },
  31719. allowInteropNamed($name, $function) {
  31720. $function = A.allowInterop($function);
  31721. A.defineGetter($function, "name", null, $name);
  31722. A._hideDartProperties($function);
  31723. return $function;
  31724. },
  31725. allowInteropCaptureThisNamed($name, $function) {
  31726. $function = A.allowInteropCaptureThis($function);
  31727. A.defineGetter($function, "name", null, $name);
  31728. A._hideDartProperties($function);
  31729. return $function;
  31730. },
  31731. _hideDartProperties(object) {
  31732. var t1, t2, t3, t4;
  31733. 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();) {
  31734. t3 = t1.__internal$_current;
  31735. if (t3 == null)
  31736. t3 = t2._as(t3);
  31737. if (B.JSString_methods.startsWith$1(t3, "_")) {
  31738. t4 = {value: object[t3], enumerable: false};
  31739. self.Object.defineProperty(object, t3, t4);
  31740. }
  31741. }
  31742. },
  31743. futureToPromise0(future) {
  31744. return new self.Promise(A.allowInterop(new A.futureToPromise_closure0(future)));
  31745. },
  31746. jsToDartUrl(url) {
  31747. return A.Uri_parse(J.toString$0$(url));
  31748. },
  31749. dartToJSUrl(url) {
  31750. return new self.URL(url.toString$0(0));
  31751. },
  31752. toJSArray(iterable) {
  31753. var t1, t2,
  31754. array = new self.Array();
  31755. for (t1 = J.get$iterator$ax(iterable), t2 = J.getInterceptor$x(array); t1.moveNext$0();)
  31756. t2.push$1(array, t1.get$current(t1));
  31757. return array;
  31758. },
  31759. objectToMap(object) {
  31760. var map = A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.nullable_Object);
  31761. A.jsForEach(object, new A.objectToMap_closure(map));
  31762. return map;
  31763. },
  31764. mapToObject(map) {
  31765. var t1, t2,
  31766. result = new self.Object();
  31767. for (t1 = A.MapExtensions_get_pairs0(map, type$.String, type$.nullable_Object), t1 = t1.get$iterator(t1); t1.moveNext$0();) {
  31768. t2 = t1.get$current(t1);
  31769. result[t2._0] = t2._1;
  31770. }
  31771. return result;
  31772. },
  31773. jsToDartSeparator(separator) {
  31774. var t1;
  31775. $label0$0: {
  31776. if (" " === separator) {
  31777. t1 = B.ListSeparator_qSL0;
  31778. break $label0$0;
  31779. }
  31780. if ("," === separator) {
  31781. t1 = B.ListSeparator_qVN0;
  31782. break $label0$0;
  31783. }
  31784. if ("/" === separator) {
  31785. t1 = B.ListSeparator_bRz0;
  31786. break $label0$0;
  31787. }
  31788. if (separator == null) {
  31789. t1 = B.ListSeparator_undecided_null_undecided0;
  31790. break $label0$0;
  31791. }
  31792. t1 = A.jsThrow(new self.Error('Unknown separator "' + separator + '".'));
  31793. }
  31794. return t1;
  31795. },
  31796. parseSyntax(syntax) {
  31797. var t1;
  31798. $label0$0: {
  31799. if (syntax == null || "scss" === syntax) {
  31800. t1 = B.Syntax_SCSS_scss0;
  31801. break $label0$0;
  31802. }
  31803. if ("indented" === syntax) {
  31804. t1 = B.Syntax_Sass_sass0;
  31805. break $label0$0;
  31806. }
  31807. if ("css" === syntax) {
  31808. t1 = B.Syntax_CSS_css0;
  31809. break $label0$0;
  31810. }
  31811. t1 = A.jsThrow(new self.Error('Unknown syntax "' + syntax + '".'));
  31812. }
  31813. return t1;
  31814. },
  31815. entrypointFilename() {
  31816. var _1_0, _1_5_isSet, _1_5, t2, path,
  31817. t1 = self.require.main,
  31818. _0_0 = t1 == null ? null : J.get$filename$x(t1);
  31819. if (_0_0 != null)
  31820. return _0_0;
  31821. else {
  31822. _1_0 = J.get$argv$x(self.process);
  31823. t1 = J.getInterceptor$asx(_1_0);
  31824. _1_5_isSet = t1.get$length(_1_0) >= 2;
  31825. if (_1_5_isSet) {
  31826. _1_5 = t1.$index(_1_0, 1);
  31827. t2 = typeof _1_5 == "string";
  31828. } else {
  31829. _1_5 = null;
  31830. t2 = false;
  31831. }
  31832. if (t2) {
  31833. path = A._asString(_1_5_isSet ? _1_5 : t1.$index(_1_0, 1));
  31834. return J.resolve$1$x(J.createRequire$1$x(self.nodeModule, path), path);
  31835. } else
  31836. return null;
  31837. }
  31838. },
  31839. _PropertyDescriptor0: function _PropertyDescriptor0() {
  31840. },
  31841. futureToPromise_closure0: function futureToPromise_closure0(t0) {
  31842. this.future = t0;
  31843. },
  31844. futureToPromise__closure0: function futureToPromise__closure0(t0) {
  31845. this.resolve = t0;
  31846. },
  31847. futureToPromise__closure1: function futureToPromise__closure1(t0) {
  31848. this.reject = t0;
  31849. },
  31850. objectToMap_closure: function objectToMap_closure(t0) {
  31851. this.map = t0;
  31852. },
  31853. _RequireMain0: function _RequireMain0() {
  31854. },
  31855. toSentence0(iter, conjunction) {
  31856. if (iter.get$length(iter) === 1)
  31857. return J.toString$0$(iter.get$first(iter));
  31858. return A.IterableExtension_get_exceptLast0(iter).join$1(0, ", ") + (" " + conjunction + " " + A.S(iter.get$last(iter)));
  31859. },
  31860. indent0(string, indentation) {
  31861. 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");
  31862. },
  31863. pluralize0($name, number, plural) {
  31864. if (number === 1)
  31865. return $name;
  31866. if (plural != null)
  31867. return plural;
  31868. return $name + "s";
  31869. },
  31870. trimAscii0(string, excludeEscape) {
  31871. var t1,
  31872. start = A._firstNonWhitespace0(string);
  31873. if (start == null)
  31874. t1 = "";
  31875. else {
  31876. t1 = A._lastNonWhitespace0(string, true);
  31877. t1.toString;
  31878. t1 = B.JSString_methods.substring$2(string, start, t1 + 1);
  31879. }
  31880. return t1;
  31881. },
  31882. trimAsciiRight0(string, excludeEscape) {
  31883. var end = A._lastNonWhitespace0(string, excludeEscape);
  31884. return end == null ? "" : B.JSString_methods.substring$2(string, 0, end + 1);
  31885. },
  31886. _firstNonWhitespace0(string) {
  31887. var t1, i, t2;
  31888. for (t1 = string.length, i = 0; i < t1; ++i) {
  31889. t2 = string.charCodeAt(i);
  31890. if (!(t2 === 32 || t2 === 9 || t2 === 10 || t2 === 13 || t2 === 12))
  31891. return i;
  31892. }
  31893. return null;
  31894. },
  31895. _lastNonWhitespace0(string, excludeEscape) {
  31896. var i, i0, codeUnit;
  31897. for (i = string.length - 1, i0 = i; i0 >= 0; --i0) {
  31898. codeUnit = string.charCodeAt(i0);
  31899. if (!(codeUnit === 32 || codeUnit === 9 || codeUnit === 10 || codeUnit === 13 || codeUnit === 12))
  31900. if (excludeEscape && i0 !== 0 && i0 !== i && codeUnit === 92)
  31901. return i0 + 1;
  31902. else
  31903. return i0;
  31904. }
  31905. return null;
  31906. },
  31907. isPublic0(member) {
  31908. var start = member.charCodeAt(0);
  31909. return start !== 45 && start !== 95;
  31910. },
  31911. flattenVertically0(iterable, $T) {
  31912. var result,
  31913. t1 = iterable.$ti._eval$1("@<ListIterable.E>")._bind$1($T._eval$1("QueueList<0>"))._eval$1("MappedListIterable<1,2>"),
  31914. queues = A.List_List$_of(new A.MappedListIterable(iterable, new A.flattenVertically_closure1($T), t1), t1._eval$1("ListIterable.E"));
  31915. if (queues.length === 1)
  31916. return B.JSArray_methods.get$first(queues);
  31917. result = A._setArrayType([], $T._eval$1("JSArray<0>"));
  31918. for (; queues.length !== 0;) {
  31919. queues.$flags & 1 && A.throwUnsupportedOperation(queues, 16);
  31920. B.JSArray_methods._removeWhere$2(queues, new A.flattenVertically_closure2(result, $T), true);
  31921. }
  31922. return result;
  31923. },
  31924. codepointIndexToCodeUnitIndex0(string, codepointIndex) {
  31925. var codeUnitIndex, i, codeUnitIndex0;
  31926. for (codeUnitIndex = 0, i = 0; i < codepointIndex; ++i) {
  31927. codeUnitIndex0 = codeUnitIndex + 1;
  31928. codeUnitIndex = string.charCodeAt(codeUnitIndex) >>> 10 === 54 ? codeUnitIndex0 + 1 : codeUnitIndex0;
  31929. }
  31930. return codeUnitIndex;
  31931. },
  31932. codeUnitIndexToCodepointIndex0(string, codeUnitIndex) {
  31933. var codepointIndex, i;
  31934. for (codepointIndex = 0, i = 0; i < codeUnitIndex; i = (string.charCodeAt(i) >>> 10 === 54 ? i + 1 : i) + 1)
  31935. ++codepointIndex;
  31936. return codepointIndex;
  31937. },
  31938. frameForSpan0(span, member, url) {
  31939. var t2, t3,
  31940. t1 = url == null ? span.get$sourceUrl(span) : url;
  31941. if (t1 == null)
  31942. t1 = $.$get$_noSourceUrl0();
  31943. t2 = span.get$start(span);
  31944. t2 = t2.file.getLine$1(t2.offset);
  31945. t3 = span.get$start(span);
  31946. return new A.Frame(t1, t2 + 1, t3.file.getColumn$1(t3.offset) + 1, member);
  31947. },
  31948. declarationName0(span) {
  31949. var text = span.get$text();
  31950. return A.trimAsciiRight0(B.JSString_methods.substring$2(text, 0, B.JSString_methods.indexOf$1(text, ":")), false);
  31951. },
  31952. unvendor0($name) {
  31953. var i,
  31954. t1 = $name.length;
  31955. if (t1 < 2)
  31956. return $name;
  31957. if ($name.charCodeAt(0) !== 45)
  31958. return $name;
  31959. if ($name.charCodeAt(1) === 45)
  31960. return $name;
  31961. for (i = 2; i < t1; ++i)
  31962. if ($name.charCodeAt(i) === 45)
  31963. return B.JSString_methods.substring$1($name, i + 1);
  31964. return $name;
  31965. },
  31966. equalsIgnoreCase0(string1, string2) {
  31967. var t1, i;
  31968. if (string1 === string2)
  31969. return true;
  31970. if (string1 == null)
  31971. return false;
  31972. t1 = string1.length;
  31973. if (t1 !== string2.length)
  31974. return false;
  31975. for (i = 0; i < t1; ++i)
  31976. if (!A.characterEqualsIgnoreCase0(string1.charCodeAt(i), string2.charCodeAt(i)))
  31977. return false;
  31978. return true;
  31979. },
  31980. startsWithIgnoreCase0(string, prefix) {
  31981. var i,
  31982. t1 = prefix.length;
  31983. if (string.length < t1)
  31984. return false;
  31985. for (i = 0; i < t1; ++i)
  31986. if (!A.characterEqualsIgnoreCase0(string.charCodeAt(i), prefix.charCodeAt(i)))
  31987. return false;
  31988. return true;
  31989. },
  31990. mapInPlace0(list, $function) {
  31991. var i;
  31992. for (i = 0; i < list.length; ++i)
  31993. list[i] = $function.call$1(list[i]);
  31994. },
  31995. longestCommonSubsequence0(list1, list2, select, $T) {
  31996. var t1, _i, selections, i, i0, j, selection, j0,
  31997. _length = list1.get$length(0) + 1,
  31998. lengths = J.JSArray_JSArray$allocateFixed(_length, type$.List_int);
  31999. for (t1 = type$.int, _i = 0; _i < _length; ++_i)
  32000. 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);
  32001. _length = list1.get$length(0);
  32002. selections = J.JSArray_JSArray$allocateFixed(_length, $T._eval$1("List<0?>"));
  32003. for (t1 = $T._eval$1("0?"), _i = 0; _i < _length; ++_i)
  32004. 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);
  32005. for (i = 0; i < (list1._queue_list$_tail - list1._queue_list$_head & J.get$length$asx(list1._queue_list$_table) - 1) >>> 0; i = i0)
  32006. 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) {
  32007. selection = select.call$2(list1.$index(0, i), list2.$index(0, j));
  32008. selections[i][j] = selection;
  32009. t1 = lengths[i0];
  32010. j0 = j + 1;
  32011. t1[j0] = selection == null ? Math.max(t1[j], lengths[i][j0]) : lengths[i][j] + 1;
  32012. }
  32013. return new A.longestCommonSubsequence_backtrack0(selections, lengths, $T).call$2(list1.get$length(0) - 1, list2.get$length(0) - 1);
  32014. },
  32015. removeFirstWhere0(list, test, orElse) {
  32016. var i;
  32017. for (i = 0; i < list.length; ++i) {
  32018. if (!test.call$1(list[i]))
  32019. continue;
  32020. B.JSArray_methods.removeAt$1(list, i);
  32021. return;
  32022. }
  32023. orElse.call$0();
  32024. },
  32025. mapAddAll20(destination, source, K1, K2, $V) {
  32026. source.forEach$1(0, new A.mapAddAll2_closure0(destination, K1, K2, $V));
  32027. },
  32028. setAll0(map, keys, value) {
  32029. var t1;
  32030. for (t1 = J.get$iterator$ax(keys); t1.moveNext$0();)
  32031. map.$indexSet(0, t1.get$current(t1), value);
  32032. },
  32033. rotateSlice0(list, start, end) {
  32034. var i, next,
  32035. element = list.$index(0, end - 1);
  32036. for (i = start; i < end; ++i, element = next) {
  32037. next = list.$index(0, i);
  32038. list.$indexSet(0, i, element);
  32039. }
  32040. },
  32041. mapAsync0(iterable, callback, $E, $F) {
  32042. return A.mapAsync$body0(iterable, callback, $E, $F, $F._eval$1("Iterable<0>"));
  32043. },
  32044. mapAsync$body0(iterable, callback, $E, $F, $async$type) {
  32045. var $async$goto = 0,
  32046. $async$completer = A._makeAsyncAwaitCompleter($async$type),
  32047. $async$returnValue, t2, _i, t1, $async$temp1;
  32048. var $async$mapAsync0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  32049. if ($async$errorCode === 1)
  32050. return A._asyncRethrow($async$result, $async$completer);
  32051. while (true)
  32052. switch ($async$goto) {
  32053. case 0:
  32054. // Function start
  32055. t1 = A._setArrayType([], $F._eval$1("JSArray<0>"));
  32056. t2 = iterable.length, _i = 0;
  32057. case 3:
  32058. // for condition
  32059. if (!(_i < t2)) {
  32060. // goto after for
  32061. $async$goto = 5;
  32062. break;
  32063. }
  32064. $async$temp1 = t1;
  32065. $async$goto = 6;
  32066. return A._asyncAwait(callback.call$1(iterable[_i]), $async$mapAsync0);
  32067. case 6:
  32068. // returning from await.
  32069. $async$temp1.push($async$result);
  32070. case 4:
  32071. // for update
  32072. ++_i;
  32073. // goto for condition
  32074. $async$goto = 3;
  32075. break;
  32076. case 5:
  32077. // after for
  32078. $async$returnValue = t1;
  32079. // goto return
  32080. $async$goto = 1;
  32081. break;
  32082. case 1:
  32083. // return
  32084. return A._asyncReturn($async$returnValue, $async$completer);
  32085. }
  32086. });
  32087. return A._asyncStartSync($async$mapAsync0, $async$completer);
  32088. },
  32089. putIfAbsentAsync0(map, key, ifAbsent, $K, $V) {
  32090. return A.putIfAbsentAsync$body0(map, key, ifAbsent, $K, $V, $V);
  32091. },
  32092. putIfAbsentAsync$body0(map, key, ifAbsent, $K, $V, $async$type) {
  32093. var $async$goto = 0,
  32094. $async$completer = A._makeAsyncAwaitCompleter($async$type),
  32095. $async$returnValue, t1, value;
  32096. var $async$putIfAbsentAsync0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  32097. if ($async$errorCode === 1)
  32098. return A._asyncRethrow($async$result, $async$completer);
  32099. while (true)
  32100. switch ($async$goto) {
  32101. case 0:
  32102. // Function start
  32103. if (map.containsKey$1(key)) {
  32104. t1 = map.$index(0, key);
  32105. $async$returnValue = t1 == null ? $V._as(t1) : t1;
  32106. // goto return
  32107. $async$goto = 1;
  32108. break;
  32109. }
  32110. $async$goto = 3;
  32111. return A._asyncAwait(ifAbsent.call$0(), $async$putIfAbsentAsync0);
  32112. case 3:
  32113. // returning from await.
  32114. value = $async$result;
  32115. map.$indexSet(0, key, value);
  32116. $async$returnValue = value;
  32117. // goto return
  32118. $async$goto = 1;
  32119. break;
  32120. case 1:
  32121. // return
  32122. return A._asyncReturn($async$returnValue, $async$completer);
  32123. }
  32124. });
  32125. return A._asyncStartSync($async$putIfAbsentAsync0, $async$completer);
  32126. },
  32127. copyMapOfMap0(map, K1, K2, $V) {
  32128. var t3, key, child,
  32129. t1 = K2._eval$1("@<0>")._bind$1($V)._eval$1("Map<1,2>"),
  32130. t2 = A.LinkedHashMap_LinkedHashMap$_empty(K1, t1);
  32131. for (t1 = A.MapExtensions_get_pairs0(map, K1, t1), t1 = t1.get$iterator(t1); t1.moveNext$0();) {
  32132. t3 = t1.get$current(t1);
  32133. key = t3._0;
  32134. child = t3._1;
  32135. t3 = A.LinkedHashMap_LinkedHashMap(null, null, null, K2, $V);
  32136. t3.addAll$1(0, child);
  32137. t2.$indexSet(0, key, t3);
  32138. }
  32139. return t2;
  32140. },
  32141. copyMapOfList0(map, $K, $E) {
  32142. var t3,
  32143. t1 = $E._eval$1("List<0>"),
  32144. t2 = A.LinkedHashMap_LinkedHashMap$_empty($K, t1);
  32145. for (t1 = A.MapExtensions_get_pairs0(map, $K, t1), t1 = t1.get$iterator(t1); t1.moveNext$0();) {
  32146. t3 = t1.get$current(t1);
  32147. t2.$indexSet(0, t3._0, J.toList$0$ax(t3._1));
  32148. }
  32149. return t2;
  32150. },
  32151. consumeEscapedCharacter0(scanner) {
  32152. var _1_0, value, i, next, t1;
  32153. scanner.expectChar$1(92);
  32154. _1_0 = scanner.peekChar$0();
  32155. if (_1_0 == null)
  32156. return 65533;
  32157. if (_1_0 === 10 || _1_0 === 13 || _1_0 === 12)
  32158. scanner.error$1(0, "Expected escape sequence.");
  32159. if (A.CharacterExtension_get_isHex0(_1_0)) {
  32160. for (value = 0, i = 0; i < 6; ++i) {
  32161. next = scanner.peekChar$0();
  32162. if (next != null) {
  32163. t1 = true;
  32164. if (!(next >= 48 && next <= 57))
  32165. if (!(next >= 97 && next <= 102))
  32166. t1 = next >= 65 && next <= 70;
  32167. t1 = !t1;
  32168. } else
  32169. t1 = true;
  32170. if (t1)
  32171. break;
  32172. value = (value << 4 >>> 0) + A.asHex0(scanner.readChar$0());
  32173. }
  32174. t1 = scanner.peekChar$0();
  32175. if (t1 === 32 || t1 === 9 || t1 === 10 || t1 === 13 || t1 === 12)
  32176. scanner.readChar$0();
  32177. $label0$1: {
  32178. if (0 !== value)
  32179. t1 = value >= 55296 && value <= 57343 || value >= 1114111;
  32180. else
  32181. t1 = true;
  32182. if (t1) {
  32183. t1 = 65533;
  32184. break $label0$1;
  32185. }
  32186. t1 = value;
  32187. break $label0$1;
  32188. }
  32189. return t1;
  32190. }
  32191. return scanner.readChar$0();
  32192. },
  32193. throwWithTrace0(error, originalError, trace) {
  32194. var t1 = A.getTrace0(originalError);
  32195. A.attachTrace0(error, t1 == null ? trace : t1);
  32196. throw A.wrapException(error);
  32197. },
  32198. attachTrace0(error, trace) {
  32199. var t1;
  32200. if (typeof error == "string" || typeof error == "number" || A._isBool(error))
  32201. return;
  32202. if (trace.toString$0(0).length === 0)
  32203. return;
  32204. t1 = $.$get$_traces0();
  32205. A.Expando__checkType(error);
  32206. if (t1._jsWeakMap.get(error) == null)
  32207. t1.$indexSet(0, error, trace);
  32208. },
  32209. getTrace0(error) {
  32210. var t1;
  32211. if (typeof error == "string" || typeof error == "number" || A._isBool(error))
  32212. t1 = null;
  32213. else {
  32214. t1 = $.$get$_traces0();
  32215. A.Expando__checkType(error);
  32216. t1 = t1._jsWeakMap.get(error);
  32217. }
  32218. return t1;
  32219. },
  32220. parseSignature(signature, requireParens) {
  32221. var error, stackTrace, t1, exception, t2;
  32222. try {
  32223. t1 = A.ScssParser$0(signature, null).parseSignature$1$requireParens(requireParens);
  32224. return t1;
  32225. } catch (exception) {
  32226. t1 = A.unwrapException(exception);
  32227. if (type$.SassFormatException_2._is(t1)) {
  32228. error = t1;
  32229. stackTrace = A.getTraceFromException(exception);
  32230. t1 = error._span_exception$_message;
  32231. t2 = J.get$span$z(error);
  32232. A.throwWithTrace0(new A.SassFormatException0(B.Set_empty, 'Invalid signature "' + signature + '": ' + t1, t2), error, stackTrace);
  32233. } else
  32234. throw exception;
  32235. }
  32236. },
  32237. indent_closure0: function indent_closure0(t0) {
  32238. this.indentation = t0;
  32239. },
  32240. flattenVertically_closure1: function flattenVertically_closure1(t0) {
  32241. this.T = t0;
  32242. },
  32243. flattenVertically_closure2: function flattenVertically_closure2(t0, t1) {
  32244. this.result = t0;
  32245. this.T = t1;
  32246. },
  32247. longestCommonSubsequence_backtrack0: function longestCommonSubsequence_backtrack0(t0, t1, t2) {
  32248. this.selections = t0;
  32249. this.lengths = t1;
  32250. this.T = t2;
  32251. },
  32252. mapAddAll2_closure0: function mapAddAll2_closure0(t0, t1, t2, t3) {
  32253. var _ = this;
  32254. _.destination = t0;
  32255. _.K1 = t1;
  32256. _.K2 = t2;
  32257. _.V = t3;
  32258. },
  32259. CssValue0: function CssValue0(t0, t1, t2) {
  32260. this.value = t0;
  32261. this.span = t1;
  32262. this.$ti = t2;
  32263. },
  32264. ValueExpression0: function ValueExpression0(t0, t1) {
  32265. this.value = t0;
  32266. this.span = t1;
  32267. },
  32268. valueClass_closure: function valueClass_closure() {
  32269. },
  32270. valueClass__closure: function valueClass__closure() {
  32271. },
  32272. valueClass__closure0: function valueClass__closure0() {
  32273. },
  32274. valueClass__closure1: function valueClass__closure1() {
  32275. },
  32276. valueClass__closure2: function valueClass__closure2() {
  32277. },
  32278. valueClass__closure3: function valueClass__closure3() {
  32279. },
  32280. valueClass__closure4: function valueClass__closure4() {
  32281. },
  32282. valueClass__closure5: function valueClass__closure5() {
  32283. },
  32284. valueClass__closure6: function valueClass__closure6() {
  32285. },
  32286. valueClass__closure7: function valueClass__closure7() {
  32287. },
  32288. valueClass__closure8: function valueClass__closure8() {
  32289. },
  32290. valueClass__closure9: function valueClass__closure9() {
  32291. },
  32292. valueClass__closure10: function valueClass__closure10() {
  32293. },
  32294. valueClass__closure11: function valueClass__closure11() {
  32295. },
  32296. valueClass__closure12: function valueClass__closure12() {
  32297. },
  32298. valueClass__closure13: function valueClass__closure13() {
  32299. },
  32300. valueClass__closure14: function valueClass__closure14() {
  32301. },
  32302. valueClass__closure15: function valueClass__closure15() {
  32303. },
  32304. valueClass__closure16: function valueClass__closure16() {
  32305. },
  32306. valueClass__closure17: function valueClass__closure17() {
  32307. },
  32308. valueClass__closure18: function valueClass__closure18() {
  32309. },
  32310. SassApiValue_assertSelector0(_this, allowParent, $name) {
  32311. var error, stackTrace, t1, exception,
  32312. string = _this._value$_selectorString$1($name);
  32313. try {
  32314. t1 = A.SelectorList_SelectorList$parse0(string, allowParent, null, false);
  32315. return t1;
  32316. } catch (exception) {
  32317. t1 = A.unwrapException(exception);
  32318. if (type$.SassFormatException_2._is(t1)) {
  32319. error = t1;
  32320. stackTrace = A.getTraceFromException(exception);
  32321. t1 = B.JSString_methods.replaceFirst$2(J.toString$0$(error), "Error: ", "");
  32322. A.throwWithTrace0(new A.SassScriptException0($name == null ? t1 : "$" + $name + ": " + t1), error, stackTrace);
  32323. } else
  32324. throw exception;
  32325. }
  32326. },
  32327. SassApiValue_assertCompoundSelector0(_this, $name) {
  32328. var error, stackTrace, t1, exception,
  32329. allowParent = false,
  32330. string = _this._value$_selectorString$1($name);
  32331. try {
  32332. t1 = new A.SelectorParser0(allowParent, false, A.SpanScanner$(string, null), null).parseCompoundSelector$0();
  32333. return t1;
  32334. } catch (exception) {
  32335. t1 = A.unwrapException(exception);
  32336. if (type$.SassFormatException_2._is(t1)) {
  32337. error = t1;
  32338. stackTrace = A.getTraceFromException(exception);
  32339. t1 = B.JSString_methods.replaceFirst$2(J.toString$0$(error), "Error: ", "");
  32340. A.throwWithTrace0(new A.SassScriptException0("$" + $name + ": " + t1), error, stackTrace);
  32341. } else
  32342. throw exception;
  32343. }
  32344. },
  32345. Value0: function Value0() {
  32346. },
  32347. VariableExpression0: function VariableExpression0(t0, t1, t2) {
  32348. this.namespace = t0;
  32349. this.name = t1;
  32350. this.span = t2;
  32351. },
  32352. VariableDeclaration$0($name, expression, span, comment, global, guarded, namespace) {
  32353. if (namespace != null && global)
  32354. A.throwExpression(A.ArgumentError$(string$.Other_, null));
  32355. return new A.VariableDeclaration0(namespace, $name, expression, guarded, global, span);
  32356. },
  32357. VariableDeclaration0: function VariableDeclaration0(t0, t1, t2, t3, t4, t5) {
  32358. var _ = this;
  32359. _.namespace = t0;
  32360. _.name = t1;
  32361. _.expression = t2;
  32362. _.isGuarded = t3;
  32363. _.isGlobal = t4;
  32364. _.span = t5;
  32365. },
  32366. WarnRule0: function WarnRule0(t0, t1) {
  32367. this.expression = t0;
  32368. this.span = t1;
  32369. },
  32370. WhileRule$0(condition, children, span) {
  32371. var t1 = A.List_List$unmodifiable(children, type$.Statement_2),
  32372. t2 = B.JSArray_methods.any$1(t1, new A.ParentStatement_closure0());
  32373. return new A.WhileRule0(condition, span, t1, t2);
  32374. },
  32375. WhileRule0: function WhileRule0(t0, t1, t2, t3) {
  32376. var _ = this;
  32377. _.condition = t0;
  32378. _.span = t1;
  32379. _.children = t2;
  32380. _.hasDeclarations = t3;
  32381. },
  32382. XyzD50ColorSpace0: function XyzD50ColorSpace0(t0, t1) {
  32383. this.name = t0;
  32384. this._space$_channels = t1;
  32385. },
  32386. XyzD65ColorSpace0: function XyzD65ColorSpace0(t0, t1) {
  32387. this.name = t0;
  32388. this._space$_channels = t1;
  32389. },
  32390. AsyncCallable_AsyncCallable$fromSignature(signature, callback, requireParens) {
  32391. var _0_0 = A.parseSignature(signature, requireParens);
  32392. return new A.AsyncBuiltInCallable0(_0_0._0, _0_0._1, callback, false);
  32393. },
  32394. Callable_Callable$fromSignature(signature, callback, requireParens) {
  32395. var _0_0 = A.parseSignature(signature, requireParens);
  32396. 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);
  32397. },
  32398. printString(string) {
  32399. if (typeof dartPrint == "function") {
  32400. dartPrint(string);
  32401. return;
  32402. }
  32403. if (typeof console == "object" && typeof console.log != "undefined") {
  32404. console.log(string);
  32405. return;
  32406. }
  32407. if (typeof print == "function") {
  32408. print(string);
  32409. return;
  32410. }
  32411. throw "Unable to print message: " + String(string);
  32412. },
  32413. mergeMaps(map1, map2, $K, $V) {
  32414. var result = A.LinkedHashMap_LinkedHashMap$of(map1, $K, $V);
  32415. result.addAll$1(0, map2);
  32416. return result;
  32417. },
  32418. groupBy(values, key, $S, $T) {
  32419. var t1, t2, _i, element, t3, t4,
  32420. map = A.LinkedHashMap_LinkedHashMap$_empty($T, $S._eval$1("List<0>"));
  32421. for (t1 = values.length, t2 = $S._eval$1("JSArray<0>"), _i = 0; _i < values.length; values.length === t1 || (0, A.throwConcurrentModificationError)(values), ++_i) {
  32422. element = values[_i];
  32423. t3 = key.call$1(element);
  32424. t4 = map.$index(0, t3);
  32425. if (t4 == null) {
  32426. t4 = A._setArrayType([], t2);
  32427. map.$indexSet(0, t3, t4);
  32428. t3 = t4;
  32429. } else
  32430. t3 = t4;
  32431. J.add$1$ax(t3, element);
  32432. }
  32433. return map;
  32434. },
  32435. minBy(values, orderBy) {
  32436. var t1, t2, minValue, minOrderBy, element, elementOrderBy;
  32437. 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();) {
  32438. element = t2.__internal$_current;
  32439. if (element == null)
  32440. element = t1._as(element);
  32441. elementOrderBy = orderBy.call$1(element);
  32442. if (minOrderBy == null || A.defaultCompare(elementOrderBy, minOrderBy) < 0) {
  32443. minOrderBy = elementOrderBy;
  32444. minValue = element;
  32445. }
  32446. }
  32447. return minValue;
  32448. },
  32449. IterableExtension_firstWhereOrNull(_this, test) {
  32450. var t1, element;
  32451. for (t1 = J.get$iterator$ax(_this); t1.moveNext$0();) {
  32452. element = t1.get$current(t1);
  32453. if (test.call$1(element))
  32454. return element;
  32455. }
  32456. return null;
  32457. },
  32458. IterableExtension_get_firstOrNull(_this) {
  32459. var iterator = J.get$iterator$ax(_this);
  32460. if (iterator.moveNext$0())
  32461. return iterator.get$current(iterator);
  32462. return null;
  32463. },
  32464. IterableExtension_get_lastOrNull(_this) {
  32465. if (_this.get$length(0) === 0)
  32466. return null;
  32467. return _this.get$last(_this);
  32468. },
  32469. IterableExtension_get_singleOrNull(_this) {
  32470. var result,
  32471. iterator = J.get$iterator$ax(_this);
  32472. if (iterator.moveNext$0()) {
  32473. result = iterator.get$current(iterator);
  32474. if (!iterator.moveNext$0())
  32475. return result;
  32476. }
  32477. return null;
  32478. },
  32479. IterableIntegerExtension_get_maxOrNull(_this) {
  32480. var value, newValue,
  32481. iterator = _this.get$iterator(_this);
  32482. if (iterator.moveNext$0()) {
  32483. value = iterator.get$current(iterator);
  32484. for (; iterator.moveNext$0();) {
  32485. newValue = iterator.get$current(iterator);
  32486. if (newValue > value)
  32487. value = newValue;
  32488. }
  32489. return value;
  32490. }
  32491. return null;
  32492. },
  32493. IterableIntegerExtension_get_max(_this) {
  32494. var t1 = A.IterableIntegerExtension_get_maxOrNull(_this);
  32495. return t1 == null ? A.throwExpression(A.StateError$("No element")) : t1;
  32496. },
  32497. IterableIntegerExtension_get_sum(_this) {
  32498. var t1, t2, result, t3;
  32499. 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();) {
  32500. t3 = t2.__internal$_current;
  32501. result += t3 == null ? t1._as(t3) : t3;
  32502. }
  32503. return result;
  32504. },
  32505. ListExtensions_mapIndexed(_this, convert, $E, $R) {
  32506. return new A._SyncStarIterable(A.ListExtensions_mapIndexed$body(_this, convert, $E, $R), $R._eval$1("_SyncStarIterable<0>"));
  32507. },
  32508. ListExtensions_mapIndexed$body($async$_this, $async$convert, $async$$E, $async$$R) {
  32509. return function() {
  32510. var _this = $async$_this,
  32511. convert = $async$convert,
  32512. $E = $async$$E,
  32513. $R = $async$$R;
  32514. var $async$goto = 0, $async$handler = 1, $async$errorStack = [], t1, index;
  32515. return function $async$ListExtensions_mapIndexed($async$iterator, $async$errorCode, $async$result) {
  32516. if ($async$errorCode === 1) {
  32517. $async$errorStack.push($async$result);
  32518. $async$goto = $async$handler;
  32519. }
  32520. while (true)
  32521. switch ($async$goto) {
  32522. case 0:
  32523. // Function start
  32524. t1 = _this.length, index = 0;
  32525. case 2:
  32526. // for condition
  32527. if (!(index < t1)) {
  32528. // goto after for
  32529. $async$goto = 4;
  32530. break;
  32531. }
  32532. $async$goto = 5;
  32533. return $async$iterator._async$_current = convert.call$2(index, _this[index]), 1;
  32534. case 5:
  32535. // after yield
  32536. case 3:
  32537. // for update
  32538. ++index;
  32539. // goto for condition
  32540. $async$goto = 2;
  32541. break;
  32542. case 4:
  32543. // after for
  32544. // implicit return
  32545. return 0;
  32546. case 1:
  32547. // rethrow
  32548. return $async$iterator._datum = $async$errorStack.at(-1), 3;
  32549. }
  32550. };
  32551. };
  32552. },
  32553. ListExtensions_elementAtOrNull(_this, index) {
  32554. var t1 = J.getInterceptor$asx(_this);
  32555. return index < t1.get$length(_this) ? t1.$index(_this, index) : null;
  32556. },
  32557. defaultCompare(value1, value2) {
  32558. return J.compareTo$1$ns(type$.Comparable_nullable_Object._as(value1), value2);
  32559. },
  32560. current() {
  32561. var exception, t1, path, lastIndex, uri = null;
  32562. try {
  32563. uri = A.Uri_base();
  32564. } catch (exception) {
  32565. if (type$.Exception._is(A.unwrapException(exception))) {
  32566. t1 = $._current;
  32567. if (t1 != null)
  32568. return t1;
  32569. throw exception;
  32570. } else
  32571. throw exception;
  32572. }
  32573. if (J.$eq$(uri, $._currentUriBase)) {
  32574. t1 = $._current;
  32575. t1.toString;
  32576. return t1;
  32577. }
  32578. $._currentUriBase = uri;
  32579. if ($.$get$Style_platform() === $.$get$Style_url())
  32580. t1 = $._current = J.resolve$1$x(uri, ".").toString$0(0);
  32581. else {
  32582. path = uri.toFilePath$0();
  32583. lastIndex = path.length - 1;
  32584. t1 = $._current = lastIndex === 0 ? path : B.JSString_methods.substring$2(path, 0, lastIndex);
  32585. }
  32586. return t1;
  32587. },
  32588. absolute(part1, part2, part3, part4, part5, part6, part7, part8, part9, part10, part11, part12, part13, part14, part15) {
  32589. return $.$get$context().absolute$15(part1, part2, part3, part4, part5, part6, part7, part8, part9, part10, part11, part12, part13, part14, part15);
  32590. },
  32591. join(part1, part2, part3) {
  32592. var _null = null;
  32593. return $.$get$context().join$16(0, part1, part2, part3, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null);
  32594. },
  32595. toUri(path) {
  32596. return $.$get$context().toUri$1(path);
  32597. },
  32598. prettyUri(uri) {
  32599. var t1 = $.$get$context();
  32600. uri.toString;
  32601. return t1.prettyUri$1(uri);
  32602. },
  32603. isAlphabetic(char) {
  32604. var t1;
  32605. if (!(char >= 65 && char <= 90))
  32606. t1 = char >= 97 && char <= 122;
  32607. else
  32608. t1 = true;
  32609. return t1;
  32610. },
  32611. driveLetterEnd(path, index) {
  32612. var t2, t3, _null = null,
  32613. t1 = path.length,
  32614. index0 = index + 2;
  32615. if (t1 < index0)
  32616. return _null;
  32617. if (!A.isAlphabetic(path.charCodeAt(index)))
  32618. return _null;
  32619. t2 = index + 1;
  32620. if (path.charCodeAt(t2) !== 58) {
  32621. t3 = index + 4;
  32622. if (t1 < t3)
  32623. return _null;
  32624. if (B.JSString_methods.substring$2(path, t2, t3).toLowerCase() !== "%3a")
  32625. return _null;
  32626. index = index0;
  32627. }
  32628. t2 = index + 2;
  32629. if (t1 === t2)
  32630. return t2;
  32631. if (path.charCodeAt(t2) !== 47)
  32632. return _null;
  32633. return index + 3;
  32634. },
  32635. main0(args) {
  32636. return A.main$body0(args);
  32637. },
  32638. main$body0(args) {
  32639. var $async$goto = 0,
  32640. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  32641. t1;
  32642. var $async$main0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  32643. if ($async$errorCode === 1)
  32644. return A._asyncRethrow($async$result, $async$completer);
  32645. while (true)
  32646. switch ($async$goto) {
  32647. case 0:
  32648. // Function start
  32649. A.printError("sass --embedded is unavailable in pure JS mode.");
  32650. t1 = A.isNodeJs() ? self.process : null;
  32651. if (t1 != null)
  32652. J.set$exitCode$x(t1, 1);
  32653. // implicit return
  32654. return A._asyncReturn(null, $async$completer);
  32655. }
  32656. });
  32657. return A._asyncStartSync($async$main0, $async$completer);
  32658. },
  32659. EvaluationContext_currentOrNull() {
  32660. var t1,
  32661. _0_0 = $.Zone__current.$index(0, B.Symbol__evaluationContext);
  32662. $label0$0: {
  32663. if (type$.EvaluationContext._is(_0_0)) {
  32664. t1 = _0_0;
  32665. break $label0$0;
  32666. }
  32667. t1 = null;
  32668. break $label0$0;
  32669. }
  32670. return t1;
  32671. },
  32672. warn(message) {
  32673. var t1, _null = null,
  32674. _0_0 = A.EvaluationContext_currentOrNull();
  32675. $label0$0: {
  32676. if (_0_0 != null) {
  32677. t1 = _0_0.warn$2(0, message, _null);
  32678. break $label0$0;
  32679. }
  32680. B.StderrLogger_false.internalWarn$4$deprecation$span$trace(message, _null, _null, _null);
  32681. t1 = _null;
  32682. break $label0$0;
  32683. }
  32684. return t1;
  32685. },
  32686. warnForDeprecation(message, deprecation) {
  32687. var t1,
  32688. _0_0 = A.EvaluationContext_currentOrNull();
  32689. $label0$0: {
  32690. if (_0_0 != null) {
  32691. t1 = _0_0.warn$2(0, message, deprecation);
  32692. break $label0$0;
  32693. }
  32694. t1 = A.WarnForDeprecation_warnForDeprecation(B.StderrLogger_false, deprecation, message, null, null);
  32695. break $label0$0;
  32696. }
  32697. return t1;
  32698. },
  32699. compileStylesheets(options, graph, sourcesToDestinations, ifModified) {
  32700. return A.compileStylesheets$body(options, graph, sourcesToDestinations, ifModified);
  32701. },
  32702. compileStylesheets$body(options, graph, sourcesToDestinations, ifModified) {
  32703. var $async$goto = 0,
  32704. $async$completer = A._makeAsyncAwaitCompleter(type$.bool),
  32705. $async$returnValue, _1_4, t2, t3, _i, t4, printedError, errorWithStackTrace, code, error, stackTrace, buffer, t1, $async$temp1;
  32706. var $async$compileStylesheets = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  32707. if ($async$errorCode === 1)
  32708. return A._asyncRethrow($async$result, $async$completer);
  32709. while (true)
  32710. switch ($async$goto) {
  32711. case 0:
  32712. // Function start
  32713. t1 = type$.nullable_String;
  32714. t1 = A.List_List$_of(A.MapExtensions_get_pairs(sourcesToDestinations, t1, t1), type$.Record_2_nullable_String_and_nullable_String);
  32715. $async$goto = t1.length === 1 ? 4 : 5;
  32716. break;
  32717. case 4:
  32718. // then
  32719. _1_4 = t1[0];
  32720. $async$temp1 = A;
  32721. $async$goto = 6;
  32722. return A._asyncAwait(A.compileStylesheet(options, graph, _1_4._0, _1_4._1, ifModified), $async$compileStylesheets);
  32723. case 6:
  32724. // returning from await.
  32725. t1 = $async$temp1._setArrayType([$async$result], type$.JSArray_nullable_Record_3_int_and_String_and_nullable_String);
  32726. // goto break $label0$0
  32727. $async$goto = 3;
  32728. break;
  32729. case 5:
  32730. // join
  32731. t2 = A._setArrayType([], type$.JSArray_Future_nullable_Record_3_int_and_String_and_nullable_String);
  32732. for (t3 = t1.length, _i = 0; _i < t1.length; t1.length === t3 || (0, A.throwConcurrentModificationError)(t1), ++_i) {
  32733. t4 = t1[_i];
  32734. t2.push(A.compileStylesheet(options, graph, t4._0, t4._1, ifModified));
  32735. }
  32736. $async$goto = 7;
  32737. 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);
  32738. case 7:
  32739. // returning from await.
  32740. t1 = $async$result;
  32741. // goto break $label0$0
  32742. $async$goto = 3;
  32743. break;
  32744. case 3:
  32745. // break $label0$0
  32746. for (t1 = J.get$iterator$ax(t1), printedError = false; t1.moveNext$0();) {
  32747. errorWithStackTrace = t1.get$current(t1);
  32748. if (errorWithStackTrace == null)
  32749. continue;
  32750. code = errorWithStackTrace._0;
  32751. error = errorWithStackTrace._1;
  32752. stackTrace = errorWithStackTrace._2;
  32753. t2 = self.process;
  32754. if (t2 == null)
  32755. t2 = null;
  32756. else {
  32757. t2 = J.get$release$x(t2);
  32758. t2 = t2 == null ? null : J.get$name$x(t2);
  32759. }
  32760. t2 = J.$eq$(t2, "node") ? self.process : null;
  32761. t2 = t2 == null ? null : J.get$exitCode$x(t2);
  32762. if (t2 == null)
  32763. t2 = 0;
  32764. t2 = Math.max(t2, code);
  32765. t3 = self.process;
  32766. if (t3 == null)
  32767. t3 = null;
  32768. else {
  32769. t3 = J.get$release$x(t3);
  32770. t3 = t3 == null ? null : J.get$name$x(t3);
  32771. }
  32772. t3 = J.$eq$(t3, "node") ? self.process : null;
  32773. if (t3 != null)
  32774. J.set$exitCode$x(t3, t2);
  32775. buffer = new A.StringBuffer("");
  32776. t2 = (printedError ? buffer._contents = "" + "\n" : "") + error;
  32777. buffer._contents = t2;
  32778. if (stackTrace != null) {
  32779. t2 += "\n";
  32780. buffer._contents = t2;
  32781. t2 += "\n";
  32782. buffer._contents = t2;
  32783. buffer._contents = t2 + stackTrace;
  32784. }
  32785. A.printError(buffer);
  32786. printedError = true;
  32787. }
  32788. $async$returnValue = !printedError;
  32789. // goto return
  32790. $async$goto = 1;
  32791. break;
  32792. case 1:
  32793. // return
  32794. return A._asyncReturn($async$returnValue, $async$completer);
  32795. }
  32796. });
  32797. return A._asyncStartSync($async$compileStylesheets, $async$completer);
  32798. },
  32799. CharacterExtension_get_isAlphabetic(_this) {
  32800. var t1;
  32801. if (!(_this >= 97 && _this <= 122))
  32802. t1 = _this >= 65 && _this <= 90;
  32803. else
  32804. t1 = true;
  32805. return t1;
  32806. },
  32807. CharacterExtension_get_isHex(_this) {
  32808. var t1 = true;
  32809. if (!(_this >= 48 && _this <= 57))
  32810. if (!(_this >= 97 && _this <= 102))
  32811. t1 = _this >= 65 && _this <= 70;
  32812. return t1;
  32813. },
  32814. asHex(character) {
  32815. var t1;
  32816. $label0$0: {
  32817. if (character <= 57) {
  32818. t1 = character - 48;
  32819. break $label0$0;
  32820. }
  32821. if (character <= 70) {
  32822. t1 = 10 + character - 65;
  32823. break $label0$0;
  32824. }
  32825. t1 = 10 + character - 97;
  32826. break $label0$0;
  32827. }
  32828. return t1;
  32829. },
  32830. hexCharFor(number) {
  32831. return number < 10 ? 48 + number : 87 + number;
  32832. },
  32833. opposite(character) {
  32834. var t1;
  32835. $label0$0: {
  32836. if (40 === character) {
  32837. t1 = 41;
  32838. break $label0$0;
  32839. }
  32840. if (123 === character) {
  32841. t1 = 125;
  32842. break $label0$0;
  32843. }
  32844. if (91 === character) {
  32845. t1 = 93;
  32846. break $label0$0;
  32847. }
  32848. t1 = A.throwExpression(A.ArgumentError$('"' + A.String_String$fromCharCode(character) + "\" isn't a brace-like character.", null));
  32849. }
  32850. return t1;
  32851. },
  32852. characterEqualsIgnoreCase(character1, character2) {
  32853. var upperCase1;
  32854. if (character1 === character2)
  32855. return true;
  32856. if ((character1 ^ character2) >>> 0 !== 32)
  32857. return false;
  32858. upperCase1 = (character1 & 4294967263) >>> 0;
  32859. return upperCase1 >= 65 && upperCase1 <= 90;
  32860. },
  32861. IterableExtension_search(_this, callback) {
  32862. var t1, _0_0;
  32863. for (t1 = J.get$iterator$ax(_this); t1.moveNext$0();) {
  32864. _0_0 = callback.call$1(t1.get$current(t1));
  32865. if (_0_0 != null)
  32866. return _0_0;
  32867. }
  32868. return null;
  32869. },
  32870. IterableExtension_get_exceptLast(_this) {
  32871. var t1 = J.getInterceptor$asx(_this),
  32872. size = t1.get$length(_this) - 1;
  32873. if (size < 0)
  32874. throw A.wrapException(A.StateError$("Iterable may not be empty"));
  32875. return t1.take$1(_this, size);
  32876. },
  32877. NullableExtension_andThen(_this, fn) {
  32878. return _this == null ? null : fn.call$1(_this);
  32879. },
  32880. SetExtension_removeNull(_this, $T) {
  32881. _this.remove$1(0, null);
  32882. return A.Set_castFrom(_this, _this.get$_newSimilarSet(), A._instanceType(_this)._precomputed1, $T);
  32883. },
  32884. fuzzyEquals(number1, number2) {
  32885. var t1;
  32886. if (number1 === number2)
  32887. return true;
  32888. if (Math.abs(number1 - number2) <= $.$get$_epsilon()) {
  32889. t1 = $.$get$_inverseEpsilon();
  32890. t1 = B.JSNumber_methods.round$0(number1 * t1) === B.JSNumber_methods.round$0(number2 * t1);
  32891. } else
  32892. t1 = false;
  32893. return t1;
  32894. },
  32895. fuzzyEqualsNullable(number1, number2) {
  32896. var t1;
  32897. if (number1 == number2)
  32898. return true;
  32899. if (number1 == null || number2 == null)
  32900. return false;
  32901. if (Math.abs(number1 - number2) <= $.$get$_epsilon()) {
  32902. t1 = $.$get$_inverseEpsilon();
  32903. t1 = B.JSNumber_methods.round$0(number1 * t1) === B.JSNumber_methods.round$0(number2 * t1);
  32904. } else
  32905. t1 = false;
  32906. return t1;
  32907. },
  32908. fuzzyHashCode(number) {
  32909. if (!isFinite(number))
  32910. return B.JSNumber_methods.get$hashCode(number);
  32911. return B.JSInt_methods.get$hashCode(B.JSNumber_methods.round$0(number * $.$get$_inverseEpsilon()));
  32912. },
  32913. fuzzyLessThan(number1, number2) {
  32914. return number1 < number2 && !A.fuzzyEquals(number1, number2);
  32915. },
  32916. fuzzyLessThanOrEquals(number1, number2) {
  32917. return number1 < number2 || A.fuzzyEquals(number1, number2);
  32918. },
  32919. fuzzyGreaterThan(number1, number2) {
  32920. return number1 > number2 && !A.fuzzyEquals(number1, number2);
  32921. },
  32922. fuzzyGreaterThanOrEquals(number1, number2) {
  32923. return number1 > number2 || A.fuzzyEquals(number1, number2);
  32924. },
  32925. fuzzyIsInt(number) {
  32926. if (number == 1 / 0 || number == -1 / 0 || isNaN(number))
  32927. return false;
  32928. return A.fuzzyEquals(number, B.JSNumber_methods.round$0(number));
  32929. },
  32930. fuzzyAsInt(number) {
  32931. var rounded;
  32932. if (number == 1 / 0 || number == -1 / 0 || isNaN(number))
  32933. return null;
  32934. rounded = B.JSNumber_methods.round$0(number);
  32935. return A.fuzzyEquals(number, rounded) ? rounded : null;
  32936. },
  32937. fuzzyRound(number) {
  32938. var t1;
  32939. if (number > 0) {
  32940. t1 = B.JSNumber_methods.$mod(number, 1);
  32941. return t1 < 0.5 && !A.fuzzyEquals(t1, 0.5) ? B.JSNumber_methods.floor$0(number) : B.JSNumber_methods.ceil$0(number);
  32942. } else {
  32943. t1 = B.JSNumber_methods.$mod(number, 1);
  32944. return t1 < 0.5 || A.fuzzyEquals(t1, 0.5) ? B.JSNumber_methods.floor$0(number) : B.JSNumber_methods.ceil$0(number);
  32945. }
  32946. },
  32947. fuzzyCheckRange(number, min, max) {
  32948. if (A.fuzzyEquals(number, min))
  32949. return min;
  32950. if (A.fuzzyEquals(number, max))
  32951. return max;
  32952. if (number > min && number < max)
  32953. return number;
  32954. return null;
  32955. },
  32956. fuzzyAssertRange(number, min, max, $name) {
  32957. var result = A.fuzzyCheckRange(number, min, max);
  32958. if (result != null)
  32959. return result;
  32960. throw A.wrapException(A.RangeError$range(number, min, max, $name, "must be between " + min + " and " + max));
  32961. },
  32962. moduloLikeSass(num1, num2) {
  32963. var result;
  32964. if (num1 == 1 / 0 || num1 == -1 / 0)
  32965. return 0 / 0;
  32966. if (num2 == 1 / 0 || num2 == -1 / 0)
  32967. return A.DoubleWithSignedZero_get_signIncludingZero(num1) === J.get$sign$in(num2) ? num1 : 0 / 0;
  32968. if (num2 > 0)
  32969. return B.JSNumber_methods.$mod(num1, num2);
  32970. if (num2 === 0)
  32971. return 0 / 0;
  32972. result = B.JSNumber_methods.$mod(num1, num2);
  32973. return result === 0 ? 0 : result + num2;
  32974. },
  32975. sqrt(number) {
  32976. number.assertNoUnits$1("number");
  32977. return A.SassNumber_SassNumber(Math.sqrt(number._number$_value), null);
  32978. },
  32979. sin(number) {
  32980. return A.SassNumber_SassNumber(Math.sin(number.coerceValueToUnit$2("rad", "number")), null);
  32981. },
  32982. cos(number) {
  32983. return A.SassNumber_SassNumber(Math.cos(number.coerceValueToUnit$2("rad", "number")), null);
  32984. },
  32985. tan(number) {
  32986. return A.SassNumber_SassNumber(Math.tan(number.coerceValueToUnit$2("rad", "number")), null);
  32987. },
  32988. atan(number) {
  32989. number.assertNoUnits$1("number");
  32990. return A.SassNumber_SassNumber$withUnits(Math.atan(number._number$_value) * 57.29577951308232, null, A._setArrayType(["deg"], type$.JSArray_String));
  32991. },
  32992. asin(number) {
  32993. number.assertNoUnits$1("number");
  32994. return A.SassNumber_SassNumber$withUnits(Math.asin(number._number$_value) * 57.29577951308232, null, A._setArrayType(["deg"], type$.JSArray_String));
  32995. },
  32996. acos(number) {
  32997. number.assertNoUnits$1("number");
  32998. return A.SassNumber_SassNumber$withUnits(Math.acos(number._number$_value) * 57.29577951308232, null, A._setArrayType(["deg"], type$.JSArray_String));
  32999. },
  33000. log(number, base) {
  33001. if (base != null)
  33002. return A.SassNumber_SassNumber(Math.log(number._number$_value) / Math.log(base._number$_value), null);
  33003. return A.SassNumber_SassNumber(Math.log(number._number$_value), null);
  33004. },
  33005. pow0(base, exponent) {
  33006. base.assertNoUnits$1("base");
  33007. exponent.assertNoUnits$1("exponent");
  33008. return A.SassNumber_SassNumber(Math.pow(base._number$_value, exponent._number$_value), null);
  33009. },
  33010. DoubleWithSignedZero_get_signIncludingZero(_this) {
  33011. if (_this === -0.0)
  33012. return -1;
  33013. if (_this === 0)
  33014. return 1;
  33015. return J.get$sign$in(_this);
  33016. },
  33017. SpanExtensions_trimLeft(_this) {
  33018. var t1, start = 0;
  33019. while (true) {
  33020. t1 = _this.get$text().charCodeAt(start);
  33021. if (!(t1 === 32 || t1 === 9 || t1 === 10 || t1 === 13 || t1 === 12))
  33022. break;
  33023. ++start;
  33024. }
  33025. return A.FileSpanExtension_subspan(_this, start, null);
  33026. },
  33027. SpanExtensions_trimRight(_this) {
  33028. var t1,
  33029. end = _this.get$text().length - 1;
  33030. while (true) {
  33031. t1 = _this.get$text().charCodeAt(end);
  33032. if (!(t1 === 32 || t1 === 9 || t1 === 10 || t1 === 13 || t1 === 12))
  33033. break;
  33034. --end;
  33035. }
  33036. return A.FileSpanExtension_subspan(_this, 0, end + 1);
  33037. },
  33038. SpanExtensions_initialIdentifier(_this) {
  33039. var i,
  33040. scanner = A.StringScanner$(_this.get$text(), null, null);
  33041. for (i = 0; false; ++i)
  33042. scanner.readChar$0();
  33043. A._scanIdentifier(scanner);
  33044. return A.FileSpanExtension_subspan(_this, 0, scanner._string_scanner$_position);
  33045. },
  33046. SpanExtensions_withoutInitialIdentifier(_this) {
  33047. var scanner = A.StringScanner$(_this.get$text(), null, null);
  33048. A._scanIdentifier(scanner);
  33049. return A.FileSpanExtension_subspan(_this, scanner._string_scanner$_position, null);
  33050. },
  33051. _scanIdentifier(scanner) {
  33052. var t1, _0_0, t2;
  33053. for (t1 = scanner.string.length; scanner._string_scanner$_position !== t1;) {
  33054. _0_0 = scanner.peekChar$0();
  33055. if (92 === _0_0) {
  33056. A.consumeEscapedCharacter(scanner);
  33057. continue;
  33058. }
  33059. if (A._isInt(_0_0)) {
  33060. if (_0_0 !== 95) {
  33061. if (!(_0_0 >= 97 && _0_0 <= 122))
  33062. t2 = _0_0 >= 65 && _0_0 <= 90;
  33063. else
  33064. t2 = true;
  33065. t2 = t2 || _0_0 >= 128;
  33066. } else
  33067. t2 = true;
  33068. if (!t2)
  33069. t2 = _0_0 >= 48 && _0_0 <= 57 || _0_0 === 45;
  33070. else
  33071. t2 = true;
  33072. } else
  33073. t2 = false;
  33074. if (t2) {
  33075. scanner.readChar$0();
  33076. continue;
  33077. }
  33078. break;
  33079. }
  33080. },
  33081. hueToRgb(m1, m2, hue) {
  33082. var t1;
  33083. if (hue < 0)
  33084. ++hue;
  33085. if (hue > 1)
  33086. --hue;
  33087. $label0$0: {
  33088. if (hue < 0.16666666666666666) {
  33089. t1 = m1 + (m2 - m1) * hue * 6;
  33090. break $label0$0;
  33091. }
  33092. if (hue < 0.5) {
  33093. t1 = m2;
  33094. break $label0$0;
  33095. }
  33096. if (hue < 0.6666666666666666) {
  33097. t1 = m1 + (m2 - m1) * (0.6666666666666666 - hue) * 6;
  33098. break $label0$0;
  33099. }
  33100. t1 = m1;
  33101. break $label0$0;
  33102. }
  33103. return t1;
  33104. },
  33105. srgbAndDisplayP3ToLinear(channel) {
  33106. var abs = Math.abs(channel);
  33107. return abs <= 0.04045 ? channel / 12.92 : J.get$sign$in(channel) * Math.pow((abs + 0.055) / 1.055, 2.4);
  33108. },
  33109. srgbAndDisplayP3FromLinear(channel) {
  33110. var abs = Math.abs(channel);
  33111. return abs <= 0.0031308 ? channel * 12.92 : J.get$sign$in(channel) * (1.055 * Math.pow(abs, 0.4166666666666667) - 0.055);
  33112. },
  33113. labToLch(dest, lightness, a, b, alpha, missingChroma, missingHue) {
  33114. var t3, t4, chroma, hue,
  33115. t1 = a == null,
  33116. t2 = t1 ? 0 : a;
  33117. t2 = Math.pow(t2, 2);
  33118. t3 = b == null;
  33119. t4 = t3 ? 0 : b;
  33120. chroma = Math.sqrt(t2 + Math.pow(t4, 2));
  33121. if (missingHue || A.fuzzyEquals(chroma, 0))
  33122. hue = null;
  33123. else {
  33124. t2 = t3 ? 0 : b;
  33125. t1 = t1 ? 0 : a;
  33126. hue = Math.atan2(t2, t1) * 180 / 3.141592653589793;
  33127. }
  33128. t1 = missingChroma ? null : chroma;
  33129. return A.SassColor_SassColor$forSpaceInternal(dest, lightness, t1, hue == null || hue >= 0 ? hue : hue + 360, alpha);
  33130. },
  33131. encodeVlq(value) {
  33132. var res, signBit, digit, t1;
  33133. if (value < $.$get$minInt32() || value > $.$get$maxInt32())
  33134. throw A.wrapException(A.ArgumentError$("expected 32 bit int, got: " + value, null));
  33135. res = A._setArrayType([], type$.JSArray_String);
  33136. if (value < 0) {
  33137. value = -value;
  33138. signBit = 1;
  33139. } else
  33140. signBit = 0;
  33141. value = value << 1 | signBit;
  33142. do {
  33143. digit = value & 31;
  33144. value = value >>> 5;
  33145. t1 = value > 0;
  33146. res.push(string$.ABCDEF[t1 ? digit | 32 : digit]);
  33147. } while (t1);
  33148. return res;
  33149. },
  33150. isAllTheSame(iter) {
  33151. var firstValue, t1, t2, value;
  33152. if (iter.get$length(0) === 0)
  33153. return true;
  33154. firstValue = iter.get$first(0);
  33155. 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();) {
  33156. value = t1.__internal$_current;
  33157. if (!J.$eq$(value == null ? t2._as(value) : value, firstValue))
  33158. return false;
  33159. }
  33160. return true;
  33161. },
  33162. replaceFirstNull(list, element) {
  33163. var index = B.JSArray_methods.indexOf$1(list, null);
  33164. if (index < 0)
  33165. throw A.wrapException(A.ArgumentError$(A.S(list) + " contains no null elements.", null));
  33166. list[index] = element;
  33167. },
  33168. replaceWithNull(list, element) {
  33169. var index = B.JSArray_methods.indexOf$1(list, element);
  33170. if (index < 0)
  33171. throw A.wrapException(A.ArgumentError$(A.S(list) + " contains no elements matching " + element.toString$0(0) + ".", null));
  33172. list[index] = null;
  33173. },
  33174. countCodeUnits(string, codeUnit) {
  33175. var t1, t2, count, t3;
  33176. 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();) {
  33177. t3 = t1.__internal$_current;
  33178. if ((t3 == null ? t2._as(t3) : t3) === codeUnit)
  33179. ++count;
  33180. }
  33181. return count;
  33182. },
  33183. findLineStart(context, text, column) {
  33184. var beginningOfLine, index, lineStart;
  33185. if (text.length === 0)
  33186. for (beginningOfLine = 0; true;) {
  33187. index = B.JSString_methods.indexOf$2(context, "\n", beginningOfLine);
  33188. if (index === -1)
  33189. return context.length - beginningOfLine >= column ? beginningOfLine : null;
  33190. if (index - beginningOfLine >= column)
  33191. return beginningOfLine;
  33192. beginningOfLine = index + 1;
  33193. }
  33194. index = B.JSString_methods.indexOf$1(context, text);
  33195. for (; index !== -1;) {
  33196. lineStart = index === 0 ? 0 : B.JSString_methods.lastIndexOf$2(context, "\n", index - 1) + 1;
  33197. if (column === index - lineStart)
  33198. return lineStart;
  33199. index = B.JSString_methods.indexOf$2(context, text, index + 1);
  33200. }
  33201. return null;
  33202. },
  33203. validateErrorArgs(string, match, position, $length) {
  33204. var t2,
  33205. t1 = position != null;
  33206. if (t1)
  33207. if (position < 0)
  33208. throw A.wrapException(A.RangeError$("position must be greater than or equal to 0."));
  33209. else if (position > string.length)
  33210. throw A.wrapException(A.RangeError$("position must be less than or equal to the string length."));
  33211. t2 = $length != null;
  33212. if (t2 && $length < 0)
  33213. throw A.wrapException(A.RangeError$("length must be greater than or equal to 0."));
  33214. if (t1 && t2 && position + $length > string.length)
  33215. throw A.wrapException(A.RangeError$("position plus length must not go beyond the end of the string."));
  33216. },
  33217. CharacterExtension_get_isAlphabetic0(_this) {
  33218. var t1;
  33219. if (!(_this >= 97 && _this <= 122))
  33220. t1 = _this >= 65 && _this <= 90;
  33221. else
  33222. t1 = true;
  33223. return t1;
  33224. },
  33225. CharacterExtension_get_isHex0(_this) {
  33226. var t1 = true;
  33227. if (!(_this >= 48 && _this <= 57))
  33228. if (!(_this >= 97 && _this <= 102))
  33229. t1 = _this >= 65 && _this <= 70;
  33230. return t1;
  33231. },
  33232. combineSurrogates(highSurrogate, lowSurrogate) {
  33233. return 65536 + ((highSurrogate & 1023) << 10) + (lowSurrogate & 1023);
  33234. },
  33235. asHex0(character) {
  33236. var t1;
  33237. $label0$0: {
  33238. if (character <= 57) {
  33239. t1 = character - 48;
  33240. break $label0$0;
  33241. }
  33242. if (character <= 70) {
  33243. t1 = 10 + character - 65;
  33244. break $label0$0;
  33245. }
  33246. t1 = 10 + character - 97;
  33247. break $label0$0;
  33248. }
  33249. return t1;
  33250. },
  33251. hexCharFor0(number) {
  33252. return number < 10 ? 48 + number : 87 + number;
  33253. },
  33254. opposite0(character) {
  33255. var t1;
  33256. $label0$0: {
  33257. if (40 === character) {
  33258. t1 = 41;
  33259. break $label0$0;
  33260. }
  33261. if (123 === character) {
  33262. t1 = 125;
  33263. break $label0$0;
  33264. }
  33265. if (91 === character) {
  33266. t1 = 93;
  33267. break $label0$0;
  33268. }
  33269. t1 = A.throwExpression(A.ArgumentError$('"' + A.String_String$fromCharCode(character) + "\" isn't a brace-like character.", null));
  33270. }
  33271. return t1;
  33272. },
  33273. characterEqualsIgnoreCase0(character1, character2) {
  33274. var upperCase1;
  33275. if (character1 === character2)
  33276. return true;
  33277. if ((character1 ^ character2) >>> 0 !== 32)
  33278. return false;
  33279. upperCase1 = (character1 & 4294967263) >>> 0;
  33280. return upperCase1 >= 65 && upperCase1 <= 90;
  33281. },
  33282. EvaluationContext_currentOrNull0() {
  33283. var t1,
  33284. _0_0 = $.Zone__current.$index(0, B.Symbol__evaluationContext);
  33285. $label0$0: {
  33286. if (type$.EvaluationContext_2._is(_0_0)) {
  33287. t1 = _0_0;
  33288. break $label0$0;
  33289. }
  33290. t1 = null;
  33291. break $label0$0;
  33292. }
  33293. return t1;
  33294. },
  33295. EvaluationContext__currentOrNull() {
  33296. var _0_0 = $.Zone__current.$index(0, B.Symbol__evaluationContext);
  33297. if (type$.EvaluationContext_2._is(_0_0))
  33298. return _0_0;
  33299. else
  33300. return null;
  33301. },
  33302. warn0(message) {
  33303. var t1, _null = null,
  33304. _0_0 = A.EvaluationContext_currentOrNull0();
  33305. $label0$0: {
  33306. if (_0_0 != null) {
  33307. t1 = _0_0.warn$2(0, message, _null);
  33308. break $label0$0;
  33309. }
  33310. B.StderrLogger_false0.internalWarn$4$deprecation$span$trace(message, _null, _null, _null);
  33311. t1 = _null;
  33312. break $label0$0;
  33313. }
  33314. return t1;
  33315. },
  33316. warnForDeprecation0(message, deprecation) {
  33317. var t1,
  33318. _0_0 = A.EvaluationContext_currentOrNull0();
  33319. $label0$0: {
  33320. if (_0_0 != null) {
  33321. t1 = _0_0.warn$2(0, message, deprecation);
  33322. break $label0$0;
  33323. }
  33324. t1 = A.WarnForDeprecation_warnForDeprecation0(B.StderrLogger_false0, deprecation, message, null, null);
  33325. break $label0$0;
  33326. }
  33327. return t1;
  33328. },
  33329. warnForDeprecationFromApi(message, deprecation) {
  33330. var _0_0 = A.EvaluationContext__currentOrNull();
  33331. if (_0_0 != null)
  33332. _0_0.warn$2(0, message, deprecation);
  33333. else
  33334. A.WarnForDeprecation_warnForDeprecation0(new A.StderrLogger0(false), deprecation, message, null, null);
  33335. },
  33336. IterableExtension_search0(_this, callback) {
  33337. var t1, _0_0;
  33338. for (t1 = J.get$iterator$ax(_this); t1.moveNext$0();) {
  33339. _0_0 = callback.call$1(t1.get$current(t1));
  33340. if (_0_0 != null)
  33341. return _0_0;
  33342. }
  33343. return null;
  33344. },
  33345. IterableExtension_get_exceptLast0(_this) {
  33346. var t1 = J.getInterceptor$asx(_this),
  33347. size = t1.get$length(_this) - 1;
  33348. if (size < 0)
  33349. throw A.wrapException(A.StateError$("Iterable may not be empty"));
  33350. return t1.take$1(_this, size);
  33351. },
  33352. NullableExtension_andThen0(_this, fn) {
  33353. return _this == null ? null : fn.call$1(_this);
  33354. },
  33355. fuzzyEquals0(number1, number2) {
  33356. var t1;
  33357. if (number1 === number2)
  33358. return true;
  33359. if (Math.abs(number1 - number2) <= $.$get$_epsilon0()) {
  33360. t1 = $.$get$_inverseEpsilon0();
  33361. t1 = B.JSNumber_methods.round$0(number1 * t1) === B.JSNumber_methods.round$0(number2 * t1);
  33362. } else
  33363. t1 = false;
  33364. return t1;
  33365. },
  33366. fuzzyEqualsNullable0(number1, number2) {
  33367. var t1;
  33368. if (number1 == number2)
  33369. return true;
  33370. if (number1 == null || number2 == null)
  33371. return false;
  33372. if (Math.abs(number1 - number2) <= $.$get$_epsilon0()) {
  33373. t1 = $.$get$_inverseEpsilon0();
  33374. t1 = B.JSNumber_methods.round$0(number1 * t1) === B.JSNumber_methods.round$0(number2 * t1);
  33375. } else
  33376. t1 = false;
  33377. return t1;
  33378. },
  33379. fuzzyHashCode0(number) {
  33380. if (!isFinite(number))
  33381. return B.JSNumber_methods.get$hashCode(number);
  33382. return B.JSInt_methods.get$hashCode(B.JSNumber_methods.round$0(number * $.$get$_inverseEpsilon0()));
  33383. },
  33384. fuzzyLessThan0(number1, number2) {
  33385. return number1 < number2 && !A.fuzzyEquals0(number1, number2);
  33386. },
  33387. fuzzyLessThanOrEquals0(number1, number2) {
  33388. return number1 < number2 || A.fuzzyEquals0(number1, number2);
  33389. },
  33390. fuzzyGreaterThan0(number1, number2) {
  33391. return number1 > number2 && !A.fuzzyEquals0(number1, number2);
  33392. },
  33393. fuzzyGreaterThanOrEquals0(number1, number2) {
  33394. return number1 > number2 || A.fuzzyEquals0(number1, number2);
  33395. },
  33396. fuzzyIsInt0(number) {
  33397. if (number == 1 / 0 || number == -1 / 0 || isNaN(number))
  33398. return false;
  33399. return A.fuzzyEquals0(number, B.JSNumber_methods.round$0(number));
  33400. },
  33401. fuzzyAsInt0(number) {
  33402. var rounded;
  33403. if (number == 1 / 0 || number == -1 / 0 || isNaN(number))
  33404. return null;
  33405. rounded = B.JSNumber_methods.round$0(number);
  33406. return A.fuzzyEquals0(number, rounded) ? rounded : null;
  33407. },
  33408. fuzzyRound0(number) {
  33409. var t1;
  33410. if (number > 0) {
  33411. t1 = B.JSNumber_methods.$mod(number, 1);
  33412. return t1 < 0.5 && !A.fuzzyEquals0(t1, 0.5) ? B.JSNumber_methods.floor$0(number) : B.JSNumber_methods.ceil$0(number);
  33413. } else {
  33414. t1 = B.JSNumber_methods.$mod(number, 1);
  33415. return t1 < 0.5 || A.fuzzyEquals0(t1, 0.5) ? B.JSNumber_methods.floor$0(number) : B.JSNumber_methods.ceil$0(number);
  33416. }
  33417. },
  33418. fuzzyCheckRange0(number, min, max) {
  33419. if (A.fuzzyEquals0(number, min))
  33420. return min;
  33421. if (A.fuzzyEquals0(number, max))
  33422. return max;
  33423. if (number > min && number < max)
  33424. return number;
  33425. return null;
  33426. },
  33427. fuzzyAssertRange0(number, min, max, $name) {
  33428. var result = A.fuzzyCheckRange0(number, min, max);
  33429. if (result != null)
  33430. return result;
  33431. throw A.wrapException(A.RangeError$range(number, min, max, $name, "must be between " + min + " and " + max));
  33432. },
  33433. moduloLikeSass0(num1, num2) {
  33434. var result;
  33435. if (num1 == 1 / 0 || num1 == -1 / 0)
  33436. return 0 / 0;
  33437. if (num2 == 1 / 0 || num2 == -1 / 0)
  33438. return A.DoubleWithSignedZero_get_signIncludingZero0(num1) === J.get$sign$in(num2) ? num1 : 0 / 0;
  33439. if (num2 > 0)
  33440. return B.JSNumber_methods.$mod(num1, num2);
  33441. if (num2 === 0)
  33442. return 0 / 0;
  33443. result = B.JSNumber_methods.$mod(num1, num2);
  33444. return result === 0 ? 0 : result + num2;
  33445. },
  33446. sqrt0(number) {
  33447. number.assertNoUnits$1("number");
  33448. return A.SassNumber_SassNumber0(Math.sqrt(number._number1$_value), null);
  33449. },
  33450. sin0(number) {
  33451. return A.SassNumber_SassNumber0(Math.sin(number.coerceValueToUnit$2("rad", "number")), null);
  33452. },
  33453. cos0(number) {
  33454. return A.SassNumber_SassNumber0(Math.cos(number.coerceValueToUnit$2("rad", "number")), null);
  33455. },
  33456. tan0(number) {
  33457. return A.SassNumber_SassNumber0(Math.tan(number.coerceValueToUnit$2("rad", "number")), null);
  33458. },
  33459. atan0(number) {
  33460. number.assertNoUnits$1("number");
  33461. return A.SassNumber_SassNumber$withUnits0(Math.atan(number._number1$_value) * 57.29577951308232, null, A._setArrayType(["deg"], type$.JSArray_String));
  33462. },
  33463. asin0(number) {
  33464. number.assertNoUnits$1("number");
  33465. return A.SassNumber_SassNumber$withUnits0(Math.asin(number._number1$_value) * 57.29577951308232, null, A._setArrayType(["deg"], type$.JSArray_String));
  33466. },
  33467. acos0(number) {
  33468. number.assertNoUnits$1("number");
  33469. return A.SassNumber_SassNumber$withUnits0(Math.acos(number._number1$_value) * 57.29577951308232, null, A._setArrayType(["deg"], type$.JSArray_String));
  33470. },
  33471. log0(number, base) {
  33472. if (base != null)
  33473. return A.SassNumber_SassNumber0(Math.log(number._number1$_value) / Math.log(base._number1$_value), null);
  33474. return A.SassNumber_SassNumber0(Math.log(number._number1$_value), null);
  33475. },
  33476. pow1(base, exponent) {
  33477. base.assertNoUnits$1("base");
  33478. exponent.assertNoUnits$1("exponent");
  33479. return A.SassNumber_SassNumber0(Math.pow(base._number1$_value, exponent._number1$_value), null);
  33480. },
  33481. DoubleWithSignedZero_get_signIncludingZero0(_this) {
  33482. if (_this === -0.0)
  33483. return -1;
  33484. if (_this === 0)
  33485. return 1;
  33486. return J.get$sign$in(_this);
  33487. },
  33488. main1(args) {
  33489. return A.main$body(args);
  33490. },
  33491. main$body(args) {
  33492. var $async$goto = 0,
  33493. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  33494. $async$returnValue, $async$handler = 2, $async$errorStack = [], options, t1, graph, error, error0, stackTrace, buffer, t2, exception, $async$exception, $async$temp1;
  33495. var $async$main1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  33496. if ($async$errorCode === 1) {
  33497. $async$errorStack.push($async$result);
  33498. $async$goto = $async$handler;
  33499. }
  33500. while (true)
  33501. switch ($async$goto) {
  33502. case 0:
  33503. // Function start
  33504. if (args.length >= 1 && "--embedded" === args[0]) {
  33505. A.main0(B.JSArray_methods.sublist$1(args, 1));
  33506. // goto return
  33507. $async$goto = 1;
  33508. break;
  33509. }
  33510. options = null;
  33511. $async$handler = 4;
  33512. options = A.ExecutableOptions_ExecutableOptions$parse(args);
  33513. t2 = options._options;
  33514. $._glyphs = !(t2.wasParsed$1("unicode") ? A._asBool(t2.$index(0, "unicode")) : $._glyphs !== B.C_AsciiGlyphSet) ? B.C_AsciiGlyphSet : B.C_UnicodeGlyphSet;
  33515. $async$goto = A._asBool(options._options.$index(0, "version")) ? 7 : 8;
  33516. break;
  33517. case 7:
  33518. // then
  33519. $async$temp1 = A;
  33520. $async$goto = 9;
  33521. return A._asyncAwait(A._loadVersion(), $async$main1);
  33522. case 9:
  33523. // returning from await.
  33524. $async$temp1.print($async$result);
  33525. t1 = A.isNodeJs() ? self.process : null;
  33526. if (t1 != null)
  33527. J.set$exitCode$x(t1, 0);
  33528. // goto return
  33529. $async$goto = 1;
  33530. break;
  33531. case 8:
  33532. // join
  33533. $async$goto = options.get$interactive() ? 10 : 11;
  33534. break;
  33535. case 10:
  33536. // then
  33537. $async$goto = 12;
  33538. return A._asyncAwait(A.repl(options), $async$main1);
  33539. case 12:
  33540. // returning from await.
  33541. // goto return
  33542. $async$goto = 1;
  33543. break;
  33544. case 11:
  33545. // join
  33546. options.get$silenceDeprecations(0);
  33547. options.get$futureDeprecations(0);
  33548. options.get$fatalDeprecations(0);
  33549. t2 = A.List_List$_of(options.get$pkgImporters(), type$.Importer_2);
  33550. t1 = t2;
  33551. J.add$1$ax(t1, $.$get$FilesystemImporter_noLoadPath());
  33552. t2 = type$.Uri;
  33553. 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));
  33554. $async$goto = A._asBool(options._options.$index(0, "watch")) ? 13 : 14;
  33555. break;
  33556. case 13:
  33557. // then
  33558. $async$goto = 15;
  33559. return A._asyncAwait(A.watch(options, graph), $async$main1);
  33560. case 15:
  33561. // returning from await.
  33562. // goto return
  33563. $async$goto = 1;
  33564. break;
  33565. case 14:
  33566. // join
  33567. t1 = options;
  33568. t2 = options;
  33569. t2._ensureSources$0();
  33570. t2 = t2._sourcesToDestinations;
  33571. t2.toString;
  33572. $async$goto = 16;
  33573. return A._asyncAwait(A.compileStylesheets(t1, graph, t2, A._asBool(options._options.$index(0, "update"))), $async$main1);
  33574. case 16:
  33575. // returning from await.
  33576. $async$handler = 2;
  33577. // goto after finally
  33578. $async$goto = 6;
  33579. break;
  33580. case 4:
  33581. // catch
  33582. $async$handler = 3;
  33583. $async$exception = $async$errorStack.pop();
  33584. t1 = A.unwrapException($async$exception);
  33585. if (t1 instanceof A.UsageException) {
  33586. error = t1;
  33587. A.print(error.message + "\n");
  33588. A.print("Usage: sass <input.scss> [output.css]\n sass <input.scss>:<output.css> <input/>:<output/> <dir/>\n");
  33589. t1 = $.$get$ExecutableOptions__parser();
  33590. A.print(new A._Usage(t1._optionsAndSeparators, new A.StringBuffer(""), t1.usageLineLength).generate$0());
  33591. t1 = A.isNodeJs() ? self.process : null;
  33592. if (t1 != null)
  33593. J.set$exitCode$x(t1, 64);
  33594. } else {
  33595. error0 = t1;
  33596. stackTrace = A.getTraceFromException($async$exception);
  33597. buffer = new A.StringBuffer("");
  33598. t1 = options;
  33599. t1 = t1 == null ? null : t1.get$color();
  33600. if (t1 === true)
  33601. buffer._contents += "\x1b[31m\x1b[1m";
  33602. buffer._contents += "Unexpected exception:";
  33603. t1 = options;
  33604. t1 = t1 == null ? null : t1.get$color();
  33605. if (t1 === true)
  33606. buffer._contents += "\x1b[0m";
  33607. buffer._contents += "\n";
  33608. t1 = buffer;
  33609. t2 = A.S(error0) + "\n";
  33610. t1._contents += t2;
  33611. buffer._contents += "\n";
  33612. buffer._contents += "\n";
  33613. t2 = buffer;
  33614. t1 = A.getTrace(error0);
  33615. t1 = B.JSString_methods.trimRight$0(A.Trace_Trace$from(t1 == null ? stackTrace : t1).get$terse().toString$0(0));
  33616. t2._contents += t1;
  33617. A.printError(buffer);
  33618. t1 = A.isNodeJs() ? self.process : null;
  33619. if (t1 != null)
  33620. J.set$exitCode$x(t1, 255);
  33621. }
  33622. // goto after finally
  33623. $async$goto = 6;
  33624. break;
  33625. case 3:
  33626. // uncaught
  33627. // goto rethrow
  33628. $async$goto = 2;
  33629. break;
  33630. case 6:
  33631. // after finally
  33632. case 1:
  33633. // return
  33634. return A._asyncReturn($async$returnValue, $async$completer);
  33635. case 2:
  33636. // rethrow
  33637. return A._asyncRethrow($async$errorStack.at(-1), $async$completer);
  33638. }
  33639. });
  33640. return A._asyncStartSync($async$main1, $async$completer);
  33641. },
  33642. _loadVersion() {
  33643. var $async$goto = 0,
  33644. $async$completer = A._makeAsyncAwaitCompleter(type$.String),
  33645. $async$returnValue;
  33646. var $async$_loadVersion = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  33647. if ($async$errorCode === 1)
  33648. return A._asyncRethrow($async$result, $async$completer);
  33649. while (true)
  33650. switch ($async$goto) {
  33651. case 0:
  33652. // Function start
  33653. $async$returnValue = "1.90.0 compiled with dart2js 3.8.3";
  33654. // goto return
  33655. $async$goto = 1;
  33656. break;
  33657. case 1:
  33658. // return
  33659. return A._asyncReturn($async$returnValue, $async$completer);
  33660. }
  33661. });
  33662. return A._asyncStartSync($async$_loadVersion, $async$completer);
  33663. },
  33664. SpanExtensions_trimLeft0(_this) {
  33665. var t1, start = 0;
  33666. while (true) {
  33667. t1 = _this.get$text().charCodeAt(start);
  33668. if (!(t1 === 32 || t1 === 9 || t1 === 10 || t1 === 13 || t1 === 12))
  33669. break;
  33670. ++start;
  33671. }
  33672. return A.FileSpanExtension_subspan(_this, start, null);
  33673. },
  33674. SpanExtensions_trimRight0(_this) {
  33675. var t1,
  33676. end = _this.get$text().length - 1;
  33677. while (true) {
  33678. t1 = _this.get$text().charCodeAt(end);
  33679. if (!(t1 === 32 || t1 === 9 || t1 === 10 || t1 === 13 || t1 === 12))
  33680. break;
  33681. --end;
  33682. }
  33683. return A.FileSpanExtension_subspan(_this, 0, end + 1);
  33684. },
  33685. SpanExtensions_initialIdentifier0(_this) {
  33686. var i,
  33687. scanner = A.StringScanner$(_this.get$text(), null, null);
  33688. for (i = 0; false; ++i)
  33689. scanner.readChar$0();
  33690. A._scanIdentifier0(scanner);
  33691. return A.FileSpanExtension_subspan(_this, 0, scanner._string_scanner$_position);
  33692. },
  33693. SpanExtensions_withoutInitialIdentifier0(_this) {
  33694. var scanner = A.StringScanner$(_this.get$text(), null, null);
  33695. A._scanIdentifier0(scanner);
  33696. return A.FileSpanExtension_subspan(_this, scanner._string_scanner$_position, null);
  33697. },
  33698. SpanExtensions_between(_this, other) {
  33699. if (!J.$eq$(_this.get$sourceUrl(_this), other.get$sourceUrl(other)))
  33700. throw A.wrapException(A.ArgumentError$(_this.toString$0(0) + " and " + other.toString$0(0) + " are in different files.", null));
  33701. else if (_this.get$end(_this).offset > other.get$start(other).offset)
  33702. throw A.wrapException(A.ArgumentError$(_this.toString$0(0) + " isn't before " + other.toString$0(0) + ".", null));
  33703. return _this.get$file(_this).span$2(0, _this.get$end(_this).offset, other.get$start(other).offset);
  33704. },
  33705. SpanExtensions_before(_this, inner) {
  33706. if (!J.$eq$(_this.get$sourceUrl(_this), inner.get$sourceUrl(inner)))
  33707. throw A.wrapException(A.ArgumentError$(_this.toString$0(0) + " and " + inner.toString$0(0) + " are in different files.", null));
  33708. else if (inner.get$start(inner).offset < _this.get$start(_this).offset || inner.get$end(inner).offset > _this.get$end(_this).offset)
  33709. throw A.wrapException(A.ArgumentError$(inner.toString$0(0) + " isn't inside " + _this.toString$0(0) + ".", null));
  33710. return _this.get$file(_this).span$2(0, _this.get$start(_this).offset, inner.get$start(inner).offset);
  33711. },
  33712. SpanExtensions_after(_this, inner) {
  33713. if (!J.$eq$(_this.get$sourceUrl(_this), inner.get$sourceUrl(inner)))
  33714. throw A.wrapException(A.ArgumentError$(_this.toString$0(0) + " and " + inner.toString$0(0) + " are in different files.", null));
  33715. else if (inner.get$start(inner).offset < _this.get$start(_this).offset || inner.get$end(inner).offset > _this.get$end(_this).offset)
  33716. throw A.wrapException(A.ArgumentError$(inner.toString$0(0) + " isn't inside " + _this.toString$0(0) + ".", null));
  33717. return _this.get$file(_this).span$2(0, inner.get$end(inner).offset, _this.get$end(_this).offset);
  33718. },
  33719. _scanIdentifier0(scanner) {
  33720. var t1, _0_0, t2;
  33721. for (t1 = scanner.string.length; scanner._string_scanner$_position !== t1;) {
  33722. _0_0 = scanner.peekChar$0();
  33723. if (92 === _0_0) {
  33724. A.consumeEscapedCharacter0(scanner);
  33725. continue;
  33726. }
  33727. if (A._isInt(_0_0)) {
  33728. if (_0_0 !== 95) {
  33729. if (!(_0_0 >= 97 && _0_0 <= 122))
  33730. t2 = _0_0 >= 65 && _0_0 <= 90;
  33731. else
  33732. t2 = true;
  33733. t2 = t2 || _0_0 >= 128;
  33734. } else
  33735. t2 = true;
  33736. if (!t2)
  33737. t2 = _0_0 >= 48 && _0_0 <= 57 || _0_0 === 45;
  33738. else
  33739. t2 = true;
  33740. } else
  33741. t2 = false;
  33742. if (t2) {
  33743. scanner.readChar$0();
  33744. continue;
  33745. }
  33746. break;
  33747. }
  33748. },
  33749. validateUrlScheme(scheme) {
  33750. var t1 = $.$get$_urlSchemeRegExp();
  33751. if (!t1._nativeRegExp.test(scheme))
  33752. A.jsThrow(new self.Error('"' + scheme + '" isn\'t a valid URL scheme (for example "file").'));
  33753. },
  33754. hueToRgb0(m1, m2, hue) {
  33755. var t1;
  33756. if (hue < 0)
  33757. ++hue;
  33758. if (hue > 1)
  33759. --hue;
  33760. $label0$0: {
  33761. if (hue < 0.16666666666666666) {
  33762. t1 = m1 + (m2 - m1) * hue * 6;
  33763. break $label0$0;
  33764. }
  33765. if (hue < 0.5) {
  33766. t1 = m2;
  33767. break $label0$0;
  33768. }
  33769. if (hue < 0.6666666666666666) {
  33770. t1 = m1 + (m2 - m1) * (0.6666666666666666 - hue) * 6;
  33771. break $label0$0;
  33772. }
  33773. t1 = m1;
  33774. break $label0$0;
  33775. }
  33776. return t1;
  33777. },
  33778. srgbAndDisplayP3ToLinear0(channel) {
  33779. var abs = Math.abs(channel);
  33780. return abs <= 0.04045 ? channel / 12.92 : J.get$sign$in(channel) * Math.pow((abs + 0.055) / 1.055, 2.4);
  33781. },
  33782. srgbAndDisplayP3FromLinear0(channel) {
  33783. var abs = Math.abs(channel);
  33784. return abs <= 0.0031308 ? channel * 12.92 : J.get$sign$in(channel) * (1.055 * Math.pow(abs, 0.4166666666666667) - 0.055);
  33785. },
  33786. labToLch0(dest, lightness, a, b, alpha, missingChroma, missingHue) {
  33787. var t3, t4, chroma, hue,
  33788. t1 = a == null,
  33789. t2 = t1 ? 0 : a;
  33790. t2 = Math.pow(t2, 2);
  33791. t3 = b == null;
  33792. t4 = t3 ? 0 : b;
  33793. chroma = Math.sqrt(t2 + Math.pow(t4, 2));
  33794. if (missingHue || A.fuzzyEquals0(chroma, 0))
  33795. hue = null;
  33796. else {
  33797. t2 = t3 ? 0 : b;
  33798. t1 = t1 ? 0 : a;
  33799. hue = Math.atan2(t2, t1) * 180 / 3.141592653589793;
  33800. }
  33801. t1 = missingChroma ? null : chroma;
  33802. return A.SassColor_SassColor$forSpaceInternal0(dest, lightness, t1, hue == null || hue >= 0 ? hue : hue + 360, alpha);
  33803. },
  33804. unwrapValue(object) {
  33805. var value;
  33806. if (object != null) {
  33807. if (object instanceof A.Value0)
  33808. return object;
  33809. value = object.dartValue;
  33810. if (value != null && value instanceof A.Value0)
  33811. return value;
  33812. if (object instanceof self.Error)
  33813. throw A.wrapException(object);
  33814. }
  33815. throw A.wrapException(A.S(object) + " must be a Sass value type.");
  33816. },
  33817. wrapValue(value) {
  33818. var t1;
  33819. $label0$0: {
  33820. if (value instanceof A.SassColor0) {
  33821. t1 = A.callConstructor($.$get$legacyColorClass(), [null, null, null, null, value]);
  33822. break $label0$0;
  33823. }
  33824. if (value instanceof A.SassList0) {
  33825. t1 = A.callConstructor($.$get$legacyListClass(), [null, null, value]);
  33826. break $label0$0;
  33827. }
  33828. if (value instanceof A.SassMap0) {
  33829. t1 = A.callConstructor($.$get$legacyMapClass(), [null, value]);
  33830. break $label0$0;
  33831. }
  33832. if (value instanceof A.SassNumber0) {
  33833. t1 = A.callConstructor($.$get$legacyNumberClass(), [null, null, value]);
  33834. break $label0$0;
  33835. }
  33836. if (value instanceof A.SassString0) {
  33837. t1 = A.callConstructor($.$get$legacyStringClass(), [null, value]);
  33838. break $label0$0;
  33839. }
  33840. t1 = value;
  33841. break $label0$0;
  33842. }
  33843. return t1;
  33844. }
  33845. },
  33846. B = {};
  33847. var holders = [A, J, B];
  33848. var $ = {};
  33849. A.JS_CONST.prototype = {};
  33850. J.Interceptor.prototype = {
  33851. $eq(receiver, other) {
  33852. return receiver === other;
  33853. },
  33854. get$hashCode(receiver) {
  33855. return A.Primitives_objectHashCode(receiver);
  33856. },
  33857. toString$0(receiver) {
  33858. return "Instance of '" + A.Primitives_objectTypeName(receiver) + "'";
  33859. },
  33860. noSuchMethod$1(receiver, invocation) {
  33861. throw A.wrapException(A.NoSuchMethodError_NoSuchMethodError$withInvocation(receiver, invocation));
  33862. },
  33863. get$runtimeType(receiver) {
  33864. return A.createRuntimeType(A._instanceTypeFromConstructor(this));
  33865. }
  33866. };
  33867. J.JSBool.prototype = {
  33868. toString$0(receiver) {
  33869. return String(receiver);
  33870. },
  33871. $or(receiver, other) {
  33872. return other || receiver;
  33873. },
  33874. get$hashCode(receiver) {
  33875. return receiver ? 519018 : 218159;
  33876. },
  33877. get$runtimeType(receiver) {
  33878. return A.createRuntimeType(type$.bool);
  33879. },
  33880. $isTrustedGetRuntimeType: 1,
  33881. $isbool: 1
  33882. };
  33883. J.JSNull.prototype = {
  33884. $eq(receiver, other) {
  33885. return null == other;
  33886. },
  33887. toString$0(receiver) {
  33888. return "null";
  33889. },
  33890. get$hashCode(receiver) {
  33891. return 0;
  33892. },
  33893. get$runtimeType(receiver) {
  33894. return A.createRuntimeType(type$.Null);
  33895. },
  33896. $isTrustedGetRuntimeType: 1,
  33897. $isNull: 1
  33898. };
  33899. J.JavaScriptObject.prototype = {$isJSObject: 1};
  33900. J.LegacyJavaScriptObject.prototype = {
  33901. get$hashCode(receiver) {
  33902. return 0;
  33903. },
  33904. toString$0(receiver) {
  33905. return String(receiver);
  33906. },
  33907. $isPromise: 1,
  33908. $isJsSystemError: 1,
  33909. $isImmutableList: 1,
  33910. $is_ConstructionOptions: 1,
  33911. $is_ChannelOptions: 1,
  33912. $is_ToGamutOptions: 1,
  33913. $is_InterpolationOptions: 1,
  33914. $is_NodeSassColor: 1,
  33915. $isCompileOptions: 1,
  33916. $isCompileStringOptions: 1,
  33917. $isNodeCompileResult: 1,
  33918. $isDeprecation1: 1,
  33919. $is_NodeException: 1,
  33920. $isJSExpressionVisitorObject: 1,
  33921. $isFiber: 1,
  33922. $isJSFunction0: 1,
  33923. $isImmutableList0: 1,
  33924. $isImmutableMap0: 1,
  33925. $isJSImporter: 1,
  33926. $isJSImporterResult: 1,
  33927. $isNodeImporterResult0: 1,
  33928. $is_ConstructorOptions: 1,
  33929. $is_NodeSassList: 1,
  33930. $isWarnOptions: 1,
  33931. $isDebugOptions: 1,
  33932. $is_NodeSassMap: 1,
  33933. $is_ConstructorOptions0: 1,
  33934. $is_NodeSassNumber: 1,
  33935. $isParserExports: 1,
  33936. $isJSClass0: 1,
  33937. $isRenderContextOptions0: 1,
  33938. $isRenderOptions: 1,
  33939. $isRenderResult: 1,
  33940. $isJSSet: 1,
  33941. $isJSStatementVisitorObject: 1,
  33942. $is_ConstructorOptions1: 1,
  33943. $is_NodeSassString: 1,
  33944. $isJSUrl0: 1,
  33945. get$isTTY(obj) {
  33946. return obj.isTTY;
  33947. },
  33948. get$write(obj) {
  33949. return obj.write;
  33950. },
  33951. write$1(receiver, p0) {
  33952. return receiver.write(p0);
  33953. },
  33954. createInterface$1(receiver, p0) {
  33955. return receiver.createInterface(p0);
  33956. },
  33957. on$2(receiver, p0, p1) {
  33958. return receiver.on(p0, p1);
  33959. },
  33960. get$close(obj) {
  33961. return obj.close;
  33962. },
  33963. close$0(receiver) {
  33964. return receiver.close();
  33965. },
  33966. setPrompt$1(receiver, p0) {
  33967. return receiver.setPrompt(p0);
  33968. },
  33969. get$length(obj) {
  33970. return obj.length;
  33971. },
  33972. toString$0(receiver) {
  33973. return receiver.toString();
  33974. },
  33975. get$debug(obj) {
  33976. return obj.debug;
  33977. },
  33978. debug$2(receiver, p0, p1) {
  33979. return receiver.debug(p0, p1);
  33980. },
  33981. get$error(obj) {
  33982. return obj.error;
  33983. },
  33984. error$1(receiver, p0) {
  33985. return receiver.error(p0);
  33986. },
  33987. error$2(receiver, p0, p1) {
  33988. return receiver.error(p0, p1);
  33989. },
  33990. log$1(receiver, p0) {
  33991. return receiver.log(p0);
  33992. },
  33993. get$warn(obj) {
  33994. return obj.warn;
  33995. },
  33996. warn$1(receiver, p0) {
  33997. return receiver.warn(p0);
  33998. },
  33999. warn$2(receiver, p0, p1) {
  34000. return receiver.warn(p0, p1);
  34001. },
  34002. existsSync$1(receiver, p0) {
  34003. return receiver.existsSync(p0);
  34004. },
  34005. lstatSync$1(receiver, p0) {
  34006. return receiver.lstatSync(p0);
  34007. },
  34008. mkdirSync$1(receiver, p0) {
  34009. return receiver.mkdirSync(p0);
  34010. },
  34011. readdirSync$1(receiver, p0) {
  34012. return receiver.readdirSync(p0);
  34013. },
  34014. readFileSync$2(receiver, p0, p1) {
  34015. return receiver.readFileSync(p0, p1);
  34016. },
  34017. get$realpathSync(obj) {
  34018. return obj.realpathSync;
  34019. },
  34020. statSync$1(receiver, p0) {
  34021. return receiver.statSync(p0);
  34022. },
  34023. unlinkSync$1(receiver, p0) {
  34024. return receiver.unlinkSync(p0);
  34025. },
  34026. watch$2(receiver, p0, p1) {
  34027. return receiver.watch(p0, p1);
  34028. },
  34029. writeFileSync$2(receiver, p0, p1) {
  34030. return receiver.writeFileSync(p0, p1);
  34031. },
  34032. call$1(receiver, p0) {
  34033. return receiver.call(p0);
  34034. },
  34035. call$2(receiver, p0, p1) {
  34036. return receiver.call(p0, p1);
  34037. },
  34038. call$3$1(receiver, p0) {
  34039. return receiver.call(p0);
  34040. },
  34041. call$2$1(receiver, p0) {
  34042. return receiver.call(p0);
  34043. },
  34044. call$1$1(receiver, p0) {
  34045. return receiver.call(p0);
  34046. },
  34047. call$3(receiver, p0, p1, p2) {
  34048. return receiver.call(p0, p1, p2);
  34049. },
  34050. call$3$3(receiver, p0, p1, p2) {
  34051. return receiver.call(p0, p1, p2);
  34052. },
  34053. call$2$2(receiver, p0, p1) {
  34054. return receiver.call(p0, p1);
  34055. },
  34056. call$1$2(receiver, p0, p1) {
  34057. return receiver.call(p0, p1);
  34058. },
  34059. call$2$3(receiver, p0, p1, p2) {
  34060. return receiver.call(p0, p1, p2);
  34061. },
  34062. native$1(receiver, p0) {
  34063. return receiver.native(p0);
  34064. },
  34065. get$path(obj) {
  34066. return obj.path;
  34067. },
  34068. isDirectory$0(receiver) {
  34069. return receiver.isDirectory();
  34070. },
  34071. isFile$0(receiver) {
  34072. return receiver.isFile();
  34073. },
  34074. isSymbolicLink$0(receiver) {
  34075. return receiver.isSymbolicLink();
  34076. },
  34077. get$mtime(obj) {
  34078. return obj.mtime;
  34079. },
  34080. then$2(receiver, p0, p1) {
  34081. return receiver.then(p0, p1);
  34082. },
  34083. then$1$1(receiver, p0) {
  34084. return receiver.then(p0);
  34085. },
  34086. getTime$0(receiver) {
  34087. return receiver.getTime();
  34088. },
  34089. get$message(obj) {
  34090. return obj.message;
  34091. },
  34092. message$1(receiver, p0) {
  34093. return receiver.message(p0);
  34094. },
  34095. get$filename(obj) {
  34096. return obj.filename;
  34097. },
  34098. get$id(obj) {
  34099. return obj.id;
  34100. },
  34101. get$code(obj) {
  34102. return obj.code;
  34103. },
  34104. get$syscall(obj) {
  34105. return obj.syscall;
  34106. },
  34107. get$argv(obj) {
  34108. return obj.argv;
  34109. },
  34110. get$env(obj) {
  34111. return obj.env;
  34112. },
  34113. get$exitCode(obj) {
  34114. return obj.exitCode;
  34115. },
  34116. set$exitCode(obj, v) {
  34117. return obj.exitCode = v;
  34118. },
  34119. get$platform(obj) {
  34120. return obj.platform;
  34121. },
  34122. get$release(obj) {
  34123. return obj.release;
  34124. },
  34125. get$stderr(obj) {
  34126. return obj.stderr;
  34127. },
  34128. get$stdin(obj) {
  34129. return obj.stdin;
  34130. },
  34131. get$stdout(obj) {
  34132. return obj.stdout;
  34133. },
  34134. get$name(obj) {
  34135. return obj.name;
  34136. },
  34137. push$1(receiver, p0) {
  34138. return receiver.push(p0);
  34139. },
  34140. call$0(receiver) {
  34141. return receiver.call();
  34142. },
  34143. call$2$0(receiver) {
  34144. return receiver.call();
  34145. },
  34146. call$1$0(receiver) {
  34147. return receiver.call();
  34148. },
  34149. apply$2(receiver, p0, p1) {
  34150. return receiver.apply(p0, p1);
  34151. },
  34152. toArray$0(receiver) {
  34153. return receiver.toArray();
  34154. },
  34155. asMutable$0(receiver) {
  34156. return receiver.asMutable();
  34157. },
  34158. asImmutable$0(receiver) {
  34159. return receiver.asImmutable();
  34160. },
  34161. $set$2(receiver, p0, p1) {
  34162. return receiver.set(p0, p1);
  34163. },
  34164. forEach$1(receiver, p0) {
  34165. return receiver.forEach(p0);
  34166. },
  34167. get$file(obj) {
  34168. return obj.file;
  34169. },
  34170. get$contents(obj) {
  34171. return obj.contents;
  34172. },
  34173. get$options(obj) {
  34174. return obj.options;
  34175. },
  34176. get$data(obj) {
  34177. return obj.data;
  34178. },
  34179. get$includePaths(obj) {
  34180. return obj.includePaths;
  34181. },
  34182. get$style(obj) {
  34183. return obj.style;
  34184. },
  34185. get$indentType(obj) {
  34186. return obj.indentType;
  34187. },
  34188. get$indentWidth(obj) {
  34189. return obj.indentWidth;
  34190. },
  34191. get$linefeed(obj) {
  34192. return obj.linefeed;
  34193. },
  34194. set$context(obj, v) {
  34195. return obj.context = v;
  34196. },
  34197. createRequire$1(receiver, p0) {
  34198. return receiver.createRequire(p0);
  34199. },
  34200. resolve$1(receiver, p0) {
  34201. return receiver.resolve(p0);
  34202. },
  34203. get$$prototype(obj) {
  34204. return obj.prototype;
  34205. },
  34206. get$red(obj) {
  34207. return obj.red;
  34208. },
  34209. get$green(obj) {
  34210. return obj.green;
  34211. },
  34212. get$blue(obj) {
  34213. return obj.blue;
  34214. },
  34215. get$hue(obj) {
  34216. return obj.hue;
  34217. },
  34218. get$saturation(obj) {
  34219. return obj.saturation;
  34220. },
  34221. get$lightness(obj) {
  34222. return obj.lightness;
  34223. },
  34224. get$whiteness(obj) {
  34225. return obj.whiteness;
  34226. },
  34227. get$blackness(obj) {
  34228. return obj.blackness;
  34229. },
  34230. get$alpha(obj) {
  34231. return obj.alpha;
  34232. },
  34233. get$a(obj) {
  34234. return obj.a;
  34235. },
  34236. get$b(obj) {
  34237. return obj.b;
  34238. },
  34239. get$x(obj) {
  34240. return obj.x;
  34241. },
  34242. get$y(obj) {
  34243. return obj.y;
  34244. },
  34245. get$z(obj) {
  34246. return obj.z;
  34247. },
  34248. get$chroma(obj) {
  34249. return obj.chroma;
  34250. },
  34251. get$space(obj) {
  34252. return obj.space;
  34253. },
  34254. get$method(obj) {
  34255. return obj.method;
  34256. },
  34257. get$weight(obj) {
  34258. return obj.weight;
  34259. },
  34260. get$dartValue(obj) {
  34261. return obj.dartValue;
  34262. },
  34263. set$dartValue(obj, v) {
  34264. return obj.dartValue = v;
  34265. },
  34266. get$alertAscii(obj) {
  34267. return obj.alertAscii;
  34268. },
  34269. get$alertColor(obj) {
  34270. return obj.alertColor;
  34271. },
  34272. get$loadPaths(obj) {
  34273. return obj.loadPaths;
  34274. },
  34275. get$quietDeps(obj) {
  34276. return obj.quietDeps;
  34277. },
  34278. get$verbose(obj) {
  34279. return obj.verbose;
  34280. },
  34281. get$charset(obj) {
  34282. return obj.charset;
  34283. },
  34284. get$sourceMap(obj) {
  34285. return obj.sourceMap;
  34286. },
  34287. get$sourceMapIncludeSources(obj) {
  34288. return obj.sourceMapIncludeSources;
  34289. },
  34290. get$logger(obj) {
  34291. return obj.logger;
  34292. },
  34293. get$importers(obj) {
  34294. return obj.importers;
  34295. },
  34296. get$functions(obj) {
  34297. return obj.functions;
  34298. },
  34299. get$fatalDeprecations(obj) {
  34300. return obj.fatalDeprecations;
  34301. },
  34302. get$silenceDeprecations(obj) {
  34303. return obj.silenceDeprecations;
  34304. },
  34305. get$futureDeprecations(obj) {
  34306. return obj.futureDeprecations;
  34307. },
  34308. get$syntax(obj) {
  34309. return obj.syntax;
  34310. },
  34311. get$url(obj) {
  34312. return obj.url;
  34313. },
  34314. get$importer(obj) {
  34315. return obj.importer;
  34316. },
  34317. get$_dartException(obj) {
  34318. return obj._dartException;
  34319. },
  34320. set$renderSync(obj, v) {
  34321. return obj.renderSync = v;
  34322. },
  34323. set$compileString(obj, v) {
  34324. return obj.compileString = v;
  34325. },
  34326. set$compileStringAsync(obj, v) {
  34327. return obj.compileStringAsync = v;
  34328. },
  34329. set$compile(obj, v) {
  34330. return obj.compile = v;
  34331. },
  34332. set$compileAsync(obj, v) {
  34333. return obj.compileAsync = v;
  34334. },
  34335. set$initCompiler(obj, v) {
  34336. return obj.initCompiler = v;
  34337. },
  34338. set$initAsyncCompiler(obj, v) {
  34339. return obj.initAsyncCompiler = v;
  34340. },
  34341. set$Compiler(obj, v) {
  34342. return obj.Compiler = v;
  34343. },
  34344. set$AsyncCompiler(obj, v) {
  34345. return obj.AsyncCompiler = v;
  34346. },
  34347. set$info(obj, v) {
  34348. return obj.info = v;
  34349. },
  34350. set$Exception(obj, v) {
  34351. return obj.Exception = v;
  34352. },
  34353. set$Logger(obj, v) {
  34354. return obj.Logger = v;
  34355. },
  34356. set$NodePackageImporter(obj, v) {
  34357. return obj.NodePackageImporter = v;
  34358. },
  34359. set$deprecations(obj, v) {
  34360. return obj.deprecations = v;
  34361. },
  34362. set$Version(obj, v) {
  34363. return obj.Version = v;
  34364. },
  34365. set$Value(obj, v) {
  34366. return obj.Value = v;
  34367. },
  34368. set$SassArgumentList(obj, v) {
  34369. return obj.SassArgumentList = v;
  34370. },
  34371. set$SassCalculation(obj, v) {
  34372. return obj.SassCalculation = v;
  34373. },
  34374. set$CalculationOperation(obj, v) {
  34375. return obj.CalculationOperation = v;
  34376. },
  34377. set$CalculationInterpolation(obj, v) {
  34378. return obj.CalculationInterpolation = v;
  34379. },
  34380. set$SassBoolean(obj, v) {
  34381. return obj.SassBoolean = v;
  34382. },
  34383. set$SassColor(obj, v) {
  34384. return obj.SassColor = v;
  34385. },
  34386. set$SassFunction(obj, v) {
  34387. return obj.SassFunction = v;
  34388. },
  34389. set$SassMixin(obj, v) {
  34390. return obj.SassMixin = v;
  34391. },
  34392. set$SassList(obj, v) {
  34393. return obj.SassList = v;
  34394. },
  34395. set$SassMap(obj, v) {
  34396. return obj.SassMap = v;
  34397. },
  34398. set$SassNumber(obj, v) {
  34399. return obj.SassNumber = v;
  34400. },
  34401. set$SassString(obj, v) {
  34402. return obj.SassString = v;
  34403. },
  34404. set$sassNull(obj, v) {
  34405. return obj.sassNull = v;
  34406. },
  34407. set$sassTrue(obj, v) {
  34408. return obj.sassTrue = v;
  34409. },
  34410. set$sassFalse(obj, v) {
  34411. return obj.sassFalse = v;
  34412. },
  34413. set$render(obj, v) {
  34414. return obj.render = v;
  34415. },
  34416. set$types(obj, v) {
  34417. return obj.types = v;
  34418. },
  34419. set$NULL(obj, v) {
  34420. return obj.NULL = v;
  34421. },
  34422. set$TRUE(obj, v) {
  34423. return obj.TRUE = v;
  34424. },
  34425. set$FALSE(obj, v) {
  34426. return obj.FALSE = v;
  34427. },
  34428. set$loadParserExports_(obj, v) {
  34429. return obj.loadParserExports_ = v;
  34430. },
  34431. visitBinaryOperationExpression$1(receiver, p0) {
  34432. return receiver.visitBinaryOperationExpression(p0);
  34433. },
  34434. visitBooleanExpression$1(receiver, p0) {
  34435. return receiver.visitBooleanExpression(p0);
  34436. },
  34437. visitColorExpression$1(receiver, p0) {
  34438. return receiver.visitColorExpression(p0);
  34439. },
  34440. visitInterpolatedFunctionExpression$1(receiver, p0) {
  34441. return receiver.visitInterpolatedFunctionExpression(p0);
  34442. },
  34443. visitFunctionExpression$1(receiver, p0) {
  34444. return receiver.visitFunctionExpression(p0);
  34445. },
  34446. visitIfExpression$1(receiver, p0) {
  34447. return receiver.visitIfExpression(p0);
  34448. },
  34449. visitListExpression$1(receiver, p0) {
  34450. return receiver.visitListExpression(p0);
  34451. },
  34452. visitMapExpression$1(receiver, p0) {
  34453. return receiver.visitMapExpression(p0);
  34454. },
  34455. visitNullExpression$1(receiver, p0) {
  34456. return receiver.visitNullExpression(p0);
  34457. },
  34458. visitNumberExpression$1(receiver, p0) {
  34459. return receiver.visitNumberExpression(p0);
  34460. },
  34461. visitParenthesizedExpression$1(receiver, p0) {
  34462. return receiver.visitParenthesizedExpression(p0);
  34463. },
  34464. visitSelectorExpression$1(receiver, p0) {
  34465. return receiver.visitSelectorExpression(p0);
  34466. },
  34467. visitStringExpression$1(receiver, p0) {
  34468. return receiver.visitStringExpression(p0);
  34469. },
  34470. visitSupportsExpression$1(receiver, p0) {
  34471. return receiver.visitSupportsExpression(p0);
  34472. },
  34473. visitUnaryOperationExpression$1(receiver, p0) {
  34474. return receiver.visitUnaryOperationExpression(p0);
  34475. },
  34476. visitValueExpression$1(receiver, p0) {
  34477. return receiver.visitValueExpression(p0);
  34478. },
  34479. visitVariableExpression$1(receiver, p0) {
  34480. return receiver.visitVariableExpression(p0);
  34481. },
  34482. get$current(obj) {
  34483. return obj.current;
  34484. },
  34485. yield$0(receiver) {
  34486. return receiver.yield();
  34487. },
  34488. run$1$1(receiver, p0) {
  34489. return receiver.run(p0);
  34490. },
  34491. run$1(receiver, p0) {
  34492. return receiver.run(p0);
  34493. },
  34494. run$0(receiver) {
  34495. return receiver.run();
  34496. },
  34497. get$canonicalize(obj) {
  34498. return obj.canonicalize;
  34499. },
  34500. canonicalize$1(receiver, p0) {
  34501. return receiver.canonicalize(p0);
  34502. },
  34503. get$load(obj) {
  34504. return obj.load;
  34505. },
  34506. load$1(receiver, p0) {
  34507. return receiver.load(p0);
  34508. },
  34509. get$findFileUrl(obj) {
  34510. return obj.findFileUrl;
  34511. },
  34512. get$nonCanonicalScheme(obj) {
  34513. return obj.nonCanonicalScheme;
  34514. },
  34515. get$sourceMapUrl(obj) {
  34516. return obj.sourceMapUrl;
  34517. },
  34518. get$separator(obj) {
  34519. return obj.separator;
  34520. },
  34521. get$brackets(obj) {
  34522. return obj.brackets;
  34523. },
  34524. get$numeratorUnits(obj) {
  34525. return obj.numeratorUnits;
  34526. },
  34527. get$denominatorUnits(obj) {
  34528. return obj.denominatorUnits;
  34529. },
  34530. get$pkgImporter(obj) {
  34531. return obj.pkgImporter;
  34532. },
  34533. get$indentedSyntax(obj) {
  34534. return obj.indentedSyntax;
  34535. },
  34536. get$omitSourceMapUrl(obj) {
  34537. return obj.omitSourceMapUrl;
  34538. },
  34539. get$outFile(obj) {
  34540. return obj.outFile;
  34541. },
  34542. get$outputStyle(obj) {
  34543. return obj.outputStyle;
  34544. },
  34545. get$fiber(obj) {
  34546. return obj.fiber;
  34547. },
  34548. get$sourceMapContents(obj) {
  34549. return obj.sourceMapContents;
  34550. },
  34551. get$sourceMapEmbed(obj) {
  34552. return obj.sourceMapEmbed;
  34553. },
  34554. get$sourceMapRoot(obj) {
  34555. return obj.sourceMapRoot;
  34556. },
  34557. set$cli_pkg_main_0_(obj, v) {
  34558. return obj.cli_pkg_main_0_ = v;
  34559. },
  34560. visitAtRootRule$1(receiver, p0) {
  34561. return receiver.visitAtRootRule(p0);
  34562. },
  34563. visitAtRule$1(receiver, p0) {
  34564. return receiver.visitAtRule(p0);
  34565. },
  34566. get$visitContentBlock(obj) {
  34567. return obj.visitContentBlock;
  34568. },
  34569. visitContentBlock$1(receiver, p0) {
  34570. return receiver.visitContentBlock(p0);
  34571. },
  34572. visitContentRule$1(receiver, p0) {
  34573. return receiver.visitContentRule(p0);
  34574. },
  34575. visitDebugRule$1(receiver, p0) {
  34576. return receiver.visitDebugRule(p0);
  34577. },
  34578. visitDeclaration$1(receiver, p0) {
  34579. return receiver.visitDeclaration(p0);
  34580. },
  34581. visitEachRule$1(receiver, p0) {
  34582. return receiver.visitEachRule(p0);
  34583. },
  34584. visitErrorRule$1(receiver, p0) {
  34585. return receiver.visitErrorRule(p0);
  34586. },
  34587. visitExtendRule$1(receiver, p0) {
  34588. return receiver.visitExtendRule(p0);
  34589. },
  34590. visitForRule$1(receiver, p0) {
  34591. return receiver.visitForRule(p0);
  34592. },
  34593. visitForwardRule$1(receiver, p0) {
  34594. return receiver.visitForwardRule(p0);
  34595. },
  34596. visitFunctionRule$1(receiver, p0) {
  34597. return receiver.visitFunctionRule(p0);
  34598. },
  34599. visitIfRule$1(receiver, p0) {
  34600. return receiver.visitIfRule(p0);
  34601. },
  34602. visitImportRule$1(receiver, p0) {
  34603. return receiver.visitImportRule(p0);
  34604. },
  34605. visitIncludeRule$1(receiver, p0) {
  34606. return receiver.visitIncludeRule(p0);
  34607. },
  34608. visitLoudComment$1(receiver, p0) {
  34609. return receiver.visitLoudComment(p0);
  34610. },
  34611. visitMediaRule$1(receiver, p0) {
  34612. return receiver.visitMediaRule(p0);
  34613. },
  34614. visitMixinRule$1(receiver, p0) {
  34615. return receiver.visitMixinRule(p0);
  34616. },
  34617. visitReturnRule$1(receiver, p0) {
  34618. return receiver.visitReturnRule(p0);
  34619. },
  34620. visitSilentComment$1(receiver, p0) {
  34621. return receiver.visitSilentComment(p0);
  34622. },
  34623. visitStyleRule$1(receiver, p0) {
  34624. return receiver.visitStyleRule(p0);
  34625. },
  34626. visitStylesheet$1(receiver, p0) {
  34627. return receiver.visitStylesheet(p0);
  34628. },
  34629. visitSupportsRule$1(receiver, p0) {
  34630. return receiver.visitSupportsRule(p0);
  34631. },
  34632. visitUseRule$1(receiver, p0) {
  34633. return receiver.visitUseRule(p0);
  34634. },
  34635. visitVariableDeclaration$1(receiver, p0) {
  34636. return receiver.visitVariableDeclaration(p0);
  34637. },
  34638. visitWarnRule$1(receiver, p0) {
  34639. return receiver.visitWarnRule(p0);
  34640. },
  34641. visitWhileRule$1(receiver, p0) {
  34642. return receiver.visitWhileRule(p0);
  34643. },
  34644. get$quotes(obj) {
  34645. return obj.quotes;
  34646. }
  34647. };
  34648. J.PlainJavaScriptObject.prototype = {};
  34649. J.UnknownJavaScriptObject.prototype = {};
  34650. J.JavaScriptFunction.prototype = {
  34651. toString$0(receiver) {
  34652. var dartClosure = receiver[$.$get$DART_CLOSURE_PROPERTY_NAME()];
  34653. if (dartClosure == null)
  34654. return this.super$LegacyJavaScriptObject$toString(receiver);
  34655. return "JavaScript function for " + A.S(J.toString$0$(dartClosure));
  34656. },
  34657. $isFunction: 1
  34658. };
  34659. J.JavaScriptBigInt.prototype = {
  34660. get$hashCode(receiver) {
  34661. return 0;
  34662. },
  34663. toString$0(receiver) {
  34664. return String(receiver);
  34665. }
  34666. };
  34667. J.JavaScriptSymbol.prototype = {
  34668. get$hashCode(receiver) {
  34669. return 0;
  34670. },
  34671. toString$0(receiver) {
  34672. return String(receiver);
  34673. }
  34674. };
  34675. J.JSArray.prototype = {
  34676. cast$1$0(receiver, $R) {
  34677. return new A.CastList(receiver, A._arrayInstanceType(receiver)._eval$1("@<1>")._bind$1($R)._eval$1("CastList<1,2>"));
  34678. },
  34679. add$1(receiver, value) {
  34680. receiver.$flags & 1 && A.throwUnsupportedOperation(receiver, 29);
  34681. receiver.push(value);
  34682. },
  34683. removeAt$1(receiver, index) {
  34684. var t1;
  34685. receiver.$flags & 1 && A.throwUnsupportedOperation(receiver, "removeAt", 1);
  34686. t1 = receiver.length;
  34687. if (index >= t1)
  34688. throw A.wrapException(A.RangeError$value(index, null, null));
  34689. return receiver.splice(index, 1)[0];
  34690. },
  34691. insert$2(receiver, index, value) {
  34692. var t1;
  34693. receiver.$flags & 1 && A.throwUnsupportedOperation(receiver, "insert", 2);
  34694. t1 = receiver.length;
  34695. if (index > t1)
  34696. throw A.wrapException(A.RangeError$value(index, null, null));
  34697. receiver.splice(index, 0, value);
  34698. },
  34699. insertAll$2(receiver, index, iterable) {
  34700. var insertionLength, end;
  34701. receiver.$flags & 1 && A.throwUnsupportedOperation(receiver, "insertAll", 2);
  34702. A.RangeError_checkValueInInterval(index, 0, receiver.length, "index");
  34703. if (!type$.EfficientLengthIterable_dynamic._is(iterable))
  34704. iterable = J.toList$0$ax(iterable);
  34705. insertionLength = J.get$length$asx(iterable);
  34706. receiver.length = receiver.length + insertionLength;
  34707. end = index + insertionLength;
  34708. this.setRange$4(receiver, end, receiver.length, receiver, index);
  34709. this.setRange$3(receiver, index, end, iterable);
  34710. },
  34711. removeLast$0(receiver) {
  34712. receiver.$flags & 1 && A.throwUnsupportedOperation(receiver, "removeLast", 1);
  34713. if (receiver.length === 0)
  34714. throw A.wrapException(A.diagnoseIndexError(receiver, -1));
  34715. return receiver.pop();
  34716. },
  34717. _removeWhere$2(receiver, test, removeMatching) {
  34718. var i, element, t1, retained = [],
  34719. end = receiver.length;
  34720. for (i = 0; i < end; ++i) {
  34721. element = receiver[i];
  34722. if (!test.call$1(element))
  34723. retained.push(element);
  34724. if (receiver.length !== end)
  34725. throw A.wrapException(A.ConcurrentModificationError$(receiver));
  34726. }
  34727. t1 = retained.length;
  34728. if (t1 === end)
  34729. return;
  34730. this.set$length(receiver, t1);
  34731. for (i = 0; i < retained.length; ++i)
  34732. receiver[i] = retained[i];
  34733. },
  34734. where$1(receiver, f) {
  34735. return new A.WhereIterable(receiver, f, A._arrayInstanceType(receiver)._eval$1("WhereIterable<1>"));
  34736. },
  34737. expand$1$1(receiver, f, $T) {
  34738. return new A.ExpandIterable(receiver, f, A._arrayInstanceType(receiver)._eval$1("@<1>")._bind$1($T)._eval$1("ExpandIterable<1,2>"));
  34739. },
  34740. addAll$1(receiver, collection) {
  34741. var t1;
  34742. receiver.$flags & 1 && A.throwUnsupportedOperation(receiver, "addAll", 2);
  34743. if (Array.isArray(collection)) {
  34744. this._addAllFromArray$1(receiver, collection);
  34745. return;
  34746. }
  34747. for (t1 = J.get$iterator$ax(collection); t1.moveNext$0();)
  34748. receiver.push(t1.get$current(t1));
  34749. },
  34750. _addAllFromArray$1(receiver, array) {
  34751. var i,
  34752. len = array.length;
  34753. if (len === 0)
  34754. return;
  34755. if (receiver === array)
  34756. throw A.wrapException(A.ConcurrentModificationError$(receiver));
  34757. for (i = 0; i < len; ++i)
  34758. receiver.push(array[i]);
  34759. },
  34760. clear$0(receiver) {
  34761. receiver.$flags & 1 && A.throwUnsupportedOperation(receiver, "clear", "clear");
  34762. receiver.length = 0;
  34763. },
  34764. forEach$1(receiver, f) {
  34765. var i,
  34766. end = receiver.length;
  34767. for (i = 0; i < end; ++i) {
  34768. f.call$1(receiver[i]);
  34769. if (receiver.length !== end)
  34770. throw A.wrapException(A.ConcurrentModificationError$(receiver));
  34771. }
  34772. },
  34773. map$1$1(receiver, f, $T) {
  34774. return new A.MappedListIterable(receiver, f, A._arrayInstanceType(receiver)._eval$1("@<1>")._bind$1($T)._eval$1("MappedListIterable<1,2>"));
  34775. },
  34776. join$1(receiver, separator) {
  34777. var i,
  34778. list = A.List_List$filled(receiver.length, "", false, type$.String);
  34779. for (i = 0; i < receiver.length; ++i)
  34780. list[i] = A.S(receiver[i]);
  34781. return list.join(separator);
  34782. },
  34783. join$0(receiver) {
  34784. return this.join$1(receiver, "");
  34785. },
  34786. take$1(receiver, n) {
  34787. return A.SubListIterable$(receiver, 0, A.checkNotNullable(n, "count", type$.int), A._arrayInstanceType(receiver)._precomputed1);
  34788. },
  34789. skip$1(receiver, n) {
  34790. return A.SubListIterable$(receiver, n, null, A._arrayInstanceType(receiver)._precomputed1);
  34791. },
  34792. fold$1$2(receiver, initialValue, combine) {
  34793. var value, i,
  34794. $length = receiver.length;
  34795. for (value = initialValue, i = 0; i < $length; ++i) {
  34796. value = combine.call$2(value, receiver[i]);
  34797. if (receiver.length !== $length)
  34798. throw A.wrapException(A.ConcurrentModificationError$(receiver));
  34799. }
  34800. return value;
  34801. },
  34802. fold$2(receiver, initialValue, combine) {
  34803. combine.toString;
  34804. return this.fold$1$2(receiver, initialValue, combine, type$.dynamic);
  34805. },
  34806. firstWhere$1(receiver, test) {
  34807. var i, element,
  34808. end = receiver.length;
  34809. for (i = 0; i < end; ++i) {
  34810. element = receiver[i];
  34811. if (test.call$1(element))
  34812. return element;
  34813. if (receiver.length !== end)
  34814. throw A.wrapException(A.ConcurrentModificationError$(receiver));
  34815. }
  34816. throw A.wrapException(A.IterableElementError_noElement());
  34817. },
  34818. elementAt$1(receiver, index) {
  34819. return receiver[index];
  34820. },
  34821. sublist$2(receiver, start, end) {
  34822. var end0 = receiver.length;
  34823. if (start > end0)
  34824. throw A.wrapException(A.RangeError$range(start, 0, end0, "start", null));
  34825. if (end == null)
  34826. end = end0;
  34827. else if (end < start || end > end0)
  34828. throw A.wrapException(A.RangeError$range(end, start, end0, "end", null));
  34829. if (start === end)
  34830. return A._setArrayType([], A._arrayInstanceType(receiver));
  34831. return A._setArrayType(receiver.slice(start, end), A._arrayInstanceType(receiver));
  34832. },
  34833. sublist$1(receiver, start) {
  34834. return this.sublist$2(receiver, start, null);
  34835. },
  34836. getRange$2(receiver, start, end) {
  34837. A.RangeError_checkValidRange(start, end, receiver.length);
  34838. return A.SubListIterable$(receiver, start, end, A._arrayInstanceType(receiver)._precomputed1);
  34839. },
  34840. get$first(receiver) {
  34841. if (receiver.length > 0)
  34842. return receiver[0];
  34843. throw A.wrapException(A.IterableElementError_noElement());
  34844. },
  34845. get$last(receiver) {
  34846. var t1 = receiver.length;
  34847. if (t1 > 0)
  34848. return receiver[t1 - 1];
  34849. throw A.wrapException(A.IterableElementError_noElement());
  34850. },
  34851. get$single(receiver) {
  34852. var t1 = receiver.length;
  34853. if (t1 === 1)
  34854. return receiver[0];
  34855. if (t1 === 0)
  34856. throw A.wrapException(A.IterableElementError_noElement());
  34857. throw A.wrapException(A.IterableElementError_tooMany());
  34858. },
  34859. removeRange$2(receiver, start, end) {
  34860. receiver.$flags & 1 && A.throwUnsupportedOperation(receiver, 18);
  34861. A.RangeError_checkValidRange(start, end, receiver.length);
  34862. receiver.splice(start, end - start);
  34863. },
  34864. setRange$4(receiver, start, end, iterable, skipCount) {
  34865. var $length, otherList, otherStart, t1, i;
  34866. receiver.$flags & 2 && A.throwUnsupportedOperation(receiver, 5);
  34867. A.RangeError_checkValidRange(start, end, receiver.length);
  34868. $length = end - start;
  34869. if ($length === 0)
  34870. return;
  34871. A.RangeError_checkNotNegative(skipCount, "skipCount");
  34872. if (type$.List_dynamic._is(iterable)) {
  34873. otherList = iterable;
  34874. otherStart = skipCount;
  34875. } else {
  34876. otherList = J.skip$1$ax(iterable, skipCount).toList$1$growable(0, false);
  34877. otherStart = 0;
  34878. }
  34879. t1 = J.getInterceptor$asx(otherList);
  34880. if (otherStart + $length > t1.get$length(otherList))
  34881. throw A.wrapException(A.IterableElementError_tooFew());
  34882. if (otherStart < start)
  34883. for (i = $length - 1; i >= 0; --i)
  34884. receiver[start + i] = t1.$index(otherList, otherStart + i);
  34885. else
  34886. for (i = 0; i < $length; ++i)
  34887. receiver[start + i] = t1.$index(otherList, otherStart + i);
  34888. },
  34889. setRange$3(receiver, start, end, iterable) {
  34890. return this.setRange$4(receiver, start, end, iterable, 0);
  34891. },
  34892. fillRange$3(receiver, start, end, fillValue) {
  34893. var i;
  34894. receiver.$flags & 2 && A.throwUnsupportedOperation(receiver, "fillRange");
  34895. A.RangeError_checkValidRange(start, end, receiver.length);
  34896. A._arrayInstanceType(receiver)._precomputed1._as(fillValue);
  34897. for (i = start; i < end; ++i)
  34898. receiver[i] = fillValue;
  34899. },
  34900. any$1(receiver, test) {
  34901. var i,
  34902. end = receiver.length;
  34903. for (i = 0; i < end; ++i) {
  34904. if (test.call$1(receiver[i]))
  34905. return true;
  34906. if (receiver.length !== end)
  34907. throw A.wrapException(A.ConcurrentModificationError$(receiver));
  34908. }
  34909. return false;
  34910. },
  34911. every$1(receiver, test) {
  34912. var i,
  34913. end = receiver.length;
  34914. for (i = 0; i < end; ++i) {
  34915. if (!test.call$1(receiver[i]))
  34916. return false;
  34917. if (receiver.length !== end)
  34918. throw A.wrapException(A.ConcurrentModificationError$(receiver));
  34919. }
  34920. return true;
  34921. },
  34922. get$reversed(receiver) {
  34923. return new A.ReversedListIterable(receiver, A._arrayInstanceType(receiver)._eval$1("ReversedListIterable<1>"));
  34924. },
  34925. sort$1(receiver, compare) {
  34926. var len, a, b, undefineds, i;
  34927. receiver.$flags & 2 && A.throwUnsupportedOperation(receiver, "sort");
  34928. len = receiver.length;
  34929. if (len < 2)
  34930. return;
  34931. if (compare == null)
  34932. compare = J._interceptors_JSArray__compareAny$closure();
  34933. if (len === 2) {
  34934. a = receiver[0];
  34935. b = receiver[1];
  34936. if (compare.call$2(a, b) > 0) {
  34937. receiver[0] = b;
  34938. receiver[1] = a;
  34939. }
  34940. return;
  34941. }
  34942. undefineds = 0;
  34943. if (A._arrayInstanceType(receiver)._precomputed1._is(null))
  34944. for (i = 0; i < receiver.length; ++i)
  34945. if (receiver[i] === void 0) {
  34946. receiver[i] = null;
  34947. ++undefineds;
  34948. }
  34949. receiver.sort(A.convertDartClosureToJS(compare, 2));
  34950. if (undefineds > 0)
  34951. this._replaceSomeNullsWithUndefined$1(receiver, undefineds);
  34952. },
  34953. sort$0(receiver) {
  34954. return this.sort$1(receiver, null);
  34955. },
  34956. _replaceSomeNullsWithUndefined$1(receiver, count) {
  34957. var i0,
  34958. i = receiver.length;
  34959. for (; i0 = i - 1, i > 0; i = i0)
  34960. if (receiver[i0] === null) {
  34961. receiver[i0] = void 0;
  34962. --count;
  34963. if (count === 0)
  34964. break;
  34965. }
  34966. },
  34967. indexOf$1(receiver, element) {
  34968. var i,
  34969. $length = receiver.length;
  34970. if (0 >= $length)
  34971. return -1;
  34972. for (i = 0; i < $length; ++i)
  34973. if (J.$eq$(receiver[i], element))
  34974. return i;
  34975. return -1;
  34976. },
  34977. contains$1(receiver, other) {
  34978. var i;
  34979. for (i = 0; i < receiver.length; ++i)
  34980. if (J.$eq$(receiver[i], other))
  34981. return true;
  34982. return false;
  34983. },
  34984. get$isEmpty(receiver) {
  34985. return receiver.length === 0;
  34986. },
  34987. get$isNotEmpty(receiver) {
  34988. return receiver.length !== 0;
  34989. },
  34990. toString$0(receiver) {
  34991. return A.Iterable_iterableToFullString(receiver, "[", "]");
  34992. },
  34993. toList$1$growable(receiver, growable) {
  34994. var t1 = A._setArrayType(receiver.slice(0), A._arrayInstanceType(receiver));
  34995. return t1;
  34996. },
  34997. toList$0(receiver) {
  34998. return this.toList$1$growable(receiver, true);
  34999. },
  35000. toSet$0(receiver) {
  35001. return A.LinkedHashSet_LinkedHashSet$from(receiver, A._arrayInstanceType(receiver)._precomputed1);
  35002. },
  35003. get$iterator(receiver) {
  35004. return new J.ArrayIterator(receiver, receiver.length, A._arrayInstanceType(receiver)._eval$1("ArrayIterator<1>"));
  35005. },
  35006. get$hashCode(receiver) {
  35007. return A.Primitives_objectHashCode(receiver);
  35008. },
  35009. get$length(receiver) {
  35010. return receiver.length;
  35011. },
  35012. set$length(receiver, newLength) {
  35013. receiver.$flags & 1 && A.throwUnsupportedOperation(receiver, "set length", "change the length of");
  35014. if (newLength < 0)
  35015. throw A.wrapException(A.RangeError$range(newLength, 0, null, "newLength", null));
  35016. if (newLength > receiver.length)
  35017. A._arrayInstanceType(receiver)._precomputed1._as(null);
  35018. receiver.length = newLength;
  35019. },
  35020. $index(receiver, index) {
  35021. if (!(index >= 0 && index < receiver.length))
  35022. throw A.wrapException(A.diagnoseIndexError(receiver, index));
  35023. return receiver[index];
  35024. },
  35025. $indexSet(receiver, index, value) {
  35026. receiver.$flags & 2 && A.throwUnsupportedOperation(receiver);
  35027. if (!(index >= 0 && index < receiver.length))
  35028. throw A.wrapException(A.diagnoseIndexError(receiver, index));
  35029. receiver[index] = value;
  35030. },
  35031. $add(receiver, other) {
  35032. var t1 = A.List_List$_of(receiver, A._arrayInstanceType(receiver)._precomputed1);
  35033. this.addAll$1(t1, other);
  35034. return t1;
  35035. },
  35036. indexWhere$1(receiver, test) {
  35037. var i;
  35038. if (0 >= receiver.length)
  35039. return -1;
  35040. for (i = 0; i < receiver.length; ++i)
  35041. if (test.call$1(receiver[i]))
  35042. return i;
  35043. return -1;
  35044. },
  35045. $isEfficientLengthIterable: 1,
  35046. $isIterable: 1,
  35047. $isList: 1
  35048. };
  35049. J.JSUnmodifiableArray.prototype = {};
  35050. J.ArrayIterator.prototype = {
  35051. get$current(_) {
  35052. var t1 = this._current;
  35053. return t1 == null ? this.$ti._precomputed1._as(t1) : t1;
  35054. },
  35055. moveNext$0() {
  35056. var t2, _this = this,
  35057. t1 = _this._iterable,
  35058. $length = t1.length;
  35059. if (_this._length !== $length)
  35060. throw A.wrapException(A.throwConcurrentModificationError(t1));
  35061. t2 = _this._index;
  35062. if (t2 >= $length) {
  35063. _this._current = null;
  35064. return false;
  35065. }
  35066. _this._current = t1[t2];
  35067. _this._index = t2 + 1;
  35068. return true;
  35069. }
  35070. };
  35071. J.JSNumber.prototype = {
  35072. compareTo$1(receiver, b) {
  35073. var bIsNegative;
  35074. if (receiver < b)
  35075. return -1;
  35076. else if (receiver > b)
  35077. return 1;
  35078. else if (receiver === b) {
  35079. if (receiver === 0) {
  35080. bIsNegative = this.get$isNegative(b);
  35081. if (this.get$isNegative(receiver) === bIsNegative)
  35082. return 0;
  35083. if (this.get$isNegative(receiver))
  35084. return -1;
  35085. return 1;
  35086. }
  35087. return 0;
  35088. } else if (isNaN(receiver)) {
  35089. if (isNaN(b))
  35090. return 0;
  35091. return 1;
  35092. } else
  35093. return -1;
  35094. },
  35095. get$isNegative(receiver) {
  35096. return receiver === 0 ? 1 / receiver < 0 : receiver < 0;
  35097. },
  35098. get$sign(receiver) {
  35099. var t1;
  35100. if (receiver > 0)
  35101. t1 = 1;
  35102. else
  35103. t1 = receiver < 0 ? -1 : receiver;
  35104. return t1;
  35105. },
  35106. ceil$0(receiver) {
  35107. var truncated, d;
  35108. if (receiver >= 0) {
  35109. if (receiver <= 2147483647) {
  35110. truncated = receiver | 0;
  35111. return receiver === truncated ? truncated : truncated + 1;
  35112. }
  35113. } else if (receiver >= -2147483648)
  35114. return receiver | 0;
  35115. d = Math.ceil(receiver);
  35116. if (isFinite(d))
  35117. return d;
  35118. throw A.wrapException(A.UnsupportedError$("" + receiver + ".ceil()"));
  35119. },
  35120. floor$0(receiver) {
  35121. var truncated, d;
  35122. if (receiver >= 0) {
  35123. if (receiver <= 2147483647)
  35124. return receiver | 0;
  35125. } else if (receiver >= -2147483648) {
  35126. truncated = receiver | 0;
  35127. return receiver === truncated ? truncated : truncated - 1;
  35128. }
  35129. d = Math.floor(receiver);
  35130. if (isFinite(d))
  35131. return d;
  35132. throw A.wrapException(A.UnsupportedError$("" + receiver + ".floor()"));
  35133. },
  35134. round$0(receiver) {
  35135. if (receiver > 0) {
  35136. if (receiver !== 1 / 0)
  35137. return Math.round(receiver);
  35138. } else if (receiver > -1 / 0)
  35139. return 0 - Math.round(0 - receiver);
  35140. throw A.wrapException(A.UnsupportedError$("" + receiver + ".round()"));
  35141. },
  35142. clamp$2(receiver, lowerLimit, upperLimit) {
  35143. if (this.compareTo$1(lowerLimit, upperLimit) > 0)
  35144. throw A.wrapException(A.argumentErrorValue(lowerLimit));
  35145. if (this.compareTo$1(receiver, lowerLimit) < 0)
  35146. return lowerLimit;
  35147. if (this.compareTo$1(receiver, upperLimit) > 0)
  35148. return upperLimit;
  35149. return receiver;
  35150. },
  35151. toRadixString$1(receiver, radix) {
  35152. var result, match, exponent, t1;
  35153. if (radix < 2 || radix > 36)
  35154. throw A.wrapException(A.RangeError$range(radix, 2, 36, "radix", null));
  35155. result = receiver.toString(radix);
  35156. if (result.charCodeAt(result.length - 1) !== 41)
  35157. return result;
  35158. match = /^([\da-z]+)(?:\.([\da-z]+))?\(e\+(\d+)\)$/.exec(result);
  35159. if (match == null)
  35160. A.throwExpression(A.UnsupportedError$("Unexpected toString result: " + result));
  35161. result = match[1];
  35162. exponent = +match[3];
  35163. t1 = match[2];
  35164. if (t1 != null) {
  35165. result += t1;
  35166. exponent -= t1.length;
  35167. }
  35168. return result + B.JSString_methods.$mul("0", exponent);
  35169. },
  35170. toString$0(receiver) {
  35171. if (receiver === 0 && 1 / receiver < 0)
  35172. return "-0.0";
  35173. else
  35174. return "" + receiver;
  35175. },
  35176. get$hashCode(receiver) {
  35177. var absolute, floorLog2, factor, scaled,
  35178. intValue = receiver | 0;
  35179. if (receiver === intValue)
  35180. return intValue & 536870911;
  35181. absolute = Math.abs(receiver);
  35182. floorLog2 = Math.log(absolute) / 0.6931471805599453 | 0;
  35183. factor = Math.pow(2, floorLog2);
  35184. scaled = absolute < 1 ? absolute / factor : factor / absolute;
  35185. return ((scaled * 9007199254740992 | 0) + (scaled * 3542243181176521 | 0)) * 599197 + floorLog2 * 1259 & 536870911;
  35186. },
  35187. $mod(receiver, other) {
  35188. var result = receiver % other;
  35189. if (result === 0)
  35190. return 0;
  35191. if (result > 0)
  35192. return result;
  35193. if (other < 0)
  35194. return result - other;
  35195. else
  35196. return result + other;
  35197. },
  35198. $tdiv(receiver, other) {
  35199. if ((receiver | 0) === receiver)
  35200. if (other >= 1 || other < -1)
  35201. return receiver / other | 0;
  35202. return this._tdivSlow$1(receiver, other);
  35203. },
  35204. _tdivFast$1(receiver, other) {
  35205. return (receiver | 0) === receiver ? receiver / other | 0 : this._tdivSlow$1(receiver, other);
  35206. },
  35207. _tdivSlow$1(receiver, other) {
  35208. var quotient = receiver / other;
  35209. if (quotient >= -2147483648 && quotient <= 2147483647)
  35210. return quotient | 0;
  35211. if (quotient > 0) {
  35212. if (quotient !== 1 / 0)
  35213. return Math.floor(quotient);
  35214. } else if (quotient > -1 / 0)
  35215. return Math.ceil(quotient);
  35216. throw A.wrapException(A.UnsupportedError$("Result of truncating division is " + A.S(quotient) + ": " + A.S(receiver) + " ~/ " + other));
  35217. },
  35218. _shrOtherPositive$1(receiver, other) {
  35219. var t1;
  35220. if (receiver > 0)
  35221. t1 = this._shrBothPositive$1(receiver, other);
  35222. else {
  35223. t1 = other > 31 ? 31 : other;
  35224. t1 = receiver >> t1 >>> 0;
  35225. }
  35226. return t1;
  35227. },
  35228. _shrReceiverPositive$1(receiver, other) {
  35229. if (0 > other)
  35230. throw A.wrapException(A.argumentErrorValue(other));
  35231. return this._shrBothPositive$1(receiver, other);
  35232. },
  35233. _shrBothPositive$1(receiver, other) {
  35234. return other > 31 ? 0 : receiver >>> other;
  35235. },
  35236. get$runtimeType(receiver) {
  35237. return A.createRuntimeType(type$.num);
  35238. },
  35239. $isComparable: 1,
  35240. $isdouble: 1,
  35241. $isnum: 1
  35242. };
  35243. J.JSInt.prototype = {
  35244. get$sign(receiver) {
  35245. var t1;
  35246. if (receiver > 0)
  35247. t1 = 1;
  35248. else
  35249. t1 = receiver < 0 ? -1 : receiver;
  35250. return t1;
  35251. },
  35252. get$runtimeType(receiver) {
  35253. return A.createRuntimeType(type$.int);
  35254. },
  35255. $isTrustedGetRuntimeType: 1,
  35256. $isint: 1
  35257. };
  35258. J.JSNumNotInt.prototype = {
  35259. get$runtimeType(receiver) {
  35260. return A.createRuntimeType(type$.double);
  35261. },
  35262. $isTrustedGetRuntimeType: 1
  35263. };
  35264. J.JSString.prototype = {
  35265. codeUnitAt$1(receiver, index) {
  35266. if (index < 0)
  35267. throw A.wrapException(A.diagnoseIndexError(receiver, index));
  35268. if (index >= receiver.length)
  35269. A.throwExpression(A.diagnoseIndexError(receiver, index));
  35270. return receiver.charCodeAt(index);
  35271. },
  35272. allMatches$2(receiver, string, start) {
  35273. var t1 = string.length;
  35274. if (start > t1)
  35275. throw A.wrapException(A.RangeError$range(start, 0, t1, null, null));
  35276. return new A._StringAllMatchesIterable(string, receiver, start);
  35277. },
  35278. allMatches$1(receiver, string) {
  35279. return this.allMatches$2(receiver, string, 0);
  35280. },
  35281. matchAsPrefix$2(receiver, string, start) {
  35282. var t1, i, _null = null;
  35283. if (start < 0 || start > string.length)
  35284. throw A.wrapException(A.RangeError$range(start, 0, string.length, _null, _null));
  35285. t1 = receiver.length;
  35286. if (start + t1 > string.length)
  35287. return _null;
  35288. for (i = 0; i < t1; ++i)
  35289. if (string.charCodeAt(start + i) !== receiver.charCodeAt(i))
  35290. return _null;
  35291. return new A.StringMatch(start, receiver);
  35292. },
  35293. $add(receiver, other) {
  35294. return receiver + other;
  35295. },
  35296. endsWith$1(receiver, other) {
  35297. var otherLength = other.length,
  35298. t1 = receiver.length;
  35299. if (otherLength > t1)
  35300. return false;
  35301. return other === this.substring$1(receiver, t1 - otherLength);
  35302. },
  35303. replaceFirst$2(receiver, from, to) {
  35304. A.RangeError_checkValueInInterval(0, 0, receiver.length, "startIndex");
  35305. return A.stringReplaceFirstUnchecked(receiver, from, to, 0);
  35306. },
  35307. split$1(receiver, pattern) {
  35308. var t1;
  35309. if (typeof pattern == "string")
  35310. return A._setArrayType(receiver.split(pattern), type$.JSArray_String);
  35311. else {
  35312. if (pattern instanceof A.JSSyntaxRegExp) {
  35313. t1 = pattern._hasCapturesCache;
  35314. t1 = !(t1 == null ? pattern._hasCapturesCache = pattern._computeHasCaptures$0() : t1);
  35315. } else
  35316. t1 = false;
  35317. if (t1)
  35318. return A._setArrayType(receiver.split(pattern._nativeRegExp), type$.JSArray_String);
  35319. else
  35320. return this._defaultSplit$1(receiver, pattern);
  35321. }
  35322. },
  35323. replaceRange$3(receiver, start, end, replacement) {
  35324. var e = A.RangeError_checkValidRange(start, end, receiver.length);
  35325. return A.stringReplaceRangeUnchecked(receiver, start, e, replacement);
  35326. },
  35327. _defaultSplit$1(receiver, pattern) {
  35328. var t1, start, $length, match, matchStart, matchEnd,
  35329. result = A._setArrayType([], type$.JSArray_String);
  35330. for (t1 = J.allMatches$1$s(pattern, receiver), t1 = t1.get$iterator(t1), start = 0, $length = 1; t1.moveNext$0();) {
  35331. match = t1.get$current(t1);
  35332. matchStart = match.get$start(match);
  35333. matchEnd = match.get$end(match);
  35334. $length = matchEnd - matchStart;
  35335. if ($length === 0 && start === matchStart)
  35336. continue;
  35337. result.push(this.substring$2(receiver, start, matchStart));
  35338. start = matchEnd;
  35339. }
  35340. if (start < receiver.length || $length > 0)
  35341. result.push(this.substring$1(receiver, start));
  35342. return result;
  35343. },
  35344. startsWith$2(receiver, pattern, index) {
  35345. var endIndex;
  35346. if (index < 0 || index > receiver.length)
  35347. throw A.wrapException(A.RangeError$range(index, 0, receiver.length, null, null));
  35348. if (typeof pattern == "string") {
  35349. endIndex = index + pattern.length;
  35350. if (endIndex > receiver.length)
  35351. return false;
  35352. return pattern === receiver.substring(index, endIndex);
  35353. }
  35354. return J.matchAsPrefix$2$s(pattern, receiver, index) != null;
  35355. },
  35356. startsWith$1(receiver, pattern) {
  35357. return this.startsWith$2(receiver, pattern, 0);
  35358. },
  35359. substring$2(receiver, start, end) {
  35360. return receiver.substring(start, A.RangeError_checkValidRange(start, end, receiver.length));
  35361. },
  35362. substring$1(receiver, start) {
  35363. return this.substring$2(receiver, start, null);
  35364. },
  35365. trim$0(receiver) {
  35366. var startIndex, t1, endIndex0,
  35367. result = receiver.trim(),
  35368. endIndex = result.length;
  35369. if (endIndex === 0)
  35370. return result;
  35371. if (result.charCodeAt(0) === 133) {
  35372. startIndex = J.JSString__skipLeadingWhitespace(result, 1);
  35373. if (startIndex === endIndex)
  35374. return "";
  35375. } else
  35376. startIndex = 0;
  35377. t1 = endIndex - 1;
  35378. endIndex0 = result.charCodeAt(t1) === 133 ? J.JSString__skipTrailingWhitespace(result, t1) : endIndex;
  35379. if (startIndex === 0 && endIndex0 === endIndex)
  35380. return result;
  35381. return result.substring(startIndex, endIndex0);
  35382. },
  35383. trimLeft$0(receiver) {
  35384. var result = receiver.trimStart();
  35385. if (result.length === 0)
  35386. return result;
  35387. if (result.charCodeAt(0) !== 133)
  35388. return result;
  35389. return result.substring(J.JSString__skipLeadingWhitespace(result, 1));
  35390. },
  35391. trimRight$0(receiver) {
  35392. var t1,
  35393. result = receiver.trimEnd(),
  35394. endIndex = result.length;
  35395. if (endIndex === 0)
  35396. return result;
  35397. t1 = endIndex - 1;
  35398. if (result.charCodeAt(t1) !== 133)
  35399. return result;
  35400. return result.substring(0, J.JSString__skipTrailingWhitespace(result, t1));
  35401. },
  35402. $mul(receiver, times) {
  35403. var s, result;
  35404. if (0 >= times)
  35405. return "";
  35406. if (times === 1 || receiver.length === 0)
  35407. return receiver;
  35408. if (times !== times >>> 0)
  35409. throw A.wrapException(B.C_OutOfMemoryError);
  35410. for (s = receiver, result = ""; true;) {
  35411. if ((times & 1) === 1)
  35412. result = s + result;
  35413. times = times >>> 1;
  35414. if (times === 0)
  35415. break;
  35416. s += s;
  35417. }
  35418. return result;
  35419. },
  35420. padLeft$2(receiver, width, padding) {
  35421. var delta = width - receiver.length;
  35422. if (delta <= 0)
  35423. return receiver;
  35424. return this.$mul(padding, delta) + receiver;
  35425. },
  35426. padRight$1(receiver, width) {
  35427. var delta = width - receiver.length;
  35428. if (delta <= 0)
  35429. return receiver;
  35430. return receiver + this.$mul(" ", delta);
  35431. },
  35432. indexOf$2(receiver, pattern, start) {
  35433. var t1;
  35434. if (start < 0 || start > receiver.length)
  35435. throw A.wrapException(A.RangeError$range(start, 0, receiver.length, null, null));
  35436. t1 = receiver.indexOf(pattern, start);
  35437. return t1;
  35438. },
  35439. indexOf$1(receiver, pattern) {
  35440. return this.indexOf$2(receiver, pattern, 0);
  35441. },
  35442. lastIndexOf$2(receiver, pattern, start) {
  35443. var t1, t2, i;
  35444. if (start == null)
  35445. start = receiver.length;
  35446. else if (start < 0 || start > receiver.length)
  35447. throw A.wrapException(A.RangeError$range(start, 0, receiver.length, null, null));
  35448. if (typeof pattern == "string") {
  35449. t1 = pattern.length;
  35450. t2 = receiver.length;
  35451. if (start + t1 > t2)
  35452. start = t2 - t1;
  35453. return receiver.lastIndexOf(pattern, start);
  35454. }
  35455. for (t1 = J.getInterceptor$s(pattern), i = start; i >= 0; --i)
  35456. if (t1.matchAsPrefix$2(pattern, receiver, i) != null)
  35457. return i;
  35458. return -1;
  35459. },
  35460. lastIndexOf$1(receiver, pattern) {
  35461. return this.lastIndexOf$2(receiver, pattern, null);
  35462. },
  35463. contains$2(receiver, other, startIndex) {
  35464. var t1 = receiver.length;
  35465. if (startIndex > t1)
  35466. throw A.wrapException(A.RangeError$range(startIndex, 0, t1, null, null));
  35467. return A.stringContainsUnchecked(receiver, other, startIndex);
  35468. },
  35469. contains$1(receiver, other) {
  35470. return this.contains$2(receiver, other, 0);
  35471. },
  35472. compareTo$1(receiver, other) {
  35473. var t1;
  35474. if (receiver === other)
  35475. t1 = 0;
  35476. else
  35477. t1 = receiver < other ? -1 : 1;
  35478. return t1;
  35479. },
  35480. toString$0(receiver) {
  35481. return receiver;
  35482. },
  35483. get$hashCode(receiver) {
  35484. var t1, hash, i;
  35485. for (t1 = receiver.length, hash = 0, i = 0; i < t1; ++i) {
  35486. hash = hash + receiver.charCodeAt(i) & 536870911;
  35487. hash = hash + ((hash & 524287) << 10) & 536870911;
  35488. hash ^= hash >> 6;
  35489. }
  35490. hash = hash + ((hash & 67108863) << 3) & 536870911;
  35491. hash ^= hash >> 11;
  35492. return hash + ((hash & 16383) << 15) & 536870911;
  35493. },
  35494. get$runtimeType(receiver) {
  35495. return A.createRuntimeType(type$.String);
  35496. },
  35497. get$length(receiver) {
  35498. return receiver.length;
  35499. },
  35500. $isTrustedGetRuntimeType: 1,
  35501. $isComparable: 1,
  35502. $isString: 1
  35503. };
  35504. A._CastIterableBase.prototype = {
  35505. get$iterator(_) {
  35506. return new A.CastIterator(J.get$iterator$ax(this.get$_source()), A._instanceType(this)._eval$1("CastIterator<1,2>"));
  35507. },
  35508. get$length(_) {
  35509. return J.get$length$asx(this.get$_source());
  35510. },
  35511. get$isEmpty(_) {
  35512. return J.get$isEmpty$asx(this.get$_source());
  35513. },
  35514. get$isNotEmpty(_) {
  35515. return J.get$isNotEmpty$asx(this.get$_source());
  35516. },
  35517. skip$1(_, count) {
  35518. var t1 = A._instanceType(this);
  35519. return A.CastIterable_CastIterable(J.skip$1$ax(this.get$_source(), count), t1._precomputed1, t1._rest[1]);
  35520. },
  35521. take$1(_, count) {
  35522. var t1 = A._instanceType(this);
  35523. return A.CastIterable_CastIterable(J.take$1$ax(this.get$_source(), count), t1._precomputed1, t1._rest[1]);
  35524. },
  35525. elementAt$1(_, index) {
  35526. return A._instanceType(this)._rest[1]._as(J.elementAt$1$ax(this.get$_source(), index));
  35527. },
  35528. get$first(_) {
  35529. return A._instanceType(this)._rest[1]._as(J.get$first$ax(this.get$_source()));
  35530. },
  35531. get$last(_) {
  35532. return A._instanceType(this)._rest[1]._as(J.get$last$ax(this.get$_source()));
  35533. },
  35534. get$single(_) {
  35535. return A._instanceType(this)._rest[1]._as(J.get$single$ax(this.get$_source()));
  35536. },
  35537. contains$1(_, other) {
  35538. return J.contains$1$asx(this.get$_source(), other);
  35539. },
  35540. toString$0(_) {
  35541. return J.toString$0$(this.get$_source());
  35542. }
  35543. };
  35544. A.CastIterator.prototype = {
  35545. moveNext$0() {
  35546. return this._source.moveNext$0();
  35547. },
  35548. get$current(_) {
  35549. var t1 = this._source;
  35550. return this.$ti._rest[1]._as(t1.get$current(t1));
  35551. }
  35552. };
  35553. A.CastIterable.prototype = {
  35554. get$_source() {
  35555. return this._source;
  35556. }
  35557. };
  35558. A._EfficientLengthCastIterable.prototype = {$isEfficientLengthIterable: 1};
  35559. A._CastListBase.prototype = {
  35560. $index(_, index) {
  35561. return this.$ti._rest[1]._as(J.$index$asx(this._source, index));
  35562. },
  35563. $indexSet(_, index, value) {
  35564. J.$indexSet$ax(this._source, index, this.$ti._precomputed1._as(value));
  35565. },
  35566. set$length(_, $length) {
  35567. J.set$length$asx(this._source, $length);
  35568. },
  35569. add$1(_, value) {
  35570. J.add$1$ax(this._source, this.$ti._precomputed1._as(value));
  35571. },
  35572. addAll$1(_, values) {
  35573. var t1 = this.$ti;
  35574. J.addAll$1$ax(this._source, A.CastIterable_CastIterable(values, t1._rest[1], t1._precomputed1));
  35575. },
  35576. sort$1(_, compare) {
  35577. var t1 = compare == null ? null : new A._CastListBase_sort_closure(this, compare);
  35578. J.sort$1$ax(this._source, t1);
  35579. },
  35580. getRange$2(_, start, end) {
  35581. var t1 = this.$ti;
  35582. return A.CastIterable_CastIterable(J.getRange$2$ax(this._source, start, end), t1._precomputed1, t1._rest[1]);
  35583. },
  35584. setRange$4(_, start, end, iterable, skipCount) {
  35585. var t1 = this.$ti;
  35586. J.setRange$4$ax(this._source, start, end, A.CastIterable_CastIterable(iterable, t1._rest[1], t1._precomputed1), skipCount);
  35587. },
  35588. removeRange$2(_, start, end) {
  35589. J.removeRange$2$ax(this._source, start, end);
  35590. },
  35591. fillRange$3(_, start, end, fillValue) {
  35592. J.fillRange$3$ax(this._source, start, end, this.$ti._precomputed1._as(fillValue));
  35593. },
  35594. $isEfficientLengthIterable: 1,
  35595. $isList: 1
  35596. };
  35597. A._CastListBase_sort_closure.prototype = {
  35598. call$2(v1, v2) {
  35599. var t1 = this.$this.$ti._rest[1];
  35600. return this.compare.call$2(t1._as(v1), t1._as(v2));
  35601. },
  35602. $signature() {
  35603. return this.$this.$ti._eval$1("int(1,1)");
  35604. }
  35605. };
  35606. A.CastList.prototype = {
  35607. cast$1$0(_, $R) {
  35608. return new A.CastList(this._source, this.$ti._eval$1("@<1>")._bind$1($R)._eval$1("CastList<1,2>"));
  35609. },
  35610. get$_source() {
  35611. return this._source;
  35612. }
  35613. };
  35614. A.CastSet.prototype = {
  35615. add$1(_, value) {
  35616. return this._source.add$1(0, this.$ti._precomputed1._as(value));
  35617. },
  35618. addAll$1(_, elements) {
  35619. var t1 = this.$ti;
  35620. this._source.addAll$1(0, A.CastIterable_CastIterable(elements, t1._rest[1], t1._precomputed1));
  35621. },
  35622. difference$1(other) {
  35623. var _this = this;
  35624. if (_this._emptySet != null)
  35625. return _this._conditionalAdd$2(other, false);
  35626. return new A.CastSet(_this._source.difference$1(other), null, _this.$ti);
  35627. },
  35628. _conditionalAdd$2(other, otherContains) {
  35629. var t3, castElement,
  35630. emptySet = this._emptySet,
  35631. t1 = this.$ti,
  35632. t2 = t1._rest[1],
  35633. result = emptySet == null ? A.LinkedHashSet_LinkedHashSet(t2) : emptySet.call$1$0(t2);
  35634. for (t2 = this._source, t2 = t2.get$iterator(t2), t3 = other._source, t1 = t1._rest[1]; t2.moveNext$0();) {
  35635. castElement = t1._as(t2.get$current(t2));
  35636. if (otherContains === t3.contains$1(0, castElement))
  35637. result.add$1(0, castElement);
  35638. }
  35639. return result;
  35640. },
  35641. toSet$0(_) {
  35642. var emptySet = this._emptySet,
  35643. t1 = this.$ti._rest[1],
  35644. result = emptySet == null ? A.LinkedHashSet_LinkedHashSet(t1) : emptySet.call$1$0(t1);
  35645. result.addAll$1(0, this);
  35646. return result;
  35647. },
  35648. $isEfficientLengthIterable: 1,
  35649. $isSet: 1,
  35650. get$_source() {
  35651. return this._source;
  35652. }
  35653. };
  35654. A.CastMap.prototype = {
  35655. cast$2$0(_, RK, RV) {
  35656. 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>"));
  35657. },
  35658. containsKey$1(key) {
  35659. return this._source.containsKey$1(key);
  35660. },
  35661. $index(_, key) {
  35662. return this.$ti._eval$1("4?")._as(this._source.$index(0, key));
  35663. },
  35664. $indexSet(_, key, value) {
  35665. var t1 = this.$ti;
  35666. this._source.$indexSet(0, t1._precomputed1._as(key), t1._rest[1]._as(value));
  35667. },
  35668. addAll$1(_, other) {
  35669. this._source.addAll$1(0, new A.CastMap(other, this.$ti._eval$1("CastMap<3,4,1,2>")));
  35670. },
  35671. remove$1(_, key) {
  35672. return this.$ti._eval$1("4?")._as(this._source.remove$1(0, key));
  35673. },
  35674. forEach$1(_, f) {
  35675. this._source.forEach$1(0, new A.CastMap_forEach_closure(this, f));
  35676. },
  35677. get$keys(_) {
  35678. var t1 = this._source,
  35679. t2 = this.$ti;
  35680. return A.CastIterable_CastIterable(t1.get$keys(t1), t2._precomputed1, t2._rest[2]);
  35681. },
  35682. get$values(_) {
  35683. var t1 = this._source,
  35684. t2 = this.$ti;
  35685. return A.CastIterable_CastIterable(t1.get$values(t1), t2._rest[1], t2._rest[3]);
  35686. },
  35687. get$length(_) {
  35688. var t1 = this._source;
  35689. return t1.get$length(t1);
  35690. },
  35691. get$isEmpty(_) {
  35692. var t1 = this._source;
  35693. return t1.get$isEmpty(t1);
  35694. },
  35695. get$isNotEmpty(_) {
  35696. var t1 = this._source;
  35697. return t1.get$isNotEmpty(t1);
  35698. },
  35699. get$entries(_) {
  35700. var t1 = this._source;
  35701. t1 = t1.get$entries(t1);
  35702. return t1.map$1$1(t1, new A.CastMap_entries_closure(this), this.$ti._eval$1("MapEntry<3,4>"));
  35703. }
  35704. };
  35705. A.CastMap_forEach_closure.prototype = {
  35706. call$2(key, value) {
  35707. var t1 = this.$this.$ti;
  35708. this.f.call$2(t1._rest[2]._as(key), t1._rest[3]._as(value));
  35709. },
  35710. $signature() {
  35711. return this.$this.$ti._eval$1("~(1,2)");
  35712. }
  35713. };
  35714. A.CastMap_entries_closure.prototype = {
  35715. call$1(e) {
  35716. var t1 = this.$this.$ti;
  35717. return new A.MapEntry(t1._rest[2]._as(e.key), t1._rest[3]._as(e.value), t1._eval$1("MapEntry<3,4>"));
  35718. },
  35719. $signature() {
  35720. return this.$this.$ti._eval$1("MapEntry<3,4>(MapEntry<1,2>)");
  35721. }
  35722. };
  35723. A.LateError.prototype = {
  35724. toString$0(_) {
  35725. return "LateInitializationError: " + this._message;
  35726. }
  35727. };
  35728. A.CodeUnits.prototype = {
  35729. get$length(_) {
  35730. return this._string.length;
  35731. },
  35732. $index(_, i) {
  35733. return this._string.charCodeAt(i);
  35734. }
  35735. };
  35736. A.nullFuture_closure.prototype = {
  35737. call$0() {
  35738. return A.Future_Future$value(null, type$.void);
  35739. },
  35740. $signature: 32
  35741. };
  35742. A.SentinelValue.prototype = {};
  35743. A.EfficientLengthIterable.prototype = {};
  35744. A.ListIterable.prototype = {
  35745. get$iterator(_) {
  35746. var _this = this;
  35747. return new A.ListIterator(_this, _this.get$length(_this), A._instanceType(_this)._eval$1("ListIterator<ListIterable.E>"));
  35748. },
  35749. get$isEmpty(_) {
  35750. return this.get$length(this) === 0;
  35751. },
  35752. get$first(_) {
  35753. if (this.get$length(this) === 0)
  35754. throw A.wrapException(A.IterableElementError_noElement());
  35755. return this.elementAt$1(0, 0);
  35756. },
  35757. get$last(_) {
  35758. var _this = this;
  35759. if (_this.get$length(_this) === 0)
  35760. throw A.wrapException(A.IterableElementError_noElement());
  35761. return _this.elementAt$1(0, _this.get$length(_this) - 1);
  35762. },
  35763. get$single(_) {
  35764. var _this = this;
  35765. if (_this.get$length(_this) === 0)
  35766. throw A.wrapException(A.IterableElementError_noElement());
  35767. if (_this.get$length(_this) > 1)
  35768. throw A.wrapException(A.IterableElementError_tooMany());
  35769. return _this.elementAt$1(0, 0);
  35770. },
  35771. contains$1(_, element) {
  35772. var i, _this = this,
  35773. $length = _this.get$length(_this);
  35774. for (i = 0; i < $length; ++i) {
  35775. if (J.$eq$(_this.elementAt$1(0, i), element))
  35776. return true;
  35777. if ($length !== _this.get$length(_this))
  35778. throw A.wrapException(A.ConcurrentModificationError$(_this));
  35779. }
  35780. return false;
  35781. },
  35782. every$1(_, test) {
  35783. var i, _this = this,
  35784. $length = _this.get$length(_this);
  35785. for (i = 0; i < $length; ++i) {
  35786. if (!test.call$1(_this.elementAt$1(0, i)))
  35787. return false;
  35788. if ($length !== _this.get$length(_this))
  35789. throw A.wrapException(A.ConcurrentModificationError$(_this));
  35790. }
  35791. return true;
  35792. },
  35793. any$1(_, test) {
  35794. var i, _this = this,
  35795. $length = _this.get$length(_this);
  35796. for (i = 0; i < $length; ++i) {
  35797. if (test.call$1(_this.elementAt$1(0, i)))
  35798. return true;
  35799. if ($length !== _this.get$length(_this))
  35800. throw A.wrapException(A.ConcurrentModificationError$(_this));
  35801. }
  35802. return false;
  35803. },
  35804. join$1(_, separator) {
  35805. var first, t1, i, _this = this,
  35806. $length = _this.get$length(_this);
  35807. if (separator.length !== 0) {
  35808. if ($length === 0)
  35809. return "";
  35810. first = A.S(_this.elementAt$1(0, 0));
  35811. if ($length !== _this.get$length(_this))
  35812. throw A.wrapException(A.ConcurrentModificationError$(_this));
  35813. for (t1 = first, i = 1; i < $length; ++i) {
  35814. t1 = t1 + separator + A.S(_this.elementAt$1(0, i));
  35815. if ($length !== _this.get$length(_this))
  35816. throw A.wrapException(A.ConcurrentModificationError$(_this));
  35817. }
  35818. return t1.charCodeAt(0) == 0 ? t1 : t1;
  35819. } else {
  35820. for (i = 0, t1 = ""; i < $length; ++i) {
  35821. t1 += A.S(_this.elementAt$1(0, i));
  35822. if ($length !== _this.get$length(_this))
  35823. throw A.wrapException(A.ConcurrentModificationError$(_this));
  35824. }
  35825. return t1.charCodeAt(0) == 0 ? t1 : t1;
  35826. }
  35827. },
  35828. join$0(_) {
  35829. return this.join$1(0, "");
  35830. },
  35831. where$1(_, test) {
  35832. return this.super$Iterable$where(0, test);
  35833. },
  35834. map$1$1(_, toElement, $T) {
  35835. return new A.MappedListIterable(this, toElement, A._instanceType(this)._eval$1("@<ListIterable.E>")._bind$1($T)._eval$1("MappedListIterable<1,2>"));
  35836. },
  35837. reduce$1(_, combine) {
  35838. var value, i, _this = this,
  35839. $length = _this.get$length(_this);
  35840. if ($length === 0)
  35841. throw A.wrapException(A.IterableElementError_noElement());
  35842. value = _this.elementAt$1(0, 0);
  35843. for (i = 1; i < $length; ++i) {
  35844. value = combine.call$2(value, _this.elementAt$1(0, i));
  35845. if ($length !== _this.get$length(_this))
  35846. throw A.wrapException(A.ConcurrentModificationError$(_this));
  35847. }
  35848. return value;
  35849. },
  35850. fold$1$2(_, initialValue, combine) {
  35851. var value, i, _this = this,
  35852. $length = _this.get$length(_this);
  35853. for (value = initialValue, i = 0; i < $length; ++i) {
  35854. value = combine.call$2(value, _this.elementAt$1(0, i));
  35855. if ($length !== _this.get$length(_this))
  35856. throw A.wrapException(A.ConcurrentModificationError$(_this));
  35857. }
  35858. return value;
  35859. },
  35860. fold$2(_, initialValue, combine) {
  35861. combine.toString;
  35862. return this.fold$1$2(0, initialValue, combine, type$.dynamic);
  35863. },
  35864. skip$1(_, count) {
  35865. return A.SubListIterable$(this, count, null, A._instanceType(this)._eval$1("ListIterable.E"));
  35866. },
  35867. take$1(_, count) {
  35868. return A.SubListIterable$(this, 0, A.checkNotNullable(count, "count", type$.int), A._instanceType(this)._eval$1("ListIterable.E"));
  35869. },
  35870. toList$1$growable(_, growable) {
  35871. var t1 = A.List_List$_of(this, A._instanceType(this)._eval$1("ListIterable.E"));
  35872. return t1;
  35873. },
  35874. toList$0(_) {
  35875. return this.toList$1$growable(0, true);
  35876. },
  35877. toSet$0(_) {
  35878. var i, _this = this,
  35879. result = A.LinkedHashSet_LinkedHashSet(A._instanceType(_this)._eval$1("ListIterable.E"));
  35880. for (i = 0; i < _this.get$length(_this); ++i)
  35881. result.add$1(0, _this.elementAt$1(0, i));
  35882. return result;
  35883. }
  35884. };
  35885. A.SubListIterable.prototype = {
  35886. SubListIterable$3(_iterable, _start, _endOrLength, $E) {
  35887. var endOrLength,
  35888. t1 = this._start;
  35889. A.RangeError_checkNotNegative(t1, "start");
  35890. endOrLength = this._endOrLength;
  35891. if (endOrLength != null) {
  35892. A.RangeError_checkNotNegative(endOrLength, "end");
  35893. if (t1 > endOrLength)
  35894. throw A.wrapException(A.RangeError$range(t1, 0, endOrLength, "start", null));
  35895. }
  35896. },
  35897. get$_endIndex() {
  35898. var $length = J.get$length$asx(this.__internal$_iterable),
  35899. endOrLength = this._endOrLength;
  35900. if (endOrLength == null || endOrLength > $length)
  35901. return $length;
  35902. return endOrLength;
  35903. },
  35904. get$_startIndex() {
  35905. var $length = J.get$length$asx(this.__internal$_iterable),
  35906. t1 = this._start;
  35907. if (t1 > $length)
  35908. return $length;
  35909. return t1;
  35910. },
  35911. get$length(_) {
  35912. var endOrLength,
  35913. $length = J.get$length$asx(this.__internal$_iterable),
  35914. t1 = this._start;
  35915. if (t1 >= $length)
  35916. return 0;
  35917. endOrLength = this._endOrLength;
  35918. if (endOrLength == null || endOrLength >= $length)
  35919. return $length - t1;
  35920. return endOrLength - t1;
  35921. },
  35922. elementAt$1(_, index) {
  35923. var _this = this,
  35924. realIndex = _this.get$_startIndex() + index;
  35925. if (index < 0 || realIndex >= _this.get$_endIndex())
  35926. throw A.wrapException(A.IndexError$withLength(index, _this.get$length(0), _this, null, "index"));
  35927. return J.elementAt$1$ax(_this.__internal$_iterable, realIndex);
  35928. },
  35929. skip$1(_, count) {
  35930. var newStart, endOrLength, _this = this;
  35931. A.RangeError_checkNotNegative(count, "count");
  35932. newStart = _this._start + count;
  35933. endOrLength = _this._endOrLength;
  35934. if (endOrLength != null && newStart >= endOrLength)
  35935. return new A.EmptyIterable(_this.$ti._eval$1("EmptyIterable<1>"));
  35936. return A.SubListIterable$(_this.__internal$_iterable, newStart, endOrLength, _this.$ti._precomputed1);
  35937. },
  35938. take$1(_, count) {
  35939. var endOrLength, t1, newEnd, _this = this;
  35940. A.RangeError_checkNotNegative(count, "count");
  35941. endOrLength = _this._endOrLength;
  35942. t1 = _this._start;
  35943. newEnd = t1 + count;
  35944. if (endOrLength == null)
  35945. return A.SubListIterable$(_this.__internal$_iterable, t1, newEnd, _this.$ti._precomputed1);
  35946. else {
  35947. if (endOrLength < newEnd)
  35948. return _this;
  35949. return A.SubListIterable$(_this.__internal$_iterable, t1, newEnd, _this.$ti._precomputed1);
  35950. }
  35951. },
  35952. toList$1$growable(_, growable) {
  35953. var $length, result, i, _this = this,
  35954. start = _this._start,
  35955. t1 = _this.__internal$_iterable,
  35956. t2 = J.getInterceptor$asx(t1),
  35957. end = t2.get$length(t1),
  35958. endOrLength = _this._endOrLength;
  35959. if (endOrLength != null && endOrLength < end)
  35960. end = endOrLength;
  35961. $length = end - start;
  35962. if ($length <= 0) {
  35963. t1 = _this.$ti._precomputed1;
  35964. return growable ? J.JSArray_JSArray$growable(0, t1) : J.JSArray_JSArray$fixed(0, t1);
  35965. }
  35966. result = A.List_List$filled($length, t2.elementAt$1(t1, start), growable, _this.$ti._precomputed1);
  35967. for (i = 1; i < $length; ++i) {
  35968. result[i] = t2.elementAt$1(t1, start + i);
  35969. if (t2.get$length(t1) < end)
  35970. throw A.wrapException(A.ConcurrentModificationError$(_this));
  35971. }
  35972. return result;
  35973. },
  35974. toList$0(_) {
  35975. return this.toList$1$growable(0, true);
  35976. }
  35977. };
  35978. A.ListIterator.prototype = {
  35979. get$current(_) {
  35980. var t1 = this.__internal$_current;
  35981. return t1 == null ? this.$ti._precomputed1._as(t1) : t1;
  35982. },
  35983. moveNext$0() {
  35984. var t3, _this = this,
  35985. t1 = _this.__internal$_iterable,
  35986. t2 = J.getInterceptor$asx(t1),
  35987. $length = t2.get$length(t1);
  35988. if (_this.__internal$_length !== $length)
  35989. throw A.wrapException(A.ConcurrentModificationError$(t1));
  35990. t3 = _this.__internal$_index;
  35991. if (t3 >= $length) {
  35992. _this.__internal$_current = null;
  35993. return false;
  35994. }
  35995. _this.__internal$_current = t2.elementAt$1(t1, t3);
  35996. ++_this.__internal$_index;
  35997. return true;
  35998. }
  35999. };
  36000. A.MappedIterable.prototype = {
  36001. get$iterator(_) {
  36002. return new A.MappedIterator(J.get$iterator$ax(this.__internal$_iterable), this._f, A._instanceType(this)._eval$1("MappedIterator<1,2>"));
  36003. },
  36004. get$length(_) {
  36005. return J.get$length$asx(this.__internal$_iterable);
  36006. },
  36007. get$isEmpty(_) {
  36008. return J.get$isEmpty$asx(this.__internal$_iterable);
  36009. },
  36010. get$first(_) {
  36011. return this._f.call$1(J.get$first$ax(this.__internal$_iterable));
  36012. },
  36013. get$last(_) {
  36014. return this._f.call$1(J.get$last$ax(this.__internal$_iterable));
  36015. },
  36016. get$single(_) {
  36017. return this._f.call$1(J.get$single$ax(this.__internal$_iterable));
  36018. },
  36019. elementAt$1(_, index) {
  36020. return this._f.call$1(J.elementAt$1$ax(this.__internal$_iterable, index));
  36021. }
  36022. };
  36023. A.EfficientLengthMappedIterable.prototype = {$isEfficientLengthIterable: 1};
  36024. A.MappedIterator.prototype = {
  36025. moveNext$0() {
  36026. var _this = this,
  36027. t1 = _this._iterator;
  36028. if (t1.moveNext$0()) {
  36029. _this.__internal$_current = _this._f.call$1(t1.get$current(t1));
  36030. return true;
  36031. }
  36032. _this.__internal$_current = null;
  36033. return false;
  36034. },
  36035. get$current(_) {
  36036. var t1 = this.__internal$_current;
  36037. return t1 == null ? this.$ti._rest[1]._as(t1) : t1;
  36038. }
  36039. };
  36040. A.MappedListIterable.prototype = {
  36041. get$length(_) {
  36042. return J.get$length$asx(this._source);
  36043. },
  36044. elementAt$1(_, index) {
  36045. return this._f.call$1(J.elementAt$1$ax(this._source, index));
  36046. }
  36047. };
  36048. A.WhereIterable.prototype = {
  36049. get$iterator(_) {
  36050. return new A.WhereIterator(J.get$iterator$ax(this.__internal$_iterable), this._f);
  36051. },
  36052. map$1$1(_, toElement, $T) {
  36053. return new A.MappedIterable(this, toElement, this.$ti._eval$1("@<1>")._bind$1($T)._eval$1("MappedIterable<1,2>"));
  36054. }
  36055. };
  36056. A.WhereIterator.prototype = {
  36057. moveNext$0() {
  36058. var t1, t2;
  36059. for (t1 = this._iterator, t2 = this._f; t1.moveNext$0();)
  36060. if (t2.call$1(t1.get$current(t1)))
  36061. return true;
  36062. return false;
  36063. },
  36064. get$current(_) {
  36065. var t1 = this._iterator;
  36066. return t1.get$current(t1);
  36067. }
  36068. };
  36069. A.ExpandIterable.prototype = {
  36070. get$iterator(_) {
  36071. return new A.ExpandIterator(J.get$iterator$ax(this.__internal$_iterable), this._f, B.C_EmptyIterator, this.$ti._eval$1("ExpandIterator<1,2>"));
  36072. }
  36073. };
  36074. A.ExpandIterator.prototype = {
  36075. get$current(_) {
  36076. var t1 = this.__internal$_current;
  36077. return t1 == null ? this.$ti._rest[1]._as(t1) : t1;
  36078. },
  36079. moveNext$0() {
  36080. var t2, t3, _this = this,
  36081. t1 = _this._currentExpansion;
  36082. if (t1 == null)
  36083. return false;
  36084. for (t2 = _this._iterator, t3 = _this._f; !t1.moveNext$0();) {
  36085. _this.__internal$_current = null;
  36086. if (t2.moveNext$0()) {
  36087. _this._currentExpansion = null;
  36088. t1 = J.get$iterator$ax(t3.call$1(t2.get$current(t2)));
  36089. _this._currentExpansion = t1;
  36090. } else
  36091. return false;
  36092. }
  36093. t1 = _this._currentExpansion;
  36094. _this.__internal$_current = t1.get$current(t1);
  36095. return true;
  36096. }
  36097. };
  36098. A.TakeIterable.prototype = {
  36099. get$iterator(_) {
  36100. return new A.TakeIterator(J.get$iterator$ax(this.__internal$_iterable), this._takeCount, A._instanceType(this)._eval$1("TakeIterator<1>"));
  36101. }
  36102. };
  36103. A.EfficientLengthTakeIterable.prototype = {
  36104. get$length(_) {
  36105. var iterableLength = J.get$length$asx(this.__internal$_iterable),
  36106. t1 = this._takeCount;
  36107. if (iterableLength > t1)
  36108. return t1;
  36109. return iterableLength;
  36110. },
  36111. $isEfficientLengthIterable: 1
  36112. };
  36113. A.TakeIterator.prototype = {
  36114. moveNext$0() {
  36115. if (--this._remaining >= 0)
  36116. return this._iterator.moveNext$0();
  36117. this._remaining = -1;
  36118. return false;
  36119. },
  36120. get$current(_) {
  36121. var t1;
  36122. if (this._remaining < 0) {
  36123. this.$ti._precomputed1._as(null);
  36124. return null;
  36125. }
  36126. t1 = this._iterator;
  36127. return t1.get$current(t1);
  36128. }
  36129. };
  36130. A.SkipIterable.prototype = {
  36131. skip$1(_, count) {
  36132. A.ArgumentError_checkNotNull(count, "count");
  36133. A.RangeError_checkNotNegative(count, "count");
  36134. return new A.SkipIterable(this.__internal$_iterable, this._skipCount + count, A._instanceType(this)._eval$1("SkipIterable<1>"));
  36135. },
  36136. get$iterator(_) {
  36137. return new A.SkipIterator(J.get$iterator$ax(this.__internal$_iterable), this._skipCount);
  36138. }
  36139. };
  36140. A.EfficientLengthSkipIterable.prototype = {
  36141. get$length(_) {
  36142. var $length = J.get$length$asx(this.__internal$_iterable) - this._skipCount;
  36143. if ($length >= 0)
  36144. return $length;
  36145. return 0;
  36146. },
  36147. skip$1(_, count) {
  36148. A.ArgumentError_checkNotNull(count, "count");
  36149. A.RangeError_checkNotNegative(count, "count");
  36150. return new A.EfficientLengthSkipIterable(this.__internal$_iterable, this._skipCount + count, this.$ti);
  36151. },
  36152. $isEfficientLengthIterable: 1
  36153. };
  36154. A.SkipIterator.prototype = {
  36155. moveNext$0() {
  36156. var t1, i;
  36157. for (t1 = this._iterator, i = 0; i < this._skipCount; ++i)
  36158. t1.moveNext$0();
  36159. this._skipCount = 0;
  36160. return t1.moveNext$0();
  36161. },
  36162. get$current(_) {
  36163. var t1 = this._iterator;
  36164. return t1.get$current(t1);
  36165. }
  36166. };
  36167. A.SkipWhileIterable.prototype = {
  36168. get$iterator(_) {
  36169. return new A.SkipWhileIterator(J.get$iterator$ax(this.__internal$_iterable), this._f);
  36170. }
  36171. };
  36172. A.SkipWhileIterator.prototype = {
  36173. moveNext$0() {
  36174. var t1, t2, _this = this;
  36175. if (!_this._hasSkipped) {
  36176. _this._hasSkipped = true;
  36177. for (t1 = _this._iterator, t2 = _this._f; t1.moveNext$0();)
  36178. if (!t2.call$1(t1.get$current(t1)))
  36179. return true;
  36180. }
  36181. return _this._iterator.moveNext$0();
  36182. },
  36183. get$current(_) {
  36184. var t1 = this._iterator;
  36185. return t1.get$current(t1);
  36186. }
  36187. };
  36188. A.EmptyIterable.prototype = {
  36189. get$iterator(_) {
  36190. return B.C_EmptyIterator;
  36191. },
  36192. get$isEmpty(_) {
  36193. return true;
  36194. },
  36195. get$length(_) {
  36196. return 0;
  36197. },
  36198. get$first(_) {
  36199. throw A.wrapException(A.IterableElementError_noElement());
  36200. },
  36201. get$last(_) {
  36202. throw A.wrapException(A.IterableElementError_noElement());
  36203. },
  36204. get$single(_) {
  36205. throw A.wrapException(A.IterableElementError_noElement());
  36206. },
  36207. elementAt$1(_, index) {
  36208. throw A.wrapException(A.RangeError$range(index, 0, 0, "index", null));
  36209. },
  36210. contains$1(_, element) {
  36211. return false;
  36212. },
  36213. every$1(_, test) {
  36214. return true;
  36215. },
  36216. any$1(_, test) {
  36217. return false;
  36218. },
  36219. join$1(_, separator) {
  36220. return "";
  36221. },
  36222. where$1(_, test) {
  36223. return this;
  36224. },
  36225. map$1$1(_, toElement, $T) {
  36226. return new A.EmptyIterable($T._eval$1("EmptyIterable<0>"));
  36227. },
  36228. skip$1(_, count) {
  36229. A.RangeError_checkNotNegative(count, "count");
  36230. return this;
  36231. },
  36232. take$1(_, count) {
  36233. A.RangeError_checkNotNegative(count, "count");
  36234. return this;
  36235. },
  36236. toList$1$growable(_, growable) {
  36237. var t1 = J.JSArray_JSArray$growable(0, this.$ti._precomputed1);
  36238. return t1;
  36239. },
  36240. toList$0(_) {
  36241. return this.toList$1$growable(0, true);
  36242. },
  36243. toSet$0(_) {
  36244. return A.LinkedHashSet_LinkedHashSet(this.$ti._precomputed1);
  36245. }
  36246. };
  36247. A.EmptyIterator.prototype = {
  36248. moveNext$0() {
  36249. return false;
  36250. },
  36251. get$current(_) {
  36252. throw A.wrapException(A.IterableElementError_noElement());
  36253. }
  36254. };
  36255. A.FollowedByIterable.prototype = {
  36256. get$iterator(_) {
  36257. return new A.FollowedByIterator(J.get$iterator$ax(this.__internal$_first), this._second);
  36258. },
  36259. get$length(_) {
  36260. var t1 = this._second;
  36261. return J.get$length$asx(this.__internal$_first) + t1.get$length(t1);
  36262. },
  36263. get$isEmpty(_) {
  36264. var t1;
  36265. if (J.get$isEmpty$asx(this.__internal$_first)) {
  36266. t1 = this._second;
  36267. t1 = t1.get$isEmpty(t1);
  36268. } else
  36269. t1 = false;
  36270. return t1;
  36271. },
  36272. get$isNotEmpty(_) {
  36273. var t1;
  36274. if (!J.get$isNotEmpty$asx(this.__internal$_first)) {
  36275. t1 = this._second;
  36276. t1 = t1.get$isNotEmpty(t1);
  36277. } else
  36278. t1 = true;
  36279. return t1;
  36280. },
  36281. contains$1(_, value) {
  36282. var t1;
  36283. if (!J.contains$1$asx(this.__internal$_first, value)) {
  36284. t1 = this._second;
  36285. t1 = t1.contains$1(t1, value);
  36286. } else
  36287. t1 = true;
  36288. return t1;
  36289. },
  36290. get$first(_) {
  36291. var t1,
  36292. iterator = J.get$iterator$ax(this.__internal$_first);
  36293. if (iterator.moveNext$0())
  36294. return iterator.get$current(iterator);
  36295. t1 = this._second;
  36296. return t1.get$first(t1);
  36297. },
  36298. get$last(_) {
  36299. var last,
  36300. t1 = this._second,
  36301. iterator = t1.get$iterator(t1);
  36302. if (iterator.moveNext$0()) {
  36303. last = iterator.get$current(iterator);
  36304. for (; iterator.moveNext$0();)
  36305. last = iterator.get$current(iterator);
  36306. return last;
  36307. }
  36308. return J.get$last$ax(this.__internal$_first);
  36309. }
  36310. };
  36311. A.EfficientLengthFollowedByIterable.prototype = {
  36312. elementAt$1(_, index) {
  36313. var t1 = this.__internal$_first,
  36314. t2 = J.getInterceptor$asx(t1),
  36315. firstLength = t2.get$length(t1);
  36316. if (index < firstLength)
  36317. return t2.elementAt$1(t1, index);
  36318. t1 = this._second;
  36319. return t1.elementAt$1(t1, index - firstLength);
  36320. },
  36321. get$first(_) {
  36322. var t1 = this.__internal$_first,
  36323. t2 = J.getInterceptor$asx(t1);
  36324. if (t2.get$isNotEmpty(t1))
  36325. return t2.get$first(t1);
  36326. t1 = this._second;
  36327. return t1.get$first(t1);
  36328. },
  36329. get$last(_) {
  36330. var t1 = this._second;
  36331. if (t1.get$isNotEmpty(t1))
  36332. return t1.get$last(t1);
  36333. return J.get$last$ax(this.__internal$_first);
  36334. },
  36335. $isEfficientLengthIterable: 1
  36336. };
  36337. A.FollowedByIterator.prototype = {
  36338. moveNext$0() {
  36339. var t1, _this = this;
  36340. if (_this._currentIterator.moveNext$0())
  36341. return true;
  36342. t1 = _this._nextIterable;
  36343. if (t1 != null) {
  36344. t1 = t1.get$iterator(t1);
  36345. _this._currentIterator = t1;
  36346. _this._nextIterable = null;
  36347. return t1.moveNext$0();
  36348. }
  36349. return false;
  36350. },
  36351. get$current(_) {
  36352. var t1 = this._currentIterator;
  36353. return t1.get$current(t1);
  36354. }
  36355. };
  36356. A.WhereTypeIterable.prototype = {
  36357. get$iterator(_) {
  36358. return new A.WhereTypeIterator(J.get$iterator$ax(this._source), this.$ti._eval$1("WhereTypeIterator<1>"));
  36359. }
  36360. };
  36361. A.WhereTypeIterator.prototype = {
  36362. moveNext$0() {
  36363. var t1, t2;
  36364. for (t1 = this._source, t2 = this.$ti._precomputed1; t1.moveNext$0();)
  36365. if (t2._is(t1.get$current(t1)))
  36366. return true;
  36367. return false;
  36368. },
  36369. get$current(_) {
  36370. var t1 = this._source;
  36371. return this.$ti._precomputed1._as(t1.get$current(t1));
  36372. }
  36373. };
  36374. A.NonNullsIterable.prototype = {
  36375. get$_firstNonNull() {
  36376. var t1, element;
  36377. for (t1 = J.get$iterator$ax(this._source); t1.moveNext$0();) {
  36378. element = t1.get$current(t1);
  36379. if (element != null)
  36380. return element;
  36381. }
  36382. return null;
  36383. },
  36384. get$isEmpty(_) {
  36385. return this.get$_firstNonNull() == null;
  36386. },
  36387. get$isNotEmpty(_) {
  36388. return this.get$_firstNonNull() != null;
  36389. },
  36390. get$first(_) {
  36391. var t1 = this.get$_firstNonNull();
  36392. return t1 == null ? A.throwExpression(A.IterableElementError_noElement()) : t1;
  36393. },
  36394. get$iterator(_) {
  36395. return new A.NonNullsIterator(J.get$iterator$ax(this._source));
  36396. }
  36397. };
  36398. A.NonNullsIterator.prototype = {
  36399. moveNext$0() {
  36400. var t1, next;
  36401. this.__internal$_current = null;
  36402. for (t1 = this._source; t1.moveNext$0();) {
  36403. next = t1.get$current(t1);
  36404. if (next != null) {
  36405. this.__internal$_current = next;
  36406. return true;
  36407. }
  36408. }
  36409. return false;
  36410. },
  36411. get$current(_) {
  36412. var t1 = this.__internal$_current;
  36413. return t1 == null ? A.throwExpression(A.IterableElementError_noElement()) : t1;
  36414. }
  36415. };
  36416. A.FixedLengthListMixin.prototype = {
  36417. set$length(receiver, newLength) {
  36418. throw A.wrapException(A.UnsupportedError$("Cannot change the length of a fixed-length list"));
  36419. },
  36420. add$1(receiver, value) {
  36421. throw A.wrapException(A.UnsupportedError$("Cannot add to a fixed-length list"));
  36422. },
  36423. addAll$1(receiver, iterable) {
  36424. throw A.wrapException(A.UnsupportedError$("Cannot add to a fixed-length list"));
  36425. },
  36426. removeRange$2(receiver, start, end) {
  36427. throw A.wrapException(A.UnsupportedError$("Cannot remove from a fixed-length list"));
  36428. }
  36429. };
  36430. A.UnmodifiableListMixin.prototype = {
  36431. $indexSet(_, index, value) {
  36432. throw A.wrapException(A.UnsupportedError$("Cannot modify an unmodifiable list"));
  36433. },
  36434. set$length(_, newLength) {
  36435. throw A.wrapException(A.UnsupportedError$("Cannot change the length of an unmodifiable list"));
  36436. },
  36437. add$1(_, value) {
  36438. throw A.wrapException(A.UnsupportedError$("Cannot add to an unmodifiable list"));
  36439. },
  36440. addAll$1(_, iterable) {
  36441. throw A.wrapException(A.UnsupportedError$("Cannot add to an unmodifiable list"));
  36442. },
  36443. sort$1(_, compare) {
  36444. throw A.wrapException(A.UnsupportedError$("Cannot modify an unmodifiable list"));
  36445. },
  36446. setRange$4(_, start, end, iterable, skipCount) {
  36447. throw A.wrapException(A.UnsupportedError$("Cannot modify an unmodifiable list"));
  36448. },
  36449. removeRange$2(_, start, end) {
  36450. throw A.wrapException(A.UnsupportedError$("Cannot remove from an unmodifiable list"));
  36451. },
  36452. fillRange$3(_, start, end, fillValue) {
  36453. throw A.wrapException(A.UnsupportedError$("Cannot modify an unmodifiable list"));
  36454. }
  36455. };
  36456. A.UnmodifiableListBase.prototype = {};
  36457. A.ReversedListIterable.prototype = {
  36458. get$length(_) {
  36459. return J.get$length$asx(this._source);
  36460. },
  36461. elementAt$1(_, index) {
  36462. var t1 = this._source,
  36463. t2 = J.getInterceptor$asx(t1);
  36464. return t2.elementAt$1(t1, t2.get$length(t1) - 1 - index);
  36465. }
  36466. };
  36467. A.Symbol.prototype = {
  36468. get$hashCode(_) {
  36469. var hash = this._hashCode;
  36470. if (hash != null)
  36471. return hash;
  36472. hash = 664597 * B.JSString_methods.get$hashCode(this.__internal$_name) & 536870911;
  36473. this._hashCode = hash;
  36474. return hash;
  36475. },
  36476. toString$0(_) {
  36477. return 'Symbol("' + this.__internal$_name + '")';
  36478. },
  36479. $eq(_, other) {
  36480. if (other == null)
  36481. return false;
  36482. return other instanceof A.Symbol && this.__internal$_name === other.__internal$_name;
  36483. },
  36484. $isSymbol0: 1
  36485. };
  36486. A.__CastListBase__CastIterableBase_ListMixin.prototype = {};
  36487. A._Record_1.prototype = {$recipe: "+(1)", $shape: 1};
  36488. A._Record_2.prototype = {$recipe: "+(1,2)", $shape: 2};
  36489. A._Record_2_forImport.prototype = {$recipe: "+forImport(1,2)", $shape: 3};
  36490. A._Record_2_imports_modules.prototype = {$recipe: "+imports,modules(1,2)", $shape: 5};
  36491. A._Record_2_loadedUrls_stylesheet.prototype = {$recipe: "+loadedUrls,stylesheet(1,2)", $shape: 6};
  36492. A._Record_2_sourceMap.prototype = {$recipe: "+sourceMap(1,2)", $shape: 4};
  36493. A._Record_3.prototype = {$recipe: "+(1,2,3)", $shape: 7};
  36494. A._Record_3_deprecation_message_span.prototype = {
  36495. get$message(_) {
  36496. return this._1;
  36497. },
  36498. $recipe: "+deprecation,message,span(1,2,3)",
  36499. $shape: 11
  36500. };
  36501. A._Record_3_forImport.prototype = {$recipe: "+forImport(1,2,3)", $shape: 8};
  36502. A._Record_3_importer_isDependency.prototype = {$recipe: "+importer,isDependency(1,2,3)", $shape: 10};
  36503. A._Record_3_originalUrl.prototype = {$recipe: "+originalUrl(1,2,3)", $shape: 9};
  36504. A._Record_5_named_namedNodes_positional_positionalNodes_separator.prototype = {$recipe: "+named,namedNodes,positional,positionalNodes,separator(1,2,3,4,5)", $shape: 13};
  36505. A.ConstantMapView.prototype = {};
  36506. A.ConstantMap.prototype = {
  36507. cast$2$0(_, RK, RV) {
  36508. var t1 = A._instanceType(this);
  36509. return A.Map_castFrom(this, t1._precomputed1, t1._rest[1], RK, RV);
  36510. },
  36511. get$isEmpty(_) {
  36512. return this.get$length(this) === 0;
  36513. },
  36514. get$isNotEmpty(_) {
  36515. return this.get$length(this) !== 0;
  36516. },
  36517. toString$0(_) {
  36518. return A.MapBase_mapToString(this);
  36519. },
  36520. $indexSet(_, key, value) {
  36521. A.ConstantMap__throwUnmodifiable();
  36522. },
  36523. remove$1(_, key) {
  36524. A.ConstantMap__throwUnmodifiable();
  36525. },
  36526. addAll$1(_, other) {
  36527. A.ConstantMap__throwUnmodifiable();
  36528. },
  36529. get$entries(_) {
  36530. return new A._SyncStarIterable(this.entries$body$ConstantMap(0), A._instanceType(this)._eval$1("_SyncStarIterable<MapEntry<1,2>>"));
  36531. },
  36532. entries$body$ConstantMap($async$_) {
  36533. var $async$self = this;
  36534. return function() {
  36535. var _ = $async$_;
  36536. var $async$goto = 0, $async$handler = 1, $async$errorStack = [], t1, t2, key;
  36537. return function $async$get$entries($async$iterator, $async$errorCode, $async$result) {
  36538. if ($async$errorCode === 1) {
  36539. $async$errorStack.push($async$result);
  36540. $async$goto = $async$handler;
  36541. }
  36542. while (true)
  36543. switch ($async$goto) {
  36544. case 0:
  36545. // Function start
  36546. t1 = $async$self.get$keys($async$self), t1 = t1.get$iterator(t1), t2 = A._instanceType($async$self)._eval$1("MapEntry<1,2>");
  36547. case 2:
  36548. // for condition
  36549. if (!t1.moveNext$0()) {
  36550. // goto after for
  36551. $async$goto = 3;
  36552. break;
  36553. }
  36554. key = t1.get$current(t1);
  36555. $async$goto = 4;
  36556. return $async$iterator._async$_current = new A.MapEntry(key, $async$self.$index(0, key), t2), 1;
  36557. case 4:
  36558. // after yield
  36559. // goto for condition
  36560. $async$goto = 2;
  36561. break;
  36562. case 3:
  36563. // after for
  36564. // implicit return
  36565. return 0;
  36566. case 1:
  36567. // rethrow
  36568. return $async$iterator._datum = $async$errorStack.at(-1), 3;
  36569. }
  36570. };
  36571. };
  36572. },
  36573. $isMap: 1
  36574. };
  36575. A.ConstantStringMap.prototype = {
  36576. get$length(_) {
  36577. return this._values.length;
  36578. },
  36579. get$_keys() {
  36580. var keys = this.$keys;
  36581. if (keys == null) {
  36582. keys = Object.keys(this._jsIndex);
  36583. this.$keys = keys;
  36584. }
  36585. return keys;
  36586. },
  36587. containsKey$1(key) {
  36588. if (typeof key != "string")
  36589. return false;
  36590. if ("__proto__" === key)
  36591. return false;
  36592. return this._jsIndex.hasOwnProperty(key);
  36593. },
  36594. $index(_, key) {
  36595. if (!this.containsKey$1(key))
  36596. return null;
  36597. return this._values[this._jsIndex[key]];
  36598. },
  36599. forEach$1(_, f) {
  36600. var t1, i,
  36601. keys = this.get$_keys(),
  36602. values = this._values;
  36603. for (t1 = keys.length, i = 0; i < t1; ++i)
  36604. f.call$2(keys[i], values[i]);
  36605. },
  36606. get$keys(_) {
  36607. return new A._KeysOrValues(this.get$_keys(), this.$ti._eval$1("_KeysOrValues<1>"));
  36608. },
  36609. get$values(_) {
  36610. return new A._KeysOrValues(this._values, this.$ti._eval$1("_KeysOrValues<2>"));
  36611. }
  36612. };
  36613. A._KeysOrValues.prototype = {
  36614. get$length(_) {
  36615. return this._elements.length;
  36616. },
  36617. get$isEmpty(_) {
  36618. return 0 === this._elements.length;
  36619. },
  36620. get$isNotEmpty(_) {
  36621. return 0 !== this._elements.length;
  36622. },
  36623. get$iterator(_) {
  36624. var t1 = this._elements;
  36625. return new A._KeysOrValuesOrElementsIterator(t1, t1.length, this.$ti._eval$1("_KeysOrValuesOrElementsIterator<1>"));
  36626. }
  36627. };
  36628. A._KeysOrValuesOrElementsIterator.prototype = {
  36629. get$current(_) {
  36630. var t1 = this.__js_helper$_current;
  36631. return t1 == null ? this.$ti._precomputed1._as(t1) : t1;
  36632. },
  36633. moveNext$0() {
  36634. var _this = this,
  36635. t1 = _this.__js_helper$_index;
  36636. if (t1 >= _this.__js_helper$_length) {
  36637. _this.__js_helper$_current = null;
  36638. return false;
  36639. }
  36640. _this.__js_helper$_current = _this._elements[t1];
  36641. _this.__js_helper$_index = t1 + 1;
  36642. return true;
  36643. }
  36644. };
  36645. A.ConstantSet.prototype = {
  36646. add$1(_, value) {
  36647. A.ConstantSet__throwUnmodifiable();
  36648. },
  36649. addAll$1(_, elements) {
  36650. A.ConstantSet__throwUnmodifiable();
  36651. },
  36652. remove$1(_, value) {
  36653. A.ConstantSet__throwUnmodifiable();
  36654. }
  36655. };
  36656. A.ConstantStringSet.prototype = {
  36657. get$length(_) {
  36658. return this.__js_helper$_length;
  36659. },
  36660. get$isEmpty(_) {
  36661. return this.__js_helper$_length === 0;
  36662. },
  36663. get$isNotEmpty(_) {
  36664. return this.__js_helper$_length !== 0;
  36665. },
  36666. get$iterator(_) {
  36667. var t1, _this = this,
  36668. keys = _this.$keys;
  36669. if (keys == null) {
  36670. keys = Object.keys(_this._jsIndex);
  36671. _this.$keys = keys;
  36672. }
  36673. t1 = keys;
  36674. return new A._KeysOrValuesOrElementsIterator(t1, t1.length, _this.$ti._eval$1("_KeysOrValuesOrElementsIterator<1>"));
  36675. },
  36676. contains$1(_, key) {
  36677. if (typeof key != "string")
  36678. return false;
  36679. if ("__proto__" === key)
  36680. return false;
  36681. return this._jsIndex.hasOwnProperty(key);
  36682. },
  36683. toSet$0(_) {
  36684. return A.LinkedHashSet_LinkedHashSet$of(this, this.$ti._precomputed1);
  36685. }
  36686. };
  36687. A.GeneralConstantSet.prototype = {
  36688. get$length(_) {
  36689. return this._elements.length;
  36690. },
  36691. get$isEmpty(_) {
  36692. return this._elements.length === 0;
  36693. },
  36694. get$isNotEmpty(_) {
  36695. return this._elements.length !== 0;
  36696. },
  36697. get$iterator(_) {
  36698. var t1 = this._elements;
  36699. return new A._KeysOrValuesOrElementsIterator(t1, t1.length, this.$ti._eval$1("_KeysOrValuesOrElementsIterator<1>"));
  36700. },
  36701. _getMap$0() {
  36702. var t1, t2, _i, key, _this = this,
  36703. backingMap = _this.$map;
  36704. if (backingMap == null) {
  36705. backingMap = new A.JsConstantLinkedHashMap(_this.$ti._eval$1("JsConstantLinkedHashMap<1,1>"));
  36706. for (t1 = _this._elements, t2 = t1.length, _i = 0; _i < t1.length; t1.length === t2 || (0, A.throwConcurrentModificationError)(t1), ++_i) {
  36707. key = t1[_i];
  36708. backingMap.$indexSet(0, key, key);
  36709. }
  36710. _this.$map = backingMap;
  36711. }
  36712. return backingMap;
  36713. },
  36714. contains$1(_, key) {
  36715. return this._getMap$0().containsKey$1(key);
  36716. },
  36717. toSet$0(_) {
  36718. return A.LinkedHashSet_LinkedHashSet$of(this, this.$ti._precomputed1);
  36719. }
  36720. };
  36721. A.Instantiation.prototype = {
  36722. Instantiation$1(_genericClosure) {
  36723. if (false)
  36724. A.instantiatedGenericFunctionType(0, 0);
  36725. },
  36726. $eq(_, other) {
  36727. if (other == null)
  36728. return false;
  36729. return other instanceof A.Instantiation1 && this._genericClosure.$eq(0, other._genericClosure) && A.getRuntimeTypeOfClosure(this) === A.getRuntimeTypeOfClosure(other);
  36730. },
  36731. get$hashCode(_) {
  36732. return A.Object_hash(this._genericClosure, A.getRuntimeTypeOfClosure(this), B.C_SentinelValue, B.C_SentinelValue);
  36733. },
  36734. toString$0(_) {
  36735. var t1 = B.JSArray_methods.join$1([A.createRuntimeType(this.$ti._precomputed1)], ", ");
  36736. return this._genericClosure.toString$0(0) + " with " + ("<" + t1 + ">");
  36737. }
  36738. };
  36739. A.Instantiation1.prototype = {
  36740. call$0() {
  36741. return this._genericClosure.call$1$0(this.$ti._rest[0]);
  36742. },
  36743. call$2(a0, a1) {
  36744. return this._genericClosure.call$1$2(a0, a1, this.$ti._rest[0]);
  36745. },
  36746. call$3(a0, a1, a2) {
  36747. return this._genericClosure.call$1$3(a0, a1, a2, this.$ti._rest[0]);
  36748. },
  36749. call$4(a0, a1, a2, a3) {
  36750. return this._genericClosure.call$1$4(a0, a1, a2, a3, this.$ti._rest[0]);
  36751. },
  36752. $signature() {
  36753. return A.instantiatedGenericFunctionType(A.closureFunctionType(this._genericClosure), this.$ti);
  36754. }
  36755. };
  36756. A.JSInvocationMirror.prototype = {
  36757. get$memberName() {
  36758. var t1 = this.__js_helper$_memberName;
  36759. if (t1 instanceof A.Symbol)
  36760. return t1;
  36761. return this.__js_helper$_memberName = new A.Symbol(t1);
  36762. },
  36763. get$positionalArguments() {
  36764. var t1, t2, argumentCount, list, index, _this = this;
  36765. if (_this.__js_helper$_kind === 1)
  36766. return B.List_empty6;
  36767. t1 = _this._arguments;
  36768. t2 = J.getInterceptor$asx(t1);
  36769. argumentCount = t2.get$length(t1) - J.get$length$asx(_this._namedArgumentNames) - _this._typeArgumentCount;
  36770. if (argumentCount === 0)
  36771. return B.List_empty6;
  36772. list = [];
  36773. for (index = 0; index < argumentCount; ++index)
  36774. list.push(t2.$index(t1, index));
  36775. list.$flags = 3;
  36776. return list;
  36777. },
  36778. get$namedArguments() {
  36779. var t1, t2, namedArgumentCount, t3, t4, namedArgumentsStartIndex, map, i, _this = this;
  36780. if (_this.__js_helper$_kind !== 0)
  36781. return B.Map_empty2;
  36782. t1 = _this._namedArgumentNames;
  36783. t2 = J.getInterceptor$asx(t1);
  36784. namedArgumentCount = t2.get$length(t1);
  36785. t3 = _this._arguments;
  36786. t4 = J.getInterceptor$asx(t3);
  36787. namedArgumentsStartIndex = t4.get$length(t3) - namedArgumentCount - _this._typeArgumentCount;
  36788. if (namedArgumentCount === 0)
  36789. return B.Map_empty2;
  36790. map = new A.JsLinkedHashMap(type$.JsLinkedHashMap_Symbol_dynamic);
  36791. for (i = 0; i < namedArgumentCount; ++i)
  36792. map.$indexSet(0, new A.Symbol(t2.$index(t1, i)), t4.$index(t3, namedArgumentsStartIndex + i));
  36793. return new A.ConstantMapView(map, type$.ConstantMapView_Symbol_dynamic);
  36794. }
  36795. };
  36796. A.Primitives_functionNoSuchMethod_closure.prototype = {
  36797. call$2($name, argument) {
  36798. var t1 = this._box_0;
  36799. t1.names = t1.names + "$" + $name;
  36800. this.namedArgumentList.push($name);
  36801. this.$arguments.push(argument);
  36802. ++t1.argumentCount;
  36803. },
  36804. $signature: 139
  36805. };
  36806. A.TypeErrorDecoder.prototype = {
  36807. matchTypeError$1(message) {
  36808. var result, t1, _this = this,
  36809. match = new RegExp(_this._pattern).exec(message);
  36810. if (match == null)
  36811. return null;
  36812. result = Object.create(null);
  36813. t1 = _this._arguments;
  36814. if (t1 !== -1)
  36815. result.arguments = match[t1 + 1];
  36816. t1 = _this._argumentsExpr;
  36817. if (t1 !== -1)
  36818. result.argumentsExpr = match[t1 + 1];
  36819. t1 = _this._expr;
  36820. if (t1 !== -1)
  36821. result.expr = match[t1 + 1];
  36822. t1 = _this._method;
  36823. if (t1 !== -1)
  36824. result.method = match[t1 + 1];
  36825. t1 = _this._receiver;
  36826. if (t1 !== -1)
  36827. result.receiver = match[t1 + 1];
  36828. return result;
  36829. }
  36830. };
  36831. A.NullError.prototype = {
  36832. toString$0(_) {
  36833. return "Null check operator used on a null value";
  36834. }
  36835. };
  36836. A.JsNoSuchMethodError.prototype = {
  36837. toString$0(_) {
  36838. var t2, _this = this,
  36839. _s38_ = "NoSuchMethodError: method not found: '",
  36840. t1 = _this._method;
  36841. if (t1 == null)
  36842. return "NoSuchMethodError: " + _this.__js_helper$_message;
  36843. t2 = _this._receiver;
  36844. if (t2 == null)
  36845. return _s38_ + t1 + "' (" + _this.__js_helper$_message + ")";
  36846. return _s38_ + t1 + "' on '" + t2 + "' (" + _this.__js_helper$_message + ")";
  36847. }
  36848. };
  36849. A.UnknownJsTypeError.prototype = {
  36850. toString$0(_) {
  36851. var t1 = this.__js_helper$_message;
  36852. return t1.length === 0 ? "Error" : "Error: " + t1;
  36853. }
  36854. };
  36855. A.NullThrownFromJavaScriptException.prototype = {
  36856. toString$0(_) {
  36857. return "Throw of null ('" + (this._irritant === null ? "null" : "undefined") + "' from JavaScript)";
  36858. },
  36859. $isException: 1
  36860. };
  36861. A.ExceptionAndStackTrace.prototype = {};
  36862. A._StackTrace.prototype = {
  36863. toString$0(_) {
  36864. var trace,
  36865. t1 = this._trace;
  36866. if (t1 != null)
  36867. return t1;
  36868. t1 = this._exception;
  36869. trace = t1 !== null && typeof t1 === "object" ? t1.stack : null;
  36870. return this._trace = trace == null ? "" : trace;
  36871. },
  36872. $isStackTrace: 1
  36873. };
  36874. A.Closure.prototype = {
  36875. toString$0(_) {
  36876. var $constructor = this.constructor,
  36877. $name = $constructor == null ? null : $constructor.name;
  36878. return "Closure '" + A.unminifyOrTag($name == null ? "unknown" : $name) + "'";
  36879. },
  36880. $isFunction: 1,
  36881. get$$call() {
  36882. return this;
  36883. },
  36884. "call*": "call$1",
  36885. $requiredArgCount: 1,
  36886. $defaultValues: null
  36887. };
  36888. A.Closure0Args.prototype = {"call*": "call$0", $requiredArgCount: 0};
  36889. A.Closure2Args.prototype = {"call*": "call$2", $requiredArgCount: 2};
  36890. A.TearOffClosure.prototype = {};
  36891. A.StaticClosure.prototype = {
  36892. toString$0(_) {
  36893. var $name = this.$static_name;
  36894. if ($name == null)
  36895. return "Closure of unknown static method";
  36896. return "Closure '" + A.unminifyOrTag($name) + "'";
  36897. }
  36898. };
  36899. A.BoundClosure.prototype = {
  36900. $eq(_, other) {
  36901. if (other == null)
  36902. return false;
  36903. if (this === other)
  36904. return true;
  36905. if (!(other instanceof A.BoundClosure))
  36906. return false;
  36907. return this.$_target === other.$_target && this._receiver === other._receiver;
  36908. },
  36909. get$hashCode(_) {
  36910. return (A.objectHashCode(this._receiver) ^ A.Primitives_objectHashCode(this.$_target)) >>> 0;
  36911. },
  36912. toString$0(_) {
  36913. return "Closure '" + this.$_name + "' of " + ("Instance of '" + A.Primitives_objectTypeName(this._receiver) + "'");
  36914. }
  36915. };
  36916. A.RuntimeError.prototype = {
  36917. toString$0(_) {
  36918. return "RuntimeError: " + this.message;
  36919. },
  36920. get$message(receiver) {
  36921. return this.message;
  36922. }
  36923. };
  36924. A._Required.prototype = {};
  36925. A.JsLinkedHashMap.prototype = {
  36926. get$length(_) {
  36927. return this.__js_helper$_length;
  36928. },
  36929. get$isEmpty(_) {
  36930. return this.__js_helper$_length === 0;
  36931. },
  36932. get$isNotEmpty(_) {
  36933. return this.__js_helper$_length !== 0;
  36934. },
  36935. get$keys(_) {
  36936. return new A.LinkedHashMapKeysIterable(this, A._instanceType(this)._eval$1("LinkedHashMapKeysIterable<1>"));
  36937. },
  36938. get$values(_) {
  36939. return new A.LinkedHashMapValuesIterable(this, A._instanceType(this)._eval$1("LinkedHashMapValuesIterable<2>"));
  36940. },
  36941. get$entries(_) {
  36942. return new A.LinkedHashMapEntriesIterable(this, A._instanceType(this)._eval$1("LinkedHashMapEntriesIterable<1,2>"));
  36943. },
  36944. containsKey$1(key) {
  36945. var strings, nums;
  36946. if (typeof key == "string") {
  36947. strings = this._strings;
  36948. if (strings == null)
  36949. return false;
  36950. return strings[key] != null;
  36951. } else if (typeof key == "number" && (key & 0x3fffffff) === key) {
  36952. nums = this._nums;
  36953. if (nums == null)
  36954. return false;
  36955. return nums[key] != null;
  36956. } else
  36957. return this.internalContainsKey$1(key);
  36958. },
  36959. internalContainsKey$1(key) {
  36960. var rest = this.__js_helper$_rest;
  36961. if (rest == null)
  36962. return false;
  36963. return this.internalFindBucketIndex$2(rest[this.internalComputeHashCode$1(key)], key) >= 0;
  36964. },
  36965. addAll$1(_, other) {
  36966. other.forEach$1(0, new A.JsLinkedHashMap_addAll_closure(this));
  36967. },
  36968. $index(_, key) {
  36969. var strings, cell, t1, nums, _null = null;
  36970. if (typeof key == "string") {
  36971. strings = this._strings;
  36972. if (strings == null)
  36973. return _null;
  36974. cell = strings[key];
  36975. t1 = cell == null ? _null : cell.hashMapCellValue;
  36976. return t1;
  36977. } else if (typeof key == "number" && (key & 0x3fffffff) === key) {
  36978. nums = this._nums;
  36979. if (nums == null)
  36980. return _null;
  36981. cell = nums[key];
  36982. t1 = cell == null ? _null : cell.hashMapCellValue;
  36983. return t1;
  36984. } else
  36985. return this.internalGet$1(key);
  36986. },
  36987. internalGet$1(key) {
  36988. var bucket, index,
  36989. rest = this.__js_helper$_rest;
  36990. if (rest == null)
  36991. return null;
  36992. bucket = rest[this.internalComputeHashCode$1(key)];
  36993. index = this.internalFindBucketIndex$2(bucket, key);
  36994. if (index < 0)
  36995. return null;
  36996. return bucket[index].hashMapCellValue;
  36997. },
  36998. $indexSet(_, key, value) {
  36999. var strings, nums, _this = this;
  37000. if (typeof key == "string") {
  37001. strings = _this._strings;
  37002. _this._addHashTableEntry$3(strings == null ? _this._strings = _this._newHashTable$0() : strings, key, value);
  37003. } else if (typeof key == "number" && (key & 0x3fffffff) === key) {
  37004. nums = _this._nums;
  37005. _this._addHashTableEntry$3(nums == null ? _this._nums = _this._newHashTable$0() : nums, key, value);
  37006. } else
  37007. _this.internalSet$2(key, value);
  37008. },
  37009. internalSet$2(key, value) {
  37010. var hash, bucket, index, _this = this,
  37011. rest = _this.__js_helper$_rest;
  37012. if (rest == null)
  37013. rest = _this.__js_helper$_rest = _this._newHashTable$0();
  37014. hash = _this.internalComputeHashCode$1(key);
  37015. bucket = rest[hash];
  37016. if (bucket == null)
  37017. rest[hash] = [_this._newLinkedCell$2(key, value)];
  37018. else {
  37019. index = _this.internalFindBucketIndex$2(bucket, key);
  37020. if (index >= 0)
  37021. bucket[index].hashMapCellValue = value;
  37022. else
  37023. bucket.push(_this._newLinkedCell$2(key, value));
  37024. }
  37025. },
  37026. putIfAbsent$2(key, ifAbsent) {
  37027. var t1, value, _this = this;
  37028. if (_this.containsKey$1(key)) {
  37029. t1 = _this.$index(0, key);
  37030. return t1 == null ? A._instanceType(_this)._rest[1]._as(t1) : t1;
  37031. }
  37032. value = ifAbsent.call$0();
  37033. _this.$indexSet(0, key, value);
  37034. return value;
  37035. },
  37036. remove$1(_, key) {
  37037. var _this = this;
  37038. if (typeof key == "string")
  37039. return _this.__js_helper$_removeHashTableEntry$2(_this._strings, key);
  37040. else if (typeof key == "number" && (key & 0x3fffffff) === key)
  37041. return _this.__js_helper$_removeHashTableEntry$2(_this._nums, key);
  37042. else
  37043. return _this.internalRemove$1(key);
  37044. },
  37045. internalRemove$1(key) {
  37046. var hash, bucket, index, cell, _this = this,
  37047. rest = _this.__js_helper$_rest;
  37048. if (rest == null)
  37049. return null;
  37050. hash = _this.internalComputeHashCode$1(key);
  37051. bucket = rest[hash];
  37052. index = _this.internalFindBucketIndex$2(bucket, key);
  37053. if (index < 0)
  37054. return null;
  37055. cell = bucket.splice(index, 1)[0];
  37056. _this.__js_helper$_unlinkCell$1(cell);
  37057. if (bucket.length === 0)
  37058. delete rest[hash];
  37059. return cell.hashMapCellValue;
  37060. },
  37061. clear$0(_) {
  37062. var _this = this;
  37063. if (_this.__js_helper$_length > 0) {
  37064. _this._strings = _this._nums = _this.__js_helper$_rest = _this._first = _this._last = null;
  37065. _this.__js_helper$_length = 0;
  37066. _this._modified$0();
  37067. }
  37068. },
  37069. forEach$1(_, action) {
  37070. var _this = this,
  37071. cell = _this._first,
  37072. modifications = _this._modifications;
  37073. for (; cell != null;) {
  37074. action.call$2(cell.hashMapCellKey, cell.hashMapCellValue);
  37075. if (modifications !== _this._modifications)
  37076. throw A.wrapException(A.ConcurrentModificationError$(_this));
  37077. cell = cell._next;
  37078. }
  37079. },
  37080. _addHashTableEntry$3(table, key, value) {
  37081. var cell = table[key];
  37082. if (cell == null)
  37083. table[key] = this._newLinkedCell$2(key, value);
  37084. else
  37085. cell.hashMapCellValue = value;
  37086. },
  37087. __js_helper$_removeHashTableEntry$2(table, key) {
  37088. var cell;
  37089. if (table == null)
  37090. return null;
  37091. cell = table[key];
  37092. if (cell == null)
  37093. return null;
  37094. this.__js_helper$_unlinkCell$1(cell);
  37095. delete table[key];
  37096. return cell.hashMapCellValue;
  37097. },
  37098. _modified$0() {
  37099. this._modifications = this._modifications + 1 & 1073741823;
  37100. },
  37101. _newLinkedCell$2(key, value) {
  37102. var t1, _this = this,
  37103. cell = new A.LinkedHashMapCell(key, value);
  37104. if (_this._first == null)
  37105. _this._first = _this._last = cell;
  37106. else {
  37107. t1 = _this._last;
  37108. t1.toString;
  37109. cell._previous = t1;
  37110. _this._last = t1._next = cell;
  37111. }
  37112. ++_this.__js_helper$_length;
  37113. _this._modified$0();
  37114. return cell;
  37115. },
  37116. __js_helper$_unlinkCell$1(cell) {
  37117. var _this = this,
  37118. previous = cell._previous,
  37119. next = cell._next;
  37120. if (previous == null)
  37121. _this._first = next;
  37122. else
  37123. previous._next = next;
  37124. if (next == null)
  37125. _this._last = previous;
  37126. else
  37127. next._previous = previous;
  37128. --_this.__js_helper$_length;
  37129. _this._modified$0();
  37130. },
  37131. internalComputeHashCode$1(key) {
  37132. return J.get$hashCode$(key) & 1073741823;
  37133. },
  37134. internalFindBucketIndex$2(bucket, key) {
  37135. var $length, i;
  37136. if (bucket == null)
  37137. return -1;
  37138. $length = bucket.length;
  37139. for (i = 0; i < $length; ++i)
  37140. if (J.$eq$(bucket[i].hashMapCellKey, key))
  37141. return i;
  37142. return -1;
  37143. },
  37144. toString$0(_) {
  37145. return A.MapBase_mapToString(this);
  37146. },
  37147. _newHashTable$0() {
  37148. var table = Object.create(null);
  37149. table["<non-identifier-key>"] = table;
  37150. delete table["<non-identifier-key>"];
  37151. return table;
  37152. }
  37153. };
  37154. A.JsLinkedHashMap_addAll_closure.prototype = {
  37155. call$2(key, value) {
  37156. this.$this.$indexSet(0, key, value);
  37157. },
  37158. $signature() {
  37159. return A._instanceType(this.$this)._eval$1("~(1,2)");
  37160. }
  37161. };
  37162. A.LinkedHashMapCell.prototype = {};
  37163. A.LinkedHashMapKeysIterable.prototype = {
  37164. get$length(_) {
  37165. return this.__js_helper$_map.__js_helper$_length;
  37166. },
  37167. get$isEmpty(_) {
  37168. return this.__js_helper$_map.__js_helper$_length === 0;
  37169. },
  37170. get$iterator(_) {
  37171. var t1 = this.__js_helper$_map;
  37172. return new A.LinkedHashMapKeyIterator(t1, t1._modifications, t1._first);
  37173. },
  37174. contains$1(_, element) {
  37175. return this.__js_helper$_map.containsKey$1(element);
  37176. }
  37177. };
  37178. A.LinkedHashMapKeyIterator.prototype = {
  37179. get$current(_) {
  37180. return this.__js_helper$_current;
  37181. },
  37182. moveNext$0() {
  37183. var cell, _this = this,
  37184. t1 = _this.__js_helper$_map;
  37185. if (_this._modifications !== t1._modifications)
  37186. throw A.wrapException(A.ConcurrentModificationError$(t1));
  37187. cell = _this._cell;
  37188. if (cell == null) {
  37189. _this.__js_helper$_current = null;
  37190. return false;
  37191. } else {
  37192. _this.__js_helper$_current = cell.hashMapCellKey;
  37193. _this._cell = cell._next;
  37194. return true;
  37195. }
  37196. }
  37197. };
  37198. A.LinkedHashMapValuesIterable.prototype = {
  37199. get$length(_) {
  37200. return this.__js_helper$_map.__js_helper$_length;
  37201. },
  37202. get$isEmpty(_) {
  37203. return this.__js_helper$_map.__js_helper$_length === 0;
  37204. },
  37205. get$iterator(_) {
  37206. var t1 = this.__js_helper$_map;
  37207. return new A.LinkedHashMapValueIterator(t1, t1._modifications, t1._first);
  37208. }
  37209. };
  37210. A.LinkedHashMapValueIterator.prototype = {
  37211. get$current(_) {
  37212. return this.__js_helper$_current;
  37213. },
  37214. moveNext$0() {
  37215. var cell, _this = this,
  37216. t1 = _this.__js_helper$_map;
  37217. if (_this._modifications !== t1._modifications)
  37218. throw A.wrapException(A.ConcurrentModificationError$(t1));
  37219. cell = _this._cell;
  37220. if (cell == null) {
  37221. _this.__js_helper$_current = null;
  37222. return false;
  37223. } else {
  37224. _this.__js_helper$_current = cell.hashMapCellValue;
  37225. _this._cell = cell._next;
  37226. return true;
  37227. }
  37228. }
  37229. };
  37230. A.LinkedHashMapEntriesIterable.prototype = {
  37231. get$length(_) {
  37232. return this.__js_helper$_map.__js_helper$_length;
  37233. },
  37234. get$isEmpty(_) {
  37235. return this.__js_helper$_map.__js_helper$_length === 0;
  37236. },
  37237. get$iterator(_) {
  37238. var t1 = this.__js_helper$_map;
  37239. return new A.LinkedHashMapEntryIterator(t1, t1._modifications, t1._first, this.$ti._eval$1("LinkedHashMapEntryIterator<1,2>"));
  37240. }
  37241. };
  37242. A.LinkedHashMapEntryIterator.prototype = {
  37243. get$current(_) {
  37244. var t1 = this.__js_helper$_current;
  37245. t1.toString;
  37246. return t1;
  37247. },
  37248. moveNext$0() {
  37249. var cell, _this = this,
  37250. t1 = _this.__js_helper$_map;
  37251. if (_this._modifications !== t1._modifications)
  37252. throw A.wrapException(A.ConcurrentModificationError$(t1));
  37253. cell = _this._cell;
  37254. if (cell == null) {
  37255. _this.__js_helper$_current = null;
  37256. return false;
  37257. } else {
  37258. _this.__js_helper$_current = new A.MapEntry(cell.hashMapCellKey, cell.hashMapCellValue, _this.$ti._eval$1("MapEntry<1,2>"));
  37259. _this._cell = cell._next;
  37260. return true;
  37261. }
  37262. }
  37263. };
  37264. A.JsIdentityLinkedHashMap.prototype = {
  37265. internalComputeHashCode$1(key) {
  37266. return A.objectHashCode(key) & 1073741823;
  37267. },
  37268. internalFindBucketIndex$2(bucket, key) {
  37269. var $length, i, t1;
  37270. if (bucket == null)
  37271. return -1;
  37272. $length = bucket.length;
  37273. for (i = 0; i < $length; ++i) {
  37274. t1 = bucket[i].hashMapCellKey;
  37275. if (t1 == null ? key == null : t1 === key)
  37276. return i;
  37277. }
  37278. return -1;
  37279. }
  37280. };
  37281. A.JsConstantLinkedHashMap.prototype = {
  37282. internalComputeHashCode$1(key) {
  37283. return A.constantHashCode(key) & 1073741823;
  37284. },
  37285. internalFindBucketIndex$2(bucket, key) {
  37286. var $length, i;
  37287. if (bucket == null)
  37288. return -1;
  37289. $length = bucket.length;
  37290. for (i = 0; i < $length; ++i)
  37291. if (J.$eq$(bucket[i].hashMapCellKey, key))
  37292. return i;
  37293. return -1;
  37294. }
  37295. };
  37296. A.initHooks_closure.prototype = {
  37297. call$1(o) {
  37298. return this.getTag(o);
  37299. },
  37300. $signature: 100
  37301. };
  37302. A.initHooks_closure0.prototype = {
  37303. call$2(o, tag) {
  37304. return this.getUnknownTag(o, tag);
  37305. },
  37306. $signature: 387
  37307. };
  37308. A.initHooks_closure1.prototype = {
  37309. call$1(tag) {
  37310. return this.prototypeForTag(tag);
  37311. },
  37312. $signature: 199
  37313. };
  37314. A._Record.prototype = {
  37315. toString$0(_) {
  37316. return this._toString$1(false);
  37317. },
  37318. _toString$1(safe) {
  37319. var t2, separator, i, key, value,
  37320. keys = this._fieldKeys$0(),
  37321. values = this._getFieldValues$0(),
  37322. t1 = (safe ? "" + "Record " : "") + "(";
  37323. for (t2 = keys.length, separator = "", i = 0; i < t2; ++i, separator = ", ") {
  37324. t1 += separator;
  37325. key = keys[i];
  37326. if (typeof key == "string")
  37327. t1 = t1 + key + ": ";
  37328. value = values[i];
  37329. t1 = safe ? t1 + A.Primitives_safeToString(value) : t1 + A.S(value);
  37330. }
  37331. t1 += ")";
  37332. return t1.charCodeAt(0) == 0 ? t1 : t1;
  37333. },
  37334. _fieldKeys$0() {
  37335. var t1,
  37336. shapeTag = this.$shape;
  37337. for (; $._Record__computedFieldKeys.length <= shapeTag;)
  37338. $._Record__computedFieldKeys.push(null);
  37339. t1 = $._Record__computedFieldKeys[shapeTag];
  37340. if (t1 == null) {
  37341. t1 = this._computeFieldKeys$0();
  37342. $._Record__computedFieldKeys[shapeTag] = t1;
  37343. }
  37344. return t1;
  37345. },
  37346. _computeFieldKeys$0() {
  37347. var i, names, last,
  37348. recipe = this.$recipe,
  37349. position = recipe.indexOf("("),
  37350. joinedNames = recipe.substring(1, position),
  37351. fields = recipe.substring(position),
  37352. arity = fields === "()" ? 0 : fields.replace(/[^,]/g, "").length + 1,
  37353. t1 = type$.Object,
  37354. result = J.JSArray_JSArray$allocateGrowable(arity, t1);
  37355. for (i = 0; i < arity; ++i)
  37356. result[i] = i;
  37357. if (joinedNames !== "") {
  37358. names = joinedNames.split(",");
  37359. i = names.length;
  37360. for (last = arity; i > 0;) {
  37361. --last;
  37362. --i;
  37363. result[last] = names[i];
  37364. }
  37365. }
  37366. return A.List_List$unmodifiable(result, t1);
  37367. }
  37368. };
  37369. A._Record2.prototype = {
  37370. _getFieldValues$0() {
  37371. return [this._0, this._1];
  37372. },
  37373. $eq(_, other) {
  37374. if (other == null)
  37375. return false;
  37376. return other instanceof A._Record2 && this.$shape === other.$shape && J.$eq$(this._0, other._0) && J.$eq$(this._1, other._1);
  37377. },
  37378. get$hashCode(_) {
  37379. return A.Object_hash(this.$shape, this._0, this._1, B.C_SentinelValue);
  37380. }
  37381. };
  37382. A._Record1.prototype = {
  37383. _getFieldValues$0() {
  37384. return [this._0];
  37385. },
  37386. $eq(_, other) {
  37387. if (other == null)
  37388. return false;
  37389. return other instanceof A._Record1 && this.$shape === other.$shape && J.$eq$(this._0, other._0);
  37390. },
  37391. get$hashCode(_) {
  37392. return A.Object_hash(this.$shape, this._0, B.C_SentinelValue, B.C_SentinelValue);
  37393. }
  37394. };
  37395. A._Record3.prototype = {
  37396. _getFieldValues$0() {
  37397. return [this._0, this._1, this._2];
  37398. },
  37399. $eq(_, other) {
  37400. var _this = this;
  37401. if (other == null)
  37402. return false;
  37403. 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);
  37404. },
  37405. get$hashCode(_) {
  37406. var _this = this;
  37407. return A.Object_hash(_this.$shape, _this._0, _this._1, _this._2);
  37408. }
  37409. };
  37410. A._RecordN.prototype = {
  37411. _getFieldValues$0() {
  37412. return this._values;
  37413. },
  37414. $eq(_, other) {
  37415. if (other == null)
  37416. return false;
  37417. return other instanceof A._RecordN && this.$shape === other.$shape && A._RecordN__equalValues(this._values, other._values);
  37418. },
  37419. get$hashCode(_) {
  37420. return A.Object_hash(this.$shape, A.Object_hashAll(this._values), B.C_SentinelValue, B.C_SentinelValue);
  37421. }
  37422. };
  37423. A.JSSyntaxRegExp.prototype = {
  37424. toString$0(_) {
  37425. return "RegExp/" + this.pattern + "/" + this._nativeRegExp.flags;
  37426. },
  37427. get$_nativeGlobalVersion() {
  37428. var _this = this,
  37429. t1 = _this._nativeGlobalRegExp;
  37430. if (t1 != null)
  37431. return t1;
  37432. t1 = _this._nativeRegExp;
  37433. return _this._nativeGlobalRegExp = A.JSSyntaxRegExp_makeNative(_this.pattern, t1.multiline, !t1.ignoreCase, t1.unicode, t1.dotAll, "g");
  37434. },
  37435. get$_nativeAnchoredVersion() {
  37436. var _this = this,
  37437. t1 = _this._nativeAnchoredRegExp;
  37438. if (t1 != null)
  37439. return t1;
  37440. t1 = _this._nativeRegExp;
  37441. return _this._nativeAnchoredRegExp = A.JSSyntaxRegExp_makeNative(_this.pattern, t1.multiline, !t1.ignoreCase, t1.unicode, t1.dotAll, "y");
  37442. },
  37443. _computeHasCaptures$0() {
  37444. var t2,
  37445. t1 = this.pattern;
  37446. if (!B.JSString_methods.contains$1(t1, "("))
  37447. return false;
  37448. t2 = this._nativeRegExp.unicode ? "u" : "";
  37449. return new RegExp("(?:)|" + t1, t2).exec("").length > 1;
  37450. },
  37451. firstMatch$1(string) {
  37452. var m = this._nativeRegExp.exec(string);
  37453. if (m == null)
  37454. return null;
  37455. return new A._MatchImplementation(m);
  37456. },
  37457. allMatches$2(_, string, start) {
  37458. var t1 = string.length;
  37459. if (start > t1)
  37460. throw A.wrapException(A.RangeError$range(start, 0, t1, null, null));
  37461. return new A._AllMatchesIterable(this, string, start);
  37462. },
  37463. allMatches$1(_, string) {
  37464. return this.allMatches$2(0, string, 0);
  37465. },
  37466. _execGlobal$2(string, start) {
  37467. var match,
  37468. regexp = this.get$_nativeGlobalVersion();
  37469. regexp.lastIndex = start;
  37470. match = regexp.exec(string);
  37471. if (match == null)
  37472. return null;
  37473. return new A._MatchImplementation(match);
  37474. },
  37475. _execAnchored$2(string, start) {
  37476. var match,
  37477. regexp = this.get$_nativeAnchoredVersion();
  37478. regexp.lastIndex = start;
  37479. match = regexp.exec(string);
  37480. if (match == null)
  37481. return null;
  37482. return new A._MatchImplementation(match);
  37483. },
  37484. matchAsPrefix$2(_, string, start) {
  37485. if (start < 0 || start > string.length)
  37486. throw A.wrapException(A.RangeError$range(start, 0, string.length, null, null));
  37487. return this._execAnchored$2(string, start);
  37488. }
  37489. };
  37490. A._MatchImplementation.prototype = {
  37491. get$start(_) {
  37492. return this._match.index;
  37493. },
  37494. get$end(_) {
  37495. var t1 = this._match;
  37496. return t1.index + t1[0].length;
  37497. },
  37498. namedGroup$1($name) {
  37499. var result,
  37500. groups = this._match.groups;
  37501. if (groups != null) {
  37502. result = groups[$name];
  37503. if (result != null || $name in groups)
  37504. return result;
  37505. }
  37506. throw A.wrapException(A.ArgumentError$value($name, "name", "Not a capture group name"));
  37507. },
  37508. $isMatch: 1,
  37509. $isRegExpMatch: 1
  37510. };
  37511. A._AllMatchesIterable.prototype = {
  37512. get$iterator(_) {
  37513. return new A._AllMatchesIterator(this._re, this.__js_helper$_string, this.__js_helper$_start);
  37514. }
  37515. };
  37516. A._AllMatchesIterator.prototype = {
  37517. get$current(_) {
  37518. var t1 = this.__js_helper$_current;
  37519. return t1 == null ? type$.RegExpMatch._as(t1) : t1;
  37520. },
  37521. moveNext$0() {
  37522. var t1, t2, t3, match, nextIndex, t4, _this = this,
  37523. string = _this.__js_helper$_string;
  37524. if (string == null)
  37525. return false;
  37526. t1 = _this._nextIndex;
  37527. t2 = string.length;
  37528. if (t1 <= t2) {
  37529. t3 = _this._regExp;
  37530. match = t3._execGlobal$2(string, t1);
  37531. if (match != null) {
  37532. _this.__js_helper$_current = match;
  37533. nextIndex = match.get$end(0);
  37534. if (match._match.index === nextIndex) {
  37535. t1 = false;
  37536. if (t3._nativeRegExp.unicode) {
  37537. t3 = _this._nextIndex;
  37538. t4 = t3 + 1;
  37539. if (t4 < t2) {
  37540. t2 = string.charCodeAt(t3);
  37541. if (t2 >= 55296 && t2 <= 56319) {
  37542. t1 = string.charCodeAt(t4);
  37543. t1 = t1 >= 56320 && t1 <= 57343;
  37544. }
  37545. }
  37546. }
  37547. nextIndex = (t1 ? nextIndex + 1 : nextIndex) + 1;
  37548. }
  37549. _this._nextIndex = nextIndex;
  37550. return true;
  37551. }
  37552. }
  37553. _this.__js_helper$_string = _this.__js_helper$_current = null;
  37554. return false;
  37555. }
  37556. };
  37557. A.StringMatch.prototype = {
  37558. get$end(_) {
  37559. return this.start + this.pattern.length;
  37560. },
  37561. $isMatch: 1,
  37562. get$start(receiver) {
  37563. return this.start;
  37564. }
  37565. };
  37566. A._StringAllMatchesIterable.prototype = {
  37567. get$iterator(_) {
  37568. return new A._StringAllMatchesIterator(this._input, this._pattern, this.__js_helper$_index);
  37569. },
  37570. get$first(_) {
  37571. var t1 = this._pattern,
  37572. index = this._input.indexOf(t1, this.__js_helper$_index);
  37573. if (index >= 0)
  37574. return new A.StringMatch(index, t1);
  37575. throw A.wrapException(A.IterableElementError_noElement());
  37576. }
  37577. };
  37578. A._StringAllMatchesIterator.prototype = {
  37579. moveNext$0() {
  37580. var index, end, _this = this,
  37581. t1 = _this.__js_helper$_index,
  37582. t2 = _this._pattern,
  37583. t3 = t2.length,
  37584. t4 = _this._input,
  37585. t5 = t4.length;
  37586. if (t1 + t3 > t5) {
  37587. _this.__js_helper$_current = null;
  37588. return false;
  37589. }
  37590. index = t4.indexOf(t2, t1);
  37591. if (index < 0) {
  37592. _this.__js_helper$_index = t5 + 1;
  37593. _this.__js_helper$_current = null;
  37594. return false;
  37595. }
  37596. end = index + t3;
  37597. _this.__js_helper$_current = new A.StringMatch(index, t2);
  37598. _this.__js_helper$_index = end === _this.__js_helper$_index ? end + 1 : end;
  37599. return true;
  37600. },
  37601. get$current(_) {
  37602. var t1 = this.__js_helper$_current;
  37603. t1.toString;
  37604. return t1;
  37605. }
  37606. };
  37607. A._Cell.prototype = {
  37608. readLocal$1$0() {
  37609. var t1 = this.__late_helper$_value;
  37610. if (t1 === this)
  37611. A.throwExpression(new A.LateError("Local '' has not been initialized."));
  37612. return t1;
  37613. },
  37614. readLocal$0() {
  37615. return this.readLocal$1$0(type$.dynamic);
  37616. },
  37617. _readLocal$0() {
  37618. var t1 = this.__late_helper$_value;
  37619. if (t1 === this)
  37620. throw A.wrapException(new A.LateError("Local '' has not been initialized."));
  37621. return t1;
  37622. }
  37623. };
  37624. A.NativeByteBuffer.prototype = {
  37625. get$runtimeType(receiver) {
  37626. return B.Type_ByteBuffer_rqD;
  37627. },
  37628. $isTrustedGetRuntimeType: 1,
  37629. $isByteBuffer: 1
  37630. };
  37631. A.NativeTypedData.prototype = {
  37632. _invalidPosition$3(receiver, position, $length, $name) {
  37633. var t1 = A.RangeError$range(position, 0, $length, $name, null);
  37634. throw A.wrapException(t1);
  37635. },
  37636. _checkPosition$3(receiver, position, $length, $name) {
  37637. if (position >>> 0 !== position || position > $length)
  37638. this._invalidPosition$3(receiver, position, $length, $name);
  37639. }
  37640. };
  37641. A.NativeByteData.prototype = {
  37642. get$runtimeType(receiver) {
  37643. return B.Type_ByteData_9dB;
  37644. },
  37645. $isTrustedGetRuntimeType: 1,
  37646. $isByteData: 1
  37647. };
  37648. A.NativeTypedArray.prototype = {
  37649. get$length(receiver) {
  37650. return receiver.length;
  37651. },
  37652. _setRangeFast$4(receiver, start, end, source, skipCount) {
  37653. var count, sourceLength,
  37654. targetLength = receiver.length;
  37655. this._checkPosition$3(receiver, start, targetLength, "start");
  37656. this._checkPosition$3(receiver, end, targetLength, "end");
  37657. if (start > end)
  37658. throw A.wrapException(A.RangeError$range(start, 0, end, null, null));
  37659. count = end - start;
  37660. if (skipCount < 0)
  37661. throw A.wrapException(A.ArgumentError$(skipCount, null));
  37662. sourceLength = source.length;
  37663. if (sourceLength - skipCount < count)
  37664. throw A.wrapException(A.StateError$("Not enough elements"));
  37665. if (skipCount !== 0 || sourceLength !== count)
  37666. source = source.subarray(skipCount, skipCount + count);
  37667. receiver.set(source, start);
  37668. },
  37669. $isJavaScriptIndexingBehavior: 1
  37670. };
  37671. A.NativeTypedArrayOfDouble.prototype = {
  37672. $index(receiver, index) {
  37673. A._checkValidIndex(index, receiver, receiver.length);
  37674. return receiver[index];
  37675. },
  37676. $indexSet(receiver, index, value) {
  37677. receiver.$flags & 2 && A.throwUnsupportedOperation(receiver);
  37678. A._checkValidIndex(index, receiver, receiver.length);
  37679. receiver[index] = value;
  37680. },
  37681. setRange$4(receiver, start, end, iterable, skipCount) {
  37682. receiver.$flags & 2 && A.throwUnsupportedOperation(receiver, 5);
  37683. if (type$.NativeTypedArrayOfDouble._is(iterable)) {
  37684. this._setRangeFast$4(receiver, start, end, iterable, skipCount);
  37685. return;
  37686. }
  37687. this.super$ListBase$setRange(receiver, start, end, iterable, skipCount);
  37688. },
  37689. $isEfficientLengthIterable: 1,
  37690. $isIterable: 1,
  37691. $isList: 1
  37692. };
  37693. A.NativeTypedArrayOfInt.prototype = {
  37694. $indexSet(receiver, index, value) {
  37695. receiver.$flags & 2 && A.throwUnsupportedOperation(receiver);
  37696. A._checkValidIndex(index, receiver, receiver.length);
  37697. receiver[index] = value;
  37698. },
  37699. setRange$4(receiver, start, end, iterable, skipCount) {
  37700. receiver.$flags & 2 && A.throwUnsupportedOperation(receiver, 5);
  37701. if (type$.NativeTypedArrayOfInt._is(iterable)) {
  37702. this._setRangeFast$4(receiver, start, end, iterable, skipCount);
  37703. return;
  37704. }
  37705. this.super$ListBase$setRange(receiver, start, end, iterable, skipCount);
  37706. },
  37707. $isEfficientLengthIterable: 1,
  37708. $isIterable: 1,
  37709. $isList: 1
  37710. };
  37711. A.NativeFloat32List.prototype = {
  37712. get$runtimeType(receiver) {
  37713. return B.Type_Float32List_9Kz;
  37714. },
  37715. sublist$2(receiver, start, end) {
  37716. return new Float32Array(receiver.subarray(start, A._checkValidRange(start, end, receiver.length)));
  37717. },
  37718. sublist$1(receiver, start) {
  37719. return this.sublist$2(receiver, start, null);
  37720. },
  37721. $isTrustedGetRuntimeType: 1,
  37722. $isFloat32List: 1
  37723. };
  37724. A.NativeFloat64List.prototype = {
  37725. get$runtimeType(receiver) {
  37726. return B.Type_Float64List_9Kz;
  37727. },
  37728. sublist$2(receiver, start, end) {
  37729. return new Float64Array(receiver.subarray(start, A._checkValidRange(start, end, receiver.length)));
  37730. },
  37731. sublist$1(receiver, start) {
  37732. return this.sublist$2(receiver, start, null);
  37733. },
  37734. $isTrustedGetRuntimeType: 1,
  37735. $isFloat64List: 1
  37736. };
  37737. A.NativeInt16List.prototype = {
  37738. get$runtimeType(receiver) {
  37739. return B.Type_Int16List_s5h;
  37740. },
  37741. $index(receiver, index) {
  37742. A._checkValidIndex(index, receiver, receiver.length);
  37743. return receiver[index];
  37744. },
  37745. sublist$2(receiver, start, end) {
  37746. return new Int16Array(receiver.subarray(start, A._checkValidRange(start, end, receiver.length)));
  37747. },
  37748. sublist$1(receiver, start) {
  37749. return this.sublist$2(receiver, start, null);
  37750. },
  37751. $isTrustedGetRuntimeType: 1,
  37752. $isInt16List: 1
  37753. };
  37754. A.NativeInt32List.prototype = {
  37755. get$runtimeType(receiver) {
  37756. return B.Type_Int32List_O8Z;
  37757. },
  37758. $index(receiver, index) {
  37759. A._checkValidIndex(index, receiver, receiver.length);
  37760. return receiver[index];
  37761. },
  37762. sublist$2(receiver, start, end) {
  37763. return new Int32Array(receiver.subarray(start, A._checkValidRange(start, end, receiver.length)));
  37764. },
  37765. sublist$1(receiver, start) {
  37766. return this.sublist$2(receiver, start, null);
  37767. },
  37768. $isTrustedGetRuntimeType: 1,
  37769. $isInt32List: 1
  37770. };
  37771. A.NativeInt8List.prototype = {
  37772. get$runtimeType(receiver) {
  37773. return B.Type_Int8List_rFV;
  37774. },
  37775. $index(receiver, index) {
  37776. A._checkValidIndex(index, receiver, receiver.length);
  37777. return receiver[index];
  37778. },
  37779. sublist$2(receiver, start, end) {
  37780. return new Int8Array(receiver.subarray(start, A._checkValidRange(start, end, receiver.length)));
  37781. },
  37782. sublist$1(receiver, start) {
  37783. return this.sublist$2(receiver, start, null);
  37784. },
  37785. $isTrustedGetRuntimeType: 1,
  37786. $isInt8List: 1
  37787. };
  37788. A.NativeUint16List.prototype = {
  37789. get$runtimeType(receiver) {
  37790. return B.Type_Uint16List_kmP;
  37791. },
  37792. $index(receiver, index) {
  37793. A._checkValidIndex(index, receiver, receiver.length);
  37794. return receiver[index];
  37795. },
  37796. sublist$2(receiver, start, end) {
  37797. return new Uint16Array(receiver.subarray(start, A._checkValidRange(start, end, receiver.length)));
  37798. },
  37799. sublist$1(receiver, start) {
  37800. return this.sublist$2(receiver, start, null);
  37801. },
  37802. $isTrustedGetRuntimeType: 1,
  37803. $isUint16List: 1
  37804. };
  37805. A.NativeUint32List.prototype = {
  37806. get$runtimeType(receiver) {
  37807. return B.Type_Uint32List_kmP;
  37808. },
  37809. $index(receiver, index) {
  37810. A._checkValidIndex(index, receiver, receiver.length);
  37811. return receiver[index];
  37812. },
  37813. sublist$2(receiver, start, end) {
  37814. return new Uint32Array(receiver.subarray(start, A._checkValidRange(start, end, receiver.length)));
  37815. },
  37816. sublist$1(receiver, start) {
  37817. return this.sublist$2(receiver, start, null);
  37818. },
  37819. $isTrustedGetRuntimeType: 1,
  37820. $isUint32List: 1
  37821. };
  37822. A.NativeUint8ClampedList.prototype = {
  37823. get$runtimeType(receiver) {
  37824. return B.Type_Uint8ClampedList_04U;
  37825. },
  37826. get$length(receiver) {
  37827. return receiver.length;
  37828. },
  37829. $index(receiver, index) {
  37830. A._checkValidIndex(index, receiver, receiver.length);
  37831. return receiver[index];
  37832. },
  37833. sublist$2(receiver, start, end) {
  37834. return new Uint8ClampedArray(receiver.subarray(start, A._checkValidRange(start, end, receiver.length)));
  37835. },
  37836. sublist$1(receiver, start) {
  37837. return this.sublist$2(receiver, start, null);
  37838. },
  37839. $isTrustedGetRuntimeType: 1,
  37840. $isUint8ClampedList: 1
  37841. };
  37842. A.NativeUint8List.prototype = {
  37843. get$runtimeType(receiver) {
  37844. return B.Type_Uint8List_8Eb;
  37845. },
  37846. get$length(receiver) {
  37847. return receiver.length;
  37848. },
  37849. $index(receiver, index) {
  37850. A._checkValidIndex(index, receiver, receiver.length);
  37851. return receiver[index];
  37852. },
  37853. sublist$2(receiver, start, end) {
  37854. return new Uint8Array(receiver.subarray(start, A._checkValidRange(start, end, receiver.length)));
  37855. },
  37856. sublist$1(receiver, start) {
  37857. return this.sublist$2(receiver, start, null);
  37858. },
  37859. $isTrustedGetRuntimeType: 1,
  37860. $isNativeUint8List: 1,
  37861. $isUint8List: 1
  37862. };
  37863. A._NativeTypedArrayOfDouble_NativeTypedArray_ListMixin.prototype = {};
  37864. A._NativeTypedArrayOfDouble_NativeTypedArray_ListMixin_FixedLengthListMixin.prototype = {};
  37865. A._NativeTypedArrayOfInt_NativeTypedArray_ListMixin.prototype = {};
  37866. A._NativeTypedArrayOfInt_NativeTypedArray_ListMixin_FixedLengthListMixin.prototype = {};
  37867. A.Rti.prototype = {
  37868. _eval$1(recipe) {
  37869. return A._Universe_evalInEnvironment(init.typeUniverse, this, recipe);
  37870. },
  37871. _bind$1(typeOrTuple) {
  37872. return A._Universe_bind(init.typeUniverse, this, typeOrTuple);
  37873. }
  37874. };
  37875. A._FunctionParameters.prototype = {};
  37876. A._Type.prototype = {
  37877. toString$0(_) {
  37878. return A._rtiToString(this._rti, null);
  37879. }
  37880. };
  37881. A._Error.prototype = {
  37882. toString$0(_) {
  37883. return this.__rti$_message;
  37884. }
  37885. };
  37886. A._TypeError.prototype = {
  37887. get$message(_) {
  37888. return this.__rti$_message;
  37889. },
  37890. $isTypeError: 1
  37891. };
  37892. A._AsyncRun__initializeScheduleImmediate_internalCallback.prototype = {
  37893. call$1(__wc0_formal) {
  37894. var t1 = this._box_0,
  37895. f = t1.storedCallback;
  37896. t1.storedCallback = null;
  37897. f.call$0();
  37898. },
  37899. $signature: 64
  37900. };
  37901. A._AsyncRun__initializeScheduleImmediate_closure.prototype = {
  37902. call$1(callback) {
  37903. var t1, t2;
  37904. this._box_0.storedCallback = callback;
  37905. t1 = this.div;
  37906. t2 = this.span;
  37907. t1.firstChild ? t1.removeChild(t2) : t1.appendChild(t2);
  37908. },
  37909. $signature: 37
  37910. };
  37911. A._AsyncRun__scheduleImmediateJsOverride_internalCallback.prototype = {
  37912. call$0() {
  37913. this.callback.call$0();
  37914. },
  37915. $signature: 1
  37916. };
  37917. A._AsyncRun__scheduleImmediateWithSetImmediate_internalCallback.prototype = {
  37918. call$0() {
  37919. this.callback.call$0();
  37920. },
  37921. $signature: 1
  37922. };
  37923. A._TimerImpl.prototype = {
  37924. _TimerImpl$2(milliseconds, callback) {
  37925. if (self.setTimeout != null)
  37926. this._handle = self.setTimeout(A.convertDartClosureToJS(new A._TimerImpl_internalCallback(this, callback), 0), milliseconds);
  37927. else
  37928. throw A.wrapException(A.UnsupportedError$("`setTimeout()` not found."));
  37929. },
  37930. _TimerImpl$periodic$2(milliseconds, callback) {
  37931. if (self.setTimeout != null)
  37932. this._handle = self.setInterval(A.convertDartClosureToJS(new A._TimerImpl$periodic_closure(this, milliseconds, Date.now(), callback), 0), milliseconds);
  37933. else
  37934. throw A.wrapException(A.UnsupportedError$("Periodic timer."));
  37935. },
  37936. cancel$0() {
  37937. if (self.setTimeout != null) {
  37938. var t1 = this._handle;
  37939. if (t1 == null)
  37940. return;
  37941. if (this._once)
  37942. self.clearTimeout(t1);
  37943. else
  37944. self.clearInterval(t1);
  37945. this._handle = null;
  37946. } else
  37947. throw A.wrapException(A.UnsupportedError$("Canceling a timer."));
  37948. }
  37949. };
  37950. A._TimerImpl_internalCallback.prototype = {
  37951. call$0() {
  37952. var t1 = this.$this;
  37953. t1._handle = null;
  37954. t1._tick = 1;
  37955. this.callback.call$0();
  37956. },
  37957. $signature: 0
  37958. };
  37959. A._TimerImpl$periodic_closure.prototype = {
  37960. call$0() {
  37961. var duration, _this = this,
  37962. t1 = _this.$this,
  37963. tick = t1._tick + 1,
  37964. t2 = _this.milliseconds;
  37965. if (t2 > 0) {
  37966. duration = Date.now() - _this.start;
  37967. if (duration > (tick + 1) * t2)
  37968. tick = B.JSInt_methods.$tdiv(duration, t2);
  37969. }
  37970. t1._tick = tick;
  37971. _this.callback.call$1(t1);
  37972. },
  37973. $signature: 1
  37974. };
  37975. A._AsyncAwaitCompleter.prototype = {
  37976. complete$1(value) {
  37977. var t1, _this = this;
  37978. if (value == null)
  37979. value = _this.$ti._precomputed1._as(value);
  37980. if (!_this.isSync)
  37981. _this._future._asyncComplete$1(value);
  37982. else {
  37983. t1 = _this._future;
  37984. if (_this.$ti._eval$1("Future<1>")._is(value))
  37985. t1._chainFuture$1(value);
  37986. else
  37987. t1._completeWithValue$1(value);
  37988. }
  37989. },
  37990. completeError$2(e, st) {
  37991. var t1 = this._future;
  37992. if (this.isSync)
  37993. t1._completeErrorObject$1(new A.AsyncError(e, st));
  37994. else
  37995. t1._asyncCompleteErrorObject$1(new A.AsyncError(e, st));
  37996. }
  37997. };
  37998. A._awaitOnObject_closure.prototype = {
  37999. call$1(result) {
  38000. return this.bodyFunction.call$2(0, result);
  38001. },
  38002. $signature: 75
  38003. };
  38004. A._awaitOnObject_closure0.prototype = {
  38005. call$2(error, stackTrace) {
  38006. this.bodyFunction.call$2(1, new A.ExceptionAndStackTrace(error, stackTrace));
  38007. },
  38008. $signature: 390
  38009. };
  38010. A._wrapJsFunctionForAsync_closure.prototype = {
  38011. call$2(errorCode, result) {
  38012. this.$protected(errorCode, result);
  38013. },
  38014. $signature: 379
  38015. };
  38016. A._SyncStarIterator.prototype = {
  38017. get$current(_) {
  38018. return this._async$_current;
  38019. },
  38020. _resumeBody$2(errorCode, errorValue) {
  38021. var body, t1, exception;
  38022. errorCode = errorCode;
  38023. errorValue = errorValue;
  38024. body = this._body;
  38025. for (; true;)
  38026. try {
  38027. t1 = body(this, errorCode, errorValue);
  38028. return t1;
  38029. } catch (exception) {
  38030. errorValue = exception;
  38031. errorCode = 1;
  38032. }
  38033. },
  38034. moveNext$0() {
  38035. var nestedIterator, t1, exception, value, suspendedBodies, _this = this, errorValue = null, errorCode = 0;
  38036. for (; true;) {
  38037. nestedIterator = _this._nestedIterator;
  38038. if (nestedIterator != null)
  38039. try {
  38040. if (nestedIterator.moveNext$0()) {
  38041. t1 = nestedIterator;
  38042. _this._async$_current = t1.get$current(t1);
  38043. return true;
  38044. } else
  38045. _this._nestedIterator = null;
  38046. } catch (exception) {
  38047. errorValue = exception;
  38048. errorCode = 1;
  38049. _this._nestedIterator = null;
  38050. }
  38051. value = _this._resumeBody$2(errorCode, errorValue);
  38052. if (1 === value)
  38053. return true;
  38054. if (0 === value) {
  38055. _this._async$_current = null;
  38056. suspendedBodies = _this._suspendedBodies;
  38057. if (suspendedBodies == null || suspendedBodies.length === 0) {
  38058. _this._body = A._SyncStarIterator__terminatedBody;
  38059. return false;
  38060. }
  38061. _this._body = suspendedBodies.pop();
  38062. errorCode = 0;
  38063. errorValue = null;
  38064. continue;
  38065. }
  38066. if (2 === value) {
  38067. errorCode = 0;
  38068. errorValue = null;
  38069. continue;
  38070. }
  38071. if (3 === value) {
  38072. errorValue = _this._datum;
  38073. _this._datum = null;
  38074. suspendedBodies = _this._suspendedBodies;
  38075. if (suspendedBodies == null || suspendedBodies.length === 0) {
  38076. _this._async$_current = null;
  38077. _this._body = A._SyncStarIterator__terminatedBody;
  38078. throw errorValue;
  38079. return false;
  38080. }
  38081. _this._body = suspendedBodies.pop();
  38082. errorCode = 1;
  38083. continue;
  38084. }
  38085. throw A.wrapException(A.StateError$("sync*"));
  38086. }
  38087. return false;
  38088. },
  38089. _yieldStar$1(iterable) {
  38090. var t1, t2, _this = this;
  38091. if (iterable instanceof A._SyncStarIterable) {
  38092. t1 = iterable._outerHelper();
  38093. t2 = _this._suspendedBodies;
  38094. if (t2 == null)
  38095. t2 = _this._suspendedBodies = [];
  38096. t2.push(_this._body);
  38097. _this._body = t1;
  38098. return 2;
  38099. } else {
  38100. _this._nestedIterator = J.get$iterator$ax(iterable);
  38101. return 2;
  38102. }
  38103. }
  38104. };
  38105. A._SyncStarIterable.prototype = {
  38106. get$iterator(_) {
  38107. return new A._SyncStarIterator(this._outerHelper());
  38108. }
  38109. };
  38110. A.AsyncError.prototype = {
  38111. toString$0(_) {
  38112. return A.S(this.error);
  38113. },
  38114. $isError: 1,
  38115. get$stackTrace() {
  38116. return this.stackTrace;
  38117. }
  38118. };
  38119. A.Future_wait_handleError.prototype = {
  38120. call$2(theError, theStackTrace) {
  38121. var _this = this,
  38122. t1 = _this._box_0,
  38123. t2 = --t1.remaining;
  38124. if (t1.values != null) {
  38125. t1.values = null;
  38126. t1.error = theError;
  38127. t1.stackTrace = theStackTrace;
  38128. if (t2 === 0 || _this.eagerError)
  38129. _this._future._completeErrorObject$1(new A.AsyncError(theError, theStackTrace));
  38130. } else if (t2 === 0 && !_this.eagerError) {
  38131. t2 = t1.error;
  38132. t2.toString;
  38133. t1 = t1.stackTrace;
  38134. t1.toString;
  38135. _this._future._completeErrorObject$1(new A.AsyncError(t2, t1));
  38136. }
  38137. },
  38138. $signature: 68
  38139. };
  38140. A.Future_wait_closure.prototype = {
  38141. call$1(value) {
  38142. var t1, value0, t3, t4, _i, t5, _this = this,
  38143. t2 = _this._box_0,
  38144. remainingResults = --t2.remaining,
  38145. valueList = t2.values;
  38146. if (valueList != null) {
  38147. J.$indexSet$ax(valueList, _this.pos, value);
  38148. if (J.$eq$(remainingResults, 0)) {
  38149. t2 = _this.T;
  38150. t1 = A._setArrayType([], t2._eval$1("JSArray<0>"));
  38151. for (t3 = valueList, t4 = t3.length, _i = 0; _i < t3.length; t3.length === t4 || (0, A.throwConcurrentModificationError)(t3), ++_i) {
  38152. value0 = t3[_i];
  38153. t5 = value0;
  38154. if (t5 == null)
  38155. t5 = t2._as(t5);
  38156. J.add$1$ax(t1, t5);
  38157. }
  38158. _this._future._completeWithValue$1(t1);
  38159. }
  38160. } else if (J.$eq$(remainingResults, 0) && !_this.eagerError) {
  38161. t1 = t2.error;
  38162. t1.toString;
  38163. t2 = t2.stackTrace;
  38164. t2.toString;
  38165. _this._future._completeErrorObject$1(new A.AsyncError(t1, t2));
  38166. }
  38167. },
  38168. $signature() {
  38169. return this.T._eval$1("Null(0)");
  38170. }
  38171. };
  38172. A._Completer.prototype = {
  38173. completeError$2(error, stackTrace) {
  38174. if ((this.future._state & 30) !== 0)
  38175. throw A.wrapException(A.StateError$("Future already completed"));
  38176. this._completeErrorObject$1(A._interceptUserError(error, stackTrace));
  38177. },
  38178. completeError$1(error) {
  38179. return this.completeError$2(error, null);
  38180. }
  38181. };
  38182. A._AsyncCompleter.prototype = {
  38183. complete$1(value) {
  38184. var t1 = this.future;
  38185. if ((t1._state & 30) !== 0)
  38186. throw A.wrapException(A.StateError$("Future already completed"));
  38187. t1._asyncComplete$1(value);
  38188. },
  38189. complete$0() {
  38190. return this.complete$1(null);
  38191. },
  38192. _completeErrorObject$1(error) {
  38193. this.future._asyncCompleteErrorObject$1(error);
  38194. }
  38195. };
  38196. A._SyncCompleter.prototype = {
  38197. complete$1(value) {
  38198. var t1 = this.future;
  38199. if ((t1._state & 30) !== 0)
  38200. throw A.wrapException(A.StateError$("Future already completed"));
  38201. t1._complete$1(value);
  38202. },
  38203. _completeErrorObject$1(error) {
  38204. this.future._completeErrorObject$1(error);
  38205. }
  38206. };
  38207. A._FutureListener.prototype = {
  38208. matchesErrorTest$1(asyncError) {
  38209. if ((this.state & 15) !== 6)
  38210. return true;
  38211. return this.result._zone.runUnary$2$2(this.callback, asyncError.error, type$.bool, type$.Object);
  38212. },
  38213. handleError$1(asyncError) {
  38214. var exception,
  38215. errorCallback = this.errorCallback,
  38216. result = null,
  38217. t1 = type$.dynamic,
  38218. t2 = type$.Object,
  38219. t3 = asyncError.error,
  38220. t4 = this.result._zone;
  38221. if (type$.dynamic_Function_Object_StackTrace._is(errorCallback))
  38222. result = t4.runBinary$3$3(errorCallback, t3, asyncError.stackTrace, t1, t2, type$.StackTrace);
  38223. else
  38224. result = t4.runUnary$2$2(errorCallback, t3, t1, t2);
  38225. try {
  38226. t1 = result;
  38227. return t1;
  38228. } catch (exception) {
  38229. if (type$.TypeError._is(A.unwrapException(exception))) {
  38230. if ((this.state & 1) !== 0)
  38231. throw A.wrapException(A.ArgumentError$("The error handler of Future.then must return a value of the returned future's type", "onError"));
  38232. throw A.wrapException(A.ArgumentError$("The error handler of Future.catchError must return a value of the future's type", "onError"));
  38233. } else
  38234. throw exception;
  38235. }
  38236. }
  38237. };
  38238. A._Future.prototype = {
  38239. then$1$2$onError(_, f, onError, $R) {
  38240. var result, t1,
  38241. currentZone = $.Zone__current;
  38242. if (currentZone === B.C__RootZone) {
  38243. if (onError != null && !type$.dynamic_Function_Object_StackTrace._is(onError) && !type$.dynamic_Function_Object._is(onError))
  38244. throw A.wrapException(A.ArgumentError$value(onError, "onError", string$.Error_));
  38245. } else {
  38246. f = currentZone.registerUnaryCallback$2$1(f, $R._eval$1("0/"), this.$ti._precomputed1);
  38247. if (onError != null)
  38248. onError = A._registerErrorHandler(onError, currentZone);
  38249. }
  38250. result = new A._Future($.Zone__current, $R._eval$1("_Future<0>"));
  38251. t1 = onError == null ? 1 : 3;
  38252. this._addListener$1(new A._FutureListener(result, t1, f, onError, this.$ti._eval$1("@<1>")._bind$1($R)._eval$1("_FutureListener<1,2>")));
  38253. return result;
  38254. },
  38255. then$1$1(_, f, $R) {
  38256. f.toString;
  38257. return this.then$1$2$onError(0, f, null, $R);
  38258. },
  38259. _thenAwait$1$2(f, onError, $E) {
  38260. var result = new A._Future($.Zone__current, $E._eval$1("_Future<0>"));
  38261. this._addListener$1(new A._FutureListener(result, 19, f, onError, this.$ti._eval$1("@<1>")._bind$1($E)._eval$1("_FutureListener<1,2>")));
  38262. return result;
  38263. },
  38264. catchError$1(onError) {
  38265. var t1 = this.$ti,
  38266. t2 = $.Zone__current,
  38267. result = new A._Future(t2, t1);
  38268. if (t2 !== B.C__RootZone)
  38269. onError = A._registerErrorHandler(onError, t2);
  38270. this._addListener$1(new A._FutureListener(result, 2, null, onError, t1._eval$1("_FutureListener<1,1>")));
  38271. return result;
  38272. },
  38273. whenComplete$1(action) {
  38274. var t1 = this.$ti,
  38275. t2 = $.Zone__current,
  38276. result = new A._Future(t2, t1);
  38277. if (t2 !== B.C__RootZone)
  38278. action = t2.registerCallback$1$1(action, type$.dynamic);
  38279. this._addListener$1(new A._FutureListener(result, 8, action, null, t1._eval$1("_FutureListener<1,1>")));
  38280. return result;
  38281. },
  38282. _setErrorObject$1(error) {
  38283. this._state = this._state & 1 | 16;
  38284. this._resultOrListeners = error;
  38285. },
  38286. _cloneResult$1(source) {
  38287. this._state = source._state & 30 | this._state & 1;
  38288. this._resultOrListeners = source._resultOrListeners;
  38289. },
  38290. _addListener$1(listener) {
  38291. var _this = this,
  38292. t1 = _this._state;
  38293. if (t1 <= 3) {
  38294. listener._nextListener = _this._resultOrListeners;
  38295. _this._resultOrListeners = listener;
  38296. } else {
  38297. if ((t1 & 4) !== 0) {
  38298. t1 = _this._resultOrListeners;
  38299. if ((t1._state & 24) === 0) {
  38300. t1._addListener$1(listener);
  38301. return;
  38302. }
  38303. _this._cloneResult$1(t1);
  38304. }
  38305. _this._zone.scheduleMicrotask$1(new A._Future__addListener_closure(_this, listener));
  38306. }
  38307. },
  38308. _prependListeners$1(listeners) {
  38309. var t1, existingListeners, next, cursor, next0, _this = this, _box_0 = {};
  38310. _box_0.listeners = listeners;
  38311. if (listeners == null)
  38312. return;
  38313. t1 = _this._state;
  38314. if (t1 <= 3) {
  38315. existingListeners = _this._resultOrListeners;
  38316. _this._resultOrListeners = listeners;
  38317. if (existingListeners != null) {
  38318. next = listeners._nextListener;
  38319. for (cursor = listeners; next != null; cursor = next, next = next0)
  38320. next0 = next._nextListener;
  38321. cursor._nextListener = existingListeners;
  38322. }
  38323. } else {
  38324. if ((t1 & 4) !== 0) {
  38325. t1 = _this._resultOrListeners;
  38326. if ((t1._state & 24) === 0) {
  38327. t1._prependListeners$1(listeners);
  38328. return;
  38329. }
  38330. _this._cloneResult$1(t1);
  38331. }
  38332. _box_0.listeners = _this._reverseListeners$1(listeners);
  38333. _this._zone.scheduleMicrotask$1(new A._Future__prependListeners_closure(_box_0, _this));
  38334. }
  38335. },
  38336. _removeListeners$0() {
  38337. var current = this._resultOrListeners;
  38338. this._resultOrListeners = null;
  38339. return this._reverseListeners$1(current);
  38340. },
  38341. _reverseListeners$1(listeners) {
  38342. var current, prev, next;
  38343. for (current = listeners, prev = null; current != null; prev = current, current = next) {
  38344. next = current._nextListener;
  38345. current._nextListener = prev;
  38346. }
  38347. return prev;
  38348. },
  38349. _complete$1(value) {
  38350. var listeners, _this = this;
  38351. if (_this.$ti._eval$1("Future<1>")._is(value))
  38352. A._Future__chainCoreFuture(value, _this, true);
  38353. else {
  38354. listeners = _this._removeListeners$0();
  38355. _this._state = 8;
  38356. _this._resultOrListeners = value;
  38357. A._Future__propagateToListeners(_this, listeners);
  38358. }
  38359. },
  38360. _completeWithValue$1(value) {
  38361. var _this = this,
  38362. listeners = _this._removeListeners$0();
  38363. _this._state = 8;
  38364. _this._resultOrListeners = value;
  38365. A._Future__propagateToListeners(_this, listeners);
  38366. },
  38367. _completeWithResultOf$1(source) {
  38368. var t1, t2, listeners, _this = this;
  38369. if ((source._state & 16) !== 0) {
  38370. t1 = _this._zone;
  38371. t2 = source._zone;
  38372. t1 = !(t1 === t2 || t1.get$errorZone() === t2.get$errorZone());
  38373. } else
  38374. t1 = false;
  38375. if (t1)
  38376. return;
  38377. listeners = _this._removeListeners$0();
  38378. _this._cloneResult$1(source);
  38379. A._Future__propagateToListeners(_this, listeners);
  38380. },
  38381. _completeErrorObject$1(error) {
  38382. var listeners = this._removeListeners$0();
  38383. this._setErrorObject$1(error);
  38384. A._Future__propagateToListeners(this, listeners);
  38385. },
  38386. _completeError$2(error, stackTrace) {
  38387. this._completeErrorObject$1(new A.AsyncError(error, stackTrace));
  38388. },
  38389. _asyncComplete$1(value) {
  38390. if (this.$ti._eval$1("Future<1>")._is(value)) {
  38391. this._chainFuture$1(value);
  38392. return;
  38393. }
  38394. this._asyncCompleteWithValue$1(value);
  38395. },
  38396. _asyncCompleteWithValue$1(value) {
  38397. this._state ^= 2;
  38398. this._zone.scheduleMicrotask$1(new A._Future__asyncCompleteWithValue_closure(this, value));
  38399. },
  38400. _chainFuture$1(value) {
  38401. A._Future__chainCoreFuture(value, this, false);
  38402. return;
  38403. },
  38404. _asyncCompleteErrorObject$1(error) {
  38405. this._state ^= 2;
  38406. this._zone.scheduleMicrotask$1(new A._Future__asyncCompleteErrorObject_closure(this, error));
  38407. },
  38408. $isFuture: 1
  38409. };
  38410. A._Future__addListener_closure.prototype = {
  38411. call$0() {
  38412. A._Future__propagateToListeners(this.$this, this.listener);
  38413. },
  38414. $signature: 0
  38415. };
  38416. A._Future__prependListeners_closure.prototype = {
  38417. call$0() {
  38418. A._Future__propagateToListeners(this.$this, this._box_0.listeners);
  38419. },
  38420. $signature: 0
  38421. };
  38422. A._Future__chainCoreFuture_closure.prototype = {
  38423. call$0() {
  38424. A._Future__chainCoreFuture(this._box_0.source, this.target, true);
  38425. },
  38426. $signature: 0
  38427. };
  38428. A._Future__asyncCompleteWithValue_closure.prototype = {
  38429. call$0() {
  38430. this.$this._completeWithValue$1(this.value);
  38431. },
  38432. $signature: 0
  38433. };
  38434. A._Future__asyncCompleteErrorObject_closure.prototype = {
  38435. call$0() {
  38436. this.$this._completeErrorObject$1(this.error);
  38437. },
  38438. $signature: 0
  38439. };
  38440. A._Future__propagateToListeners_handleWhenCompleteCallback.prototype = {
  38441. call$0() {
  38442. var e, s, t1, exception, t2, t3, originalSource, joinedResult, _this = this, completeResult = null;
  38443. try {
  38444. t1 = _this._box_0.listener;
  38445. completeResult = t1.result._zone.run$1$1(0, t1.callback, type$.dynamic);
  38446. } catch (exception) {
  38447. e = A.unwrapException(exception);
  38448. s = A.getTraceFromException(exception);
  38449. if (_this.hasError && _this._box_1.source._resultOrListeners.error === e) {
  38450. t1 = _this._box_0;
  38451. t1.listenerValueOrError = _this._box_1.source._resultOrListeners;
  38452. } else {
  38453. t1 = e;
  38454. t2 = s;
  38455. if (t2 == null)
  38456. t2 = A.AsyncError_defaultStackTrace(t1);
  38457. t3 = _this._box_0;
  38458. t3.listenerValueOrError = new A.AsyncError(t1, t2);
  38459. t1 = t3;
  38460. }
  38461. t1.listenerHasError = true;
  38462. return;
  38463. }
  38464. if (completeResult instanceof A._Future && (completeResult._state & 24) !== 0) {
  38465. if ((completeResult._state & 16) !== 0) {
  38466. t1 = _this._box_0;
  38467. t1.listenerValueOrError = completeResult._resultOrListeners;
  38468. t1.listenerHasError = true;
  38469. }
  38470. return;
  38471. }
  38472. if (completeResult instanceof A._Future) {
  38473. originalSource = _this._box_1.source;
  38474. joinedResult = new A._Future(originalSource._zone, originalSource.$ti);
  38475. completeResult.then$1$2$onError(0, new A._Future__propagateToListeners_handleWhenCompleteCallback_closure(joinedResult, originalSource), new A._Future__propagateToListeners_handleWhenCompleteCallback_closure0(joinedResult), type$.void);
  38476. t1 = _this._box_0;
  38477. t1.listenerValueOrError = joinedResult;
  38478. t1.listenerHasError = false;
  38479. }
  38480. },
  38481. $signature: 0
  38482. };
  38483. A._Future__propagateToListeners_handleWhenCompleteCallback_closure.prototype = {
  38484. call$1(__wc0_formal) {
  38485. this.joinedResult._completeWithResultOf$1(this.originalSource);
  38486. },
  38487. $signature: 64
  38488. };
  38489. A._Future__propagateToListeners_handleWhenCompleteCallback_closure0.prototype = {
  38490. call$2(e, s) {
  38491. this.joinedResult._completeErrorObject$1(new A.AsyncError(e, s));
  38492. },
  38493. $signature: 51
  38494. };
  38495. A._Future__propagateToListeners_handleValueCallback.prototype = {
  38496. call$0() {
  38497. var e, s, t1, t2, t3, exception;
  38498. try {
  38499. t1 = this._box_0;
  38500. t2 = t1.listener;
  38501. t3 = t2.$ti;
  38502. t1.listenerValueOrError = t2.result._zone.runUnary$2$2(t2.callback, this.sourceResult, t3._eval$1("2/"), t3._precomputed1);
  38503. } catch (exception) {
  38504. e = A.unwrapException(exception);
  38505. s = A.getTraceFromException(exception);
  38506. t1 = e;
  38507. t2 = s;
  38508. if (t2 == null)
  38509. t2 = A.AsyncError_defaultStackTrace(t1);
  38510. t3 = this._box_0;
  38511. t3.listenerValueOrError = new A.AsyncError(t1, t2);
  38512. t3.listenerHasError = true;
  38513. }
  38514. },
  38515. $signature: 0
  38516. };
  38517. A._Future__propagateToListeners_handleError.prototype = {
  38518. call$0() {
  38519. var asyncError, e, s, t1, exception, t2, t3, _this = this;
  38520. try {
  38521. asyncError = _this._box_1.source._resultOrListeners;
  38522. t1 = _this._box_0;
  38523. if (t1.listener.matchesErrorTest$1(asyncError) && t1.listener.errorCallback != null) {
  38524. t1.listenerValueOrError = t1.listener.handleError$1(asyncError);
  38525. t1.listenerHasError = false;
  38526. }
  38527. } catch (exception) {
  38528. e = A.unwrapException(exception);
  38529. s = A.getTraceFromException(exception);
  38530. t1 = _this._box_1.source._resultOrListeners;
  38531. if (t1.error === e) {
  38532. t2 = _this._box_0;
  38533. t2.listenerValueOrError = t1;
  38534. t1 = t2;
  38535. } else {
  38536. t1 = e;
  38537. t2 = s;
  38538. if (t2 == null)
  38539. t2 = A.AsyncError_defaultStackTrace(t1);
  38540. t3 = _this._box_0;
  38541. t3.listenerValueOrError = new A.AsyncError(t1, t2);
  38542. t1 = t3;
  38543. }
  38544. t1.listenerHasError = true;
  38545. }
  38546. },
  38547. $signature: 0
  38548. };
  38549. A._AsyncCallbackEntry.prototype = {};
  38550. A.Stream.prototype = {
  38551. get$isBroadcast() {
  38552. return false;
  38553. },
  38554. get$length(_) {
  38555. var t1 = {},
  38556. future = new A._Future($.Zone__current, type$._Future_int);
  38557. t1.count = 0;
  38558. 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());
  38559. return future;
  38560. }
  38561. };
  38562. A.Stream_Stream$fromFuture_closure.prototype = {
  38563. call$1(value) {
  38564. var t1 = this.controller;
  38565. t1._async$_add$1(value);
  38566. t1._closeUnchecked$0();
  38567. },
  38568. $signature() {
  38569. return this.T._eval$1("Null(0)");
  38570. }
  38571. };
  38572. A.Stream_Stream$fromFuture_closure0.prototype = {
  38573. call$2(error, stackTrace) {
  38574. var t1 = this.controller;
  38575. t1._addError$2(error, stackTrace);
  38576. t1._closeUnchecked$0();
  38577. },
  38578. $signature: 388
  38579. };
  38580. A.Stream_length_closure.prototype = {
  38581. call$1(__wc0_formal) {
  38582. ++this._box_0.count;
  38583. },
  38584. $signature() {
  38585. return A._instanceType(this.$this)._eval$1("~(Stream.T)");
  38586. }
  38587. };
  38588. A.Stream_length_closure0.prototype = {
  38589. call$0() {
  38590. this.future._complete$1(this._box_0.count);
  38591. },
  38592. $signature: 0
  38593. };
  38594. A._StreamController.prototype = {
  38595. get$stream() {
  38596. return new A._ControllerStream(this, A._instanceType(this)._eval$1("_ControllerStream<1>"));
  38597. },
  38598. get$_pendingEvents() {
  38599. if ((this._state & 8) === 0)
  38600. return this._varData;
  38601. return this._varData._varData;
  38602. },
  38603. _ensurePendingEvents$0() {
  38604. var events, state, _this = this;
  38605. if ((_this._state & 8) === 0) {
  38606. events = _this._varData;
  38607. return events == null ? _this._varData = new A._PendingEvents() : events;
  38608. }
  38609. state = _this._varData;
  38610. events = state._varData;
  38611. return events == null ? state._varData = new A._PendingEvents() : events;
  38612. },
  38613. get$_subscription() {
  38614. var varData = this._varData;
  38615. return (this._state & 8) !== 0 ? varData._varData : varData;
  38616. },
  38617. _badEventState$0() {
  38618. if ((this._state & 4) !== 0)
  38619. return new A.StateError("Cannot add event after closing");
  38620. return new A.StateError("Cannot add event while adding a stream");
  38621. },
  38622. addStream$2$cancelOnError(source, cancelOnError) {
  38623. var t2, t3, t4, _this = this,
  38624. t1 = _this._state;
  38625. if (t1 >= 4)
  38626. throw A.wrapException(_this._badEventState$0());
  38627. if ((t1 & 2) !== 0) {
  38628. t1 = new A._Future($.Zone__current, type$._Future_dynamic);
  38629. t1._asyncComplete$1(null);
  38630. return t1;
  38631. }
  38632. t1 = _this._varData;
  38633. t2 = cancelOnError === true;
  38634. t3 = new A._Future($.Zone__current, type$._Future_dynamic);
  38635. t4 = t2 ? A._AddStreamState_makeErrorHandler(_this) : _this.get$_addError();
  38636. t4 = source.listen$4$cancelOnError$onDone$onError(0, _this.get$_async$_add(), t2, _this.get$_close(), t4);
  38637. t2 = _this._state;
  38638. if ((t2 & 1) !== 0 ? (_this.get$_subscription()._state & 4) !== 0 : (t2 & 2) === 0)
  38639. t4.pause$0(0);
  38640. _this._varData = new A._StreamControllerAddStreamState(t1, t3, t4);
  38641. _this._state |= 8;
  38642. return t3;
  38643. },
  38644. _ensureDoneFuture$0() {
  38645. var t1 = this._doneFuture;
  38646. if (t1 == null)
  38647. t1 = this._doneFuture = (this._state & 2) !== 0 ? $.$get$Future__nullFuture() : new A._Future($.Zone__current, type$._Future_void);
  38648. return t1;
  38649. },
  38650. add$1(_, value) {
  38651. if (this._state >= 4)
  38652. throw A.wrapException(this._badEventState$0());
  38653. this._async$_add$1(value);
  38654. },
  38655. addError$2(error, stackTrace) {
  38656. var _0_0;
  38657. if (this._state >= 4)
  38658. throw A.wrapException(this._badEventState$0());
  38659. _0_0 = A._interceptUserError(error, stackTrace);
  38660. this._addError$2(_0_0.error, _0_0.stackTrace);
  38661. },
  38662. addError$1(error) {
  38663. return this.addError$2(error, null);
  38664. },
  38665. close$0(_) {
  38666. var _this = this,
  38667. t1 = _this._state;
  38668. if ((t1 & 4) !== 0)
  38669. return _this._ensureDoneFuture$0();
  38670. if (t1 >= 4)
  38671. throw A.wrapException(_this._badEventState$0());
  38672. _this._closeUnchecked$0();
  38673. return _this._ensureDoneFuture$0();
  38674. },
  38675. _closeUnchecked$0() {
  38676. var t1 = this._state |= 4;
  38677. if ((t1 & 1) !== 0)
  38678. this._sendDone$0();
  38679. else if ((t1 & 3) === 0)
  38680. this._ensurePendingEvents$0().add$1(0, B.C__DelayedDone);
  38681. },
  38682. _async$_add$1(value) {
  38683. var t1 = this._state;
  38684. if ((t1 & 1) !== 0)
  38685. this._sendData$1(value);
  38686. else if ((t1 & 3) === 0)
  38687. this._ensurePendingEvents$0().add$1(0, new A._DelayedData(value));
  38688. },
  38689. _addError$2(error, stackTrace) {
  38690. var t1 = this._state;
  38691. if ((t1 & 1) !== 0)
  38692. this._sendError$2(error, stackTrace);
  38693. else if ((t1 & 3) === 0)
  38694. this._ensurePendingEvents$0().add$1(0, new A._DelayedError(error, stackTrace));
  38695. },
  38696. _close$0() {
  38697. var addState = this._varData;
  38698. this._varData = addState._varData;
  38699. this._state &= 4294967287;
  38700. addState.addStreamFuture._asyncComplete$1(null);
  38701. },
  38702. _subscribe$4(onData, onError, onDone, cancelOnError) {
  38703. var subscription, pendingEvents, addState, _this = this;
  38704. if ((_this._state & 3) !== 0)
  38705. throw A.wrapException(A.StateError$("Stream has already been listened to."));
  38706. subscription = A._ControllerSubscription$(_this, onData, onError, onDone, cancelOnError, A._instanceType(_this)._precomputed1);
  38707. pendingEvents = _this.get$_pendingEvents();
  38708. if (((_this._state |= 1) & 8) !== 0) {
  38709. addState = _this._varData;
  38710. addState._varData = subscription;
  38711. addState.addSubscription.resume$0(0);
  38712. } else
  38713. _this._varData = subscription;
  38714. subscription._setPendingEvents$1(pendingEvents);
  38715. subscription._guardCallback$1(new A._StreamController__subscribe_closure(_this));
  38716. return subscription;
  38717. },
  38718. _recordCancel$1(subscription) {
  38719. var onCancel, cancelResult, e, s, exception, result0, t1, _this = this, result = null;
  38720. if ((_this._state & 8) !== 0)
  38721. result = _this._varData.cancel$0();
  38722. _this._varData = null;
  38723. _this._state = _this._state & 4294967286 | 2;
  38724. onCancel = _this.onCancel;
  38725. if (onCancel != null)
  38726. if (result == null)
  38727. try {
  38728. cancelResult = onCancel.call$0();
  38729. if (cancelResult instanceof A._Future)
  38730. result = cancelResult;
  38731. } catch (exception) {
  38732. e = A.unwrapException(exception);
  38733. s = A.getTraceFromException(exception);
  38734. result0 = new A._Future($.Zone__current, type$._Future_void);
  38735. result0._asyncCompleteErrorObject$1(new A.AsyncError(e, s));
  38736. result = result0;
  38737. }
  38738. else
  38739. result = result.whenComplete$1(onCancel);
  38740. t1 = new A._StreamController__recordCancel_complete(_this);
  38741. if (result != null)
  38742. result = result.whenComplete$1(t1);
  38743. else
  38744. t1.call$0();
  38745. return result;
  38746. },
  38747. _recordPause$1(subscription) {
  38748. if ((this._state & 8) !== 0)
  38749. this._varData.addSubscription.pause$0(0);
  38750. A._runGuarded(this.onPause);
  38751. },
  38752. _recordResume$1(subscription) {
  38753. if ((this._state & 8) !== 0)
  38754. this._varData.addSubscription.resume$0(0);
  38755. A._runGuarded(this.onResume);
  38756. },
  38757. $isEventSink: 1,
  38758. set$onPause(val) {
  38759. return this.onPause = val;
  38760. },
  38761. set$onResume(val) {
  38762. return this.onResume = val;
  38763. },
  38764. set$onCancel(val) {
  38765. return this.onCancel = val;
  38766. }
  38767. };
  38768. A._StreamController__subscribe_closure.prototype = {
  38769. call$0() {
  38770. A._runGuarded(this.$this.onListen);
  38771. },
  38772. $signature: 0
  38773. };
  38774. A._StreamController__recordCancel_complete.prototype = {
  38775. call$0() {
  38776. var doneFuture = this.$this._doneFuture;
  38777. if (doneFuture != null && (doneFuture._state & 30) === 0)
  38778. doneFuture._asyncComplete$1(null);
  38779. },
  38780. $signature: 0
  38781. };
  38782. A._SyncStreamControllerDispatch.prototype = {
  38783. _sendData$1(data) {
  38784. this.get$_subscription()._async$_add$1(data);
  38785. },
  38786. _sendError$2(error, stackTrace) {
  38787. this.get$_subscription()._addError$2(error, stackTrace);
  38788. },
  38789. _sendDone$0() {
  38790. this.get$_subscription()._close$0();
  38791. }
  38792. };
  38793. A._AsyncStreamControllerDispatch.prototype = {
  38794. _sendData$1(data) {
  38795. this.get$_subscription()._addPending$1(new A._DelayedData(data));
  38796. },
  38797. _sendError$2(error, stackTrace) {
  38798. this.get$_subscription()._addPending$1(new A._DelayedError(error, stackTrace));
  38799. },
  38800. _sendDone$0() {
  38801. this.get$_subscription()._addPending$1(B.C__DelayedDone);
  38802. }
  38803. };
  38804. A._AsyncStreamController.prototype = {};
  38805. A._SyncStreamController.prototype = {};
  38806. A._ControllerStream.prototype = {
  38807. get$hashCode(_) {
  38808. return (A.Primitives_objectHashCode(this._controller) ^ 892482866) >>> 0;
  38809. },
  38810. $eq(_, other) {
  38811. if (other == null)
  38812. return false;
  38813. if (this === other)
  38814. return true;
  38815. return other instanceof A._ControllerStream && other._controller === this._controller;
  38816. }
  38817. };
  38818. A._ControllerSubscription.prototype = {
  38819. _async$_onCancel$0() {
  38820. return this._controller._recordCancel$1(this);
  38821. },
  38822. _async$_onPause$0() {
  38823. this._controller._recordPause$1(this);
  38824. },
  38825. _async$_onResume$0() {
  38826. this._controller._recordResume$1(this);
  38827. }
  38828. };
  38829. A._AddStreamState.prototype = {
  38830. cancel$0() {
  38831. var cancel = this.addSubscription.cancel$0();
  38832. return cancel.whenComplete$1(new A._AddStreamState_cancel_closure(this));
  38833. }
  38834. };
  38835. A._AddStreamState_makeErrorHandler_closure.prototype = {
  38836. call$2(e, s) {
  38837. var t1 = this.controller;
  38838. t1._addError$2(e, s);
  38839. t1._close$0();
  38840. },
  38841. $signature: 51
  38842. };
  38843. A._AddStreamState_cancel_closure.prototype = {
  38844. call$0() {
  38845. this.$this.addStreamFuture._asyncComplete$1(null);
  38846. },
  38847. $signature: 1
  38848. };
  38849. A._StreamControllerAddStreamState.prototype = {};
  38850. A._BufferingStreamSubscription.prototype = {
  38851. _setPendingEvents$1(pendingEvents) {
  38852. var _this = this;
  38853. if (pendingEvents == null)
  38854. return;
  38855. _this._pending = pendingEvents;
  38856. if (pendingEvents.lastPendingEvent != null) {
  38857. _this._state = (_this._state | 128) >>> 0;
  38858. pendingEvents.schedule$1(_this);
  38859. }
  38860. },
  38861. pause$1(_, resumeSignal) {
  38862. var t2, t3, _this = this,
  38863. t1 = _this._state;
  38864. if ((t1 & 8) !== 0)
  38865. return;
  38866. t2 = (t1 + 256 | 4) >>> 0;
  38867. _this._state = t2;
  38868. if (t1 < 256) {
  38869. t3 = _this._pending;
  38870. if (t3 != null)
  38871. if (t3._state === 1)
  38872. t3._state = 3;
  38873. }
  38874. if ((t1 & 4) === 0 && (t2 & 64) === 0)
  38875. _this._guardCallback$1(_this.get$_async$_onPause());
  38876. },
  38877. pause$0(_) {
  38878. return this.pause$1(0, null);
  38879. },
  38880. resume$0(_) {
  38881. var _this = this,
  38882. t1 = _this._state;
  38883. if ((t1 & 8) !== 0)
  38884. return;
  38885. if (t1 >= 256) {
  38886. t1 = _this._state = t1 - 256;
  38887. if (t1 < 256)
  38888. if ((t1 & 128) !== 0 && _this._pending.lastPendingEvent != null)
  38889. _this._pending.schedule$1(_this);
  38890. else {
  38891. t1 = (t1 & 4294967291) >>> 0;
  38892. _this._state = t1;
  38893. if ((t1 & 64) === 0)
  38894. _this._guardCallback$1(_this.get$_async$_onResume());
  38895. }
  38896. }
  38897. },
  38898. cancel$0() {
  38899. var _this = this,
  38900. t1 = (_this._state & 4294967279) >>> 0;
  38901. _this._state = t1;
  38902. if ((t1 & 8) === 0)
  38903. _this._cancel$0();
  38904. t1 = _this._cancelFuture;
  38905. return t1 == null ? $.$get$Future__nullFuture() : t1;
  38906. },
  38907. _cancel$0() {
  38908. var t2, _this = this,
  38909. t1 = _this._state = (_this._state | 8) >>> 0;
  38910. if ((t1 & 128) !== 0) {
  38911. t2 = _this._pending;
  38912. if (t2._state === 1)
  38913. t2._state = 3;
  38914. }
  38915. if ((t1 & 64) === 0)
  38916. _this._pending = null;
  38917. _this._cancelFuture = _this._async$_onCancel$0();
  38918. },
  38919. _async$_add$1(data) {
  38920. var t1 = this._state;
  38921. if ((t1 & 8) !== 0)
  38922. return;
  38923. if (t1 < 64)
  38924. this._sendData$1(data);
  38925. else
  38926. this._addPending$1(new A._DelayedData(data));
  38927. },
  38928. _addError$2(error, stackTrace) {
  38929. var t1;
  38930. if (type$.Error._is(error))
  38931. A.Primitives_trySetStackTrace(error, stackTrace);
  38932. t1 = this._state;
  38933. if ((t1 & 8) !== 0)
  38934. return;
  38935. if (t1 < 64)
  38936. this._sendError$2(error, stackTrace);
  38937. else
  38938. this._addPending$1(new A._DelayedError(error, stackTrace));
  38939. },
  38940. _close$0() {
  38941. var _this = this,
  38942. t1 = _this._state;
  38943. if ((t1 & 8) !== 0)
  38944. return;
  38945. t1 = (t1 | 2) >>> 0;
  38946. _this._state = t1;
  38947. if (t1 < 64)
  38948. _this._sendDone$0();
  38949. else
  38950. _this._addPending$1(B.C__DelayedDone);
  38951. },
  38952. _async$_onPause$0() {
  38953. },
  38954. _async$_onResume$0() {
  38955. },
  38956. _async$_onCancel$0() {
  38957. return null;
  38958. },
  38959. _addPending$1($event) {
  38960. var t1, _this = this,
  38961. pending = _this._pending;
  38962. if (pending == null)
  38963. pending = _this._pending = new A._PendingEvents();
  38964. pending.add$1(0, $event);
  38965. t1 = _this._state;
  38966. if ((t1 & 128) === 0) {
  38967. t1 = (t1 | 128) >>> 0;
  38968. _this._state = t1;
  38969. if (t1 < 256)
  38970. pending.schedule$1(_this);
  38971. }
  38972. },
  38973. _sendData$1(data) {
  38974. var _this = this,
  38975. t1 = _this._state;
  38976. _this._state = (t1 | 64) >>> 0;
  38977. _this._zone.runUnaryGuarded$1$2(_this._onData, data, A._instanceType(_this)._eval$1("_BufferingStreamSubscription.T"));
  38978. _this._state = (_this._state & 4294967231) >>> 0;
  38979. _this._checkState$1((t1 & 4) !== 0);
  38980. },
  38981. _sendError$2(error, stackTrace) {
  38982. var cancelFuture, _this = this,
  38983. t1 = _this._state,
  38984. t2 = new A._BufferingStreamSubscription__sendError_sendError(_this, error, stackTrace);
  38985. if ((t1 & 1) !== 0) {
  38986. _this._state = (t1 | 16) >>> 0;
  38987. _this._cancel$0();
  38988. cancelFuture = _this._cancelFuture;
  38989. if (cancelFuture != null && cancelFuture !== $.$get$Future__nullFuture())
  38990. cancelFuture.whenComplete$1(t2);
  38991. else
  38992. t2.call$0();
  38993. } else {
  38994. t2.call$0();
  38995. _this._checkState$1((t1 & 4) !== 0);
  38996. }
  38997. },
  38998. _sendDone$0() {
  38999. var cancelFuture, _this = this,
  39000. t1 = new A._BufferingStreamSubscription__sendDone_sendDone(_this);
  39001. _this._cancel$0();
  39002. _this._state = (_this._state | 16) >>> 0;
  39003. cancelFuture = _this._cancelFuture;
  39004. if (cancelFuture != null && cancelFuture !== $.$get$Future__nullFuture())
  39005. cancelFuture.whenComplete$1(t1);
  39006. else
  39007. t1.call$0();
  39008. },
  39009. _guardCallback$1(callback) {
  39010. var _this = this,
  39011. t1 = _this._state;
  39012. _this._state = (t1 | 64) >>> 0;
  39013. callback.call$0();
  39014. _this._state = (_this._state & 4294967231) >>> 0;
  39015. _this._checkState$1((t1 & 4) !== 0);
  39016. },
  39017. _checkState$1(wasInputPaused) {
  39018. var t2, isInputPaused, _this = this,
  39019. t1 = _this._state;
  39020. if ((t1 & 128) !== 0 && _this._pending.lastPendingEvent == null) {
  39021. t1 = _this._state = (t1 & 4294967167) >>> 0;
  39022. t2 = false;
  39023. if ((t1 & 4) !== 0)
  39024. if (t1 < 256) {
  39025. t2 = _this._pending;
  39026. t2 = t2 == null ? null : t2.lastPendingEvent == null;
  39027. t2 = t2 !== false;
  39028. }
  39029. if (t2) {
  39030. t1 = (t1 & 4294967291) >>> 0;
  39031. _this._state = t1;
  39032. }
  39033. }
  39034. for (; true; wasInputPaused = isInputPaused) {
  39035. if ((t1 & 8) !== 0) {
  39036. _this._pending = null;
  39037. return;
  39038. }
  39039. isInputPaused = (t1 & 4) !== 0;
  39040. if (wasInputPaused === isInputPaused)
  39041. break;
  39042. _this._state = (t1 ^ 64) >>> 0;
  39043. if (isInputPaused)
  39044. _this._async$_onPause$0();
  39045. else
  39046. _this._async$_onResume$0();
  39047. t1 = (_this._state & 4294967231) >>> 0;
  39048. _this._state = t1;
  39049. }
  39050. if ((t1 & 128) !== 0 && t1 < 256)
  39051. _this._pending.schedule$1(_this);
  39052. },
  39053. $isStreamSubscription: 1
  39054. };
  39055. A._BufferingStreamSubscription__sendError_sendError.prototype = {
  39056. call$0() {
  39057. var onError, t3, t4,
  39058. t1 = this.$this,
  39059. t2 = t1._state;
  39060. if ((t2 & 8) !== 0 && (t2 & 16) === 0)
  39061. return;
  39062. t1._state = (t2 | 64) >>> 0;
  39063. onError = t1._onError;
  39064. t2 = this.error;
  39065. t3 = type$.Object;
  39066. t4 = t1._zone;
  39067. if (type$.void_Function_Object_StackTrace._is(onError))
  39068. t4.runBinaryGuarded$2$3(onError, t2, this.stackTrace, t3, type$.StackTrace);
  39069. else
  39070. t4.runUnaryGuarded$1$2(onError, t2, t3);
  39071. t1._state = (t1._state & 4294967231) >>> 0;
  39072. },
  39073. $signature: 0
  39074. };
  39075. A._BufferingStreamSubscription__sendDone_sendDone.prototype = {
  39076. call$0() {
  39077. var t1 = this.$this,
  39078. t2 = t1._state;
  39079. if ((t2 & 16) === 0)
  39080. return;
  39081. t1._state = (t2 | 74) >>> 0;
  39082. t1._zone.runGuarded$1(t1._onDone);
  39083. t1._state = (t1._state & 4294967231) >>> 0;
  39084. },
  39085. $signature: 0
  39086. };
  39087. A._StreamImpl.prototype = {
  39088. listen$4$cancelOnError$onDone$onError(_, onData, cancelOnError, onDone, onError) {
  39089. return this._controller._subscribe$4(onData, onError, onDone, cancelOnError === true);
  39090. },
  39091. listen$1(_, onData) {
  39092. return this.listen$4$cancelOnError$onDone$onError(0, onData, null, null, null);
  39093. },
  39094. listen$3$onDone$onError(_, onData, onDone, onError) {
  39095. return this.listen$4$cancelOnError$onDone$onError(0, onData, null, onDone, onError);
  39096. }
  39097. };
  39098. A._DelayedEvent.prototype = {
  39099. get$next() {
  39100. return this.next;
  39101. },
  39102. set$next(val) {
  39103. return this.next = val;
  39104. }
  39105. };
  39106. A._DelayedData.prototype = {
  39107. perform$1(dispatch) {
  39108. dispatch._sendData$1(this.value);
  39109. }
  39110. };
  39111. A._DelayedError.prototype = {
  39112. perform$1(dispatch) {
  39113. dispatch._sendError$2(this.error, this.stackTrace);
  39114. }
  39115. };
  39116. A._DelayedDone.prototype = {
  39117. perform$1(dispatch) {
  39118. dispatch._sendDone$0();
  39119. },
  39120. get$next() {
  39121. return null;
  39122. },
  39123. set$next(__wc0_formal) {
  39124. throw A.wrapException(A.StateError$("No events after a done."));
  39125. }
  39126. };
  39127. A._PendingEvents.prototype = {
  39128. schedule$1(dispatch) {
  39129. var _this = this,
  39130. t1 = _this._state;
  39131. if (t1 === 1)
  39132. return;
  39133. if (t1 >= 1) {
  39134. _this._state = 1;
  39135. return;
  39136. }
  39137. A.scheduleMicrotask(new A._PendingEvents_schedule_closure(_this, dispatch));
  39138. _this._state = 1;
  39139. },
  39140. add$1(_, $event) {
  39141. var _this = this,
  39142. lastEvent = _this.lastPendingEvent;
  39143. if (lastEvent == null)
  39144. _this.firstPendingEvent = _this.lastPendingEvent = $event;
  39145. else {
  39146. lastEvent.set$next($event);
  39147. _this.lastPendingEvent = $event;
  39148. }
  39149. }
  39150. };
  39151. A._PendingEvents_schedule_closure.prototype = {
  39152. call$0() {
  39153. var $event, nextEvent,
  39154. t1 = this.$this,
  39155. oldState = t1._state;
  39156. t1._state = 0;
  39157. if (oldState === 3)
  39158. return;
  39159. $event = t1.firstPendingEvent;
  39160. nextEvent = $event.get$next();
  39161. t1.firstPendingEvent = nextEvent;
  39162. if (nextEvent == null)
  39163. t1.lastPendingEvent = null;
  39164. $event.perform$1(this.dispatch);
  39165. },
  39166. $signature: 0
  39167. };
  39168. A._StreamIterator.prototype = {
  39169. get$current(_) {
  39170. if (this._async$_hasValue)
  39171. return this._stateData;
  39172. return null;
  39173. },
  39174. moveNext$0() {
  39175. var future, _this = this,
  39176. subscription = _this._subscription;
  39177. if (subscription != null) {
  39178. if (_this._async$_hasValue) {
  39179. future = new A._Future($.Zone__current, type$._Future_bool);
  39180. _this._stateData = future;
  39181. _this._async$_hasValue = false;
  39182. subscription.resume$0(0);
  39183. return future;
  39184. }
  39185. throw A.wrapException(A.StateError$("Already waiting for next."));
  39186. }
  39187. return _this._initializeOrDone$0();
  39188. },
  39189. _initializeOrDone$0() {
  39190. var future, subscription, _this = this,
  39191. stateData = _this._stateData;
  39192. if (stateData != null) {
  39193. future = new A._Future($.Zone__current, type$._Future_bool);
  39194. _this._stateData = future;
  39195. subscription = stateData.listen$4$cancelOnError$onDone$onError(0, _this.get$_onData(), true, _this.get$_onDone(), _this.get$_onError());
  39196. if (_this._stateData != null)
  39197. _this._subscription = subscription;
  39198. return future;
  39199. }
  39200. return $.$get$Future__falseFuture();
  39201. },
  39202. cancel$0() {
  39203. var _this = this,
  39204. subscription = _this._subscription,
  39205. stateData = _this._stateData;
  39206. _this._stateData = null;
  39207. if (subscription != null) {
  39208. _this._subscription = null;
  39209. if (!_this._async$_hasValue)
  39210. stateData._asyncComplete$1(false);
  39211. else
  39212. _this._async$_hasValue = false;
  39213. return subscription.cancel$0();
  39214. }
  39215. return $.$get$Future__nullFuture();
  39216. },
  39217. _onData$1(data) {
  39218. var moveNextFuture, t1, _this = this;
  39219. if (_this._subscription == null)
  39220. return;
  39221. moveNextFuture = _this._stateData;
  39222. _this._stateData = data;
  39223. _this._async$_hasValue = true;
  39224. moveNextFuture._complete$1(true);
  39225. if (_this._async$_hasValue) {
  39226. t1 = _this._subscription;
  39227. if (t1 != null)
  39228. t1.pause$0(0);
  39229. }
  39230. },
  39231. _onError$2(error, stackTrace) {
  39232. var _this = this,
  39233. subscription = _this._subscription,
  39234. moveNextFuture = _this._stateData;
  39235. _this._stateData = _this._subscription = null;
  39236. if (subscription != null)
  39237. moveNextFuture._completeErrorObject$1(new A.AsyncError(error, stackTrace));
  39238. else
  39239. moveNextFuture._asyncCompleteErrorObject$1(new A.AsyncError(error, stackTrace));
  39240. },
  39241. _onDone$0() {
  39242. var _this = this,
  39243. subscription = _this._subscription,
  39244. moveNextFuture = _this._stateData;
  39245. _this._stateData = _this._subscription = null;
  39246. if (subscription != null)
  39247. moveNextFuture._completeWithValue$1(false);
  39248. else
  39249. moveNextFuture._asyncCompleteWithValue$1(false);
  39250. }
  39251. };
  39252. A._ForwardingStream.prototype = {
  39253. get$isBroadcast() {
  39254. return this._async$_source.get$isBroadcast();
  39255. },
  39256. listen$4$cancelOnError$onDone$onError(_, onData, cancelOnError, onDone, onError) {
  39257. var t1 = this.$ti,
  39258. t2 = $.Zone__current,
  39259. t3 = cancelOnError === true ? 1 : 0,
  39260. t4 = onError != null ? 32 : 0,
  39261. t5 = A._BufferingStreamSubscription__registerDataHandler(t2, onData, t1._rest[1]),
  39262. t6 = A._BufferingStreamSubscription__registerErrorHandler(t2, onError),
  39263. t7 = onDone == null ? A.async___nullDoneHandler$closure() : onDone;
  39264. t1 = new A._ForwardingStreamSubscription(this, t5, t6, t2.registerCallback$1$1(t7, type$.void), t2, t3 | t4, t1._eval$1("_ForwardingStreamSubscription<1,2>"));
  39265. t1._subscription = this._async$_source.listen$3$onDone$onError(0, t1.get$_handleData(), t1.get$_handleDone(), t1.get$_handleError());
  39266. return t1;
  39267. },
  39268. listen$1(_, onData) {
  39269. return this.listen$4$cancelOnError$onDone$onError(0, onData, null, null, null);
  39270. },
  39271. listen$3$onDone$onError(_, onData, onDone, onError) {
  39272. return this.listen$4$cancelOnError$onDone$onError(0, onData, null, onDone, onError);
  39273. }
  39274. };
  39275. A._ForwardingStreamSubscription.prototype = {
  39276. _async$_add$1(data) {
  39277. if ((this._state & 2) !== 0)
  39278. return;
  39279. this.super$_BufferingStreamSubscription$_add(data);
  39280. },
  39281. _addError$2(error, stackTrace) {
  39282. if ((this._state & 2) !== 0)
  39283. return;
  39284. this.super$_BufferingStreamSubscription$_addError(error, stackTrace);
  39285. },
  39286. _async$_onPause$0() {
  39287. var t1 = this._subscription;
  39288. if (t1 != null)
  39289. t1.pause$0(0);
  39290. },
  39291. _async$_onResume$0() {
  39292. var t1 = this._subscription;
  39293. if (t1 != null)
  39294. t1.resume$0(0);
  39295. },
  39296. _async$_onCancel$0() {
  39297. var subscription = this._subscription;
  39298. if (subscription != null) {
  39299. this._subscription = null;
  39300. return subscription.cancel$0();
  39301. }
  39302. return null;
  39303. },
  39304. _handleData$1(data) {
  39305. this._stream._handleData$2(data, this);
  39306. },
  39307. _handleError$2(error, stackTrace) {
  39308. this._addError$2(error, stackTrace);
  39309. },
  39310. _handleDone$0() {
  39311. this._close$0();
  39312. }
  39313. };
  39314. A._MapStream.prototype = {
  39315. _handleData$2(inputEvent, sink) {
  39316. var e, s, exception, error, stackTrace, replacement, outputEvent = null;
  39317. try {
  39318. outputEvent = this._transform.call$1(inputEvent);
  39319. } catch (exception) {
  39320. e = A.unwrapException(exception);
  39321. s = A.getTraceFromException(exception);
  39322. error = e;
  39323. stackTrace = s;
  39324. replacement = A._interceptError(error, stackTrace);
  39325. if (replacement != null) {
  39326. error = replacement.error;
  39327. stackTrace = replacement.stackTrace;
  39328. }
  39329. sink._addError$2(error, stackTrace);
  39330. return;
  39331. }
  39332. sink._async$_add$1(outputEvent);
  39333. }
  39334. };
  39335. A._ZoneFunction.prototype = {};
  39336. A._ZoneSpecification.prototype = {$isZoneSpecification: 1};
  39337. A._ZoneDelegate.prototype = {$isZoneDelegate: 1};
  39338. A._Zone.prototype = {
  39339. _processUncaughtError$3(zone, error, stackTrace) {
  39340. var handler, parentDelegate, parentZone, currentZone, e, s, t1, exception,
  39341. implementation = this.get$_handleUncaughtError(),
  39342. implZone = implementation.zone;
  39343. if (implZone === B.C__RootZone) {
  39344. A._rootHandleError(error, stackTrace);
  39345. return;
  39346. }
  39347. handler = implementation.$function;
  39348. parentDelegate = implZone.get$_parentDelegate();
  39349. t1 = J.get$parent$z(implZone);
  39350. t1.toString;
  39351. parentZone = t1;
  39352. currentZone = $.Zone__current;
  39353. try {
  39354. $.Zone__current = parentZone;
  39355. handler.call$5(implZone, parentDelegate, zone, error, stackTrace);
  39356. $.Zone__current = currentZone;
  39357. } catch (exception) {
  39358. e = A.unwrapException(exception);
  39359. s = A.getTraceFromException(exception);
  39360. $.Zone__current = currentZone;
  39361. t1 = error === e ? stackTrace : s;
  39362. parentZone._processUncaughtError$3(implZone, e, t1);
  39363. }
  39364. },
  39365. $isZone: 1
  39366. };
  39367. A._CustomZone.prototype = {
  39368. get$_delegate() {
  39369. var t1 = this._delegateCache;
  39370. return t1 == null ? this._delegateCache = new A._ZoneDelegate(this) : t1;
  39371. },
  39372. get$_parentDelegate() {
  39373. return this.parent.get$_delegate();
  39374. },
  39375. get$errorZone() {
  39376. return this._handleUncaughtError.zone;
  39377. },
  39378. runGuarded$1(f) {
  39379. var e, s, exception;
  39380. try {
  39381. this.run$1$1(0, f, type$.void);
  39382. } catch (exception) {
  39383. e = A.unwrapException(exception);
  39384. s = A.getTraceFromException(exception);
  39385. this._processUncaughtError$3(this, e, s);
  39386. }
  39387. },
  39388. runUnaryGuarded$1$2(f, arg, $T) {
  39389. var e, s, exception;
  39390. try {
  39391. this.runUnary$2$2(f, arg, type$.void, $T);
  39392. } catch (exception) {
  39393. e = A.unwrapException(exception);
  39394. s = A.getTraceFromException(exception);
  39395. this._processUncaughtError$3(this, e, s);
  39396. }
  39397. },
  39398. runBinaryGuarded$2$3(f, arg1, arg2, T1, T2) {
  39399. var e, s, exception;
  39400. try {
  39401. this.runBinary$3$3(f, arg1, arg2, type$.void, T1, T2);
  39402. } catch (exception) {
  39403. e = A.unwrapException(exception);
  39404. s = A.getTraceFromException(exception);
  39405. this._processUncaughtError$3(this, e, s);
  39406. }
  39407. },
  39408. bindCallback$1$1(f, $R) {
  39409. return new A._CustomZone_bindCallback_closure(this, this.registerCallback$1$1(f, $R), $R);
  39410. },
  39411. bindUnaryCallback$2$1(f, $R, $T) {
  39412. return new A._CustomZone_bindUnaryCallback_closure(this, this.registerUnaryCallback$2$1(f, $R, $T), $T, $R);
  39413. },
  39414. bindCallbackGuarded$1(f) {
  39415. return new A._CustomZone_bindCallbackGuarded_closure(this, this.registerCallback$1$1(f, type$.void));
  39416. },
  39417. $index(_, key) {
  39418. var value,
  39419. t1 = this._async$_map,
  39420. result = t1.$index(0, key);
  39421. if (result != null || t1.containsKey$1(key))
  39422. return result;
  39423. value = this.parent.$index(0, key);
  39424. if (value != null)
  39425. t1.$indexSet(0, key, value);
  39426. return value;
  39427. },
  39428. handleUncaughtError$2(error, stackTrace) {
  39429. this._processUncaughtError$3(this, error, stackTrace);
  39430. },
  39431. fork$2$specification$zoneValues(specification, zoneValues) {
  39432. var implementation = this._fork,
  39433. t1 = implementation.zone;
  39434. return implementation.$function.call$5(t1, t1.get$_parentDelegate(), this, specification, zoneValues);
  39435. },
  39436. run$1$1(_, f) {
  39437. var implementation = this._run,
  39438. t1 = implementation.zone;
  39439. return implementation.$function.call$4(t1, t1.get$_parentDelegate(), this, f);
  39440. },
  39441. runUnary$2$2(f, arg) {
  39442. var implementation = this._runUnary,
  39443. t1 = implementation.zone;
  39444. return implementation.$function.call$5(t1, t1.get$_parentDelegate(), this, f, arg);
  39445. },
  39446. runBinary$3$3(f, arg1, arg2) {
  39447. var implementation = this._runBinary,
  39448. t1 = implementation.zone;
  39449. return implementation.$function.call$6(t1, t1.get$_parentDelegate(), this, f, arg1, arg2);
  39450. },
  39451. registerCallback$1$1(callback) {
  39452. var implementation = this._registerCallback,
  39453. t1 = implementation.zone;
  39454. return implementation.$function.call$4(t1, t1.get$_parentDelegate(), this, callback);
  39455. },
  39456. registerUnaryCallback$2$1(callback) {
  39457. var implementation = this._registerUnaryCallback,
  39458. t1 = implementation.zone;
  39459. return implementation.$function.call$4(t1, t1.get$_parentDelegate(), this, callback);
  39460. },
  39461. registerBinaryCallback$3$1(callback) {
  39462. var implementation = this._registerBinaryCallback,
  39463. t1 = implementation.zone;
  39464. return implementation.$function.call$4(t1, t1.get$_parentDelegate(), this, callback);
  39465. },
  39466. errorCallback$2(error, stackTrace) {
  39467. var implementation = this._errorCallback,
  39468. implementationZone = implementation.zone;
  39469. if (implementationZone === B.C__RootZone)
  39470. return null;
  39471. return implementation.$function.call$5(implementationZone, implementationZone.get$_parentDelegate(), this, error, stackTrace);
  39472. },
  39473. scheduleMicrotask$1(f) {
  39474. var implementation = this._scheduleMicrotask,
  39475. t1 = implementation.zone;
  39476. return implementation.$function.call$4(t1, t1.get$_parentDelegate(), this, f);
  39477. },
  39478. createTimer$2(duration, f) {
  39479. var implementation = this._createTimer,
  39480. t1 = implementation.zone;
  39481. return implementation.$function.call$5(t1, t1.get$_parentDelegate(), this, duration, f);
  39482. },
  39483. print$1(line) {
  39484. var implementation = this._print,
  39485. t1 = implementation.zone;
  39486. return implementation.$function.call$4(t1, t1.get$_parentDelegate(), this, line);
  39487. },
  39488. get$_run() {
  39489. return this._run;
  39490. },
  39491. get$_runUnary() {
  39492. return this._runUnary;
  39493. },
  39494. get$_runBinary() {
  39495. return this._runBinary;
  39496. },
  39497. get$_registerCallback() {
  39498. return this._registerCallback;
  39499. },
  39500. get$_registerUnaryCallback() {
  39501. return this._registerUnaryCallback;
  39502. },
  39503. get$_registerBinaryCallback() {
  39504. return this._registerBinaryCallback;
  39505. },
  39506. get$_errorCallback() {
  39507. return this._errorCallback;
  39508. },
  39509. get$_scheduleMicrotask() {
  39510. return this._scheduleMicrotask;
  39511. },
  39512. get$_createTimer() {
  39513. return this._createTimer;
  39514. },
  39515. get$_createPeriodicTimer() {
  39516. return this._createPeriodicTimer;
  39517. },
  39518. get$_print() {
  39519. return this._print;
  39520. },
  39521. get$_fork() {
  39522. return this._fork;
  39523. },
  39524. get$_handleUncaughtError() {
  39525. return this._handleUncaughtError;
  39526. },
  39527. get$parent(receiver) {
  39528. return this.parent;
  39529. },
  39530. get$_async$_map() {
  39531. return this._async$_map;
  39532. }
  39533. };
  39534. A._CustomZone_bindCallback_closure.prototype = {
  39535. call$0() {
  39536. return this.$this.run$1$1(0, this.registered, this.R);
  39537. },
  39538. $signature() {
  39539. return this.R._eval$1("0()");
  39540. }
  39541. };
  39542. A._CustomZone_bindUnaryCallback_closure.prototype = {
  39543. call$1(arg) {
  39544. var _this = this;
  39545. return _this.$this.runUnary$2$2(_this.registered, arg, _this.R, _this.T);
  39546. },
  39547. $signature() {
  39548. return this.R._eval$1("@<0>")._bind$1(this.T)._eval$1("1(2)");
  39549. }
  39550. };
  39551. A._CustomZone_bindCallbackGuarded_closure.prototype = {
  39552. call$0() {
  39553. return this.$this.runGuarded$1(this.registered);
  39554. },
  39555. $signature: 0
  39556. };
  39557. A._rootHandleError_closure.prototype = {
  39558. call$0() {
  39559. A.Error_throwWithStackTrace(this.error, this.stackTrace);
  39560. },
  39561. $signature: 0
  39562. };
  39563. A._RootZone.prototype = {
  39564. get$_run() {
  39565. return B._ZoneFunction__RootZone__rootRun;
  39566. },
  39567. get$_runUnary() {
  39568. return B._ZoneFunction__RootZone__rootRunUnary;
  39569. },
  39570. get$_runBinary() {
  39571. return B._ZoneFunction__RootZone__rootRunBinary;
  39572. },
  39573. get$_registerCallback() {
  39574. return B._ZoneFunction__RootZone__rootRegisterCallback;
  39575. },
  39576. get$_registerUnaryCallback() {
  39577. return B._ZoneFunction_Xkh;
  39578. },
  39579. get$_registerBinaryCallback() {
  39580. return B._ZoneFunction_e9o;
  39581. },
  39582. get$_errorCallback() {
  39583. return B._ZoneFunction__RootZone__rootErrorCallback;
  39584. },
  39585. get$_scheduleMicrotask() {
  39586. return B._ZoneFunction__RootZone__rootScheduleMicrotask;
  39587. },
  39588. get$_createTimer() {
  39589. return B._ZoneFunction__RootZone__rootCreateTimer;
  39590. },
  39591. get$_createPeriodicTimer() {
  39592. return B._ZoneFunction_PAY;
  39593. },
  39594. get$_print() {
  39595. return B._ZoneFunction__RootZone__rootPrint;
  39596. },
  39597. get$_fork() {
  39598. return B._ZoneFunction__RootZone__rootFork;
  39599. },
  39600. get$_handleUncaughtError() {
  39601. return B._ZoneFunction_KjJ;
  39602. },
  39603. get$parent(_) {
  39604. return null;
  39605. },
  39606. get$_async$_map() {
  39607. return $.$get$_RootZone__rootMap();
  39608. },
  39609. get$_delegate() {
  39610. var t1 = $._RootZone__rootDelegate;
  39611. return t1 == null ? $._RootZone__rootDelegate = new A._ZoneDelegate(this) : t1;
  39612. },
  39613. get$_parentDelegate() {
  39614. var t1 = $._RootZone__rootDelegate;
  39615. return t1 == null ? $._RootZone__rootDelegate = new A._ZoneDelegate(this) : t1;
  39616. },
  39617. get$errorZone() {
  39618. return this;
  39619. },
  39620. runGuarded$1(f) {
  39621. var e, s, exception;
  39622. try {
  39623. if (B.C__RootZone === $.Zone__current) {
  39624. f.call$0();
  39625. return;
  39626. }
  39627. A._rootRun(null, null, this, f);
  39628. } catch (exception) {
  39629. e = A.unwrapException(exception);
  39630. s = A.getTraceFromException(exception);
  39631. A._rootHandleError(e, s);
  39632. }
  39633. },
  39634. runUnaryGuarded$1$2(f, arg) {
  39635. var e, s, exception;
  39636. try {
  39637. if (B.C__RootZone === $.Zone__current) {
  39638. f.call$1(arg);
  39639. return;
  39640. }
  39641. A._rootRunUnary(null, null, this, f, arg);
  39642. } catch (exception) {
  39643. e = A.unwrapException(exception);
  39644. s = A.getTraceFromException(exception);
  39645. A._rootHandleError(e, s);
  39646. }
  39647. },
  39648. runBinaryGuarded$2$3(f, arg1, arg2) {
  39649. var e, s, exception;
  39650. try {
  39651. if (B.C__RootZone === $.Zone__current) {
  39652. f.call$2(arg1, arg2);
  39653. return;
  39654. }
  39655. A._rootRunBinary(null, null, this, f, arg1, arg2);
  39656. } catch (exception) {
  39657. e = A.unwrapException(exception);
  39658. s = A.getTraceFromException(exception);
  39659. A._rootHandleError(e, s);
  39660. }
  39661. },
  39662. bindCallback$1$1(f, $R) {
  39663. return new A._RootZone_bindCallback_closure(this, f, $R);
  39664. },
  39665. bindUnaryCallback$2$1(f, $R, $T) {
  39666. return new A._RootZone_bindUnaryCallback_closure(this, f, $T, $R);
  39667. },
  39668. bindCallbackGuarded$1(f) {
  39669. return new A._RootZone_bindCallbackGuarded_closure(this, f);
  39670. },
  39671. $index(_, key) {
  39672. return null;
  39673. },
  39674. handleUncaughtError$2(error, stackTrace) {
  39675. A._rootHandleError(error, stackTrace);
  39676. },
  39677. fork$2$specification$zoneValues(specification, zoneValues) {
  39678. return A._rootFork(null, null, this, specification, zoneValues);
  39679. },
  39680. run$1$1(_, f) {
  39681. if ($.Zone__current === B.C__RootZone)
  39682. return f.call$0();
  39683. return A._rootRun(null, null, this, f);
  39684. },
  39685. runUnary$2$2(f, arg) {
  39686. if ($.Zone__current === B.C__RootZone)
  39687. return f.call$1(arg);
  39688. return A._rootRunUnary(null, null, this, f, arg);
  39689. },
  39690. runBinary$3$3(f, arg1, arg2) {
  39691. if ($.Zone__current === B.C__RootZone)
  39692. return f.call$2(arg1, arg2);
  39693. return A._rootRunBinary(null, null, this, f, arg1, arg2);
  39694. },
  39695. registerCallback$1$1(f) {
  39696. return f;
  39697. },
  39698. registerUnaryCallback$2$1(f) {
  39699. return f;
  39700. },
  39701. registerBinaryCallback$3$1(f) {
  39702. return f;
  39703. },
  39704. errorCallback$2(error, stackTrace) {
  39705. return null;
  39706. },
  39707. scheduleMicrotask$1(f) {
  39708. A._rootScheduleMicrotask(null, null, this, f);
  39709. },
  39710. createTimer$2(duration, f) {
  39711. return A.Timer__createTimer(duration, f);
  39712. },
  39713. print$1(line) {
  39714. A.printString(line);
  39715. }
  39716. };
  39717. A._RootZone_bindCallback_closure.prototype = {
  39718. call$0() {
  39719. return this.$this.run$1$1(0, this.f, this.R);
  39720. },
  39721. $signature() {
  39722. return this.R._eval$1("0()");
  39723. }
  39724. };
  39725. A._RootZone_bindUnaryCallback_closure.prototype = {
  39726. call$1(arg) {
  39727. var _this = this;
  39728. return _this.$this.runUnary$2$2(_this.f, arg, _this.R, _this.T);
  39729. },
  39730. $signature() {
  39731. return this.R._eval$1("@<0>")._bind$1(this.T)._eval$1("1(2)");
  39732. }
  39733. };
  39734. A._RootZone_bindCallbackGuarded_closure.prototype = {
  39735. call$0() {
  39736. return this.$this.runGuarded$1(this.f);
  39737. },
  39738. $signature: 0
  39739. };
  39740. A._HashMap.prototype = {
  39741. get$length(_) {
  39742. return this._collection$_length;
  39743. },
  39744. get$isEmpty(_) {
  39745. return this._collection$_length === 0;
  39746. },
  39747. get$isNotEmpty(_) {
  39748. return this._collection$_length !== 0;
  39749. },
  39750. get$keys(_) {
  39751. return new A._HashMapKeyIterable(this, A._instanceType(this)._eval$1("_HashMapKeyIterable<1>"));
  39752. },
  39753. get$values(_) {
  39754. var t1 = A._instanceType(this);
  39755. return A.MappedIterable_MappedIterable(new A._HashMapKeyIterable(this, t1._eval$1("_HashMapKeyIterable<1>")), new A._HashMap_values_closure(this), t1._precomputed1, t1._rest[1]);
  39756. },
  39757. containsKey$1(key) {
  39758. var strings, nums;
  39759. if (typeof key == "string" && key !== "__proto__") {
  39760. strings = this._collection$_strings;
  39761. return strings == null ? false : strings[key] != null;
  39762. } else if (typeof key == "number" && (key & 1073741823) === key) {
  39763. nums = this._collection$_nums;
  39764. return nums == null ? false : nums[key] != null;
  39765. } else
  39766. return this._containsKey$1(key);
  39767. },
  39768. _containsKey$1(key) {
  39769. var rest = this._collection$_rest;
  39770. if (rest == null)
  39771. return false;
  39772. return this._findBucketIndex$2(this._getBucket$2(rest, key), key) >= 0;
  39773. },
  39774. addAll$1(_, other) {
  39775. other.forEach$1(0, new A._HashMap_addAll_closure(this));
  39776. },
  39777. $index(_, key) {
  39778. var strings, t1, nums;
  39779. if (typeof key == "string" && key !== "__proto__") {
  39780. strings = this._collection$_strings;
  39781. t1 = strings == null ? null : A._HashMap__getTableEntry(strings, key);
  39782. return t1;
  39783. } else if (typeof key == "number" && (key & 1073741823) === key) {
  39784. nums = this._collection$_nums;
  39785. t1 = nums == null ? null : A._HashMap__getTableEntry(nums, key);
  39786. return t1;
  39787. } else
  39788. return this._get$1(key);
  39789. },
  39790. _get$1(key) {
  39791. var bucket, index,
  39792. rest = this._collection$_rest;
  39793. if (rest == null)
  39794. return null;
  39795. bucket = this._getBucket$2(rest, key);
  39796. index = this._findBucketIndex$2(bucket, key);
  39797. return index < 0 ? null : bucket[index + 1];
  39798. },
  39799. $indexSet(_, key, value) {
  39800. var strings, nums, _this = this;
  39801. if (typeof key == "string" && key !== "__proto__") {
  39802. strings = _this._collection$_strings;
  39803. _this._collection$_addHashTableEntry$3(strings == null ? _this._collection$_strings = A._HashMap__newHashTable() : strings, key, value);
  39804. } else if (typeof key == "number" && (key & 1073741823) === key) {
  39805. nums = _this._collection$_nums;
  39806. _this._collection$_addHashTableEntry$3(nums == null ? _this._collection$_nums = A._HashMap__newHashTable() : nums, key, value);
  39807. } else
  39808. _this._set$2(key, value);
  39809. },
  39810. _set$2(key, value) {
  39811. var hash, bucket, index, _this = this,
  39812. rest = _this._collection$_rest;
  39813. if (rest == null)
  39814. rest = _this._collection$_rest = A._HashMap__newHashTable();
  39815. hash = _this._computeHashCode$1(key);
  39816. bucket = rest[hash];
  39817. if (bucket == null) {
  39818. A._HashMap__setTableEntry(rest, hash, [key, value]);
  39819. ++_this._collection$_length;
  39820. _this._collection$_keys = null;
  39821. } else {
  39822. index = _this._findBucketIndex$2(bucket, key);
  39823. if (index >= 0)
  39824. bucket[index + 1] = value;
  39825. else {
  39826. bucket.push(key, value);
  39827. ++_this._collection$_length;
  39828. _this._collection$_keys = null;
  39829. }
  39830. }
  39831. },
  39832. remove$1(_, key) {
  39833. var t1;
  39834. if (key !== "__proto__")
  39835. return this._removeHashTableEntry$2(this._collection$_strings, key);
  39836. else {
  39837. t1 = this._remove$1(key);
  39838. return t1;
  39839. }
  39840. },
  39841. _remove$1(key) {
  39842. var hash, bucket, index, result, _this = this,
  39843. rest = _this._collection$_rest;
  39844. if (rest == null)
  39845. return null;
  39846. hash = _this._computeHashCode$1(key);
  39847. bucket = rest[hash];
  39848. index = _this._findBucketIndex$2(bucket, key);
  39849. if (index < 0)
  39850. return null;
  39851. --_this._collection$_length;
  39852. _this._collection$_keys = null;
  39853. result = bucket.splice(index, 2)[1];
  39854. if (0 === bucket.length)
  39855. delete rest[hash];
  39856. return result;
  39857. },
  39858. forEach$1(_, action) {
  39859. var $length, t1, i, key, t2, _this = this,
  39860. keys = _this._computeKeys$0();
  39861. for ($length = keys.length, t1 = A._instanceType(_this)._rest[1], i = 0; i < $length; ++i) {
  39862. key = keys[i];
  39863. t2 = _this.$index(0, key);
  39864. action.call$2(key, t2 == null ? t1._as(t2) : t2);
  39865. if (keys !== _this._collection$_keys)
  39866. throw A.wrapException(A.ConcurrentModificationError$(_this));
  39867. }
  39868. },
  39869. _computeKeys$0() {
  39870. var strings, index, names, entries, i, nums, rest, bucket, $length, i0, _this = this,
  39871. result = _this._collection$_keys;
  39872. if (result != null)
  39873. return result;
  39874. result = A.List_List$filled(_this._collection$_length, null, false, type$.dynamic);
  39875. strings = _this._collection$_strings;
  39876. index = 0;
  39877. if (strings != null) {
  39878. names = Object.getOwnPropertyNames(strings);
  39879. entries = names.length;
  39880. for (i = 0; i < entries; ++i) {
  39881. result[index] = names[i];
  39882. ++index;
  39883. }
  39884. }
  39885. nums = _this._collection$_nums;
  39886. if (nums != null) {
  39887. names = Object.getOwnPropertyNames(nums);
  39888. entries = names.length;
  39889. for (i = 0; i < entries; ++i) {
  39890. result[index] = +names[i];
  39891. ++index;
  39892. }
  39893. }
  39894. rest = _this._collection$_rest;
  39895. if (rest != null) {
  39896. names = Object.getOwnPropertyNames(rest);
  39897. entries = names.length;
  39898. for (i = 0; i < entries; ++i) {
  39899. bucket = rest[names[i]];
  39900. $length = bucket.length;
  39901. for (i0 = 0; i0 < $length; i0 += 2) {
  39902. result[index] = bucket[i0];
  39903. ++index;
  39904. }
  39905. }
  39906. }
  39907. return _this._collection$_keys = result;
  39908. },
  39909. _collection$_addHashTableEntry$3(table, key, value) {
  39910. if (table[key] == null) {
  39911. ++this._collection$_length;
  39912. this._collection$_keys = null;
  39913. }
  39914. A._HashMap__setTableEntry(table, key, value);
  39915. },
  39916. _removeHashTableEntry$2(table, key) {
  39917. var value;
  39918. if (table != null && table[key] != null) {
  39919. value = A._HashMap__getTableEntry(table, key);
  39920. delete table[key];
  39921. --this._collection$_length;
  39922. this._collection$_keys = null;
  39923. return value;
  39924. } else
  39925. return null;
  39926. },
  39927. _computeHashCode$1(key) {
  39928. return J.get$hashCode$(key) & 1073741823;
  39929. },
  39930. _getBucket$2(table, key) {
  39931. return table[this._computeHashCode$1(key)];
  39932. },
  39933. _findBucketIndex$2(bucket, key) {
  39934. var $length, i;
  39935. if (bucket == null)
  39936. return -1;
  39937. $length = bucket.length;
  39938. for (i = 0; i < $length; i += 2)
  39939. if (J.$eq$(bucket[i], key))
  39940. return i;
  39941. return -1;
  39942. }
  39943. };
  39944. A._HashMap_values_closure.prototype = {
  39945. call$1(each) {
  39946. var t1 = this.$this,
  39947. t2 = t1.$index(0, each);
  39948. return t2 == null ? A._instanceType(t1)._rest[1]._as(t2) : t2;
  39949. },
  39950. $signature() {
  39951. return A._instanceType(this.$this)._eval$1("2(1)");
  39952. }
  39953. };
  39954. A._HashMap_addAll_closure.prototype = {
  39955. call$2(key, value) {
  39956. this.$this.$indexSet(0, key, value);
  39957. },
  39958. $signature() {
  39959. return A._instanceType(this.$this)._eval$1("~(1,2)");
  39960. }
  39961. };
  39962. A._IdentityHashMap.prototype = {
  39963. _computeHashCode$1(key) {
  39964. return A.objectHashCode(key) & 1073741823;
  39965. },
  39966. _findBucketIndex$2(bucket, key) {
  39967. var $length, i, t1;
  39968. if (bucket == null)
  39969. return -1;
  39970. $length = bucket.length;
  39971. for (i = 0; i < $length; i += 2) {
  39972. t1 = bucket[i];
  39973. if (t1 == null ? key == null : t1 === key)
  39974. return i;
  39975. }
  39976. return -1;
  39977. }
  39978. };
  39979. A._HashMapKeyIterable.prototype = {
  39980. get$length(_) {
  39981. return this._map._collection$_length;
  39982. },
  39983. get$isEmpty(_) {
  39984. return this._map._collection$_length === 0;
  39985. },
  39986. get$isNotEmpty(_) {
  39987. return this._map._collection$_length !== 0;
  39988. },
  39989. get$iterator(_) {
  39990. var t1 = this._map;
  39991. return new A._HashMapKeyIterator(t1, t1._computeKeys$0(), this.$ti._eval$1("_HashMapKeyIterator<1>"));
  39992. },
  39993. contains$1(_, element) {
  39994. return this._map.containsKey$1(element);
  39995. }
  39996. };
  39997. A._HashMapKeyIterator.prototype = {
  39998. get$current(_) {
  39999. var t1 = this._collection$_current;
  40000. return t1 == null ? this.$ti._precomputed1._as(t1) : t1;
  40001. },
  40002. moveNext$0() {
  40003. var _this = this,
  40004. keys = _this._collection$_keys,
  40005. offset = _this._offset,
  40006. t1 = _this._map;
  40007. if (keys !== t1._collection$_keys)
  40008. throw A.wrapException(A.ConcurrentModificationError$(t1));
  40009. else if (offset >= keys.length) {
  40010. _this._collection$_current = null;
  40011. return false;
  40012. } else {
  40013. _this._collection$_current = keys[offset];
  40014. _this._offset = offset + 1;
  40015. return true;
  40016. }
  40017. }
  40018. };
  40019. A._LinkedCustomHashMap.prototype = {
  40020. $index(_, key) {
  40021. if (!this._validKey.call$1(key))
  40022. return null;
  40023. return this.super$JsLinkedHashMap$internalGet(key);
  40024. },
  40025. $indexSet(_, key, value) {
  40026. this.super$JsLinkedHashMap$internalSet(key, value);
  40027. },
  40028. containsKey$1(key) {
  40029. if (!this._validKey.call$1(key))
  40030. return false;
  40031. return this.super$JsLinkedHashMap$internalContainsKey(key);
  40032. },
  40033. remove$1(_, key) {
  40034. if (!this._validKey.call$1(key))
  40035. return null;
  40036. return this.super$JsLinkedHashMap$internalRemove(key);
  40037. },
  40038. internalComputeHashCode$1(key) {
  40039. return this._hashCode.call$1(key) & 1073741823;
  40040. },
  40041. internalFindBucketIndex$2(bucket, key) {
  40042. var $length, t1, i;
  40043. if (bucket == null)
  40044. return -1;
  40045. $length = bucket.length;
  40046. for (t1 = this._equals, i = 0; i < $length; ++i)
  40047. if (t1.call$2(bucket[i].hashMapCellKey, key))
  40048. return i;
  40049. return -1;
  40050. }
  40051. };
  40052. A._LinkedCustomHashMap_closure.prototype = {
  40053. call$1(v) {
  40054. return this.K._is(v);
  40055. },
  40056. $signature: 9
  40057. };
  40058. A._LinkedHashSet.prototype = {
  40059. _newSet$0() {
  40060. return new A._LinkedHashSet(A._instanceType(this)._eval$1("_LinkedHashSet<1>"));
  40061. },
  40062. _newSimilarSet$1$0($R) {
  40063. return new A._LinkedHashSet($R._eval$1("_LinkedHashSet<0>"));
  40064. },
  40065. _newSimilarSet$0() {
  40066. return this._newSimilarSet$1$0(type$.dynamic);
  40067. },
  40068. get$iterator(_) {
  40069. var _this = this,
  40070. t1 = new A._LinkedHashSetIterator(_this, _this._collection$_modifications, A._instanceType(_this)._eval$1("_LinkedHashSetIterator<1>"));
  40071. t1._collection$_cell = _this._collection$_first;
  40072. return t1;
  40073. },
  40074. get$length(_) {
  40075. return this._collection$_length;
  40076. },
  40077. get$isEmpty(_) {
  40078. return this._collection$_length === 0;
  40079. },
  40080. get$isNotEmpty(_) {
  40081. return this._collection$_length !== 0;
  40082. },
  40083. contains$1(_, object) {
  40084. var strings, nums;
  40085. if (typeof object == "string" && object !== "__proto__") {
  40086. strings = this._collection$_strings;
  40087. if (strings == null)
  40088. return false;
  40089. return strings[object] != null;
  40090. } else if (typeof object == "number" && (object & 1073741823) === object) {
  40091. nums = this._collection$_nums;
  40092. if (nums == null)
  40093. return false;
  40094. return nums[object] != null;
  40095. } else
  40096. return this._contains$1(object);
  40097. },
  40098. _contains$1(object) {
  40099. var rest = this._collection$_rest;
  40100. if (rest == null)
  40101. return false;
  40102. return this._findBucketIndex$2(rest[this._computeHashCode$1(object)], object) >= 0;
  40103. },
  40104. get$first(_) {
  40105. var first = this._collection$_first;
  40106. if (first == null)
  40107. throw A.wrapException(A.StateError$("No elements"));
  40108. return first._element;
  40109. },
  40110. get$last(_) {
  40111. var last = this._collection$_last;
  40112. if (last == null)
  40113. throw A.wrapException(A.StateError$("No elements"));
  40114. return last._element;
  40115. },
  40116. add$1(_, element) {
  40117. var strings, nums, _this = this;
  40118. if (typeof element == "string" && element !== "__proto__") {
  40119. strings = _this._collection$_strings;
  40120. return _this._collection$_addHashTableEntry$2(strings == null ? _this._collection$_strings = A._LinkedHashSet__newHashTable() : strings, element);
  40121. } else if (typeof element == "number" && (element & 1073741823) === element) {
  40122. nums = _this._collection$_nums;
  40123. return _this._collection$_addHashTableEntry$2(nums == null ? _this._collection$_nums = A._LinkedHashSet__newHashTable() : nums, element);
  40124. } else
  40125. return _this._add$1(element);
  40126. },
  40127. _add$1(element) {
  40128. var hash, bucket, _this = this,
  40129. rest = _this._collection$_rest;
  40130. if (rest == null)
  40131. rest = _this._collection$_rest = A._LinkedHashSet__newHashTable();
  40132. hash = _this._computeHashCode$1(element);
  40133. bucket = rest[hash];
  40134. if (bucket == null)
  40135. rest[hash] = [_this._collection$_newLinkedCell$1(element)];
  40136. else {
  40137. if (_this._findBucketIndex$2(bucket, element) >= 0)
  40138. return false;
  40139. bucket.push(_this._collection$_newLinkedCell$1(element));
  40140. }
  40141. return true;
  40142. },
  40143. remove$1(_, object) {
  40144. var _this = this;
  40145. if (typeof object == "string" && object !== "__proto__")
  40146. return _this._removeHashTableEntry$2(_this._collection$_strings, object);
  40147. else if (typeof object == "number" && (object & 1073741823) === object)
  40148. return _this._removeHashTableEntry$2(_this._collection$_nums, object);
  40149. else
  40150. return _this._remove$1(object);
  40151. },
  40152. _remove$1(object) {
  40153. var hash, bucket, index, cell, _this = this,
  40154. rest = _this._collection$_rest;
  40155. if (rest == null)
  40156. return false;
  40157. hash = _this._computeHashCode$1(object);
  40158. bucket = rest[hash];
  40159. index = _this._findBucketIndex$2(bucket, object);
  40160. if (index < 0)
  40161. return false;
  40162. cell = bucket.splice(index, 1)[0];
  40163. if (0 === bucket.length)
  40164. delete rest[hash];
  40165. _this._unlinkCell$1(cell);
  40166. return true;
  40167. },
  40168. _collection$_addHashTableEntry$2(table, element) {
  40169. if (table[element] != null)
  40170. return false;
  40171. table[element] = this._collection$_newLinkedCell$1(element);
  40172. return true;
  40173. },
  40174. _removeHashTableEntry$2(table, element) {
  40175. var cell;
  40176. if (table == null)
  40177. return false;
  40178. cell = table[element];
  40179. if (cell == null)
  40180. return false;
  40181. this._unlinkCell$1(cell);
  40182. delete table[element];
  40183. return true;
  40184. },
  40185. _collection$_modified$0() {
  40186. this._collection$_modifications = this._collection$_modifications + 1 & 1073741823;
  40187. },
  40188. _collection$_newLinkedCell$1(element) {
  40189. var t1, _this = this,
  40190. cell = new A._LinkedHashSetCell(element);
  40191. if (_this._collection$_first == null)
  40192. _this._collection$_first = _this._collection$_last = cell;
  40193. else {
  40194. t1 = _this._collection$_last;
  40195. t1.toString;
  40196. cell._collection$_previous = t1;
  40197. _this._collection$_last = t1._collection$_next = cell;
  40198. }
  40199. ++_this._collection$_length;
  40200. _this._collection$_modified$0();
  40201. return cell;
  40202. },
  40203. _unlinkCell$1(cell) {
  40204. var _this = this,
  40205. previous = cell._collection$_previous,
  40206. next = cell._collection$_next;
  40207. if (previous == null)
  40208. _this._collection$_first = next;
  40209. else
  40210. previous._collection$_next = next;
  40211. if (next == null)
  40212. _this._collection$_last = previous;
  40213. else
  40214. next._collection$_previous = previous;
  40215. --_this._collection$_length;
  40216. _this._collection$_modified$0();
  40217. },
  40218. _computeHashCode$1(element) {
  40219. return J.get$hashCode$(element) & 1073741823;
  40220. },
  40221. _findBucketIndex$2(bucket, element) {
  40222. var $length, i;
  40223. if (bucket == null)
  40224. return -1;
  40225. $length = bucket.length;
  40226. for (i = 0; i < $length; ++i)
  40227. if (J.$eq$(bucket[i]._element, element))
  40228. return i;
  40229. return -1;
  40230. }
  40231. };
  40232. A._LinkedIdentityHashSet.prototype = {
  40233. _newSet$0() {
  40234. return new A._LinkedIdentityHashSet(this.$ti);
  40235. },
  40236. _newSimilarSet$1$0($R) {
  40237. return new A._LinkedIdentityHashSet($R._eval$1("_LinkedIdentityHashSet<0>"));
  40238. },
  40239. _newSimilarSet$0() {
  40240. return this._newSimilarSet$1$0(type$.dynamic);
  40241. },
  40242. _computeHashCode$1(key) {
  40243. return A.objectHashCode(key) & 1073741823;
  40244. },
  40245. _findBucketIndex$2(bucket, element) {
  40246. var $length, i, t1;
  40247. if (bucket == null)
  40248. return -1;
  40249. $length = bucket.length;
  40250. for (i = 0; i < $length; ++i) {
  40251. t1 = bucket[i]._element;
  40252. if (t1 == null ? element == null : t1 === element)
  40253. return i;
  40254. }
  40255. return -1;
  40256. }
  40257. };
  40258. A._LinkedHashSetCell.prototype = {};
  40259. A._LinkedHashSetIterator.prototype = {
  40260. get$current(_) {
  40261. var t1 = this._collection$_current;
  40262. return t1 == null ? this.$ti._precomputed1._as(t1) : t1;
  40263. },
  40264. moveNext$0() {
  40265. var _this = this,
  40266. cell = _this._collection$_cell,
  40267. t1 = _this._set;
  40268. if (_this._collection$_modifications !== t1._collection$_modifications)
  40269. throw A.wrapException(A.ConcurrentModificationError$(t1));
  40270. else if (cell == null) {
  40271. _this._collection$_current = null;
  40272. return false;
  40273. } else {
  40274. _this._collection$_current = cell._element;
  40275. _this._collection$_cell = cell._collection$_next;
  40276. return true;
  40277. }
  40278. }
  40279. };
  40280. A.UnmodifiableListView.prototype = {
  40281. cast$1$0(_, $R) {
  40282. return new A.UnmodifiableListView(J.cast$1$0$ax(this._collection$_source, $R), $R._eval$1("UnmodifiableListView<0>"));
  40283. },
  40284. get$length(_) {
  40285. return J.get$length$asx(this._collection$_source);
  40286. },
  40287. $index(_, index) {
  40288. return J.elementAt$1$ax(this._collection$_source, index);
  40289. }
  40290. };
  40291. A.HashMap_HashMap$from_closure.prototype = {
  40292. call$2(k, v) {
  40293. this.result.$indexSet(0, this.K._as(k), this.V._as(v));
  40294. },
  40295. $signature: 162
  40296. };
  40297. A.LinkedHashMap_LinkedHashMap$from_closure.prototype = {
  40298. call$2(k, v) {
  40299. this.result.$indexSet(0, this.K._as(k), this.V._as(v));
  40300. },
  40301. $signature: 162
  40302. };
  40303. A.ListBase.prototype = {
  40304. get$iterator(receiver) {
  40305. return new A.ListIterator(receiver, this.get$length(receiver), A.instanceType(receiver)._eval$1("ListIterator<ListBase.E>"));
  40306. },
  40307. elementAt$1(receiver, index) {
  40308. return this.$index(receiver, index);
  40309. },
  40310. forEach$1(receiver, action) {
  40311. var i,
  40312. $length = this.get$length(receiver);
  40313. for (i = 0; i < $length; ++i) {
  40314. action.call$1(this.$index(receiver, i));
  40315. if ($length !== this.get$length(receiver))
  40316. throw A.wrapException(A.ConcurrentModificationError$(receiver));
  40317. }
  40318. },
  40319. get$isEmpty(receiver) {
  40320. return this.get$length(receiver) === 0;
  40321. },
  40322. get$isNotEmpty(receiver) {
  40323. return !this.get$isEmpty(receiver);
  40324. },
  40325. get$first(receiver) {
  40326. if (this.get$length(receiver) === 0)
  40327. throw A.wrapException(A.IterableElementError_noElement());
  40328. return this.$index(receiver, 0);
  40329. },
  40330. get$last(receiver) {
  40331. if (this.get$length(receiver) === 0)
  40332. throw A.wrapException(A.IterableElementError_noElement());
  40333. return this.$index(receiver, this.get$length(receiver) - 1);
  40334. },
  40335. get$single(receiver) {
  40336. if (this.get$length(receiver) === 0)
  40337. throw A.wrapException(A.IterableElementError_noElement());
  40338. if (this.get$length(receiver) > 1)
  40339. throw A.wrapException(A.IterableElementError_tooMany());
  40340. return this.$index(receiver, 0);
  40341. },
  40342. contains$1(receiver, element) {
  40343. var i,
  40344. $length = this.get$length(receiver);
  40345. for (i = 0; i < $length; ++i) {
  40346. if (J.$eq$(this.$index(receiver, i), element))
  40347. return true;
  40348. if ($length !== this.get$length(receiver))
  40349. throw A.wrapException(A.ConcurrentModificationError$(receiver));
  40350. }
  40351. return false;
  40352. },
  40353. every$1(receiver, test) {
  40354. var i,
  40355. $length = this.get$length(receiver);
  40356. for (i = 0; i < $length; ++i) {
  40357. if (!test.call$1(this.$index(receiver, i)))
  40358. return false;
  40359. if ($length !== this.get$length(receiver))
  40360. throw A.wrapException(A.ConcurrentModificationError$(receiver));
  40361. }
  40362. return true;
  40363. },
  40364. any$1(receiver, test) {
  40365. var i,
  40366. $length = this.get$length(receiver);
  40367. for (i = 0; i < $length; ++i) {
  40368. if (test.call$1(this.$index(receiver, i)))
  40369. return true;
  40370. if ($length !== this.get$length(receiver))
  40371. throw A.wrapException(A.ConcurrentModificationError$(receiver));
  40372. }
  40373. return false;
  40374. },
  40375. lastWhere$2$orElse(receiver, test, orElse) {
  40376. var i, element,
  40377. $length = this.get$length(receiver);
  40378. for (i = $length - 1; i >= 0; --i) {
  40379. element = this.$index(receiver, i);
  40380. if (test.call$1(element))
  40381. return element;
  40382. if ($length !== this.get$length(receiver))
  40383. throw A.wrapException(A.ConcurrentModificationError$(receiver));
  40384. }
  40385. if (orElse != null)
  40386. return orElse.call$0();
  40387. throw A.wrapException(A.IterableElementError_noElement());
  40388. },
  40389. join$1(receiver, separator) {
  40390. var t1;
  40391. if (this.get$length(receiver) === 0)
  40392. return "";
  40393. t1 = A.StringBuffer__writeAll("", receiver, separator);
  40394. return t1.charCodeAt(0) == 0 ? t1 : t1;
  40395. },
  40396. where$1(receiver, test) {
  40397. return new A.WhereIterable(receiver, test, A.instanceType(receiver)._eval$1("WhereIterable<ListBase.E>"));
  40398. },
  40399. map$1$1(receiver, f, $T) {
  40400. return new A.MappedListIterable(receiver, f, A.instanceType(receiver)._eval$1("@<ListBase.E>")._bind$1($T)._eval$1("MappedListIterable<1,2>"));
  40401. },
  40402. expand$1$1(receiver, f, $T) {
  40403. return new A.ExpandIterable(receiver, f, A.instanceType(receiver)._eval$1("@<ListBase.E>")._bind$1($T)._eval$1("ExpandIterable<1,2>"));
  40404. },
  40405. skip$1(receiver, count) {
  40406. return A.SubListIterable$(receiver, count, null, A.instanceType(receiver)._eval$1("ListBase.E"));
  40407. },
  40408. take$1(receiver, count) {
  40409. return A.SubListIterable$(receiver, 0, A.checkNotNullable(count, "count", type$.int), A.instanceType(receiver)._eval$1("ListBase.E"));
  40410. },
  40411. toList$1$growable(receiver, growable) {
  40412. var t1, first, result, i, _this = this;
  40413. if (_this.get$isEmpty(receiver)) {
  40414. t1 = J.JSArray_JSArray$growable(0, A.instanceType(receiver)._eval$1("ListBase.E"));
  40415. return t1;
  40416. }
  40417. first = _this.$index(receiver, 0);
  40418. result = A.List_List$filled(_this.get$length(receiver), first, true, A.instanceType(receiver)._eval$1("ListBase.E"));
  40419. for (i = 1; i < _this.get$length(receiver); ++i)
  40420. result[i] = _this.$index(receiver, i);
  40421. return result;
  40422. },
  40423. toList$0(receiver) {
  40424. return this.toList$1$growable(receiver, true);
  40425. },
  40426. toSet$0(receiver) {
  40427. var i,
  40428. result = A.LinkedHashSet_LinkedHashSet(A.instanceType(receiver)._eval$1("ListBase.E"));
  40429. for (i = 0; i < this.get$length(receiver); ++i)
  40430. result.add$1(0, this.$index(receiver, i));
  40431. return result;
  40432. },
  40433. add$1(receiver, element) {
  40434. var t1 = this.get$length(receiver);
  40435. this.set$length(receiver, t1 + 1);
  40436. this.$indexSet(receiver, t1, element);
  40437. },
  40438. addAll$1(receiver, iterable) {
  40439. var t1,
  40440. i = this.get$length(receiver);
  40441. for (t1 = iterable.get$iterator(iterable); t1.moveNext$0();) {
  40442. this.add$1(receiver, t1.get$current(t1));
  40443. ++i;
  40444. }
  40445. },
  40446. _closeGap$2(receiver, start, end) {
  40447. var i, _this = this,
  40448. $length = _this.get$length(receiver),
  40449. size = end - start;
  40450. for (i = end; i < $length; ++i)
  40451. _this.$indexSet(receiver, i - size, _this.$index(receiver, i));
  40452. _this.set$length(receiver, $length - size);
  40453. },
  40454. cast$1$0(receiver, $R) {
  40455. return new A.CastList(receiver, A.instanceType(receiver)._eval$1("@<ListBase.E>")._bind$1($R)._eval$1("CastList<1,2>"));
  40456. },
  40457. sort$1(receiver, compare) {
  40458. var t1 = compare == null ? A.collection_ListBase__compareAny$closure() : compare;
  40459. A.Sort__doSort(receiver, 0, this.get$length(receiver) - 1, t1);
  40460. },
  40461. sublist$2(receiver, start, end) {
  40462. var t1,
  40463. listLength = this.get$length(receiver);
  40464. A.RangeError_checkValidRange(start, listLength, listLength);
  40465. t1 = A.List_List$_of(this.getRange$2(receiver, start, listLength), A.instanceType(receiver)._eval$1("ListBase.E"));
  40466. return t1;
  40467. },
  40468. sublist$1(receiver, start) {
  40469. return this.sublist$2(receiver, start, null);
  40470. },
  40471. getRange$2(receiver, start, end) {
  40472. A.RangeError_checkValidRange(start, end, this.get$length(receiver));
  40473. return A.SubListIterable$(receiver, start, end, A.instanceType(receiver)._eval$1("ListBase.E"));
  40474. },
  40475. removeRange$2(receiver, start, end) {
  40476. A.RangeError_checkValidRange(start, end, this.get$length(receiver));
  40477. if (end > start)
  40478. this._closeGap$2(receiver, start, end);
  40479. },
  40480. fillRange$3(receiver, start, end, fill) {
  40481. var i;
  40482. A.instanceType(receiver)._eval$1("ListBase.E")._as(fill);
  40483. A.RangeError_checkValidRange(start, end, this.get$length(receiver));
  40484. for (i = start; i < end; ++i)
  40485. this.$indexSet(receiver, i, fill);
  40486. },
  40487. setRange$4(receiver, start, end, iterable, skipCount) {
  40488. var $length, otherStart, otherList, t1, i;
  40489. A.RangeError_checkValidRange(start, end, this.get$length(receiver));
  40490. $length = end - start;
  40491. if ($length === 0)
  40492. return;
  40493. A.RangeError_checkNotNegative(skipCount, "skipCount");
  40494. if (type$.List_dynamic._is(iterable)) {
  40495. otherStart = skipCount;
  40496. otherList = iterable;
  40497. } else {
  40498. otherList = J.skip$1$ax(iterable, skipCount).toList$1$growable(0, false);
  40499. otherStart = 0;
  40500. }
  40501. t1 = J.getInterceptor$asx(otherList);
  40502. if (otherStart + $length > t1.get$length(otherList))
  40503. throw A.wrapException(A.IterableElementError_tooFew());
  40504. if (otherStart < start)
  40505. for (i = $length - 1; i >= 0; --i)
  40506. this.$indexSet(receiver, start + i, t1.$index(otherList, otherStart + i));
  40507. else
  40508. for (i = 0; i < $length; ++i)
  40509. this.$indexSet(receiver, start + i, t1.$index(otherList, otherStart + i));
  40510. },
  40511. indexOf$1(receiver, element) {
  40512. var i;
  40513. for (i = 0; i < this.get$length(receiver); ++i)
  40514. if (J.$eq$(this.$index(receiver, i), element))
  40515. return i;
  40516. return -1;
  40517. },
  40518. get$reversed(receiver) {
  40519. return new A.ReversedListIterable(receiver, A.instanceType(receiver)._eval$1("ReversedListIterable<ListBase.E>"));
  40520. },
  40521. toString$0(receiver) {
  40522. return A.Iterable_iterableToFullString(receiver, "[", "]");
  40523. },
  40524. $isEfficientLengthIterable: 1,
  40525. $isIterable: 1,
  40526. $isList: 1
  40527. };
  40528. A.MapBase.prototype = {
  40529. cast$2$0(_, RK, RV) {
  40530. var t1 = A._instanceType(this);
  40531. return A.Map_castFrom(this, t1._eval$1("MapBase.K"), t1._eval$1("MapBase.V"), RK, RV);
  40532. },
  40533. forEach$1(_, action) {
  40534. var t1, t2, key, t3, _this = this;
  40535. for (t1 = J.get$iterator$ax(_this.get$keys(_this)), t2 = A._instanceType(_this)._eval$1("MapBase.V"); t1.moveNext$0();) {
  40536. key = t1.get$current(t1);
  40537. t3 = _this.$index(0, key);
  40538. action.call$2(key, t3 == null ? t2._as(t3) : t3);
  40539. }
  40540. },
  40541. addAll$1(_, other) {
  40542. other.forEach$1(0, new A.MapBase_addAll_closure(this));
  40543. },
  40544. get$entries(_) {
  40545. var _this = this;
  40546. 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>"));
  40547. },
  40548. containsKey$1(key) {
  40549. return J.contains$1$asx(this.get$keys(this), key);
  40550. },
  40551. get$length(_) {
  40552. return J.get$length$asx(this.get$keys(this));
  40553. },
  40554. get$isEmpty(_) {
  40555. return J.get$isEmpty$asx(this.get$keys(this));
  40556. },
  40557. get$isNotEmpty(_) {
  40558. return J.get$isNotEmpty$asx(this.get$keys(this));
  40559. },
  40560. get$values(_) {
  40561. return new A._MapBaseValueIterable(this, A._instanceType(this)._eval$1("_MapBaseValueIterable<MapBase.K,MapBase.V>"));
  40562. },
  40563. toString$0(_) {
  40564. return A.MapBase_mapToString(this);
  40565. },
  40566. $isMap: 1
  40567. };
  40568. A.MapBase_addAll_closure.prototype = {
  40569. call$2(key, value) {
  40570. this.$this.$indexSet(0, key, value);
  40571. },
  40572. $signature() {
  40573. return A._instanceType(this.$this)._eval$1("~(MapBase.K,MapBase.V)");
  40574. }
  40575. };
  40576. A.MapBase_entries_closure.prototype = {
  40577. call$1(key) {
  40578. var t1 = this.$this,
  40579. t2 = t1.$index(0, key);
  40580. if (t2 == null)
  40581. t2 = A._instanceType(t1)._eval$1("MapBase.V")._as(t2);
  40582. return new A.MapEntry(key, t2, A._instanceType(t1)._eval$1("MapEntry<MapBase.K,MapBase.V>"));
  40583. },
  40584. $signature() {
  40585. return A._instanceType(this.$this)._eval$1("MapEntry<MapBase.K,MapBase.V>(MapBase.K)");
  40586. }
  40587. };
  40588. A.MapBase_mapToString_closure.prototype = {
  40589. call$2(k, v) {
  40590. var t2,
  40591. t1 = this._box_0;
  40592. if (!t1.first)
  40593. this.result._contents += ", ";
  40594. t1.first = false;
  40595. t1 = this.result;
  40596. t2 = A.S(k);
  40597. t1._contents = (t1._contents += t2) + ": ";
  40598. t2 = A.S(v);
  40599. t1._contents += t2;
  40600. },
  40601. $signature: 170
  40602. };
  40603. A.UnmodifiableMapBase.prototype = {};
  40604. A._MapBaseValueIterable.prototype = {
  40605. get$length(_) {
  40606. var t1 = this._map;
  40607. return t1.get$length(t1);
  40608. },
  40609. get$isEmpty(_) {
  40610. var t1 = this._map;
  40611. return t1.get$isEmpty(t1);
  40612. },
  40613. get$isNotEmpty(_) {
  40614. var t1 = this._map;
  40615. return t1.get$isNotEmpty(t1);
  40616. },
  40617. get$first(_) {
  40618. var t1 = this._map;
  40619. t1 = t1.$index(0, J.get$first$ax(t1.get$keys(t1)));
  40620. return t1 == null ? this.$ti._rest[1]._as(t1) : t1;
  40621. },
  40622. get$single(_) {
  40623. var t1 = this._map;
  40624. t1 = t1.$index(0, J.get$single$ax(t1.get$keys(t1)));
  40625. return t1 == null ? this.$ti._rest[1]._as(t1) : t1;
  40626. },
  40627. get$last(_) {
  40628. var t1 = this._map;
  40629. t1 = t1.$index(0, J.get$last$ax(t1.get$keys(t1)));
  40630. return t1 == null ? this.$ti._rest[1]._as(t1) : t1;
  40631. },
  40632. get$iterator(_) {
  40633. var t1 = this._map;
  40634. return new A._MapBaseValueIterator(J.get$iterator$ax(t1.get$keys(t1)), t1, this.$ti._eval$1("_MapBaseValueIterator<1,2>"));
  40635. }
  40636. };
  40637. A._MapBaseValueIterator.prototype = {
  40638. moveNext$0() {
  40639. var _this = this,
  40640. t1 = _this._collection$_keys;
  40641. if (t1.moveNext$0()) {
  40642. _this._collection$_current = _this._map.$index(0, t1.get$current(t1));
  40643. return true;
  40644. }
  40645. _this._collection$_current = null;
  40646. return false;
  40647. },
  40648. get$current(_) {
  40649. var t1 = this._collection$_current;
  40650. return t1 == null ? this.$ti._rest[1]._as(t1) : t1;
  40651. }
  40652. };
  40653. A._UnmodifiableMapMixin.prototype = {
  40654. $indexSet(_, key, value) {
  40655. throw A.wrapException(A.UnsupportedError$("Cannot modify unmodifiable map"));
  40656. },
  40657. addAll$1(_, other) {
  40658. throw A.wrapException(A.UnsupportedError$("Cannot modify unmodifiable map"));
  40659. },
  40660. remove$1(_, key) {
  40661. throw A.wrapException(A.UnsupportedError$("Cannot modify unmodifiable map"));
  40662. }
  40663. };
  40664. A.MapView.prototype = {
  40665. cast$2$0(_, RK, RV) {
  40666. return this._map.cast$2$0(0, RK, RV);
  40667. },
  40668. $index(_, key) {
  40669. return this._map.$index(0, key);
  40670. },
  40671. $indexSet(_, key, value) {
  40672. this._map.$indexSet(0, key, value);
  40673. },
  40674. addAll$1(_, other) {
  40675. this._map.addAll$1(0, other);
  40676. },
  40677. containsKey$1(key) {
  40678. return this._map.containsKey$1(key);
  40679. },
  40680. forEach$1(_, action) {
  40681. this._map.forEach$1(0, action);
  40682. },
  40683. get$isEmpty(_) {
  40684. var t1 = this._map;
  40685. return t1.get$isEmpty(t1);
  40686. },
  40687. get$isNotEmpty(_) {
  40688. var t1 = this._map;
  40689. return t1.get$isNotEmpty(t1);
  40690. },
  40691. get$length(_) {
  40692. var t1 = this._map;
  40693. return t1.get$length(t1);
  40694. },
  40695. get$keys(_) {
  40696. var t1 = this._map;
  40697. return t1.get$keys(t1);
  40698. },
  40699. remove$1(_, key) {
  40700. return this._map.remove$1(0, key);
  40701. },
  40702. toString$0(_) {
  40703. return this._map.toString$0(0);
  40704. },
  40705. get$values(_) {
  40706. var t1 = this._map;
  40707. return t1.get$values(t1);
  40708. },
  40709. get$entries(_) {
  40710. var t1 = this._map;
  40711. return t1.get$entries(t1);
  40712. },
  40713. $isMap: 1
  40714. };
  40715. A.UnmodifiableMapView.prototype = {
  40716. cast$2$0(_, RK, RV) {
  40717. return new A.UnmodifiableMapView(this._map.cast$2$0(0, RK, RV), RK._eval$1("@<0>")._bind$1(RV)._eval$1("UnmodifiableMapView<1,2>"));
  40718. }
  40719. };
  40720. A.ListQueue.prototype = {
  40721. get$iterator(_) {
  40722. var _this = this;
  40723. return new A._ListQueueIterator(_this, _this._tail, _this._modificationCount, _this._head, _this.$ti._eval$1("_ListQueueIterator<1>"));
  40724. },
  40725. get$isEmpty(_) {
  40726. return this._head === this._tail;
  40727. },
  40728. get$length(_) {
  40729. return (this._tail - this._head & this._table.length - 1) >>> 0;
  40730. },
  40731. get$first(_) {
  40732. var _this = this,
  40733. t1 = _this._head;
  40734. if (t1 === _this._tail)
  40735. throw A.wrapException(A.IterableElementError_noElement());
  40736. t1 = _this._table[t1];
  40737. return t1 == null ? _this.$ti._precomputed1._as(t1) : t1;
  40738. },
  40739. get$last(_) {
  40740. var _this = this,
  40741. t1 = _this._head,
  40742. t2 = _this._tail;
  40743. if (t1 === t2)
  40744. throw A.wrapException(A.IterableElementError_noElement());
  40745. t1 = _this._table;
  40746. t1 = t1[(t2 - 1 & t1.length - 1) >>> 0];
  40747. return t1 == null ? _this.$ti._precomputed1._as(t1) : t1;
  40748. },
  40749. get$single(_) {
  40750. var t1, _this = this;
  40751. if (_this._head === _this._tail)
  40752. throw A.wrapException(A.IterableElementError_noElement());
  40753. if (_this.get$length(0) > 1)
  40754. throw A.wrapException(A.IterableElementError_tooMany());
  40755. t1 = _this._table[_this._head];
  40756. return t1 == null ? _this.$ti._precomputed1._as(t1) : t1;
  40757. },
  40758. elementAt$1(_, index) {
  40759. var t1, _this = this;
  40760. A.IndexError_check(index, _this.get$length(0), _this, null, null);
  40761. t1 = _this._table;
  40762. t1 = t1[(_this._head + index & t1.length - 1) >>> 0];
  40763. return t1 == null ? _this.$ti._precomputed1._as(t1) : t1;
  40764. },
  40765. toList$1$growable(_, growable) {
  40766. var t1, list, t2, t3, i, t4, _this = this,
  40767. mask = _this._table.length - 1,
  40768. $length = (_this._tail - _this._head & mask) >>> 0;
  40769. if ($length === 0) {
  40770. t1 = J.JSArray_JSArray$growable(0, _this.$ti._precomputed1);
  40771. return t1;
  40772. }
  40773. t1 = _this.$ti._precomputed1;
  40774. list = A.List_List$filled($length, _this.get$first(0), true, t1);
  40775. for (t2 = _this._table, t3 = _this._head, i = 0; i < $length; ++i) {
  40776. t4 = t2[(t3 + i & mask) >>> 0];
  40777. list[i] = t4 == null ? t1._as(t4) : t4;
  40778. }
  40779. return list;
  40780. },
  40781. toList$0(_) {
  40782. return this.toList$1$growable(0, true);
  40783. },
  40784. addAll$1(_, elements) {
  40785. var newTable, endSpace, preSpace, _this = this,
  40786. addCount = elements.length,
  40787. $length = _this.get$length(0),
  40788. t1 = $length + addCount,
  40789. t2 = _this._table,
  40790. t3 = t2.length;
  40791. if (t1 >= t3) {
  40792. newTable = A.List_List$filled(A.ListQueue__nextPowerOf2(t1 + (t1 >>> 1)), null, false, _this.$ti._eval$1("1?"));
  40793. _this._tail = _this._collection$_writeToList$1(newTable);
  40794. _this._table = newTable;
  40795. _this._head = 0;
  40796. B.JSArray_methods.setRange$4(newTable, $length, t1, elements, 0);
  40797. _this._tail += addCount;
  40798. } else {
  40799. t1 = _this._tail;
  40800. endSpace = t3 - t1;
  40801. if (addCount < endSpace) {
  40802. B.JSArray_methods.setRange$4(t2, t1, t1 + addCount, elements, 0);
  40803. _this._tail += addCount;
  40804. } else {
  40805. preSpace = addCount - endSpace;
  40806. B.JSArray_methods.setRange$4(t2, t1, t1 + endSpace, elements, 0);
  40807. B.JSArray_methods.setRange$4(_this._table, 0, preSpace, elements, endSpace);
  40808. _this._tail = preSpace;
  40809. }
  40810. }
  40811. ++_this._modificationCount;
  40812. },
  40813. clear$0(_) {
  40814. var t2, t3, _this = this,
  40815. i = _this._head,
  40816. t1 = _this._tail;
  40817. if (i !== t1) {
  40818. for (t2 = _this._table, t3 = t2.length - 1; i !== t1; i = (i + 1 & t3) >>> 0)
  40819. t2[i] = null;
  40820. _this._head = _this._tail = 0;
  40821. ++_this._modificationCount;
  40822. }
  40823. },
  40824. toString$0(_) {
  40825. return A.Iterable_iterableToFullString(this, "{", "}");
  40826. },
  40827. addFirst$1(value) {
  40828. var _this = this,
  40829. t1 = _this._head,
  40830. t2 = _this._table;
  40831. t1 = _this._head = (t1 - 1 & t2.length - 1) >>> 0;
  40832. t2[t1] = value;
  40833. if (t1 === _this._tail)
  40834. _this._grow$0();
  40835. ++_this._modificationCount;
  40836. },
  40837. removeFirst$0() {
  40838. var t2, result, _this = this,
  40839. t1 = _this._head;
  40840. if (t1 === _this._tail)
  40841. throw A.wrapException(A.IterableElementError_noElement());
  40842. ++_this._modificationCount;
  40843. t2 = _this._table;
  40844. result = t2[t1];
  40845. if (result == null)
  40846. result = _this.$ti._precomputed1._as(result);
  40847. t2[t1] = null;
  40848. _this._head = (t1 + 1 & t2.length - 1) >>> 0;
  40849. return result;
  40850. },
  40851. _add$1(element) {
  40852. var _this = this,
  40853. t1 = _this._table,
  40854. t2 = _this._tail;
  40855. t1[t2] = element;
  40856. t1 = (t2 + 1 & t1.length - 1) >>> 0;
  40857. _this._tail = t1;
  40858. if (_this._head === t1)
  40859. _this._grow$0();
  40860. ++_this._modificationCount;
  40861. },
  40862. _grow$0() {
  40863. var _this = this,
  40864. newTable = A.List_List$filled(_this._table.length * 2, null, false, _this.$ti._eval$1("1?")),
  40865. t1 = _this._table,
  40866. t2 = _this._head,
  40867. split = t1.length - t2;
  40868. B.JSArray_methods.setRange$4(newTable, 0, split, t1, t2);
  40869. B.JSArray_methods.setRange$4(newTable, split, split + _this._head, _this._table, 0);
  40870. _this._head = 0;
  40871. _this._tail = _this._table.length;
  40872. _this._table = newTable;
  40873. },
  40874. _collection$_writeToList$1(target) {
  40875. var $length, firstPartSize, _this = this,
  40876. t1 = _this._head,
  40877. t2 = _this._tail,
  40878. t3 = _this._table;
  40879. if (t1 <= t2) {
  40880. $length = t2 - t1;
  40881. B.JSArray_methods.setRange$4(target, 0, $length, t3, t1);
  40882. return $length;
  40883. } else {
  40884. firstPartSize = t3.length - t1;
  40885. B.JSArray_methods.setRange$4(target, 0, firstPartSize, t3, t1);
  40886. B.JSArray_methods.setRange$4(target, firstPartSize, firstPartSize + _this._tail, _this._table, 0);
  40887. return _this._tail + firstPartSize;
  40888. }
  40889. },
  40890. $isQueue: 1
  40891. };
  40892. A._ListQueueIterator.prototype = {
  40893. get$current(_) {
  40894. var t1 = this._collection$_current;
  40895. return t1 == null ? this.$ti._precomputed1._as(t1) : t1;
  40896. },
  40897. moveNext$0() {
  40898. var t2, _this = this,
  40899. t1 = _this._queue;
  40900. if (_this._modificationCount !== t1._modificationCount)
  40901. A.throwExpression(A.ConcurrentModificationError$(t1));
  40902. t2 = _this._collection$_position;
  40903. if (t2 === _this._collection$_end) {
  40904. _this._collection$_current = null;
  40905. return false;
  40906. }
  40907. t1 = t1._table;
  40908. _this._collection$_current = t1[t2];
  40909. _this._collection$_position = (t2 + 1 & t1.length - 1) >>> 0;
  40910. return true;
  40911. }
  40912. };
  40913. A.SetBase.prototype = {
  40914. get$isEmpty(_) {
  40915. return this.get$length(this) === 0;
  40916. },
  40917. get$isNotEmpty(_) {
  40918. return this.get$length(this) !== 0;
  40919. },
  40920. addAll$1(_, elements) {
  40921. var t1;
  40922. for (t1 = J.get$iterator$ax(elements); t1.moveNext$0();)
  40923. this.add$1(0, t1.get$current(t1));
  40924. },
  40925. removeAll$1(elements) {
  40926. var t1;
  40927. for (t1 = J.get$iterator$ax(elements); t1.moveNext$0();)
  40928. this.remove$1(0, t1.get$current(t1));
  40929. },
  40930. difference$1(other) {
  40931. var t1, t2, element,
  40932. result = this.toSet$0(0);
  40933. for (t1 = this.get$iterator(this), t2 = other._source; t1.moveNext$0();) {
  40934. element = t1.get$current(t1);
  40935. if (t2.contains$1(0, element))
  40936. result.remove$1(0, element);
  40937. }
  40938. return result;
  40939. },
  40940. toList$1$growable(_, growable) {
  40941. var t1 = A.List_List$_of(this, A._instanceType(this)._precomputed1);
  40942. return t1;
  40943. },
  40944. toList$0(_) {
  40945. return this.toList$1$growable(0, true);
  40946. },
  40947. map$1$1(_, f, $T) {
  40948. return new A.EfficientLengthMappedIterable(this, f, A._instanceType(this)._eval$1("@<1>")._bind$1($T)._eval$1("EfficientLengthMappedIterable<1,2>"));
  40949. },
  40950. get$single(_) {
  40951. var it, _this = this;
  40952. if (_this.get$length(_this) > 1)
  40953. throw A.wrapException(A.IterableElementError_tooMany());
  40954. it = _this.get$iterator(_this);
  40955. if (!it.moveNext$0())
  40956. throw A.wrapException(A.IterableElementError_noElement());
  40957. return it.get$current(it);
  40958. },
  40959. toString$0(_) {
  40960. return A.Iterable_iterableToFullString(this, "{", "}");
  40961. },
  40962. where$1(_, f) {
  40963. return new A.WhereIterable(this, f, A._instanceType(this)._eval$1("WhereIterable<1>"));
  40964. },
  40965. forEach$1(_, f) {
  40966. var t1;
  40967. for (t1 = this.get$iterator(this); t1.moveNext$0();)
  40968. f.call$1(t1.get$current(t1));
  40969. },
  40970. every$1(_, f) {
  40971. var t1;
  40972. for (t1 = this.get$iterator(this); t1.moveNext$0();)
  40973. if (!f.call$1(t1.get$current(t1)))
  40974. return false;
  40975. return true;
  40976. },
  40977. any$1(_, test) {
  40978. var t1;
  40979. for (t1 = this.get$iterator(this); t1.moveNext$0();)
  40980. if (test.call$1(t1.get$current(t1)))
  40981. return true;
  40982. return false;
  40983. },
  40984. take$1(_, n) {
  40985. return A.TakeIterable_TakeIterable(this, n, A._instanceType(this)._precomputed1);
  40986. },
  40987. skip$1(_, n) {
  40988. return A.SkipIterable_SkipIterable(this, n, A._instanceType(this)._precomputed1);
  40989. },
  40990. get$first(_) {
  40991. var it = this.get$iterator(this);
  40992. if (!it.moveNext$0())
  40993. throw A.wrapException(A.IterableElementError_noElement());
  40994. return it.get$current(it);
  40995. },
  40996. get$last(_) {
  40997. var result,
  40998. it = this.get$iterator(this);
  40999. if (!it.moveNext$0())
  41000. throw A.wrapException(A.IterableElementError_noElement());
  41001. do
  41002. result = it.get$current(it);
  41003. while (it.moveNext$0());
  41004. return result;
  41005. },
  41006. elementAt$1(_, index) {
  41007. var iterator, skipCount;
  41008. A.RangeError_checkNotNegative(index, "index");
  41009. iterator = this.get$iterator(this);
  41010. for (skipCount = index; iterator.moveNext$0();) {
  41011. if (skipCount === 0)
  41012. return iterator.get$current(iterator);
  41013. --skipCount;
  41014. }
  41015. throw A.wrapException(A.IndexError$withLength(index, index - skipCount, this, null, "index"));
  41016. },
  41017. $isEfficientLengthIterable: 1,
  41018. $isIterable: 1,
  41019. $isSet: 1
  41020. };
  41021. A._SetBase.prototype = {
  41022. difference$1(other) {
  41023. var t1, t2, element, _this = this,
  41024. result = _this._newSet$0();
  41025. for (t1 = A._LinkedHashSetIterator$(_this, _this._collection$_modifications, A._instanceType(_this)._precomputed1), t2 = t1.$ti._precomputed1; t1.moveNext$0();) {
  41026. element = t1._collection$_current;
  41027. if (element == null)
  41028. element = t2._as(element);
  41029. if (!other.contains$1(0, element))
  41030. result.add$1(0, element);
  41031. }
  41032. return result;
  41033. },
  41034. intersection$1(other) {
  41035. var t1, t2, element, _this = this,
  41036. result = _this._newSet$0();
  41037. for (t1 = A._LinkedHashSetIterator$(_this, _this._collection$_modifications, A._instanceType(_this)._precomputed1), t2 = t1.$ti._precomputed1; t1.moveNext$0();) {
  41038. element = t1._collection$_current;
  41039. if (element == null)
  41040. element = t2._as(element);
  41041. if (other.contains$1(0, element))
  41042. result.add$1(0, element);
  41043. }
  41044. return result;
  41045. },
  41046. toSet$0(_) {
  41047. var t1 = this._newSet$0();
  41048. t1.addAll$1(0, this);
  41049. return t1;
  41050. }
  41051. };
  41052. A._UnmodifiableSetMixin.prototype = {
  41053. add$1(_, value) {
  41054. return A._UnmodifiableSetMixin__throwUnmodifiable();
  41055. },
  41056. addAll$1(_, elements) {
  41057. return A._UnmodifiableSetMixin__throwUnmodifiable();
  41058. },
  41059. remove$1(_, value) {
  41060. return A._UnmodifiableSetMixin__throwUnmodifiable();
  41061. }
  41062. };
  41063. A.UnmodifiableSetView.prototype = {
  41064. contains$1(_, element) {
  41065. return this._collection$_source.contains$1(0, element);
  41066. },
  41067. get$length(_) {
  41068. return this._collection$_source._collection$_length;
  41069. },
  41070. get$iterator(_) {
  41071. var t1 = this._collection$_source;
  41072. return A._LinkedHashSetIterator$(t1, t1._collection$_modifications, A._instanceType(t1)._precomputed1);
  41073. },
  41074. toSet$0(_) {
  41075. return this._collection$_source.toSet$0(0);
  41076. }
  41077. };
  41078. A._UnmodifiableMapView_MapView__UnmodifiableMapMixin.prototype = {};
  41079. A._UnmodifiableSetView_SetBase__UnmodifiableSetMixin.prototype = {};
  41080. A._JsonMap.prototype = {
  41081. $index(_, key) {
  41082. var result,
  41083. t1 = this._processed;
  41084. if (t1 == null)
  41085. return this._data.$index(0, key);
  41086. else if (typeof key != "string")
  41087. return null;
  41088. else {
  41089. result = t1[key];
  41090. return typeof result == "undefined" ? this._process$1(key) : result;
  41091. }
  41092. },
  41093. get$length(_) {
  41094. return this._processed == null ? this._data.__js_helper$_length : this._convert$_computeKeys$0().length;
  41095. },
  41096. get$isEmpty(_) {
  41097. return this.get$length(0) === 0;
  41098. },
  41099. get$isNotEmpty(_) {
  41100. return this.get$length(0) > 0;
  41101. },
  41102. get$keys(_) {
  41103. var t1;
  41104. if (this._processed == null) {
  41105. t1 = this._data;
  41106. return new A.LinkedHashMapKeysIterable(t1, A._instanceType(t1)._eval$1("LinkedHashMapKeysIterable<1>"));
  41107. }
  41108. return new A._JsonMapKeyIterable(this);
  41109. },
  41110. get$values(_) {
  41111. var t1, _this = this;
  41112. if (_this._processed == null) {
  41113. t1 = _this._data;
  41114. return new A.LinkedHashMapValuesIterable(t1, A._instanceType(t1)._eval$1("LinkedHashMapValuesIterable<2>"));
  41115. }
  41116. return A.MappedIterable_MappedIterable(_this._convert$_computeKeys$0(), new A._JsonMap_values_closure(_this), type$.String, type$.dynamic);
  41117. },
  41118. $indexSet(_, key, value) {
  41119. var processed, original, _this = this;
  41120. if (_this._processed == null)
  41121. _this._data.$indexSet(0, key, value);
  41122. else if (_this.containsKey$1(key)) {
  41123. processed = _this._processed;
  41124. processed[key] = value;
  41125. original = _this._original;
  41126. if (original == null ? processed != null : original !== processed)
  41127. original[key] = null;
  41128. } else
  41129. _this._upgrade$0().$indexSet(0, key, value);
  41130. },
  41131. addAll$1(_, other) {
  41132. other.forEach$1(0, new A._JsonMap_addAll_closure(this));
  41133. },
  41134. containsKey$1(key) {
  41135. if (this._processed == null)
  41136. return this._data.containsKey$1(key);
  41137. if (typeof key != "string")
  41138. return false;
  41139. return Object.prototype.hasOwnProperty.call(this._original, key);
  41140. },
  41141. remove$1(_, key) {
  41142. if (this._processed != null && !this.containsKey$1(key))
  41143. return null;
  41144. return this._upgrade$0().remove$1(0, key);
  41145. },
  41146. forEach$1(_, f) {
  41147. var keys, i, key, value, _this = this;
  41148. if (_this._processed == null)
  41149. return _this._data.forEach$1(0, f);
  41150. keys = _this._convert$_computeKeys$0();
  41151. for (i = 0; i < keys.length; ++i) {
  41152. key = keys[i];
  41153. value = _this._processed[key];
  41154. if (typeof value == "undefined") {
  41155. value = A._convertJsonToDartLazy(_this._original[key]);
  41156. _this._processed[key] = value;
  41157. }
  41158. f.call$2(key, value);
  41159. if (keys !== _this._data)
  41160. throw A.wrapException(A.ConcurrentModificationError$(_this));
  41161. }
  41162. },
  41163. _convert$_computeKeys$0() {
  41164. var keys = this._data;
  41165. if (keys == null)
  41166. keys = this._data = A._setArrayType(Object.keys(this._original), type$.JSArray_String);
  41167. return keys;
  41168. },
  41169. _upgrade$0() {
  41170. var result, keys, i, t1, key, _this = this;
  41171. if (_this._processed == null)
  41172. return _this._data;
  41173. result = A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.dynamic);
  41174. keys = _this._convert$_computeKeys$0();
  41175. for (i = 0; t1 = keys.length, i < t1; ++i) {
  41176. key = keys[i];
  41177. result.$indexSet(0, key, _this.$index(0, key));
  41178. }
  41179. if (t1 === 0)
  41180. keys.push("");
  41181. else
  41182. B.JSArray_methods.clear$0(keys);
  41183. _this._original = _this._processed = null;
  41184. return _this._data = result;
  41185. },
  41186. _process$1(key) {
  41187. var result;
  41188. if (!Object.prototype.hasOwnProperty.call(this._original, key))
  41189. return null;
  41190. result = A._convertJsonToDartLazy(this._original[key]);
  41191. return this._processed[key] = result;
  41192. }
  41193. };
  41194. A._JsonMap_values_closure.prototype = {
  41195. call$1(each) {
  41196. return this.$this.$index(0, each);
  41197. },
  41198. $signature: 199
  41199. };
  41200. A._JsonMap_addAll_closure.prototype = {
  41201. call$2(key, value) {
  41202. this.$this.$indexSet(0, key, value);
  41203. },
  41204. $signature: 139
  41205. };
  41206. A._JsonMapKeyIterable.prototype = {
  41207. get$length(_) {
  41208. return this._convert$_parent.get$length(0);
  41209. },
  41210. elementAt$1(_, index) {
  41211. var t1 = this._convert$_parent;
  41212. return t1._processed == null ? t1.get$keys(0).elementAt$1(0, index) : t1._convert$_computeKeys$0()[index];
  41213. },
  41214. get$iterator(_) {
  41215. var t1 = this._convert$_parent;
  41216. if (t1._processed == null) {
  41217. t1 = t1.get$keys(0);
  41218. t1 = t1.get$iterator(t1);
  41219. } else {
  41220. t1 = t1._convert$_computeKeys$0();
  41221. t1 = new J.ArrayIterator(t1, t1.length, A._arrayInstanceType(t1)._eval$1("ArrayIterator<1>"));
  41222. }
  41223. return t1;
  41224. },
  41225. contains$1(_, key) {
  41226. return this._convert$_parent.containsKey$1(key);
  41227. }
  41228. };
  41229. A._Utf8Decoder__decoder_closure.prototype = {
  41230. call$0() {
  41231. var t1, exception;
  41232. try {
  41233. t1 = new TextDecoder("utf-8", {fatal: true});
  41234. return t1;
  41235. } catch (exception) {
  41236. }
  41237. return null;
  41238. },
  41239. $signature: 59
  41240. };
  41241. A._Utf8Decoder__decoderNonfatal_closure.prototype = {
  41242. call$0() {
  41243. var t1, exception;
  41244. try {
  41245. t1 = new TextDecoder("utf-8", {fatal: false});
  41246. return t1;
  41247. } catch (exception) {
  41248. }
  41249. return null;
  41250. },
  41251. $signature: 59
  41252. };
  41253. A.AsciiCodec.prototype = {
  41254. encode$1(source) {
  41255. return B.AsciiEncoder_127.convert$1(source);
  41256. }
  41257. };
  41258. A._UnicodeSubsetEncoder.prototype = {
  41259. convert$1(string) {
  41260. var t1, i, codeUnit,
  41261. end = A.RangeError_checkValidRange(0, null, string.length),
  41262. result = new Uint8Array(end);
  41263. for (t1 = ~this._subsetMask, i = 0; i < end; ++i) {
  41264. codeUnit = string.charCodeAt(i);
  41265. if ((codeUnit & t1) !== 0)
  41266. throw A.wrapException(A.ArgumentError$value(string, "string", "Contains invalid characters."));
  41267. result[i] = codeUnit;
  41268. }
  41269. return result;
  41270. }
  41271. };
  41272. A.AsciiEncoder.prototype = {};
  41273. A.Base64Codec.prototype = {
  41274. normalize$3(source, start, end) {
  41275. var inverseAlphabet, i, sliceStart, buffer, firstPadding, firstPaddingSourceIndex, paddingCount, i0, char, i1, digit1, digit2, char0, value, t1, t2, endLength, $length,
  41276. _s31_ = "Invalid base64 encoding length ";
  41277. end = A.RangeError_checkValidRange(start, end, source.length);
  41278. inverseAlphabet = $.$get$_Base64Decoder__inverseAlphabet();
  41279. for (i = start, sliceStart = i, buffer = null, firstPadding = -1, firstPaddingSourceIndex = -1, paddingCount = 0; i < end; i = i0) {
  41280. i0 = i + 1;
  41281. char = source.charCodeAt(i);
  41282. if (char === 37) {
  41283. i1 = i0 + 2;
  41284. if (i1 <= end) {
  41285. digit1 = A.hexDigitValue(source.charCodeAt(i0));
  41286. digit2 = A.hexDigitValue(source.charCodeAt(i0 + 1));
  41287. char0 = digit1 * 16 + digit2 - (digit2 & 256);
  41288. if (char0 === 37)
  41289. char0 = -1;
  41290. i0 = i1;
  41291. } else
  41292. char0 = -1;
  41293. } else
  41294. char0 = char;
  41295. if (0 <= char0 && char0 <= 127) {
  41296. value = inverseAlphabet[char0];
  41297. if (value >= 0) {
  41298. char0 = string$.ABCDEF.charCodeAt(value);
  41299. if (char0 === char)
  41300. continue;
  41301. char = char0;
  41302. } else {
  41303. if (value === -1) {
  41304. if (firstPadding < 0) {
  41305. t1 = buffer == null ? null : buffer._contents.length;
  41306. if (t1 == null)
  41307. t1 = 0;
  41308. firstPadding = t1 + (i - sliceStart);
  41309. firstPaddingSourceIndex = i;
  41310. }
  41311. ++paddingCount;
  41312. if (char === 61)
  41313. continue;
  41314. }
  41315. char = char0;
  41316. }
  41317. if (value !== -2) {
  41318. if (buffer == null) {
  41319. buffer = new A.StringBuffer("");
  41320. t1 = buffer;
  41321. } else
  41322. t1 = buffer;
  41323. t1._contents += B.JSString_methods.substring$2(source, sliceStart, i);
  41324. t2 = A.Primitives_stringFromCharCode(char);
  41325. t1._contents += t2;
  41326. sliceStart = i0;
  41327. continue;
  41328. }
  41329. }
  41330. throw A.wrapException(A.FormatException$("Invalid base64 data", source, i));
  41331. }
  41332. if (buffer != null) {
  41333. t1 = B.JSString_methods.substring$2(source, sliceStart, end);
  41334. t1 = buffer._contents += t1;
  41335. t2 = t1.length;
  41336. if (firstPadding >= 0)
  41337. A.Base64Codec__checkPadding(source, firstPaddingSourceIndex, end, firstPadding, paddingCount, t2);
  41338. else {
  41339. endLength = B.JSInt_methods.$mod(t2 - 1, 4) + 1;
  41340. if (endLength === 1)
  41341. throw A.wrapException(A.FormatException$(_s31_, source, end));
  41342. for (; endLength < 4;) {
  41343. t1 += "=";
  41344. buffer._contents = t1;
  41345. ++endLength;
  41346. }
  41347. }
  41348. t1 = buffer._contents;
  41349. return B.JSString_methods.replaceRange$3(source, start, end, t1.charCodeAt(0) == 0 ? t1 : t1);
  41350. }
  41351. $length = end - start;
  41352. if (firstPadding >= 0)
  41353. A.Base64Codec__checkPadding(source, firstPaddingSourceIndex, end, firstPadding, paddingCount, $length);
  41354. else {
  41355. endLength = B.JSInt_methods.$mod($length, 4);
  41356. if (endLength === 1)
  41357. throw A.wrapException(A.FormatException$(_s31_, source, end));
  41358. if (endLength > 1)
  41359. source = B.JSString_methods.replaceRange$3(source, end, end, endLength === 2 ? "==" : "=");
  41360. }
  41361. return source;
  41362. }
  41363. };
  41364. A.Base64Encoder.prototype = {
  41365. startChunkedConversion$1(sink) {
  41366. return new A._Utf8Base64EncoderSink(new A._Utf8StringSinkAdapter(new A._Utf8Decoder(false), sink, sink._stringSink), new A._Base64Encoder(string$.ABCDEF));
  41367. }
  41368. };
  41369. A._Base64Encoder.prototype = {
  41370. createBuffer$1(bufferLength) {
  41371. return new Uint8Array(bufferLength);
  41372. },
  41373. encode$4(bytes, start, end, isLast) {
  41374. var output, _this = this,
  41375. byteCount = (_this._convert$_state & 3) + (end - start),
  41376. fullChunks = B.JSInt_methods._tdivFast$1(byteCount, 3),
  41377. bufferLength = fullChunks * 4;
  41378. if (isLast && byteCount - fullChunks * 3 > 0)
  41379. bufferLength += 4;
  41380. output = _this.createBuffer$1(bufferLength);
  41381. _this._convert$_state = A._Base64Encoder_encodeChunk(_this._alphabet, bytes, start, end, isLast, output, 0, _this._convert$_state);
  41382. if (bufferLength > 0)
  41383. return output;
  41384. return null;
  41385. }
  41386. };
  41387. A._Base64EncoderSink.prototype = {};
  41388. A._Utf8Base64EncoderSink.prototype = {
  41389. _convert$_add$4(source, start, end, isLast) {
  41390. var buffer = this._encoder.encode$4(source, start, end, isLast);
  41391. if (buffer != null)
  41392. this._sink.addSlice$4(buffer, 0, buffer.length, isLast);
  41393. }
  41394. };
  41395. A.ByteConversionSink.prototype = {};
  41396. A.Codec.prototype = {};
  41397. A.Converter.prototype = {};
  41398. A.Encoding.prototype = {};
  41399. A.JsonUnsupportedObjectError.prototype = {
  41400. toString$0(_) {
  41401. var safeString = A.Error_safeToString(this.unsupportedObject);
  41402. return (this.cause != null ? "Converting object to an encodable object failed:" : "Converting object did not return an encodable object:") + " " + safeString;
  41403. }
  41404. };
  41405. A.JsonCyclicError.prototype = {
  41406. toString$0(_) {
  41407. return "Cyclic error in JSON stringify";
  41408. }
  41409. };
  41410. A.JsonCodec.prototype = {
  41411. decode$1(source) {
  41412. var t1 = A._parseJson(source, this.get$decoder()._reviver);
  41413. return t1;
  41414. },
  41415. encode$2$toEncodable(value, toEncodable) {
  41416. var t1 = A._JsonStringStringifier_stringify(value, this.get$encoder()._toEncodable, null);
  41417. return t1;
  41418. },
  41419. get$encoder() {
  41420. return B.JsonEncoder_null;
  41421. },
  41422. get$decoder() {
  41423. return B.JsonDecoder_null;
  41424. }
  41425. };
  41426. A.JsonEncoder.prototype = {};
  41427. A.JsonDecoder.prototype = {};
  41428. A._JsonStringifier.prototype = {
  41429. writeStringContent$1(s) {
  41430. var offset, i, charCode, t1, t2, _this = this,
  41431. $length = s.length;
  41432. for (offset = 0, i = 0; i < $length; ++i) {
  41433. charCode = s.charCodeAt(i);
  41434. if (charCode > 92) {
  41435. if (charCode >= 55296) {
  41436. t1 = charCode & 64512;
  41437. if (t1 === 55296) {
  41438. t2 = i + 1;
  41439. t2 = !(t2 < $length && (s.charCodeAt(t2) & 64512) === 56320);
  41440. } else
  41441. t2 = false;
  41442. if (!t2)
  41443. if (t1 === 56320) {
  41444. t1 = i - 1;
  41445. t1 = !(t1 >= 0 && (s.charCodeAt(t1) & 64512) === 55296);
  41446. } else
  41447. t1 = false;
  41448. else
  41449. t1 = true;
  41450. if (t1) {
  41451. if (i > offset)
  41452. _this.writeStringSlice$3(s, offset, i);
  41453. offset = i + 1;
  41454. _this.writeCharCode$1(92);
  41455. _this.writeCharCode$1(117);
  41456. _this.writeCharCode$1(100);
  41457. t1 = charCode >>> 8 & 15;
  41458. _this.writeCharCode$1(t1 < 10 ? 48 + t1 : 87 + t1);
  41459. t1 = charCode >>> 4 & 15;
  41460. _this.writeCharCode$1(t1 < 10 ? 48 + t1 : 87 + t1);
  41461. t1 = charCode & 15;
  41462. _this.writeCharCode$1(t1 < 10 ? 48 + t1 : 87 + t1);
  41463. }
  41464. }
  41465. continue;
  41466. }
  41467. if (charCode < 32) {
  41468. if (i > offset)
  41469. _this.writeStringSlice$3(s, offset, i);
  41470. offset = i + 1;
  41471. _this.writeCharCode$1(92);
  41472. switch (charCode) {
  41473. case 8:
  41474. _this.writeCharCode$1(98);
  41475. break;
  41476. case 9:
  41477. _this.writeCharCode$1(116);
  41478. break;
  41479. case 10:
  41480. _this.writeCharCode$1(110);
  41481. break;
  41482. case 12:
  41483. _this.writeCharCode$1(102);
  41484. break;
  41485. case 13:
  41486. _this.writeCharCode$1(114);
  41487. break;
  41488. default:
  41489. _this.writeCharCode$1(117);
  41490. _this.writeCharCode$1(48);
  41491. _this.writeCharCode$1(48);
  41492. t1 = charCode >>> 4 & 15;
  41493. _this.writeCharCode$1(t1 < 10 ? 48 + t1 : 87 + t1);
  41494. t1 = charCode & 15;
  41495. _this.writeCharCode$1(t1 < 10 ? 48 + t1 : 87 + t1);
  41496. break;
  41497. }
  41498. } else if (charCode === 34 || charCode === 92) {
  41499. if (i > offset)
  41500. _this.writeStringSlice$3(s, offset, i);
  41501. offset = i + 1;
  41502. _this.writeCharCode$1(92);
  41503. _this.writeCharCode$1(charCode);
  41504. }
  41505. }
  41506. if (offset === 0)
  41507. _this.writeString$1(s);
  41508. else if (offset < $length)
  41509. _this.writeStringSlice$3(s, offset, $length);
  41510. },
  41511. _checkCycle$1(object) {
  41512. var t1, t2, i, t3;
  41513. for (t1 = this._seen, t2 = t1.length, i = 0; i < t2; ++i) {
  41514. t3 = t1[i];
  41515. if (object == null ? t3 == null : object === t3)
  41516. throw A.wrapException(new A.JsonCyclicError(object, null));
  41517. }
  41518. t1.push(object);
  41519. },
  41520. writeObject$1(object) {
  41521. var customJson, e, t1, exception, _this = this;
  41522. if (_this.writeJsonValue$1(object))
  41523. return;
  41524. _this._checkCycle$1(object);
  41525. try {
  41526. customJson = _this._toEncodable.call$1(object);
  41527. if (!_this.writeJsonValue$1(customJson)) {
  41528. t1 = A.JsonUnsupportedObjectError$(object, null, _this.get$_partialResult());
  41529. throw A.wrapException(t1);
  41530. }
  41531. _this._seen.pop();
  41532. } catch (exception) {
  41533. e = A.unwrapException(exception);
  41534. t1 = A.JsonUnsupportedObjectError$(object, e, _this.get$_partialResult());
  41535. throw A.wrapException(t1);
  41536. }
  41537. },
  41538. writeJsonValue$1(object) {
  41539. var success, _this = this;
  41540. if (typeof object == "number") {
  41541. if (!isFinite(object))
  41542. return false;
  41543. _this.writeNumber$1(object);
  41544. return true;
  41545. } else if (object === true) {
  41546. _this.writeString$1("true");
  41547. return true;
  41548. } else if (object === false) {
  41549. _this.writeString$1("false");
  41550. return true;
  41551. } else if (object == null) {
  41552. _this.writeString$1("null");
  41553. return true;
  41554. } else if (typeof object == "string") {
  41555. _this.writeString$1('"');
  41556. _this.writeStringContent$1(object);
  41557. _this.writeString$1('"');
  41558. return true;
  41559. } else if (type$.List_dynamic._is(object)) {
  41560. _this._checkCycle$1(object);
  41561. _this.writeList$1(object);
  41562. _this._seen.pop();
  41563. return true;
  41564. } else if (type$.Map_dynamic_dynamic._is(object)) {
  41565. _this._checkCycle$1(object);
  41566. success = _this.writeMap$1(object);
  41567. _this._seen.pop();
  41568. return success;
  41569. } else
  41570. return false;
  41571. },
  41572. writeList$1(list) {
  41573. var t1, i, _this = this;
  41574. _this.writeString$1("[");
  41575. t1 = J.getInterceptor$asx(list);
  41576. if (t1.get$isNotEmpty(list)) {
  41577. _this.writeObject$1(t1.$index(list, 0));
  41578. for (i = 1; i < t1.get$length(list); ++i) {
  41579. _this.writeString$1(",");
  41580. _this.writeObject$1(t1.$index(list, i));
  41581. }
  41582. }
  41583. _this.writeString$1("]");
  41584. },
  41585. writeMap$1(map) {
  41586. var t1, keyValueList, i, separator, _this = this, _box_0 = {};
  41587. if (map.get$isEmpty(map)) {
  41588. _this.writeString$1("{}");
  41589. return true;
  41590. }
  41591. t1 = map.get$length(map) * 2;
  41592. keyValueList = A.List_List$filled(t1, null, false, type$.nullable_Object);
  41593. i = _box_0.i = 0;
  41594. _box_0.allStringKeys = true;
  41595. map.forEach$1(0, new A._JsonStringifier_writeMap_closure(_box_0, keyValueList));
  41596. if (!_box_0.allStringKeys)
  41597. return false;
  41598. _this.writeString$1("{");
  41599. for (separator = '"'; i < t1; i += 2, separator = ',"') {
  41600. _this.writeString$1(separator);
  41601. _this.writeStringContent$1(A._asString(keyValueList[i]));
  41602. _this.writeString$1('":');
  41603. _this.writeObject$1(keyValueList[i + 1]);
  41604. }
  41605. _this.writeString$1("}");
  41606. return true;
  41607. }
  41608. };
  41609. A._JsonStringifier_writeMap_closure.prototype = {
  41610. call$2(key, value) {
  41611. var t1, t2, t3, i;
  41612. if (typeof key != "string")
  41613. this._box_0.allStringKeys = false;
  41614. t1 = this.keyValueList;
  41615. t2 = this._box_0;
  41616. t3 = t2.i;
  41617. i = t2.i = t3 + 1;
  41618. t1[t3] = key;
  41619. t2.i = i + 1;
  41620. t1[i] = value;
  41621. },
  41622. $signature: 170
  41623. };
  41624. A._JsonStringStringifier.prototype = {
  41625. get$_partialResult() {
  41626. var t1 = this._sink._contents;
  41627. return t1.charCodeAt(0) == 0 ? t1 : t1;
  41628. },
  41629. writeNumber$1(number) {
  41630. var t1 = this._sink,
  41631. t2 = B.JSNumber_methods.toString$0(number);
  41632. t1._contents += t2;
  41633. },
  41634. writeString$1(string) {
  41635. this._sink._contents += string;
  41636. },
  41637. writeStringSlice$3(string, start, end) {
  41638. this._sink._contents += B.JSString_methods.substring$2(string, start, end);
  41639. },
  41640. writeCharCode$1(charCode) {
  41641. var t1 = this._sink,
  41642. t2 = A.Primitives_stringFromCharCode(charCode);
  41643. t1._contents += t2;
  41644. }
  41645. };
  41646. A.StringConversionSink.prototype = {};
  41647. A._StringSinkConversionSink.prototype = {
  41648. close$0(_) {
  41649. }
  41650. };
  41651. A._StringCallbackSink.prototype = {
  41652. close$0(_) {
  41653. var t1 = this._stringSink,
  41654. t2 = t1._contents;
  41655. t1._contents = "";
  41656. this._convert$_callback.call$1(t2.charCodeAt(0) == 0 ? t2 : t2);
  41657. },
  41658. asUtf8Sink$1(allowMalformed) {
  41659. return new A._Utf8StringSinkAdapter(new A._Utf8Decoder(allowMalformed), this, this._stringSink);
  41660. }
  41661. };
  41662. A._Utf8StringSinkAdapter.prototype = {
  41663. close$0(_) {
  41664. this._decoder.flush$1(this._stringSink);
  41665. this._sink.close$0(0);
  41666. },
  41667. add$1(_, chunk) {
  41668. this.addSlice$4(chunk, 0, J.get$length$asx(chunk), false);
  41669. },
  41670. addSlice$4(codeUnits, startIndex, endIndex, isLast) {
  41671. var t1 = this._stringSink,
  41672. t2 = this._decoder._convertGeneral$4(codeUnits, startIndex, endIndex, false);
  41673. t1._contents += t2;
  41674. if (isLast)
  41675. this.close$0(0);
  41676. }
  41677. };
  41678. A.Utf8Codec.prototype = {
  41679. encode$1(string) {
  41680. return B.C_Utf8Encoder.convert$1(string);
  41681. }
  41682. };
  41683. A.Utf8Encoder.prototype = {
  41684. convert$1(string) {
  41685. var t1, encoder,
  41686. end = A.RangeError_checkValidRange(0, null, string.length);
  41687. if (end === 0)
  41688. return new Uint8Array(0);
  41689. t1 = new Uint8Array(end * 3);
  41690. encoder = new A._Utf8Encoder(t1);
  41691. if (encoder._fillBuffer$3(string, 0, end) !== end)
  41692. encoder._writeReplacementCharacter$0();
  41693. return B.NativeUint8List_methods.sublist$2(t1, 0, encoder._bufferIndex);
  41694. }
  41695. };
  41696. A._Utf8Encoder.prototype = {
  41697. _writeReplacementCharacter$0() {
  41698. var _this = this,
  41699. t1 = _this._buffer,
  41700. t2 = _this._bufferIndex,
  41701. t3 = _this._bufferIndex = t2 + 1;
  41702. t1.$flags & 2 && A.throwUnsupportedOperation(t1);
  41703. t1[t2] = 239;
  41704. t2 = _this._bufferIndex = t3 + 1;
  41705. t1[t3] = 191;
  41706. _this._bufferIndex = t2 + 1;
  41707. t1[t2] = 189;
  41708. },
  41709. _writeSurrogate$2(leadingSurrogate, nextCodeUnit) {
  41710. var rune, t1, t2, t3, _this = this;
  41711. if ((nextCodeUnit & 64512) === 56320) {
  41712. rune = 65536 + ((leadingSurrogate & 1023) << 10) | nextCodeUnit & 1023;
  41713. t1 = _this._buffer;
  41714. t2 = _this._bufferIndex;
  41715. t3 = _this._bufferIndex = t2 + 1;
  41716. t1.$flags & 2 && A.throwUnsupportedOperation(t1);
  41717. t1[t2] = rune >>> 18 | 240;
  41718. t2 = _this._bufferIndex = t3 + 1;
  41719. t1[t3] = rune >>> 12 & 63 | 128;
  41720. t3 = _this._bufferIndex = t2 + 1;
  41721. t1[t2] = rune >>> 6 & 63 | 128;
  41722. _this._bufferIndex = t3 + 1;
  41723. t1[t3] = rune & 63 | 128;
  41724. return true;
  41725. } else {
  41726. _this._writeReplacementCharacter$0();
  41727. return false;
  41728. }
  41729. },
  41730. _fillBuffer$3(str, start, end) {
  41731. var t1, t2, t3, stringIndex, codeUnit, t4, stringIndex0, t5, _this = this;
  41732. if (start !== end && (str.charCodeAt(end - 1) & 64512) === 55296)
  41733. --end;
  41734. for (t1 = _this._buffer, t2 = t1.$flags | 0, t3 = t1.length, stringIndex = start; stringIndex < end; ++stringIndex) {
  41735. codeUnit = str.charCodeAt(stringIndex);
  41736. if (codeUnit <= 127) {
  41737. t4 = _this._bufferIndex;
  41738. if (t4 >= t3)
  41739. break;
  41740. _this._bufferIndex = t4 + 1;
  41741. t2 & 2 && A.throwUnsupportedOperation(t1);
  41742. t1[t4] = codeUnit;
  41743. } else {
  41744. t4 = codeUnit & 64512;
  41745. if (t4 === 55296) {
  41746. if (_this._bufferIndex + 4 > t3)
  41747. break;
  41748. stringIndex0 = stringIndex + 1;
  41749. if (_this._writeSurrogate$2(codeUnit, str.charCodeAt(stringIndex0)))
  41750. stringIndex = stringIndex0;
  41751. } else if (t4 === 56320) {
  41752. if (_this._bufferIndex + 3 > t3)
  41753. break;
  41754. _this._writeReplacementCharacter$0();
  41755. } else if (codeUnit <= 2047) {
  41756. t4 = _this._bufferIndex;
  41757. t5 = t4 + 1;
  41758. if (t5 >= t3)
  41759. break;
  41760. _this._bufferIndex = t5;
  41761. t2 & 2 && A.throwUnsupportedOperation(t1);
  41762. t1[t4] = codeUnit >>> 6 | 192;
  41763. _this._bufferIndex = t5 + 1;
  41764. t1[t5] = codeUnit & 63 | 128;
  41765. } else {
  41766. t4 = _this._bufferIndex;
  41767. if (t4 + 2 >= t3)
  41768. break;
  41769. t5 = _this._bufferIndex = t4 + 1;
  41770. t2 & 2 && A.throwUnsupportedOperation(t1);
  41771. t1[t4] = codeUnit >>> 12 | 224;
  41772. t4 = _this._bufferIndex = t5 + 1;
  41773. t1[t5] = codeUnit >>> 6 & 63 | 128;
  41774. _this._bufferIndex = t4 + 1;
  41775. t1[t4] = codeUnit & 63 | 128;
  41776. }
  41777. }
  41778. }
  41779. return stringIndex;
  41780. }
  41781. };
  41782. A.Utf8Decoder.prototype = {
  41783. convert$1(codeUnits) {
  41784. return new A._Utf8Decoder(this._allowMalformed)._convertGeneral$4(codeUnits, 0, null, true);
  41785. }
  41786. };
  41787. A._Utf8Decoder.prototype = {
  41788. _convertGeneral$4(codeUnits, start, maybeEnd, single) {
  41789. var casted, bytes, errorOffset, t1, result, message, _this = this,
  41790. end = A.RangeError_checkValidRange(start, maybeEnd, J.get$length$asx(codeUnits));
  41791. if (start === end)
  41792. return "";
  41793. if (codeUnits instanceof Uint8Array) {
  41794. casted = codeUnits;
  41795. bytes = casted;
  41796. errorOffset = 0;
  41797. } else {
  41798. bytes = A._Utf8Decoder__makeNativeUint8List(codeUnits, start, end);
  41799. end -= start;
  41800. errorOffset = start;
  41801. start = 0;
  41802. }
  41803. if (single && end - start >= 15) {
  41804. t1 = _this.allowMalformed;
  41805. result = A._Utf8Decoder__convertInterceptedUint8List(t1, bytes, start, end);
  41806. if (result != null) {
  41807. if (!t1)
  41808. return result;
  41809. if (result.indexOf("\ufffd") < 0)
  41810. return result;
  41811. }
  41812. }
  41813. result = _this._decodeRecursive$4(bytes, start, end, single);
  41814. t1 = _this._convert$_state;
  41815. if ((t1 & 1) !== 0) {
  41816. message = A._Utf8Decoder_errorDescription(t1);
  41817. _this._convert$_state = 0;
  41818. throw A.wrapException(A.FormatException$(message, codeUnits, errorOffset + _this._charOrIndex));
  41819. }
  41820. return result;
  41821. },
  41822. _decodeRecursive$4(bytes, start, end, single) {
  41823. var mid, s1, _this = this;
  41824. if (end - start > 1000) {
  41825. mid = B.JSInt_methods._tdivFast$1(start + end, 2);
  41826. s1 = _this._decodeRecursive$4(bytes, start, mid, false);
  41827. if ((_this._convert$_state & 1) !== 0)
  41828. return s1;
  41829. return s1 + _this._decodeRecursive$4(bytes, mid, end, single);
  41830. }
  41831. return _this.decodeGeneral$4(bytes, start, end, single);
  41832. },
  41833. flush$1(sink) {
  41834. var t1,
  41835. state = this._convert$_state;
  41836. this._convert$_state = 0;
  41837. if (state <= 32)
  41838. return;
  41839. if (this.allowMalformed) {
  41840. t1 = A.Primitives_stringFromCharCode(65533);
  41841. sink._contents += t1;
  41842. } else
  41843. throw A.wrapException(A.FormatException$(A._Utf8Decoder_errorDescription(77), null, null));
  41844. },
  41845. decodeGeneral$4(bytes, start, end, single) {
  41846. var t1, type, t2, i0, markEnd, i1, m, _this = this, _65533 = 65533,
  41847. state = _this._convert$_state,
  41848. char = _this._charOrIndex,
  41849. buffer = new A.StringBuffer(""),
  41850. i = start + 1,
  41851. byte = bytes[start];
  41852. $label0$0:
  41853. for (t1 = _this.allowMalformed; true;) {
  41854. for (; true; i = i0) {
  41855. type = "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFFFFFFFFFFFFFFFFGGGGGGGGGGGGGGGGHHHHHHHHHHHHHHHHHHHHHHHHHHHIHHHJEEBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBKCCCCCCCCCCCCDCLONNNMEEEEEEEEEEE".charCodeAt(byte) & 31;
  41856. char = state <= 32 ? byte & 61694 >>> type : (byte & 63 | char << 6) >>> 0;
  41857. 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);
  41858. if (state === 0) {
  41859. t2 = A.Primitives_stringFromCharCode(char);
  41860. buffer._contents += t2;
  41861. if (i === end)
  41862. break $label0$0;
  41863. break;
  41864. } else if ((state & 1) !== 0) {
  41865. if (t1)
  41866. switch (state) {
  41867. case 69:
  41868. case 67:
  41869. t2 = A.Primitives_stringFromCharCode(_65533);
  41870. buffer._contents += t2;
  41871. break;
  41872. case 65:
  41873. t2 = A.Primitives_stringFromCharCode(_65533);
  41874. buffer._contents += t2;
  41875. --i;
  41876. break;
  41877. default:
  41878. t2 = A.Primitives_stringFromCharCode(_65533);
  41879. buffer._contents = (buffer._contents += t2) + A.Primitives_stringFromCharCode(_65533);
  41880. break;
  41881. }
  41882. else {
  41883. _this._convert$_state = state;
  41884. _this._charOrIndex = i - 1;
  41885. return "";
  41886. }
  41887. state = 0;
  41888. }
  41889. if (i === end)
  41890. break $label0$0;
  41891. i0 = i + 1;
  41892. byte = bytes[i];
  41893. }
  41894. i0 = i + 1;
  41895. byte = bytes[i];
  41896. if (byte < 128) {
  41897. while (true) {
  41898. if (!(i0 < end)) {
  41899. markEnd = end;
  41900. break;
  41901. }
  41902. i1 = i0 + 1;
  41903. byte = bytes[i0];
  41904. if (byte >= 128) {
  41905. markEnd = i1 - 1;
  41906. i0 = i1;
  41907. break;
  41908. }
  41909. i0 = i1;
  41910. }
  41911. if (markEnd - i < 20)
  41912. for (m = i; m < markEnd; ++m) {
  41913. t2 = A.Primitives_stringFromCharCode(bytes[m]);
  41914. buffer._contents += t2;
  41915. }
  41916. else {
  41917. t2 = A.String_String$fromCharCodes(bytes, i, markEnd);
  41918. buffer._contents += t2;
  41919. }
  41920. if (markEnd === end)
  41921. break $label0$0;
  41922. i = i0;
  41923. } else
  41924. i = i0;
  41925. }
  41926. if (single && state > 32)
  41927. if (t1) {
  41928. t1 = A.Primitives_stringFromCharCode(_65533);
  41929. buffer._contents += t1;
  41930. } else {
  41931. _this._convert$_state = 77;
  41932. _this._charOrIndex = end;
  41933. return "";
  41934. }
  41935. _this._convert$_state = state;
  41936. _this._charOrIndex = char;
  41937. t1 = buffer._contents;
  41938. return t1.charCodeAt(0) == 0 ? t1 : t1;
  41939. }
  41940. };
  41941. A.NoSuchMethodError_toString_closure.prototype = {
  41942. call$2(key, value) {
  41943. var t1 = this.sb,
  41944. t2 = this._box_0,
  41945. t3 = (t1._contents += t2.comma) + key.__internal$_name;
  41946. t1._contents = t3;
  41947. t1._contents = t3 + ": ";
  41948. t3 = A.Error_safeToString(value);
  41949. t1._contents += t3;
  41950. t2.comma = ", ";
  41951. },
  41952. $signature: 467
  41953. };
  41954. A.DateTime.prototype = {
  41955. $eq(_, other) {
  41956. var t1;
  41957. if (other == null)
  41958. return false;
  41959. t1 = false;
  41960. if (other instanceof A.DateTime)
  41961. if (this._value === other._value)
  41962. t1 = this._microsecond === other._microsecond;
  41963. return t1;
  41964. },
  41965. get$hashCode(_) {
  41966. return A.Object_hash(this._value, this._microsecond, B.C_SentinelValue, B.C_SentinelValue);
  41967. },
  41968. isAfter$1(other) {
  41969. var t1 = this._value,
  41970. t2 = other._value;
  41971. if (t1 <= t2)
  41972. t1 = t1 === t2 && this._microsecond > other._microsecond;
  41973. else
  41974. t1 = true;
  41975. return t1;
  41976. },
  41977. compareTo$1(_, other) {
  41978. var r = B.JSInt_methods.compareTo$1(this._value, other._value);
  41979. if (r !== 0)
  41980. return r;
  41981. return B.JSInt_methods.compareTo$1(this._microsecond, other._microsecond);
  41982. },
  41983. toString$0(_) {
  41984. var _this = this,
  41985. y = A.DateTime__fourDigits(A.Primitives_getYear(_this)),
  41986. m = A.DateTime__twoDigits(A.Primitives_getMonth(_this)),
  41987. d = A.DateTime__twoDigits(A.Primitives_getDay(_this)),
  41988. h = A.DateTime__twoDigits(A.Primitives_getHours(_this)),
  41989. min = A.DateTime__twoDigits(A.Primitives_getMinutes(_this)),
  41990. sec = A.DateTime__twoDigits(A.Primitives_getSeconds(_this)),
  41991. ms = A.DateTime__threeDigits(A.Primitives_getMilliseconds(_this)),
  41992. t1 = _this._microsecond,
  41993. us = t1 === 0 ? "" : A.DateTime__threeDigits(t1);
  41994. return y + "-" + m + "-" + d + " " + h + ":" + min + ":" + sec + "." + ms + us;
  41995. },
  41996. $isComparable: 1
  41997. };
  41998. A.Duration.prototype = {
  41999. $eq(_, other) {
  42000. if (other == null)
  42001. return false;
  42002. return other instanceof A.Duration && this._duration === other._duration;
  42003. },
  42004. get$hashCode(_) {
  42005. return B.JSInt_methods.get$hashCode(this._duration);
  42006. },
  42007. compareTo$1(_, other) {
  42008. return B.JSInt_methods.compareTo$1(this._duration, other._duration);
  42009. },
  42010. toString$0(_) {
  42011. var sign, minutes, minutesPadding, seconds, secondsPadding,
  42012. microseconds = this._duration,
  42013. hours = B.JSInt_methods._tdivFast$1(microseconds, 3600000000),
  42014. microseconds0 = microseconds % 3600000000;
  42015. if (microseconds < 0) {
  42016. hours = 0 - hours;
  42017. microseconds = 0 - microseconds0;
  42018. sign = "-";
  42019. } else {
  42020. microseconds = microseconds0;
  42021. sign = "";
  42022. }
  42023. minutes = B.JSInt_methods._tdivFast$1(microseconds, 60000000);
  42024. microseconds %= 60000000;
  42025. minutesPadding = minutes < 10 ? "0" : "";
  42026. seconds = B.JSInt_methods._tdivFast$1(microseconds, 1000000);
  42027. secondsPadding = seconds < 10 ? "0" : "";
  42028. return sign + hours + ":" + minutesPadding + minutes + ":" + secondsPadding + seconds + "." + B.JSString_methods.padLeft$2(B.JSInt_methods.toString$0(microseconds % 1000000), 6, "0");
  42029. },
  42030. $isComparable: 1
  42031. };
  42032. A._Enum.prototype = {
  42033. toString$0(_) {
  42034. return this._enumToString$0();
  42035. }
  42036. };
  42037. A.Error.prototype = {
  42038. get$stackTrace() {
  42039. return A.Primitives_extractStackTrace(this);
  42040. }
  42041. };
  42042. A.AssertionError.prototype = {
  42043. toString$0(_) {
  42044. var t1 = this.message;
  42045. if (t1 != null)
  42046. return "Assertion failed: " + A.Error_safeToString(t1);
  42047. return "Assertion failed";
  42048. },
  42049. get$message(receiver) {
  42050. return this.message;
  42051. }
  42052. };
  42053. A.TypeError.prototype = {};
  42054. A.ArgumentError.prototype = {
  42055. get$_errorName() {
  42056. return "Invalid argument" + (!this._hasValue ? "(s)" : "");
  42057. },
  42058. get$_errorExplanation() {
  42059. return "";
  42060. },
  42061. toString$0(_) {
  42062. var _this = this,
  42063. $name = _this.name,
  42064. nameString = $name == null ? "" : " (" + $name + ")",
  42065. message = _this.message,
  42066. messageString = message == null ? "" : ": " + A.S(message),
  42067. prefix = _this.get$_errorName() + nameString + messageString;
  42068. if (!_this._hasValue)
  42069. return prefix;
  42070. return prefix + _this.get$_errorExplanation() + ": " + A.Error_safeToString(_this.get$invalidValue());
  42071. },
  42072. get$invalidValue() {
  42073. return this.invalidValue;
  42074. },
  42075. get$message(receiver) {
  42076. return this.message;
  42077. }
  42078. };
  42079. A.RangeError.prototype = {
  42080. get$invalidValue() {
  42081. return this.invalidValue;
  42082. },
  42083. get$_errorName() {
  42084. return "RangeError";
  42085. },
  42086. get$_errorExplanation() {
  42087. var explanation,
  42088. start = this.start,
  42089. end = this.end;
  42090. if (start == null)
  42091. explanation = end != null ? ": Not less than or equal to " + A.S(end) : "";
  42092. else if (end == null)
  42093. explanation = ": Not greater than or equal to " + A.S(start);
  42094. else if (end > start)
  42095. explanation = ": Not in inclusive range " + A.S(start) + ".." + A.S(end);
  42096. else
  42097. explanation = end < start ? ": Valid value range is empty" : ": Only valid value is " + A.S(start);
  42098. return explanation;
  42099. }
  42100. };
  42101. A.IndexError.prototype = {
  42102. get$invalidValue() {
  42103. return this.invalidValue;
  42104. },
  42105. get$_errorName() {
  42106. return "RangeError";
  42107. },
  42108. get$_errorExplanation() {
  42109. if (this.invalidValue < 0)
  42110. return ": index must not be negative";
  42111. var t1 = this.length;
  42112. if (t1 === 0)
  42113. return ": no indices are valid";
  42114. return ": index should be less than " + t1;
  42115. },
  42116. $isRangeError: 1,
  42117. get$length(receiver) {
  42118. return this.length;
  42119. }
  42120. };
  42121. A.NoSuchMethodError.prototype = {
  42122. toString$0(_) {
  42123. var $arguments, t1, _i, t2, t3, argument, receiverText, actualParameters, _this = this, _box_0 = {},
  42124. sb = new A.StringBuffer("");
  42125. _box_0.comma = "";
  42126. $arguments = _this._core$_arguments;
  42127. for (t1 = $arguments.length, _i = 0, t2 = "", t3 = ""; _i < t1; ++_i, t3 = ", ") {
  42128. argument = $arguments[_i];
  42129. sb._contents = t2 + t3;
  42130. t2 = A.Error_safeToString(argument);
  42131. t2 = sb._contents += t2;
  42132. _box_0.comma = ", ";
  42133. }
  42134. _this._namedArguments.forEach$1(0, new A.NoSuchMethodError_toString_closure(_box_0, sb));
  42135. receiverText = A.Error_safeToString(_this._core$_receiver);
  42136. actualParameters = sb.toString$0(0);
  42137. return "NoSuchMethodError: method not found: '" + _this._memberName.__internal$_name + "'\nReceiver: " + receiverText + "\nArguments: [" + actualParameters + "]";
  42138. }
  42139. };
  42140. A.UnsupportedError.prototype = {
  42141. toString$0(_) {
  42142. return "Unsupported operation: " + this.message;
  42143. },
  42144. get$message(receiver) {
  42145. return this.message;
  42146. }
  42147. };
  42148. A.UnimplementedError.prototype = {
  42149. toString$0(_) {
  42150. return "UnimplementedError: " + this.message;
  42151. },
  42152. get$message(receiver) {
  42153. return this.message;
  42154. }
  42155. };
  42156. A.StateError.prototype = {
  42157. toString$0(_) {
  42158. return "Bad state: " + this.message;
  42159. },
  42160. get$message(receiver) {
  42161. return this.message;
  42162. }
  42163. };
  42164. A.ConcurrentModificationError.prototype = {
  42165. toString$0(_) {
  42166. var t1 = this.modifiedObject;
  42167. if (t1 == null)
  42168. return "Concurrent modification during iteration.";
  42169. return "Concurrent modification during iteration: " + A.Error_safeToString(t1) + ".";
  42170. }
  42171. };
  42172. A.OutOfMemoryError.prototype = {
  42173. toString$0(_) {
  42174. return "Out of Memory";
  42175. },
  42176. get$stackTrace() {
  42177. return null;
  42178. },
  42179. $isError: 1
  42180. };
  42181. A.StackOverflowError.prototype = {
  42182. toString$0(_) {
  42183. return "Stack Overflow";
  42184. },
  42185. get$stackTrace() {
  42186. return null;
  42187. },
  42188. $isError: 1
  42189. };
  42190. A._Exception.prototype = {
  42191. toString$0(_) {
  42192. return "Exception: " + this.message;
  42193. },
  42194. $isException: 1,
  42195. get$message(receiver) {
  42196. return this.message;
  42197. }
  42198. };
  42199. A.FormatException.prototype = {
  42200. toString$0(_) {
  42201. var t1, lineNum, lineStart, previousCharWasCR, i, char, lineEnd, prefix, postfix, end, start,
  42202. message = this.message,
  42203. report = "" !== message ? "FormatException: " + message : "FormatException",
  42204. offset = this.offset,
  42205. source = this.source;
  42206. if (typeof source == "string") {
  42207. if (offset != null)
  42208. t1 = offset < 0 || offset > source.length;
  42209. else
  42210. t1 = false;
  42211. if (t1)
  42212. offset = null;
  42213. if (offset == null) {
  42214. if (source.length > 78)
  42215. source = B.JSString_methods.substring$2(source, 0, 75) + "...";
  42216. return report + "\n" + source;
  42217. }
  42218. for (lineNum = 1, lineStart = 0, previousCharWasCR = false, i = 0; i < offset; ++i) {
  42219. char = source.charCodeAt(i);
  42220. if (char === 10) {
  42221. if (lineStart !== i || !previousCharWasCR)
  42222. ++lineNum;
  42223. lineStart = i + 1;
  42224. previousCharWasCR = false;
  42225. } else if (char === 13) {
  42226. ++lineNum;
  42227. lineStart = i + 1;
  42228. previousCharWasCR = true;
  42229. }
  42230. }
  42231. report = lineNum > 1 ? report + (" (at line " + lineNum + ", character " + (offset - lineStart + 1) + ")\n") : report + (" (at character " + (offset + 1) + ")\n");
  42232. lineEnd = source.length;
  42233. for (i = offset; i < lineEnd; ++i) {
  42234. char = source.charCodeAt(i);
  42235. if (char === 10 || char === 13) {
  42236. lineEnd = i;
  42237. break;
  42238. }
  42239. }
  42240. prefix = "";
  42241. if (lineEnd - lineStart > 78) {
  42242. postfix = "...";
  42243. if (offset - lineStart < 75) {
  42244. end = lineStart + 75;
  42245. start = lineStart;
  42246. } else {
  42247. if (lineEnd - offset < 75) {
  42248. start = lineEnd - 75;
  42249. end = lineEnd;
  42250. postfix = "";
  42251. } else {
  42252. start = offset - 36;
  42253. end = offset + 36;
  42254. }
  42255. prefix = "...";
  42256. }
  42257. } else {
  42258. end = lineEnd;
  42259. start = lineStart;
  42260. postfix = "";
  42261. }
  42262. return report + prefix + B.JSString_methods.substring$2(source, start, end) + postfix + "\n" + B.JSString_methods.$mul(" ", offset - start + prefix.length) + "^\n";
  42263. } else
  42264. return offset != null ? report + (" (at offset " + A.S(offset) + ")") : report;
  42265. },
  42266. $isException: 1,
  42267. get$message(receiver) {
  42268. return this.message;
  42269. }
  42270. };
  42271. A.Iterable.prototype = {
  42272. cast$1$0(_, $R) {
  42273. return A.CastIterable_CastIterable(this, A._instanceType(this)._eval$1("Iterable.E"), $R);
  42274. },
  42275. followedBy$1(_, other) {
  42276. var _this = this;
  42277. if (type$.EfficientLengthIterable_dynamic._is(_this))
  42278. return A.FollowedByIterable_FollowedByIterable$firstEfficient(_this, other, A._instanceType(_this)._eval$1("Iterable.E"));
  42279. return new A.FollowedByIterable(_this, other, A._instanceType(_this)._eval$1("FollowedByIterable<Iterable.E>"));
  42280. },
  42281. map$1$1(_, toElement, $T) {
  42282. return A.MappedIterable_MappedIterable(this, toElement, A._instanceType(this)._eval$1("Iterable.E"), $T);
  42283. },
  42284. where$1(_, test) {
  42285. return new A.WhereIterable(this, test, A._instanceType(this)._eval$1("WhereIterable<Iterable.E>"));
  42286. },
  42287. expand$1$1(_, toElements, $T) {
  42288. return new A.ExpandIterable(this, toElements, A._instanceType(this)._eval$1("@<Iterable.E>")._bind$1($T)._eval$1("ExpandIterable<1,2>"));
  42289. },
  42290. contains$1(_, element) {
  42291. var t1;
  42292. for (t1 = this.get$iterator(this); t1.moveNext$0();)
  42293. if (J.$eq$(t1.get$current(t1), element))
  42294. return true;
  42295. return false;
  42296. },
  42297. forEach$1(_, action) {
  42298. var t1;
  42299. for (t1 = this.get$iterator(this); t1.moveNext$0();)
  42300. action.call$1(t1.get$current(t1));
  42301. },
  42302. fold$1$2(_, initialValue, combine) {
  42303. var t1, value;
  42304. for (t1 = this.get$iterator(this), value = initialValue; t1.moveNext$0();)
  42305. value = combine.call$2(value, t1.get$current(t1));
  42306. return value;
  42307. },
  42308. fold$2(_, initialValue, combine) {
  42309. combine.toString;
  42310. return this.fold$1$2(0, initialValue, combine, type$.dynamic);
  42311. },
  42312. every$1(_, test) {
  42313. var t1;
  42314. for (t1 = this.get$iterator(this); t1.moveNext$0();)
  42315. if (!test.call$1(t1.get$current(t1)))
  42316. return false;
  42317. return true;
  42318. },
  42319. join$1(_, separator) {
  42320. var first, t1,
  42321. iterator = this.get$iterator(this);
  42322. if (!iterator.moveNext$0())
  42323. return "";
  42324. first = J.toString$0$(iterator.get$current(iterator));
  42325. if (!iterator.moveNext$0())
  42326. return first;
  42327. if (separator.length === 0) {
  42328. t1 = first;
  42329. do
  42330. t1 += A.S(J.toString$0$(iterator.get$current(iterator)));
  42331. while (iterator.moveNext$0());
  42332. } else {
  42333. t1 = first;
  42334. do
  42335. t1 = t1 + separator + A.S(J.toString$0$(iterator.get$current(iterator)));
  42336. while (iterator.moveNext$0());
  42337. }
  42338. return t1.charCodeAt(0) == 0 ? t1 : t1;
  42339. },
  42340. any$1(_, test) {
  42341. var t1;
  42342. for (t1 = this.get$iterator(this); t1.moveNext$0();)
  42343. if (test.call$1(t1.get$current(t1)))
  42344. return true;
  42345. return false;
  42346. },
  42347. toList$1$growable(_, growable) {
  42348. var t1 = A._instanceType(this)._eval$1("Iterable.E");
  42349. if (growable)
  42350. t1 = A.List_List$_of(this, t1);
  42351. else {
  42352. t1 = A.List_List$_of(this, t1);
  42353. t1.$flags = 1;
  42354. t1 = t1;
  42355. }
  42356. return t1;
  42357. },
  42358. toList$0(_) {
  42359. return this.toList$1$growable(0, true);
  42360. },
  42361. toSet$0(_) {
  42362. return A.LinkedHashSet_LinkedHashSet$of(this, A._instanceType(this)._eval$1("Iterable.E"));
  42363. },
  42364. get$length(_) {
  42365. var count,
  42366. it = this.get$iterator(this);
  42367. for (count = 0; it.moveNext$0();)
  42368. ++count;
  42369. return count;
  42370. },
  42371. get$isEmpty(_) {
  42372. return !this.get$iterator(this).moveNext$0();
  42373. },
  42374. get$isNotEmpty(_) {
  42375. return !this.get$isEmpty(this);
  42376. },
  42377. take$1(_, count) {
  42378. return A.TakeIterable_TakeIterable(this, count, A._instanceType(this)._eval$1("Iterable.E"));
  42379. },
  42380. skip$1(_, count) {
  42381. return A.SkipIterable_SkipIterable(this, count, A._instanceType(this)._eval$1("Iterable.E"));
  42382. },
  42383. skipWhile$1(_, test) {
  42384. return new A.SkipWhileIterable(this, test, A._instanceType(this)._eval$1("SkipWhileIterable<Iterable.E>"));
  42385. },
  42386. get$first(_) {
  42387. var it = this.get$iterator(this);
  42388. if (!it.moveNext$0())
  42389. throw A.wrapException(A.IterableElementError_noElement());
  42390. return it.get$current(it);
  42391. },
  42392. get$last(_) {
  42393. var result,
  42394. it = this.get$iterator(this);
  42395. if (!it.moveNext$0())
  42396. throw A.wrapException(A.IterableElementError_noElement());
  42397. do
  42398. result = it.get$current(it);
  42399. while (it.moveNext$0());
  42400. return result;
  42401. },
  42402. get$single(_) {
  42403. var result,
  42404. it = this.get$iterator(this);
  42405. if (!it.moveNext$0())
  42406. throw A.wrapException(A.IterableElementError_noElement());
  42407. result = it.get$current(it);
  42408. if (it.moveNext$0())
  42409. throw A.wrapException(A.IterableElementError_tooMany());
  42410. return result;
  42411. },
  42412. elementAt$1(_, index) {
  42413. var iterator, skipCount;
  42414. A.RangeError_checkNotNegative(index, "index");
  42415. iterator = this.get$iterator(this);
  42416. for (skipCount = index; iterator.moveNext$0();) {
  42417. if (skipCount === 0)
  42418. return iterator.get$current(iterator);
  42419. --skipCount;
  42420. }
  42421. throw A.wrapException(A.IndexError$withLength(index, index - skipCount, this, null, "index"));
  42422. },
  42423. toString$0(_) {
  42424. return A.Iterable_iterableToShortString(this, "(", ")");
  42425. }
  42426. };
  42427. A._GeneratorIterable.prototype = {
  42428. elementAt$1(_, index) {
  42429. A.IndexError_check(index, this.length, this, null, null);
  42430. return this._generator.call$1(index);
  42431. },
  42432. get$length(receiver) {
  42433. return this.length;
  42434. }
  42435. };
  42436. A.MapEntry.prototype = {
  42437. toString$0(_) {
  42438. return "MapEntry(" + A.S(this.key) + ": " + A.S(this.value) + ")";
  42439. }
  42440. };
  42441. A.Null.prototype = {
  42442. get$hashCode(_) {
  42443. return A.Object.prototype.get$hashCode.call(this, 0);
  42444. },
  42445. toString$0(_) {
  42446. return "null";
  42447. }
  42448. };
  42449. A.Object.prototype = {$isObject: 1,
  42450. $eq(_, other) {
  42451. return this === other;
  42452. },
  42453. get$hashCode(_) {
  42454. return A.Primitives_objectHashCode(this);
  42455. },
  42456. toString$0(_) {
  42457. return "Instance of '" + A.Primitives_objectTypeName(this) + "'";
  42458. },
  42459. noSuchMethod$1(_, invocation) {
  42460. throw A.wrapException(A.NoSuchMethodError_NoSuchMethodError$withInvocation(this, invocation));
  42461. },
  42462. get$runtimeType(_) {
  42463. return A.getRuntimeTypeOfDartObject(this);
  42464. },
  42465. toString() {
  42466. return this.toString$0(this);
  42467. }
  42468. };
  42469. A._StringStackTrace.prototype = {
  42470. toString$0(_) {
  42471. return this._stackTrace;
  42472. },
  42473. $isStackTrace: 1
  42474. };
  42475. A.Runes.prototype = {
  42476. get$iterator(_) {
  42477. return new A.RuneIterator(this.string);
  42478. },
  42479. get$last(_) {
  42480. var code, previousCode,
  42481. t1 = this.string,
  42482. t2 = t1.length;
  42483. if (t2 === 0)
  42484. throw A.wrapException(A.StateError$("No elements."));
  42485. code = t1.charCodeAt(t2 - 1);
  42486. if ((code & 64512) === 56320 && t2 > 1) {
  42487. previousCode = t1.charCodeAt(t2 - 2);
  42488. if ((previousCode & 64512) === 55296)
  42489. return A._combineSurrogatePair(previousCode, code);
  42490. }
  42491. return code;
  42492. }
  42493. };
  42494. A.RuneIterator.prototype = {
  42495. get$current(_) {
  42496. return this._currentCodePoint;
  42497. },
  42498. moveNext$0() {
  42499. var codeUnit, nextPosition, nextCodeUnit, _this = this,
  42500. t1 = _this._position = _this._nextPosition,
  42501. t2 = _this.string,
  42502. t3 = t2.length;
  42503. if (t1 === t3) {
  42504. _this._currentCodePoint = -1;
  42505. return false;
  42506. }
  42507. codeUnit = t2.charCodeAt(t1);
  42508. nextPosition = t1 + 1;
  42509. if ((codeUnit & 64512) === 55296 && nextPosition < t3) {
  42510. nextCodeUnit = t2.charCodeAt(nextPosition);
  42511. if ((nextCodeUnit & 64512) === 56320) {
  42512. _this._nextPosition = nextPosition + 1;
  42513. _this._currentCodePoint = A._combineSurrogatePair(codeUnit, nextCodeUnit);
  42514. return true;
  42515. }
  42516. }
  42517. _this._nextPosition = nextPosition;
  42518. _this._currentCodePoint = codeUnit;
  42519. return true;
  42520. }
  42521. };
  42522. A.StringBuffer.prototype = {
  42523. get$length(_) {
  42524. return this._contents.length;
  42525. },
  42526. write$1(_, obj) {
  42527. var t1 = A.S(obj);
  42528. this._contents += t1;
  42529. },
  42530. writeCharCode$1(charCode) {
  42531. var t1 = A.Primitives_stringFromCharCode(charCode);
  42532. this._contents += t1;
  42533. },
  42534. toString$0(_) {
  42535. var t1 = this._contents;
  42536. return t1.charCodeAt(0) == 0 ? t1 : t1;
  42537. }
  42538. };
  42539. A.Uri__parseIPv4Address_error.prototype = {
  42540. call$2(msg, position) {
  42541. throw A.wrapException(A.FormatException$("Illegal IPv4 address, " + msg, this.host, position));
  42542. },
  42543. $signature: 531
  42544. };
  42545. A.Uri_parseIPv6Address_error.prototype = {
  42546. call$2(msg, position) {
  42547. throw A.wrapException(A.FormatException$("Illegal IPv6 address, " + msg, this.host, position));
  42548. },
  42549. $signature: 533
  42550. };
  42551. A.Uri_parseIPv6Address_parseHex.prototype = {
  42552. call$2(start, end) {
  42553. var value;
  42554. if (end - start > 4)
  42555. this.error.call$2("an IPv6 part can only contain a maximum of 4 hex digits", start);
  42556. value = A.int_parse(B.JSString_methods.substring$2(this.host, start, end), 16);
  42557. if (value < 0 || value > 65535)
  42558. this.error.call$2("each part must be in the range of `0x0..0xFFFF`", start);
  42559. return value;
  42560. },
  42561. $signature: 582
  42562. };
  42563. A._Uri.prototype = {
  42564. get$_text() {
  42565. var t1, t2, t3, t4, _this = this,
  42566. value = _this.___Uri__text_FI;
  42567. if (value === $) {
  42568. t1 = _this.scheme;
  42569. t2 = t1.length !== 0 ? "" + t1 + ":" : "";
  42570. t3 = _this._host;
  42571. t4 = t3 == null;
  42572. if (!t4 || t1 === "file") {
  42573. t1 = t2 + "//";
  42574. t2 = _this._userInfo;
  42575. if (t2.length !== 0)
  42576. t1 = t1 + t2 + "@";
  42577. if (!t4)
  42578. t1 += t3;
  42579. t2 = _this._port;
  42580. if (t2 != null)
  42581. t1 = t1 + ":" + A.S(t2);
  42582. } else
  42583. t1 = t2;
  42584. t1 += _this.path;
  42585. t2 = _this._query;
  42586. if (t2 != null)
  42587. t1 = t1 + "?" + t2;
  42588. t2 = _this._fragment;
  42589. if (t2 != null)
  42590. t1 = t1 + "#" + t2;
  42591. value !== $ && A.throwUnnamedLateFieldADI();
  42592. value = _this.___Uri__text_FI = t1.charCodeAt(0) == 0 ? t1 : t1;
  42593. }
  42594. return value;
  42595. },
  42596. get$pathSegments() {
  42597. var pathToSplit, result, _this = this,
  42598. value = _this.___Uri_pathSegments_FI;
  42599. if (value === $) {
  42600. pathToSplit = _this.path;
  42601. if (pathToSplit.length !== 0 && pathToSplit.charCodeAt(0) === 47)
  42602. pathToSplit = B.JSString_methods.substring$1(pathToSplit, 1);
  42603. 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);
  42604. _this.___Uri_pathSegments_FI !== $ && A.throwUnnamedLateFieldADI();
  42605. value = _this.___Uri_pathSegments_FI = result;
  42606. }
  42607. return value;
  42608. },
  42609. get$hashCode(_) {
  42610. var result, _this = this,
  42611. value = _this.___Uri_hashCode_FI;
  42612. if (value === $) {
  42613. result = B.JSString_methods.get$hashCode(_this.get$_text());
  42614. _this.___Uri_hashCode_FI !== $ && A.throwUnnamedLateFieldADI();
  42615. _this.___Uri_hashCode_FI = result;
  42616. value = result;
  42617. }
  42618. return value;
  42619. },
  42620. get$userInfo() {
  42621. return this._userInfo;
  42622. },
  42623. get$host() {
  42624. var host = this._host;
  42625. if (host == null)
  42626. return "";
  42627. if (B.JSString_methods.startsWith$1(host, "["))
  42628. return B.JSString_methods.substring$2(host, 1, host.length - 1);
  42629. return host;
  42630. },
  42631. get$port(_) {
  42632. var t1 = this._port;
  42633. return t1 == null ? A._Uri__defaultPort(this.scheme) : t1;
  42634. },
  42635. get$query() {
  42636. var t1 = this._query;
  42637. return t1 == null ? "" : t1;
  42638. },
  42639. get$fragment() {
  42640. var t1 = this._fragment;
  42641. return t1 == null ? "" : t1;
  42642. },
  42643. isScheme$1(scheme) {
  42644. var thisScheme = this.scheme;
  42645. if (scheme.length !== thisScheme.length)
  42646. return false;
  42647. return A._caseInsensitiveCompareStart(scheme, thisScheme, 0) >= 0;
  42648. },
  42649. replace$1$scheme(scheme) {
  42650. var isFile, userInfo, port, host, currentPath, t1, path, _this = this;
  42651. scheme = A._Uri__makeScheme(scheme, 0, scheme.length);
  42652. isFile = scheme === "file";
  42653. userInfo = _this._userInfo;
  42654. port = _this._port;
  42655. if (scheme !== _this.scheme)
  42656. port = A._Uri__makePort(port, scheme);
  42657. host = _this._host;
  42658. if (!(host != null))
  42659. host = userInfo.length !== 0 || port != null || isFile ? "" : null;
  42660. currentPath = _this.path;
  42661. if (!isFile)
  42662. t1 = host != null && currentPath.length !== 0;
  42663. else
  42664. t1 = true;
  42665. if (t1 && !B.JSString_methods.startsWith$1(currentPath, "/"))
  42666. currentPath = "/" + currentPath;
  42667. path = currentPath;
  42668. return A._Uri$_internal(scheme, userInfo, host, port, path, _this._query, _this._fragment);
  42669. },
  42670. _mergePaths$2(base, reference) {
  42671. var backCount, refStart, baseEnd, newEnd, delta, t1, t2;
  42672. for (backCount = 0, refStart = 0; B.JSString_methods.startsWith$2(reference, "../", refStart);) {
  42673. refStart += 3;
  42674. ++backCount;
  42675. }
  42676. baseEnd = B.JSString_methods.lastIndexOf$1(base, "/");
  42677. while (true) {
  42678. if (!(baseEnd > 0 && backCount > 0))
  42679. break;
  42680. newEnd = B.JSString_methods.lastIndexOf$2(base, "/", baseEnd - 1);
  42681. if (newEnd < 0)
  42682. break;
  42683. delta = baseEnd - newEnd;
  42684. t1 = delta !== 2;
  42685. t2 = false;
  42686. if (!t1 || delta === 3)
  42687. if (base.charCodeAt(newEnd + 1) === 46)
  42688. t1 = !t1 || base.charCodeAt(newEnd + 2) === 46;
  42689. else
  42690. t1 = t2;
  42691. else
  42692. t1 = t2;
  42693. if (t1)
  42694. break;
  42695. --backCount;
  42696. baseEnd = newEnd;
  42697. }
  42698. return B.JSString_methods.replaceRange$3(base, baseEnd + 1, null, B.JSString_methods.substring$1(reference, refStart - 3 * backCount));
  42699. },
  42700. resolve$1(_, reference) {
  42701. return this.resolveUri$1(A.Uri_parse(reference));
  42702. },
  42703. resolveUri$1(reference) {
  42704. var targetScheme, targetUserInfo, targetHost, targetPort, targetPath, targetQuery, split, packageNameEnd, packageName, mergedPath, t1, fragment, _this = this, _null = null;
  42705. if (reference.get$scheme().length !== 0) {
  42706. if (type$._PlatformUri._is(reference))
  42707. return reference;
  42708. targetScheme = reference.get$scheme();
  42709. if (reference.get$hasAuthority()) {
  42710. targetUserInfo = reference.get$userInfo();
  42711. targetHost = reference.get$host();
  42712. targetPort = reference.get$hasPort() ? reference.get$port(reference) : _null;
  42713. } else {
  42714. targetPort = _null;
  42715. targetHost = targetPort;
  42716. targetUserInfo = "";
  42717. }
  42718. targetPath = A._Uri__removeDotSegments(reference.get$path(reference));
  42719. targetQuery = reference.get$hasQuery() ? reference.get$query() : _null;
  42720. split = 0;
  42721. } else {
  42722. targetScheme = _this.scheme;
  42723. if (reference.get$hasAuthority()) {
  42724. if (type$._PlatformUri._is(reference))
  42725. return reference.replace$1$scheme(targetScheme);
  42726. targetUserInfo = reference.get$userInfo();
  42727. targetHost = reference.get$host();
  42728. targetPort = A._Uri__makePort(reference.get$hasPort() ? reference.get$port(reference) : _null, targetScheme);
  42729. targetPath = A._Uri__removeDotSegments(reference.get$path(reference));
  42730. targetQuery = reference.get$hasQuery() ? reference.get$query() : _null;
  42731. split = 1;
  42732. } else {
  42733. targetUserInfo = _this._userInfo;
  42734. targetHost = _this._host;
  42735. targetPort = _this._port;
  42736. targetPath = _this.path;
  42737. if (reference.get$hasEmptyPath())
  42738. if (reference.get$hasQuery()) {
  42739. targetQuery = reference.get$query();
  42740. split = 3;
  42741. } else {
  42742. targetQuery = _this._query;
  42743. split = 4;
  42744. }
  42745. else {
  42746. packageNameEnd = A._Uri__packageNameEnd(_this, targetPath);
  42747. if (packageNameEnd > 0) {
  42748. packageName = B.JSString_methods.substring$2(targetPath, 0, packageNameEnd);
  42749. 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)));
  42750. } else if (reference.get$hasAbsolutePath())
  42751. targetPath = A._Uri__removeDotSegments(reference.get$path(reference));
  42752. else if (targetPath.length === 0)
  42753. if (targetHost == null)
  42754. targetPath = targetScheme.length === 0 ? reference.get$path(reference) : A._Uri__removeDotSegments(reference.get$path(reference));
  42755. else
  42756. targetPath = A._Uri__removeDotSegments("/" + reference.get$path(reference));
  42757. else {
  42758. mergedPath = _this._mergePaths$2(targetPath, reference.get$path(reference));
  42759. t1 = targetScheme.length === 0;
  42760. if (!t1 || targetHost != null || B.JSString_methods.startsWith$1(targetPath, "/"))
  42761. targetPath = A._Uri__removeDotSegments(mergedPath);
  42762. else
  42763. targetPath = A._Uri__normalizeRelativePath(mergedPath, !t1 || targetHost != null);
  42764. }
  42765. targetQuery = reference.get$hasQuery() ? reference.get$query() : _null;
  42766. split = 2;
  42767. }
  42768. }
  42769. }
  42770. fragment = reference.get$hasFragment() ? reference.get$fragment() : _null;
  42771. if (!type$._PlatformUri._is(reference)) {
  42772. if (split === 0)
  42773. targetScheme = A._Uri__makeScheme(targetScheme, 0, targetScheme.length);
  42774. if (split <= 1) {
  42775. targetUserInfo = A._Uri__makeUserInfo(targetUserInfo, 0, targetUserInfo.length);
  42776. if (targetPort != null)
  42777. targetPort = A._Uri__makePort(targetPort, targetScheme);
  42778. if (targetHost != null && targetHost.length !== 0)
  42779. targetHost = A._Uri__makeHost(targetHost, 0, targetHost.length, false);
  42780. }
  42781. t1 = split <= 3;
  42782. if (t1)
  42783. targetPath = A._Uri__makePath(targetPath, 0, targetPath.length, _null, targetScheme, targetHost != null);
  42784. if (t1 && targetQuery != null)
  42785. targetQuery = A._Uri__makeQuery(targetQuery, 0, targetQuery.length, _null);
  42786. if (fragment != null)
  42787. fragment = A._Uri__makeFragment(fragment, 0, fragment.length);
  42788. }
  42789. return A._Uri$_internal(targetScheme, targetUserInfo, targetHost, targetPort, targetPath, targetQuery, fragment);
  42790. },
  42791. get$hasAuthority() {
  42792. return this._host != null;
  42793. },
  42794. get$hasPort() {
  42795. return this._port != null;
  42796. },
  42797. get$hasQuery() {
  42798. return this._query != null;
  42799. },
  42800. get$hasFragment() {
  42801. return this._fragment != null;
  42802. },
  42803. get$hasEmptyPath() {
  42804. return this.path.length === 0;
  42805. },
  42806. get$hasAbsolutePath() {
  42807. return B.JSString_methods.startsWith$1(this.path, "/");
  42808. },
  42809. toFilePath$0() {
  42810. var pathSegments, _this = this,
  42811. t1 = _this.scheme;
  42812. if (t1 !== "" && t1 !== "file")
  42813. throw A.wrapException(A.UnsupportedError$("Cannot extract a file path from a " + t1 + " URI"));
  42814. t1 = _this._query;
  42815. if ((t1 == null ? "" : t1) !== "")
  42816. throw A.wrapException(A.UnsupportedError$(string$.Cannotfq));
  42817. t1 = _this._fragment;
  42818. if ((t1 == null ? "" : t1) !== "")
  42819. throw A.wrapException(A.UnsupportedError$(string$.Cannotff));
  42820. t1 = $.$get$_Uri__isWindowsCached();
  42821. if (t1)
  42822. t1 = A._Uri__toWindowsFilePath(_this);
  42823. else {
  42824. if (_this._host != null && _this.get$host() !== "")
  42825. A.throwExpression(A.UnsupportedError$(string$.Cannotn));
  42826. pathSegments = _this.get$pathSegments();
  42827. A._Uri__checkNonWindowsPathReservedCharacters(pathSegments, false);
  42828. t1 = A.StringBuffer__writeAll(B.JSString_methods.startsWith$1(_this.path, "/") ? "" + "/" : "", pathSegments, "/");
  42829. t1 = t1.charCodeAt(0) == 0 ? t1 : t1;
  42830. }
  42831. return t1;
  42832. },
  42833. toString$0(_) {
  42834. return this.get$_text();
  42835. },
  42836. $eq(_, other) {
  42837. var t1, t2, t3, _this = this;
  42838. if (other == null)
  42839. return false;
  42840. if (_this === other)
  42841. return true;
  42842. t1 = false;
  42843. if (type$.Uri._is(other))
  42844. if (_this.scheme === other.get$scheme())
  42845. if (_this._host != null === other.get$hasAuthority())
  42846. if (_this._userInfo === other.get$userInfo())
  42847. if (_this.get$host() === other.get$host())
  42848. if (_this.get$port(0) === other.get$port(other))
  42849. if (_this.path === other.get$path(other)) {
  42850. t2 = _this._query;
  42851. t3 = t2 == null;
  42852. if (!t3 === other.get$hasQuery()) {
  42853. if (t3)
  42854. t2 = "";
  42855. if (t2 === other.get$query()) {
  42856. t2 = _this._fragment;
  42857. t3 = t2 == null;
  42858. if (!t3 === other.get$hasFragment()) {
  42859. t1 = t3 ? "" : t2;
  42860. t1 = t1 === other.get$fragment();
  42861. }
  42862. }
  42863. }
  42864. }
  42865. return t1;
  42866. },
  42867. $isUri: 1,
  42868. $is_PlatformUri: 1,
  42869. get$scheme() {
  42870. return this.scheme;
  42871. },
  42872. get$path(receiver) {
  42873. return this.path;
  42874. }
  42875. };
  42876. A._Uri__makePath_closure.prototype = {
  42877. call$1(s) {
  42878. return A._Uri__uriEncode(64, s, B.C_Utf8Codec, false);
  42879. },
  42880. $signature: 6
  42881. };
  42882. A.UriData.prototype = {
  42883. get$uri() {
  42884. var t2, queryIndex, end, query, _this = this, _null = null,
  42885. t1 = _this._uriCache;
  42886. if (t1 == null) {
  42887. t1 = _this._text;
  42888. t2 = _this._separatorIndices[0] + 1;
  42889. queryIndex = B.JSString_methods.indexOf$2(t1, "?", t2);
  42890. end = t1.length;
  42891. if (queryIndex >= 0) {
  42892. query = A._Uri__normalizeOrSubstring(t1, queryIndex + 1, end, 256, false, false);
  42893. end = queryIndex;
  42894. } else
  42895. query = _null;
  42896. t1 = _this._uriCache = new A._DataUri("data", "", _null, _null, A._Uri__normalizeOrSubstring(t1, t2, end, 128, false, false), query, _null);
  42897. }
  42898. return t1;
  42899. },
  42900. toString$0(_) {
  42901. var t1 = this._text;
  42902. return this._separatorIndices[0] === -1 ? "data:" + t1 : t1;
  42903. }
  42904. };
  42905. A._SimpleUri.prototype = {
  42906. get$hasAuthority() {
  42907. return this._hostStart > 0;
  42908. },
  42909. get$hasPort() {
  42910. return this._hostStart > 0 && this._portStart + 1 < this._pathStart;
  42911. },
  42912. get$hasQuery() {
  42913. return this._queryStart < this._fragmentStart;
  42914. },
  42915. get$hasFragment() {
  42916. return this._fragmentStart < this._uri.length;
  42917. },
  42918. get$hasAbsolutePath() {
  42919. return B.JSString_methods.startsWith$2(this._uri, "/", this._pathStart);
  42920. },
  42921. get$hasEmptyPath() {
  42922. return this._pathStart === this._queryStart;
  42923. },
  42924. get$scheme() {
  42925. var t1 = this._schemeCache;
  42926. return t1 == null ? this._schemeCache = this._computeScheme$0() : t1;
  42927. },
  42928. _computeScheme$0() {
  42929. var t2, _this = this,
  42930. t1 = _this._schemeEnd;
  42931. if (t1 <= 0)
  42932. return "";
  42933. t2 = t1 === 4;
  42934. if (t2 && B.JSString_methods.startsWith$1(_this._uri, "http"))
  42935. return "http";
  42936. if (t1 === 5 && B.JSString_methods.startsWith$1(_this._uri, "https"))
  42937. return "https";
  42938. if (t2 && B.JSString_methods.startsWith$1(_this._uri, "file"))
  42939. return "file";
  42940. if (t1 === 7 && B.JSString_methods.startsWith$1(_this._uri, "package"))
  42941. return "package";
  42942. return B.JSString_methods.substring$2(_this._uri, 0, t1);
  42943. },
  42944. get$userInfo() {
  42945. var t1 = this._hostStart,
  42946. t2 = this._schemeEnd + 3;
  42947. return t1 > t2 ? B.JSString_methods.substring$2(this._uri, t2, t1 - 1) : "";
  42948. },
  42949. get$host() {
  42950. var t1 = this._hostStart;
  42951. return t1 > 0 ? B.JSString_methods.substring$2(this._uri, t1, this._portStart) : "";
  42952. },
  42953. get$port(_) {
  42954. var t1, _this = this;
  42955. if (_this.get$hasPort())
  42956. return A.int_parse(B.JSString_methods.substring$2(_this._uri, _this._portStart + 1, _this._pathStart), null);
  42957. t1 = _this._schemeEnd;
  42958. if (t1 === 4 && B.JSString_methods.startsWith$1(_this._uri, "http"))
  42959. return 80;
  42960. if (t1 === 5 && B.JSString_methods.startsWith$1(_this._uri, "https"))
  42961. return 443;
  42962. return 0;
  42963. },
  42964. get$path(_) {
  42965. return B.JSString_methods.substring$2(this._uri, this._pathStart, this._queryStart);
  42966. },
  42967. get$query() {
  42968. var t1 = this._queryStart,
  42969. t2 = this._fragmentStart;
  42970. return t1 < t2 ? B.JSString_methods.substring$2(this._uri, t1 + 1, t2) : "";
  42971. },
  42972. get$fragment() {
  42973. var t1 = this._fragmentStart,
  42974. t2 = this._uri;
  42975. return t1 < t2.length ? B.JSString_methods.substring$1(t2, t1 + 1) : "";
  42976. },
  42977. get$pathSegments() {
  42978. var parts, i,
  42979. start = this._pathStart,
  42980. end = this._queryStart,
  42981. t1 = this._uri;
  42982. if (B.JSString_methods.startsWith$2(t1, "/", start))
  42983. ++start;
  42984. if (start === end)
  42985. return B.List_empty;
  42986. parts = A._setArrayType([], type$.JSArray_String);
  42987. for (i = start; i < end; ++i)
  42988. if (t1.charCodeAt(i) === 47) {
  42989. parts.push(B.JSString_methods.substring$2(t1, start, i));
  42990. start = i + 1;
  42991. }
  42992. parts.push(B.JSString_methods.substring$2(t1, start, end));
  42993. return A.List_List$unmodifiable(parts, type$.String);
  42994. },
  42995. _isPort$1(port) {
  42996. var portDigitStart = this._portStart + 1;
  42997. return portDigitStart + port.length === this._pathStart && B.JSString_methods.startsWith$2(this._uri, port, portDigitStart);
  42998. },
  42999. removeFragment$0() {
  43000. var _this = this,
  43001. t1 = _this._fragmentStart,
  43002. t2 = _this._uri;
  43003. if (t1 >= t2.length)
  43004. return _this;
  43005. 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);
  43006. },
  43007. replace$1$scheme(scheme) {
  43008. var schemeChanged, isFile, t1, userInfo, port, host, t2, path, t3, query, fragment, _this = this, _null = null;
  43009. scheme = A._Uri__makeScheme(scheme, 0, scheme.length);
  43010. schemeChanged = !(_this._schemeEnd === scheme.length && B.JSString_methods.startsWith$1(_this._uri, scheme));
  43011. isFile = scheme === "file";
  43012. t1 = _this._hostStart;
  43013. userInfo = t1 > 0 ? B.JSString_methods.substring$2(_this._uri, _this._schemeEnd + 3, t1) : "";
  43014. port = _this.get$hasPort() ? _this.get$port(0) : _null;
  43015. if (schemeChanged)
  43016. port = A._Uri__makePort(port, scheme);
  43017. t1 = _this._hostStart;
  43018. if (t1 > 0)
  43019. host = B.JSString_methods.substring$2(_this._uri, t1, _this._portStart);
  43020. else
  43021. host = userInfo.length !== 0 || port != null || isFile ? "" : _null;
  43022. t1 = _this._uri;
  43023. t2 = _this._queryStart;
  43024. path = B.JSString_methods.substring$2(t1, _this._pathStart, t2);
  43025. if (!isFile)
  43026. t3 = host != null && path.length !== 0;
  43027. else
  43028. t3 = true;
  43029. if (t3 && !B.JSString_methods.startsWith$1(path, "/"))
  43030. path = "/" + path;
  43031. t3 = _this._fragmentStart;
  43032. query = t2 < t3 ? B.JSString_methods.substring$2(t1, t2 + 1, t3) : _null;
  43033. t2 = _this._fragmentStart;
  43034. fragment = t2 < t1.length ? B.JSString_methods.substring$1(t1, t2 + 1) : _null;
  43035. return A._Uri$_internal(scheme, userInfo, host, port, path, query, fragment);
  43036. },
  43037. resolve$1(_, reference) {
  43038. return this.resolveUri$1(A.Uri_parse(reference));
  43039. },
  43040. resolveUri$1(reference) {
  43041. if (reference instanceof A._SimpleUri)
  43042. return this._simpleMerge$2(this, reference);
  43043. return this._toNonSimple$0().resolveUri$1(reference);
  43044. },
  43045. _simpleMerge$2(base, ref) {
  43046. var t2, t3, t4, isSimple, delta, refStart, basePathStart, packageNameEnd, basePathStart0, baseStart, baseEnd, baseUri, baseStart0, backCount, refStart0, insert,
  43047. t1 = ref._schemeEnd;
  43048. if (t1 > 0)
  43049. return ref;
  43050. t2 = ref._hostStart;
  43051. if (t2 > 0) {
  43052. t3 = base._schemeEnd;
  43053. if (t3 <= 0)
  43054. return ref;
  43055. t4 = t3 === 4;
  43056. if (t4 && B.JSString_methods.startsWith$1(base._uri, "file"))
  43057. isSimple = ref._pathStart !== ref._queryStart;
  43058. else if (t4 && B.JSString_methods.startsWith$1(base._uri, "http"))
  43059. isSimple = !ref._isPort$1("80");
  43060. else
  43061. isSimple = !(t3 === 5 && B.JSString_methods.startsWith$1(base._uri, "https")) || !ref._isPort$1("443");
  43062. if (isSimple) {
  43063. delta = t3 + 1;
  43064. 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);
  43065. } else
  43066. return this._toNonSimple$0().resolveUri$1(ref);
  43067. }
  43068. refStart = ref._pathStart;
  43069. t1 = ref._queryStart;
  43070. if (refStart === t1) {
  43071. t2 = ref._fragmentStart;
  43072. if (t1 < t2) {
  43073. t3 = base._queryStart;
  43074. delta = t3 - t1;
  43075. 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);
  43076. }
  43077. t1 = ref._uri;
  43078. if (t2 < t1.length) {
  43079. t3 = base._fragmentStart;
  43080. 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);
  43081. }
  43082. return base.removeFragment$0();
  43083. }
  43084. t2 = ref._uri;
  43085. if (B.JSString_methods.startsWith$2(t2, "/", refStart)) {
  43086. basePathStart = base._pathStart;
  43087. packageNameEnd = A._SimpleUri__packageNameEnd(this);
  43088. basePathStart0 = packageNameEnd > 0 ? packageNameEnd : basePathStart;
  43089. delta = basePathStart0 - refStart;
  43090. 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);
  43091. }
  43092. baseStart = base._pathStart;
  43093. baseEnd = base._queryStart;
  43094. if (baseStart === baseEnd && base._hostStart > 0) {
  43095. for (; B.JSString_methods.startsWith$2(t2, "../", refStart);)
  43096. refStart += 3;
  43097. delta = baseStart - refStart + 1;
  43098. 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);
  43099. }
  43100. baseUri = base._uri;
  43101. packageNameEnd = A._SimpleUri__packageNameEnd(this);
  43102. if (packageNameEnd >= 0)
  43103. baseStart0 = packageNameEnd;
  43104. else
  43105. for (baseStart0 = baseStart; B.JSString_methods.startsWith$2(baseUri, "../", baseStart0);)
  43106. baseStart0 += 3;
  43107. backCount = 0;
  43108. while (true) {
  43109. refStart0 = refStart + 3;
  43110. if (!(refStart0 <= t1 && B.JSString_methods.startsWith$2(t2, "../", refStart)))
  43111. break;
  43112. ++backCount;
  43113. refStart = refStart0;
  43114. }
  43115. for (insert = ""; baseEnd > baseStart0;) {
  43116. --baseEnd;
  43117. if (baseUri.charCodeAt(baseEnd) === 47) {
  43118. if (backCount === 0) {
  43119. insert = "/";
  43120. break;
  43121. }
  43122. --backCount;
  43123. insert = "/";
  43124. }
  43125. }
  43126. if (baseEnd === baseStart0 && base._schemeEnd <= 0 && !B.JSString_methods.startsWith$2(baseUri, "/", baseStart)) {
  43127. refStart -= backCount * 3;
  43128. insert = "";
  43129. }
  43130. delta = baseEnd - refStart + insert.length;
  43131. 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);
  43132. },
  43133. toFilePath$0() {
  43134. var t2, t3, _this = this,
  43135. t1 = _this._schemeEnd;
  43136. if (t1 >= 0) {
  43137. t2 = !(t1 === 4 && B.JSString_methods.startsWith$1(_this._uri, "file"));
  43138. t1 = t2;
  43139. } else
  43140. t1 = false;
  43141. if (t1)
  43142. throw A.wrapException(A.UnsupportedError$("Cannot extract a file path from a " + _this.get$scheme() + " URI"));
  43143. t1 = _this._queryStart;
  43144. t2 = _this._uri;
  43145. if (t1 < t2.length) {
  43146. if (t1 < _this._fragmentStart)
  43147. throw A.wrapException(A.UnsupportedError$(string$.Cannotfq));
  43148. throw A.wrapException(A.UnsupportedError$(string$.Cannotff));
  43149. }
  43150. t3 = $.$get$_Uri__isWindowsCached();
  43151. if (t3)
  43152. t1 = A._Uri__toWindowsFilePath(_this);
  43153. else {
  43154. if (_this._hostStart < _this._portStart)
  43155. A.throwExpression(A.UnsupportedError$(string$.Cannotn));
  43156. t1 = B.JSString_methods.substring$2(t2, _this._pathStart, t1);
  43157. }
  43158. return t1;
  43159. },
  43160. get$hashCode(_) {
  43161. var t1 = this._hashCodeCache;
  43162. return t1 == null ? this._hashCodeCache = B.JSString_methods.get$hashCode(this._uri) : t1;
  43163. },
  43164. $eq(_, other) {
  43165. if (other == null)
  43166. return false;
  43167. if (this === other)
  43168. return true;
  43169. return type$.Uri._is(other) && this._uri === other.toString$0(0);
  43170. },
  43171. _toNonSimple$0() {
  43172. var _this = this, _null = null,
  43173. t1 = _this.get$scheme(),
  43174. t2 = _this.get$userInfo(),
  43175. t3 = _this._hostStart > 0 ? _this.get$host() : _null,
  43176. t4 = _this.get$hasPort() ? _this.get$port(0) : _null,
  43177. t5 = _this._uri,
  43178. t6 = _this._queryStart,
  43179. t7 = B.JSString_methods.substring$2(t5, _this._pathStart, t6),
  43180. t8 = _this._fragmentStart;
  43181. t6 = t6 < t8 ? _this.get$query() : _null;
  43182. return A._Uri$_internal(t1, t2, t3, t4, t7, t6, t8 < t5.length ? _this.get$fragment() : _null);
  43183. },
  43184. toString$0(_) {
  43185. return this._uri;
  43186. },
  43187. $isUri: 1,
  43188. $is_PlatformUri: 1
  43189. };
  43190. A._DataUri.prototype = {};
  43191. A.Expando.prototype = {
  43192. $indexSet(_, object, value) {
  43193. if (object instanceof A._Record)
  43194. A.Expando__badExpandoKey(object);
  43195. this._jsWeakMap.set(object, value);
  43196. },
  43197. toString$0(_) {
  43198. return "Expando:null";
  43199. }
  43200. };
  43201. A.jsify__convert.prototype = {
  43202. call$1(o) {
  43203. var t1, convertedMap, key, convertedList;
  43204. if (A._noJsifyRequired(o))
  43205. return o;
  43206. t1 = this._convertedObjects;
  43207. if (t1.containsKey$1(o))
  43208. return t1.$index(0, o);
  43209. if (type$.Map_dynamic_dynamic._is(o)) {
  43210. convertedMap = {};
  43211. t1.$indexSet(0, o, convertedMap);
  43212. for (t1 = J.get$iterator$ax(o.get$keys(o)); t1.moveNext$0();) {
  43213. key = t1.get$current(t1);
  43214. convertedMap[key] = this.call$1(o.$index(0, key));
  43215. }
  43216. return convertedMap;
  43217. } else if (type$.Iterable_dynamic._is(o)) {
  43218. convertedList = [];
  43219. t1.$indexSet(0, o, convertedList);
  43220. B.JSArray_methods.addAll$1(convertedList, J.map$1$1$ax(o, this, type$.dynamic));
  43221. return convertedList;
  43222. } else
  43223. return o;
  43224. },
  43225. $signature: 335
  43226. };
  43227. A.promiseToFuture_closure.prototype = {
  43228. call$1(r) {
  43229. return this.completer.complete$1(r);
  43230. },
  43231. $signature: 75
  43232. };
  43233. A.promiseToFuture_closure0.prototype = {
  43234. call$1(e) {
  43235. if (e == null)
  43236. return this.completer.completeError$1(new A.NullRejectionException(e === undefined));
  43237. return this.completer.completeError$1(e);
  43238. },
  43239. $signature: 75
  43240. };
  43241. A.NullRejectionException.prototype = {
  43242. toString$0(_) {
  43243. return "Promise was rejected with a value of `" + (this.isUndefined ? "undefined" : "null") + "`.";
  43244. },
  43245. $isException: 1
  43246. };
  43247. A._JSRandom.prototype = {
  43248. nextInt$1(max) {
  43249. if (max <= 0 || max > 4294967296)
  43250. throw A.wrapException(A.RangeError$("max must be in range 0 < max \u2264 2^32, was " + max));
  43251. return Math.random() * max >>> 0;
  43252. },
  43253. nextDouble$0() {
  43254. return Math.random();
  43255. }
  43256. };
  43257. A.ArgParser.prototype = {
  43258. addFlag$6$abbr$defaultsTo$help$hide$negatable($name, abbr, defaultsTo, help, hide, negatable) {
  43259. var _null = null;
  43260. this._addOption$13$aliases$hide$hideNegatedUsage$negatable($name, abbr, help, _null, _null, _null, defaultsTo, _null, B.OptionType_tI9, B.List_empty, hide, false, negatable);
  43261. },
  43262. addFlag$2$hide($name, hide) {
  43263. return this.addFlag$6$abbr$defaultsTo$help$hide$negatable($name, null, false, null, hide, true);
  43264. },
  43265. addFlag$2$help($name, help) {
  43266. return this.addFlag$6$abbr$defaultsTo$help$hide$negatable($name, null, false, help, false, true);
  43267. },
  43268. addFlag$3$defaultsTo$help($name, defaultsTo, help) {
  43269. return this.addFlag$6$abbr$defaultsTo$help$hide$negatable($name, null, defaultsTo, help, false, true);
  43270. },
  43271. addFlag$3$help$negatable($name, help, negatable) {
  43272. return this.addFlag$6$abbr$defaultsTo$help$hide$negatable($name, null, false, help, false, negatable);
  43273. },
  43274. addFlag$3$abbr$help($name, abbr, help) {
  43275. return this.addFlag$6$abbr$defaultsTo$help$hide$negatable($name, abbr, false, help, false, true);
  43276. },
  43277. addFlag$4$abbr$help$negatable($name, abbr, help, negatable) {
  43278. return this.addFlag$6$abbr$defaultsTo$help$hide$negatable($name, abbr, false, help, false, negatable);
  43279. },
  43280. addOption$7$abbr$allowed$defaultsTo$help$hide$valueHelp($name, abbr, allowed, defaultsTo, help, hide, valueHelp) {
  43281. this._addOption$12$aliases$hide$mandatory($name, abbr, help, valueHelp, allowed, null, defaultsTo, null, B.OptionType_zZK, B.List_empty, hide, false);
  43282. },
  43283. addOption$2$hide($name, hide) {
  43284. var _null = null;
  43285. return this.addOption$7$abbr$allowed$defaultsTo$help$hide$valueHelp($name, _null, _null, _null, _null, hide, _null);
  43286. },
  43287. addOption$6$abbr$allowed$defaultsTo$help$valueHelp($name, abbr, allowed, defaultsTo, help, valueHelp) {
  43288. return this.addOption$7$abbr$allowed$defaultsTo$help$hide$valueHelp($name, abbr, allowed, defaultsTo, help, false, valueHelp);
  43289. },
  43290. addOption$4$allowed$defaultsTo$help($name, allowed, defaultsTo, help) {
  43291. return this.addOption$7$abbr$allowed$defaultsTo$help$hide$valueHelp($name, null, allowed, defaultsTo, help, false, null);
  43292. },
  43293. addMultiOption$7$abbr$allowed$allowedHelp$help$splitCommas$valueHelp($name, abbr, allowed, allowedHelp, help, splitCommas, valueHelp) {
  43294. var t1 = A._setArrayType([], type$.JSArray_String);
  43295. this._addOption$12$aliases$hide$splitCommas($name, abbr, help, valueHelp, allowed, allowedHelp, t1, null, B.OptionType_1Ol, B.List_empty, false, splitCommas);
  43296. },
  43297. addMultiOption$5$abbr$help$splitCommas$valueHelp($name, abbr, help, splitCommas, valueHelp) {
  43298. return this.addMultiOption$7$abbr$allowed$allowedHelp$help$splitCommas$valueHelp($name, abbr, null, null, help, splitCommas, valueHelp);
  43299. },
  43300. addMultiOption$6$abbr$allowed$allowedHelp$help$valueHelp($name, abbr, allowed, allowedHelp, help, valueHelp) {
  43301. return this.addMultiOption$7$abbr$allowed$allowedHelp$help$splitCommas$valueHelp($name, abbr, allowed, allowedHelp, help, true, valueHelp);
  43302. },
  43303. addMultiOption$2$help($name, help) {
  43304. var _null = null;
  43305. return this.addMultiOption$7$abbr$allowed$allowedHelp$help$splitCommas$valueHelp($name, _null, _null, _null, help, true, _null);
  43306. },
  43307. _addOption$15$aliases$hide$hideNegatedUsage$mandatory$negatable$splitCommas($name, abbr, help, valueHelp, allowed, allowedHelp, defaultsTo, callback, type, aliases, hide, hideNegatedUsage, mandatory, negatable, splitCommas) {
  43308. var existing, t2, t3, option, _i, _this = this, _null = null,
  43309. t1 = A._setArrayType([$name], type$.JSArray_String);
  43310. B.JSArray_methods.addAll$1(t1, aliases);
  43311. if (B.JSArray_methods.any$1(t1, new A.ArgParser__addOption_closure(_this)))
  43312. throw A.wrapException(A.ArgumentError$('Duplicate option or alias "' + $name + '".', _null));
  43313. t1 = abbr != null;
  43314. if (t1) {
  43315. existing = _this.findByAbbreviation$1(abbr);
  43316. if (existing != null)
  43317. throw A.wrapException(A.ArgumentError$('Abbreviation "' + abbr + '" is already used by "' + existing.name + '".', _null));
  43318. }
  43319. t2 = allowed == null ? _null : A.List_List$unmodifiable(allowed, type$.String);
  43320. if (allowedHelp == null)
  43321. t3 = _null;
  43322. else {
  43323. t3 = type$.String;
  43324. t3 = A.ConstantMap_ConstantMap$from(allowedHelp, t3, t3);
  43325. }
  43326. option = new A.Option($name, abbr, help, valueHelp, t2, t3, defaultsTo, negatable, false, callback, type, splitCommas == null ? type === B.OptionType_1Ol : splitCommas, false, hide);
  43327. if ($name.length === 0)
  43328. A.throwExpression(A.ArgumentError$("Name cannot be empty.", _null));
  43329. else if (B.JSString_methods.startsWith$1($name, "-"))
  43330. A.throwExpression(A.ArgumentError$("Name " + $name + ' cannot start with "-".', _null));
  43331. t2 = $.$get$Option__invalidChars()._nativeRegExp;
  43332. if (t2.test($name))
  43333. A.throwExpression(A.ArgumentError$('Name "' + $name + '" contains invalid characters.', _null));
  43334. if (t1) {
  43335. if (abbr.length !== 1)
  43336. A.throwExpression(A.ArgumentError$("Abbreviation must be null or have length 1.", _null));
  43337. else if (abbr === "-")
  43338. A.throwExpression(A.ArgumentError$('Abbreviation cannot be "-".', _null));
  43339. if (t2.test(abbr))
  43340. A.throwExpression(A.ArgumentError$("Abbreviation is an invalid character.", _null));
  43341. }
  43342. _this._arg_parser$_options.$indexSet(0, $name, option);
  43343. _this._optionsAndSeparators.push(option);
  43344. for (t1 = _this._aliases, _i = 0; false; ++_i)
  43345. t1.$indexSet(0, aliases[_i], $name);
  43346. },
  43347. _addOption$12$aliases$hide$splitCommas($name, abbr, help, valueHelp, allowed, allowedHelp, defaultsTo, callback, type, aliases, hide, splitCommas) {
  43348. 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);
  43349. },
  43350. _addOption$12$aliases$hide$mandatory($name, abbr, help, valueHelp, allowed, allowedHelp, defaultsTo, callback, type, aliases, hide, mandatory) {
  43351. 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);
  43352. },
  43353. _addOption$13$aliases$hide$hideNegatedUsage$negatable($name, abbr, help, valueHelp, allowed, allowedHelp, defaultsTo, callback, type, aliases, hide, hideNegatedUsage, negatable) {
  43354. 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);
  43355. },
  43356. findByAbbreviation$1(abbr) {
  43357. var t1, t2;
  43358. for (t1 = this.options._map, t1 = t1.get$values(t1), t1 = t1.get$iterator(t1); t1.moveNext$0();) {
  43359. t2 = t1.get$current(t1);
  43360. if (t2.abbr === abbr)
  43361. return t2;
  43362. }
  43363. return null;
  43364. },
  43365. findByNameOrAlias$1($name) {
  43366. var t1 = this._aliases.$index(0, $name);
  43367. if (t1 == null)
  43368. t1 = $name;
  43369. return this.options._map.$index(0, t1);
  43370. }
  43371. };
  43372. A.ArgParser__addOption_closure.prototype = {
  43373. call$1($name) {
  43374. return this.$this.findByNameOrAlias$1($name) != null;
  43375. },
  43376. $signature: 5
  43377. };
  43378. A.ArgParserException.prototype = {};
  43379. A.ArgResults.prototype = {
  43380. $index(_, $name) {
  43381. var t1 = this._parser.options._map;
  43382. if (!t1.containsKey$1($name))
  43383. throw A.wrapException(A.ArgumentError$('Could not find an option named "--' + $name + '".', null));
  43384. t1 = t1.$index(0, $name);
  43385. t1.toString;
  43386. return t1.valueOrDefault$1(this._parsed.$index(0, $name));
  43387. },
  43388. wasParsed$1($name) {
  43389. if (!this._parser.options._map.containsKey$1($name))
  43390. throw A.wrapException(A.ArgumentError$('Could not find an option named "--' + $name + '".', null));
  43391. return this._parsed.containsKey$1($name);
  43392. }
  43393. };
  43394. A.Option.prototype = {
  43395. valueOrDefault$1(value) {
  43396. var t1;
  43397. if (value != null)
  43398. return value;
  43399. if (this.type === B.OptionType_1Ol) {
  43400. t1 = this.defaultsTo;
  43401. return t1 == null ? A._setArrayType([], type$.JSArray_String) : t1;
  43402. }
  43403. return this.defaultsTo;
  43404. }
  43405. };
  43406. A.OptionType.prototype = {};
  43407. A.Parser0.prototype = {
  43408. parse$0(_) {
  43409. var commandResults, commandName, commandParser, error, t1, t3, t4, t5, t6, t7, t8, command, exception, _this = this,
  43410. t2 = _this._args;
  43411. t2.toList$0(0);
  43412. commandResults = null;
  43413. for (t3 = _this._parser$_rest, t4 = _this._grammar, t5 = t4.commands, t6 = t2.$ti._precomputed1; !t2.get$isEmpty(0);) {
  43414. t7 = t2._head;
  43415. if (t7 === t2._tail)
  43416. A.throwExpression(A.IterableElementError_noElement());
  43417. t7 = t2._table[t7];
  43418. t8 = t7 == null;
  43419. if ((t8 ? t6._as(t7) : t7) === "--") {
  43420. t2.removeFirst$0();
  43421. break;
  43422. }
  43423. if (t8)
  43424. t7 = t6._as(t7);
  43425. command = t5._map.$index(0, t7);
  43426. if (command != null) {
  43427. t5 = t3.length;
  43428. t7 = t2._head;
  43429. if (t7 === t2._tail)
  43430. A.throwExpression(A.IterableElementError_noElement());
  43431. t7 = t2._table[t7];
  43432. t6 = t7 == null ? t6._as(t7) : t7;
  43433. if (t5 !== 0)
  43434. A.throwExpression(A.ArgParserException$("Cannot specify arguments before a command.", null, t6, null, null));
  43435. commandName = t2.removeFirst$0();
  43436. t5 = type$.JSArray_String;
  43437. t6 = A._setArrayType([], t5);
  43438. B.JSArray_methods.addAll$1(t6, t3);
  43439. commandParser = new A.Parser0(commandName, _this, command, t2, t6, A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.dynamic));
  43440. try {
  43441. commandResults = J.parse$0$z(commandParser);
  43442. } catch (exception) {
  43443. t2 = A.unwrapException(exception);
  43444. if (t2 instanceof A.ArgParserException) {
  43445. error = t2;
  43446. t2 = error.message;
  43447. t1 = A._setArrayType([commandName], t5);
  43448. J.addAll$1$ax(t1, error.commands);
  43449. throw A.wrapException(A.ArgParserException$(t2, t1, error.argumentName, error.source, error.offset));
  43450. } else
  43451. throw exception;
  43452. }
  43453. B.JSArray_methods.clear$0(t3);
  43454. break;
  43455. }
  43456. if (_this._parseSoloOption$0())
  43457. continue;
  43458. if (_this._parseAbbreviation$1(_this))
  43459. continue;
  43460. if (_this._parseLongOption$0())
  43461. continue;
  43462. t3.push(t2.removeFirst$0());
  43463. }
  43464. t4.options._map.forEach$1(0, new A.Parser_parse_closure(_this));
  43465. B.JSArray_methods.addAll$1(t3, t2);
  43466. t2.clear$0(0);
  43467. return new A.ArgResults(t4, _this._results, _this._commandName, new A.UnmodifiableListView(t3, type$.UnmodifiableListView_String));
  43468. },
  43469. _readNextArgAsValue$2(option, arg) {
  43470. var _this = this,
  43471. t1 = _this._args;
  43472. _this._validate$3(!t1.get$isEmpty(0), 'Missing argument for "' + arg + '".', arg);
  43473. _this._setOption$4(_this._results, option, t1.get$first(0), arg);
  43474. t1.removeFirst$0();
  43475. },
  43476. _parseSoloOption$0() {
  43477. var opt,
  43478. t1 = this._args;
  43479. if (t1.get$first(0).length !== 2)
  43480. return false;
  43481. if (!B.JSString_methods.startsWith$1(t1.get$first(0), "-"))
  43482. return false;
  43483. opt = t1.get$first(0)[1];
  43484. if (!A._isLetterOrDigit(opt.charCodeAt(0)))
  43485. return false;
  43486. this._handleSoloOption$1(opt);
  43487. return true;
  43488. },
  43489. _handleSoloOption$1(opt) {
  43490. var t1, _this = this,
  43491. option = _this._grammar.findByAbbreviation$1(opt);
  43492. if (option == null) {
  43493. t1 = _this._parser$_parent;
  43494. _this._validate$3(t1 != null, 'Could not find an option or flag "-' + opt + '".', "-" + opt);
  43495. t1._handleSoloOption$1(opt);
  43496. return true;
  43497. }
  43498. _this._args.removeFirst$0();
  43499. if (option.type === B.OptionType_tI9)
  43500. _this._results.$indexSet(0, option.name, true);
  43501. else
  43502. _this._readNextArgAsValue$2(option, "-" + opt);
  43503. return true;
  43504. },
  43505. _parseAbbreviation$1(innermostCommand) {
  43506. var t2, index, t3, t4, t5, lettersAndDigits, rest,
  43507. t1 = this._args;
  43508. if (t1.get$first(0).length < 2)
  43509. return false;
  43510. if (!B.JSString_methods.startsWith$1(t1.get$first(0), "-"))
  43511. return false;
  43512. t2 = t1.$ti._precomputed1;
  43513. index = 1;
  43514. while (true) {
  43515. t3 = t1._head;
  43516. if (t3 === t1._tail)
  43517. A.throwExpression(A.IterableElementError_noElement());
  43518. t3 = t1._table[t3];
  43519. t4 = t3 == null;
  43520. if (index < (t4 ? t2._as(t3) : t3).length) {
  43521. t5 = true;
  43522. t3 = (t4 ? t2._as(t3) : t3).charCodeAt(index);
  43523. if (!(t3 >= 65 && t3 <= 90))
  43524. if (!(t3 >= 97 && t3 <= 122))
  43525. t3 = t3 >= 48 && t3 <= 57;
  43526. else
  43527. t3 = t5;
  43528. else
  43529. t3 = t5;
  43530. } else
  43531. t3 = false;
  43532. if (!t3)
  43533. break;
  43534. ++index;
  43535. }
  43536. if (index === 1)
  43537. return false;
  43538. lettersAndDigits = B.JSString_methods.substring$2(t1.get$first(0), 1, index);
  43539. rest = B.JSString_methods.substring$1(t1.get$first(0), index);
  43540. if (B.JSString_methods.contains$1(rest, "\n") || B.JSString_methods.contains$1(rest, "\r"))
  43541. return false;
  43542. this._handleAbbreviation$3(lettersAndDigits, rest, innermostCommand);
  43543. return true;
  43544. },
  43545. _handleAbbreviation$3(lettersAndDigits, rest, innermostCommand) {
  43546. var t1, i, i0, _this = this,
  43547. c = B.JSString_methods.substring$2(lettersAndDigits, 0, 1),
  43548. first = _this._grammar.findByAbbreviation$1(c);
  43549. if (first == null) {
  43550. t1 = _this._parser$_parent;
  43551. _this._validate$3(t1 != null, string$.Could_ + c + '".', "-" + c);
  43552. t1._handleAbbreviation$3(lettersAndDigits, rest, innermostCommand);
  43553. return true;
  43554. } else {
  43555. t1 = "-" + c;
  43556. if (first.type !== B.OptionType_tI9)
  43557. _this._setOption$4(_this._results, first, B.JSString_methods.substring$1(lettersAndDigits, 1) + rest, t1);
  43558. else {
  43559. _this._validate$3(rest === "", 'Option "-' + c + '" is a flag and cannot handle value "' + B.JSString_methods.substring$1(lettersAndDigits, 1) + rest + '".', t1);
  43560. for (t1 = lettersAndDigits.length, i = 0; i < t1; i = i0) {
  43561. i0 = i + 1;
  43562. innermostCommand._parseShortFlag$1(B.JSString_methods.substring$2(lettersAndDigits, i, i0));
  43563. }
  43564. }
  43565. }
  43566. _this._args.removeFirst$0();
  43567. return true;
  43568. },
  43569. _parseShortFlag$1(c) {
  43570. var t1, _this = this,
  43571. option = _this._grammar.findByAbbreviation$1(c);
  43572. if (option == null) {
  43573. t1 = _this._parser$_parent;
  43574. _this._validate$3(t1 != null, string$.Could_ + c + '".', "-" + c);
  43575. t1._parseShortFlag$1(c);
  43576. return;
  43577. }
  43578. _this._validate$3(option.type === B.OptionType_tI9, 'Option "-' + c + '" must be a flag to be in a collapsed "-".', "-" + c);
  43579. _this._results.$indexSet(0, option.name, true);
  43580. },
  43581. _parseLongOption$0() {
  43582. var index, t2, $name, t3, i, t4, t5, value,
  43583. t1 = this._args;
  43584. if (!B.JSString_methods.startsWith$1(t1.get$first(0), "--"))
  43585. return false;
  43586. index = B.JSString_methods.indexOf$1(t1.get$first(0), "=");
  43587. t2 = index === -1;
  43588. $name = t2 ? B.JSString_methods.substring$1(t1.get$first(0), 2) : B.JSString_methods.substring$2(t1.get$first(0), 2, index);
  43589. for (t3 = $name.length, i = 0; i !== t3; ++i) {
  43590. t4 = $name.charCodeAt(i);
  43591. t5 = true;
  43592. if (!(t4 >= 65 && t4 <= 90))
  43593. if (!(t4 >= 97 && t4 <= 122))
  43594. t5 = t4 >= 48 && t4 <= 57;
  43595. if (!(t5 || t4 === 45 || t4 === 95))
  43596. return false;
  43597. }
  43598. value = t2 ? null : B.JSString_methods.substring$1(t1.get$first(0), index + 1);
  43599. if (value != null)
  43600. t1 = B.JSString_methods.contains$1(value, "\n") || B.JSString_methods.contains$1(value, "\r");
  43601. else
  43602. t1 = false;
  43603. if (t1)
  43604. return false;
  43605. this._handleLongOption$2($name, value);
  43606. return true;
  43607. },
  43608. _handleLongOption$2($name, value) {
  43609. var _this = this,
  43610. _s34_ = 'Could not find an option named "--',
  43611. t1 = _this._grammar,
  43612. option = t1.findByNameOrAlias$1($name);
  43613. if (option != null) {
  43614. _this._args.removeFirst$0();
  43615. if (option.type === B.OptionType_tI9) {
  43616. _this._validate$3(value == null, 'Flag option "--' + $name + '" should not be given a value.', "--" + $name);
  43617. _this._results.$indexSet(0, option.name, true);
  43618. } else {
  43619. t1 = "--" + $name;
  43620. if (value != null)
  43621. _this._setOption$4(_this._results, option, value, t1);
  43622. else
  43623. _this._readNextArgAsValue$2(option, t1);
  43624. }
  43625. } else if (B.JSString_methods.startsWith$1($name, "no-")) {
  43626. option = t1.findByNameOrAlias$1(B.JSString_methods.substring$1($name, 3));
  43627. if (option == null) {
  43628. t1 = _this._parser$_parent;
  43629. _this._validate$3(t1 != null, _s34_ + $name + '".', "--" + $name);
  43630. t1._handleLongOption$2($name, value);
  43631. return true;
  43632. }
  43633. _this._args.removeFirst$0();
  43634. t1 = "--" + $name;
  43635. _this._validate$3(option.type === B.OptionType_tI9, 'Cannot negate non-flag option "--' + $name + '".', t1);
  43636. _this._validate$3(option.negatable, 'Cannot negate option "--' + $name + '".', t1);
  43637. _this._results.$indexSet(0, option.name, false);
  43638. } else {
  43639. t1 = _this._parser$_parent;
  43640. _this._validate$3(t1 != null, _s34_ + $name + '".', "--" + $name);
  43641. t1._handleLongOption$2($name, value);
  43642. return true;
  43643. }
  43644. return true;
  43645. },
  43646. _validate$3(condition, message, args) {
  43647. if (!condition)
  43648. throw A.wrapException(A.ArgParserException$(message, null, args, null, null));
  43649. },
  43650. _setOption$4(results, option, value, arg) {
  43651. var list, t1, t2, t3, _i, element;
  43652. if (option.type !== B.OptionType_1Ol) {
  43653. this._validateAllowed$3(option, value, arg);
  43654. results.$indexSet(0, option.name, value);
  43655. return;
  43656. }
  43657. list = type$.List_dynamic._as(results.putIfAbsent$2(option.name, new A.Parser__setOption_closure()));
  43658. if (option.splitCommas)
  43659. for (t1 = value.split(","), t2 = t1.length, t3 = J.getInterceptor$ax(list), _i = 0; _i < t2; ++_i) {
  43660. element = t1[_i];
  43661. this._validateAllowed$3(option, element, arg);
  43662. t3.add$1(list, element);
  43663. }
  43664. else {
  43665. this._validateAllowed$3(option, value, arg);
  43666. J.add$1$ax(list, value);
  43667. }
  43668. },
  43669. _validateAllowed$3(option, value, arg) {
  43670. var t1 = option.allowed;
  43671. if (t1 == null)
  43672. return;
  43673. this._validate$3(B.JSArray_methods.contains$1(t1, value), '"' + value + '" is not an allowed value for option "' + arg + '".', arg);
  43674. }
  43675. };
  43676. A.Parser_parse_closure.prototype = {
  43677. call$2($name, option) {
  43678. var parsedOption = this.$this._results.$index(0, $name),
  43679. callback = option.callback;
  43680. if (callback == null)
  43681. return;
  43682. callback.call$1(option.valueOrDefault$1(parsedOption));
  43683. },
  43684. $signature: 386
  43685. };
  43686. A.Parser__setOption_closure.prototype = {
  43687. call$0() {
  43688. return A._setArrayType([], type$.JSArray_String);
  43689. },
  43690. $signature: 138
  43691. };
  43692. A._Usage.prototype = {
  43693. get$_columnWidths() {
  43694. var result, _this = this,
  43695. value = _this.___Usage__columnWidths_FI;
  43696. if (value === $) {
  43697. result = _this._calculateColumnWidths$0();
  43698. _this.___Usage__columnWidths_FI !== $ && A.throwUnnamedLateFieldADI();
  43699. _this.___Usage__columnWidths_FI = result;
  43700. value = result;
  43701. }
  43702. return value;
  43703. },
  43704. generate$0() {
  43705. var t1, t2, t3, t4, _i, optionOrSeparator, t5, _this = this;
  43706. 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) {
  43707. optionOrSeparator = t1[_i];
  43708. if (typeof optionOrSeparator == "string") {
  43709. t5 = t4._contents;
  43710. t4._contents = (t5.length !== 0 ? t4._contents = t5 + "\n\n" : t5) + optionOrSeparator;
  43711. _this._newlinesNeeded = 1;
  43712. continue;
  43713. }
  43714. t3._as(optionOrSeparator);
  43715. if (optionOrSeparator.hide)
  43716. continue;
  43717. _this._writeOption$1(optionOrSeparator);
  43718. }
  43719. t1 = t4._contents;
  43720. return t1.charCodeAt(0) == 0 ? t1 : t1;
  43721. },
  43722. _writeOption$1(option) {
  43723. var _0_0, _1_0, t2, t3, t4, $name, $content, _this = this,
  43724. t1 = option.abbr;
  43725. _this._write$2(0, t1 == null ? "" : "-" + t1 + ", ");
  43726. t1 = _this._longOption$1(option);
  43727. _this._write$2(1, t1);
  43728. _0_0 = option.help;
  43729. if (_0_0 != null)
  43730. _this._write$2(2, _0_0);
  43731. _1_0 = option.allowedHelp;
  43732. if (_1_0 != null) {
  43733. _this._newline$0();
  43734. 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();) {
  43735. t4 = t1.get$current(t1);
  43736. $name = t4.key;
  43737. $content = t4.value;
  43738. t4 = (t3 ? B.JSArray_methods.contains$1(t2, $name) : t2 === $name) ? " (default)" : "";
  43739. _this._write$2(1, " [" + $name + "]" + t4);
  43740. _this._write$2(2, $content);
  43741. }
  43742. _this._newline$0();
  43743. } else if (option.allowed != null)
  43744. _this._write$2(2, _this._buildAllowedList$1(option));
  43745. else {
  43746. t1 = option.type;
  43747. if (t1 === B.OptionType_tI9) {
  43748. if (option.defaultsTo === true)
  43749. _this._write$2(2, "(defaults to on)");
  43750. } else if (t1 === B.OptionType_1Ol) {
  43751. t1 = option.defaultsTo;
  43752. if (t1 != null && type$.Iterable_dynamic._as(t1).length !== 0) {
  43753. type$.List_dynamic._as(t1);
  43754. _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, ", ") + ")");
  43755. }
  43756. } else {
  43757. t1 = option.defaultsTo;
  43758. if (t1 != null)
  43759. _this._write$2(2, '(defaults to "' + A.S(t1) + '")');
  43760. }
  43761. }
  43762. },
  43763. _longOption$1(option) {
  43764. var t1 = option.name,
  43765. result = option.negatable ? "--[no-]" + t1 : "--" + t1;
  43766. t1 = option.valueHelp;
  43767. return t1 != null ? result + ("=<" + t1 + ">") : result;
  43768. },
  43769. _calculateColumnWidths$0() {
  43770. var t1, t2, t3, abbr, title, _i, option, t4, t5, t6, t7, t8;
  43771. 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) {
  43772. option = t1[_i];
  43773. if (!(option instanceof A.Option))
  43774. continue;
  43775. if (option.hide)
  43776. continue;
  43777. t4 = option.abbr;
  43778. abbr = Math.max(abbr, (t4 == null ? "" : "-" + t4 + ", ").length);
  43779. t4 = this._longOption$1(option);
  43780. title = Math.max(title, t4.length);
  43781. t4 = option.allowedHelp;
  43782. if (t4 != null)
  43783. for (t4 = J.get$iterator$ax(t4.get$keys(t4)), t5 = option.defaultsTo, t6 = t3._is(t5); t4.moveNext$0();) {
  43784. t7 = t4.get$current(t4);
  43785. t8 = (t6 ? B.JSArray_methods.contains$1(t5, t7) : t5 === t7) ? " (default)" : "";
  43786. title = Math.max(title, (" [" + t7 + "]" + t8).length);
  43787. }
  43788. }
  43789. return A._setArrayType([abbr, title + 4], type$.JSArray_int);
  43790. },
  43791. _newline$0() {
  43792. ++this._newlinesNeeded;
  43793. this._currentColumn = 0;
  43794. },
  43795. _write$2(column, text) {
  43796. var t1, _i,
  43797. lines = A._setArrayType(text.split("\n"), type$.JSArray_String);
  43798. this.get$_columnWidths();
  43799. while (true) {
  43800. if (!(lines.length !== 0 && J.trim$0$s(B.JSArray_methods.get$first(lines)) === ""))
  43801. break;
  43802. B.JSArray_methods.removeAt$1(lines, 0);
  43803. }
  43804. while (true) {
  43805. if (!(lines.length !== 0 && J.trim$0$s(B.JSArray_methods.get$last(lines)) === ""))
  43806. break;
  43807. lines.pop();
  43808. }
  43809. for (t1 = lines.length, _i = 0; _i < lines.length; lines.length === t1 || (0, A.throwConcurrentModificationError)(lines), ++_i)
  43810. this._writeLine$2(column, lines[_i]);
  43811. },
  43812. _writeLine$2(column, text) {
  43813. var t1, t2, _this = this;
  43814. for (t1 = _this._usage$_buffer; t2 = _this._newlinesNeeded, t2 > 0;) {
  43815. t1._contents += "\n";
  43816. _this._newlinesNeeded = t2 - 1;
  43817. }
  43818. for (; t2 = _this._currentColumn, t2 !== column;) {
  43819. if (t2 < 2) {
  43820. t2 = B.JSString_methods.$mul(" ", _this.get$_columnWidths()[_this._currentColumn]);
  43821. t1._contents += t2;
  43822. } else
  43823. t1._contents += "\n";
  43824. _this._currentColumn = (_this._currentColumn + 1) % 3;
  43825. }
  43826. _this.get$_columnWidths();
  43827. if (column < 2) {
  43828. t2 = B.JSString_methods.padRight$1(text, _this.get$_columnWidths()[column]);
  43829. t1._contents += t2;
  43830. } else
  43831. t1._contents += text;
  43832. _this._currentColumn = (_this._currentColumn + 1) % 3;
  43833. if (column === 2)
  43834. ++_this._newlinesNeeded;
  43835. },
  43836. _buildAllowedList$1(option) {
  43837. var t2, t3, first, _i, allowed,
  43838. t1 = option.defaultsTo,
  43839. isDefault = type$.List_dynamic._is(t1) ? B.JSArray_methods.get$contains(t1) : new A._Usage__buildAllowedList_closure(option);
  43840. t1 = "" + "[";
  43841. for (t2 = option.allowed, t3 = t2.length, first = true, _i = 0; _i < t3; ++_i, first = false) {
  43842. allowed = t2[_i];
  43843. t1 = (!first ? t1 + ", " : t1) + allowed;
  43844. if (isDefault.call$1(allowed))
  43845. t1 += " (default)";
  43846. }
  43847. t1 += "]";
  43848. return t1.charCodeAt(0) == 0 ? t1 : t1;
  43849. }
  43850. };
  43851. A._Usage__writeOption_closure.prototype = {
  43852. call$1(value) {
  43853. return '"' + A.S(value) + '"';
  43854. },
  43855. $signature: 134
  43856. };
  43857. A._Usage__buildAllowedList_closure.prototype = {
  43858. call$1(value) {
  43859. return value === this.option.defaultsTo;
  43860. },
  43861. $signature: 5
  43862. };
  43863. A.FutureGroup.prototype = {
  43864. add$1(_, task) {
  43865. var t1, index, _this = this;
  43866. if (_this._future_group$_closed)
  43867. throw A.wrapException(A.StateError$("The FutureGroup is closed."));
  43868. t1 = _this._future_group$_values;
  43869. index = t1.length;
  43870. t1.push(null);
  43871. ++_this._future_group$_pending;
  43872. task.then$1$1(0, new A.FutureGroup_add_closure(_this, index), type$.Null).catchError$1(new A.FutureGroup_add_closure0(_this));
  43873. },
  43874. close$0(_) {
  43875. var t1, t2, _this = this;
  43876. _this._future_group$_closed = true;
  43877. if (_this._future_group$_pending !== 0)
  43878. return;
  43879. t1 = _this._future_group$_completer;
  43880. if ((t1.future._state & 30) !== 0)
  43881. return;
  43882. t2 = _this.$ti._eval$1("WhereTypeIterable<1>");
  43883. t2 = A.List_List$_of(new A.WhereTypeIterable(_this._future_group$_values, t2), t2._eval$1("Iterable.E"));
  43884. t1.complete$1(t2);
  43885. }
  43886. };
  43887. A.FutureGroup_add_closure.prototype = {
  43888. call$1(value) {
  43889. var t3, t4,
  43890. t1 = this.$this,
  43891. t2 = t1._future_group$_completer;
  43892. if ((t2.future._state & 30) !== 0)
  43893. return null;
  43894. t3 = --t1._future_group$_pending;
  43895. t4 = t1._future_group$_values;
  43896. t4[this.index] = value;
  43897. if (t3 !== 0)
  43898. return null;
  43899. if (!t1._future_group$_closed)
  43900. return null;
  43901. t1 = t1.$ti._eval$1("WhereTypeIterable<1>");
  43902. t1 = A.List_List$_of(new A.WhereTypeIterable(t4, t1), t1._eval$1("Iterable.E"));
  43903. t2.complete$1(t1);
  43904. },
  43905. $signature() {
  43906. return this.$this.$ti._eval$1("Null(1)");
  43907. }
  43908. };
  43909. A.FutureGroup_add_closure0.prototype = {
  43910. call$2(error, stackTrace) {
  43911. var t1 = this.$this._future_group$_completer;
  43912. if ((t1.future._state & 30) !== 0)
  43913. return null;
  43914. t1.completeError$2(error, stackTrace);
  43915. },
  43916. $signature: 51
  43917. };
  43918. A.ErrorResult.prototype = {
  43919. complete$1(completer) {
  43920. completer.completeError$2(this.error, this.stackTrace);
  43921. },
  43922. get$hashCode(_) {
  43923. return (J.get$hashCode$(this.error) ^ A.Primitives_objectHashCode(this.stackTrace) ^ 492929599) >>> 0;
  43924. },
  43925. $eq(_, other) {
  43926. if (other == null)
  43927. return false;
  43928. return other instanceof A.ErrorResult && J.$eq$(this.error, other.error) && this.stackTrace === other.stackTrace;
  43929. },
  43930. $isResult: 1
  43931. };
  43932. A.ValueResult.prototype = {
  43933. complete$1(completer) {
  43934. completer.complete$1(this.value);
  43935. },
  43936. get$hashCode(_) {
  43937. return (J.get$hashCode$(this.value) ^ 842997089) >>> 0;
  43938. },
  43939. $eq(_, other) {
  43940. if (other == null)
  43941. return false;
  43942. return other instanceof A.ValueResult && J.$eq$(this.value, other.value);
  43943. },
  43944. $isResult: 1
  43945. };
  43946. A.StreamCompleter.prototype = {
  43947. setSourceStream$1(sourceStream) {
  43948. var t1 = this._stream_completer$_stream;
  43949. if (t1._sourceStream != null)
  43950. throw A.wrapException(A.StateError$("Source stream already set"));
  43951. t1._sourceStream = sourceStream;
  43952. if (t1._stream_completer$_controller != null)
  43953. t1._linkStreamToController$0();
  43954. },
  43955. setError$2(error, stackTrace) {
  43956. var t1 = this.$ti,
  43957. t2 = A._interceptUserError(error, stackTrace),
  43958. t3 = new A._Future($.Zone__current, t1._eval$1("_Future<1>"));
  43959. t3._asyncCompleteErrorObject$1(t2);
  43960. this.setSourceStream$1(A.Stream_Stream$fromFuture(t3, t1._precomputed1));
  43961. },
  43962. setError$1(error) {
  43963. return this.setError$2(error, null);
  43964. }
  43965. };
  43966. A._CompleterStream.prototype = {
  43967. listen$4$cancelOnError$onDone$onError(_, onData, cancelOnError, onDone, onError) {
  43968. var sourceStream, t1, _this = this, _null = null;
  43969. if (_this._stream_completer$_controller == null) {
  43970. sourceStream = _this._sourceStream;
  43971. if (sourceStream != null && !sourceStream.get$isBroadcast())
  43972. return sourceStream.listen$4$cancelOnError$onDone$onError(0, onData, cancelOnError, onDone, onError);
  43973. if (_this._stream_completer$_controller == null)
  43974. _this._stream_completer$_controller = A.StreamController_StreamController(_null, _null, _null, _null, true, _this.$ti._precomputed1);
  43975. if (_this._sourceStream != null)
  43976. _this._linkStreamToController$0();
  43977. }
  43978. t1 = _this._stream_completer$_controller;
  43979. t1.toString;
  43980. return new A._ControllerStream(t1, A._instanceType(t1)._eval$1("_ControllerStream<1>")).listen$4$cancelOnError$onDone$onError(0, onData, cancelOnError, onDone, onError);
  43981. },
  43982. listen$1(_, onData) {
  43983. return this.listen$4$cancelOnError$onDone$onError(0, onData, null, null, null);
  43984. },
  43985. listen$3$onDone$onError(_, onData, onDone, onError) {
  43986. return this.listen$4$cancelOnError$onDone$onError(0, onData, null, onDone, onError);
  43987. },
  43988. _linkStreamToController$0() {
  43989. var t2,
  43990. t1 = this._stream_completer$_controller;
  43991. t1.toString;
  43992. t2 = this._sourceStream;
  43993. t2.toString;
  43994. t1.addStream$2$cancelOnError(t2, false).whenComplete$1(t1.get$close(t1));
  43995. }
  43996. };
  43997. A.StreamGroup.prototype = {
  43998. add$1(_, stream) {
  43999. var t1, _this = this;
  44000. if (_this._closed)
  44001. throw A.wrapException(A.StateError$("Can't add a Stream to a closed StreamGroup."));
  44002. t1 = _this._stream_group$_state;
  44003. if (t1 === B._StreamGroupState_dormant)
  44004. _this._subscriptions.putIfAbsent$2(stream, new A.StreamGroup_add_closure());
  44005. else if (t1 === B._StreamGroupState_canceled)
  44006. return stream.listen$1(0, null).cancel$0();
  44007. else
  44008. _this._subscriptions.putIfAbsent$2(stream, new A.StreamGroup_add_closure0(_this, stream));
  44009. return null;
  44010. },
  44011. remove$1(_, stream) {
  44012. var t1 = this._subscriptions,
  44013. subscription = t1.remove$1(0, stream),
  44014. future = subscription == null ? null : subscription.cancel$0();
  44015. if (t1.__js_helper$_length === 0)
  44016. if (this._closed) {
  44017. t1 = this.__StreamGroup__controller_A;
  44018. t1 === $ && A.throwUnnamedLateFieldNI();
  44019. A.scheduleMicrotask(t1.get$close(t1));
  44020. }
  44021. return future;
  44022. },
  44023. _onListen$0() {
  44024. var stream, t1, t2, t3, _i, entry, exception, _this = this;
  44025. _this._stream_group$_state = B._StreamGroupState_listening;
  44026. t1 = _this._subscriptions;
  44027. 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>?>"));
  44028. t3 = t2.length;
  44029. _i = 0;
  44030. for (; _i < t2.length; t2.length === t3 || (0, A.throwConcurrentModificationError)(t2), ++_i) {
  44031. entry = t2[_i];
  44032. if (entry.value != null)
  44033. continue;
  44034. stream = entry.key;
  44035. try {
  44036. t1.$indexSet(0, stream, _this._listenToStream$1(stream));
  44037. } catch (exception) {
  44038. t1 = _this._onCancel$0();
  44039. if (t1 != null)
  44040. t1.catchError$1(new A.StreamGroup__onListen_closure());
  44041. throw exception;
  44042. }
  44043. }
  44044. },
  44045. _onPause$0() {
  44046. this._stream_group$_state = B._StreamGroupState_paused;
  44047. for (var t1 = this._subscriptions, t1 = new A.LinkedHashMapValueIterator(t1, t1._modifications, t1._first); t1.moveNext$0();)
  44048. t1.__js_helper$_current.pause$0(0);
  44049. },
  44050. _onResume$0() {
  44051. this._stream_group$_state = B._StreamGroupState_listening;
  44052. for (var t1 = this._subscriptions, t1 = new A.LinkedHashMapValueIterator(t1, t1._modifications, t1._first); t1.moveNext$0();)
  44053. t1.__js_helper$_current.resume$0(0);
  44054. },
  44055. _onCancel$0() {
  44056. var t1, t2, t3, futures;
  44057. this._stream_group$_state = B._StreamGroupState_canceled;
  44058. t1 = this._subscriptions;
  44059. t2 = A._instanceType(t1)._eval$1("LinkedHashMapEntriesIterable<1,2>");
  44060. t3 = type$.NonNullsIterable_Future_void;
  44061. 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"));
  44062. t1.clear$0(0);
  44063. return futures.length === 0 ? null : A.Future_wait(futures, false, type$.void);
  44064. },
  44065. _listenToStream$1(stream) {
  44066. var subscription,
  44067. t1 = this.__StreamGroup__controller_A;
  44068. t1 === $ && A.throwUnnamedLateFieldNI();
  44069. subscription = stream.listen$3$onDone$onError(0, t1.get$add(t1), new A.StreamGroup__listenToStream_closure(this, stream), t1.get$addError());
  44070. if (this._stream_group$_state === B._StreamGroupState_paused)
  44071. subscription.pause$0(0);
  44072. return subscription;
  44073. }
  44074. };
  44075. A.StreamGroup_add_closure.prototype = {
  44076. call$0() {
  44077. return null;
  44078. },
  44079. $signature: 1
  44080. };
  44081. A.StreamGroup_add_closure0.prototype = {
  44082. call$0() {
  44083. return this.$this._listenToStream$1(this.stream);
  44084. },
  44085. $signature() {
  44086. return this.$this.$ti._eval$1("StreamSubscription<1>()");
  44087. }
  44088. };
  44089. A.StreamGroup__onListen_closure.prototype = {
  44090. call$1(_) {
  44091. },
  44092. $signature: 64
  44093. };
  44094. A.StreamGroup__onCancel_closure.prototype = {
  44095. call$1(entry) {
  44096. var t1, exception,
  44097. subscription = entry.value;
  44098. try {
  44099. if (subscription != null) {
  44100. t1 = subscription.cancel$0();
  44101. return t1;
  44102. }
  44103. t1 = J.listen$1$z(entry.key, null).cancel$0();
  44104. return t1;
  44105. } catch (exception) {
  44106. return null;
  44107. }
  44108. },
  44109. $signature() {
  44110. return this.$this.$ti._eval$1("Future<~>?(MapEntry<Stream<1>,StreamSubscription<1>?>)");
  44111. }
  44112. };
  44113. A.StreamGroup__listenToStream_closure.prototype = {
  44114. call$0() {
  44115. return this.$this.remove$1(0, this.stream);
  44116. },
  44117. $signature: 0
  44118. };
  44119. A._StreamGroupState.prototype = {
  44120. toString$0(_) {
  44121. return this.name;
  44122. }
  44123. };
  44124. A.StreamQueue.prototype = {
  44125. _updateRequests$0() {
  44126. var t1, t2, t3, t4, _this = this;
  44127. for (t1 = _this._requestQueue, t2 = _this._eventQueue, t3 = t1.$ti._precomputed1; !t1.get$isEmpty(0);) {
  44128. t4 = t1._head;
  44129. if (t4 === t1._tail)
  44130. A.throwExpression(A.IterableElementError_noElement());
  44131. t4 = t1._table[t4];
  44132. if (t4 == null)
  44133. t4 = t3._as(t4);
  44134. if (t4.update$2(t2, _this._isDone))
  44135. t1.removeFirst$0();
  44136. else
  44137. return;
  44138. }
  44139. if (!_this._isDone)
  44140. _this._stream_queue$_subscription.pause$0(0);
  44141. },
  44142. _ensureListening$0() {
  44143. var t1, _this = this;
  44144. if (_this._isDone)
  44145. return;
  44146. t1 = _this._stream_queue$_subscription;
  44147. if (t1 == null)
  44148. _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));
  44149. else
  44150. t1.resume$0(0);
  44151. },
  44152. _addResult$1(result) {
  44153. ++this._eventsReceived;
  44154. this._eventQueue._queue_list$_add$1(result);
  44155. this._updateRequests$0();
  44156. },
  44157. _addRequest$1(request) {
  44158. var _this = this,
  44159. t1 = _this._requestQueue;
  44160. if (t1._head === t1._tail) {
  44161. if (request.update$2(_this._eventQueue, _this._isDone))
  44162. return;
  44163. _this._ensureListening$0();
  44164. }
  44165. t1._add$1(request);
  44166. }
  44167. };
  44168. A.StreamQueue__ensureListening_closure.prototype = {
  44169. call$1(data) {
  44170. var t1 = this.$this;
  44171. t1._addResult$1(new A.ValueResult(data, t1.$ti._eval$1("ValueResult<1>")));
  44172. },
  44173. $signature() {
  44174. return this.$this.$ti._eval$1("~(1)");
  44175. }
  44176. };
  44177. A.StreamQueue__ensureListening_closure1.prototype = {
  44178. call$2(error, stackTrace) {
  44179. this.$this._addResult$1(new A.ErrorResult(error, stackTrace));
  44180. },
  44181. $signature: 51
  44182. };
  44183. A.StreamQueue__ensureListening_closure0.prototype = {
  44184. call$0() {
  44185. var t1 = this.$this;
  44186. t1._stream_queue$_subscription = null;
  44187. t1._isDone = true;
  44188. t1._updateRequests$0();
  44189. },
  44190. $signature: 0
  44191. };
  44192. A._NextRequest.prototype = {
  44193. update$2(events, isDone) {
  44194. if (!events.get$isEmpty(events)) {
  44195. events.removeFirst$0().complete$1(this._completer);
  44196. return true;
  44197. }
  44198. if (isDone) {
  44199. this._completer.completeError$2(new A.StateError("No elements"), A.StackTrace_current());
  44200. return true;
  44201. }
  44202. return false;
  44203. },
  44204. $is_EventRequest: 1
  44205. };
  44206. A._isStrictMode_closure.prototype = {
  44207. call$0() {
  44208. var exception;
  44209. try {
  44210. "".name = null;
  44211. return false;
  44212. } catch (exception) {
  44213. return true;
  44214. }
  44215. },
  44216. $signature: 20
  44217. };
  44218. A.Repl.prototype = {};
  44219. A.alwaysValid_closure.prototype = {
  44220. call$1(text) {
  44221. return true;
  44222. },
  44223. $signature: 5
  44224. };
  44225. A.ReplAdapter.prototype = {
  44226. runAsync$0() {
  44227. var rl, runController, _this = this, t1 = {},
  44228. t2 = J.get$isTTY$x(self.process.stdin),
  44229. output = (t2 == null ? false : t2) ? self.process.stdout : null;
  44230. t2 = _this.repl.prompt;
  44231. rl = J.createInterface$1$x($.$get$readline(), {input: self.process.stdin, output: output, prompt: t2});
  44232. _this.rl = rl;
  44233. t1.statement = "";
  44234. t1.prompt = t2;
  44235. runController = A._Cell$();
  44236. 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);
  44237. return runController._readLocal$0().get$stream();
  44238. },
  44239. exit$0(_) {
  44240. var t1 = this.rl;
  44241. if (t1 != null)
  44242. J.close$0$x(t1);
  44243. this.rl = null;
  44244. }
  44245. };
  44246. A.ReplAdapter_runAsync_closure.prototype = {
  44247. call$0() {
  44248. var $async$goto = 0,
  44249. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  44250. $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;
  44251. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  44252. if ($async$errorCode === 1) {
  44253. $async$errorStack.push($async$result);
  44254. $async$goto = $async$handler;
  44255. }
  44256. while (true)
  44257. switch ($async$goto) {
  44258. case 0:
  44259. // Function start
  44260. $async$handler = 3;
  44261. lineController = A.StreamController_StreamController(null, null, null, null, false, type$.String);
  44262. t1 = lineController;
  44263. t2 = A.QueueList$(null, type$.Result_String);
  44264. t3 = A.ListQueue$(type$._EventRequest_dynamic);
  44265. lineQueue = new A.StreamQueue(new A._ControllerStream(t1, A._instanceType(t1)._eval$1("_ControllerStream<1>")), t2, t3, type$.StreamQueue_String);
  44266. t1 = $async$self.rl;
  44267. t2 = J.getInterceptor$x(t1);
  44268. t2.on$2(t1, "line", A.allowInterop(new A.ReplAdapter_runAsync__closure(lineController)));
  44269. t3 = $async$self._box_0, t4 = $async$self.$this.repl, $prompt = t4.continuation, prompt0 = t4.prompt, t5 = $async$self.runController;
  44270. case 6:
  44271. // for condition
  44272. // trivial condition
  44273. t6 = J.get$isTTY$x(self.process.stdin);
  44274. if (t6 == null ? false : t6)
  44275. J.write$1$x(self.process.stdout, t3.prompt);
  44276. t6 = lineQueue;
  44277. t6.toString;
  44278. t7 = t6.$ti;
  44279. t8 = new A._Future($.Zone__current, t7._eval$1("_Future<1>"));
  44280. t6._addRequest$1(new A._NextRequest(new A._AsyncCompleter(t8, t7._eval$1("_AsyncCompleter<1>")), t7._eval$1("_NextRequest<1>")));
  44281. $async$goto = 8;
  44282. return A._asyncAwait(t8, $async$call$0);
  44283. case 8:
  44284. // returning from await.
  44285. line = $async$result;
  44286. t6 = J.get$isTTY$x(self.process.stdin);
  44287. if (!(t6 == null ? false : t6)) {
  44288. line0 = t3.prompt + A.S(line);
  44289. toZone = $.printToZone;
  44290. if (toZone == null)
  44291. A.printString(line0);
  44292. else
  44293. toZone.call$1(line0);
  44294. }
  44295. statement = B.JSString_methods.$add(t3.statement, line);
  44296. t3.statement = statement;
  44297. if (t4.validator.call$1(statement)) {
  44298. t6 = t5.__late_helper$_value;
  44299. if (t6 === t5)
  44300. A.throwExpression(A.LateError$localNI(""));
  44301. J.add$1$ax(t6, t3.statement);
  44302. t3.statement = "";
  44303. t3.prompt = prompt0;
  44304. t2.setPrompt$1(t1, prompt0);
  44305. } else {
  44306. t3.statement += "\n";
  44307. t3.prompt = $prompt;
  44308. t2.setPrompt$1(t1, $prompt);
  44309. }
  44310. // goto for condition
  44311. $async$goto = 6;
  44312. break;
  44313. case 7:
  44314. // after for
  44315. $async$handler = 1;
  44316. // goto after finally
  44317. $async$goto = 5;
  44318. break;
  44319. case 3:
  44320. // catch
  44321. $async$handler = 2;
  44322. $async$exception = $async$errorStack.pop();
  44323. error = A.unwrapException($async$exception);
  44324. stackTrace = A.getTraceFromException($async$exception);
  44325. t1 = $async$self.runController;
  44326. t1._readLocal$0().addError$2(error, stackTrace);
  44327. t2 = $async$self.$this.exit$0(0);
  44328. t2 = A._Future$value(t2, type$.void);
  44329. $async$goto = 9;
  44330. return A._asyncAwait(t2, $async$call$0);
  44331. case 9:
  44332. // returning from await.
  44333. J.close$0$x(t1._readLocal$0());
  44334. // goto after finally
  44335. $async$goto = 5;
  44336. break;
  44337. case 2:
  44338. // uncaught
  44339. // goto rethrow
  44340. $async$goto = 1;
  44341. break;
  44342. case 5:
  44343. // after finally
  44344. // implicit return
  44345. return A._asyncReturn(null, $async$completer);
  44346. case 1:
  44347. // rethrow
  44348. return A._asyncRethrow($async$errorStack.at(-1), $async$completer);
  44349. }
  44350. });
  44351. return A._asyncStartSync($async$call$0, $async$completer);
  44352. },
  44353. $signature: 32
  44354. };
  44355. A.ReplAdapter_runAsync__closure.prototype = {
  44356. call$1(value) {
  44357. return this.lineController.add$1(0, A._asString(value));
  44358. },
  44359. $signature: 75
  44360. };
  44361. A.Stdin.prototype = {};
  44362. A.Stdout.prototype = {};
  44363. A.ReadlineModule.prototype = {};
  44364. A.ReadlineOptions.prototype = {};
  44365. A.ReadlineInterface.prototype = {};
  44366. A.EmptyUnmodifiableSet.prototype = {
  44367. get$iterator(_) {
  44368. return B.C_EmptyIterator;
  44369. },
  44370. get$length(_) {
  44371. return 0;
  44372. },
  44373. contains$1(_, element) {
  44374. return false;
  44375. },
  44376. toSet$0(_) {
  44377. return A.LinkedHashSet_LinkedHashSet$_empty(this.$ti._precomputed1);
  44378. },
  44379. $isEfficientLengthIterable: 1,
  44380. $isSet: 1
  44381. };
  44382. A._EmptyUnmodifiableSet_IterableBase_UnmodifiableSetMixin.prototype = {};
  44383. A.DefaultEquality.prototype = {};
  44384. A.IterableEquality.prototype = {
  44385. equals$2(_, elements1, elements2) {
  44386. var it1, it2, hasNext;
  44387. if (elements1 === elements2)
  44388. return true;
  44389. it1 = J.get$iterator$ax(elements1);
  44390. it2 = J.get$iterator$ax(elements2);
  44391. for (; true;) {
  44392. hasNext = it1.moveNext$0();
  44393. if (hasNext !== it2.moveNext$0())
  44394. return false;
  44395. if (!hasNext)
  44396. return true;
  44397. if (!J.$eq$(it1.get$current(it1), it2.get$current(it2)))
  44398. return false;
  44399. }
  44400. },
  44401. hash$1(elements) {
  44402. var t1, hash, _i;
  44403. for (t1 = elements.length, hash = 0, _i = 0; _i < elements.length; elements.length === t1 || (0, A.throwConcurrentModificationError)(elements), ++_i) {
  44404. hash = hash + J.get$hashCode$(elements[_i]) & 2147483647;
  44405. hash = hash + (hash << 10 >>> 0) & 2147483647;
  44406. hash ^= hash >>> 6;
  44407. }
  44408. hash = hash + (hash << 3 >>> 0) & 2147483647;
  44409. hash ^= hash >>> 11;
  44410. return hash + (hash << 15 >>> 0) & 2147483647;
  44411. }
  44412. };
  44413. A.ListEquality.prototype = {
  44414. equals$2(_, list1, list2) {
  44415. var t1, $length, t2, i;
  44416. if (list1 == null ? list2 == null : list1 === list2)
  44417. return true;
  44418. if (list1 == null || list2 == null)
  44419. return false;
  44420. t1 = J.getInterceptor$asx(list1);
  44421. $length = t1.get$length(list1);
  44422. t2 = J.getInterceptor$asx(list2);
  44423. if ($length !== t2.get$length(list2))
  44424. return false;
  44425. for (i = 0; i < $length; ++i)
  44426. if (!J.$eq$(t1.$index(list1, i), t2.$index(list2, i)))
  44427. return false;
  44428. return true;
  44429. },
  44430. hash$1(list) {
  44431. var hash, i;
  44432. for (hash = 0, i = 0; i < list.length; ++i) {
  44433. hash = hash + J.get$hashCode$(list[i]) & 2147483647;
  44434. hash = hash + (hash << 10 >>> 0) & 2147483647;
  44435. hash ^= hash >>> 6;
  44436. }
  44437. hash = hash + (hash << 3 >>> 0) & 2147483647;
  44438. hash ^= hash >>> 11;
  44439. return hash + (hash << 15 >>> 0) & 2147483647;
  44440. }
  44441. };
  44442. A._MapEntry.prototype = {
  44443. get$hashCode(_) {
  44444. return 3 * J.get$hashCode$(this.key) + 7 * J.get$hashCode$(this.value) & 2147483647;
  44445. },
  44446. $eq(_, other) {
  44447. if (other == null)
  44448. return false;
  44449. return other instanceof A._MapEntry && J.$eq$(this.key, other.key) && J.$eq$(this.value, other.value);
  44450. }
  44451. };
  44452. A.MapEquality.prototype = {
  44453. equals$2(_, map1, map2) {
  44454. var equalElementCounts, t1, key, entry, count;
  44455. if (map1 === map2)
  44456. return true;
  44457. if (map1.get$length(map1) !== map2.get$length(map2))
  44458. return false;
  44459. equalElementCounts = A.HashMap_HashMap(type$._MapEntry, type$.int);
  44460. for (t1 = J.get$iterator$ax(map1.get$keys(map1)); t1.moveNext$0();) {
  44461. key = t1.get$current(t1);
  44462. entry = new A._MapEntry(this, key, map1.$index(0, key));
  44463. count = equalElementCounts.$index(0, entry);
  44464. equalElementCounts.$indexSet(0, entry, (count == null ? 0 : count) + 1);
  44465. }
  44466. for (t1 = J.get$iterator$ax(map2.get$keys(map2)); t1.moveNext$0();) {
  44467. key = t1.get$current(t1);
  44468. entry = new A._MapEntry(this, key, map2.$index(0, key));
  44469. count = equalElementCounts.$index(0, entry);
  44470. if (count == null || count === 0)
  44471. return false;
  44472. equalElementCounts.$indexSet(0, entry, count - 1);
  44473. }
  44474. return true;
  44475. },
  44476. hash$1(map) {
  44477. var t1, t2, hash, key, keyHash, t3;
  44478. for (t1 = J.get$iterator$ax(map.get$keys(map)), t2 = this.$ti._rest[1], hash = 0; t1.moveNext$0();) {
  44479. key = t1.get$current(t1);
  44480. keyHash = J.get$hashCode$(key);
  44481. t3 = map.$index(0, key);
  44482. hash = hash + 3 * keyHash + 7 * J.get$hashCode$(t3 == null ? t2._as(t3) : t3) & 2147483647;
  44483. }
  44484. hash = hash + (hash << 3 >>> 0) & 2147483647;
  44485. hash ^= hash >>> 11;
  44486. return hash + (hash << 15 >>> 0) & 2147483647;
  44487. }
  44488. };
  44489. A.QueueList.prototype = {
  44490. add$1(_, element) {
  44491. this._queue_list$_add$1(element);
  44492. },
  44493. addAll$1(_, iterable) {
  44494. var addCount, $length, t1, endSpace, t2, preSpace, _this = this;
  44495. if (type$.List_dynamic._is(iterable)) {
  44496. addCount = J.get$length$asx(iterable);
  44497. $length = _this.get$length(0);
  44498. t1 = $length + addCount;
  44499. if (t1 >= J.get$length$asx(_this._queue_list$_table)) {
  44500. _this._preGrow$1(t1);
  44501. J.setRange$4$ax(_this._queue_list$_table, $length, t1, iterable, 0);
  44502. _this.set$_queue_list$_tail(_this.get$_queue_list$_tail() + addCount);
  44503. } else {
  44504. endSpace = J.get$length$asx(_this._queue_list$_table) - _this.get$_queue_list$_tail();
  44505. t1 = _this._queue_list$_table;
  44506. t2 = J.getInterceptor$ax(t1);
  44507. if (addCount < endSpace) {
  44508. t2.setRange$4(t1, _this.get$_queue_list$_tail(), _this.get$_queue_list$_tail() + addCount, iterable, 0);
  44509. _this.set$_queue_list$_tail(_this.get$_queue_list$_tail() + addCount);
  44510. } else {
  44511. preSpace = addCount - endSpace;
  44512. t2.setRange$4(t1, _this.get$_queue_list$_tail(), _this.get$_queue_list$_tail() + endSpace, iterable, 0);
  44513. J.setRange$4$ax(_this._queue_list$_table, 0, preSpace, iterable, endSpace);
  44514. _this.set$_queue_list$_tail(preSpace);
  44515. }
  44516. }
  44517. } else
  44518. for (t1 = J.get$iterator$ax(iterable); t1.moveNext$0();)
  44519. _this._queue_list$_add$1(t1.get$current(t1));
  44520. },
  44521. cast$1$0(_, $T) {
  44522. 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>"));
  44523. },
  44524. toString$0(_) {
  44525. return A.Iterable_iterableToFullString(this, "{", "}");
  44526. },
  44527. addFirst$1(element) {
  44528. var _this = this;
  44529. _this.set$_queue_list$_head((_this.get$_queue_list$_head() - 1 & J.get$length$asx(_this._queue_list$_table) - 1) >>> 0);
  44530. J.$indexSet$ax(_this._queue_list$_table, _this.get$_queue_list$_head(), element);
  44531. if (_this.get$_queue_list$_head() === _this.get$_queue_list$_tail())
  44532. _this._queue_list$_grow$0();
  44533. },
  44534. removeFirst$0() {
  44535. var result, _this = this;
  44536. if (_this.get$_queue_list$_head() === _this.get$_queue_list$_tail())
  44537. throw A.wrapException(A.StateError$("No element"));
  44538. result = J.$index$asx(_this._queue_list$_table, _this.get$_queue_list$_head());
  44539. if (result == null)
  44540. result = A._instanceType(_this)._eval$1("QueueList.E")._as(result);
  44541. J.$indexSet$ax(_this._queue_list$_table, _this.get$_queue_list$_head(), null);
  44542. _this.set$_queue_list$_head((_this.get$_queue_list$_head() + 1 & J.get$length$asx(_this._queue_list$_table) - 1) >>> 0);
  44543. return result;
  44544. },
  44545. removeLast$0(_) {
  44546. var result, _this = this;
  44547. if (_this.get$_queue_list$_head() === _this.get$_queue_list$_tail())
  44548. throw A.wrapException(A.StateError$("No element"));
  44549. _this.set$_queue_list$_tail((_this.get$_queue_list$_tail() - 1 & J.get$length$asx(_this._queue_list$_table) - 1) >>> 0);
  44550. result = J.$index$asx(_this._queue_list$_table, _this.get$_queue_list$_tail());
  44551. if (result == null)
  44552. result = A._instanceType(_this)._eval$1("QueueList.E")._as(result);
  44553. J.$indexSet$ax(_this._queue_list$_table, _this.get$_queue_list$_tail(), null);
  44554. return result;
  44555. },
  44556. get$length(_) {
  44557. return (this.get$_queue_list$_tail() - this.get$_queue_list$_head() & J.get$length$asx(this._queue_list$_table) - 1) >>> 0;
  44558. },
  44559. set$length(_, value) {
  44560. var delta, newTail, t1, t2, _this = this;
  44561. if (value < 0)
  44562. throw A.wrapException(A.RangeError$("Length " + value + " may not be negative."));
  44563. if (value > _this.get$length(0) && !A._instanceType(_this)._eval$1("QueueList.E")._is(null))
  44564. 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) + "`."));
  44565. delta = value - _this.get$length(0);
  44566. if (delta >= 0) {
  44567. if (J.get$length$asx(_this._queue_list$_table) <= value)
  44568. _this._preGrow$1(value);
  44569. _this.set$_queue_list$_tail((_this.get$_queue_list$_tail() + delta & J.get$length$asx(_this._queue_list$_table) - 1) >>> 0);
  44570. return;
  44571. }
  44572. newTail = _this.get$_queue_list$_tail() + delta;
  44573. t1 = _this._queue_list$_table;
  44574. if (newTail >= 0)
  44575. J.fillRange$3$ax(t1, newTail, _this.get$_queue_list$_tail(), null);
  44576. else {
  44577. newTail += J.get$length$asx(t1);
  44578. J.fillRange$3$ax(_this._queue_list$_table, 0, _this.get$_queue_list$_tail(), null);
  44579. t1 = _this._queue_list$_table;
  44580. t2 = J.getInterceptor$asx(t1);
  44581. t2.fillRange$3(t1, newTail, t2.get$length(t1), null);
  44582. }
  44583. _this.set$_queue_list$_tail(newTail);
  44584. },
  44585. $index(_, index) {
  44586. var t1, _this = this;
  44587. if (index < 0 || index >= _this.get$length(0))
  44588. throw A.wrapException(A.RangeError$("Index " + index + " must be in the range [0.." + _this.get$length(0) + ")."));
  44589. t1 = J.$index$asx(_this._queue_list$_table, (_this.get$_queue_list$_head() + index & J.get$length$asx(_this._queue_list$_table) - 1) >>> 0);
  44590. return t1 == null ? A._instanceType(_this)._eval$1("QueueList.E")._as(t1) : t1;
  44591. },
  44592. $indexSet(_, index, value) {
  44593. var _this = this;
  44594. if (index < 0 || index >= _this.get$length(0))
  44595. throw A.wrapException(A.RangeError$("Index " + index + " must be in the range [0.." + _this.get$length(0) + ")."));
  44596. J.$indexSet$ax(_this._queue_list$_table, (_this.get$_queue_list$_head() + index & J.get$length$asx(_this._queue_list$_table) - 1) >>> 0, value);
  44597. },
  44598. _queue_list$_add$1(element) {
  44599. var _this = this;
  44600. J.$indexSet$ax(_this._queue_list$_table, _this.get$_queue_list$_tail(), element);
  44601. _this.set$_queue_list$_tail((_this.get$_queue_list$_tail() + 1 & J.get$length$asx(_this._queue_list$_table) - 1) >>> 0);
  44602. if (_this.get$_queue_list$_head() === _this.get$_queue_list$_tail())
  44603. _this._queue_list$_grow$0();
  44604. },
  44605. _queue_list$_grow$0() {
  44606. var _this = this,
  44607. newTable = A.List_List$filled(J.get$length$asx(_this._queue_list$_table) * 2, null, false, A._instanceType(_this)._eval$1("QueueList.E?")),
  44608. split = J.get$length$asx(_this._queue_list$_table) - _this.get$_queue_list$_head();
  44609. B.JSArray_methods.setRange$4(newTable, 0, split, _this._queue_list$_table, _this.get$_queue_list$_head());
  44610. B.JSArray_methods.setRange$4(newTable, split, split + _this.get$_queue_list$_head(), _this._queue_list$_table, 0);
  44611. _this.set$_queue_list$_head(0);
  44612. _this.set$_queue_list$_tail(J.get$length$asx(_this._queue_list$_table));
  44613. _this._queue_list$_table = newTable;
  44614. },
  44615. _writeToList$1(target) {
  44616. var $length, firstPartSize, _this = this;
  44617. if (_this.get$_queue_list$_head() <= _this.get$_queue_list$_tail()) {
  44618. $length = _this.get$_queue_list$_tail() - _this.get$_queue_list$_head();
  44619. B.JSArray_methods.setRange$4(target, 0, $length, _this._queue_list$_table, _this.get$_queue_list$_head());
  44620. return $length;
  44621. } else {
  44622. firstPartSize = J.get$length$asx(_this._queue_list$_table) - _this.get$_queue_list$_head();
  44623. B.JSArray_methods.setRange$4(target, 0, firstPartSize, _this._queue_list$_table, _this.get$_queue_list$_head());
  44624. B.JSArray_methods.setRange$4(target, firstPartSize, firstPartSize + _this.get$_queue_list$_tail(), _this._queue_list$_table, 0);
  44625. return _this.get$_queue_list$_tail() + firstPartSize;
  44626. }
  44627. },
  44628. _preGrow$1(newElementCount) {
  44629. var _this = this,
  44630. 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?"));
  44631. _this.set$_queue_list$_tail(_this._writeToList$1(newTable));
  44632. _this._queue_list$_table = newTable;
  44633. _this.set$_queue_list$_head(0);
  44634. },
  44635. $isEfficientLengthIterable: 1,
  44636. $isQueue: 1,
  44637. $isIterable: 1,
  44638. $isList: 1,
  44639. get$_queue_list$_head() {
  44640. return this._queue_list$_head;
  44641. },
  44642. get$_queue_list$_tail() {
  44643. return this._queue_list$_tail;
  44644. },
  44645. set$_queue_list$_head(val) {
  44646. return this._queue_list$_head = val;
  44647. },
  44648. set$_queue_list$_tail(val) {
  44649. return this._queue_list$_tail = val;
  44650. }
  44651. };
  44652. A._CastQueueList.prototype = {
  44653. get$_queue_list$_head() {
  44654. return this._queue_list$_delegate.get$_queue_list$_head();
  44655. },
  44656. set$_queue_list$_head(value) {
  44657. this._queue_list$_delegate.set$_queue_list$_head(value);
  44658. },
  44659. get$_queue_list$_tail() {
  44660. return this._queue_list$_delegate.get$_queue_list$_tail();
  44661. },
  44662. set$_queue_list$_tail(value) {
  44663. this._queue_list$_delegate.set$_queue_list$_tail(value);
  44664. }
  44665. };
  44666. A._QueueList_Object_ListMixin.prototype = {};
  44667. A.UnionSet.prototype = {
  44668. get$length(_) {
  44669. var t1 = this.get$_union_set$_iterable().get$length(0);
  44670. return t1;
  44671. },
  44672. get$iterator(_) {
  44673. var t1 = this.get$_union_set$_iterable();
  44674. return t1.get$iterator(t1);
  44675. },
  44676. get$_union_set$_iterable() {
  44677. var t1 = this._sets,
  44678. t2 = this.$ti._precomputed1,
  44679. t3 = A._instanceType(t1)._eval$1("@<1>")._bind$1(t2)._eval$1("ExpandIterable<1,2>");
  44680. t2 = A.LinkedHashSet_LinkedHashSet$_empty(t2);
  44681. 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>"));
  44682. },
  44683. contains$1(_, element) {
  44684. return this._sets.any$1(0, new A.UnionSet_contains_closure(this, element));
  44685. },
  44686. toSet$0(_) {
  44687. var t2, t3, t4,
  44688. t1 = A.LinkedHashSet_LinkedHashSet$_empty(this.$ti._precomputed1);
  44689. for (t2 = this._sets, t2 = A._LinkedHashSetIterator$(t2, t2._collection$_modifications, A._instanceType(t2)._precomputed1), t3 = t2.$ti._precomputed1; t2.moveNext$0();) {
  44690. t4 = t2._collection$_current;
  44691. t1.addAll$1(0, t4 == null ? t3._as(t4) : t4);
  44692. }
  44693. return t1;
  44694. }
  44695. };
  44696. A.UnionSet__iterable_closure.prototype = {
  44697. call$1(set) {
  44698. return set;
  44699. },
  44700. $signature() {
  44701. return this.$this.$ti._eval$1("Set<1>(Set<1>)");
  44702. }
  44703. };
  44704. A.UnionSet_contains_closure.prototype = {
  44705. call$1(set) {
  44706. return set.contains$1(0, this.element);
  44707. },
  44708. $signature() {
  44709. return this.$this.$ti._eval$1("bool(Set<1>)");
  44710. }
  44711. };
  44712. A._UnionSet_SetBase_UnmodifiableSetMixin.prototype = {};
  44713. A.UnmodifiableSetView0.prototype = {};
  44714. A.UnmodifiableSetMixin.prototype = {
  44715. add$1(_, value) {
  44716. return A.UnmodifiableSetMixin__throw();
  44717. },
  44718. addAll$1(_, elements) {
  44719. return A.UnmodifiableSetMixin__throw();
  44720. },
  44721. remove$1(_, value) {
  44722. return A.UnmodifiableSetMixin__throw();
  44723. }
  44724. };
  44725. A._UnmodifiableSetView_DelegatingSet_UnmodifiableSetMixin.prototype = {};
  44726. A._DelegatingIterableBase.prototype = {
  44727. any$1(_, test) {
  44728. return J.any$1$ax(this.get$_base(), test);
  44729. },
  44730. contains$1(_, element) {
  44731. return J.contains$1$asx(this.get$_base(), element);
  44732. },
  44733. elementAt$1(_, index) {
  44734. return J.elementAt$1$ax(this.get$_base(), index);
  44735. },
  44736. every$1(_, test) {
  44737. return J.every$1$ax(this.get$_base(), test);
  44738. },
  44739. get$first(_) {
  44740. return J.get$first$ax(this.get$_base());
  44741. },
  44742. get$isEmpty(_) {
  44743. return J.get$isEmpty$asx(this.get$_base());
  44744. },
  44745. get$isNotEmpty(_) {
  44746. return J.get$isNotEmpty$asx(this.get$_base());
  44747. },
  44748. get$iterator(_) {
  44749. return J.get$iterator$ax(this.get$_base());
  44750. },
  44751. get$last(_) {
  44752. return J.get$last$ax(this.get$_base());
  44753. },
  44754. get$length(_) {
  44755. return J.get$length$asx(this.get$_base());
  44756. },
  44757. map$1$1(_, f, $T) {
  44758. return J.map$1$1$ax(this.get$_base(), f, $T);
  44759. },
  44760. get$single(_) {
  44761. return J.get$single$ax(this.get$_base());
  44762. },
  44763. skip$1(_, n) {
  44764. return J.skip$1$ax(this.get$_base(), n);
  44765. },
  44766. take$1(_, n) {
  44767. return J.take$1$ax(this.get$_base(), n);
  44768. },
  44769. toList$1$growable(_, growable) {
  44770. return J.toList$1$growable$ax(this.get$_base(), true);
  44771. },
  44772. toList$0(_) {
  44773. return this.toList$1$growable(0, true);
  44774. },
  44775. toSet$0(_) {
  44776. return J.toSet$0$ax(this.get$_base());
  44777. },
  44778. where$1(_, test) {
  44779. return J.where$1$ax(this.get$_base(), test);
  44780. },
  44781. toString$0(_) {
  44782. return J.toString$0$(this.get$_base());
  44783. },
  44784. $isIterable: 1
  44785. };
  44786. A.DelegatingSet.prototype = {
  44787. add$1(_, value) {
  44788. return this._base.add$1(0, value);
  44789. },
  44790. addAll$1(_, elements) {
  44791. this._base.addAll$1(0, elements);
  44792. },
  44793. toSet$0(_) {
  44794. return new A.DelegatingSet(this._base.toSet$0(0), A._instanceType(this)._eval$1("DelegatingSet<1>"));
  44795. },
  44796. $isEfficientLengthIterable: 1,
  44797. $isSet: 1,
  44798. get$_base() {
  44799. return this._base;
  44800. }
  44801. };
  44802. A.MapKeySet.prototype = {
  44803. get$_base() {
  44804. var t1 = this._baseMap;
  44805. return t1.get$keys(t1);
  44806. },
  44807. contains$1(_, element) {
  44808. return this._baseMap.containsKey$1(element);
  44809. },
  44810. get$isEmpty(_) {
  44811. var t1 = this._baseMap;
  44812. return t1.get$isEmpty(t1);
  44813. },
  44814. get$isNotEmpty(_) {
  44815. var t1 = this._baseMap;
  44816. return t1.get$isNotEmpty(t1);
  44817. },
  44818. get$length(_) {
  44819. var t1 = this._baseMap;
  44820. return t1.get$length(t1);
  44821. },
  44822. toString$0(_) {
  44823. return A.Iterable_iterableToFullString(this, "{", "}");
  44824. },
  44825. difference$1(other) {
  44826. return J.where$1$ax(this.get$_base(), new A.MapKeySet_difference_closure(this, other)).toSet$0(0);
  44827. },
  44828. intersection$1(other) {
  44829. return J.where$1$ax(this.get$_base(), other.get$contains(other)).toSet$0(0);
  44830. },
  44831. $isEfficientLengthIterable: 1,
  44832. $isSet: 1
  44833. };
  44834. A.MapKeySet_difference_closure.prototype = {
  44835. call$1(element) {
  44836. return !this.other.contains$1(0, element);
  44837. },
  44838. $signature() {
  44839. return this.$this.$ti._eval$1("bool(1)");
  44840. }
  44841. };
  44842. A._MapKeySet__DelegatingIterableBase_UnmodifiableSetMixin.prototype = {};
  44843. A.BufferModule.prototype = {};
  44844. A.BufferConstants.prototype = {};
  44845. A.Buffer.prototype = {};
  44846. A.ConsoleModule.prototype = {};
  44847. A.Console.prototype = {};
  44848. A.EventEmitter.prototype = {};
  44849. A.FS.prototype = {};
  44850. A.FSConstants.prototype = {};
  44851. A.Realpath.prototype = {};
  44852. A.RealpathSync.prototype = {};
  44853. A.FSWatcher.prototype = {};
  44854. A.ReadStream.prototype = {};
  44855. A.ReadStreamOptions.prototype = {};
  44856. A.WriteStream.prototype = {};
  44857. A.WriteStreamOptions.prototype = {};
  44858. A.FileOptions.prototype = {};
  44859. A.StatOptions.prototype = {};
  44860. A.MkdirOptions.prototype = {};
  44861. A.RmdirOptions.prototype = {};
  44862. A.WatchOptions.prototype = {};
  44863. A.WatchFileOptions.prototype = {};
  44864. A.Stats.prototype = {};
  44865. A.Promise.prototype = {};
  44866. A.Date.prototype = {};
  44867. A.JsError.prototype = {};
  44868. A.Atomics.prototype = {};
  44869. A.Modules.prototype = {};
  44870. A.Module.prototype = {};
  44871. A.Net.prototype = {};
  44872. A.Socket.prototype = {};
  44873. A.NetAddress.prototype = {};
  44874. A.NetServer.prototype = {};
  44875. A.NodeJsError.prototype = {};
  44876. A.JsAssertionError.prototype = {};
  44877. A.JsRangeError.prototype = {};
  44878. A.JsReferenceError.prototype = {};
  44879. A.JsSyntaxError.prototype = {};
  44880. A.JsTypeError.prototype = {};
  44881. A.JsSystemError.prototype = {};
  44882. A.Process.prototype = {};
  44883. A.CPUUsage.prototype = {};
  44884. A.Release.prototype = {};
  44885. A.StreamModule.prototype = {};
  44886. A.Readable.prototype = {};
  44887. A.Writable.prototype = {};
  44888. A.Duplex.prototype = {};
  44889. A.Transform.prototype = {};
  44890. A.WritableOptions.prototype = {};
  44891. A.ReadableOptions.prototype = {};
  44892. A.Immediate.prototype = {};
  44893. A.Timeout.prototype = {};
  44894. A.TTY.prototype = {};
  44895. A.TTYReadStream.prototype = {};
  44896. A.TTYWriteStream.prototype = {};
  44897. A.Util.prototype = {};
  44898. A.promiseToFuture_closure1.prototype = {
  44899. call$1(value) {
  44900. this.completer.complete$1(value);
  44901. },
  44902. $signature: 64
  44903. };
  44904. A.promiseToFuture_closure2.prototype = {
  44905. call$1(error) {
  44906. this.completer.completeError$1(error);
  44907. },
  44908. $signature: 64
  44909. };
  44910. A.futureToPromise_closure.prototype = {
  44911. call$2(resolve, reject) {
  44912. this.future.then$1$2$onError(0, new A.futureToPromise__closure(resolve, this.T), reject, type$.dynamic);
  44913. },
  44914. $signature: 391
  44915. };
  44916. A.futureToPromise__closure.prototype = {
  44917. call$1(result) {
  44918. return this.resolve.call$1(result);
  44919. },
  44920. $signature() {
  44921. return this.T._eval$1("@(0)");
  44922. }
  44923. };
  44924. A.Context.prototype = {
  44925. absolute$15(part1, part2, part3, part4, part5, part6, part7, part8, part9, part10, part11, part12, part13, part14, part15) {
  44926. var t1;
  44927. A._validateArgList("absolute", A._setArrayType([part1, part2, part3, part4, part5, part6, part7, part8, part9, part10, part11, part12, part13, part14, part15], type$.JSArray_nullable_String));
  44928. if (part2 == null) {
  44929. t1 = this.style;
  44930. t1 = t1.rootLength$1(part1) > 0 && !t1.isRootRelative$1(part1);
  44931. } else
  44932. t1 = false;
  44933. if (t1)
  44934. return part1;
  44935. t1 = this._context$_current;
  44936. 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);
  44937. },
  44938. absolute$1(part1) {
  44939. var _null = null;
  44940. return this.absolute$15(part1, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null);
  44941. },
  44942. dirname$1(path) {
  44943. var t1, t2,
  44944. parsed = A.ParsedPath_ParsedPath$parse(path, this.style);
  44945. parsed.removeTrailingSeparators$0();
  44946. t1 = parsed.parts;
  44947. t2 = t1.length;
  44948. if (t2 === 0) {
  44949. t1 = parsed.root;
  44950. return t1 == null ? "." : t1;
  44951. }
  44952. if (t2 === 1) {
  44953. t1 = parsed.root;
  44954. return t1 == null ? "." : t1;
  44955. }
  44956. B.JSArray_methods.removeLast$0(t1);
  44957. parsed.separators.pop();
  44958. parsed.removeTrailingSeparators$0();
  44959. return parsed.toString$0(0);
  44960. },
  44961. join$16(_, part1, part2, part3, part4, part5, part6, part7, part8, part9, part10, part11, part12, part13, part14, part15, part16) {
  44962. var parts = A._setArrayType([part1, part2, part3, part4, part5, part6, part7, part8, part9, part10, part11, part12, part13, part14, part15, part16], type$.JSArray_nullable_String);
  44963. A._validateArgList("join", parts);
  44964. return this.joinAll$1(new A.WhereTypeIterable(parts, type$.WhereTypeIterable_String));
  44965. },
  44966. join$2(_, part1, part2) {
  44967. var _null = null;
  44968. return this.join$16(0, part1, part2, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null);
  44969. },
  44970. joinAll$1(parts) {
  44971. var t1, t2, t3, needsSeparator, isAbsoluteAndNotRootRelative, t4, t5, parsed, path;
  44972. 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();) {
  44973. t5 = t2.get$current(t2);
  44974. if (t3.isRootRelative$1(t5) && isAbsoluteAndNotRootRelative) {
  44975. parsed = A.ParsedPath_ParsedPath$parse(t5, t3);
  44976. path = t4.charCodeAt(0) == 0 ? t4 : t4;
  44977. t4 = B.JSString_methods.substring$2(path, 0, t3.rootLength$2$withDrive(path, true));
  44978. parsed.root = t4;
  44979. if (t3.needsSeparator$1(t4))
  44980. parsed.separators[0] = t3.get$separator(t3);
  44981. t4 = "" + parsed.toString$0(0);
  44982. } else if (t3.rootLength$1(t5) > 0) {
  44983. isAbsoluteAndNotRootRelative = !t3.isRootRelative$1(t5);
  44984. t4 = "" + t5;
  44985. } else {
  44986. if (!(t5.length !== 0 && t3.containsSeparator$1(t5[0])))
  44987. if (needsSeparator)
  44988. t4 += t3.get$separator(t3);
  44989. t4 += t5;
  44990. }
  44991. needsSeparator = t3.needsSeparator$1(t5);
  44992. }
  44993. return t4.charCodeAt(0) == 0 ? t4 : t4;
  44994. },
  44995. split$1(_, path) {
  44996. var parsed = A.ParsedPath_ParsedPath$parse(path, this.style),
  44997. t1 = parsed.parts,
  44998. t2 = A._arrayInstanceType(t1)._eval$1("WhereIterable<1>");
  44999. t1 = A.List_List$_of(new A.WhereIterable(t1, new A.Context_split_closure(), t2), t2._eval$1("Iterable.E"));
  45000. parsed.parts = t1;
  45001. t2 = parsed.root;
  45002. if (t2 != null)
  45003. B.JSArray_methods.insert$2(t1, 0, t2);
  45004. return parsed.parts;
  45005. },
  45006. canonicalize$1(_, path) {
  45007. var t1, parsed;
  45008. path = this.absolute$1(path);
  45009. t1 = this.style;
  45010. if (t1 !== $.$get$Style_windows() && !this._needsNormalization$1(path))
  45011. return path;
  45012. parsed = A.ParsedPath_ParsedPath$parse(path, t1);
  45013. parsed.normalize$1$canonicalize(true);
  45014. return parsed.toString$0(0);
  45015. },
  45016. normalize$1(path) {
  45017. var parsed;
  45018. if (!this._needsNormalization$1(path))
  45019. return path;
  45020. parsed = A.ParsedPath_ParsedPath$parse(path, this.style);
  45021. parsed.normalize$0();
  45022. return parsed.toString$0(0);
  45023. },
  45024. _needsNormalization$1(path) {
  45025. var i, start, previous, t2, t3, previousPrevious, codeUnit, t4,
  45026. t1 = this.style,
  45027. root = t1.rootLength$1(path);
  45028. if (root !== 0) {
  45029. if (t1 === $.$get$Style_windows())
  45030. for (i = 0; i < root; ++i)
  45031. if (path.charCodeAt(i) === 47)
  45032. return true;
  45033. start = root;
  45034. previous = 47;
  45035. } else {
  45036. start = 0;
  45037. previous = null;
  45038. }
  45039. for (t2 = new A.CodeUnits(path)._string, t3 = t2.length, i = start, previousPrevious = null; i < t3; ++i, previousPrevious = previous, previous = codeUnit) {
  45040. codeUnit = t2.charCodeAt(i);
  45041. if (t1.isSeparator$1(codeUnit)) {
  45042. if (t1 === $.$get$Style_windows() && codeUnit === 47)
  45043. return true;
  45044. if (previous != null && t1.isSeparator$1(previous))
  45045. return true;
  45046. if (previous === 46)
  45047. t4 = previousPrevious == null || previousPrevious === 46 || t1.isSeparator$1(previousPrevious);
  45048. else
  45049. t4 = false;
  45050. if (t4)
  45051. return true;
  45052. }
  45053. }
  45054. if (previous == null)
  45055. return true;
  45056. if (t1.isSeparator$1(previous))
  45057. return true;
  45058. if (previous === 46)
  45059. t1 = previousPrevious == null || t1.isSeparator$1(previousPrevious) || previousPrevious === 46;
  45060. else
  45061. t1 = false;
  45062. if (t1)
  45063. return true;
  45064. return false;
  45065. },
  45066. relative$2$from(path, from) {
  45067. var fromParsed, pathParsed, t2, t3, _this = this,
  45068. _s26_ = 'Unable to find a path to "',
  45069. t1 = from == null;
  45070. if (t1 && _this.style.rootLength$1(path) <= 0)
  45071. return _this.normalize$1(path);
  45072. if (t1) {
  45073. t1 = _this._context$_current;
  45074. from = t1 == null ? A.current() : t1;
  45075. } else
  45076. from = _this.absolute$1(from);
  45077. t1 = _this.style;
  45078. if (t1.rootLength$1(from) <= 0 && t1.rootLength$1(path) > 0)
  45079. return _this.normalize$1(path);
  45080. if (t1.rootLength$1(path) <= 0 || t1.isRootRelative$1(path))
  45081. path = _this.absolute$1(path);
  45082. if (t1.rootLength$1(path) <= 0 && t1.rootLength$1(from) > 0)
  45083. throw A.wrapException(A.PathException$(_s26_ + path + '" from "' + from + '".'));
  45084. fromParsed = A.ParsedPath_ParsedPath$parse(from, t1);
  45085. fromParsed.normalize$0();
  45086. pathParsed = A.ParsedPath_ParsedPath$parse(path, t1);
  45087. pathParsed.normalize$0();
  45088. t2 = fromParsed.parts;
  45089. if (t2.length !== 0 && t2[0] === ".")
  45090. return pathParsed.toString$0(0);
  45091. t2 = fromParsed.root;
  45092. t3 = pathParsed.root;
  45093. if (t2 != t3)
  45094. t2 = t2 == null || t3 == null || !t1.pathsEqual$2(t2, t3);
  45095. else
  45096. t2 = false;
  45097. if (t2)
  45098. return pathParsed.toString$0(0);
  45099. while (true) {
  45100. t2 = fromParsed.parts;
  45101. if (t2.length !== 0) {
  45102. t3 = pathParsed.parts;
  45103. t2 = t3.length !== 0 && t1.pathsEqual$2(t2[0], t3[0]);
  45104. } else
  45105. t2 = false;
  45106. if (!t2)
  45107. break;
  45108. B.JSArray_methods.removeAt$1(fromParsed.parts, 0);
  45109. B.JSArray_methods.removeAt$1(fromParsed.separators, 1);
  45110. B.JSArray_methods.removeAt$1(pathParsed.parts, 0);
  45111. B.JSArray_methods.removeAt$1(pathParsed.separators, 1);
  45112. }
  45113. t2 = fromParsed.parts;
  45114. t3 = t2.length;
  45115. if (t3 !== 0 && t2[0] === "..")
  45116. throw A.wrapException(A.PathException$(_s26_ + path + '" from "' + from + '".'));
  45117. t2 = type$.String;
  45118. B.JSArray_methods.insertAll$2(pathParsed.parts, 0, A.List_List$filled(t3, "..", false, t2));
  45119. t3 = pathParsed.separators;
  45120. t3[0] = "";
  45121. B.JSArray_methods.insertAll$2(t3, 1, A.List_List$filled(fromParsed.parts.length, t1.get$separator(t1), false, t2));
  45122. t1 = pathParsed.parts;
  45123. t2 = t1.length;
  45124. if (t2 === 0)
  45125. return ".";
  45126. if (t2 > 1 && J.$eq$(B.JSArray_methods.get$last(t1), ".")) {
  45127. B.JSArray_methods.removeLast$0(pathParsed.parts);
  45128. t1 = pathParsed.separators;
  45129. t1.pop();
  45130. t1.pop();
  45131. t1.push("");
  45132. }
  45133. pathParsed.root = "";
  45134. pathParsed.removeTrailingSeparators$0();
  45135. return pathParsed.toString$0(0);
  45136. },
  45137. relative$1(path) {
  45138. return this.relative$2$from(path, null);
  45139. },
  45140. _isWithinOrEquals$2($parent, child) {
  45141. var relative, t1, parentIsAbsolute, childIsAbsolute, childIsRootRelative, parentIsRootRelative, result, exception, _this = this;
  45142. $parent = $parent;
  45143. child = child;
  45144. t1 = _this.style;
  45145. parentIsAbsolute = t1.rootLength$1($parent) > 0;
  45146. childIsAbsolute = t1.rootLength$1(child) > 0;
  45147. if (parentIsAbsolute && !childIsAbsolute) {
  45148. child = _this.absolute$1(child);
  45149. if (t1.isRootRelative$1($parent))
  45150. $parent = _this.absolute$1($parent);
  45151. } else if (childIsAbsolute && !parentIsAbsolute) {
  45152. $parent = _this.absolute$1($parent);
  45153. if (t1.isRootRelative$1(child))
  45154. child = _this.absolute$1(child);
  45155. } else if (childIsAbsolute && parentIsAbsolute) {
  45156. childIsRootRelative = t1.isRootRelative$1(child);
  45157. parentIsRootRelative = t1.isRootRelative$1($parent);
  45158. if (childIsRootRelative && !parentIsRootRelative)
  45159. child = _this.absolute$1(child);
  45160. else if (parentIsRootRelative && !childIsRootRelative)
  45161. $parent = _this.absolute$1($parent);
  45162. }
  45163. result = _this._isWithinOrEqualsFast$2($parent, child);
  45164. if (result !== B._PathRelation_inconclusive)
  45165. return result;
  45166. relative = null;
  45167. try {
  45168. relative = _this.relative$2$from(child, $parent);
  45169. } catch (exception) {
  45170. if (A.unwrapException(exception) instanceof A.PathException)
  45171. return B._PathRelation_different;
  45172. else
  45173. throw exception;
  45174. }
  45175. if (t1.rootLength$1(relative) > 0)
  45176. return B._PathRelation_different;
  45177. if (J.$eq$(relative, "."))
  45178. return B._PathRelation_equal;
  45179. if (J.$eq$(relative, ".."))
  45180. return B._PathRelation_different;
  45181. 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;
  45182. },
  45183. _isWithinOrEqualsFast$2($parent, child) {
  45184. var t1, parentRootLength, childRootLength, i, t2, t3, childIndex, parentIndex, lastCodeUnit, lastParentSeparator, parentCodeUnit, childCodeUnit, parentIndex0, direction, _this = this;
  45185. if ($parent === ".")
  45186. $parent = "";
  45187. t1 = _this.style;
  45188. parentRootLength = t1.rootLength$1($parent);
  45189. childRootLength = t1.rootLength$1(child);
  45190. if (parentRootLength !== childRootLength)
  45191. return B._PathRelation_different;
  45192. for (i = 0; i < parentRootLength; ++i)
  45193. if (!t1.codeUnitsEqual$2($parent.charCodeAt(i), child.charCodeAt(i)))
  45194. return B._PathRelation_different;
  45195. t2 = child.length;
  45196. t3 = $parent.length;
  45197. childIndex = childRootLength;
  45198. parentIndex = parentRootLength;
  45199. lastCodeUnit = 47;
  45200. lastParentSeparator = null;
  45201. while (true) {
  45202. if (!(parentIndex < t3 && childIndex < t2))
  45203. break;
  45204. c$0: {
  45205. parentCodeUnit = $parent.charCodeAt(parentIndex);
  45206. childCodeUnit = child.charCodeAt(childIndex);
  45207. if (t1.codeUnitsEqual$2(parentCodeUnit, childCodeUnit)) {
  45208. if (t1.isSeparator$1(parentCodeUnit))
  45209. lastParentSeparator = parentIndex;
  45210. ++parentIndex;
  45211. ++childIndex;
  45212. lastCodeUnit = parentCodeUnit;
  45213. break c$0;
  45214. }
  45215. if (t1.isSeparator$1(parentCodeUnit) && t1.isSeparator$1(lastCodeUnit)) {
  45216. parentIndex0 = parentIndex + 1;
  45217. lastParentSeparator = parentIndex;
  45218. parentIndex = parentIndex0;
  45219. break c$0;
  45220. } else if (t1.isSeparator$1(childCodeUnit) && t1.isSeparator$1(lastCodeUnit)) {
  45221. ++childIndex;
  45222. break c$0;
  45223. }
  45224. if (parentCodeUnit === 46 && t1.isSeparator$1(lastCodeUnit)) {
  45225. ++parentIndex;
  45226. if (parentIndex === t3)
  45227. break;
  45228. parentCodeUnit = $parent.charCodeAt(parentIndex);
  45229. if (t1.isSeparator$1(parentCodeUnit)) {
  45230. parentIndex0 = parentIndex + 1;
  45231. lastParentSeparator = parentIndex;
  45232. parentIndex = parentIndex0;
  45233. break c$0;
  45234. }
  45235. if (parentCodeUnit === 46) {
  45236. ++parentIndex;
  45237. if (parentIndex === t3 || t1.isSeparator$1($parent.charCodeAt(parentIndex)))
  45238. return B._PathRelation_inconclusive;
  45239. }
  45240. }
  45241. if (childCodeUnit === 46 && t1.isSeparator$1(lastCodeUnit)) {
  45242. ++childIndex;
  45243. if (childIndex === t2)
  45244. break;
  45245. childCodeUnit = child.charCodeAt(childIndex);
  45246. if (t1.isSeparator$1(childCodeUnit)) {
  45247. ++childIndex;
  45248. break c$0;
  45249. }
  45250. if (childCodeUnit === 46) {
  45251. ++childIndex;
  45252. if (childIndex === t2 || t1.isSeparator$1(child.charCodeAt(childIndex)))
  45253. return B._PathRelation_inconclusive;
  45254. }
  45255. }
  45256. if (_this._pathDirection$2(child, childIndex) !== B._PathDirection_Wme)
  45257. return B._PathRelation_inconclusive;
  45258. if (_this._pathDirection$2($parent, parentIndex) !== B._PathDirection_Wme)
  45259. return B._PathRelation_inconclusive;
  45260. return B._PathRelation_different;
  45261. }
  45262. }
  45263. if (childIndex === t2) {
  45264. if (parentIndex === t3 || t1.isSeparator$1($parent.charCodeAt(parentIndex)))
  45265. lastParentSeparator = parentIndex;
  45266. else if (lastParentSeparator == null)
  45267. lastParentSeparator = Math.max(0, parentRootLength - 1);
  45268. direction = _this._pathDirection$2($parent, lastParentSeparator);
  45269. if (direction === B._PathDirection_dMN)
  45270. return B._PathRelation_equal;
  45271. return direction === B._PathDirection_vgO ? B._PathRelation_inconclusive : B._PathRelation_different;
  45272. }
  45273. direction = _this._pathDirection$2(child, childIndex);
  45274. if (direction === B._PathDirection_dMN)
  45275. return B._PathRelation_equal;
  45276. if (direction === B._PathDirection_vgO)
  45277. return B._PathRelation_inconclusive;
  45278. return t1.isSeparator$1(child.charCodeAt(childIndex)) || t1.isSeparator$1(lastCodeUnit) ? B._PathRelation_within : B._PathRelation_different;
  45279. },
  45280. _pathDirection$2(path, index) {
  45281. var t1, t2, i, depth, reachedRoot, i0, t3;
  45282. for (t1 = path.length, t2 = this.style, i = index, depth = 0, reachedRoot = false; i < t1;) {
  45283. while (true) {
  45284. if (!(i < t1 && t2.isSeparator$1(path.charCodeAt(i))))
  45285. break;
  45286. ++i;
  45287. }
  45288. if (i === t1)
  45289. break;
  45290. i0 = i;
  45291. while (true) {
  45292. if (!(i0 < t1 && !t2.isSeparator$1(path.charCodeAt(i0))))
  45293. break;
  45294. ++i0;
  45295. }
  45296. t3 = i0 - i;
  45297. if (!(t3 === 1 && path.charCodeAt(i) === 46))
  45298. if (t3 === 2 && path.charCodeAt(i) === 46 && path.charCodeAt(i + 1) === 46) {
  45299. --depth;
  45300. if (depth < 0)
  45301. break;
  45302. if (depth === 0)
  45303. reachedRoot = true;
  45304. } else
  45305. ++depth;
  45306. if (i0 === t1)
  45307. break;
  45308. i = i0 + 1;
  45309. }
  45310. if (depth < 0)
  45311. return B._PathDirection_vgO;
  45312. if (depth === 0)
  45313. return B._PathDirection_dMN;
  45314. if (reachedRoot)
  45315. return B._PathDirection_6kc;
  45316. return B._PathDirection_Wme;
  45317. },
  45318. hash$1(path) {
  45319. var result, parsed, t1, _this = this;
  45320. path = _this.absolute$1(path);
  45321. result = _this._hashFast$1(path);
  45322. if (result != null)
  45323. return result;
  45324. parsed = A.ParsedPath_ParsedPath$parse(path, _this.style);
  45325. parsed.normalize$0();
  45326. t1 = _this._hashFast$1(parsed.toString$0(0));
  45327. t1.toString;
  45328. return t1;
  45329. },
  45330. _hashFast$1(path) {
  45331. var t1, t2, hash, beginning, wasSeparator, i, codeUnit, t3, next;
  45332. for (t1 = path.length, t2 = this.style, hash = 4603, beginning = true, wasSeparator = true, i = 0; i < t1; ++i) {
  45333. codeUnit = t2.canonicalizeCodeUnit$1(path.charCodeAt(i));
  45334. if (t2.isSeparator$1(codeUnit)) {
  45335. wasSeparator = true;
  45336. continue;
  45337. }
  45338. if (codeUnit === 46 && wasSeparator) {
  45339. t3 = i + 1;
  45340. if (t3 === t1)
  45341. break;
  45342. next = path.charCodeAt(t3);
  45343. if (t2.isSeparator$1(next))
  45344. continue;
  45345. t3 = false;
  45346. if (!beginning)
  45347. if (next === 46) {
  45348. t3 = i + 2;
  45349. t3 = t3 === t1 || t2.isSeparator$1(path.charCodeAt(t3));
  45350. }
  45351. if (t3)
  45352. return null;
  45353. }
  45354. hash = ((hash & 67108863) * 33 ^ codeUnit) >>> 0;
  45355. beginning = false;
  45356. wasSeparator = false;
  45357. }
  45358. return hash;
  45359. },
  45360. withoutExtension$1(path) {
  45361. var t1, i,
  45362. parsed = A.ParsedPath_ParsedPath$parse(path, this.style);
  45363. for (t1 = parsed.parts, i = t1.length - 1; i >= 0; --i)
  45364. if (t1[i].length !== 0) {
  45365. t1[i] = parsed._splitExtension$0()[0];
  45366. break;
  45367. }
  45368. return parsed.toString$0(0);
  45369. },
  45370. toUri$1(path) {
  45371. var t2,
  45372. t1 = this.style;
  45373. if (t1.rootLength$1(path) <= 0)
  45374. return t1.relativePathToUri$1(path);
  45375. else {
  45376. t2 = this._context$_current;
  45377. return t1.absolutePathToUri$1(this.join$2(0, t2 == null ? A.current() : t2, path));
  45378. }
  45379. },
  45380. prettyUri$1(uri) {
  45381. var path, rel, _this = this,
  45382. typedUri = A._parseUri(uri);
  45383. if (typedUri.get$scheme() === "file" && _this.style === $.$get$Style_url())
  45384. return typedUri.toString$0(0);
  45385. else if (typedUri.get$scheme() !== "file" && typedUri.get$scheme() !== "" && _this.style !== $.$get$Style_url())
  45386. return typedUri.toString$0(0);
  45387. path = _this.normalize$1(_this.style.pathFromUri$1(A._parseUri(typedUri)));
  45388. rel = _this.relative$1(path);
  45389. return _this.split$1(0, rel).length > _this.split$1(0, path).length ? path : rel;
  45390. }
  45391. };
  45392. A.Context_joinAll_closure.prototype = {
  45393. call$1(part) {
  45394. return part !== "";
  45395. },
  45396. $signature: 5
  45397. };
  45398. A.Context_split_closure.prototype = {
  45399. call$1(part) {
  45400. return part.length !== 0;
  45401. },
  45402. $signature: 5
  45403. };
  45404. A._validateArgList_closure.prototype = {
  45405. call$1(arg) {
  45406. return arg == null ? "null" : '"' + arg + '"';
  45407. },
  45408. $signature: 392
  45409. };
  45410. A._PathDirection.prototype = {
  45411. toString$0(_) {
  45412. return this.name;
  45413. }
  45414. };
  45415. A._PathRelation.prototype = {
  45416. toString$0(_) {
  45417. return this.name;
  45418. }
  45419. };
  45420. A.InternalStyle.prototype = {
  45421. getRoot$1(path) {
  45422. var $length = this.rootLength$1(path);
  45423. if ($length > 0)
  45424. return B.JSString_methods.substring$2(path, 0, $length);
  45425. return this.isRootRelative$1(path) ? path[0] : null;
  45426. },
  45427. relativePathToUri$1(path) {
  45428. var segments, _null = null,
  45429. t1 = path.length;
  45430. if (t1 === 0)
  45431. return A._Uri__Uri(_null, _null, _null, _null);
  45432. segments = A.Context_Context(this).split$1(0, path);
  45433. if (this.isSeparator$1(path.charCodeAt(t1 - 1)))
  45434. B.JSArray_methods.add$1(segments, "");
  45435. return A._Uri__Uri(_null, _null, segments, _null);
  45436. },
  45437. codeUnitsEqual$2(codeUnit1, codeUnit2) {
  45438. return codeUnit1 === codeUnit2;
  45439. },
  45440. pathsEqual$2(path1, path2) {
  45441. return path1 === path2;
  45442. },
  45443. canonicalizeCodeUnit$1(codeUnit) {
  45444. return codeUnit;
  45445. },
  45446. canonicalizePart$1(part) {
  45447. return part;
  45448. }
  45449. };
  45450. A.ParsedPath.prototype = {
  45451. get$basename() {
  45452. var _this = this,
  45453. t1 = type$.String,
  45454. 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));
  45455. copy.removeTrailingSeparators$0();
  45456. t1 = copy.parts;
  45457. if (t1.length === 0) {
  45458. t1 = _this.root;
  45459. return t1 == null ? "" : t1;
  45460. }
  45461. return B.JSArray_methods.get$last(t1);
  45462. },
  45463. get$hasTrailingSeparator() {
  45464. var t1 = this.parts;
  45465. if (t1.length !== 0)
  45466. t1 = J.$eq$(B.JSArray_methods.get$last(t1), "") || !J.$eq$(B.JSArray_methods.get$last(this.separators), "");
  45467. else
  45468. t1 = false;
  45469. return t1;
  45470. },
  45471. removeTrailingSeparators$0() {
  45472. var t1, t2, _this = this;
  45473. while (true) {
  45474. t1 = _this.parts;
  45475. if (!(t1.length !== 0 && J.$eq$(B.JSArray_methods.get$last(t1), "")))
  45476. break;
  45477. B.JSArray_methods.removeLast$0(_this.parts);
  45478. _this.separators.pop();
  45479. }
  45480. t1 = _this.separators;
  45481. t2 = t1.length;
  45482. if (t2 !== 0)
  45483. t1[t2 - 1] = "";
  45484. },
  45485. normalize$1$canonicalize(canonicalize) {
  45486. var t1, t2, t3, leadingDoubles, _i, part, _this = this,
  45487. newParts = A._setArrayType([], type$.JSArray_String);
  45488. 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) {
  45489. part = t1[_i];
  45490. if (!(part === "." || part === ""))
  45491. if (part === "..")
  45492. if (newParts.length !== 0)
  45493. newParts.pop();
  45494. else
  45495. ++leadingDoubles;
  45496. else
  45497. newParts.push(canonicalize ? t3.canonicalizePart$1(part) : part);
  45498. }
  45499. if (_this.root == null)
  45500. B.JSArray_methods.insertAll$2(newParts, 0, A.List_List$filled(leadingDoubles, "..", false, type$.String));
  45501. if (newParts.length === 0 && _this.root == null)
  45502. newParts.push(".");
  45503. _this.parts = newParts;
  45504. _this.separators = A.List_List$filled(newParts.length + 1, t3.get$separator(t3), true, type$.String);
  45505. t1 = _this.root;
  45506. if (t1 == null || newParts.length === 0 || !t3.needsSeparator$1(t1))
  45507. _this.separators[0] = "";
  45508. t1 = _this.root;
  45509. if (t1 != null && t3 === $.$get$Style_windows()) {
  45510. if (canonicalize)
  45511. t1 = _this.root = t1.toLowerCase();
  45512. _this.root = A.stringReplaceAllUnchecked(t1, "/", "\\");
  45513. }
  45514. _this.removeTrailingSeparators$0();
  45515. },
  45516. normalize$0() {
  45517. return this.normalize$1$canonicalize(false);
  45518. },
  45519. toString$0(_) {
  45520. var t2, t3, t4, i,
  45521. t1 = this.root;
  45522. t1 = t1 != null ? "" + t1 : "";
  45523. for (t2 = this.parts, t3 = t2.length, t4 = this.separators, i = 0; i < t3; ++i)
  45524. t1 = t1 + t4[i] + t2[i];
  45525. t1 += A.S(B.JSArray_methods.get$last(t4));
  45526. return t1.charCodeAt(0) == 0 ? t1 : t1;
  45527. },
  45528. _kthLastIndexOf$3(path, character, k) {
  45529. var index, count, leftMostIndexedCharacter;
  45530. for (index = path.length - 1, count = 0, leftMostIndexedCharacter = 0; index >= 0; --index)
  45531. if (path[index] === character) {
  45532. ++count;
  45533. if (count === k)
  45534. return index;
  45535. leftMostIndexedCharacter = index;
  45536. }
  45537. return leftMostIndexedCharacter;
  45538. },
  45539. _splitExtension$1(level) {
  45540. var t1, file, lastDot;
  45541. if (level <= 0)
  45542. throw A.wrapException(A.RangeError$value(level, "level", "level's value must be greater than 0"));
  45543. t1 = this.parts;
  45544. t1 = new A.CastList(t1, A._arrayInstanceType(t1)._eval$1("CastList<1,String?>"));
  45545. file = t1.lastWhere$2$orElse(t1, new A.ParsedPath__splitExtension_closure(), new A.ParsedPath__splitExtension_closure0());
  45546. if (file == null)
  45547. return A._setArrayType(["", ""], type$.JSArray_String);
  45548. if (file === "..")
  45549. return A._setArrayType(["..", ""], type$.JSArray_String);
  45550. lastDot = this._kthLastIndexOf$3(file, ".", level);
  45551. if (lastDot <= 0)
  45552. return A._setArrayType([file, ""], type$.JSArray_String);
  45553. return A._setArrayType([B.JSString_methods.substring$2(file, 0, lastDot), B.JSString_methods.substring$1(file, lastDot)], type$.JSArray_String);
  45554. },
  45555. _splitExtension$0() {
  45556. return this._splitExtension$1(1);
  45557. }
  45558. };
  45559. A.ParsedPath__splitExtension_closure.prototype = {
  45560. call$1(p) {
  45561. return p !== "";
  45562. },
  45563. $signature: 271
  45564. };
  45565. A.ParsedPath__splitExtension_closure0.prototype = {
  45566. call$0() {
  45567. return null;
  45568. },
  45569. $signature: 1
  45570. };
  45571. A.PathException.prototype = {
  45572. toString$0(_) {
  45573. return "PathException: " + this.message;
  45574. },
  45575. $isException: 1,
  45576. get$message(receiver) {
  45577. return this.message;
  45578. }
  45579. };
  45580. A.PathMap.prototype = {};
  45581. A.PathMap__create_closure.prototype = {
  45582. call$2(path1, path2) {
  45583. if (path1 == null)
  45584. return path2 == null;
  45585. if (path2 == null)
  45586. return false;
  45587. return this._box_0.context._isWithinOrEquals$2(path1, path2) === B._PathRelation_equal;
  45588. },
  45589. $signature: 450
  45590. };
  45591. A.PathMap__create_closure0.prototype = {
  45592. call$1(path) {
  45593. return path == null ? 0 : this._box_0.context.hash$1(path);
  45594. },
  45595. $signature: 470
  45596. };
  45597. A.PathMap__create_closure1.prototype = {
  45598. call$1(path) {
  45599. return typeof path == "string" || path == null;
  45600. },
  45601. $signature: 482
  45602. };
  45603. A.Style.prototype = {
  45604. toString$0(_) {
  45605. return this.get$name(this);
  45606. }
  45607. };
  45608. A.PosixStyle.prototype = {
  45609. containsSeparator$1(path) {
  45610. return B.JSString_methods.contains$1(path, "/");
  45611. },
  45612. isSeparator$1(codeUnit) {
  45613. return codeUnit === 47;
  45614. },
  45615. needsSeparator$1(path) {
  45616. var t1 = path.length;
  45617. return t1 !== 0 && path.charCodeAt(t1 - 1) !== 47;
  45618. },
  45619. rootLength$2$withDrive(path, withDrive) {
  45620. if (path.length !== 0 && path.charCodeAt(0) === 47)
  45621. return 1;
  45622. return 0;
  45623. },
  45624. rootLength$1(path) {
  45625. return this.rootLength$2$withDrive(path, false);
  45626. },
  45627. isRootRelative$1(path) {
  45628. return false;
  45629. },
  45630. pathFromUri$1(uri) {
  45631. var t1;
  45632. if (uri.get$scheme() === "" || uri.get$scheme() === "file") {
  45633. t1 = uri.get$path(uri);
  45634. return A._Uri__uriDecode(t1, 0, t1.length, B.C_Utf8Codec, false);
  45635. }
  45636. throw A.wrapException(A.ArgumentError$("Uri " + uri.toString$0(0) + " must have scheme 'file:'.", null));
  45637. },
  45638. absolutePathToUri$1(path) {
  45639. var parsed = A.ParsedPath_ParsedPath$parse(path, this),
  45640. t1 = parsed.parts;
  45641. if (t1.length === 0)
  45642. B.JSArray_methods.addAll$1(t1, A._setArrayType(["", ""], type$.JSArray_String));
  45643. else if (parsed.get$hasTrailingSeparator())
  45644. B.JSArray_methods.add$1(parsed.parts, "");
  45645. return A._Uri__Uri(null, null, parsed.parts, "file");
  45646. },
  45647. get$name() {
  45648. return "posix";
  45649. },
  45650. get$separator() {
  45651. return "/";
  45652. }
  45653. };
  45654. A.UrlStyle.prototype = {
  45655. containsSeparator$1(path) {
  45656. return B.JSString_methods.contains$1(path, "/");
  45657. },
  45658. isSeparator$1(codeUnit) {
  45659. return codeUnit === 47;
  45660. },
  45661. needsSeparator$1(path) {
  45662. var t1 = path.length;
  45663. if (t1 === 0)
  45664. return false;
  45665. if (path.charCodeAt(t1 - 1) !== 47)
  45666. return true;
  45667. return B.JSString_methods.endsWith$1(path, "://") && this.rootLength$1(path) === t1;
  45668. },
  45669. rootLength$2$withDrive(path, withDrive) {
  45670. var i, codeUnit, index,
  45671. t1 = path.length;
  45672. if (t1 === 0)
  45673. return 0;
  45674. if (path.charCodeAt(0) === 47)
  45675. return 1;
  45676. for (i = 0; i < t1; ++i) {
  45677. codeUnit = path.charCodeAt(i);
  45678. if (codeUnit === 47)
  45679. return 0;
  45680. if (codeUnit === 58) {
  45681. if (i === 0)
  45682. return 0;
  45683. index = B.JSString_methods.indexOf$2(path, "/", B.JSString_methods.startsWith$2(path, "//", i + 1) ? i + 3 : i);
  45684. if (index <= 0)
  45685. return t1;
  45686. if (!withDrive || t1 < index + 3)
  45687. return index;
  45688. if (!B.JSString_methods.startsWith$1(path, "file://"))
  45689. return index;
  45690. t1 = A.driveLetterEnd(path, index + 1);
  45691. return t1 == null ? index : t1;
  45692. }
  45693. }
  45694. return 0;
  45695. },
  45696. rootLength$1(path) {
  45697. return this.rootLength$2$withDrive(path, false);
  45698. },
  45699. isRootRelative$1(path) {
  45700. return path.length !== 0 && path.charCodeAt(0) === 47;
  45701. },
  45702. pathFromUri$1(uri) {
  45703. return uri.toString$0(0);
  45704. },
  45705. relativePathToUri$1(path) {
  45706. return A.Uri_parse(path);
  45707. },
  45708. absolutePathToUri$1(path) {
  45709. return A.Uri_parse(path);
  45710. },
  45711. get$name() {
  45712. return "url";
  45713. },
  45714. get$separator() {
  45715. return "/";
  45716. }
  45717. };
  45718. A.WindowsStyle.prototype = {
  45719. containsSeparator$1(path) {
  45720. return B.JSString_methods.contains$1(path, "/");
  45721. },
  45722. isSeparator$1(codeUnit) {
  45723. return codeUnit === 47 || codeUnit === 92;
  45724. },
  45725. needsSeparator$1(path) {
  45726. var t1 = path.length;
  45727. if (t1 === 0)
  45728. return false;
  45729. t1 = path.charCodeAt(t1 - 1);
  45730. return !(t1 === 47 || t1 === 92);
  45731. },
  45732. rootLength$2$withDrive(path, withDrive) {
  45733. var index,
  45734. t1 = path.length;
  45735. if (t1 === 0)
  45736. return 0;
  45737. if (path.charCodeAt(0) === 47)
  45738. return 1;
  45739. if (path.charCodeAt(0) === 92) {
  45740. if (t1 < 2 || path.charCodeAt(1) !== 92)
  45741. return 1;
  45742. index = B.JSString_methods.indexOf$2(path, "\\", 2);
  45743. if (index > 0) {
  45744. index = B.JSString_methods.indexOf$2(path, "\\", index + 1);
  45745. if (index > 0)
  45746. return index;
  45747. }
  45748. return t1;
  45749. }
  45750. if (t1 < 3)
  45751. return 0;
  45752. if (!A.isAlphabetic(path.charCodeAt(0)))
  45753. return 0;
  45754. if (path.charCodeAt(1) !== 58)
  45755. return 0;
  45756. t1 = path.charCodeAt(2);
  45757. if (!(t1 === 47 || t1 === 92))
  45758. return 0;
  45759. return 3;
  45760. },
  45761. rootLength$1(path) {
  45762. return this.rootLength$2$withDrive(path, false);
  45763. },
  45764. isRootRelative$1(path) {
  45765. return this.rootLength$1(path) === 1;
  45766. },
  45767. pathFromUri$1(uri) {
  45768. var path, t1;
  45769. if (uri.get$scheme() !== "" && uri.get$scheme() !== "file")
  45770. throw A.wrapException(A.ArgumentError$("Uri " + uri.toString$0(0) + " must have scheme 'file:'.", null));
  45771. path = uri.get$path(uri);
  45772. if (uri.get$host() === "") {
  45773. if (path.length >= 3 && B.JSString_methods.startsWith$1(path, "/") && A.driveLetterEnd(path, 1) != null)
  45774. path = B.JSString_methods.replaceFirst$2(path, "/", "");
  45775. } else
  45776. path = "\\\\" + uri.get$host() + path;
  45777. t1 = A.stringReplaceAllUnchecked(path, "/", "\\");
  45778. return A._Uri__uriDecode(t1, 0, t1.length, B.C_Utf8Codec, false);
  45779. },
  45780. absolutePathToUri$1(path) {
  45781. var rootParts, t2,
  45782. parsed = A.ParsedPath_ParsedPath$parse(path, this),
  45783. t1 = parsed.root;
  45784. t1.toString;
  45785. if (B.JSString_methods.startsWith$1(t1, "\\\\")) {
  45786. rootParts = new A.WhereIterable(A._setArrayType(t1.split("\\"), type$.JSArray_String), new A.WindowsStyle_absolutePathToUri_closure(), type$.WhereIterable_String);
  45787. B.JSArray_methods.insert$2(parsed.parts, 0, rootParts.get$last(0));
  45788. if (parsed.get$hasTrailingSeparator())
  45789. B.JSArray_methods.add$1(parsed.parts, "");
  45790. return A._Uri__Uri(rootParts.get$first(0), null, parsed.parts, "file");
  45791. } else {
  45792. if (parsed.parts.length === 0 || parsed.get$hasTrailingSeparator())
  45793. B.JSArray_methods.add$1(parsed.parts, "");
  45794. t1 = parsed.parts;
  45795. t2 = parsed.root;
  45796. t2.toString;
  45797. t2 = A.stringReplaceAllUnchecked(t2, "/", "");
  45798. B.JSArray_methods.insert$2(t1, 0, A.stringReplaceAllUnchecked(t2, "\\", ""));
  45799. return A._Uri__Uri(null, null, parsed.parts, "file");
  45800. }
  45801. },
  45802. codeUnitsEqual$2(codeUnit1, codeUnit2) {
  45803. var upperCase1;
  45804. if (codeUnit1 === codeUnit2)
  45805. return true;
  45806. if (codeUnit1 === 47)
  45807. return codeUnit2 === 92;
  45808. if (codeUnit1 === 92)
  45809. return codeUnit2 === 47;
  45810. if ((codeUnit1 ^ codeUnit2) !== 32)
  45811. return false;
  45812. upperCase1 = codeUnit1 | 32;
  45813. return upperCase1 >= 97 && upperCase1 <= 122;
  45814. },
  45815. pathsEqual$2(path1, path2) {
  45816. var t1, i;
  45817. if (path1 === path2)
  45818. return true;
  45819. t1 = path1.length;
  45820. if (t1 !== path2.length)
  45821. return false;
  45822. for (i = 0; i < t1; ++i)
  45823. if (!this.codeUnitsEqual$2(path1.charCodeAt(i), path2.charCodeAt(i)))
  45824. return false;
  45825. return true;
  45826. },
  45827. canonicalizeCodeUnit$1(codeUnit) {
  45828. if (codeUnit === 47)
  45829. return 92;
  45830. if (codeUnit < 65)
  45831. return codeUnit;
  45832. if (codeUnit > 90)
  45833. return codeUnit;
  45834. return codeUnit | 32;
  45835. },
  45836. canonicalizePart$1(part) {
  45837. return part.toLowerCase();
  45838. },
  45839. get$name() {
  45840. return "windows";
  45841. },
  45842. get$separator() {
  45843. return "\\";
  45844. }
  45845. };
  45846. A.WindowsStyle_absolutePathToUri_closure.prototype = {
  45847. call$1(part) {
  45848. return part !== "";
  45849. },
  45850. $signature: 5
  45851. };
  45852. A.Version.prototype = {
  45853. get$min() {
  45854. return this;
  45855. },
  45856. get$max() {
  45857. return this;
  45858. },
  45859. get$includeMin() {
  45860. return true;
  45861. },
  45862. get$includeMax() {
  45863. return true;
  45864. },
  45865. $eq(_, other) {
  45866. var _this = this;
  45867. if (other == null)
  45868. return false;
  45869. 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);
  45870. },
  45871. get$hashCode(_) {
  45872. var _this = this;
  45873. return (_this.major ^ _this.minor ^ _this.patch ^ B.C_IterableEquality.hash$1(_this.preRelease) ^ B.C_IterableEquality.hash$1(_this.build)) >>> 0;
  45874. },
  45875. compareTo$1(_, other) {
  45876. var t1, t2, t3, comparison, _this = this;
  45877. if (other instanceof A.Version) {
  45878. t1 = _this.major;
  45879. t2 = other.major;
  45880. if (t1 !== t2)
  45881. return B.JSInt_methods.compareTo$1(t1, t2);
  45882. t1 = _this.minor;
  45883. t2 = other.minor;
  45884. if (t1 !== t2)
  45885. return B.JSInt_methods.compareTo$1(t1, t2);
  45886. t1 = _this.patch;
  45887. t2 = other.patch;
  45888. if (t1 !== t2)
  45889. return B.JSInt_methods.compareTo$1(t1, t2);
  45890. t1 = _this.preRelease;
  45891. t2 = t1.length === 0;
  45892. if (t2 && other.preRelease.length !== 0)
  45893. return 1;
  45894. t3 = other.preRelease;
  45895. if (t3.length === 0 && !t2)
  45896. return -1;
  45897. comparison = _this._compareLists$2(t1, t3);
  45898. if (comparison !== 0)
  45899. return comparison;
  45900. t1 = _this.build;
  45901. t2 = t1.length === 0;
  45902. if (t2 && other.build.length !== 0)
  45903. return -1;
  45904. t3 = other.build;
  45905. if (t3.length === 0 && !t2)
  45906. return 1;
  45907. return _this._compareLists$2(t1, t3);
  45908. } else
  45909. return -other.compareTo$1(0, _this);
  45910. },
  45911. toString$0(_) {
  45912. return this._version$_text;
  45913. },
  45914. _compareLists$2(a, b) {
  45915. var i, t1, t2, aPart, bPart;
  45916. for (i = 0; t1 = a.length, t2 = b.length, i < Math.max(t1, t2); ++i) {
  45917. aPart = i < t1 ? a[i] : null;
  45918. bPart = i < t2 ? b[i] : null;
  45919. if (J.$eq$(aPart, bPart))
  45920. continue;
  45921. if (aPart == null)
  45922. return -1;
  45923. if (bPart == null)
  45924. return 1;
  45925. if (typeof aPart == "number")
  45926. if (typeof bPart == "number")
  45927. return B.JSNumber_methods.compareTo$1(aPart, bPart);
  45928. else
  45929. return -1;
  45930. else if (typeof bPart == "number")
  45931. return 1;
  45932. else {
  45933. A._asString(aPart);
  45934. A._asString(bPart);
  45935. if (aPart === bPart)
  45936. t1 = 0;
  45937. else
  45938. t1 = aPart < bPart ? -1 : 1;
  45939. return t1;
  45940. }
  45941. }
  45942. return 0;
  45943. },
  45944. $isComparable: 1,
  45945. $isVersionRange: 1
  45946. };
  45947. A.Version__splitParts_closure.prototype = {
  45948. call$1(part) {
  45949. var t1 = A.Primitives_parseInt(part, null);
  45950. return t1 == null ? part : t1;
  45951. },
  45952. $signature: 596
  45953. };
  45954. A.VersionRange.prototype = {
  45955. $eq(_, other) {
  45956. var t1;
  45957. if (other == null)
  45958. return false;
  45959. if (!type$.VersionRange._is(other))
  45960. return false;
  45961. t1 = false;
  45962. if (this.min == other.get$min())
  45963. if (J.$eq$(this.max, other.get$max())) {
  45964. t1 = !other.get$includeMin();
  45965. if (t1)
  45966. other.get$includeMax();
  45967. }
  45968. return t1;
  45969. },
  45970. get$hashCode(_) {
  45971. var t1 = B.JSNull_methods.get$hashCode(this.min),
  45972. t2 = J.get$hashCode$(this.max);
  45973. return (t1 ^ t2 * 3 ^ 1090795 ^ 3633126) >>> 0;
  45974. },
  45975. allows$1(other) {
  45976. var t1 = this.max;
  45977. if (t1 != null)
  45978. if (other.compareTo$1(0, t1) > 0)
  45979. return false;
  45980. return true;
  45981. },
  45982. compareTo$1(_, other) {
  45983. if (other.get$min() == null)
  45984. return this._compareMax$1(other);
  45985. return -1;
  45986. },
  45987. _compareMax$1(other) {
  45988. var t2, result,
  45989. t1 = this.max;
  45990. if (t1 == null) {
  45991. if (other.get$max() == null)
  45992. return 0;
  45993. return 1;
  45994. } else if (other.get$max() == null)
  45995. return -1;
  45996. t2 = other.get$max();
  45997. t2.toString;
  45998. result = t1.compareTo$1(0, t2);
  45999. if (result !== 0)
  46000. return result;
  46001. other.get$includeMax();
  46002. return 0;
  46003. },
  46004. toString$0(_) {
  46005. var t2,
  46006. max = this.max,
  46007. t1 = max == null;
  46008. if (!t1)
  46009. t2 = "" + "<=" + max.toString$0(0);
  46010. else
  46011. t2 = "";
  46012. t1 = t1 ? t2 + "any" : t2;
  46013. return t1.charCodeAt(0) == 0 ? t1 : t1;
  46014. },
  46015. $isComparable: 1,
  46016. get$min() {
  46017. return this.min;
  46018. },
  46019. get$max() {
  46020. return this.max;
  46021. },
  46022. get$includeMin() {
  46023. return this.includeMin;
  46024. },
  46025. get$includeMax() {
  46026. return this.includeMax;
  46027. }
  46028. };
  46029. A.CssMediaQuery.prototype = {
  46030. merge$1(other) {
  46031. 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";
  46032. if (!_this.conjunction || !other.conjunction)
  46033. return B._SingletonCssMediaQueryMergeResult_1;
  46034. t1 = _this.modifier;
  46035. ourModifier = t1 == null ? _null : t1.toLowerCase();
  46036. t2 = _this.type;
  46037. t3 = t2 == null;
  46038. ourType = t3 ? _null : t2.toLowerCase();
  46039. t4 = other.modifier;
  46040. theirModifier = t4 == null ? _null : t4.toLowerCase();
  46041. t5 = other.type;
  46042. t6 = t5 == null;
  46043. theirType = t6 ? _null : t5.toLowerCase();
  46044. t7 = ourType == null;
  46045. if (t7 && theirType == null) {
  46046. t1 = A.List_List$_of(_this.conditions, type$.String);
  46047. B.JSArray_methods.addAll$1(t1, other.conditions);
  46048. return new A.MediaQuerySuccessfulMergeResult(A.CssMediaQuery$condition(t1, true));
  46049. }
  46050. t8 = ourModifier === "not";
  46051. if (t8 !== (theirModifier === "not")) {
  46052. if (ourType == theirType) {
  46053. negativeConditions = t8 ? _this.conditions : other.conditions;
  46054. if (B.JSArray_methods.every$1(negativeConditions, B.JSArray_methods.get$contains(t8 ? other.conditions : _this.conditions)))
  46055. return B._SingletonCssMediaQueryMergeResult_0;
  46056. else
  46057. return B._SingletonCssMediaQueryMergeResult_1;
  46058. } else if (t3 || A.equalsIgnoreCase(t2, _s3_) || t6 || A.equalsIgnoreCase(t5, _s3_))
  46059. return B._SingletonCssMediaQueryMergeResult_1;
  46060. if (t8) {
  46061. conditions = other.conditions;
  46062. type = theirType;
  46063. modifier = theirModifier;
  46064. } else {
  46065. conditions = _this.conditions;
  46066. type = ourType;
  46067. modifier = ourModifier;
  46068. }
  46069. } else if (t8) {
  46070. if (ourType != theirType)
  46071. return B._SingletonCssMediaQueryMergeResult_1;
  46072. fewerConditions = _this.conditions;
  46073. fewerConditions0 = other.conditions;
  46074. t3 = fewerConditions.length > fewerConditions0.length;
  46075. moreConditions = t3 ? fewerConditions : fewerConditions0;
  46076. if (t3)
  46077. fewerConditions = fewerConditions0;
  46078. if (!B.JSArray_methods.every$1(fewerConditions, B.JSArray_methods.get$contains(moreConditions)))
  46079. return B._SingletonCssMediaQueryMergeResult_1;
  46080. conditions = moreConditions;
  46081. type = ourType;
  46082. modifier = ourModifier;
  46083. } else if (t3 || A.equalsIgnoreCase(t2, _s3_)) {
  46084. type = (t6 || A.equalsIgnoreCase(t5, _s3_)) && t7 ? _null : theirType;
  46085. t3 = A.List_List$_of(_this.conditions, type$.String);
  46086. B.JSArray_methods.addAll$1(t3, other.conditions);
  46087. conditions = t3;
  46088. modifier = theirModifier;
  46089. } else {
  46090. if (t6 || A.equalsIgnoreCase(t5, _s3_)) {
  46091. t3 = A.List_List$_of(_this.conditions, type$.String);
  46092. B.JSArray_methods.addAll$1(t3, other.conditions);
  46093. conditions = t3;
  46094. modifier = ourModifier;
  46095. } else {
  46096. if (ourType != theirType)
  46097. return B._SingletonCssMediaQueryMergeResult_0;
  46098. else {
  46099. modifier = ourModifier == null ? theirModifier : ourModifier;
  46100. t3 = A.List_List$_of(_this.conditions, type$.String);
  46101. B.JSArray_methods.addAll$1(t3, other.conditions);
  46102. }
  46103. conditions = t3;
  46104. }
  46105. type = ourType;
  46106. }
  46107. t2 = type == ourType ? t2 : t5;
  46108. return new A.MediaQuerySuccessfulMergeResult(A.CssMediaQuery$type(t2, conditions, modifier == ourModifier ? t1 : t4));
  46109. },
  46110. $eq(_, other) {
  46111. if (other == null)
  46112. return false;
  46113. return other instanceof A.CssMediaQuery && other.modifier == this.modifier && other.type == this.type && B.C_ListEquality.equals$2(0, other.conditions, this.conditions);
  46114. },
  46115. get$hashCode(_) {
  46116. return J.get$hashCode$(this.modifier) ^ J.get$hashCode$(this.type) ^ B.C_ListEquality0.hash$1(this.conditions);
  46117. },
  46118. toString$0(_) {
  46119. var t2, _this = this,
  46120. t1 = _this.modifier;
  46121. t1 = t1 != null ? "" + (t1 + " ") : "";
  46122. t2 = _this.type;
  46123. if (t2 != null) {
  46124. t1 += t2;
  46125. if (_this.conditions.length !== 0)
  46126. t1 += " and ";
  46127. }
  46128. t2 = _this.conjunction ? " and " : " or ";
  46129. t2 = t1 + B.JSArray_methods.join$1(_this.conditions, t2);
  46130. return t2.charCodeAt(0) == 0 ? t2 : t2;
  46131. }
  46132. };
  46133. A._SingletonCssMediaQueryMergeResult.prototype = {
  46134. _enumToString$0() {
  46135. return "_SingletonCssMediaQueryMergeResult." + this._name;
  46136. }
  46137. };
  46138. A.MediaQuerySuccessfulMergeResult.prototype = {
  46139. toString$0(_) {
  46140. return this.query.toString$0(0);
  46141. }
  46142. };
  46143. A.ModifiableCssAtRule.prototype = {
  46144. accept$1$1(visitor) {
  46145. return visitor.visitCssAtRule$1(this);
  46146. },
  46147. accept$1(visitor) {
  46148. return this.accept$1$1(visitor, type$.dynamic);
  46149. },
  46150. equalsIgnoringChildren$1(other) {
  46151. var t1, t2;
  46152. if (other instanceof A.ModifiableCssAtRule) {
  46153. t1 = this.name;
  46154. t2 = other.name;
  46155. t1 = t1.$ti._is(t2) && J.$eq$(t2.value, t1.value) && J.$eq$(this.value, other.value) && this.isChildless === other.isChildless;
  46156. } else
  46157. t1 = false;
  46158. return t1;
  46159. },
  46160. copyWithoutChildren$0() {
  46161. var _this = this;
  46162. return A.ModifiableCssAtRule$(_this.name, _this.span, _this.isChildless, _this.value);
  46163. },
  46164. addChild$1(child) {
  46165. this.super$ModifiableCssParentNode$addChild(child);
  46166. },
  46167. get$isChildless() {
  46168. return this.isChildless;
  46169. },
  46170. get$span(receiver) {
  46171. return this.span;
  46172. }
  46173. };
  46174. A.ModifiableCssComment.prototype = {
  46175. accept$1$1(visitor) {
  46176. return visitor.visitCssComment$1(this);
  46177. },
  46178. accept$1(visitor) {
  46179. return this.accept$1$1(visitor, type$.dynamic);
  46180. },
  46181. $isCssComment: 1,
  46182. get$span(receiver) {
  46183. return this.span;
  46184. }
  46185. };
  46186. A.ModifiableCssDeclaration.prototype = {
  46187. accept$1$1(visitor) {
  46188. return visitor.visitCssDeclaration$1(this);
  46189. },
  46190. accept$1(visitor) {
  46191. return this.accept$1$1(visitor, type$.dynamic);
  46192. },
  46193. toString$0(_) {
  46194. return this.name.toString$0(0) + ": " + this.value.toString$0(0) + ";";
  46195. },
  46196. get$span(receiver) {
  46197. return this.span;
  46198. }
  46199. };
  46200. A.ModifiableCssImport.prototype = {
  46201. accept$1$1(visitor) {
  46202. return visitor.visitCssImport$1(this);
  46203. },
  46204. accept$1(visitor) {
  46205. return this.accept$1$1(visitor, type$.dynamic);
  46206. },
  46207. get$span(receiver) {
  46208. return this.span;
  46209. }
  46210. };
  46211. A.ModifiableCssKeyframeBlock.prototype = {
  46212. accept$1$1(visitor) {
  46213. return visitor.visitCssKeyframeBlock$1(this);
  46214. },
  46215. accept$1(visitor) {
  46216. return this.accept$1$1(visitor, type$.dynamic);
  46217. },
  46218. equalsIgnoringChildren$1(other) {
  46219. return other instanceof A.ModifiableCssKeyframeBlock && B.C_ListEquality.equals$2(0, this.selector.value, other.selector.value);
  46220. },
  46221. copyWithoutChildren$0() {
  46222. return A.ModifiableCssKeyframeBlock$(this.selector, this.span);
  46223. },
  46224. get$span(receiver) {
  46225. return this.span;
  46226. }
  46227. };
  46228. A.ModifiableCssMediaRule.prototype = {
  46229. accept$1$1(visitor) {
  46230. return visitor.visitCssMediaRule$1(this);
  46231. },
  46232. accept$1(visitor) {
  46233. return this.accept$1$1(visitor, type$.dynamic);
  46234. },
  46235. equalsIgnoringChildren$1(other) {
  46236. return other instanceof A.ModifiableCssMediaRule && B.C_ListEquality.equals$2(0, this.queries, other.queries);
  46237. },
  46238. copyWithoutChildren$0() {
  46239. return A.ModifiableCssMediaRule$(this.queries, this.span);
  46240. },
  46241. get$span(receiver) {
  46242. return this.span;
  46243. }
  46244. };
  46245. A.ModifiableCssNode.prototype = {
  46246. get$parent(_) {
  46247. return this._parent;
  46248. },
  46249. get$hasFollowingSibling() {
  46250. var t2,
  46251. t1 = this._parent;
  46252. if (t1 == null)
  46253. t1 = null;
  46254. else {
  46255. t1 = t1.children;
  46256. t2 = this._indexInParent;
  46257. t2.toString;
  46258. t1 = A.SubListIterable$(t1, t2 + 1, null, t1.$ti._eval$1("ListBase.E")).any$1(0, new A.ModifiableCssNode_hasFollowingSibling_closure());
  46259. }
  46260. return t1 === true;
  46261. },
  46262. get$isGroupEnd() {
  46263. return this.isGroupEnd;
  46264. }
  46265. };
  46266. A.ModifiableCssNode_hasFollowingSibling_closure.prototype = {
  46267. call$1(sibling) {
  46268. return !sibling.accept$1(B._IsInvisibleVisitor_true_false);
  46269. },
  46270. $signature: 325
  46271. };
  46272. A.ModifiableCssParentNode.prototype = {
  46273. get$isChildless() {
  46274. return false;
  46275. },
  46276. addChild$1(child) {
  46277. var t1;
  46278. child._parent = this;
  46279. t1 = this._children;
  46280. child._indexInParent = t1.length;
  46281. t1.push(child);
  46282. },
  46283. clearChildren$0() {
  46284. var t1, t2, _i, child;
  46285. for (t1 = this._children, t2 = t1.length, _i = 0; _i < t2; ++_i) {
  46286. child = t1[_i];
  46287. child._indexInParent = child._parent = null;
  46288. }
  46289. B.JSArray_methods.clear$0(t1);
  46290. },
  46291. $isCssParentNode: 1,
  46292. get$children(receiver) {
  46293. return this.children;
  46294. }
  46295. };
  46296. A.ModifiableCssStyleRule.prototype = {
  46297. accept$1$1(visitor) {
  46298. return visitor.visitCssStyleRule$1(this);
  46299. },
  46300. accept$1(visitor) {
  46301. return this.accept$1$1(visitor, type$.dynamic);
  46302. },
  46303. equalsIgnoringChildren$1(other) {
  46304. var t1;
  46305. if (other instanceof A.ModifiableCssStyleRule)
  46306. t1 = B.C_ListEquality.equals$2(0, other._style_rule$_selector._box$_inner.value.components, this._style_rule$_selector._box$_inner.value.components);
  46307. else
  46308. t1 = false;
  46309. return t1;
  46310. },
  46311. copyWithoutChildren$0() {
  46312. return A.ModifiableCssStyleRule$(this._style_rule$_selector, this.span, false, this.originalSelector);
  46313. },
  46314. $isCssStyleRule: 1,
  46315. get$span(receiver) {
  46316. return this.span;
  46317. }
  46318. };
  46319. A.ModifiableCssStylesheet.prototype = {
  46320. accept$1$1(visitor) {
  46321. return visitor.visitCssStylesheet$1(this);
  46322. },
  46323. accept$1(visitor) {
  46324. return this.accept$1$1(visitor, type$.dynamic);
  46325. },
  46326. equalsIgnoringChildren$1(other) {
  46327. return other instanceof A.ModifiableCssStylesheet;
  46328. },
  46329. copyWithoutChildren$0() {
  46330. return A.ModifiableCssStylesheet$(this.span);
  46331. },
  46332. $isCssStylesheet: 1,
  46333. get$span(receiver) {
  46334. return this.span;
  46335. }
  46336. };
  46337. A.ModifiableCssSupportsRule.prototype = {
  46338. accept$1$1(visitor) {
  46339. return visitor.visitCssSupportsRule$1(this);
  46340. },
  46341. accept$1(visitor) {
  46342. return this.accept$1$1(visitor, type$.dynamic);
  46343. },
  46344. equalsIgnoringChildren$1(other) {
  46345. var t1, t2;
  46346. if (other instanceof A.ModifiableCssSupportsRule) {
  46347. t1 = this.condition;
  46348. t2 = other.condition;
  46349. t1 = t1.$ti._is(t2) && J.$eq$(t2.value, t1.value);
  46350. } else
  46351. t1 = false;
  46352. return t1;
  46353. },
  46354. copyWithoutChildren$0() {
  46355. return A.ModifiableCssSupportsRule$(this.condition, this.span);
  46356. },
  46357. get$span(receiver) {
  46358. return this.span;
  46359. }
  46360. };
  46361. A.CssNode.prototype = {
  46362. toString$0(_) {
  46363. var _null = null;
  46364. return A.serialize(this, true, _null, true, _null, _null, false, _null, true)._0;
  46365. },
  46366. $isAstNode: 1
  46367. };
  46368. A.CssParentNode.prototype = {};
  46369. A._IsInvisibleVisitor.prototype = {
  46370. visitCssAtRule$1(rule) {
  46371. return false;
  46372. },
  46373. visitCssComment$1(comment) {
  46374. return this.includeComments && comment.text.charCodeAt(2) !== 33;
  46375. },
  46376. visitCssStyleRule$1(rule) {
  46377. var t1 = rule._style_rule$_selector._box$_inner;
  46378. return (this.includeBogus ? t1.value.accept$1(B._IsInvisibleVisitor_true) : t1.value.accept$1(B._IsInvisibleVisitor_false)) || this.super$EveryCssVisitor$visitCssStyleRule(rule);
  46379. }
  46380. };
  46381. A.__IsInvisibleVisitor_Object_EveryCssVisitor.prototype = {};
  46382. A.CssStylesheet.prototype = {
  46383. get$parent(_) {
  46384. return null;
  46385. },
  46386. get$isGroupEnd() {
  46387. return false;
  46388. },
  46389. get$isChildless() {
  46390. return false;
  46391. },
  46392. accept$1$1(visitor) {
  46393. return visitor.visitCssStylesheet$1(this);
  46394. },
  46395. accept$1(visitor) {
  46396. return this.accept$1$1(visitor, type$.dynamic);
  46397. },
  46398. get$children(receiver) {
  46399. return this.children;
  46400. },
  46401. get$span(receiver) {
  46402. return this.span;
  46403. }
  46404. };
  46405. A.CssValue.prototype = {
  46406. $eq(_, other) {
  46407. if (other == null)
  46408. return false;
  46409. return this.$ti._is(other) && J.$eq$(other.value, this.value);
  46410. },
  46411. get$hashCode(_) {
  46412. return J.get$hashCode$(this.value);
  46413. },
  46414. toString$0(_) {
  46415. return J.toString$0$(this.value);
  46416. },
  46417. $isAstNode: 1,
  46418. get$span(receiver) {
  46419. return this.span;
  46420. }
  46421. };
  46422. A._FakeAstNode.prototype = {
  46423. get$span(_) {
  46424. return this._callback.call$0();
  46425. },
  46426. $isAstNode: 1
  46427. };
  46428. A.ArgumentList.prototype = {
  46429. get$isEmpty(_) {
  46430. var t1;
  46431. if (this.positional.length === 0) {
  46432. t1 = this.named;
  46433. t1 = t1.get$isEmpty(t1) && this.rest == null;
  46434. } else
  46435. t1 = false;
  46436. return t1;
  46437. },
  46438. toString$0(_) {
  46439. var t2, t3, _i, _1_0, _2_0, _this = this,
  46440. t1 = A._setArrayType([], type$.JSArray_String);
  46441. for (t2 = _this.positional, t3 = t2.length, _i = 0; _i < t3; ++_i)
  46442. t1.push(_this._parenthesizeArgument$1(t2[_i]));
  46443. for (t2 = A.MapExtensions_get_pairs(_this.named, type$.String, type$.Expression), t2 = t2.get$iterator(t2); t2.moveNext$0();) {
  46444. t3 = t2.get$current(t2);
  46445. t1.push("$" + t3._0 + ": " + _this._parenthesizeArgument$1(t3._1));
  46446. }
  46447. _1_0 = _this.rest;
  46448. if (_1_0 != null)
  46449. t1.push(_this._parenthesizeArgument$1(_1_0) + "...");
  46450. _2_0 = _this.keywordRest;
  46451. if (_2_0 != null)
  46452. t1.push(_this._parenthesizeArgument$1(_2_0) + "...");
  46453. return "(" + B.JSArray_methods.join$1(t1, ", ") + ")";
  46454. },
  46455. _parenthesizeArgument$1(argument) {
  46456. var t1;
  46457. $label0$0: {
  46458. if (argument instanceof A.ListExpression && B.ListSeparator_qVN === argument.separator && !argument.hasBrackets && argument.contents.length >= 2) {
  46459. t1 = "(" + argument.toString$0(0) + ")";
  46460. break $label0$0;
  46461. }
  46462. t1 = argument.toString$0(0);
  46463. break $label0$0;
  46464. }
  46465. return t1;
  46466. },
  46467. $isAstNode: 1,
  46468. get$span(receiver) {
  46469. return this.span;
  46470. }
  46471. };
  46472. A.AtRootQuery.prototype = {
  46473. excludes$1(node) {
  46474. var t1, _this = this;
  46475. if (_this._all)
  46476. return !_this.include;
  46477. $label0$0: {
  46478. if (node instanceof A.ModifiableCssStyleRule) {
  46479. t1 = _this._at_root_query$_rule !== _this.include;
  46480. break $label0$0;
  46481. }
  46482. if (node instanceof A.ModifiableCssMediaRule) {
  46483. t1 = _this.excludesName$1("media");
  46484. break $label0$0;
  46485. }
  46486. if (node instanceof A.ModifiableCssSupportsRule) {
  46487. t1 = _this.excludesName$1("supports");
  46488. break $label0$0;
  46489. }
  46490. if (node instanceof A.ModifiableCssAtRule) {
  46491. t1 = _this.excludesName$1(node.name.value.toLowerCase());
  46492. break $label0$0;
  46493. }
  46494. t1 = false;
  46495. break $label0$0;
  46496. }
  46497. return t1;
  46498. },
  46499. excludesName$1($name) {
  46500. var t1 = this._all || this.names.contains$1(0, $name);
  46501. return t1 !== this.include;
  46502. }
  46503. };
  46504. A.ConfiguredVariable.prototype = {
  46505. toString$0(_) {
  46506. var t1 = this.expression.toString$0(0),
  46507. t2 = this.isGuarded ? " !default" : "";
  46508. return "$" + this.name + ": " + t1 + t2;
  46509. },
  46510. $isAstNode: 1,
  46511. get$span(receiver) {
  46512. return this.span;
  46513. }
  46514. };
  46515. A.Expression.prototype = {$isAstNode: 1};
  46516. A.BinaryOperationExpression.prototype = {
  46517. get$span(_) {
  46518. var right,
  46519. left = this.left;
  46520. for (; left instanceof A.BinaryOperationExpression;)
  46521. left = left.left;
  46522. right = this.right;
  46523. for (; right instanceof A.BinaryOperationExpression;)
  46524. right = right.right;
  46525. return left.get$span(left).expand$1(0, right.get$span(right));
  46526. },
  46527. get$operatorSpan() {
  46528. var t3, t4,
  46529. t1 = this.left,
  46530. t2 = t1.get$span(t1);
  46531. t2 = t2.get$file(t2);
  46532. t3 = this.right;
  46533. t4 = t3.get$span(t3);
  46534. if (t2 === t4.get$file(t4)) {
  46535. t2 = t1.get$span(t1);
  46536. t2 = t2.get$end(t2);
  46537. t4 = t3.get$span(t3);
  46538. t4 = t2.offset < t4.get$start(t4).offset;
  46539. t2 = t4;
  46540. } else
  46541. t2 = false;
  46542. if (t2) {
  46543. t2 = t1.get$span(t1);
  46544. t2 = t2.get$file(t2);
  46545. t1 = t1.get$span(t1);
  46546. t1 = t1.get$end(t1);
  46547. t3 = t3.get$span(t3);
  46548. t3 = A.SpanExtensions_trimRight(A.SpanExtensions_trimLeft(t2.span$2(0, t1.offset, t3.get$start(t3).offset)));
  46549. t1 = t3;
  46550. } else
  46551. t1 = this.get$span(0);
  46552. return t1;
  46553. },
  46554. accept$1$1(visitor) {
  46555. return visitor.visitBinaryOperationExpression$1(0, this);
  46556. },
  46557. accept$1(visitor) {
  46558. return this.accept$1$1(visitor, type$.dynamic);
  46559. },
  46560. toString$0(_) {
  46561. var t1, t2, right, t3, operator, _this = this,
  46562. _0_0 = _this.left;
  46563. $label0$0: {
  46564. if (_0_0 instanceof A.BinaryOperationExpression) {
  46565. t1 = _0_0.operator.precedence < _this.operator.precedence;
  46566. break $label0$0;
  46567. }
  46568. if (_0_0 instanceof A.ListExpression && !_0_0.hasBrackets && _0_0.contents.length >= 2) {
  46569. t1 = true;
  46570. break $label0$0;
  46571. }
  46572. t1 = false;
  46573. break $label0$0;
  46574. }
  46575. t2 = t1 ? "" + A.Primitives_stringFromCharCode(40) : "";
  46576. t2 += _0_0.toString$0(0);
  46577. t1 = t1 ? t2 + A.Primitives_stringFromCharCode(41) : t2;
  46578. t2 = _this.operator;
  46579. t1 = t1 + A.Primitives_stringFromCharCode(32) + t2.operator + A.Primitives_stringFromCharCode(32);
  46580. right = _this.right;
  46581. $label1$1: {
  46582. t3 = false;
  46583. if (right instanceof A.BinaryOperationExpression) {
  46584. operator = right.operator;
  46585. if (operator.precedence <= t2.precedence) {
  46586. t3 = !(operator === t2 && operator.isAssociative);
  46587. t2 = t3;
  46588. } else
  46589. t2 = t3;
  46590. break $label1$1;
  46591. }
  46592. if (right instanceof A.ListExpression && !right.hasBrackets && right.contents.length >= 2) {
  46593. t2 = true;
  46594. break $label1$1;
  46595. }
  46596. t2 = t3;
  46597. break $label1$1;
  46598. }
  46599. if (t2)
  46600. t1 += A.Primitives_stringFromCharCode(40);
  46601. t1 += right.toString$0(0);
  46602. if (t2)
  46603. t1 += A.Primitives_stringFromCharCode(41);
  46604. return t1.charCodeAt(0) == 0 ? t1 : t1;
  46605. }
  46606. };
  46607. A.BinaryOperator.prototype = {
  46608. _enumToString$0() {
  46609. return "BinaryOperator." + this._name;
  46610. },
  46611. toString$0(_) {
  46612. return this.name;
  46613. }
  46614. };
  46615. A.BooleanExpression.prototype = {
  46616. accept$1$1(visitor) {
  46617. return visitor.visitBooleanExpression$1(0, this);
  46618. },
  46619. accept$1(visitor) {
  46620. return this.accept$1$1(visitor, type$.dynamic);
  46621. },
  46622. toString$0(_) {
  46623. return String(this.value);
  46624. },
  46625. get$span(receiver) {
  46626. return this.span;
  46627. }
  46628. };
  46629. A.ColorExpression.prototype = {
  46630. accept$1$1(visitor) {
  46631. return visitor.visitColorExpression$1(0, this);
  46632. },
  46633. accept$1(visitor) {
  46634. return this.accept$1$1(visitor, type$.dynamic);
  46635. },
  46636. toString$0(_) {
  46637. return A.serializeValue(this.value, true, true);
  46638. },
  46639. get$span(receiver) {
  46640. return this.span;
  46641. }
  46642. };
  46643. A.FunctionExpression.prototype = {
  46644. get$nameSpan() {
  46645. if (this.namespace == null)
  46646. return A.SpanExtensions_initialIdentifier(this.span);
  46647. return A.SpanExtensions_initialIdentifier(A.FileSpanExtension_subspan(A.SpanExtensions_withoutInitialIdentifier(this.span), 1, null));
  46648. },
  46649. accept$1$1(visitor) {
  46650. return visitor.visitFunctionExpression$1(0, this);
  46651. },
  46652. accept$1(visitor) {
  46653. return this.accept$1$1(visitor, type$.dynamic);
  46654. },
  46655. toString$0(_) {
  46656. var t1 = this.namespace;
  46657. t1 = t1 != null ? "" + (t1 + ".") : "";
  46658. t1 += this.originalName + this.$arguments.toString$0(0);
  46659. return t1.charCodeAt(0) == 0 ? t1 : t1;
  46660. },
  46661. get$span(receiver) {
  46662. return this.span;
  46663. }
  46664. };
  46665. A.IfExpression.prototype = {
  46666. accept$1$1(visitor) {
  46667. return visitor.visitIfExpression$1(0, this);
  46668. },
  46669. accept$1(visitor) {
  46670. return this.accept$1$1(visitor, type$.dynamic);
  46671. },
  46672. toString$0(_) {
  46673. return "if" + this.$arguments.toString$0(0);
  46674. },
  46675. get$span(receiver) {
  46676. return this.span;
  46677. }
  46678. };
  46679. A.InterpolatedFunctionExpression.prototype = {
  46680. accept$1$1(visitor) {
  46681. return visitor.visitInterpolatedFunctionExpression$1(0, this);
  46682. },
  46683. accept$1(visitor) {
  46684. return this.accept$1$1(visitor, type$.dynamic);
  46685. },
  46686. toString$0(_) {
  46687. return this.name.toString$0(0) + this.$arguments.toString$0(0);
  46688. },
  46689. get$span(receiver) {
  46690. return this.span;
  46691. }
  46692. };
  46693. A.ListExpression.prototype = {
  46694. accept$1$1(visitor) {
  46695. return visitor.visitListExpression$1(0, this);
  46696. },
  46697. accept$1(visitor) {
  46698. return this.accept$1$1(visitor, type$.dynamic);
  46699. },
  46700. toString$0(_) {
  46701. var t2, t3, t4, t5, _this = this,
  46702. t1 = _this.hasBrackets;
  46703. if (t1)
  46704. t2 = "" + A.Primitives_stringFromCharCode(91);
  46705. else {
  46706. t2 = _this.contents.length;
  46707. if (t2 !== 0)
  46708. t2 = t2 === 1 && _this.separator === B.ListSeparator_qVN;
  46709. else
  46710. t2 = true;
  46711. t2 = t2 ? "" + A.Primitives_stringFromCharCode(40) : "";
  46712. }
  46713. t3 = _this.contents;
  46714. t4 = _this.separator === B.ListSeparator_qVN;
  46715. t5 = t4 ? ", " : " ";
  46716. t5 = t2 + new A.MappedListIterable(t3, new A.ListExpression_toString_closure(_this), A._arrayInstanceType(t3)._eval$1("MappedListIterable<1,String>")).join$1(0, t5);
  46717. if (t1)
  46718. t1 = t5 + A.Primitives_stringFromCharCode(93);
  46719. else {
  46720. t1 = t3.length;
  46721. if (t1 === 0)
  46722. t1 = t5 + A.Primitives_stringFromCharCode(41);
  46723. else
  46724. t1 = t1 === 1 && t4 ? t5 + ",)" : t5;
  46725. }
  46726. return t1.charCodeAt(0) == 0 ? t1 : t1;
  46727. },
  46728. _list0$_elementNeedsParens$1(expression) {
  46729. var childSeparator, t1, _0_13;
  46730. $label0$0: {
  46731. if (expression instanceof A.ListExpression && expression.contents.length >= 2 && !expression.hasBrackets) {
  46732. childSeparator = expression.separator;
  46733. t1 = this.separator === B.ListSeparator_qVN ? childSeparator === B.ListSeparator_qVN : childSeparator !== B.ListSeparator_undecided_null_undecided;
  46734. break $label0$0;
  46735. }
  46736. if (expression instanceof A.UnaryOperationExpression) {
  46737. _0_13 = expression.operator;
  46738. if (B.UnaryOperator_Rbl !== _0_13)
  46739. t1 = B.UnaryOperator_UCP === _0_13;
  46740. else
  46741. t1 = true;
  46742. } else
  46743. t1 = false;
  46744. if (t1) {
  46745. t1 = this.separator === B.ListSeparator_qSL;
  46746. break $label0$0;
  46747. }
  46748. t1 = false;
  46749. break $label0$0;
  46750. }
  46751. return t1;
  46752. },
  46753. get$span(receiver) {
  46754. return this.span;
  46755. }
  46756. };
  46757. A.ListExpression_toString_closure.prototype = {
  46758. call$1(element) {
  46759. return this.$this._list0$_elementNeedsParens$1(element) ? "(" + element.toString$0(0) + ")" : element.toString$0(0);
  46760. },
  46761. $signature: 133
  46762. };
  46763. A.MapExpression.prototype = {
  46764. accept$1$1(visitor) {
  46765. return visitor.visitMapExpression$1(0, this);
  46766. },
  46767. accept$1(visitor) {
  46768. return this.accept$1$1(visitor, type$.dynamic);
  46769. },
  46770. toString$0(_) {
  46771. var t2, t3, _i, t4,
  46772. t1 = A._setArrayType([], type$.JSArray_String);
  46773. for (t2 = this.pairs, t3 = t2.length, _i = 0; _i < t3; ++_i) {
  46774. t4 = t2[_i];
  46775. t1.push(t4._0.toString$0(0) + ": " + t4._1.toString$0(0));
  46776. }
  46777. return "(" + B.JSArray_methods.join$1(t1, ", ") + ")";
  46778. },
  46779. get$span(receiver) {
  46780. return this.span;
  46781. }
  46782. };
  46783. A.NullExpression.prototype = {
  46784. accept$1$1(visitor) {
  46785. return visitor.visitNullExpression$1(0, this);
  46786. },
  46787. accept$1(visitor) {
  46788. return this.accept$1$1(visitor, type$.dynamic);
  46789. },
  46790. toString$0(_) {
  46791. return "null";
  46792. },
  46793. get$span(receiver) {
  46794. return this.span;
  46795. }
  46796. };
  46797. A.NumberExpression.prototype = {
  46798. accept$1$1(visitor) {
  46799. return visitor.visitNumberExpression$1(0, this);
  46800. },
  46801. accept$1(visitor) {
  46802. return this.accept$1$1(visitor, type$.dynamic);
  46803. },
  46804. toString$0(_) {
  46805. return A.serializeValue(A.SassNumber_SassNumber(this.value, this.unit), true, true);
  46806. },
  46807. get$span(receiver) {
  46808. return this.span;
  46809. }
  46810. };
  46811. A.ParenthesizedExpression.prototype = {
  46812. accept$1$1(visitor) {
  46813. return visitor.visitParenthesizedExpression$1(0, this);
  46814. },
  46815. accept$1(visitor) {
  46816. return this.accept$1$1(visitor, type$.dynamic);
  46817. },
  46818. toString$0(_) {
  46819. return "(" + this.expression.toString$0(0) + ")";
  46820. },
  46821. get$span(receiver) {
  46822. return this.span;
  46823. }
  46824. };
  46825. A.SelectorExpression.prototype = {
  46826. accept$1$1(visitor) {
  46827. return visitor.visitSelectorExpression$1(0, this);
  46828. },
  46829. accept$1(visitor) {
  46830. return this.accept$1$1(visitor, type$.dynamic);
  46831. },
  46832. toString$0(_) {
  46833. return "&";
  46834. },
  46835. get$span(receiver) {
  46836. return this.span;
  46837. }
  46838. };
  46839. A.StringExpression.prototype = {
  46840. get$span(_) {
  46841. return this.text.span;
  46842. },
  46843. accept$1$1(visitor) {
  46844. return visitor.visitStringExpression$1(0, this);
  46845. },
  46846. accept$1(visitor) {
  46847. return this.accept$1$1(visitor, type$.dynamic);
  46848. },
  46849. asInterpolation$1$static($static) {
  46850. var t1, t2, quote, t3, t4, t5, buffer, t6, i, value, t7;
  46851. if (!this.hasQuotes)
  46852. return this.text;
  46853. t1 = this.text;
  46854. t2 = t1.contents;
  46855. quote = A.StringExpression__bestQuote(new A.WhereTypeIterable(t2, type$.WhereTypeIterable_String));
  46856. t3 = new A.StringBuffer("");
  46857. t4 = A._setArrayType([], type$.JSArray_Object);
  46858. t5 = A._setArrayType([], type$.JSArray_nullable_FileSpan);
  46859. buffer = new A.InterpolationBuffer(t3, t4, t5);
  46860. t6 = A.Primitives_stringFromCharCode(quote);
  46861. t3._contents += t6;
  46862. for (t6 = t2.length, i = 0; i < t6; ++i) {
  46863. value = t2[i];
  46864. if (value instanceof A.Expression) {
  46865. t7 = t1.spanForElement$1(i);
  46866. buffer._flushText$0();
  46867. t4.push(value);
  46868. t5.push(t7);
  46869. continue;
  46870. }
  46871. if (typeof value == "string")
  46872. A.StringExpression__quoteInnerText(value, quote, buffer, $static);
  46873. }
  46874. t2 = A.Primitives_stringFromCharCode(quote);
  46875. t3._contents += t2;
  46876. return buffer.interpolation$1(t1.span);
  46877. },
  46878. asInterpolation$0() {
  46879. return this.asInterpolation$1$static(false);
  46880. },
  46881. toString$0(_) {
  46882. return this.asInterpolation$0().toString$0(0);
  46883. }
  46884. };
  46885. A.SupportsExpression.prototype = {
  46886. get$span(_) {
  46887. var t1 = this.condition;
  46888. return t1.get$span(t1);
  46889. },
  46890. accept$1$1(visitor) {
  46891. return visitor.visitSupportsExpression$1(0, this);
  46892. },
  46893. accept$1(visitor) {
  46894. return this.accept$1$1(visitor, type$.dynamic);
  46895. },
  46896. toString$0(_) {
  46897. return this.condition.toString$0(0);
  46898. }
  46899. };
  46900. A.UnaryOperationExpression.prototype = {
  46901. accept$1$1(visitor) {
  46902. return visitor.visitUnaryOperationExpression$1(0, this);
  46903. },
  46904. accept$1(visitor) {
  46905. return this.accept$1$1(visitor, type$.dynamic);
  46906. },
  46907. toString$0(_) {
  46908. var operand,
  46909. t1 = this.operator,
  46910. t2 = t1.operator;
  46911. t1 = t1 === B.UnaryOperator_not_not_not ? t2 + A.Primitives_stringFromCharCode(32) : t2;
  46912. operand = this.operand;
  46913. $label0$0: {
  46914. t2 = true;
  46915. if (!(operand instanceof A.BinaryOperationExpression))
  46916. if (!(operand instanceof A.UnaryOperationExpression))
  46917. t2 = operand instanceof A.ListExpression && !operand.hasBrackets && operand.contents.length >= 2;
  46918. break $label0$0;
  46919. }
  46920. if (t2)
  46921. t1 += "40";
  46922. t1 += operand.toString$0(0);
  46923. if (t2)
  46924. t1 += "41";
  46925. return t1.charCodeAt(0) == 0 ? t1 : t1;
  46926. },
  46927. get$span(receiver) {
  46928. return this.span;
  46929. }
  46930. };
  46931. A.UnaryOperator.prototype = {
  46932. _enumToString$0() {
  46933. return "UnaryOperator." + this._name;
  46934. },
  46935. toString$0(_) {
  46936. return this.name;
  46937. }
  46938. };
  46939. A.ValueExpression.prototype = {
  46940. accept$1$1(visitor) {
  46941. return visitor.visitValueExpression$1(0, this);
  46942. },
  46943. accept$1(visitor) {
  46944. return this.accept$1$1(visitor, type$.dynamic);
  46945. },
  46946. toString$0(_) {
  46947. return this.value.toString$0(0);
  46948. },
  46949. get$span(receiver) {
  46950. return this.span;
  46951. }
  46952. };
  46953. A.VariableExpression.prototype = {
  46954. accept$1$1(visitor) {
  46955. return visitor.visitVariableExpression$1(0, this);
  46956. },
  46957. accept$1(visitor) {
  46958. return this.accept$1$1(visitor, type$.dynamic);
  46959. },
  46960. toString$0(_) {
  46961. return this.span.get$text();
  46962. },
  46963. get$span(receiver) {
  46964. return this.span;
  46965. }
  46966. };
  46967. A.DynamicImport.prototype = {
  46968. toString$0(_) {
  46969. return A.StringExpression_quoteText(this.urlString);
  46970. },
  46971. $isAstNode: 1,
  46972. $isImport: 1,
  46973. get$span(receiver) {
  46974. return this.span;
  46975. }
  46976. };
  46977. A.StaticImport.prototype = {
  46978. toString$0(_) {
  46979. var t1 = this.url.toString$0(0),
  46980. t2 = this.modifiers;
  46981. return t1 + (t2 == null ? "" : " " + t2.toString$0(0));
  46982. },
  46983. $isAstNode: 1,
  46984. $isImport: 1,
  46985. get$span(receiver) {
  46986. return this.span;
  46987. }
  46988. };
  46989. A.Interpolation.prototype = {
  46990. get$asPlain() {
  46991. var _0_1, t1, _0_6_isSet, _0_6, _0_60, first,
  46992. _0_0 = this.contents;
  46993. $label0$0: {
  46994. _0_1 = _0_0.length;
  46995. if (_0_1 <= 0) {
  46996. t1 = "";
  46997. break $label0$0;
  46998. }
  46999. _0_6_isSet = _0_1 === 1;
  47000. if (_0_6_isSet) {
  47001. _0_6 = _0_0[0];
  47002. _0_60 = _0_6;
  47003. t1 = typeof _0_6 == "string";
  47004. _0_6 = _0_60;
  47005. } else {
  47006. _0_6 = null;
  47007. t1 = false;
  47008. }
  47009. if (t1) {
  47010. first = A._asString(_0_6_isSet ? _0_6 : _0_0[0]);
  47011. t1 = first;
  47012. break $label0$0;
  47013. }
  47014. t1 = null;
  47015. break $label0$0;
  47016. }
  47017. return t1;
  47018. },
  47019. get$initialPlain() {
  47020. var _0_4_isSet, _0_4, _0_40, t1, first,
  47021. _0_0 = this.contents;
  47022. $label0$0: {
  47023. _0_4_isSet = _0_0.length >= 1;
  47024. if (_0_4_isSet) {
  47025. _0_4 = _0_0[0];
  47026. _0_40 = _0_4;
  47027. t1 = typeof _0_4 == "string";
  47028. _0_4 = _0_40;
  47029. } else {
  47030. _0_4 = null;
  47031. t1 = false;
  47032. }
  47033. if (t1) {
  47034. first = A._asString(_0_4_isSet ? _0_4 : _0_0[0]);
  47035. t1 = first;
  47036. break $label0$0;
  47037. }
  47038. t1 = "";
  47039. break $label0$0;
  47040. }
  47041. return t1;
  47042. },
  47043. spanForElement$1(index) {
  47044. var t1, t2, t3, t4, t5, _this = this;
  47045. $label0$0: {
  47046. if (typeof _this.contents[index] == "string") {
  47047. t1 = _this.span;
  47048. t2 = t1.file;
  47049. if (index === 0)
  47050. t3 = A.FileLocation$_(t2, t1._file$_start);
  47051. else {
  47052. t3 = _this.spans[index - 1];
  47053. t3 = t3.get$end(t3);
  47054. }
  47055. t4 = index + 1;
  47056. t5 = _this.spans;
  47057. if (t4 === t5.length)
  47058. t1 = A.FileLocation$_(t2, t1._end);
  47059. else {
  47060. t1 = t5[t4];
  47061. t1 = t1.get$start(t1);
  47062. }
  47063. t1 = t2.span$2(0, t3.offset, t1.offset);
  47064. break $label0$0;
  47065. }
  47066. t1 = _this.spans[index];
  47067. t1.toString;
  47068. break $label0$0;
  47069. }
  47070. return t1;
  47071. },
  47072. Interpolation$3(contents, spans, span) {
  47073. var t1, t2, t3, t4, i, t5, isString, _s5_ = "spans",
  47074. _s8_ = "contents";
  47075. if (spans.length !== J.get$length$asx(contents))
  47076. throw A.wrapException(A.ArgumentError$value(this.spans, _s5_, "Must be the same length as contents."));
  47077. for (t1 = this.contents, t2 = t1.length, t3 = spans.length, t4 = this.spans, i = 0; i < t2; ++i) {
  47078. t5 = t1[i];
  47079. isString = typeof t5 == "string";
  47080. if (!isString && !(t5 instanceof A.Expression))
  47081. throw A.wrapException(A.ArgumentError$value(t1, _s8_, "May only contain Strings or Expressions."));
  47082. else if (isString) {
  47083. if (i !== 0 && typeof t1[i - 1] == "string")
  47084. throw A.wrapException(A.ArgumentError$value(t1, _s8_, "May not contain adjacent Strings."));
  47085. else if (i < t3 && t4[i] != null)
  47086. throw A.wrapException(A.ArgumentError$value(t4, _s5_, string$.May_no + i + ")."));
  47087. } else if (i >= t3 || t4[i] == null)
  47088. throw A.wrapException(A.ArgumentError$value(t4, _s5_, string$.Must_n + i + ")."));
  47089. }
  47090. },
  47091. toString$0(_) {
  47092. var t1 = this.contents;
  47093. return new A.MappedListIterable(t1, new A.Interpolation_toString_closure(), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,String>")).join$0(0);
  47094. },
  47095. $isAstNode: 1,
  47096. get$span(receiver) {
  47097. return this.span;
  47098. }
  47099. };
  47100. A.Interpolation_toString_closure.prototype = {
  47101. call$1(value) {
  47102. return typeof value == "string" ? value : "#{" + A.S(value) + "}";
  47103. },
  47104. $signature: 132
  47105. };
  47106. A.Parameter.prototype = {
  47107. toString$0(_) {
  47108. var t1 = this.defaultValue,
  47109. t2 = this.name;
  47110. return t1 == null ? t2 : t2 + ": " + t1.toString$0(0);
  47111. },
  47112. $isAstNode: 1,
  47113. get$span(receiver) {
  47114. return this.span;
  47115. }
  47116. };
  47117. A.ParameterList.prototype = {
  47118. get$spanWithName() {
  47119. var t3, t4,
  47120. t1 = this.span,
  47121. t2 = t1.file,
  47122. text = A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t2._decodedChars, 0, null), 0, null),
  47123. i = A.FileLocation$_(t2, t1._file$_start).offset - 1;
  47124. while (true) {
  47125. if (i > 0) {
  47126. t3 = text.charCodeAt(i);
  47127. t3 = t3 === 32 || t3 === 9 || t3 === 10 || t3 === 13 || t3 === 12;
  47128. } else
  47129. t3 = false;
  47130. if (!t3)
  47131. break;
  47132. --i;
  47133. }
  47134. t3 = text.charCodeAt(i);
  47135. if (!(t3 === 95 || A.CharacterExtension_get_isAlphabetic(t3) || t3 >= 128))
  47136. t3 = t3 >= 48 && t3 <= 57 || t3 === 45;
  47137. else
  47138. t3 = true;
  47139. if (!t3)
  47140. return t1;
  47141. --i;
  47142. while (true) {
  47143. if (i >= 0) {
  47144. t3 = text.charCodeAt(i);
  47145. if (t3 !== 95) {
  47146. if (!(t3 >= 97 && t3 <= 122))
  47147. t4 = t3 >= 65 && t3 <= 90;
  47148. else
  47149. t4 = true;
  47150. t4 = t4 || t3 >= 128;
  47151. } else
  47152. t4 = true;
  47153. if (!t4)
  47154. t3 = t3 >= 48 && t3 <= 57 || t3 === 45;
  47155. else
  47156. t3 = true;
  47157. } else
  47158. t3 = false;
  47159. if (!t3)
  47160. break;
  47161. --i;
  47162. }
  47163. t3 = i + 1;
  47164. t4 = text.charCodeAt(t3);
  47165. if (!(t4 === 95 || A.CharacterExtension_get_isAlphabetic(t4) || t4 >= 128))
  47166. return t1;
  47167. return A.SpanExtensions_trimRight(A.SpanExtensions_trimLeft(t2.span$2(0, t3, A.FileLocation$_(t2, t1._end).offset)));
  47168. },
  47169. verify$2(positional, names) {
  47170. var t1, t2, t3, namedUsed, i, parameter, t4, unknownNames, _this = this,
  47171. _s10_ = "invocation";
  47172. for (t1 = _this.parameters, t2 = t1.length, t3 = names._baseMap, namedUsed = 0, i = 0; i < t2; ++i) {
  47173. parameter = t1[i];
  47174. if (i < positional) {
  47175. t4 = parameter.name;
  47176. if (t3.containsKey$1(t4))
  47177. throw A.wrapException(A.SassScriptException$("Argument " + _this._originalParameterName$1(t4) + string$.x20was_p, null));
  47178. } else {
  47179. t4 = parameter.name;
  47180. if (t3.containsKey$1(t4))
  47181. ++namedUsed;
  47182. else if (parameter.defaultValue == null)
  47183. throw A.wrapException(A.MultiSpanSassScriptException$("Missing argument " + _this._originalParameterName$1(t4) + ".", _s10_, A.LinkedHashMap_LinkedHashMap$_literal([_this.get$spanWithName(), "declaration"], type$.FileSpan, type$.String)));
  47184. }
  47185. }
  47186. if (_this.restParameter != null)
  47187. return;
  47188. if (positional > t2) {
  47189. t1 = names.get$isEmpty(0) ? "" : "positional ";
  47190. 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)));
  47191. }
  47192. if (namedUsed < t3.get$length(t3)) {
  47193. t2 = type$.String;
  47194. unknownNames = A.LinkedHashSet_LinkedHashSet$of(names, t2);
  47195. unknownNames.removeAll$1(new A.MappedListIterable(t1, new A.ParameterList_verify_closure(), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,Object?>")));
  47196. 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)));
  47197. }
  47198. },
  47199. _originalParameterName$1($name) {
  47200. var t1, text, t2, _i, parameter, t3, end;
  47201. if ($name === this.restParameter) {
  47202. t1 = this.span;
  47203. text = A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t1.file._decodedChars, t1._file$_start, t1._end), 0, null);
  47204. 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, "."));
  47205. }
  47206. for (t1 = this.parameters, t2 = t1.length, _i = 0; _i < t2; ++_i) {
  47207. parameter = t1[_i];
  47208. if (parameter.name === $name) {
  47209. t1 = parameter.span;
  47210. if (parameter.defaultValue == null) {
  47211. t2 = t1._file$_start;
  47212. t3 = t1.file._decodedChars;
  47213. t3 = A.String_String$fromCharCodes(new Uint32Array(t3.subarray(t2, A._checkValidRange(t2, t1._end, t3.length))), 0, null);
  47214. t1 = t3;
  47215. } else {
  47216. text = t1.get$text();
  47217. t1 = B.JSString_methods.substring$2(text, 0, B.JSString_methods.indexOf$1(text, ":"));
  47218. end = A._lastNonWhitespace(t1, false);
  47219. t1 = end == null ? "" : B.JSString_methods.substring$2(t1, 0, end + 1);
  47220. }
  47221. return t1;
  47222. }
  47223. }
  47224. throw A.wrapException(A.ArgumentError$(string$.This_d + $name + '".', null));
  47225. },
  47226. matches$2(positional, names) {
  47227. var t1, t2, t3, namedUsed, i, parameter;
  47228. for (t1 = this.parameters, t2 = t1.length, t3 = names._baseMap, namedUsed = 0, i = 0; i < t2; ++i) {
  47229. parameter = t1[i];
  47230. if (i < positional) {
  47231. if (t3.containsKey$1(parameter.name))
  47232. return false;
  47233. } else if (t3.containsKey$1(parameter.name))
  47234. ++namedUsed;
  47235. else if (parameter.defaultValue == null)
  47236. return false;
  47237. }
  47238. if (this.restParameter != null)
  47239. return true;
  47240. if (positional > t2)
  47241. return false;
  47242. if (namedUsed < t3.get$length(t3))
  47243. return false;
  47244. return true;
  47245. },
  47246. toString$0(_) {
  47247. var t2, t3, _i,
  47248. t1 = A._setArrayType([], type$.JSArray_String);
  47249. for (t2 = this.parameters, t3 = t2.length, _i = 0; _i < t3; ++_i)
  47250. t1.push("$" + t2[_i].toString$0(0));
  47251. t2 = this.restParameter;
  47252. if (t2 != null)
  47253. t1.push("$" + t2 + "...");
  47254. return B.JSArray_methods.join$1(t1, ", ");
  47255. },
  47256. $isAstNode: 1,
  47257. get$span(receiver) {
  47258. return this.span;
  47259. }
  47260. };
  47261. A.ParameterList_verify_closure.prototype = {
  47262. call$1(parameter) {
  47263. return parameter.name;
  47264. },
  47265. $signature: 342
  47266. };
  47267. A.ParameterList_verify_closure0.prototype = {
  47268. call$1($name) {
  47269. return "$" + $name;
  47270. },
  47271. $signature: 6
  47272. };
  47273. A.Statement.prototype = {$isAstNode: 1};
  47274. A.AtRootRule.prototype = {
  47275. accept$1$1(visitor) {
  47276. return visitor.visitAtRootRule$1(0, this);
  47277. },
  47278. accept$1(visitor) {
  47279. return this.accept$1$1(visitor, type$.dynamic);
  47280. },
  47281. toString$0(_) {
  47282. var buffer = new A.StringBuffer("@at-root "),
  47283. t1 = this.query;
  47284. if (t1 != null)
  47285. buffer._contents = "@at-root " + (t1.toString$0(0) + " ");
  47286. t1 = this.children;
  47287. return buffer.toString$0(0) + " {" + (t1 && B.JSArray_methods).join$1(t1, " ") + "}";
  47288. },
  47289. get$span(receiver) {
  47290. return this.span;
  47291. }
  47292. };
  47293. A.AtRule.prototype = {
  47294. accept$1$1(visitor) {
  47295. return visitor.visitAtRule$1(0, this);
  47296. },
  47297. accept$1(visitor) {
  47298. return this.accept$1$1(visitor, type$.dynamic);
  47299. },
  47300. toString$0(_) {
  47301. var children,
  47302. t1 = "@" + this.name.toString$0(0),
  47303. buffer = new A.StringBuffer(t1),
  47304. t2 = this.value;
  47305. if (t2 != null)
  47306. buffer._contents = t1 + (" " + t2.toString$0(0));
  47307. children = this.children;
  47308. return children == null ? buffer.toString$0(0) + ";" : buffer.toString$0(0) + " {" + B.JSArray_methods.join$1(children, " ") + "}";
  47309. },
  47310. get$span(receiver) {
  47311. return this.span;
  47312. }
  47313. };
  47314. A.CallableDeclaration.prototype = {
  47315. get$span(receiver) {
  47316. return this.span;
  47317. }
  47318. };
  47319. A.ContentBlock.prototype = {
  47320. accept$1$1(visitor) {
  47321. return visitor.visitContentBlock$1(0, this);
  47322. },
  47323. accept$1(visitor) {
  47324. return this.accept$1$1(visitor, type$.dynamic);
  47325. },
  47326. toString$0(_) {
  47327. var t2,
  47328. t1 = this.parameters;
  47329. t1 = t1.parameters.length === 0 && t1.restParameter == null ? "" : " using (" + t1.toString$0(0) + ")";
  47330. t2 = this.children;
  47331. return t1 + (" {" + (t2 && B.JSArray_methods).join$1(t2, " ") + "}");
  47332. }
  47333. };
  47334. A.ContentRule.prototype = {
  47335. accept$1$1(visitor) {
  47336. return visitor.visitContentRule$1(0, this);
  47337. },
  47338. accept$1(visitor) {
  47339. return this.accept$1$1(visitor, type$.dynamic);
  47340. },
  47341. toString$0(_) {
  47342. var t1 = this.$arguments;
  47343. return t1.get$isEmpty(0) ? "@content;" : "@content(" + t1.toString$0(0) + ");";
  47344. },
  47345. get$span(receiver) {
  47346. return this.span;
  47347. }
  47348. };
  47349. A.DebugRule.prototype = {
  47350. accept$1$1(visitor) {
  47351. return visitor.visitDebugRule$1(0, this);
  47352. },
  47353. accept$1(visitor) {
  47354. return this.accept$1$1(visitor, type$.dynamic);
  47355. },
  47356. toString$0(_) {
  47357. return "@debug " + this.expression.toString$0(0) + ";";
  47358. },
  47359. get$span(receiver) {
  47360. return this.span;
  47361. }
  47362. };
  47363. A.Declaration.prototype = {
  47364. accept$1$1(visitor) {
  47365. return visitor.visitDeclaration$1(0, this);
  47366. },
  47367. accept$1(visitor) {
  47368. return this.accept$1$1(visitor, type$.dynamic);
  47369. },
  47370. toString$0(_) {
  47371. var t3, _0_0,
  47372. buffer = new A.StringBuffer(""),
  47373. t1 = this.name,
  47374. t2 = "" + t1.toString$0(0);
  47375. buffer._contents = t2;
  47376. t2 = buffer._contents = t2 + A.Primitives_stringFromCharCode(58);
  47377. t3 = this.value;
  47378. if (t3 != null) {
  47379. t1 = !B.JSString_methods.startsWith$1(t1.get$initialPlain(), "--") ? buffer._contents = t2 + A.Primitives_stringFromCharCode(32) : t2;
  47380. buffer._contents = t1 + t3.toString$0(0);
  47381. }
  47382. _0_0 = this.children;
  47383. if (_0_0 != null)
  47384. return buffer.toString$0(0) + " {" + B.JSArray_methods.join$1(_0_0, " ") + "}";
  47385. else
  47386. return buffer.toString$0(0) + ";";
  47387. },
  47388. get$span(receiver) {
  47389. return this.span;
  47390. }
  47391. };
  47392. A.EachRule.prototype = {
  47393. accept$1$1(visitor) {
  47394. return visitor.visitEachRule$1(0, this);
  47395. },
  47396. accept$1(visitor) {
  47397. return this.accept$1$1(visitor, type$.dynamic);
  47398. },
  47399. toString$0(_) {
  47400. var t1 = this.variables,
  47401. t2 = this.children;
  47402. 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, " ") + "}";
  47403. },
  47404. get$span(receiver) {
  47405. return this.span;
  47406. }
  47407. };
  47408. A.EachRule_toString_closure.prototype = {
  47409. call$1(variable) {
  47410. return "$" + variable;
  47411. },
  47412. $signature: 6
  47413. };
  47414. A.ErrorRule.prototype = {
  47415. accept$1$1(visitor) {
  47416. return visitor.visitErrorRule$1(0, this);
  47417. },
  47418. accept$1(visitor) {
  47419. return this.accept$1$1(visitor, type$.dynamic);
  47420. },
  47421. toString$0(_) {
  47422. return "@error " + this.expression.toString$0(0) + ";";
  47423. },
  47424. get$span(receiver) {
  47425. return this.span;
  47426. }
  47427. };
  47428. A.ExtendRule.prototype = {
  47429. accept$1$1(visitor) {
  47430. return visitor.visitExtendRule$1(0, this);
  47431. },
  47432. accept$1(visitor) {
  47433. return this.accept$1$1(visitor, type$.dynamic);
  47434. },
  47435. toString$0(_) {
  47436. var t1 = this.selector.toString$0(0),
  47437. t2 = this.isOptional ? " !optional" : "";
  47438. return "@extend " + t1 + t2 + ";";
  47439. },
  47440. get$span(receiver) {
  47441. return this.span;
  47442. }
  47443. };
  47444. A.ForRule.prototype = {
  47445. accept$1$1(visitor) {
  47446. return visitor.visitForRule$1(0, this);
  47447. },
  47448. accept$1(visitor) {
  47449. return this.accept$1$1(visitor, type$.dynamic);
  47450. },
  47451. toString$0(_) {
  47452. var _this = this,
  47453. t1 = _this.from.toString$0(0),
  47454. t2 = _this.isExclusive ? "to" : "through",
  47455. t3 = _this.children;
  47456. return "@for $" + _this.variable + " from " + t1 + " " + t2 + " " + _this.to.toString$0(0) + " {" + (t3 && B.JSArray_methods).join$1(t3, " ") + "}";
  47457. },
  47458. get$span(receiver) {
  47459. return this.span;
  47460. }
  47461. };
  47462. A.ForwardRule.prototype = {
  47463. accept$1$1(visitor) {
  47464. return visitor.visitForwardRule$1(0, this);
  47465. },
  47466. accept$1(visitor) {
  47467. return this.accept$1$1(visitor, type$.dynamic);
  47468. },
  47469. toString$0(_) {
  47470. var t2, prefix, _this = this,
  47471. t1 = "@forward " + A.StringExpression_quoteText(_this.url.toString$0(0)),
  47472. shownMixinsAndFunctions = _this.shownMixinsAndFunctions,
  47473. hiddenMixinsAndFunctions = _this.hiddenMixinsAndFunctions;
  47474. if (shownMixinsAndFunctions != null) {
  47475. t2 = _this.shownVariables;
  47476. t2.toString;
  47477. t2 = t1 + " show " + _this._forward_rule$_memberList$2(shownMixinsAndFunctions, t2);
  47478. t1 = t2;
  47479. } else if (hiddenMixinsAndFunctions != null && hiddenMixinsAndFunctions._base.get$isNotEmpty(0)) {
  47480. t2 = _this.hiddenVariables;
  47481. t2.toString;
  47482. t2 = t1 + " hide " + _this._forward_rule$_memberList$2(hiddenMixinsAndFunctions, t2);
  47483. t1 = t2;
  47484. }
  47485. prefix = _this.prefix;
  47486. if (prefix != null)
  47487. t1 += " as " + prefix + "*";
  47488. t2 = _this.configuration;
  47489. t1 = (t2.length !== 0 ? t1 + (" with (" + B.JSArray_methods.join$1(t2, ", ") + ")") : t1) + ";";
  47490. return t1.charCodeAt(0) == 0 ? t1 : t1;
  47491. },
  47492. _forward_rule$_memberList$2(mixinsAndFunctions, variables) {
  47493. var t2,
  47494. t1 = A.List_List$_of(mixinsAndFunctions, type$.String);
  47495. for (t2 = variables._base.get$iterator(0); t2.moveNext$0();)
  47496. t1.push("$" + t2.get$current(0));
  47497. return B.JSArray_methods.join$1(t1, ", ");
  47498. },
  47499. get$span(receiver) {
  47500. return this.span;
  47501. }
  47502. };
  47503. A.FunctionRule.prototype = {
  47504. accept$1$1(visitor) {
  47505. return visitor.visitFunctionRule$1(0, this);
  47506. },
  47507. accept$1(visitor) {
  47508. return this.accept$1$1(visitor, type$.dynamic);
  47509. },
  47510. toString$0(_) {
  47511. var t1 = this.children;
  47512. return "@function " + this.name + "(" + this.parameters.toString$0(0) + ") {" + (t1 && B.JSArray_methods).join$1(t1, " ") + "}";
  47513. }
  47514. };
  47515. A.IfRule.prototype = {
  47516. accept$1$1(visitor) {
  47517. return visitor.visitIfRule$1(0, this);
  47518. },
  47519. accept$1(visitor) {
  47520. return this.accept$1$1(visitor, type$.dynamic);
  47521. },
  47522. toString$0(_) {
  47523. var result = A.ListExtensions_mapIndexed(this.clauses, new A.IfRule_toString_closure(), type$.IfClause, type$.String).join$1(0, " "),
  47524. lastClause = this.lastClause;
  47525. return lastClause != null ? result + (" " + lastClause.toString$0(0)) : result;
  47526. },
  47527. get$span(receiver) {
  47528. return this.span;
  47529. }
  47530. };
  47531. A.IfRule_toString_closure.prototype = {
  47532. call$2(index, clause) {
  47533. var t1 = index === 0 ? "if" : "else if";
  47534. return "@" + t1 + " " + clause.expression.toString$0(0) + " {" + B.JSArray_methods.join$1(clause.children, " ") + "}";
  47535. },
  47536. $signature: 395
  47537. };
  47538. A.IfRuleClause.prototype = {};
  47539. A.IfRuleClause$__closure.prototype = {
  47540. call$1(child) {
  47541. var t1;
  47542. $label0$0: {
  47543. if (child instanceof A.VariableDeclaration || child instanceof A.FunctionRule || child instanceof A.MixinRule) {
  47544. t1 = true;
  47545. break $label0$0;
  47546. }
  47547. if (child instanceof A.ImportRule) {
  47548. t1 = B.JSArray_methods.any$1(child.imports, new A.IfRuleClause$___closure());
  47549. break $label0$0;
  47550. }
  47551. t1 = false;
  47552. break $label0$0;
  47553. }
  47554. return t1;
  47555. },
  47556. $signature: 150
  47557. };
  47558. A.IfRuleClause$___closure.prototype = {
  47559. call$1($import) {
  47560. return $import instanceof A.DynamicImport;
  47561. },
  47562. $signature: 151
  47563. };
  47564. A.IfClause.prototype = {
  47565. toString$0(_) {
  47566. return "@if " + this.expression.toString$0(0) + " {" + B.JSArray_methods.join$1(this.children, " ") + "}";
  47567. }
  47568. };
  47569. A.ElseClause.prototype = {
  47570. toString$0(_) {
  47571. return "@else {" + B.JSArray_methods.join$1(this.children, " ") + "}";
  47572. }
  47573. };
  47574. A.ImportRule.prototype = {
  47575. accept$1$1(visitor) {
  47576. return visitor.visitImportRule$1(0, this);
  47577. },
  47578. accept$1(visitor) {
  47579. return this.accept$1$1(visitor, type$.dynamic);
  47580. },
  47581. toString$0(_) {
  47582. return "@import " + B.JSArray_methods.join$1(this.imports, ", ") + ";";
  47583. },
  47584. get$span(receiver) {
  47585. return this.span;
  47586. }
  47587. };
  47588. A.IncludeRule.prototype = {
  47589. get$spanWithoutContent() {
  47590. var t2, t3,
  47591. t1 = this.span;
  47592. if (!(this.content == null)) {
  47593. t2 = t1.file;
  47594. t3 = this.$arguments.span;
  47595. t3 = A.SpanExtensions_trimRight(A.SpanExtensions_trimLeft(t2.span$2(0, A.FileLocation$_(t2, t1._file$_start).offset, t3.get$end(t3).offset)));
  47596. t1 = t3;
  47597. }
  47598. return t1;
  47599. },
  47600. get$nameSpan() {
  47601. var startSpan, scanner, _null = null,
  47602. t1 = this.span,
  47603. t2 = t1._file$_start,
  47604. t3 = t1._end,
  47605. t4 = t1.file._decodedChars;
  47606. if (B.JSString_methods.startsWith$1(A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t4, t2, t3), 0, _null), "+"))
  47607. startSpan = A.SpanExtensions_trimLeft(A.FileSpanExtension_subspan(t1, 1, _null));
  47608. else {
  47609. scanner = A.StringScanner$(A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t4, t2, t3), 0, _null), _null, _null);
  47610. scanner.expectChar$1(64);
  47611. A._scanIdentifier(scanner);
  47612. startSpan = A.SpanExtensions_trimLeft(A.FileSpanExtension_subspan(t1, scanner._string_scanner$_position, _null));
  47613. }
  47614. return A.SpanExtensions_initialIdentifier(this.namespace != null ? A.FileSpanExtension_subspan(A.SpanExtensions_withoutInitialIdentifier(startSpan), 1, _null) : startSpan);
  47615. },
  47616. accept$1$1(visitor) {
  47617. return visitor.visitIncludeRule$1(0, this);
  47618. },
  47619. accept$1(visitor) {
  47620. return this.accept$1$1(visitor, type$.dynamic);
  47621. },
  47622. toString$0(_) {
  47623. var t2, _this = this,
  47624. t1 = _this.namespace;
  47625. t1 = t1 != null ? "@include " + (t1 + ".") : "@include ";
  47626. t1 += _this.name;
  47627. t2 = _this.$arguments;
  47628. if (!t2.get$isEmpty(0))
  47629. t1 += "(" + t2.toString$0(0) + ")";
  47630. t2 = _this.content;
  47631. t1 += t2 == null ? ";" : " " + t2.toString$0(0);
  47632. return t1.charCodeAt(0) == 0 ? t1 : t1;
  47633. },
  47634. get$span(receiver) {
  47635. return this.span;
  47636. }
  47637. };
  47638. A.LoudComment.prototype = {
  47639. get$span(_) {
  47640. return this.text.span;
  47641. },
  47642. accept$1$1(visitor) {
  47643. return visitor.visitLoudComment$1(0, this);
  47644. },
  47645. accept$1(visitor) {
  47646. return this.accept$1$1(visitor, type$.dynamic);
  47647. },
  47648. toString$0(_) {
  47649. return this.text.toString$0(0);
  47650. }
  47651. };
  47652. A.MediaRule.prototype = {
  47653. accept$1$1(visitor) {
  47654. return visitor.visitMediaRule$1(0, this);
  47655. },
  47656. accept$1(visitor) {
  47657. return this.accept$1$1(visitor, type$.dynamic);
  47658. },
  47659. toString$0(_) {
  47660. var t1 = this.children;
  47661. return "@media " + this.query.toString$0(0) + " {" + (t1 && B.JSArray_methods).join$1(t1, " ") + "}";
  47662. },
  47663. get$span(receiver) {
  47664. return this.span;
  47665. }
  47666. };
  47667. A.MixinRule.prototype = {
  47668. get$hasContent() {
  47669. var result, _this = this,
  47670. value = _this.__MixinRule_hasContent_FI;
  47671. if (value === $) {
  47672. result = J.$eq$(B.C__HasContentVisitor.visitChildren$1(_this.children), true);
  47673. _this.__MixinRule_hasContent_FI !== $ && A.throwUnnamedLateFieldADI();
  47674. _this.__MixinRule_hasContent_FI = result;
  47675. value = result;
  47676. }
  47677. return value;
  47678. },
  47679. accept$1$1(visitor) {
  47680. return visitor.visitMixinRule$1(0, this);
  47681. },
  47682. accept$1(visitor) {
  47683. return this.accept$1$1(visitor, type$.dynamic);
  47684. },
  47685. toString$0(_) {
  47686. var t1 = "@mixin " + this.name,
  47687. t2 = this.parameters;
  47688. if (!(t2.parameters.length === 0 && t2.restParameter == null))
  47689. t1 += "(" + t2.toString$0(0) + ")";
  47690. t2 = this.children;
  47691. t2 = t1 + (" {" + (t2 && B.JSArray_methods).join$1(t2, " ") + "}");
  47692. return t2.charCodeAt(0) == 0 ? t2 : t2;
  47693. }
  47694. };
  47695. A._HasContentVisitor.prototype = {
  47696. visitContentRule$1(_, _0) {
  47697. return true;
  47698. }
  47699. };
  47700. A.__HasContentVisitor_Object_StatementSearchVisitor.prototype = {};
  47701. A.ParentStatement.prototype = {};
  47702. A.ParentStatement_closure.prototype = {
  47703. call$1(child) {
  47704. var t1;
  47705. $label0$0: {
  47706. if (child instanceof A.VariableDeclaration || child instanceof A.FunctionRule || child instanceof A.MixinRule) {
  47707. t1 = true;
  47708. break $label0$0;
  47709. }
  47710. if (child instanceof A.ImportRule) {
  47711. t1 = B.JSArray_methods.any$1(child.imports, new A.ParentStatement__closure());
  47712. break $label0$0;
  47713. }
  47714. t1 = false;
  47715. break $label0$0;
  47716. }
  47717. return t1;
  47718. },
  47719. $signature: 150
  47720. };
  47721. A.ParentStatement__closure.prototype = {
  47722. call$1($import) {
  47723. return $import instanceof A.DynamicImport;
  47724. },
  47725. $signature: 151
  47726. };
  47727. A.ReturnRule.prototype = {
  47728. accept$1$1(visitor) {
  47729. return visitor.visitReturnRule$1(0, this);
  47730. },
  47731. accept$1(visitor) {
  47732. return this.accept$1$1(visitor, type$.dynamic);
  47733. },
  47734. toString$0(_) {
  47735. return "@return " + this.expression.toString$0(0) + ";";
  47736. },
  47737. get$span(receiver) {
  47738. return this.span;
  47739. }
  47740. };
  47741. A.SilentComment.prototype = {
  47742. accept$1$1(visitor) {
  47743. return visitor.visitSilentComment$1(0, this);
  47744. },
  47745. accept$1(visitor) {
  47746. return this.accept$1$1(visitor, type$.dynamic);
  47747. },
  47748. toString$0(_) {
  47749. return this.text;
  47750. },
  47751. get$span(receiver) {
  47752. return this.span;
  47753. }
  47754. };
  47755. A.StyleRule.prototype = {
  47756. accept$1$1(visitor) {
  47757. return visitor.visitStyleRule$1(0, this);
  47758. },
  47759. accept$1(visitor) {
  47760. return this.accept$1$1(visitor, type$.dynamic);
  47761. },
  47762. toString$0(_) {
  47763. var t1 = this.children;
  47764. return this.selector.toString$0(0) + " {" + (t1 && B.JSArray_methods).join$1(t1, " ") + "}";
  47765. },
  47766. get$span(receiver) {
  47767. return this.span;
  47768. }
  47769. };
  47770. A.Stylesheet.prototype = {
  47771. Stylesheet$internal$5$globalVariables$plainCss(children, span, parseTimeWarnings, globalVariables, plainCss) {
  47772. var t1, t2, t3, t4, _i, child;
  47773. for (t1 = this.children, t2 = t1.length, t3 = this._forwards, t4 = this._uses, _i = 0; _i < t2; ++_i) {
  47774. child = t1[_i];
  47775. if (child instanceof A.UseRule) {
  47776. t4.push(child);
  47777. continue;
  47778. }
  47779. if (child instanceof A.ForwardRule) {
  47780. t3.push(child);
  47781. continue;
  47782. }
  47783. if (child instanceof A.SilentComment || child instanceof A.LoudComment || child instanceof A.VariableDeclaration)
  47784. continue;
  47785. break;
  47786. }
  47787. },
  47788. accept$1$1(visitor) {
  47789. return visitor.visitStylesheet$1(0, this);
  47790. },
  47791. accept$1(visitor) {
  47792. return this.accept$1$1(visitor, type$.dynamic);
  47793. },
  47794. toString$0(_) {
  47795. var t1 = this.children;
  47796. return (t1 && B.JSArray_methods).join$1(t1, " ");
  47797. },
  47798. get$span(receiver) {
  47799. return this.span;
  47800. }
  47801. };
  47802. A.SupportsRule.prototype = {
  47803. accept$1$1(visitor) {
  47804. return visitor.visitSupportsRule$1(0, this);
  47805. },
  47806. accept$1(visitor) {
  47807. return this.accept$1$1(visitor, type$.dynamic);
  47808. },
  47809. toString$0(_) {
  47810. var t1 = this.children;
  47811. return "@supports " + this.condition.toString$0(0) + " {" + (t1 && B.JSArray_methods).join$1(t1, " ") + "}";
  47812. },
  47813. get$span(receiver) {
  47814. return this.span;
  47815. }
  47816. };
  47817. A.UseRule.prototype = {
  47818. UseRule$4$configuration(url, namespace, span, configuration) {
  47819. var t1, t2, _i, variable;
  47820. for (t1 = this.configuration, t2 = t1.length, _i = 0; _i < t2; ++_i) {
  47821. variable = t1[_i];
  47822. if (variable.isGuarded)
  47823. throw A.wrapException(A.ArgumentError$value(variable, "configured variable", "can't be guarded in a @use rule."));
  47824. }
  47825. },
  47826. accept$1$1(visitor) {
  47827. return visitor.visitUseRule$1(0, this);
  47828. },
  47829. accept$1(visitor) {
  47830. return this.accept$1$1(visitor, type$.dynamic);
  47831. },
  47832. toString$0(_) {
  47833. var t1 = this.url,
  47834. t2 = "@use " + A.StringExpression_quoteText(t1.toString$0(0)),
  47835. basename = t1.get$pathSegments().length === 0 ? "" : B.JSArray_methods.get$last(t1.get$pathSegments()),
  47836. dot = B.JSString_methods.indexOf$1(basename, ".");
  47837. t1 = this.namespace;
  47838. if (t1 !== B.JSString_methods.substring$2(basename, 0, dot === -1 ? basename.length : dot))
  47839. t1 = t2 + (" as " + (t1 == null ? "*" : t1));
  47840. else
  47841. t1 = t2;
  47842. t2 = this.configuration;
  47843. t1 = (t2.length !== 0 ? t1 + (" with (" + B.JSArray_methods.join$1(t2, ", ") + ")") : t1) + ";";
  47844. return t1.charCodeAt(0) == 0 ? t1 : t1;
  47845. },
  47846. get$span(receiver) {
  47847. return this.span;
  47848. }
  47849. };
  47850. A.VariableDeclaration.prototype = {
  47851. accept$1$1(visitor) {
  47852. return visitor.visitVariableDeclaration$1(0, this);
  47853. },
  47854. accept$1(visitor) {
  47855. return this.accept$1$1(visitor, type$.dynamic);
  47856. },
  47857. toString$0(_) {
  47858. var t1 = this.namespace;
  47859. t1 = t1 != null ? "" + (t1 + ".") : "";
  47860. t1 += "$" + this.name + ": " + this.expression.toString$0(0) + ";";
  47861. return t1.charCodeAt(0) == 0 ? t1 : t1;
  47862. },
  47863. get$span(receiver) {
  47864. return this.span;
  47865. }
  47866. };
  47867. A.WarnRule.prototype = {
  47868. accept$1$1(visitor) {
  47869. return visitor.visitWarnRule$1(0, this);
  47870. },
  47871. accept$1(visitor) {
  47872. return this.accept$1$1(visitor, type$.dynamic);
  47873. },
  47874. toString$0(_) {
  47875. return "@warn " + this.expression.toString$0(0) + ";";
  47876. },
  47877. get$span(receiver) {
  47878. return this.span;
  47879. }
  47880. };
  47881. A.WhileRule.prototype = {
  47882. accept$1$1(visitor) {
  47883. return visitor.visitWhileRule$1(0, this);
  47884. },
  47885. accept$1(visitor) {
  47886. return this.accept$1$1(visitor, type$.dynamic);
  47887. },
  47888. toString$0(_) {
  47889. var t1 = this.children;
  47890. return "@while " + this.condition.toString$0(0) + " {" + (t1 && B.JSArray_methods).join$1(t1, " ") + "}";
  47891. },
  47892. get$span(receiver) {
  47893. return this.span;
  47894. }
  47895. };
  47896. A.SupportsAnything.prototype = {
  47897. withSpan$1(span) {
  47898. return new A.SupportsAnything(this.contents, span);
  47899. },
  47900. toString$0(_) {
  47901. return "(" + this.contents.toString$0(0) + ")";
  47902. },
  47903. $isAstNode: 1,
  47904. get$span(receiver) {
  47905. return this.span;
  47906. }
  47907. };
  47908. A.SupportsDeclaration.prototype = {
  47909. get$isCustomProperty() {
  47910. var t1,
  47911. _0_0 = this.name;
  47912. $label0$0: {
  47913. if (_0_0 instanceof A.StringExpression && !_0_0.hasQuotes) {
  47914. t1 = B.JSString_methods.startsWith$1(_0_0.text.get$initialPlain(), "--");
  47915. break $label0$0;
  47916. }
  47917. t1 = false;
  47918. break $label0$0;
  47919. }
  47920. return t1;
  47921. },
  47922. withSpan$1(span) {
  47923. return new A.SupportsDeclaration(this.name, this.value, span);
  47924. },
  47925. toString$0(_) {
  47926. return "(" + this.name.toString$0(0) + ": " + this.value.toString$0(0) + ")";
  47927. },
  47928. $isAstNode: 1,
  47929. get$span(receiver) {
  47930. return this.span;
  47931. }
  47932. };
  47933. A.SupportsFunction.prototype = {
  47934. withSpan$1(span) {
  47935. return new A.SupportsFunction(this.name, this.$arguments, span);
  47936. },
  47937. toString$0(_) {
  47938. return this.name.toString$0(0) + "(" + this.$arguments.toString$0(0) + ")";
  47939. },
  47940. $isAstNode: 1,
  47941. get$span(receiver) {
  47942. return this.span;
  47943. }
  47944. };
  47945. A.SupportsInterpolation.prototype = {
  47946. withSpan$1(span) {
  47947. return new A.SupportsInterpolation(this.expression, span);
  47948. },
  47949. toString$0(_) {
  47950. return "#{" + this.expression.toString$0(0) + "}";
  47951. },
  47952. $isAstNode: 1,
  47953. get$span(receiver) {
  47954. return this.span;
  47955. }
  47956. };
  47957. A.SupportsNegation.prototype = {
  47958. withSpan$1(span) {
  47959. return new A.SupportsNegation(this.condition, span);
  47960. },
  47961. toString$0(_) {
  47962. var t1 = this.condition;
  47963. if (t1 instanceof A.SupportsNegation || t1 instanceof A.SupportsOperation)
  47964. return "not (" + t1.toString$0(0) + ")";
  47965. else
  47966. return "not " + t1.toString$0(0);
  47967. },
  47968. $isAstNode: 1,
  47969. get$span(receiver) {
  47970. return this.span;
  47971. }
  47972. };
  47973. A.SupportsOperation.prototype = {
  47974. withSpan$1(span) {
  47975. return A.SupportsOperation$(this.left, this.right, this.operator, span);
  47976. },
  47977. toString$0(_) {
  47978. var _this = this;
  47979. return _this._parenthesize$1(_this.left) + " " + _this.operator + " " + _this._parenthesize$1(_this.right);
  47980. },
  47981. _parenthesize$1(condition) {
  47982. var t1;
  47983. if (!(condition instanceof A.SupportsNegation))
  47984. t1 = condition instanceof A.SupportsOperation && condition.operator === this.operator;
  47985. else
  47986. t1 = true;
  47987. return t1 ? "(" + condition.toString$0(0) + ")" : condition.toString$0(0);
  47988. },
  47989. $isAstNode: 1,
  47990. get$span(receiver) {
  47991. return this.span;
  47992. }
  47993. };
  47994. A.Selector.prototype = {
  47995. assertNotBogus$1$name($name) {
  47996. if (!this.accept$1(B._IsBogusVisitor_true))
  47997. return;
  47998. A.warnForDeprecation("$" + $name + ": " + (this.toString$0(0) + string$.x20is_nov), B.Deprecation_9hF);
  47999. },
  48000. toString$0(_) {
  48001. var _null = null,
  48002. visitor = A._SerializeVisitor$(_null, true, _null, _null, true, false, _null, true);
  48003. this.accept$1(visitor);
  48004. return visitor._serialize$_buffer.toString$0(0);
  48005. },
  48006. $isAstNode: 1,
  48007. get$span(receiver) {
  48008. return this.span;
  48009. }
  48010. };
  48011. A._IsInvisibleVisitor0.prototype = {
  48012. visitSelectorList$1(list) {
  48013. return B.JSArray_methods.every$1(list.components, this.get$visitComplexSelector());
  48014. },
  48015. visitComplexSelector$1(complex) {
  48016. var t1;
  48017. if (!this.super$AnySelectorVisitor$visitComplexSelector(complex))
  48018. t1 = this.includeBogus && complex.accept$1(B._IsBogusVisitor_false);
  48019. else
  48020. t1 = true;
  48021. return t1;
  48022. },
  48023. visitPlaceholderSelector$1(placeholder) {
  48024. return true;
  48025. },
  48026. visitPseudoSelector$1(pseudo) {
  48027. var t1,
  48028. _0_0 = pseudo.selector;
  48029. if (_0_0 != null) {
  48030. if (pseudo.name === "not")
  48031. t1 = this.includeBogus && _0_0.accept$1(B._IsBogusVisitor_true);
  48032. else
  48033. t1 = this.visitSelectorList$1(_0_0);
  48034. return t1;
  48035. } else
  48036. return false;
  48037. }
  48038. };
  48039. A._IsBogusVisitor.prototype = {
  48040. visitComplexSelector$1(complex) {
  48041. var t2,
  48042. t1 = complex.components;
  48043. if (t1.length === 0)
  48044. return complex.leadingCombinators.length !== 0;
  48045. else {
  48046. t2 = this.includeLeadingCombinator ? 0 : 1;
  48047. 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));
  48048. }
  48049. },
  48050. visitPseudoSelector$1(pseudo) {
  48051. var selector = pseudo.selector;
  48052. if (selector == null)
  48053. return false;
  48054. return pseudo.name === "has" ? selector.accept$1(B._IsBogusVisitor_false) : selector.accept$1(B._IsBogusVisitor_true);
  48055. }
  48056. };
  48057. A._IsBogusVisitor_visitComplexSelector_closure.prototype = {
  48058. call$1(component) {
  48059. return component.combinators.length > 1 || this.$this.visitCompoundSelector$1(component.selector);
  48060. },
  48061. $signature: 52
  48062. };
  48063. A._IsUselessVisitor.prototype = {
  48064. visitComplexSelector$1(complex) {
  48065. return complex.leadingCombinators.length > 1 || B.JSArray_methods.any$1(complex.components, new A._IsUselessVisitor_visitComplexSelector_closure(this));
  48066. },
  48067. visitPseudoSelector$1(pseudo) {
  48068. return pseudo.accept$1(B._IsBogusVisitor_true);
  48069. }
  48070. };
  48071. A._IsUselessVisitor_visitComplexSelector_closure.prototype = {
  48072. call$1(component) {
  48073. return component.combinators.length > 1 || this.$this.visitCompoundSelector$1(component.selector);
  48074. },
  48075. $signature: 52
  48076. };
  48077. A._ContainsParentSelectorVisitor.prototype = {
  48078. visitParentSelector$1(_) {
  48079. return true;
  48080. }
  48081. };
  48082. A.__ContainsParentSelectorVisitor_Object_AnySelectorVisitor.prototype = {};
  48083. A.__IsBogusVisitor_Object_AnySelectorVisitor.prototype = {};
  48084. A.__IsInvisibleVisitor_Object_AnySelectorVisitor.prototype = {};
  48085. A.__IsUselessVisitor_Object_AnySelectorVisitor.prototype = {};
  48086. A.AttributeSelector.prototype = {
  48087. accept$1$1(visitor) {
  48088. return visitor.visitAttributeSelector$1(this);
  48089. },
  48090. accept$1(visitor) {
  48091. return this.accept$1$1(visitor, type$.dynamic);
  48092. },
  48093. $eq(_, other) {
  48094. var _this = this;
  48095. if (other == null)
  48096. return false;
  48097. return other instanceof A.AttributeSelector && other.name.$eq(0, _this.name) && other.op == _this.op && other.value == _this.value && other.modifier == _this.modifier;
  48098. },
  48099. get$hashCode(_) {
  48100. var _this = this,
  48101. t1 = _this.name;
  48102. 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;
  48103. }
  48104. };
  48105. A.AttributeOperator.prototype = {
  48106. _enumToString$0() {
  48107. return "AttributeOperator." + this._name;
  48108. },
  48109. toString$0(_) {
  48110. return this._attribute$_text;
  48111. }
  48112. };
  48113. A.ClassSelector.prototype = {
  48114. $eq(_, other) {
  48115. if (other == null)
  48116. return false;
  48117. return other instanceof A.ClassSelector && other.name === this.name;
  48118. },
  48119. accept$1$1(visitor) {
  48120. return visitor.visitClassSelector$1(this);
  48121. },
  48122. accept$1(visitor) {
  48123. return this.accept$1$1(visitor, type$.dynamic);
  48124. },
  48125. addSuffix$1(suffix) {
  48126. return new A.ClassSelector(this.name + suffix, this.span);
  48127. },
  48128. get$hashCode(_) {
  48129. return B.JSString_methods.get$hashCode(this.name);
  48130. }
  48131. };
  48132. A.Combinator.prototype = {
  48133. _enumToString$0() {
  48134. return "Combinator." + this._name;
  48135. },
  48136. toString$0(_) {
  48137. return this._combinator$_text;
  48138. }
  48139. };
  48140. A.ComplexSelector.prototype = {
  48141. get$specificity() {
  48142. var result, _this = this,
  48143. value = _this.__ComplexSelector_specificity_FI;
  48144. if (value === $) {
  48145. result = B.JSArray_methods.fold$2(_this.components, 0, new A.ComplexSelector_specificity_closure());
  48146. _this.__ComplexSelector_specificity_FI !== $ && A.throwUnnamedLateFieldADI();
  48147. _this.__ComplexSelector_specificity_FI = result;
  48148. value = result;
  48149. }
  48150. return value;
  48151. },
  48152. get$singleCompound() {
  48153. var _0_0, t1, _0_4, selector;
  48154. if (this.leadingCombinators.length !== 0)
  48155. return null;
  48156. _0_0 = this.components;
  48157. $label0$0: {
  48158. t1 = false;
  48159. if (_0_0.length === 1) {
  48160. _0_4 = _0_0[0];
  48161. selector = _0_4.selector;
  48162. t1 = _0_4.combinators.length <= 0;
  48163. } else
  48164. selector = null;
  48165. if (t1) {
  48166. t1 = selector;
  48167. break $label0$0;
  48168. }
  48169. t1 = null;
  48170. break $label0$0;
  48171. }
  48172. return t1;
  48173. },
  48174. accept$1$1(visitor) {
  48175. return visitor.visitComplexSelector$1(this);
  48176. },
  48177. accept$1(visitor) {
  48178. return this.accept$1$1(visitor, type$.dynamic);
  48179. },
  48180. isSuperselector$1(other) {
  48181. return this.leadingCombinators.length === 0 && other.leadingCombinators.length === 0 && A.complexIsSuperselector(this.components, other.components);
  48182. },
  48183. withAdditionalCombinators$1(combinators) {
  48184. var _0_0, _0_1, t1, initial, last, _this = this;
  48185. if (combinators.length === 0)
  48186. return _this;
  48187. _0_0 = _this.components;
  48188. $label0$0: {
  48189. _0_1 = _0_0.length;
  48190. if (_0_1 >= 1) {
  48191. t1 = _0_1 - 1;
  48192. initial = B.JSArray_methods.sublist$2(_0_0, 0, t1);
  48193. last = _0_0[t1];
  48194. t1 = A.List_List$_of(initial, type$.ComplexSelectorComponent);
  48195. t1.push(last.withAdditionalCombinators$1(combinators));
  48196. t1 = A.ComplexSelector$(_this.leadingCombinators, t1, _this.span, _this.lineBreak);
  48197. break $label0$0;
  48198. }
  48199. if (_0_1 <= 0) {
  48200. t1 = A.List_List$_of(_this.leadingCombinators, type$.CssValue_Combinator);
  48201. B.JSArray_methods.addAll$1(t1, combinators);
  48202. t1 = A.ComplexSelector$(t1, B.List_empty2, _this.span, _this.lineBreak);
  48203. break $label0$0;
  48204. }
  48205. t1 = null;
  48206. }
  48207. return t1;
  48208. },
  48209. concatenate$3$forceLineBreak(child, span, forceLineBreak) {
  48210. var t2, _0_1, initial, last, _this = this,
  48211. t1 = child.leadingCombinators,
  48212. _0_0 = _this.components;
  48213. if (t1.length === 0) {
  48214. t1 = A.List_List$_of(_0_0, type$.ComplexSelectorComponent);
  48215. B.JSArray_methods.addAll$1(t1, child.components);
  48216. t2 = _this.lineBreak || child.lineBreak || forceLineBreak;
  48217. return A.ComplexSelector$(_this.leadingCombinators, t1, span, t2);
  48218. } else {
  48219. _0_1 = _0_0.length;
  48220. if (_0_1 >= 1) {
  48221. t2 = _0_1 - 1;
  48222. initial = B.JSArray_methods.sublist$2(_0_0, 0, t2);
  48223. last = _0_0[t2];
  48224. t2 = A.List_List$_of(initial, type$.ComplexSelectorComponent);
  48225. t2.push(last.withAdditionalCombinators$1(t1));
  48226. B.JSArray_methods.addAll$1(t2, child.components);
  48227. t1 = _this.lineBreak || child.lineBreak || forceLineBreak;
  48228. return A.ComplexSelector$(_this.leadingCombinators, t2, span, t1);
  48229. } else {
  48230. t2 = A.List_List$_of(_this.leadingCombinators, type$.CssValue_Combinator);
  48231. B.JSArray_methods.addAll$1(t2, t1);
  48232. t1 = _this.lineBreak || child.lineBreak || forceLineBreak;
  48233. return A.ComplexSelector$(t2, child.components, span, t1);
  48234. }
  48235. }
  48236. },
  48237. concatenate$2(child, span) {
  48238. return this.concatenate$3$forceLineBreak(child, span, false);
  48239. },
  48240. get$hashCode(_) {
  48241. return B.C_ListEquality0.hash$1(this.leadingCombinators) ^ B.C_ListEquality0.hash$1(this.components);
  48242. },
  48243. $eq(_, other) {
  48244. if (other == null)
  48245. return false;
  48246. 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);
  48247. }
  48248. };
  48249. A.ComplexSelector_specificity_closure.prototype = {
  48250. call$2(sum, component) {
  48251. return sum + component.selector.get$specificity();
  48252. },
  48253. $signature: 359
  48254. };
  48255. A.ComplexSelectorComponent.prototype = {
  48256. withAdditionalCombinators$1(combinators) {
  48257. var t1, t2, _this = this;
  48258. if (combinators.length === 0)
  48259. t1 = _this;
  48260. else {
  48261. t1 = type$.CssValue_Combinator;
  48262. t2 = A.List_List$_of(_this.combinators, t1);
  48263. B.JSArray_methods.addAll$1(t2, combinators);
  48264. t1 = new A.ComplexSelectorComponent(_this.selector, A.List_List$unmodifiable(t2, t1), _this.span);
  48265. }
  48266. return t1;
  48267. },
  48268. get$hashCode(_) {
  48269. return B.C_ListEquality0.hash$1(this.selector.components) ^ B.C_ListEquality0.hash$1(this.combinators);
  48270. },
  48271. $eq(_, other) {
  48272. var t1;
  48273. if (other == null)
  48274. return false;
  48275. if (other instanceof A.ComplexSelectorComponent) {
  48276. t1 = B.C_ListEquality.equals$2(0, this.selector.components, other.selector.components);
  48277. t1 = t1 && B.C_ListEquality.equals$2(0, this.combinators, other.combinators);
  48278. } else
  48279. t1 = false;
  48280. return t1;
  48281. },
  48282. toString$0(_) {
  48283. var t1 = this.combinators;
  48284. 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, "");
  48285. }
  48286. };
  48287. A.ComplexSelectorComponent_toString_closure.prototype = {
  48288. call$1(combinator) {
  48289. return " " + combinator.toString$0(0);
  48290. },
  48291. $signature: 440
  48292. };
  48293. A.CompoundSelector.prototype = {
  48294. get$specificity() {
  48295. var result, _this = this,
  48296. value = _this.__CompoundSelector_specificity_FI;
  48297. if (value === $) {
  48298. result = B.JSArray_methods.fold$2(_this.components, 0, new A.CompoundSelector_specificity_closure());
  48299. _this.__CompoundSelector_specificity_FI !== $ && A.throwUnnamedLateFieldADI();
  48300. _this.__CompoundSelector_specificity_FI = result;
  48301. value = result;
  48302. }
  48303. return value;
  48304. },
  48305. get$hasComplicatedSuperselectorSemantics() {
  48306. var result, _this = this,
  48307. value = _this.__CompoundSelector_hasComplicatedSuperselectorSemantics_FI;
  48308. if (value === $) {
  48309. result = B.JSArray_methods.any$1(_this.components, new A.CompoundSelector_hasComplicatedSuperselectorSemantics_closure());
  48310. _this.__CompoundSelector_hasComplicatedSuperselectorSemantics_FI !== $ && A.throwUnnamedLateFieldADI();
  48311. _this.__CompoundSelector_hasComplicatedSuperselectorSemantics_FI = result;
  48312. value = result;
  48313. }
  48314. return value;
  48315. },
  48316. accept$1$1(visitor) {
  48317. return visitor.visitCompoundSelector$1(this);
  48318. },
  48319. accept$1(visitor) {
  48320. return this.accept$1$1(visitor, type$.dynamic);
  48321. },
  48322. get$hashCode(_) {
  48323. return B.C_ListEquality0.hash$1(this.components);
  48324. },
  48325. $eq(_, other) {
  48326. if (other == null)
  48327. return false;
  48328. return other instanceof A.CompoundSelector && B.C_ListEquality.equals$2(0, this.components, other.components);
  48329. }
  48330. };
  48331. A.CompoundSelector_specificity_closure.prototype = {
  48332. call$2(sum, component) {
  48333. return sum + component.get$specificity();
  48334. },
  48335. $signature: 444
  48336. };
  48337. A.CompoundSelector_hasComplicatedSuperselectorSemantics_closure.prototype = {
  48338. call$1(component) {
  48339. return component.get$hasComplicatedSuperselectorSemantics();
  48340. },
  48341. $signature: 14
  48342. };
  48343. A.IDSelector.prototype = {
  48344. get$specificity() {
  48345. return A._asInt(Math.pow(A.SimpleSelector.prototype.get$specificity.call(this), 2));
  48346. },
  48347. accept$1$1(visitor) {
  48348. return visitor.visitIDSelector$1(this);
  48349. },
  48350. accept$1(visitor) {
  48351. return this.accept$1$1(visitor, type$.dynamic);
  48352. },
  48353. addSuffix$1(suffix) {
  48354. return new A.IDSelector(this.name + suffix, this.span);
  48355. },
  48356. unify$1(compound) {
  48357. if (B.JSArray_methods.any$1(compound, new A.IDSelector_unify_closure(this)))
  48358. return null;
  48359. return this.super$SimpleSelector$unify(compound);
  48360. },
  48361. $eq(_, other) {
  48362. if (other == null)
  48363. return false;
  48364. return other instanceof A.IDSelector && other.name === this.name;
  48365. },
  48366. get$hashCode(_) {
  48367. return B.JSString_methods.get$hashCode(this.name);
  48368. }
  48369. };
  48370. A.IDSelector_unify_closure.prototype = {
  48371. call$1(simple) {
  48372. var t1;
  48373. if (simple instanceof A.IDSelector)
  48374. t1 = this.$this.name !== simple.name;
  48375. else
  48376. t1 = false;
  48377. return t1;
  48378. },
  48379. $signature: 14
  48380. };
  48381. A.SelectorList.prototype = {
  48382. get$asSassList() {
  48383. var t1 = this.components;
  48384. return A.SassList$(new A.MappedListIterable(t1, new A.SelectorList_asSassList_closure(), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,Value>")), B.ListSeparator_qVN, false);
  48385. },
  48386. accept$1$1(visitor) {
  48387. return visitor.visitSelectorList$1(this);
  48388. },
  48389. accept$1(visitor) {
  48390. return this.accept$1$1(visitor, type$.dynamic);
  48391. },
  48392. unify$1(other) {
  48393. var t3, t4, t5, t6, _i, complex1, t7, _i0, t8,
  48394. t1 = type$.JSArray_ComplexSelector,
  48395. t2 = A._setArrayType([], t1);
  48396. for (t3 = this.components, t4 = t3.length, t5 = other.components, t6 = t5.length, _i = 0; _i < t4; ++_i) {
  48397. complex1 = t3[_i];
  48398. for (t7 = complex1.span, _i0 = 0; _i0 < t6; ++_i0) {
  48399. t8 = A.unifyComplex(A._setArrayType([complex1, t5[_i0]], t1), t7);
  48400. if (t8 != null)
  48401. B.JSArray_methods.addAll$1(t2, t8);
  48402. }
  48403. }
  48404. return t2.length === 0 ? null : A.SelectorList$(t2, this.span);
  48405. },
  48406. nestWithin$3$implicitParent$preserveParentSelectors($parent, implicitParent, preserveParentSelectors) {
  48407. var parentSelector, t1, _this = this;
  48408. if ($parent == null) {
  48409. if (preserveParentSelectors)
  48410. return _this;
  48411. parentSelector = B.C__ParentSelectorVisitor.visitSelectorList$1(_this);
  48412. if (parentSelector == null)
  48413. return _this;
  48414. throw A.wrapException(A.SassException$(string$.Top_les, parentSelector.span, null));
  48415. }
  48416. t1 = _this.components;
  48417. 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);
  48418. },
  48419. nestWithin$1($parent) {
  48420. return this.nestWithin$3$implicitParent$preserveParentSelectors($parent, true, false);
  48421. },
  48422. nestWithin$2$implicitParent($parent, implicitParent) {
  48423. return this.nestWithin$3$implicitParent$preserveParentSelectors($parent, implicitParent, false);
  48424. },
  48425. _nestWithinCompound$2(component, $parent) {
  48426. var resolvedSimples, parentSelector, error, stackTrace, t2, resolvedSimples0, exception,
  48427. t1 = component.selector,
  48428. simples = t1.components,
  48429. containsSelectorPseudo = J.any$1$ax(simples, new A.SelectorList__nestWithinCompound_closure());
  48430. if (!containsSelectorPseudo && !(J.get$first$ax(simples) instanceof A.ParentSelector))
  48431. return null;
  48432. if (containsSelectorPseudo) {
  48433. t2 = simples;
  48434. resolvedSimples0 = new A.MappedListIterable(t2, new A.SelectorList__nestWithinCompound_closure0($parent), A._arrayInstanceType(t2)._eval$1("MappedListIterable<1,SimpleSelector>"));
  48435. } else
  48436. resolvedSimples0 = simples;
  48437. resolvedSimples = resolvedSimples0;
  48438. parentSelector = J.get$first$ax(simples);
  48439. try {
  48440. if (!(parentSelector instanceof A.ParentSelector)) {
  48441. t2 = component.span;
  48442. 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);
  48443. return t2;
  48444. } else if (J.get$length$asx(simples) === 1 && parentSelector.suffix == null) {
  48445. t1 = $parent.withAdditionalCombinators$1(component.combinators);
  48446. return t1.components;
  48447. }
  48448. } catch (exception) {
  48449. t1 = A.unwrapException(exception);
  48450. if (t1 instanceof A.SassException) {
  48451. error = t1;
  48452. stackTrace = A.getTraceFromException(exception);
  48453. A.throwWithTrace(error.withAdditionalSpan$2(parentSelector.span, "parent selector"), error, stackTrace);
  48454. } else
  48455. throw exception;
  48456. }
  48457. t1 = $parent.components;
  48458. return new A.MappedListIterable(t1, new A.SelectorList__nestWithinCompound_closure1(parentSelector, resolvedSimples, component), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,ComplexSelector>"));
  48459. },
  48460. isSuperselector$1(other) {
  48461. return A.listIsSuperselector(this.components, other.components);
  48462. },
  48463. withAdditionalCombinators$1(combinators) {
  48464. var t1;
  48465. if (combinators.length === 0)
  48466. t1 = this;
  48467. else {
  48468. t1 = this.components;
  48469. t1 = A.SelectorList$(new A.MappedListIterable(t1, new A.SelectorList_withAdditionalCombinators_closure(combinators), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,ComplexSelector>")), this.span);
  48470. }
  48471. return t1;
  48472. },
  48473. get$hashCode(_) {
  48474. return B.C_ListEquality0.hash$1(this.components);
  48475. },
  48476. $eq(_, other) {
  48477. if (other == null)
  48478. return false;
  48479. return other instanceof A.SelectorList && B.C_ListEquality.equals$2(0, this.components, other.components);
  48480. }
  48481. };
  48482. A.SelectorList_asSassList_closure.prototype = {
  48483. call$1(complex) {
  48484. var t3, t4, _i, component, visitor, t5, t6, t7, _i0, _null = null,
  48485. t1 = type$.JSArray_Value,
  48486. t2 = A._setArrayType([], t1);
  48487. for (t3 = complex.leadingCombinators, t4 = t3.length, _i = 0; _i < t4; ++_i)
  48488. t2.push(new A.SassString(J.toString$0$(t3[_i].value), false));
  48489. for (t3 = complex.components, t4 = t3.length, _i = 0; _i < t4; ++_i) {
  48490. component = t3[_i];
  48491. visitor = A._SerializeVisitor$(_null, true, _null, _null, true, false, _null, true);
  48492. component.selector.accept$1(visitor);
  48493. t5 = A._setArrayType([new A.SassString(visitor._serialize$_buffer.toString$0(0), false)], t1);
  48494. for (t6 = component.combinators, t7 = t6.length, _i0 = 0; _i0 < t7; ++_i0)
  48495. t5.push(new A.SassString(J.toString$0$(t6[_i0].value), false));
  48496. B.JSArray_methods.addAll$1(t2, t5);
  48497. }
  48498. return A.SassList$(t2, B.ListSeparator_qSL, false);
  48499. },
  48500. $signature: 332
  48501. };
  48502. A.SelectorList_nestWithin_closure.prototype = {
  48503. call$1(complex) {
  48504. 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;
  48505. if (_this.preserveParentSelectors || complex.accept$1(B.C__ParentSelectorVisitor) == null) {
  48506. if (!_this.implicitParent)
  48507. return A._setArrayType([complex], type$.JSArray_ComplexSelector);
  48508. t1 = _this.parent.components;
  48509. return new A.MappedListIterable(t1, new A.SelectorList_nestWithin__closure(complex), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,ComplexSelector>"));
  48510. }
  48511. t1 = type$.JSArray_ComplexSelector;
  48512. newComplexes = A._setArrayType([], t1);
  48513. 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) {
  48514. component = t2[_i];
  48515. resolved = t4._nestWithinCompound$2(component, t5);
  48516. if (resolved == null)
  48517. if (newComplexes.length === 0)
  48518. newComplexes.push(A.ComplexSelector$(t7, A._setArrayType([component], t11), t9, false));
  48519. else
  48520. for (i = 0; i < newComplexes.length; ++i) {
  48521. t12 = newComplexes[i];
  48522. t13 = A.List_List$_of(t12.components, t10);
  48523. t13.push(component);
  48524. newComplexes[i] = A.ComplexSelector$(t12.leadingCombinators, t13, t9, t12.lineBreak);
  48525. }
  48526. else if (newComplexes.length === 0)
  48527. B.JSArray_methods.addAll$1(newComplexes, t8 ? resolved : J.map$1$1$ax(resolved, new A.SelectorList_nestWithin__closure0(complex), t6));
  48528. else {
  48529. t12 = A._setArrayType([], t1);
  48530. for (t13 = newComplexes.length, t14 = J.getInterceptor$ax(resolved), _i0 = 0; _i0 < newComplexes.length; newComplexes.length === t13 || (0, A.throwConcurrentModificationError)(newComplexes), ++_i0) {
  48531. newComplex = newComplexes[_i0];
  48532. for (t15 = t14.get$iterator(resolved), t16 = newComplex.span; t15.moveNext$0();)
  48533. t12.push(newComplex.concatenate$2(t15.get$current(t15), t16));
  48534. }
  48535. newComplexes = t12;
  48536. }
  48537. }
  48538. return newComplexes;
  48539. },
  48540. $signature: 344
  48541. };
  48542. A.SelectorList_nestWithin__closure.prototype = {
  48543. call$1(parentComplex) {
  48544. var t1 = this.complex;
  48545. return parentComplex.concatenate$2(t1, t1.span);
  48546. },
  48547. $signature: 60
  48548. };
  48549. A.SelectorList_nestWithin__closure0.prototype = {
  48550. call$1(resolvedComplex) {
  48551. var t1 = resolvedComplex.leadingCombinators,
  48552. t2 = this.complex,
  48553. t3 = t2.leadingCombinators;
  48554. if (t1.length === 0)
  48555. t1 = t3;
  48556. else {
  48557. t3 = A.List_List$_of(t3, type$.CssValue_Combinator);
  48558. B.JSArray_methods.addAll$1(t3, t1);
  48559. t1 = t3;
  48560. }
  48561. return A.ComplexSelector$(t1, resolvedComplex.components, t2.span, resolvedComplex.lineBreak);
  48562. },
  48563. $signature: 60
  48564. };
  48565. A.SelectorList__nestWithinCompound_closure.prototype = {
  48566. call$1(simple) {
  48567. var selector;
  48568. if (!(simple instanceof A.PseudoSelector))
  48569. return false;
  48570. selector = simple.selector;
  48571. return selector != null && selector.accept$1(B.C__ParentSelectorVisitor) != null;
  48572. },
  48573. $signature: 14
  48574. };
  48575. A.SelectorList__nestWithinCompound_closure0.prototype = {
  48576. call$1(simple) {
  48577. var selector, t1, _0_2;
  48578. $label0$0: {
  48579. selector = null;
  48580. t1 = false;
  48581. if (simple instanceof A.PseudoSelector) {
  48582. _0_2 = simple.selector;
  48583. if (_0_2 != null) {
  48584. selector = _0_2 == null ? type$.SelectorList._as(_0_2) : _0_2;
  48585. t1 = selector.accept$1(B.C__ParentSelectorVisitor) != null;
  48586. }
  48587. }
  48588. if (t1) {
  48589. t1 = simple.withSelector$1(selector.nestWithin$2$implicitParent(this.parent, false));
  48590. break $label0$0;
  48591. }
  48592. t1 = simple;
  48593. break $label0$0;
  48594. }
  48595. return t1;
  48596. },
  48597. $signature: 368
  48598. };
  48599. A.SelectorList__nestWithinCompound_closure1.prototype = {
  48600. call$1(complex) {
  48601. var lastComponent, suffix, lastSimples, t1, t2, last, t3, error, stackTrace, t4, t5, exception, _this = this;
  48602. try {
  48603. t4 = complex.components;
  48604. lastComponent = B.JSArray_methods.get$last(t4);
  48605. if (lastComponent.combinators.length !== 0) {
  48606. 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);
  48607. throw A.wrapException(t1);
  48608. }
  48609. suffix = _this.parentSelector.suffix;
  48610. lastSimples = lastComponent.selector.components;
  48611. t5 = type$.SimpleSelector;
  48612. if (suffix == null) {
  48613. t2 = A.List_List$_of(lastSimples, t5);
  48614. t1 = t2;
  48615. J.addAll$1$ax(t1, J.skip$1$ax(_this.resolvedSimples, 1));
  48616. t1 = t1;
  48617. } else {
  48618. t1 = A.List_List$_of(A.IterableExtension_get_exceptLast(lastSimples), t5);
  48619. t2 = t1;
  48620. J.add$1$ax(t2, J.get$last$ax(lastSimples).addSuffix$1(suffix));
  48621. J.addAll$1$ax(t2, J.skip$1$ax(_this.resolvedSimples, 1));
  48622. t1 = t2;
  48623. }
  48624. t2 = _this.component;
  48625. last = A.CompoundSelector$(t1, t2.selector.span);
  48626. t1 = A.List_List$_of(A.IterableExtension_get_exceptLast(t4), type$.ComplexSelectorComponent);
  48627. t3 = t1;
  48628. t1 = t2.span;
  48629. J.add$1$ax(t3, new A.ComplexSelectorComponent(last, A.List_List$unmodifiable(t2.combinators, type$.CssValue_Combinator), t1));
  48630. t1 = A.ComplexSelector$(complex.leadingCombinators, t3, t1, complex.lineBreak);
  48631. return t1;
  48632. } catch (exception) {
  48633. t1 = A.unwrapException(exception);
  48634. if (t1 instanceof A.SassException) {
  48635. error = t1;
  48636. stackTrace = A.getTraceFromException(exception);
  48637. A.throwWithTrace(error.withAdditionalSpan$2(_this.parentSelector.span, "parent selector"), error, stackTrace);
  48638. } else
  48639. throw exception;
  48640. }
  48641. },
  48642. $signature: 60
  48643. };
  48644. A.SelectorList_withAdditionalCombinators_closure.prototype = {
  48645. call$1(complex) {
  48646. return complex.withAdditionalCombinators$1(this.combinators);
  48647. },
  48648. $signature: 60
  48649. };
  48650. A._ParentSelectorVisitor.prototype = {
  48651. visitParentSelector$1(selector) {
  48652. return selector;
  48653. }
  48654. };
  48655. A.__ParentSelectorVisitor_Object_SelectorSearchVisitor.prototype = {};
  48656. A.ParentSelector.prototype = {
  48657. accept$1$1(visitor) {
  48658. return visitor.visitParentSelector$1(this);
  48659. },
  48660. accept$1(visitor) {
  48661. return this.accept$1$1(visitor, type$.dynamic);
  48662. },
  48663. unify$1(compound) {
  48664. return A.throwExpression(A.UnsupportedError$("& doesn't support unification."));
  48665. }
  48666. };
  48667. A.PlaceholderSelector.prototype = {
  48668. accept$1$1(visitor) {
  48669. return visitor.visitPlaceholderSelector$1(this);
  48670. },
  48671. accept$1(visitor) {
  48672. return this.accept$1$1(visitor, type$.dynamic);
  48673. },
  48674. addSuffix$1(suffix) {
  48675. return new A.PlaceholderSelector(this.name + suffix, this.span);
  48676. },
  48677. $eq(_, other) {
  48678. if (other == null)
  48679. return false;
  48680. return other instanceof A.PlaceholderSelector && other.name === this.name;
  48681. },
  48682. get$hashCode(_) {
  48683. return B.JSString_methods.get$hashCode(this.name);
  48684. }
  48685. };
  48686. A.PseudoSelector.prototype = {
  48687. get$isHostContext() {
  48688. return this.isClass && this.name === "host-context" && this.selector != null;
  48689. },
  48690. get$hasComplicatedSuperselectorSemantics() {
  48691. return !this.isClass || this.selector != null;
  48692. },
  48693. get$specificity() {
  48694. var result, _this = this,
  48695. value = _this.__PseudoSelector_specificity_FI;
  48696. if (value === $) {
  48697. result = new A.PseudoSelector_specificity_closure(_this).call$0();
  48698. _this.__PseudoSelector_specificity_FI !== $ && A.throwUnnamedLateFieldADI();
  48699. _this.__PseudoSelector_specificity_FI = result;
  48700. value = result;
  48701. }
  48702. return value;
  48703. },
  48704. withSelector$1(selector) {
  48705. var _this = this;
  48706. return A.PseudoSelector$(_this.name, _this.span, _this.argument, !_this.isClass, selector);
  48707. },
  48708. addSuffix$1(suffix) {
  48709. var _this = this;
  48710. if (_this.argument != null || _this.selector != null)
  48711. _this.super$SimpleSelector$addSuffix(suffix);
  48712. return A.PseudoSelector$(_this.name + suffix, _this.span, null, !_this.isClass, null);
  48713. },
  48714. unify$1(compound) {
  48715. var other, result, t2, addedThis, _i, simple, _this = this,
  48716. t1 = _this.name;
  48717. if (t1 === "host" || t1 === "host-context") {
  48718. if (!B.JSArray_methods.every$1(compound, new A.PseudoSelector_unify_closure()))
  48719. return null;
  48720. } else {
  48721. t1 = false;
  48722. if (compound.length === 1) {
  48723. other = compound[0];
  48724. if (!(other instanceof A.UniversalSelector)) {
  48725. if (other instanceof A.PseudoSelector)
  48726. t1 = other.isClass && other.name === "host" || other.get$isHostContext();
  48727. } else
  48728. t1 = true;
  48729. } else
  48730. other = null;
  48731. if (t1)
  48732. return other.unify$1(A._setArrayType([_this], type$.JSArray_SimpleSelector));
  48733. }
  48734. if (B.JSArray_methods.contains$1(compound, _this))
  48735. return compound;
  48736. result = A._setArrayType([], type$.JSArray_SimpleSelector);
  48737. for (t1 = compound.length, t2 = !_this.isClass, addedThis = false, _i = 0; _i < compound.length; compound.length === t1 || (0, A.throwConcurrentModificationError)(compound), ++_i) {
  48738. simple = compound[_i];
  48739. if (simple instanceof A.PseudoSelector && !simple.isClass) {
  48740. if (t2)
  48741. return null;
  48742. result.push(_this);
  48743. addedThis = true;
  48744. }
  48745. result.push(simple);
  48746. }
  48747. if (!addedThis)
  48748. result.push(_this);
  48749. return result;
  48750. },
  48751. isSuperselector$1(other) {
  48752. var selector, t1, t2, _this = this;
  48753. if (_this.super$SimpleSelector$isSuperselector(other))
  48754. return true;
  48755. selector = _this.selector;
  48756. if (selector == null)
  48757. return _this.$eq(0, other);
  48758. if (other instanceof A.PseudoSelector && !_this.isClass && !other.isClass && _this.normalizedName === "slotted" && other.name === _this.name) {
  48759. t1 = A.NullableExtension_andThen(other.selector, selector.get$isSuperselector());
  48760. return t1 == null ? false : t1;
  48761. }
  48762. t1 = type$.JSArray_SimpleSelector;
  48763. t2 = _this.span;
  48764. return A.compoundIsSuperselector(A.CompoundSelector$(A._setArrayType([_this], t1), t2), A.CompoundSelector$(A._setArrayType([other], t1), t2), null);
  48765. },
  48766. accept$1$1(visitor) {
  48767. return visitor.visitPseudoSelector$1(this);
  48768. },
  48769. accept$1(visitor) {
  48770. return this.accept$1$1(visitor, type$.dynamic);
  48771. },
  48772. $eq(_, other) {
  48773. var _this = this;
  48774. if (other == null)
  48775. return false;
  48776. return other instanceof A.PseudoSelector && other.name === _this.name && other.isClass === _this.isClass && other.argument == _this.argument && J.$eq$(other.selector, _this.selector);
  48777. },
  48778. get$hashCode(_) {
  48779. var _this = this,
  48780. t1 = B.JSString_methods.get$hashCode(_this.name),
  48781. t2 = !_this.isClass ? 519018 : 218159;
  48782. return t1 ^ t2 ^ J.get$hashCode$(_this.argument) ^ J.get$hashCode$(_this.selector);
  48783. }
  48784. };
  48785. A.PseudoSelector_specificity_closure.prototype = {
  48786. call$0() {
  48787. var selector, t2,
  48788. t1 = this.$this;
  48789. if (!t1.isClass)
  48790. return 1;
  48791. selector = t1.selector;
  48792. if (selector == null)
  48793. return A.SimpleSelector.prototype.get$specificity.call(t1);
  48794. switch (t1.normalizedName) {
  48795. case "where":
  48796. return 0;
  48797. case "is":
  48798. case "not":
  48799. case "has":
  48800. case "matches":
  48801. t1 = selector.components;
  48802. return A.IterableIntegerExtension_get_max(new A.MappedListIterable(t1, new A.PseudoSelector_specificity__closure(), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,int>")));
  48803. case "nth-child":
  48804. case "nth-last-child":
  48805. t1 = A.SimpleSelector.prototype.get$specificity.call(t1);
  48806. t2 = selector.components;
  48807. return t1 + A.IterableIntegerExtension_get_max(new A.MappedListIterable(t2, new A.PseudoSelector_specificity__closure0(), A._arrayInstanceType(t2)._eval$1("MappedListIterable<1,int>")));
  48808. default:
  48809. return A.SimpleSelector.prototype.get$specificity.call(t1);
  48810. }
  48811. },
  48812. $signature: 10
  48813. };
  48814. A.PseudoSelector_specificity__closure.prototype = {
  48815. call$1(component) {
  48816. return component.get$specificity();
  48817. },
  48818. $signature: 171
  48819. };
  48820. A.PseudoSelector_specificity__closure0.prototype = {
  48821. call$1(component) {
  48822. return component.get$specificity();
  48823. },
  48824. $signature: 171
  48825. };
  48826. A.PseudoSelector_unify_closure.prototype = {
  48827. call$1(simple) {
  48828. var t1;
  48829. if (simple instanceof A.PseudoSelector)
  48830. t1 = simple.isClass && simple.name === "host" || simple.selector != null;
  48831. else
  48832. t1 = false;
  48833. return t1;
  48834. },
  48835. $signature: 14
  48836. };
  48837. A.QualifiedName.prototype = {
  48838. $eq(_, other) {
  48839. if (other == null)
  48840. return false;
  48841. return other instanceof A.QualifiedName && other.name === this.name && other.namespace == this.namespace;
  48842. },
  48843. get$hashCode(_) {
  48844. return B.JSString_methods.get$hashCode(this.name) ^ J.get$hashCode$(this.namespace);
  48845. },
  48846. toString$0(_) {
  48847. var t1 = this.namespace,
  48848. t2 = this.name;
  48849. return t1 == null ? t2 : t1 + "|" + t2;
  48850. }
  48851. };
  48852. A.SimpleSelector.prototype = {
  48853. get$specificity() {
  48854. return 1000;
  48855. },
  48856. get$hasComplicatedSuperselectorSemantics() {
  48857. return false;
  48858. },
  48859. addSuffix$1(suffix) {
  48860. 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));
  48861. },
  48862. unify$1(compound) {
  48863. var other, result, addedThis, _i, simple, _this = this,
  48864. t1 = false;
  48865. if (compound.length === 1) {
  48866. other = compound[0];
  48867. if (!(other instanceof A.UniversalSelector)) {
  48868. if (other instanceof A.PseudoSelector)
  48869. t1 = other.isClass && other.name === "host" || other.get$isHostContext();
  48870. } else
  48871. t1 = true;
  48872. } else
  48873. other = null;
  48874. if (t1)
  48875. return other.unify$1(A._setArrayType([_this], type$.JSArray_SimpleSelector));
  48876. if (B.JSArray_methods.contains$1(compound, _this))
  48877. return compound;
  48878. result = A._setArrayType([], type$.JSArray_SimpleSelector);
  48879. for (t1 = compound.length, addedThis = false, _i = 0; _i < compound.length; compound.length === t1 || (0, A.throwConcurrentModificationError)(compound), ++_i) {
  48880. simple = compound[_i];
  48881. if (!addedThis && simple instanceof A.PseudoSelector) {
  48882. result.push(_this);
  48883. addedThis = true;
  48884. }
  48885. result.push(simple);
  48886. }
  48887. if (!addedThis)
  48888. result.push(_this);
  48889. return result;
  48890. },
  48891. isSuperselector$1(other) {
  48892. var list;
  48893. if (this.$eq(0, other))
  48894. return true;
  48895. if (other instanceof A.PseudoSelector && other.isClass) {
  48896. list = other.selector;
  48897. if (list != null && $._subselectorPseudos.contains$1(0, other.normalizedName))
  48898. return B.JSArray_methods.every$1(list.components, new A.SimpleSelector_isSuperselector_closure(this));
  48899. }
  48900. return false;
  48901. }
  48902. };
  48903. A.SimpleSelector_isSuperselector_closure.prototype = {
  48904. call$1(complex) {
  48905. var t1 = complex.components;
  48906. return t1.length !== 0 && B.JSArray_methods.any$1(B.JSArray_methods.get$last(t1).selector.components, new A.SimpleSelector_isSuperselector__closure(this.$this));
  48907. },
  48908. $signature: 19
  48909. };
  48910. A.SimpleSelector_isSuperselector__closure.prototype = {
  48911. call$1(simple) {
  48912. return this.$this.isSuperselector$1(simple);
  48913. },
  48914. $signature: 14
  48915. };
  48916. A.TypeSelector.prototype = {
  48917. get$specificity() {
  48918. return 1;
  48919. },
  48920. accept$1$1(visitor) {
  48921. return visitor.visitTypeSelector$1(this);
  48922. },
  48923. accept$1(visitor) {
  48924. return this.accept$1$1(visitor, type$.dynamic);
  48925. },
  48926. addSuffix$1(suffix) {
  48927. var t1 = this.name;
  48928. return new A.TypeSelector(new A.QualifiedName(t1.name + suffix, t1.namespace), this.span);
  48929. },
  48930. unify$1(compound) {
  48931. var unified, t1,
  48932. _0_0 = A.IterableExtensions_get_firstOrNull(compound);
  48933. if (_0_0 instanceof A.UniversalSelector || _0_0 instanceof A.TypeSelector) {
  48934. unified = A.unifyUniversalAndElement(this, B.JSArray_methods.get$first(compound));
  48935. if (unified == null)
  48936. return null;
  48937. t1 = A._setArrayType([unified], type$.JSArray_SimpleSelector);
  48938. B.JSArray_methods.addAll$1(t1, A.SubListIterable$(compound, 1, null, A._arrayInstanceType(compound)._precomputed1));
  48939. return t1;
  48940. } else {
  48941. t1 = A._setArrayType([this], type$.JSArray_SimpleSelector);
  48942. B.JSArray_methods.addAll$1(t1, compound);
  48943. return t1;
  48944. }
  48945. },
  48946. isSuperselector$1(other) {
  48947. var t1, t2, t3;
  48948. if (!this.super$SimpleSelector$isSuperselector(other)) {
  48949. t1 = false;
  48950. if (other instanceof A.TypeSelector) {
  48951. t2 = this.name;
  48952. t3 = other.name;
  48953. if (t2.name === t3.name) {
  48954. t1 = t2.namespace;
  48955. t1 = t1 === "*" || t1 == t3.namespace;
  48956. }
  48957. }
  48958. } else
  48959. t1 = true;
  48960. return t1;
  48961. },
  48962. $eq(_, other) {
  48963. if (other == null)
  48964. return false;
  48965. return other instanceof A.TypeSelector && other.name.$eq(0, this.name);
  48966. },
  48967. get$hashCode(_) {
  48968. var t1 = this.name;
  48969. return B.JSString_methods.get$hashCode(t1.name) ^ J.get$hashCode$(t1.namespace);
  48970. }
  48971. };
  48972. A.UniversalSelector.prototype = {
  48973. get$specificity() {
  48974. return 0;
  48975. },
  48976. accept$1$1(visitor) {
  48977. return visitor.visitUniversalSelector$1(this);
  48978. },
  48979. accept$1(visitor) {
  48980. return this.accept$1$1(visitor, type$.dynamic);
  48981. },
  48982. unify$1(compound) {
  48983. var _0_4, t1, rest, unified, t2, _this = this, _null = null,
  48984. _0_1 = compound.length,
  48985. _0_4_isSet = _0_1 >= 1;
  48986. if (_0_4_isSet) {
  48987. _0_4 = compound[0];
  48988. if (!(_0_4 instanceof A.UniversalSelector))
  48989. t1 = _0_4 instanceof A.TypeSelector;
  48990. else
  48991. t1 = true;
  48992. rest = t1 ? B.JSArray_methods.sublist$1(compound, 1) : _null;
  48993. } else {
  48994. rest = _null;
  48995. _0_4 = rest;
  48996. t1 = false;
  48997. }
  48998. if (t1) {
  48999. unified = A.unifyUniversalAndElement(_this, B.JSArray_methods.get$first(compound));
  49000. if (unified == null)
  49001. return _null;
  49002. t1 = A._setArrayType([unified], type$.JSArray_SimpleSelector);
  49003. B.JSArray_methods.addAll$1(t1, rest);
  49004. return t1;
  49005. }
  49006. t1 = false;
  49007. if (_0_1 === 1) {
  49008. if (_0_4_isSet)
  49009. t2 = _0_4;
  49010. else {
  49011. _0_4 = compound[0];
  49012. t2 = _0_4;
  49013. _0_4_isSet = true;
  49014. }
  49015. if (t2 instanceof A.PseudoSelector) {
  49016. t2 = _0_4_isSet ? _0_4 : compound[0];
  49017. type$.PseudoSelector._as(t2);
  49018. t1 = t2.isClass && t2.name === "host" || t2.get$isHostContext();
  49019. }
  49020. }
  49021. if (t1)
  49022. return _null;
  49023. if (_0_1 <= 0)
  49024. return A._setArrayType([_this], type$.JSArray_SimpleSelector);
  49025. t1 = _this.namespace;
  49026. if (t1 == null || t1 === "*")
  49027. t1 = compound;
  49028. else {
  49029. t1 = A._setArrayType([_this], type$.JSArray_SimpleSelector);
  49030. B.JSArray_methods.addAll$1(t1, compound);
  49031. }
  49032. return t1;
  49033. },
  49034. isSuperselector$1(other) {
  49035. var t1 = this.namespace;
  49036. if (t1 === "*")
  49037. return true;
  49038. if (other instanceof A.TypeSelector)
  49039. return t1 == other.name.namespace;
  49040. if (other instanceof A.UniversalSelector)
  49041. return t1 == other.namespace;
  49042. return t1 == null || this.super$SimpleSelector$isSuperselector(other);
  49043. },
  49044. $eq(_, other) {
  49045. if (other == null)
  49046. return false;
  49047. return other instanceof A.UniversalSelector && other.namespace == this.namespace;
  49048. },
  49049. get$hashCode(_) {
  49050. return J.get$hashCode$(this.namespace);
  49051. }
  49052. };
  49053. A._compileStylesheet_closure0.prototype = {
  49054. call$1(url) {
  49055. var t1;
  49056. if (url === "") {
  49057. t1 = this.stylesheet.span;
  49058. 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();
  49059. } else
  49060. t1 = this.importCache.sourceMapUrl$1(0, A.Uri_parse(url)).toString$0(0);
  49061. return t1;
  49062. },
  49063. $signature: 6
  49064. };
  49065. A.AsyncEnvironment.prototype = {
  49066. closure$0() {
  49067. var t4, t5, t6, _this = this,
  49068. t1 = _this._async_environment$_forwardedModules,
  49069. t2 = _this._async_environment$_nestedForwardedModules,
  49070. t3 = _this._async_environment$_variables;
  49071. t3 = A._setArrayType(t3.slice(0), A._arrayInstanceType(t3));
  49072. t4 = _this._async_environment$_variableNodes;
  49073. t4 = A._setArrayType(t4.slice(0), A._arrayInstanceType(t4));
  49074. t5 = _this._async_environment$_functions;
  49075. t5 = A._setArrayType(t5.slice(0), A._arrayInstanceType(t5));
  49076. t6 = _this._async_environment$_mixins;
  49077. t6 = A._setArrayType(t6.slice(0), A._arrayInstanceType(t6));
  49078. 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, B.Set_empty1);
  49079. },
  49080. forwardModule$2(module, rule) {
  49081. var view, t1, t2, _this = this,
  49082. forwardedModules = _this._async_environment$_forwardedModules;
  49083. if (forwardedModules == null)
  49084. forwardedModules = _this._async_environment$_forwardedModules = A.LinkedHashMap_LinkedHashMap$_empty(type$.Module_AsyncCallable, type$.AstNode);
  49085. view = A.ForwardedModuleView_ifNecessary(module, rule, type$.AsyncCallable);
  49086. for (t1 = new A.LinkedHashMapKeyIterator(forwardedModules, forwardedModules._modifications, forwardedModules._first); t1.moveNext$0();) {
  49087. t2 = t1.__js_helper$_current;
  49088. _this._async_environment$_assertNoConflicts$5(view.get$variables(), t2.get$variables(), view, t2, "variable");
  49089. _this._async_environment$_assertNoConflicts$5(view.get$functions(view), t2.get$functions(t2), view, t2, "function");
  49090. _this._async_environment$_assertNoConflicts$5(view.get$mixins(), t2.get$mixins(), view, t2, "mixin");
  49091. }
  49092. _this._async_environment$_allModules.push(module);
  49093. forwardedModules.$indexSet(0, view, rule);
  49094. },
  49095. _async_environment$_assertNoConflicts$5(newMembers, oldMembers, newModule, oldModule, type) {
  49096. var larger, smaller, t1, t2, t3, t4, $name, small, large, span;
  49097. if (newMembers.get$length(newMembers) < oldMembers.get$length(oldMembers)) {
  49098. larger = oldMembers;
  49099. smaller = newMembers;
  49100. } else {
  49101. larger = newMembers;
  49102. smaller = oldMembers;
  49103. }
  49104. for (t1 = type$.String, t2 = A.MapExtensions_get_pairs(smaller, t1, type$.Object), t2 = t2.get$iterator(t2), t3 = type === "variable"; t2.moveNext$0();) {
  49105. t4 = t2.get$current(t2);
  49106. $name = t4._0;
  49107. small = t4._1;
  49108. large = larger.$index(0, $name);
  49109. if (large == null)
  49110. continue;
  49111. if (t3 ? newModule.variableIdentity$1($name) === oldModule.variableIdentity$1($name) : J.$eq$(large, small))
  49112. continue;
  49113. if (t3)
  49114. $name = "$" + $name;
  49115. t2 = this._async_environment$_forwardedModules;
  49116. if (t2 == null)
  49117. span = null;
  49118. else {
  49119. t2 = t2.$index(0, oldModule);
  49120. span = t2 == null ? null : t2.get$span(t2);
  49121. }
  49122. t2 = A.LinkedHashMap_LinkedHashMap$_empty(type$.FileSpan, t1);
  49123. if (span != null)
  49124. t2.$indexSet(0, span, "original @forward");
  49125. throw A.wrapException(A.MultiSpanSassScriptException$("Two forwarded modules both define a " + type + " named " + $name + ".", "new @forward", t2));
  49126. }
  49127. },
  49128. importForwards$1(module) {
  49129. var forwardedModules, t1, t2, t3, t4, node, t5, t6, t7, t8, t9, t10, _i, t11, shadowed, t12, t13, _length, _list, _this = this,
  49130. forwarded = module._async_environment$_environment._async_environment$_forwardedModules;
  49131. if (forwarded == null)
  49132. return;
  49133. forwardedModules = _this._async_environment$_forwardedModules;
  49134. if (forwardedModules != null) {
  49135. t1 = type$.Module_AsyncCallable;
  49136. t2 = type$.AstNode;
  49137. t3 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t2);
  49138. for (t1 = A.MapExtensions_get_pairs(forwarded, t1, t2), t1 = t1.get$iterator(t1), t2 = _this._async_environment$_globalModules; t1.moveNext$0();) {
  49139. t4 = t1.get$current(t1);
  49140. module = t4._0;
  49141. node = t4._1;
  49142. if (!forwardedModules.containsKey$1(module) || !t2.containsKey$1(module))
  49143. t3.$indexSet(0, module, node);
  49144. }
  49145. forwarded = t3;
  49146. } else
  49147. forwardedModules = _this._async_environment$_forwardedModules = A.LinkedHashMap_LinkedHashMap$_empty(type$.Module_AsyncCallable, type$.AstNode);
  49148. t1 = type$.String;
  49149. t2 = A.LinkedHashSet_LinkedHashSet$_empty(t1);
  49150. for (t3 = new A.LinkedHashMapKeyIterator(forwarded, forwarded._modifications, forwarded._first); t3.moveNext$0();)
  49151. for (t4 = t3.__js_helper$_current.get$variables(), t4 = J.get$iterator$ax(t4.get$keys(t4)); t4.moveNext$0();)
  49152. t2.add$1(0, t4.get$current(t4));
  49153. t3 = A.LinkedHashSet_LinkedHashSet$_empty(t1);
  49154. for (t4 = new A.LinkedHashMapKeyIterator(forwarded, forwarded._modifications, forwarded._first); t4.moveNext$0();) {
  49155. t5 = t4.__js_helper$_current;
  49156. for (t5 = t5.get$functions(t5), t5 = J.get$iterator$ax(t5.get$keys(t5)); t5.moveNext$0();)
  49157. t3.add$1(0, t5.get$current(t5));
  49158. }
  49159. t1 = A.LinkedHashSet_LinkedHashSet$_empty(t1);
  49160. for (t4 = new A.LinkedHashMapKeyIterator(forwarded, forwarded._modifications, forwarded._first); t4.moveNext$0();)
  49161. for (t5 = t4.__js_helper$_current.get$mixins(), t5 = J.get$iterator$ax(t5.get$keys(t5)); t5.moveNext$0();)
  49162. t1.add$1(0, t5.get$current(t5));
  49163. t4 = _this._async_environment$_variables;
  49164. t5 = t4.length;
  49165. if (t5 === 1) {
  49166. 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) {
  49167. t11 = t8[_i];
  49168. module = t11._0;
  49169. shadowed = A.ShadowedModuleView_ifNecessary(module, t3, t1, t2, t10);
  49170. if (shadowed != null) {
  49171. t5.remove$1(0, module);
  49172. t12 = shadowed.variables;
  49173. t13 = false;
  49174. if (t12.get$isEmpty(t12)) {
  49175. t12 = shadowed.functions;
  49176. if (t12.get$isEmpty(t12)) {
  49177. t12 = shadowed.mixins;
  49178. if (t12.get$isEmpty(t12)) {
  49179. t12 = shadowed._shadowed_view$_inner;
  49180. t12 = t12.get$css(t12);
  49181. t12 = J.get$isEmpty$asx(t12.get$children(t12));
  49182. } else
  49183. t12 = t13;
  49184. } else
  49185. t12 = t13;
  49186. } else
  49187. t12 = t13;
  49188. if (!t12)
  49189. t5.$indexSet(0, shadowed, t11._1);
  49190. }
  49191. }
  49192. 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) {
  49193. t8 = t6[_i];
  49194. module = t8._0;
  49195. shadowed = A.ShadowedModuleView_ifNecessary(module, t3, t1, t2, t10);
  49196. if (shadowed != null) {
  49197. forwardedModules.remove$1(0, module);
  49198. t9 = shadowed.variables;
  49199. t11 = false;
  49200. if (t9.get$isEmpty(t9)) {
  49201. t9 = shadowed.functions;
  49202. if (t9.get$isEmpty(t9)) {
  49203. t9 = shadowed.mixins;
  49204. if (t9.get$isEmpty(t9)) {
  49205. t9 = shadowed._shadowed_view$_inner;
  49206. t9 = t9.get$css(t9);
  49207. t9 = J.get$isEmpty$asx(t9.get$children(t9));
  49208. } else
  49209. t9 = t11;
  49210. } else
  49211. t9 = t11;
  49212. } else
  49213. t9 = t11;
  49214. if (!t9)
  49215. forwardedModules.$indexSet(0, shadowed, t8._1);
  49216. }
  49217. }
  49218. t5.addAll$1(0, forwarded);
  49219. forwardedModules.addAll$1(0, forwarded);
  49220. } else {
  49221. t6 = _this._async_environment$_nestedForwardedModules;
  49222. if (t6 == null) {
  49223. _length = t5 - 1;
  49224. _list = J.JSArray_JSArray$allocateGrowable(_length, type$.List_Module_AsyncCallable);
  49225. for (t5 = type$.JSArray_Module_AsyncCallable, _i = 0; _i < _length; ++_i)
  49226. _list[_i] = A._setArrayType([], t5);
  49227. _this._async_environment$_nestedForwardedModules = _list;
  49228. t5 = _list;
  49229. } else
  49230. t5 = t6;
  49231. B.JSArray_methods.addAll$1(B.JSArray_methods.get$last(t5), new A.LinkedHashMapKeysIterable(forwarded, A._instanceType(forwarded)._eval$1("LinkedHashMapKeysIterable<1>")));
  49232. }
  49233. 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();) {
  49234. t8 = t2._collection$_current;
  49235. if (t8 == null)
  49236. t8 = t7._as(t8);
  49237. t5.remove$1(0, t8);
  49238. J.remove$1$z(B.JSArray_methods.get$last(t4), t8);
  49239. J.remove$1$z(B.JSArray_methods.get$last(t6), t8);
  49240. }
  49241. 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();) {
  49242. t6 = t2._collection$_current;
  49243. if (t6 == null)
  49244. t6 = t5._as(t6);
  49245. t3.remove$1(0, t6);
  49246. J.remove$1$z(B.JSArray_methods.get$last(t4), t6);
  49247. }
  49248. 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();) {
  49249. t5 = t1._collection$_current;
  49250. if (t5 == null)
  49251. t5 = t4._as(t5);
  49252. t2.remove$1(0, t5);
  49253. J.remove$1$z(B.JSArray_methods.get$last(t3), t5);
  49254. }
  49255. },
  49256. getVariable$2$namespace($name, namespace) {
  49257. var t1, _0_0, _1_0, _this = this;
  49258. if (namespace != null)
  49259. return _this._async_environment$_getModule$1(namespace).get$variables().$index(0, $name);
  49260. if (_this._async_environment$_lastVariableName === $name) {
  49261. t1 = _this._async_environment$_lastVariableIndex;
  49262. t1.toString;
  49263. t1 = _this._async_environment$_variables[t1].$index(0, $name);
  49264. return t1 == null ? _this._async_environment$_getVariableFromGlobalModule$1($name) : t1;
  49265. }
  49266. t1 = _this._async_environment$_variableIndices;
  49267. _0_0 = t1.$index(0, $name);
  49268. if (_0_0 != null) {
  49269. _this._async_environment$_lastVariableName = $name;
  49270. _this._async_environment$_lastVariableIndex = _0_0;
  49271. t1 = _this._async_environment$_variables[_0_0].$index(0, $name);
  49272. return t1 == null ? _this._async_environment$_getVariableFromGlobalModule$1($name) : t1;
  49273. } else {
  49274. _1_0 = _this._async_environment$_variableIndex$1($name);
  49275. if (_1_0 != null) {
  49276. _this._async_environment$_lastVariableName = $name;
  49277. _this._async_environment$_lastVariableIndex = _1_0;
  49278. t1.$indexSet(0, $name, _1_0);
  49279. t1 = _this._async_environment$_variables[_1_0].$index(0, $name);
  49280. return t1 == null ? _this._async_environment$_getVariableFromGlobalModule$1($name) : t1;
  49281. } else
  49282. return _this._async_environment$_getVariableFromGlobalModule$1($name);
  49283. }
  49284. },
  49285. getVariable$1($name) {
  49286. return this.getVariable$2$namespace($name, null);
  49287. },
  49288. _async_environment$_getVariableFromGlobalModule$1($name) {
  49289. return this._async_environment$_fromOneModule$3($name, "variable", new A.AsyncEnvironment__getVariableFromGlobalModule_closure($name));
  49290. },
  49291. getVariableNode$2$namespace($name, namespace) {
  49292. var t1, _0_0, _1_0, _this = this;
  49293. if (namespace != null)
  49294. return _this._async_environment$_getModule$1(namespace).get$variableNodes().$index(0, $name);
  49295. if (_this._async_environment$_lastVariableName === $name) {
  49296. t1 = _this._async_environment$_lastVariableIndex;
  49297. t1.toString;
  49298. t1 = _this._async_environment$_variableNodes[t1].$index(0, $name);
  49299. return t1 == null ? _this._async_environment$_getVariableNodeFromGlobalModule$1($name) : t1;
  49300. }
  49301. t1 = _this._async_environment$_variableIndices;
  49302. _0_0 = t1.$index(0, $name);
  49303. if (_0_0 != null) {
  49304. _this._async_environment$_lastVariableName = $name;
  49305. _this._async_environment$_lastVariableIndex = _0_0;
  49306. t1 = _this._async_environment$_variableNodes[_0_0].$index(0, $name);
  49307. return t1 == null ? _this._async_environment$_getVariableNodeFromGlobalModule$1($name) : t1;
  49308. } else {
  49309. _1_0 = _this._async_environment$_variableIndex$1($name);
  49310. if (_1_0 != null) {
  49311. _this._async_environment$_lastVariableName = $name;
  49312. _this._async_environment$_lastVariableIndex = _1_0;
  49313. t1.$indexSet(0, $name, _1_0);
  49314. t1 = _this._async_environment$_variableNodes[_1_0].$index(0, $name);
  49315. return t1 == null ? _this._async_environment$_getVariableNodeFromGlobalModule$1($name) : t1;
  49316. } else
  49317. return _this._async_environment$_getVariableNodeFromGlobalModule$1($name);
  49318. }
  49319. },
  49320. _async_environment$_getVariableNodeFromGlobalModule$1($name) {
  49321. var t1, t2, _0_0;
  49322. 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();) {
  49323. t1 = t2._currentIterator;
  49324. _0_0 = t1.get$current(t1).get$variableNodes().$index(0, $name);
  49325. if (_0_0 != null)
  49326. return _0_0;
  49327. }
  49328. return null;
  49329. },
  49330. globalVariableExists$2$namespace($name, namespace) {
  49331. if (namespace != null)
  49332. return this._async_environment$_getModule$1(namespace).get$variables().containsKey$1($name);
  49333. if (B.JSArray_methods.get$first(this._async_environment$_variables).containsKey$1($name))
  49334. return true;
  49335. return this._async_environment$_getVariableFromGlobalModule$1($name) != null;
  49336. },
  49337. globalVariableExists$1($name) {
  49338. return this.globalVariableExists$2$namespace($name, null);
  49339. },
  49340. _async_environment$_variableIndex$1($name) {
  49341. var t1, i;
  49342. for (t1 = this._async_environment$_variables, i = t1.length - 1; i >= 0; --i)
  49343. if (t1[i].containsKey$1($name))
  49344. return i;
  49345. return null;
  49346. },
  49347. setVariable$5$global$namespace($name, value, nodeWithSpan, global, namespace) {
  49348. var t1, moduleWithName, nestedForwardedModules, t2, t3, t4, t5, index, _this = this;
  49349. if (namespace != null) {
  49350. _this._async_environment$_getModule$1(namespace).setVariable$3($name, value, nodeWithSpan);
  49351. return;
  49352. }
  49353. if (global || _this._async_environment$_variables.length === 1) {
  49354. _this._async_environment$_variableIndices.putIfAbsent$2($name, new A.AsyncEnvironment_setVariable_closure(_this, $name));
  49355. t1 = _this._async_environment$_variables;
  49356. if (!B.JSArray_methods.get$first(t1).containsKey$1($name)) {
  49357. moduleWithName = _this._async_environment$_fromOneModule$3($name, "variable", new A.AsyncEnvironment_setVariable_closure0($name));
  49358. if (moduleWithName != null) {
  49359. moduleWithName.setVariable$3($name, value, nodeWithSpan);
  49360. return;
  49361. }
  49362. }
  49363. J.$indexSet$ax(B.JSArray_methods.get$first(t1), $name, value);
  49364. J.$indexSet$ax(B.JSArray_methods.get$first(_this._async_environment$_variableNodes), $name, nodeWithSpan);
  49365. return;
  49366. }
  49367. nestedForwardedModules = _this._async_environment$_nestedForwardedModules;
  49368. if (nestedForwardedModules != null && !_this._async_environment$_variableIndices.containsKey$1($name) && _this._async_environment$_variableIndex$1($name) == null)
  49369. 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();) {
  49370. t3 = t2.__internal$_current;
  49371. 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();) {
  49372. t5 = t3.__internal$_current;
  49373. if (t5 == null)
  49374. t5 = t4._as(t5);
  49375. if (t5.get$variables().containsKey$1($name)) {
  49376. t5.setVariable$3($name, value, nodeWithSpan);
  49377. return;
  49378. }
  49379. }
  49380. }
  49381. if (_this._async_environment$_lastVariableName === $name) {
  49382. t1 = _this._async_environment$_lastVariableIndex;
  49383. t1.toString;
  49384. index = t1;
  49385. } else
  49386. index = _this._async_environment$_variableIndices.putIfAbsent$2($name, new A.AsyncEnvironment_setVariable_closure1(_this, $name));
  49387. if (!_this._async_environment$_inSemiGlobalScope && index === 0) {
  49388. index = _this._async_environment$_variables.length - 1;
  49389. _this._async_environment$_variableIndices.$indexSet(0, $name, index);
  49390. }
  49391. _this._async_environment$_lastVariableName = $name;
  49392. _this._async_environment$_lastVariableIndex = index;
  49393. _this._async_environment$_variables[index].$indexSet(0, $name, value);
  49394. _this._async_environment$_variableNodes[index].$indexSet(0, $name, nodeWithSpan);
  49395. },
  49396. setVariable$4$global($name, value, nodeWithSpan, global) {
  49397. return this.setVariable$5$global$namespace($name, value, nodeWithSpan, global, null);
  49398. },
  49399. setLocalVariable$3($name, value, nodeWithSpan) {
  49400. var index, _this = this,
  49401. t1 = _this._async_environment$_variables,
  49402. t2 = t1.length;
  49403. _this._async_environment$_lastVariableName = $name;
  49404. index = _this._async_environment$_lastVariableIndex = t2 - 1;
  49405. _this._async_environment$_variableIndices.$indexSet(0, $name, index);
  49406. t1[index].$indexSet(0, $name, value);
  49407. _this._async_environment$_variableNodes[index].$indexSet(0, $name, nodeWithSpan);
  49408. },
  49409. getFunction$2$namespace($name, namespace) {
  49410. var t1, _0_0, _1_0, _this = this;
  49411. if (namespace != null) {
  49412. t1 = _this._async_environment$_getModule$1(namespace);
  49413. return t1.get$functions(t1).$index(0, $name);
  49414. }
  49415. t1 = _this._async_environment$_functionIndices;
  49416. _0_0 = t1.$index(0, $name);
  49417. if (_0_0 != null) {
  49418. t1 = _this._async_environment$_functions[_0_0].$index(0, $name);
  49419. return t1 == null ? _this._async_environment$_getFunctionFromGlobalModule$1($name) : t1;
  49420. } else {
  49421. _1_0 = _this._async_environment$_functionIndex$1($name);
  49422. if (_1_0 != null) {
  49423. t1.$indexSet(0, $name, _1_0);
  49424. t1 = _this._async_environment$_functions[_1_0].$index(0, $name);
  49425. return t1 == null ? _this._async_environment$_getFunctionFromGlobalModule$1($name) : t1;
  49426. } else
  49427. return _this._async_environment$_getFunctionFromGlobalModule$1($name);
  49428. }
  49429. },
  49430. getFunction$1($name) {
  49431. return this.getFunction$2$namespace($name, null);
  49432. },
  49433. _async_environment$_getFunctionFromGlobalModule$1($name) {
  49434. return this._async_environment$_fromOneModule$3($name, "function", new A.AsyncEnvironment__getFunctionFromGlobalModule_closure($name));
  49435. },
  49436. _async_environment$_functionIndex$1($name) {
  49437. var t1, i;
  49438. for (t1 = this._async_environment$_functions, i = t1.length - 1; i >= 0; --i)
  49439. if (t1[i].containsKey$1($name))
  49440. return i;
  49441. return null;
  49442. },
  49443. getMixin$2$namespace($name, namespace) {
  49444. var t1, _0_0, _1_0, _this = this;
  49445. if (namespace != null)
  49446. return _this._async_environment$_getModule$1(namespace).get$mixins().$index(0, $name);
  49447. t1 = _this._async_environment$_mixinIndices;
  49448. _0_0 = t1.$index(0, $name);
  49449. if (_0_0 != null) {
  49450. t1 = _this._async_environment$_mixins[_0_0].$index(0, $name);
  49451. return t1 == null ? _this._async_environment$_getMixinFromGlobalModule$1($name) : t1;
  49452. } else {
  49453. _1_0 = _this._async_environment$_mixinIndex$1($name);
  49454. if (_1_0 != null) {
  49455. t1.$indexSet(0, $name, _1_0);
  49456. t1 = _this._async_environment$_mixins[_1_0].$index(0, $name);
  49457. return t1 == null ? _this._async_environment$_getMixinFromGlobalModule$1($name) : t1;
  49458. } else
  49459. return _this._async_environment$_getMixinFromGlobalModule$1($name);
  49460. }
  49461. },
  49462. _async_environment$_getMixinFromGlobalModule$1($name) {
  49463. return this._async_environment$_fromOneModule$3($name, "mixin", new A.AsyncEnvironment__getMixinFromGlobalModule_closure($name));
  49464. },
  49465. _async_environment$_mixinIndex$1($name) {
  49466. var t1, i;
  49467. for (t1 = this._async_environment$_mixins, i = t1.length - 1; i >= 0; --i)
  49468. if (t1[i].containsKey$1($name))
  49469. return i;
  49470. return null;
  49471. },
  49472. withContent$2($content, callback) {
  49473. return this.withContent$body$AsyncEnvironment($content, callback);
  49474. },
  49475. withContent$body$AsyncEnvironment($content, callback) {
  49476. var $async$goto = 0,
  49477. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  49478. $async$self = this, oldContent;
  49479. var $async$withContent$2 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  49480. if ($async$errorCode === 1)
  49481. return A._asyncRethrow($async$result, $async$completer);
  49482. while (true)
  49483. switch ($async$goto) {
  49484. case 0:
  49485. // Function start
  49486. oldContent = $async$self._async_environment$_content;
  49487. $async$self._async_environment$_content = $content;
  49488. $async$goto = 2;
  49489. return A._asyncAwait(callback.call$0(), $async$withContent$2);
  49490. case 2:
  49491. // returning from await.
  49492. $async$self._async_environment$_content = oldContent;
  49493. // implicit return
  49494. return A._asyncReturn(null, $async$completer);
  49495. }
  49496. });
  49497. return A._asyncStartSync($async$withContent$2, $async$completer);
  49498. },
  49499. asMixin$1(callback) {
  49500. return this.asMixin$body$AsyncEnvironment(callback);
  49501. },
  49502. asMixin$body$AsyncEnvironment(callback) {
  49503. var $async$goto = 0,
  49504. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  49505. $async$self = this, oldInMixin;
  49506. var $async$asMixin$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  49507. if ($async$errorCode === 1)
  49508. return A._asyncRethrow($async$result, $async$completer);
  49509. while (true)
  49510. switch ($async$goto) {
  49511. case 0:
  49512. // Function start
  49513. oldInMixin = $async$self._async_environment$_inMixin;
  49514. $async$self._async_environment$_inMixin = true;
  49515. $async$goto = 2;
  49516. return A._asyncAwait(callback.call$0(), $async$asMixin$1);
  49517. case 2:
  49518. // returning from await.
  49519. $async$self._async_environment$_inMixin = oldInMixin;
  49520. // implicit return
  49521. return A._asyncReturn(null, $async$completer);
  49522. }
  49523. });
  49524. return A._asyncStartSync($async$asMixin$1, $async$completer);
  49525. },
  49526. scope$1$3$semiGlobal$when(callback, semiGlobal, when, $T) {
  49527. return this.scope$body$AsyncEnvironment(callback, semiGlobal, when, $T, $T);
  49528. },
  49529. scope$1$1(callback, $T) {
  49530. callback.toString;
  49531. return this.scope$1$3$semiGlobal$when(callback, false, true, $T);
  49532. },
  49533. scope$1$2$when(callback, when, $T) {
  49534. callback.toString;
  49535. return this.scope$1$3$semiGlobal$when(callback, false, when, $T);
  49536. },
  49537. scope$1$2$semiGlobal(callback, semiGlobal, $T) {
  49538. callback.toString;
  49539. return this.scope$1$3$semiGlobal$when(callback, semiGlobal, true, $T);
  49540. },
  49541. scope$body$AsyncEnvironment(callback, semiGlobal, when, $T, $async$type) {
  49542. var $async$goto = 0,
  49543. $async$completer = A._makeAsyncAwaitCompleter($async$type),
  49544. $async$returnValue, $async$handler = 2, $async$errorStack = [], $async$next = [], $async$self = this, wasInSemiGlobalScope, $name, name0, name1, t1, t2, t3, t4, t5, t6;
  49545. var $async$scope$1$3$semiGlobal$when = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  49546. if ($async$errorCode === 1) {
  49547. $async$errorStack.push($async$result);
  49548. $async$goto = $async$handler;
  49549. }
  49550. while (true)
  49551. switch ($async$goto) {
  49552. case 0:
  49553. // Function start
  49554. semiGlobal = semiGlobal && $async$self._async_environment$_inSemiGlobalScope;
  49555. wasInSemiGlobalScope = $async$self._async_environment$_inSemiGlobalScope;
  49556. $async$self._async_environment$_inSemiGlobalScope = semiGlobal;
  49557. $async$goto = !when ? 3 : 4;
  49558. break;
  49559. case 3:
  49560. // then
  49561. $async$handler = 5;
  49562. $async$goto = 8;
  49563. return A._asyncAwait(callback.call$0(), $async$scope$1$3$semiGlobal$when);
  49564. case 8:
  49565. // returning from await.
  49566. t1 = $async$result;
  49567. $async$returnValue = t1;
  49568. $async$next = [1];
  49569. // goto finally
  49570. $async$goto = 6;
  49571. break;
  49572. $async$next.push(7);
  49573. // goto finally
  49574. $async$goto = 6;
  49575. break;
  49576. case 5:
  49577. // uncaught
  49578. $async$next = [2];
  49579. case 6:
  49580. // finally
  49581. $async$handler = 2;
  49582. $async$self._async_environment$_inSemiGlobalScope = wasInSemiGlobalScope;
  49583. // goto the next finally handler
  49584. $async$goto = $async$next.pop();
  49585. break;
  49586. case 7:
  49587. // after finally
  49588. case 4:
  49589. // join
  49590. t1 = $async$self._async_environment$_variables;
  49591. t2 = type$.String;
  49592. B.JSArray_methods.add$1(t1, A.LinkedHashMap_LinkedHashMap$_empty(t2, type$.Value));
  49593. t3 = $async$self._async_environment$_variableNodes;
  49594. B.JSArray_methods.add$1(t3, A.LinkedHashMap_LinkedHashMap$_empty(t2, type$.AstNode));
  49595. t4 = $async$self._async_environment$_functions;
  49596. t5 = type$.AsyncCallable;
  49597. B.JSArray_methods.add$1(t4, A.LinkedHashMap_LinkedHashMap$_empty(t2, t5));
  49598. t6 = $async$self._async_environment$_mixins;
  49599. B.JSArray_methods.add$1(t6, A.LinkedHashMap_LinkedHashMap$_empty(t2, t5));
  49600. t5 = $async$self._async_environment$_nestedForwardedModules;
  49601. if (t5 != null)
  49602. t5.push(A._setArrayType([], type$.JSArray_Module_AsyncCallable));
  49603. $async$handler = 9;
  49604. $async$goto = 12;
  49605. return A._asyncAwait(callback.call$0(), $async$scope$1$3$semiGlobal$when);
  49606. case 12:
  49607. // returning from await.
  49608. t2 = $async$result;
  49609. $async$returnValue = t2;
  49610. $async$next = [1];
  49611. // goto finally
  49612. $async$goto = 10;
  49613. break;
  49614. $async$next.push(11);
  49615. // goto finally
  49616. $async$goto = 10;
  49617. break;
  49618. case 9:
  49619. // uncaught
  49620. $async$next = [2];
  49621. case 10:
  49622. // finally
  49623. $async$handler = 2;
  49624. $async$self._async_environment$_inSemiGlobalScope = wasInSemiGlobalScope;
  49625. $async$self._async_environment$_lastVariableIndex = $async$self._async_environment$_lastVariableName = null;
  49626. 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();) {
  49627. $name = t1.get$current(t1);
  49628. t2.remove$1(0, $name);
  49629. }
  49630. B.JSArray_methods.removeLast$0(t3);
  49631. 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();) {
  49632. name0 = t1.get$current(t1);
  49633. t2.remove$1(0, name0);
  49634. }
  49635. 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();) {
  49636. name1 = t1.get$current(t1);
  49637. t2.remove$1(0, name1);
  49638. }
  49639. t1 = $async$self._async_environment$_nestedForwardedModules;
  49640. if (t1 != null)
  49641. t1.pop();
  49642. // goto the next finally handler
  49643. $async$goto = $async$next.pop();
  49644. break;
  49645. case 11:
  49646. // after finally
  49647. case 1:
  49648. // return
  49649. return A._asyncReturn($async$returnValue, $async$completer);
  49650. case 2:
  49651. // rethrow
  49652. return A._asyncRethrow($async$errorStack.at(-1), $async$completer);
  49653. }
  49654. });
  49655. return A._asyncStartSync($async$scope$1$3$semiGlobal$when, $async$completer);
  49656. },
  49657. toImplicitConfiguration$0() {
  49658. var t2, t3, t4, i, values, nodes, t5, t6, $name, value,
  49659. t1 = type$.String,
  49660. configuration = A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.ConfiguredValue);
  49661. for (t2 = this._async_environment$_variables, t3 = type$.Value, t4 = this._async_environment$_variableNodes, i = 0; i < t2.length; ++i) {
  49662. values = t2[i];
  49663. nodes = t4[i];
  49664. for (t5 = A.MapExtensions_get_pairs(values, t1, t3), t5 = t5.get$iterator(t5); t5.moveNext$0();) {
  49665. t6 = t5.get$current(t5);
  49666. $name = t6._0;
  49667. value = t6._1;
  49668. t6 = nodes.$index(0, $name);
  49669. t6.toString;
  49670. configuration.$indexSet(0, $name, new A.ConfiguredValue(value, null, t6));
  49671. }
  49672. }
  49673. return new A.Configuration(configuration, null);
  49674. },
  49675. toModule$3(css, preModuleComments, extensionStore) {
  49676. return A._EnvironmentModule__EnvironmentModule0(this, css, preModuleComments, extensionStore, A.NullableExtension_andThen(this._async_environment$_forwardedModules, new A.AsyncEnvironment_toModule_closure()));
  49677. },
  49678. toDummyModule$0() {
  49679. 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()));
  49680. },
  49681. _async_environment$_getModule$1(namespace) {
  49682. var _0_0 = this._async_environment$_modules.$index(0, namespace);
  49683. if (_0_0 != null)
  49684. return _0_0;
  49685. throw A.wrapException(A.SassScriptException$('There is no module with the namespace "' + namespace + '".', null));
  49686. },
  49687. _async_environment$_fromOneModule$1$3($name, type, callback) {
  49688. var t1, t2, t3, t4, t5, _1_0, _2_0, value, identity, valueInModule, identityFromModule, module, node,
  49689. _0_0 = this._async_environment$_nestedForwardedModules;
  49690. if (_0_0 != null)
  49691. 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();) {
  49692. t3 = t2.__internal$_current;
  49693. 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();) {
  49694. t5 = t3.__internal$_current;
  49695. _1_0 = callback.call$1(t5 == null ? t4._as(t5) : t5);
  49696. if (_1_0 != null)
  49697. return _1_0;
  49698. }
  49699. }
  49700. for (t1 = this._async_environment$_importedModules, t1 = new A.LinkedHashMapKeyIterator(t1, t1._modifications, t1._first); t1.moveNext$0();) {
  49701. _2_0 = callback.call$1(t1.__js_helper$_current);
  49702. if (_2_0 != null)
  49703. return _2_0;
  49704. }
  49705. 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();) {
  49706. t4 = t2.__js_helper$_current;
  49707. valueInModule = callback.call$1(t4);
  49708. if (valueInModule == null)
  49709. continue;
  49710. identityFromModule = t3._is(valueInModule) ? valueInModule : t4.variableIdentity$1($name);
  49711. if (identityFromModule.$eq(0, identity))
  49712. continue;
  49713. if (value != null) {
  49714. t2 = A.LinkedHashMap_LinkedHashMap$_empty(type$.FileSpan, type$.String);
  49715. for (t3 = A.MapExtensions_get_pairs(t1, type$.Module_AsyncCallable, type$.AstNode), t3 = t3.get$iterator(t3), t4 = "includes " + type; t3.moveNext$0();) {
  49716. t1 = t3.get$current(t3);
  49717. module = t1._0;
  49718. node = t1._1;
  49719. if (callback.call$1(module) != null)
  49720. t2.$indexSet(0, node.get$span(node), t4);
  49721. }
  49722. throw A.wrapException(A.MultiSpanSassScriptException$("This " + type + string$.x20is_av, type + " use", t2));
  49723. }
  49724. identity = identityFromModule;
  49725. value = valueInModule;
  49726. }
  49727. return value;
  49728. },
  49729. _async_environment$_fromOneModule$3($name, type, callback) {
  49730. callback.toString;
  49731. return this._async_environment$_fromOneModule$1$3($name, type, callback, type$.dynamic);
  49732. }
  49733. };
  49734. A.AsyncEnvironment__getVariableFromGlobalModule_closure.prototype = {
  49735. call$1(module) {
  49736. return module.get$variables().$index(0, this.name);
  49737. },
  49738. $signature: 397
  49739. };
  49740. A.AsyncEnvironment_setVariable_closure.prototype = {
  49741. call$0() {
  49742. var t1 = this.$this;
  49743. t1._async_environment$_lastVariableName = this.name;
  49744. return t1._async_environment$_lastVariableIndex = 0;
  49745. },
  49746. $signature: 10
  49747. };
  49748. A.AsyncEnvironment_setVariable_closure0.prototype = {
  49749. call$1(module) {
  49750. return module.get$variables().containsKey$1(this.name) ? module : null;
  49751. },
  49752. $signature: 412
  49753. };
  49754. A.AsyncEnvironment_setVariable_closure1.prototype = {
  49755. call$0() {
  49756. var t1 = this.$this,
  49757. t2 = t1._async_environment$_variableIndex$1(this.name);
  49758. return t2 == null ? t1._async_environment$_variables.length - 1 : t2;
  49759. },
  49760. $signature: 10
  49761. };
  49762. A.AsyncEnvironment__getFunctionFromGlobalModule_closure.prototype = {
  49763. call$1(module) {
  49764. return module.get$functions(module).$index(0, this.name);
  49765. },
  49766. $signature: 173
  49767. };
  49768. A.AsyncEnvironment__getMixinFromGlobalModule_closure.prototype = {
  49769. call$1(module) {
  49770. return module.get$mixins().$index(0, this.name);
  49771. },
  49772. $signature: 173
  49773. };
  49774. A.AsyncEnvironment_toModule_closure.prototype = {
  49775. call$1(modules) {
  49776. return new A.MapKeySet(modules, type$.MapKeySet_Module_AsyncCallable);
  49777. },
  49778. $signature: 175
  49779. };
  49780. A.AsyncEnvironment_toDummyModule_closure.prototype = {
  49781. call$1(modules) {
  49782. return new A.MapKeySet(modules, type$.MapKeySet_Module_AsyncCallable);
  49783. },
  49784. $signature: 175
  49785. };
  49786. A._EnvironmentModule0.prototype = {
  49787. get$url(_) {
  49788. var t1 = this.css;
  49789. t1 = t1.get$span(t1);
  49790. return t1.get$sourceUrl(t1);
  49791. },
  49792. setVariable$3($name, value, nodeWithSpan) {
  49793. var t1, t2,
  49794. _0_0 = this._async_environment$_modulesByVariable.$index(0, $name);
  49795. if (_0_0 != null) {
  49796. _0_0.setVariable$3($name, value, nodeWithSpan);
  49797. return;
  49798. }
  49799. t1 = this._async_environment$_environment;
  49800. t2 = t1._async_environment$_variables;
  49801. if (!B.JSArray_methods.get$first(t2).containsKey$1($name))
  49802. throw A.wrapException(A.SassScriptException$("Undefined variable.", null));
  49803. J.$indexSet$ax(B.JSArray_methods.get$first(t2), $name, value);
  49804. J.$indexSet$ax(B.JSArray_methods.get$first(t1._async_environment$_variableNodes), $name, nodeWithSpan);
  49805. return;
  49806. },
  49807. variableIdentity$1($name) {
  49808. var module = this._async_environment$_modulesByVariable.$index(0, $name);
  49809. return module == null ? this : module.variableIdentity$1($name);
  49810. },
  49811. couldHaveBeenConfigured$1(variables) {
  49812. var t2, t3, _0_0, variable, module,
  49813. t1 = this._async_environment$_environment._async_environment$_configurableVariables;
  49814. if (!(variables.get$length(variables) < t1.get$length(t1) ? variables.any$1(0, t1.get$contains(t1)) : t1.any$1(0, variables.get$contains(variables)))) {
  49815. t1 = this._async_environment$_modulesByVariable;
  49816. t2 = type$.Module_AsyncCallable;
  49817. if (variables.get$length(variables) < t1.get$length(t1)) {
  49818. t2 = A.LinkedHashSet_LinkedHashSet$_empty(t2);
  49819. for (t3 = variables.get$iterator(variables); t3.moveNext$0();) {
  49820. _0_0 = t1.$index(0, t3.get$current(t3));
  49821. if (_0_0 != null)
  49822. t2.add$1(0, _0_0);
  49823. }
  49824. t1 = t2;
  49825. } else {
  49826. t3 = A.LinkedHashSet_LinkedHashSet$_empty(t2);
  49827. for (t1 = A.MapExtensions_get_pairs(t1, type$.String, t2), t1 = t1.get$iterator(t1); t1.moveNext$0();) {
  49828. t2 = t1.get$current(t1);
  49829. variable = t2._0;
  49830. module = t2._1;
  49831. if (variables.contains$1(0, variable))
  49832. t3.add$1(0, module);
  49833. }
  49834. t1 = t3;
  49835. }
  49836. t1 = t1.any$1(0, new A._EnvironmentModule_couldHaveBeenConfigured_closure0(variables));
  49837. } else
  49838. t1 = true;
  49839. return t1;
  49840. },
  49841. cloneCss$0() {
  49842. var _0_0, _this = this;
  49843. if (!_this.transitivelyContainsCss)
  49844. return _this;
  49845. _0_0 = A.cloneCssStylesheet(_this.css, _this.extensionStore);
  49846. 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);
  49847. },
  49848. toString$0(_) {
  49849. var t1 = this.css,
  49850. t2 = t1.get$span(t1);
  49851. if (t2.get$sourceUrl(t2) == null)
  49852. t1 = "<unknown url>";
  49853. else {
  49854. t1 = t1.get$span(t1);
  49855. t1 = t1.get$sourceUrl(t1);
  49856. t2 = $.$get$context();
  49857. t1.toString;
  49858. t1 = t2.prettyUri$1(t1);
  49859. }
  49860. return t1;
  49861. },
  49862. $isModule0: 1,
  49863. get$upstream() {
  49864. return this.upstream;
  49865. },
  49866. get$variables() {
  49867. return this.variables;
  49868. },
  49869. get$variableNodes() {
  49870. return this.variableNodes;
  49871. },
  49872. get$functions(receiver) {
  49873. return this.functions;
  49874. },
  49875. get$mixins() {
  49876. return this.mixins;
  49877. },
  49878. get$extensionStore() {
  49879. return this.extensionStore;
  49880. },
  49881. get$css(receiver) {
  49882. return this.css;
  49883. },
  49884. get$preModuleComments() {
  49885. return this.preModuleComments;
  49886. },
  49887. get$transitivelyContainsCss() {
  49888. return this.transitivelyContainsCss;
  49889. },
  49890. get$transitivelyContainsExtensions() {
  49891. return this.transitivelyContainsExtensions;
  49892. }
  49893. };
  49894. A._EnvironmentModule__EnvironmentModule_closure5.prototype = {
  49895. call$1(module) {
  49896. return module.get$variables();
  49897. },
  49898. $signature: 439
  49899. };
  49900. A._EnvironmentModule__EnvironmentModule_closure6.prototype = {
  49901. call$1(module) {
  49902. return module.get$variableNodes();
  49903. },
  49904. $signature: 443
  49905. };
  49906. A._EnvironmentModule__EnvironmentModule_closure7.prototype = {
  49907. call$1(module) {
  49908. return module.get$functions(module);
  49909. },
  49910. $signature: 180
  49911. };
  49912. A._EnvironmentModule__EnvironmentModule_closure8.prototype = {
  49913. call$1(module) {
  49914. return module.get$mixins();
  49915. },
  49916. $signature: 180
  49917. };
  49918. A._EnvironmentModule__EnvironmentModule_closure9.prototype = {
  49919. call$1(module) {
  49920. return module.get$transitivelyContainsCss();
  49921. },
  49922. $signature: 103
  49923. };
  49924. A._EnvironmentModule__EnvironmentModule_closure10.prototype = {
  49925. call$1(module) {
  49926. return module.get$transitivelyContainsExtensions();
  49927. },
  49928. $signature: 103
  49929. };
  49930. A._EnvironmentModule_couldHaveBeenConfigured_closure0.prototype = {
  49931. call$1(module) {
  49932. return module.couldHaveBeenConfigured$1(this.variables);
  49933. },
  49934. $signature: 103
  49935. };
  49936. A.AsyncImportCache.prototype = {
  49937. canonicalize$4$baseImporter$baseUrl$forImport(_, url, baseImporter, baseUrl, forImport) {
  49938. return this.canonicalize$body$AsyncImportCache(0, url, baseImporter, baseUrl, forImport);
  49939. },
  49940. canonicalize$body$AsyncImportCache(_, url, baseImporter, baseUrl, forImport) {
  49941. var $async$goto = 0,
  49942. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Record_3_AsyncImporter_and_Uri_and_Uri_originalUrl),
  49943. $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;
  49944. var $async$canonicalize$4$baseImporter$baseUrl$forImport = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  49945. if ($async$errorCode === 1)
  49946. return A._asyncRethrow($async$result, $async$completer);
  49947. while (true)
  49948. switch ($async$goto) {
  49949. case 0:
  49950. // Function start
  49951. if (A.isBrowser())
  49952. t1 = (baseImporter == null || baseImporter instanceof A.NoOpImporter) && $async$self._async_import_cache$_importers.length === 0;
  49953. else
  49954. t1 = false;
  49955. if (t1)
  49956. throw A.wrapException(string$.Custom);
  49957. $async$goto = baseImporter != null && url.get$scheme() === "" ? 3 : 4;
  49958. break;
  49959. case 3:
  49960. // then
  49961. resolvedUrl = baseUrl == null ? null : baseUrl.resolveUri$1(url);
  49962. if (resolvedUrl == null)
  49963. resolvedUrl = url;
  49964. key = new A._Record_3_forImport(baseImporter, resolvedUrl, forImport);
  49965. $async$goto = 5;
  49966. 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);
  49967. case 5:
  49968. // returning from await.
  49969. relativeResult = $async$result;
  49970. if (relativeResult != null) {
  49971. $async$returnValue = relativeResult;
  49972. // goto return
  49973. $async$goto = 1;
  49974. break;
  49975. }
  49976. case 4:
  49977. // join
  49978. key = new A._Record_2_forImport(url, forImport);
  49979. t1 = $async$self._async_import_cache$_canonicalizeCache;
  49980. if (t1.containsKey$1(key)) {
  49981. $async$returnValue = t1.$index(0, key);
  49982. // goto return
  49983. $async$goto = 1;
  49984. break;
  49985. }
  49986. 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;
  49987. case 6:
  49988. // for condition
  49989. if (!(i < t2.length)) {
  49990. // goto after for
  49991. $async$goto = 8;
  49992. break;
  49993. }
  49994. importer = t2[i];
  49995. perImporterKey = new A._Record_3_forImport(importer, url, forImport);
  49996. if (t4.containsKey$1(perImporterKey)) {
  49997. t7 = t4.$index(0, perImporterKey);
  49998. _1_0 = new A._Record_1(t7 == null ? t5._as(t7) : t7);
  49999. } else
  50000. _1_0 = null;
  50001. _1_2_isSet = t3._is(_1_0);
  50002. result = null;
  50003. if (_1_2_isSet) {
  50004. _1_2 = _1_0._0;
  50005. t7 = _1_2 != null;
  50006. if (t7) {
  50007. t6._as(_1_2);
  50008. result = _1_2;
  50009. }
  50010. } else {
  50011. _1_2 = null;
  50012. t7 = false;
  50013. }
  50014. if (t7) {
  50015. $async$returnValue = result;
  50016. // goto return
  50017. $async$goto = 1;
  50018. break;
  50019. }
  50020. if (_1_2_isSet)
  50021. t7 = _1_2 == null;
  50022. else
  50023. t7 = false;
  50024. if (t7) {
  50025. // goto for update
  50026. $async$goto = 7;
  50027. break;
  50028. }
  50029. $async$goto = 10;
  50030. return A._asyncAwait($async$self._async_import_cache$_canonicalize$4(importer, url, baseUrl, forImport), $async$canonicalize$4$baseImporter$baseUrl$forImport);
  50031. case 10:
  50032. // returning from await.
  50033. _2_0 = $async$result;
  50034. _2_1 = _2_0._0;
  50035. _2_5_isSet = _2_1 != null;
  50036. _2_5 = null;
  50037. _2_3 = null;
  50038. t7 = false;
  50039. if (_2_5_isSet) {
  50040. result = _2_1 == null ? t6._as(_2_1) : _2_1;
  50041. _2_3 = _2_0._1;
  50042. t7 = _2_3;
  50043. _2_5 = t7;
  50044. t7 = t7 && cacheable;
  50045. } else
  50046. result = null;
  50047. if (t7) {
  50048. t1.$indexSet(0, key, result);
  50049. $async$returnValue = result;
  50050. // goto return
  50051. $async$goto = 1;
  50052. break;
  50053. }
  50054. if (_2_5_isSet) {
  50055. t7 = _2_5;
  50056. _2_3_isSet = _2_5_isSet;
  50057. } else {
  50058. _2_3 = _2_0._1;
  50059. t7 = _2_3;
  50060. _2_3_isSet = true;
  50061. }
  50062. t7 = t7 && !cacheable;
  50063. if (t7) {
  50064. t4.$indexSet(0, perImporterKey, _2_1);
  50065. if (_2_1 != null) {
  50066. $async$returnValue = _2_1;
  50067. // goto return
  50068. $async$goto = 1;
  50069. break;
  50070. }
  50071. // goto break $label0$1
  50072. $async$goto = 9;
  50073. break;
  50074. }
  50075. t7 = !(_2_3_isSet ? _2_3 : _2_0._1);
  50076. if (t7) {
  50077. if (cacheable) {
  50078. for (j = 0; j < i; ++j)
  50079. t4.$indexSet(0, new A._Record_3_forImport(t2[j], url, forImport), null);
  50080. cacheable = false;
  50081. }
  50082. if (_2_1 != null) {
  50083. $async$returnValue = _2_1;
  50084. // goto return
  50085. $async$goto = 1;
  50086. break;
  50087. }
  50088. }
  50089. case 9:
  50090. // break $label0$1
  50091. case 7:
  50092. // for update
  50093. ++i;
  50094. // goto for condition
  50095. $async$goto = 6;
  50096. break;
  50097. case 8:
  50098. // after for
  50099. if (cacheable)
  50100. t1.$indexSet(0, key, null);
  50101. $async$returnValue = null;
  50102. // goto return
  50103. $async$goto = 1;
  50104. break;
  50105. case 1:
  50106. // return
  50107. return A._asyncReturn($async$returnValue, $async$completer);
  50108. }
  50109. });
  50110. return A._asyncStartSync($async$canonicalize$4$baseImporter$baseUrl$forImport, $async$completer);
  50111. },
  50112. _async_import_cache$_canonicalize$4(importer, url, baseUrl, forImport) {
  50113. return this._canonicalize$body$AsyncImportCache(importer, url, baseUrl, forImport);
  50114. },
  50115. _canonicalize$body$AsyncImportCache(importer, url, baseUrl, forImport) {
  50116. var $async$goto = 0,
  50117. $async$completer = A._makeAsyncAwaitCompleter(type$.Record_2_nullable_Record_3_AsyncImporter_and_Uri_and_Uri_originalUrl_and_bool),
  50118. $async$returnValue, t1, passContainingUrl, canonicalizeContext, result, cacheable;
  50119. var $async$_async_import_cache$_canonicalize$4 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  50120. if ($async$errorCode === 1)
  50121. return A._asyncRethrow($async$result, $async$completer);
  50122. while (true)
  50123. switch ($async$goto) {
  50124. case 0:
  50125. // Function start
  50126. $async$goto = baseUrl != null ? 3 : 5;
  50127. break;
  50128. case 3:
  50129. // then
  50130. $async$goto = url.get$scheme() !== "" ? 6 : 8;
  50131. break;
  50132. case 6:
  50133. // then
  50134. t1 = A._Future$value(importer.isNonCanonicalScheme$1(url.get$scheme()), type$.bool);
  50135. $async$goto = 9;
  50136. return A._asyncAwait(t1, $async$_async_import_cache$_canonicalize$4);
  50137. case 9:
  50138. // returning from await.
  50139. t1 = $async$result;
  50140. passContainingUrl = t1;
  50141. // goto join
  50142. $async$goto = 7;
  50143. break;
  50144. case 8:
  50145. // else
  50146. passContainingUrl = true;
  50147. case 7:
  50148. // join
  50149. // goto join
  50150. $async$goto = 4;
  50151. break;
  50152. case 5:
  50153. // else
  50154. passContainingUrl = false;
  50155. case 4:
  50156. // join
  50157. canonicalizeContext = new A.CanonicalizeContext(forImport, passContainingUrl ? baseUrl : null);
  50158. t1 = type$.nullable_Object;
  50159. t1 = A.runZoned(new A.AsyncImportCache__canonicalize_closure(importer, url), A.LinkedHashMap_LinkedHashMap$_literal([B.Symbol__canonicalizeContext, canonicalizeContext], t1, t1), type$.FutureOr_nullable_Uri);
  50160. $async$goto = 10;
  50161. return A._asyncAwait(type$.Future_nullable_Uri._is(t1) ? t1 : A._Future$value(t1, type$.nullable_Uri), $async$_async_import_cache$_canonicalize$4);
  50162. case 10:
  50163. // returning from await.
  50164. result = $async$result;
  50165. cacheable = !passContainingUrl || !canonicalizeContext._wasContainingUrlAccessed;
  50166. if (result == null) {
  50167. $async$returnValue = new A._Record_2(null, cacheable);
  50168. // goto return
  50169. $async$goto = 1;
  50170. break;
  50171. }
  50172. $async$goto = result.get$scheme() !== "" ? 11 : 13;
  50173. break;
  50174. case 11:
  50175. // then
  50176. t1 = A._Future$value(importer.isNonCanonicalScheme$1(result.get$scheme()), type$.bool);
  50177. $async$goto = 14;
  50178. return A._asyncAwait(t1, $async$_async_import_cache$_canonicalize$4);
  50179. case 14:
  50180. // returning from await.
  50181. t1 = $async$result;
  50182. // goto join
  50183. $async$goto = 12;
  50184. break;
  50185. case 13:
  50186. // else
  50187. t1 = false;
  50188. case 12:
  50189. // join
  50190. if (t1)
  50191. throw A.wrapException("Importer " + importer.toString$0(0) + " canonicalized " + url.toString$0(0) + " to " + result.toString$0(0) + string$.x2c_whicu);
  50192. $async$returnValue = new A._Record_2(new A._Record_3_originalUrl(importer, result, url), cacheable);
  50193. // goto return
  50194. $async$goto = 1;
  50195. break;
  50196. case 1:
  50197. // return
  50198. return A._asyncReturn($async$returnValue, $async$completer);
  50199. }
  50200. });
  50201. return A._asyncStartSync($async$_async_import_cache$_canonicalize$4, $async$completer);
  50202. },
  50203. importCanonical$3$originalUrl(importer, canonicalUrl, originalUrl) {
  50204. return this.importCanonical$body$AsyncImportCache(importer, canonicalUrl, originalUrl);
  50205. },
  50206. importCanonical$body$AsyncImportCache(importer, canonicalUrl, originalUrl) {
  50207. var $async$goto = 0,
  50208. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Stylesheet),
  50209. $async$returnValue, $async$self = this;
  50210. var $async$importCanonical$3$originalUrl = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  50211. if ($async$errorCode === 1)
  50212. return A._asyncRethrow($async$result, $async$completer);
  50213. while (true)
  50214. switch ($async$goto) {
  50215. case 0:
  50216. // Function start
  50217. $async$goto = 3;
  50218. 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);
  50219. case 3:
  50220. // returning from await.
  50221. $async$returnValue = $async$result;
  50222. // goto return
  50223. $async$goto = 1;
  50224. break;
  50225. case 1:
  50226. // return
  50227. return A._asyncReturn($async$returnValue, $async$completer);
  50228. }
  50229. });
  50230. return A._asyncStartSync($async$importCanonical$3$originalUrl, $async$completer);
  50231. },
  50232. humanize$1(canonicalUrl) {
  50233. var t1 = this._async_import_cache$_canonicalizeCache,
  50234. t2 = type$.NonNullsIterable_Record_3_AsyncImporter_and_Uri_and_Uri_originalUrl;
  50235. 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));
  50236. return t2 == null ? canonicalUrl : t2;
  50237. },
  50238. sourceMapUrl$1(_, canonicalUrl) {
  50239. var t1 = this._async_import_cache$_resultsCache.$index(0, canonicalUrl);
  50240. t1 = t1 == null ? null : t1.get$sourceMapUrl(0);
  50241. return t1 == null ? canonicalUrl : t1;
  50242. }
  50243. };
  50244. A.AsyncImportCache_canonicalize_closure.prototype = {
  50245. call$0() {
  50246. var $async$goto = 0,
  50247. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Record_3_AsyncImporter_and_Uri_and_Uri_originalUrl),
  50248. $async$returnValue, $async$self = this, t1, t2, _0_0, result;
  50249. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  50250. if ($async$errorCode === 1)
  50251. return A._asyncRethrow($async$result, $async$completer);
  50252. while (true)
  50253. switch ($async$goto) {
  50254. case 0:
  50255. // Function start
  50256. t1 = $async$self.$this;
  50257. t2 = $async$self.baseUrl;
  50258. $async$goto = 3;
  50259. return A._asyncAwait(t1._async_import_cache$_canonicalize$4($async$self.baseImporter, $async$self.resolvedUrl, t2, $async$self.forImport), $async$call$0);
  50260. case 3:
  50261. // returning from await.
  50262. _0_0 = $async$result;
  50263. result = _0_0._0;
  50264. _0_0._1;
  50265. if (t2 != null)
  50266. t1._async_import_cache$_nonCanonicalRelativeUrls.$indexSet(0, $async$self.key, $async$self.url);
  50267. $async$returnValue = result;
  50268. // goto return
  50269. $async$goto = 1;
  50270. break;
  50271. case 1:
  50272. // return
  50273. return A._asyncReturn($async$returnValue, $async$completer);
  50274. }
  50275. });
  50276. return A._asyncStartSync($async$call$0, $async$completer);
  50277. },
  50278. $signature: 468
  50279. };
  50280. A.AsyncImportCache__canonicalize_closure.prototype = {
  50281. call$0() {
  50282. return this.importer.canonicalize$1(0, this.url);
  50283. },
  50284. $signature: 182
  50285. };
  50286. A.AsyncImportCache_importCanonical_closure.prototype = {
  50287. call$0() {
  50288. var $async$goto = 0,
  50289. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Stylesheet),
  50290. $async$returnValue, $async$self = this, t1, t2, t3, result;
  50291. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  50292. if ($async$errorCode === 1)
  50293. return A._asyncRethrow($async$result, $async$completer);
  50294. while (true)
  50295. switch ($async$goto) {
  50296. case 0:
  50297. // Function start
  50298. t1 = Date.now();
  50299. t2 = $async$self.canonicalUrl;
  50300. t3 = A._Future$value($async$self.importer.load$1(0, t2), type$.nullable_ImporterResult);
  50301. $async$goto = 3;
  50302. return A._asyncAwait(t3, $async$call$0);
  50303. case 3:
  50304. // returning from await.
  50305. result = $async$result;
  50306. if (result == null) {
  50307. $async$returnValue = null;
  50308. // goto return
  50309. $async$goto = 1;
  50310. break;
  50311. }
  50312. t3 = $async$self.$this;
  50313. t3._async_import_cache$_loadTimes.$indexSet(0, t2, new A.DateTime(t1, 0, false));
  50314. t3._async_import_cache$_resultsCache.$indexSet(0, t2, result);
  50315. t3 = result.contents;
  50316. t1 = result.syntax;
  50317. t2 = $async$self.originalUrl.resolveUri$1(t2);
  50318. $async$returnValue = A.Stylesheet_Stylesheet$parse(t3, t1, t2);
  50319. // goto return
  50320. $async$goto = 1;
  50321. break;
  50322. case 1:
  50323. // return
  50324. return A._asyncReturn($async$returnValue, $async$completer);
  50325. }
  50326. });
  50327. return A._asyncStartSync($async$call$0, $async$completer);
  50328. },
  50329. $signature: 487
  50330. };
  50331. A.AsyncImportCache_humanize_closure.prototype = {
  50332. call$1(result) {
  50333. return result._1.$eq(0, this.canonicalUrl);
  50334. },
  50335. $signature: 507
  50336. };
  50337. A.AsyncImportCache_humanize_closure0.prototype = {
  50338. call$1(result) {
  50339. return result._2;
  50340. },
  50341. $signature: 509
  50342. };
  50343. A.AsyncImportCache_humanize_closure1.prototype = {
  50344. call$1(url) {
  50345. return url.get$path(url).length;
  50346. },
  50347. $signature: 102
  50348. };
  50349. A.AsyncImportCache_humanize_closure2.prototype = {
  50350. call$1(url) {
  50351. var t1 = $.$get$url(),
  50352. t2 = this.canonicalUrl;
  50353. return url.resolve$1(0, A.ParsedPath_ParsedPath$parse(t2.get$path(t2), t1.style).get$basename());
  50354. },
  50355. $signature: 48
  50356. };
  50357. A.AsyncBuiltInCallable.prototype = {
  50358. callbackFor$2(positional, names) {
  50359. return new A._Record_2(this._parameters, this._async_built_in$_callback);
  50360. },
  50361. withDeprecationWarning$1(module) {
  50362. return new A.AsyncBuiltInCallable(this.name, this._parameters, new A.AsyncBuiltInCallable_withDeprecationWarning_closure(this, module, null), false);
  50363. },
  50364. $isAsyncCallable: 1,
  50365. get$name(receiver) {
  50366. return this.name;
  50367. },
  50368. get$acceptsContent() {
  50369. return this.acceptsContent;
  50370. }
  50371. };
  50372. A.AsyncBuiltInCallable$mixin_closure.prototype = {
  50373. call$1($arguments) {
  50374. return this.$call$body$AsyncBuiltInCallable$mixin_closure($arguments);
  50375. },
  50376. $call$body$AsyncBuiltInCallable$mixin_closure($arguments) {
  50377. var $async$goto = 0,
  50378. $async$completer = A._makeAsyncAwaitCompleter(type$.Value),
  50379. $async$returnValue, $async$self = this, t1;
  50380. var $async$call$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  50381. if ($async$errorCode === 1)
  50382. return A._asyncRethrow($async$result, $async$completer);
  50383. while (true)
  50384. switch ($async$goto) {
  50385. case 0:
  50386. // Function start
  50387. t1 = $async$self.callback.call$1($arguments);
  50388. $async$goto = 3;
  50389. return A._asyncAwait(t1 instanceof A._Future ? t1 : A._Future$value(t1, type$.void), $async$call$1);
  50390. case 3:
  50391. // returning from await.
  50392. $async$returnValue = B.C__SassNull;
  50393. // goto return
  50394. $async$goto = 1;
  50395. break;
  50396. case 1:
  50397. // return
  50398. return A._asyncReturn($async$returnValue, $async$completer);
  50399. }
  50400. });
  50401. return A._asyncStartSync($async$call$1, $async$completer);
  50402. },
  50403. $signature: 187
  50404. };
  50405. A.AsyncBuiltInCallable_withDeprecationWarning_closure.prototype = {
  50406. call$1(args) {
  50407. var t1 = this.$this;
  50408. A.warnForDeprecation(string$.Global + this.module + "." + t1.name + string$.x20inste, B.Deprecation_1AX);
  50409. return t1._async_built_in$_callback.call$1(args);
  50410. },
  50411. $signature: 568
  50412. };
  50413. A.BuiltInCallable.prototype = {
  50414. callbackFor$2(positional, names) {
  50415. var t1, t2, fuzzyMatch, minMismatchDistance, _i, overload, t3, mismatchDistance, t4;
  50416. for (t1 = this._overloads, t2 = t1.length, fuzzyMatch = null, minMismatchDistance = null, _i = 0; _i < t1.length; t1.length === t2 || (0, A.throwConcurrentModificationError)(t1), ++_i) {
  50417. overload = t1[_i];
  50418. t3 = overload._0;
  50419. if (t3.matches$2(positional, names))
  50420. return overload;
  50421. mismatchDistance = t3.parameters.length - positional;
  50422. if (minMismatchDistance != null) {
  50423. t3 = Math.abs(mismatchDistance);
  50424. t4 = Math.abs(minMismatchDistance);
  50425. if (t3 > t4)
  50426. continue;
  50427. if (t3 === t4 && mismatchDistance < 0)
  50428. continue;
  50429. }
  50430. minMismatchDistance = mismatchDistance;
  50431. fuzzyMatch = overload;
  50432. }
  50433. if (fuzzyMatch != null)
  50434. return fuzzyMatch;
  50435. throw A.wrapException(A.StateError$("BuiltInCallable " + this.name + " may not have empty overloads."));
  50436. },
  50437. withName$1($name) {
  50438. return new A.BuiltInCallable($name, this._overloads, this.acceptsContent);
  50439. },
  50440. withDeprecationWarning$2(module, newName) {
  50441. var t2, t3, _i, t4, t5, _this = this,
  50442. t1 = A._setArrayType([], type$.JSArray_Record_2_ParameterList_and_Value_Function_List_Value);
  50443. for (t2 = _this._overloads, t3 = t2.length, _i = 0; _i < t2.length; t2.length === t3 || (0, A.throwConcurrentModificationError)(t2), ++_i) {
  50444. t4 = {};
  50445. t5 = t2[_i];
  50446. t4.$function = null;
  50447. t4.$function = t5._1;
  50448. t1.push(new A._Record_2(t5._0, new A.BuiltInCallable_withDeprecationWarning_closure(t4, _this, module, newName)));
  50449. }
  50450. return new A.BuiltInCallable(_this.name, t1, _this.acceptsContent);
  50451. },
  50452. withDeprecationWarning$1(module) {
  50453. return this.withDeprecationWarning$2(module, null);
  50454. },
  50455. $isCallable0: 1,
  50456. $isAsyncCallable: 1,
  50457. $isAsyncBuiltInCallable: 1,
  50458. get$name(receiver) {
  50459. return this.name;
  50460. },
  50461. get$acceptsContent() {
  50462. return this.acceptsContent;
  50463. }
  50464. };
  50465. A.BuiltInCallable$mixin_closure.prototype = {
  50466. call$1($arguments) {
  50467. this.callback.call$1($arguments);
  50468. return B.C__SassNull;
  50469. },
  50470. $signature: 4
  50471. };
  50472. A.BuiltInCallable_withDeprecationWarning_closure.prototype = {
  50473. call$1(args) {
  50474. var _this = this,
  50475. t1 = _this.newName;
  50476. if (t1 == null)
  50477. t1 = _this.$this.name;
  50478. A.warnForDeprecation(string$.Global + _this.module + "." + t1 + string$.x20inste, B.Deprecation_1AX);
  50479. return _this._box_0.$function.call$1(args);
  50480. },
  50481. $signature: 4
  50482. };
  50483. A.PlainCssCallable.prototype = {
  50484. $eq(_, other) {
  50485. if (other == null)
  50486. return false;
  50487. return other instanceof A.PlainCssCallable && this.name === other.name;
  50488. },
  50489. get$hashCode(_) {
  50490. return B.JSString_methods.get$hashCode(this.name);
  50491. },
  50492. $isCallable0: 1,
  50493. $isAsyncCallable: 1,
  50494. get$name(receiver) {
  50495. return this.name;
  50496. }
  50497. };
  50498. A.UserDefinedCallable.prototype = {
  50499. get$name(_) {
  50500. return this.declaration.name;
  50501. },
  50502. $isCallable0: 1,
  50503. $isAsyncCallable: 1
  50504. };
  50505. A._compileStylesheet_closure.prototype = {
  50506. call$1(url) {
  50507. var t1;
  50508. if (url === "") {
  50509. t1 = this.stylesheet.span;
  50510. 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();
  50511. } else
  50512. t1 = this.importCache.sourceMapUrl$1(0, A.Uri_parse(url)).toString$0(0);
  50513. return t1;
  50514. },
  50515. $signature: 6
  50516. };
  50517. A.CompileResult.prototype = {};
  50518. A.Configuration.prototype = {
  50519. throughForward$1($forward) {
  50520. var _0_0, _1_0, _2_0, t1, hiddenVariables,
  50521. newValues = this._configuration$_values;
  50522. if (newValues.get$isEmpty(newValues))
  50523. return this;
  50524. _0_0 = $forward.prefix;
  50525. if (_0_0 != null)
  50526. newValues = new A.UnprefixedMapView(newValues, _0_0, type$.UnprefixedMapView_ConfiguredValue);
  50527. _1_0 = $forward.shownVariables;
  50528. if (_1_0 != null)
  50529. newValues = new A.LimitedMapView(newValues, _1_0._base.intersection$1(new A.MapKeySet(newValues, type$.MapKeySet_nullable_Object)), type$.LimitedMapView_String_ConfiguredValue);
  50530. else {
  50531. _2_0 = $forward.hiddenVariables;
  50532. if (_2_0 != null) {
  50533. t1 = _2_0._base.get$isNotEmpty(0);
  50534. hiddenVariables = _2_0;
  50535. } else {
  50536. hiddenVariables = null;
  50537. t1 = false;
  50538. }
  50539. if (t1)
  50540. newValues = A.LimitedMapView$blocklist(newValues, hiddenVariables, type$.String, type$.ConfiguredValue);
  50541. }
  50542. return this._withValues$1(newValues);
  50543. },
  50544. _withValues$1(values) {
  50545. var t1 = this.__originalConfiguration;
  50546. return new A.Configuration(values, t1 == null ? this : t1);
  50547. },
  50548. toString$0(_) {
  50549. var t2, t3,
  50550. t1 = A._setArrayType([], type$.JSArray_String);
  50551. 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();) {
  50552. t3 = t2.get$current(t2);
  50553. t1.push("$" + t3._0 + ": " + t3._1.toString$0(0));
  50554. }
  50555. return "(" + B.JSArray_methods.join$1(t1, ",") + ")";
  50556. }
  50557. };
  50558. A.ExplicitConfiguration.prototype = {
  50559. _withValues$1(values) {
  50560. var t1 = this.__originalConfiguration;
  50561. if (t1 == null)
  50562. t1 = this;
  50563. return new A.ExplicitConfiguration(this.nodeWithSpan, values, t1);
  50564. }
  50565. };
  50566. A.ConfiguredValue.prototype = {
  50567. toString$0(_) {
  50568. return this.value.toString$0(0);
  50569. }
  50570. };
  50571. A.Deprecation.prototype = {
  50572. _enumToString$0() {
  50573. return "Deprecation." + this._name;
  50574. },
  50575. toString$0(_) {
  50576. return this.id;
  50577. }
  50578. };
  50579. A.Deprecation_fromId_closure.prototype = {
  50580. call$1(deprecation) {
  50581. return deprecation.id === this.id;
  50582. },
  50583. $signature: 648
  50584. };
  50585. A.Environment.prototype = {
  50586. closure$0() {
  50587. var t4, t5, t6, _this = this,
  50588. t1 = _this._forwardedModules,
  50589. t2 = _this._nestedForwardedModules,
  50590. t3 = _this._variables;
  50591. t3 = A._setArrayType(t3.slice(0), A._arrayInstanceType(t3));
  50592. t4 = _this._variableNodes;
  50593. t4 = A._setArrayType(t4.slice(0), A._arrayInstanceType(t4));
  50594. t5 = _this._functions;
  50595. t5 = A._setArrayType(t5.slice(0), A._arrayInstanceType(t5));
  50596. t6 = _this._mixins;
  50597. t6 = A._setArrayType(t6.slice(0), A._arrayInstanceType(t6));
  50598. return A.Environment$_(_this._environment$_modules, _this._namespaceNodes, _this._globalModules, _this._importedModules, t1, t2, _this._allModules, t3, t4, t5, t6, _this._content, B.Set_empty1);
  50599. },
  50600. forwardModule$2(module, rule) {
  50601. var view, t1, t2, _this = this,
  50602. forwardedModules = _this._forwardedModules;
  50603. if (forwardedModules == null)
  50604. forwardedModules = _this._forwardedModules = A.LinkedHashMap_LinkedHashMap$_empty(type$.Module_Callable, type$.AstNode);
  50605. view = A.ForwardedModuleView_ifNecessary(module, rule, type$.Callable);
  50606. for (t1 = new A.LinkedHashMapKeyIterator(forwardedModules, forwardedModules._modifications, forwardedModules._first); t1.moveNext$0();) {
  50607. t2 = t1.__js_helper$_current;
  50608. _this._assertNoConflicts$5(view.get$variables(), t2.get$variables(), view, t2, "variable");
  50609. _this._assertNoConflicts$5(view.get$functions(view), t2.get$functions(t2), view, t2, "function");
  50610. _this._assertNoConflicts$5(view.get$mixins(), t2.get$mixins(), view, t2, "mixin");
  50611. }
  50612. _this._allModules.push(module);
  50613. forwardedModules.$indexSet(0, view, rule);
  50614. },
  50615. _assertNoConflicts$5(newMembers, oldMembers, newModule, oldModule, type) {
  50616. var larger, smaller, t1, t2, t3, t4, $name, small, large, span;
  50617. if (newMembers.get$length(newMembers) < oldMembers.get$length(oldMembers)) {
  50618. larger = oldMembers;
  50619. smaller = newMembers;
  50620. } else {
  50621. larger = newMembers;
  50622. smaller = oldMembers;
  50623. }
  50624. for (t1 = type$.String, t2 = A.MapExtensions_get_pairs(smaller, t1, type$.Object), t2 = t2.get$iterator(t2), t3 = type === "variable"; t2.moveNext$0();) {
  50625. t4 = t2.get$current(t2);
  50626. $name = t4._0;
  50627. small = t4._1;
  50628. large = larger.$index(0, $name);
  50629. if (large == null)
  50630. continue;
  50631. if (t3 ? newModule.variableIdentity$1($name) === oldModule.variableIdentity$1($name) : J.$eq$(large, small))
  50632. continue;
  50633. if (t3)
  50634. $name = "$" + $name;
  50635. t2 = this._forwardedModules;
  50636. if (t2 == null)
  50637. span = null;
  50638. else {
  50639. t2 = t2.$index(0, oldModule);
  50640. span = t2 == null ? null : t2.get$span(t2);
  50641. }
  50642. t2 = A.LinkedHashMap_LinkedHashMap$_empty(type$.FileSpan, t1);
  50643. if (span != null)
  50644. t2.$indexSet(0, span, "original @forward");
  50645. throw A.wrapException(A.MultiSpanSassScriptException$("Two forwarded modules both define a " + type + " named " + $name + ".", "new @forward", t2));
  50646. }
  50647. },
  50648. importForwards$1(module) {
  50649. var forwardedModules, t1, t2, t3, t4, node, t5, t6, t7, t8, t9, t10, _i, t11, shadowed, t12, t13, _length, _list, _this = this,
  50650. forwarded = module._environment$_environment._forwardedModules;
  50651. if (forwarded == null)
  50652. return;
  50653. forwardedModules = _this._forwardedModules;
  50654. if (forwardedModules != null) {
  50655. t1 = type$.Module_Callable;
  50656. t2 = type$.AstNode;
  50657. t3 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t2);
  50658. for (t1 = A.MapExtensions_get_pairs(forwarded, t1, t2), t1 = t1.get$iterator(t1), t2 = _this._globalModules; t1.moveNext$0();) {
  50659. t4 = t1.get$current(t1);
  50660. module = t4._0;
  50661. node = t4._1;
  50662. if (!forwardedModules.containsKey$1(module) || !t2.containsKey$1(module))
  50663. t3.$indexSet(0, module, node);
  50664. }
  50665. forwarded = t3;
  50666. } else
  50667. forwardedModules = _this._forwardedModules = A.LinkedHashMap_LinkedHashMap$_empty(type$.Module_Callable, type$.AstNode);
  50668. t1 = type$.String;
  50669. t2 = A.LinkedHashSet_LinkedHashSet$_empty(t1);
  50670. for (t3 = new A.LinkedHashMapKeyIterator(forwarded, forwarded._modifications, forwarded._first); t3.moveNext$0();)
  50671. for (t4 = t3.__js_helper$_current.get$variables(), t4 = J.get$iterator$ax(t4.get$keys(t4)); t4.moveNext$0();)
  50672. t2.add$1(0, t4.get$current(t4));
  50673. t3 = A.LinkedHashSet_LinkedHashSet$_empty(t1);
  50674. for (t4 = new A.LinkedHashMapKeyIterator(forwarded, forwarded._modifications, forwarded._first); t4.moveNext$0();) {
  50675. t5 = t4.__js_helper$_current;
  50676. for (t5 = t5.get$functions(t5), t5 = J.get$iterator$ax(t5.get$keys(t5)); t5.moveNext$0();)
  50677. t3.add$1(0, t5.get$current(t5));
  50678. }
  50679. t1 = A.LinkedHashSet_LinkedHashSet$_empty(t1);
  50680. for (t4 = new A.LinkedHashMapKeyIterator(forwarded, forwarded._modifications, forwarded._first); t4.moveNext$0();)
  50681. for (t5 = t4.__js_helper$_current.get$mixins(), t5 = J.get$iterator$ax(t5.get$keys(t5)); t5.moveNext$0();)
  50682. t1.add$1(0, t5.get$current(t5));
  50683. t4 = _this._variables;
  50684. t5 = t4.length;
  50685. if (t5 === 1) {
  50686. 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) {
  50687. t11 = t8[_i];
  50688. module = t11._0;
  50689. shadowed = A.ShadowedModuleView_ifNecessary(module, t3, t1, t2, t10);
  50690. if (shadowed != null) {
  50691. t5.remove$1(0, module);
  50692. t12 = shadowed.variables;
  50693. t13 = false;
  50694. if (t12.get$isEmpty(t12)) {
  50695. t12 = shadowed.functions;
  50696. if (t12.get$isEmpty(t12)) {
  50697. t12 = shadowed.mixins;
  50698. if (t12.get$isEmpty(t12)) {
  50699. t12 = shadowed._shadowed_view$_inner;
  50700. t12 = t12.get$css(t12);
  50701. t12 = J.get$isEmpty$asx(t12.get$children(t12));
  50702. } else
  50703. t12 = t13;
  50704. } else
  50705. t12 = t13;
  50706. } else
  50707. t12 = t13;
  50708. if (!t12)
  50709. t5.$indexSet(0, shadowed, t11._1);
  50710. }
  50711. }
  50712. 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) {
  50713. t8 = t6[_i];
  50714. module = t8._0;
  50715. shadowed = A.ShadowedModuleView_ifNecessary(module, t3, t1, t2, t10);
  50716. if (shadowed != null) {
  50717. forwardedModules.remove$1(0, module);
  50718. t9 = shadowed.variables;
  50719. t11 = false;
  50720. if (t9.get$isEmpty(t9)) {
  50721. t9 = shadowed.functions;
  50722. if (t9.get$isEmpty(t9)) {
  50723. t9 = shadowed.mixins;
  50724. if (t9.get$isEmpty(t9)) {
  50725. t9 = shadowed._shadowed_view$_inner;
  50726. t9 = t9.get$css(t9);
  50727. t9 = J.get$isEmpty$asx(t9.get$children(t9));
  50728. } else
  50729. t9 = t11;
  50730. } else
  50731. t9 = t11;
  50732. } else
  50733. t9 = t11;
  50734. if (!t9)
  50735. forwardedModules.$indexSet(0, shadowed, t8._1);
  50736. }
  50737. }
  50738. t5.addAll$1(0, forwarded);
  50739. forwardedModules.addAll$1(0, forwarded);
  50740. } else {
  50741. t6 = _this._nestedForwardedModules;
  50742. if (t6 == null) {
  50743. _length = t5 - 1;
  50744. _list = J.JSArray_JSArray$allocateGrowable(_length, type$.List_Module_Callable);
  50745. for (t5 = type$.JSArray_Module_Callable, _i = 0; _i < _length; ++_i)
  50746. _list[_i] = A._setArrayType([], t5);
  50747. _this._nestedForwardedModules = _list;
  50748. t5 = _list;
  50749. } else
  50750. t5 = t6;
  50751. B.JSArray_methods.addAll$1(B.JSArray_methods.get$last(t5), new A.LinkedHashMapKeysIterable(forwarded, A._instanceType(forwarded)._eval$1("LinkedHashMapKeysIterable<1>")));
  50752. }
  50753. for (t2 = A._LinkedHashSetIterator$(t2, t2._collection$_modifications, t2.$ti._precomputed1), t5 = _this._variableIndices, t6 = _this._variableNodes, t7 = t2.$ti._precomputed1; t2.moveNext$0();) {
  50754. t8 = t2._collection$_current;
  50755. if (t8 == null)
  50756. t8 = t7._as(t8);
  50757. t5.remove$1(0, t8);
  50758. J.remove$1$z(B.JSArray_methods.get$last(t4), t8);
  50759. J.remove$1$z(B.JSArray_methods.get$last(t6), t8);
  50760. }
  50761. for (t2 = A._LinkedHashSetIterator$(t3, t3._collection$_modifications, t3.$ti._precomputed1), t3 = _this._functionIndices, t4 = _this._functions, t5 = t2.$ti._precomputed1; t2.moveNext$0();) {
  50762. t6 = t2._collection$_current;
  50763. if (t6 == null)
  50764. t6 = t5._as(t6);
  50765. t3.remove$1(0, t6);
  50766. J.remove$1$z(B.JSArray_methods.get$last(t4), t6);
  50767. }
  50768. for (t1 = A._LinkedHashSetIterator$(t1, t1._collection$_modifications, t1.$ti._precomputed1), t2 = _this._mixinIndices, t3 = _this._mixins, t4 = t1.$ti._precomputed1; t1.moveNext$0();) {
  50769. t5 = t1._collection$_current;
  50770. if (t5 == null)
  50771. t5 = t4._as(t5);
  50772. t2.remove$1(0, t5);
  50773. J.remove$1$z(B.JSArray_methods.get$last(t3), t5);
  50774. }
  50775. },
  50776. getVariable$2$namespace($name, namespace) {
  50777. var t1, _0_0, _1_0, _this = this;
  50778. if (namespace != null)
  50779. return _this._getModule$1(namespace).get$variables().$index(0, $name);
  50780. if (_this._lastVariableName === $name) {
  50781. t1 = _this._lastVariableIndex;
  50782. t1.toString;
  50783. t1 = _this._variables[t1].$index(0, $name);
  50784. return t1 == null ? _this._getVariableFromGlobalModule$1($name) : t1;
  50785. }
  50786. t1 = _this._variableIndices;
  50787. _0_0 = t1.$index(0, $name);
  50788. if (_0_0 != null) {
  50789. _this._lastVariableName = $name;
  50790. _this._lastVariableIndex = _0_0;
  50791. t1 = _this._variables[_0_0].$index(0, $name);
  50792. return t1 == null ? _this._getVariableFromGlobalModule$1($name) : t1;
  50793. } else {
  50794. _1_0 = _this._variableIndex$1($name);
  50795. if (_1_0 != null) {
  50796. _this._lastVariableName = $name;
  50797. _this._lastVariableIndex = _1_0;
  50798. t1.$indexSet(0, $name, _1_0);
  50799. t1 = _this._variables[_1_0].$index(0, $name);
  50800. return t1 == null ? _this._getVariableFromGlobalModule$1($name) : t1;
  50801. } else
  50802. return _this._getVariableFromGlobalModule$1($name);
  50803. }
  50804. },
  50805. getVariable$1($name) {
  50806. return this.getVariable$2$namespace($name, null);
  50807. },
  50808. _getVariableFromGlobalModule$1($name) {
  50809. return this._fromOneModule$3($name, "variable", new A.Environment__getVariableFromGlobalModule_closure($name));
  50810. },
  50811. getVariableNode$2$namespace($name, namespace) {
  50812. var t1, _0_0, _1_0, _this = this;
  50813. if (namespace != null)
  50814. return _this._getModule$1(namespace).get$variableNodes().$index(0, $name);
  50815. if (_this._lastVariableName === $name) {
  50816. t1 = _this._lastVariableIndex;
  50817. t1.toString;
  50818. t1 = _this._variableNodes[t1].$index(0, $name);
  50819. return t1 == null ? _this._getVariableNodeFromGlobalModule$1($name) : t1;
  50820. }
  50821. t1 = _this._variableIndices;
  50822. _0_0 = t1.$index(0, $name);
  50823. if (_0_0 != null) {
  50824. _this._lastVariableName = $name;
  50825. _this._lastVariableIndex = _0_0;
  50826. t1 = _this._variableNodes[_0_0].$index(0, $name);
  50827. return t1 == null ? _this._getVariableNodeFromGlobalModule$1($name) : t1;
  50828. } else {
  50829. _1_0 = _this._variableIndex$1($name);
  50830. if (_1_0 != null) {
  50831. _this._lastVariableName = $name;
  50832. _this._lastVariableIndex = _1_0;
  50833. t1.$indexSet(0, $name, _1_0);
  50834. t1 = _this._variableNodes[_1_0].$index(0, $name);
  50835. return t1 == null ? _this._getVariableNodeFromGlobalModule$1($name) : t1;
  50836. } else
  50837. return _this._getVariableNodeFromGlobalModule$1($name);
  50838. }
  50839. },
  50840. _getVariableNodeFromGlobalModule$1($name) {
  50841. var t1, t2, _0_0;
  50842. 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();) {
  50843. t1 = t2._currentIterator;
  50844. _0_0 = t1.get$current(t1).get$variableNodes().$index(0, $name);
  50845. if (_0_0 != null)
  50846. return _0_0;
  50847. }
  50848. return null;
  50849. },
  50850. globalVariableExists$2$namespace($name, namespace) {
  50851. if (namespace != null)
  50852. return this._getModule$1(namespace).get$variables().containsKey$1($name);
  50853. if (B.JSArray_methods.get$first(this._variables).containsKey$1($name))
  50854. return true;
  50855. return this._getVariableFromGlobalModule$1($name) != null;
  50856. },
  50857. globalVariableExists$1($name) {
  50858. return this.globalVariableExists$2$namespace($name, null);
  50859. },
  50860. _variableIndex$1($name) {
  50861. var t1, i;
  50862. for (t1 = this._variables, i = t1.length - 1; i >= 0; --i)
  50863. if (t1[i].containsKey$1($name))
  50864. return i;
  50865. return null;
  50866. },
  50867. setVariable$5$global$namespace($name, value, nodeWithSpan, global, namespace) {
  50868. var t1, moduleWithName, nestedForwardedModules, t2, t3, t4, t5, index, _this = this;
  50869. if (namespace != null) {
  50870. _this._getModule$1(namespace).setVariable$3($name, value, nodeWithSpan);
  50871. return;
  50872. }
  50873. if (global || _this._variables.length === 1) {
  50874. _this._variableIndices.putIfAbsent$2($name, new A.Environment_setVariable_closure(_this, $name));
  50875. t1 = _this._variables;
  50876. if (!B.JSArray_methods.get$first(t1).containsKey$1($name)) {
  50877. moduleWithName = _this._fromOneModule$3($name, "variable", new A.Environment_setVariable_closure0($name));
  50878. if (moduleWithName != null) {
  50879. moduleWithName.setVariable$3($name, value, nodeWithSpan);
  50880. return;
  50881. }
  50882. }
  50883. J.$indexSet$ax(B.JSArray_methods.get$first(t1), $name, value);
  50884. J.$indexSet$ax(B.JSArray_methods.get$first(_this._variableNodes), $name, nodeWithSpan);
  50885. return;
  50886. }
  50887. nestedForwardedModules = _this._nestedForwardedModules;
  50888. if (nestedForwardedModules != null && !_this._variableIndices.containsKey$1($name) && _this._variableIndex$1($name) == null)
  50889. 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();) {
  50890. t3 = t2.__internal$_current;
  50891. 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();) {
  50892. t5 = t3.__internal$_current;
  50893. if (t5 == null)
  50894. t5 = t4._as(t5);
  50895. if (t5.get$variables().containsKey$1($name)) {
  50896. t5.setVariable$3($name, value, nodeWithSpan);
  50897. return;
  50898. }
  50899. }
  50900. }
  50901. if (_this._lastVariableName === $name) {
  50902. t1 = _this._lastVariableIndex;
  50903. t1.toString;
  50904. index = t1;
  50905. } else
  50906. index = _this._variableIndices.putIfAbsent$2($name, new A.Environment_setVariable_closure1(_this, $name));
  50907. if (!_this._inSemiGlobalScope && index === 0) {
  50908. index = _this._variables.length - 1;
  50909. _this._variableIndices.$indexSet(0, $name, index);
  50910. }
  50911. _this._lastVariableName = $name;
  50912. _this._lastVariableIndex = index;
  50913. _this._variables[index].$indexSet(0, $name, value);
  50914. _this._variableNodes[index].$indexSet(0, $name, nodeWithSpan);
  50915. },
  50916. setVariable$4$global($name, value, nodeWithSpan, global) {
  50917. return this.setVariable$5$global$namespace($name, value, nodeWithSpan, global, null);
  50918. },
  50919. setLocalVariable$3($name, value, nodeWithSpan) {
  50920. var index, _this = this,
  50921. t1 = _this._variables,
  50922. t2 = t1.length;
  50923. _this._lastVariableName = $name;
  50924. index = _this._lastVariableIndex = t2 - 1;
  50925. _this._variableIndices.$indexSet(0, $name, index);
  50926. t1[index].$indexSet(0, $name, value);
  50927. _this._variableNodes[index].$indexSet(0, $name, nodeWithSpan);
  50928. },
  50929. getFunction$2$namespace($name, namespace) {
  50930. var t1, _0_0, _1_0, _this = this;
  50931. if (namespace != null) {
  50932. t1 = _this._getModule$1(namespace);
  50933. return t1.get$functions(t1).$index(0, $name);
  50934. }
  50935. t1 = _this._functionIndices;
  50936. _0_0 = t1.$index(0, $name);
  50937. if (_0_0 != null) {
  50938. t1 = _this._functions[_0_0].$index(0, $name);
  50939. return t1 == null ? _this._getFunctionFromGlobalModule$1($name) : t1;
  50940. } else {
  50941. _1_0 = _this._functionIndex$1($name);
  50942. if (_1_0 != null) {
  50943. t1.$indexSet(0, $name, _1_0);
  50944. t1 = _this._functions[_1_0].$index(0, $name);
  50945. return t1 == null ? _this._getFunctionFromGlobalModule$1($name) : t1;
  50946. } else
  50947. return _this._getFunctionFromGlobalModule$1($name);
  50948. }
  50949. },
  50950. getFunction$1($name) {
  50951. return this.getFunction$2$namespace($name, null);
  50952. },
  50953. _getFunctionFromGlobalModule$1($name) {
  50954. return this._fromOneModule$3($name, "function", new A.Environment__getFunctionFromGlobalModule_closure($name));
  50955. },
  50956. _functionIndex$1($name) {
  50957. var t1, i;
  50958. for (t1 = this._functions, i = t1.length - 1; i >= 0; --i)
  50959. if (t1[i].containsKey$1($name))
  50960. return i;
  50961. return null;
  50962. },
  50963. getMixin$2$namespace($name, namespace) {
  50964. var t1, _0_0, _1_0, _this = this;
  50965. if (namespace != null)
  50966. return _this._getModule$1(namespace).get$mixins().$index(0, $name);
  50967. t1 = _this._mixinIndices;
  50968. _0_0 = t1.$index(0, $name);
  50969. if (_0_0 != null) {
  50970. t1 = _this._mixins[_0_0].$index(0, $name);
  50971. return t1 == null ? _this._getMixinFromGlobalModule$1($name) : t1;
  50972. } else {
  50973. _1_0 = _this._mixinIndex$1($name);
  50974. if (_1_0 != null) {
  50975. t1.$indexSet(0, $name, _1_0);
  50976. t1 = _this._mixins[_1_0].$index(0, $name);
  50977. return t1 == null ? _this._getMixinFromGlobalModule$1($name) : t1;
  50978. } else
  50979. return _this._getMixinFromGlobalModule$1($name);
  50980. }
  50981. },
  50982. _getMixinFromGlobalModule$1($name) {
  50983. return this._fromOneModule$3($name, "mixin", new A.Environment__getMixinFromGlobalModule_closure($name));
  50984. },
  50985. _mixinIndex$1($name) {
  50986. var t1, i;
  50987. for (t1 = this._mixins, i = t1.length - 1; i >= 0; --i)
  50988. if (t1[i].containsKey$1($name))
  50989. return i;
  50990. return null;
  50991. },
  50992. withContent$2($content, callback) {
  50993. var oldContent = this._content;
  50994. this._content = $content;
  50995. callback.call$0();
  50996. this._content = oldContent;
  50997. },
  50998. asMixin$1(callback) {
  50999. var oldInMixin = this._inMixin;
  51000. this._inMixin = true;
  51001. callback.call$0();
  51002. this._inMixin = oldInMixin;
  51003. },
  51004. scope$1$3$semiGlobal$when(callback, semiGlobal, when) {
  51005. var wasInSemiGlobalScope, $name, name0, name1, t1, t2, t3, t4, t5, t6, _this = this;
  51006. semiGlobal = semiGlobal && _this._inSemiGlobalScope;
  51007. wasInSemiGlobalScope = _this._inSemiGlobalScope;
  51008. _this._inSemiGlobalScope = semiGlobal;
  51009. if (!when)
  51010. try {
  51011. t1 = callback.call$0();
  51012. return t1;
  51013. } finally {
  51014. _this._inSemiGlobalScope = wasInSemiGlobalScope;
  51015. }
  51016. t1 = _this._variables;
  51017. t2 = type$.String;
  51018. B.JSArray_methods.add$1(t1, A.LinkedHashMap_LinkedHashMap$_empty(t2, type$.Value));
  51019. t3 = _this._variableNodes;
  51020. B.JSArray_methods.add$1(t3, A.LinkedHashMap_LinkedHashMap$_empty(t2, type$.AstNode));
  51021. t4 = _this._functions;
  51022. t5 = type$.Callable;
  51023. B.JSArray_methods.add$1(t4, A.LinkedHashMap_LinkedHashMap$_empty(t2, t5));
  51024. t6 = _this._mixins;
  51025. B.JSArray_methods.add$1(t6, A.LinkedHashMap_LinkedHashMap$_empty(t2, t5));
  51026. t5 = _this._nestedForwardedModules;
  51027. if (t5 != null)
  51028. t5.push(A._setArrayType([], type$.JSArray_Module_Callable));
  51029. try {
  51030. t2 = callback.call$0();
  51031. return t2;
  51032. } finally {
  51033. _this._inSemiGlobalScope = wasInSemiGlobalScope;
  51034. _this._lastVariableIndex = _this._lastVariableName = null;
  51035. for (t1 = J.get$iterator$ax(J.get$keys$z(B.JSArray_methods.removeLast$0(t1))), t2 = _this._variableIndices; t1.moveNext$0();) {
  51036. $name = t1.get$current(t1);
  51037. t2.remove$1(0, $name);
  51038. }
  51039. B.JSArray_methods.removeLast$0(t3);
  51040. for (t1 = J.get$iterator$ax(J.get$keys$z(B.JSArray_methods.removeLast$0(t4))), t2 = _this._functionIndices; t1.moveNext$0();) {
  51041. name0 = t1.get$current(t1);
  51042. t2.remove$1(0, name0);
  51043. }
  51044. for (t1 = J.get$iterator$ax(J.get$keys$z(B.JSArray_methods.removeLast$0(t6))), t2 = _this._mixinIndices; t1.moveNext$0();) {
  51045. name1 = t1.get$current(t1);
  51046. t2.remove$1(0, name1);
  51047. }
  51048. t1 = _this._nestedForwardedModules;
  51049. if (t1 != null)
  51050. t1.pop();
  51051. }
  51052. },
  51053. scope$1$1(callback) {
  51054. callback.toString;
  51055. return this.scope$1$3$semiGlobal$when(callback, false, true);
  51056. },
  51057. scope$1$2$when(callback, when) {
  51058. callback.toString;
  51059. return this.scope$1$3$semiGlobal$when(callback, false, when);
  51060. },
  51061. scope$1$2$semiGlobal(callback, semiGlobal) {
  51062. callback.toString;
  51063. return this.scope$1$3$semiGlobal$when(callback, semiGlobal, true);
  51064. },
  51065. toImplicitConfiguration$0() {
  51066. var t2, t3, t4, i, values, nodes, t5, t6, $name, value,
  51067. t1 = type$.String,
  51068. configuration = A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.ConfiguredValue);
  51069. for (t2 = this._variables, t3 = type$.Value, t4 = this._variableNodes, i = 0; i < t2.length; ++i) {
  51070. values = t2[i];
  51071. nodes = t4[i];
  51072. for (t5 = A.MapExtensions_get_pairs(values, t1, t3), t5 = t5.get$iterator(t5); t5.moveNext$0();) {
  51073. t6 = t5.get$current(t5);
  51074. $name = t6._0;
  51075. value = t6._1;
  51076. t6 = nodes.$index(0, $name);
  51077. t6.toString;
  51078. configuration.$indexSet(0, $name, new A.ConfiguredValue(value, null, t6));
  51079. }
  51080. }
  51081. return new A.Configuration(configuration, null);
  51082. },
  51083. toModule$3(css, preModuleComments, extensionStore) {
  51084. return A._EnvironmentModule__EnvironmentModule(this, css, preModuleComments, extensionStore, A.NullableExtension_andThen(this._forwardedModules, new A.Environment_toModule_closure()));
  51085. },
  51086. toDummyModule$0() {
  51087. 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()));
  51088. },
  51089. _getModule$1(namespace) {
  51090. var _0_0 = this._environment$_modules.$index(0, namespace);
  51091. if (_0_0 != null)
  51092. return _0_0;
  51093. throw A.wrapException(A.SassScriptException$('There is no module with the namespace "' + namespace + '".', null));
  51094. },
  51095. _fromOneModule$1$3($name, type, callback) {
  51096. var t1, t2, t3, t4, t5, _1_0, _2_0, value, identity, valueInModule, identityFromModule, module, node,
  51097. _0_0 = this._nestedForwardedModules;
  51098. if (_0_0 != null)
  51099. 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();) {
  51100. t3 = t2.__internal$_current;
  51101. 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();) {
  51102. t5 = t3.__internal$_current;
  51103. _1_0 = callback.call$1(t5 == null ? t4._as(t5) : t5);
  51104. if (_1_0 != null)
  51105. return _1_0;
  51106. }
  51107. }
  51108. for (t1 = this._importedModules, t1 = new A.LinkedHashMapKeyIterator(t1, t1._modifications, t1._first); t1.moveNext$0();) {
  51109. _2_0 = callback.call$1(t1.__js_helper$_current);
  51110. if (_2_0 != null)
  51111. return _2_0;
  51112. }
  51113. for (t1 = this._globalModules, t2 = new A.LinkedHashMapKeyIterator(t1, t1._modifications, t1._first), t3 = type$.Callable, value = null, identity = null; t2.moveNext$0();) {
  51114. t4 = t2.__js_helper$_current;
  51115. valueInModule = callback.call$1(t4);
  51116. if (valueInModule == null)
  51117. continue;
  51118. identityFromModule = t3._is(valueInModule) ? valueInModule : t4.variableIdentity$1($name);
  51119. if (identityFromModule.$eq(0, identity))
  51120. continue;
  51121. if (value != null) {
  51122. t2 = A.LinkedHashMap_LinkedHashMap$_empty(type$.FileSpan, type$.String);
  51123. for (t3 = A.MapExtensions_get_pairs(t1, type$.Module_Callable, type$.AstNode), t3 = t3.get$iterator(t3), t4 = "includes " + type; t3.moveNext$0();) {
  51124. t1 = t3.get$current(t3);
  51125. module = t1._0;
  51126. node = t1._1;
  51127. if (callback.call$1(module) != null)
  51128. t2.$indexSet(0, node.get$span(node), t4);
  51129. }
  51130. throw A.wrapException(A.MultiSpanSassScriptException$("This " + type + string$.x20is_av, type + " use", t2));
  51131. }
  51132. identity = identityFromModule;
  51133. value = valueInModule;
  51134. }
  51135. return value;
  51136. },
  51137. _fromOneModule$3($name, type, callback) {
  51138. callback.toString;
  51139. return this._fromOneModule$1$3($name, type, callback, type$.dynamic);
  51140. }
  51141. };
  51142. A.Environment__getVariableFromGlobalModule_closure.prototype = {
  51143. call$1(module) {
  51144. return module.get$variables().$index(0, this.name);
  51145. },
  51146. $signature: 275
  51147. };
  51148. A.Environment_setVariable_closure.prototype = {
  51149. call$0() {
  51150. var t1 = this.$this;
  51151. t1._lastVariableName = this.name;
  51152. return t1._lastVariableIndex = 0;
  51153. },
  51154. $signature: 10
  51155. };
  51156. A.Environment_setVariable_closure0.prototype = {
  51157. call$1(module) {
  51158. return module.get$variables().containsKey$1(this.name) ? module : null;
  51159. },
  51160. $signature: 285
  51161. };
  51162. A.Environment_setVariable_closure1.prototype = {
  51163. call$0() {
  51164. var t1 = this.$this,
  51165. t2 = t1._variableIndex$1(this.name);
  51166. return t2 == null ? t1._variables.length - 1 : t2;
  51167. },
  51168. $signature: 10
  51169. };
  51170. A.Environment__getFunctionFromGlobalModule_closure.prototype = {
  51171. call$1(module) {
  51172. return module.get$functions(module).$index(0, this.name);
  51173. },
  51174. $signature: 194
  51175. };
  51176. A.Environment__getMixinFromGlobalModule_closure.prototype = {
  51177. call$1(module) {
  51178. return module.get$mixins().$index(0, this.name);
  51179. },
  51180. $signature: 194
  51181. };
  51182. A.Environment_toModule_closure.prototype = {
  51183. call$1(modules) {
  51184. return new A.MapKeySet(modules, type$.MapKeySet_Module_Callable);
  51185. },
  51186. $signature: 197
  51187. };
  51188. A.Environment_toDummyModule_closure.prototype = {
  51189. call$1(modules) {
  51190. return new A.MapKeySet(modules, type$.MapKeySet_Module_Callable);
  51191. },
  51192. $signature: 197
  51193. };
  51194. A._EnvironmentModule.prototype = {
  51195. get$url(_) {
  51196. var t1 = this.css;
  51197. t1 = t1.get$span(t1);
  51198. return t1.get$sourceUrl(t1);
  51199. },
  51200. setVariable$3($name, value, nodeWithSpan) {
  51201. var t1, t2,
  51202. _0_0 = this._modulesByVariable.$index(0, $name);
  51203. if (_0_0 != null) {
  51204. _0_0.setVariable$3($name, value, nodeWithSpan);
  51205. return;
  51206. }
  51207. t1 = this._environment$_environment;
  51208. t2 = t1._variables;
  51209. if (!B.JSArray_methods.get$first(t2).containsKey$1($name))
  51210. throw A.wrapException(A.SassScriptException$("Undefined variable.", null));
  51211. J.$indexSet$ax(B.JSArray_methods.get$first(t2), $name, value);
  51212. J.$indexSet$ax(B.JSArray_methods.get$first(t1._variableNodes), $name, nodeWithSpan);
  51213. return;
  51214. },
  51215. variableIdentity$1($name) {
  51216. var module = this._modulesByVariable.$index(0, $name);
  51217. return module == null ? this : module.variableIdentity$1($name);
  51218. },
  51219. couldHaveBeenConfigured$1(variables) {
  51220. var t2, t3, _0_0, variable, module,
  51221. t1 = this._environment$_environment._configurableVariables;
  51222. if (!(variables.get$length(variables) < t1.get$length(t1) ? variables.any$1(0, t1.get$contains(t1)) : t1.any$1(0, variables.get$contains(variables)))) {
  51223. t1 = this._modulesByVariable;
  51224. t2 = type$.Module_Callable;
  51225. if (variables.get$length(variables) < t1.get$length(t1)) {
  51226. t2 = A.LinkedHashSet_LinkedHashSet$_empty(t2);
  51227. for (t3 = variables.get$iterator(variables); t3.moveNext$0();) {
  51228. _0_0 = t1.$index(0, t3.get$current(t3));
  51229. if (_0_0 != null)
  51230. t2.add$1(0, _0_0);
  51231. }
  51232. t1 = t2;
  51233. } else {
  51234. t3 = A.LinkedHashSet_LinkedHashSet$_empty(t2);
  51235. for (t1 = A.MapExtensions_get_pairs(t1, type$.String, t2), t1 = t1.get$iterator(t1); t1.moveNext$0();) {
  51236. t2 = t1.get$current(t1);
  51237. variable = t2._0;
  51238. module = t2._1;
  51239. if (variables.contains$1(0, variable))
  51240. t3.add$1(0, module);
  51241. }
  51242. t1 = t3;
  51243. }
  51244. t1 = t1.any$1(0, new A._EnvironmentModule_couldHaveBeenConfigured_closure(variables));
  51245. } else
  51246. t1 = true;
  51247. return t1;
  51248. },
  51249. cloneCss$0() {
  51250. var _0_0, _this = this;
  51251. if (!_this.transitivelyContainsCss)
  51252. return _this;
  51253. _0_0 = A.cloneCssStylesheet(_this.css, _this.extensionStore);
  51254. 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);
  51255. },
  51256. toString$0(_) {
  51257. var t1 = this.css,
  51258. t2 = t1.get$span(t1);
  51259. if (t2.get$sourceUrl(t2) == null)
  51260. t1 = "<unknown url>";
  51261. else {
  51262. t1 = t1.get$span(t1);
  51263. t1 = t1.get$sourceUrl(t1);
  51264. t2 = $.$get$context();
  51265. t1.toString;
  51266. t1 = t2.prettyUri$1(t1);
  51267. }
  51268. return t1;
  51269. },
  51270. $isModule0: 1,
  51271. get$upstream() {
  51272. return this.upstream;
  51273. },
  51274. get$variables() {
  51275. return this.variables;
  51276. },
  51277. get$variableNodes() {
  51278. return this.variableNodes;
  51279. },
  51280. get$functions(receiver) {
  51281. return this.functions;
  51282. },
  51283. get$mixins() {
  51284. return this.mixins;
  51285. },
  51286. get$extensionStore() {
  51287. return this.extensionStore;
  51288. },
  51289. get$css(receiver) {
  51290. return this.css;
  51291. },
  51292. get$preModuleComments() {
  51293. return this.preModuleComments;
  51294. },
  51295. get$transitivelyContainsCss() {
  51296. return this.transitivelyContainsCss;
  51297. },
  51298. get$transitivelyContainsExtensions() {
  51299. return this.transitivelyContainsExtensions;
  51300. }
  51301. };
  51302. A._EnvironmentModule__EnvironmentModule_closure.prototype = {
  51303. call$1(module) {
  51304. return module.get$variables();
  51305. },
  51306. $signature: 302
  51307. };
  51308. A._EnvironmentModule__EnvironmentModule_closure0.prototype = {
  51309. call$1(module) {
  51310. return module.get$variableNodes();
  51311. },
  51312. $signature: 303
  51313. };
  51314. A._EnvironmentModule__EnvironmentModule_closure1.prototype = {
  51315. call$1(module) {
  51316. return module.get$functions(module);
  51317. },
  51318. $signature: 198
  51319. };
  51320. A._EnvironmentModule__EnvironmentModule_closure2.prototype = {
  51321. call$1(module) {
  51322. return module.get$mixins();
  51323. },
  51324. $signature: 198
  51325. };
  51326. A._EnvironmentModule__EnvironmentModule_closure3.prototype = {
  51327. call$1(module) {
  51328. return module.get$transitivelyContainsCss();
  51329. },
  51330. $signature: 88
  51331. };
  51332. A._EnvironmentModule__EnvironmentModule_closure4.prototype = {
  51333. call$1(module) {
  51334. return module.get$transitivelyContainsExtensions();
  51335. },
  51336. $signature: 88
  51337. };
  51338. A._EnvironmentModule_couldHaveBeenConfigured_closure.prototype = {
  51339. call$1(module) {
  51340. return module.couldHaveBeenConfigured$1(this.variables);
  51341. },
  51342. $signature: 88
  51343. };
  51344. A.SassException.prototype = {
  51345. get$trace(_) {
  51346. return A.Trace$(A._setArrayType([A.frameForSpan(A.SourceSpanException.prototype.get$span.call(this, 0), "root stylesheet", null)], type$.JSArray_Frame), null);
  51347. },
  51348. get$span(_) {
  51349. return A.SourceSpanException.prototype.get$span.call(this, 0);
  51350. },
  51351. withAdditionalSpan$2(span, label) {
  51352. 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);
  51353. },
  51354. withTrace$1(trace) {
  51355. var t1 = A.SourceSpanException.prototype.get$span.call(this, 0),
  51356. t2 = A.Set_Set$unmodifiable(this.loadedUrls, type$.Uri);
  51357. return new A.SassRuntimeException(trace, t2, this._span_exception$_message, t1);
  51358. },
  51359. withLoadedUrls$1(loadedUrls) {
  51360. var t1 = A.SourceSpanException.prototype.get$span.call(this, 0),
  51361. t2 = A.Set_Set$unmodifiable(loadedUrls, type$.Uri);
  51362. return new A.SassException(t2, this._span_exception$_message, t1);
  51363. },
  51364. toString$1$color(_, color) {
  51365. var t2, _i, frame, _this = this,
  51366. buffer = new A.StringBuffer(""),
  51367. t1 = "" + ("Error: " + _this._span_exception$_message + "\n");
  51368. buffer._contents = t1;
  51369. buffer._contents = t1 + A.SourceSpanException.prototype.get$span.call(_this, 0).highlight$1$color(color);
  51370. for (t1 = _this.get$trace(_this).toString$0(0).split("\n"), t2 = t1.length, _i = 0; _i < t2; ++_i) {
  51371. frame = t1[_i];
  51372. if (frame.length === 0)
  51373. continue;
  51374. buffer._contents = (buffer._contents += "\n") + (" " + frame);
  51375. }
  51376. t1 = buffer._contents;
  51377. return t1.charCodeAt(0) == 0 ? t1 : t1;
  51378. },
  51379. toString$0(_) {
  51380. return this.toString$1$color(0, null);
  51381. },
  51382. toCssString$0() {
  51383. var commentMessage, stringMessage, rune,
  51384. t1 = $._glyphs,
  51385. t2 = $._glyphs = B.C_AsciiGlyphSet,
  51386. t3 = this.toString$1$color(0, false);
  51387. t3 = A.stringReplaceAllUnchecked(t3, "*/", "*\u2215");
  51388. commentMessage = A.stringReplaceAllUnchecked(t3, "\r\n", "\n");
  51389. $._glyphs = t1 === B.C_AsciiGlyphSet ? t2 : B.C_UnicodeGlyphSet;
  51390. stringMessage = new A.StringBuffer("");
  51391. for (t1 = new A.RuneIterator(A.serializeValue(new A.SassString(this.toString$1$color(0, false), true), true, true)); t1.moveNext$0();) {
  51392. rune = t1._currentCodePoint;
  51393. if (rune > 127) {
  51394. t2 = A.Primitives_stringFromCharCode(92);
  51395. stringMessage._contents += t2;
  51396. t2 = B.JSInt_methods.toRadixString$1(rune, 16);
  51397. stringMessage._contents += t2;
  51398. t2 = A.Primitives_stringFromCharCode(32);
  51399. stringMessage._contents += t2;
  51400. } else {
  51401. t2 = A.Primitives_stringFromCharCode(rune);
  51402. stringMessage._contents += t2;
  51403. }
  51404. }
  51405. 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}";
  51406. }
  51407. };
  51408. A.MultiSpanSassException.prototype = {
  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.MultiSpanSassException$(_this._span_exception$_message, t1, _this.primaryLabel, t2, _this.loadedUrls);
  51415. },
  51416. withTrace$1(trace) {
  51417. var _this = this;
  51418. return A.MultiSpanSassRuntimeException$(_this._span_exception$_message, A.SourceSpanException.prototype.get$span.call(_this, 0), _this.primaryLabel, _this.secondarySpans, trace, _this.loadedUrls);
  51419. },
  51420. withLoadedUrls$1(loadedUrls) {
  51421. var _this = this;
  51422. return A.MultiSpanSassException$(_this._span_exception$_message, A.SourceSpanException.prototype.get$span.call(_this, 0), _this.primaryLabel, _this.secondarySpans, loadedUrls);
  51423. },
  51424. toString$1$color(_, color) {
  51425. var t1, t2, _i, frame, _this = this,
  51426. useColor = color === true,
  51427. buffer = new A.StringBuffer("Error: " + _this._span_exception$_message + "\n");
  51428. 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));
  51429. for (t1 = _this.get$trace(_this).toString$0(0).split("\n"), t2 = t1.length, _i = 0; _i < t2; ++_i) {
  51430. frame = t1[_i];
  51431. if (frame.length === 0)
  51432. continue;
  51433. buffer._contents = (buffer._contents += "\n") + (" " + frame);
  51434. }
  51435. t1 = buffer._contents;
  51436. return t1.charCodeAt(0) == 0 ? t1 : t1;
  51437. },
  51438. toString$0(_) {
  51439. return this.toString$1$color(0, null);
  51440. },
  51441. get$primaryLabel() {
  51442. return this.primaryLabel;
  51443. },
  51444. get$secondarySpans() {
  51445. return this.secondarySpans;
  51446. }
  51447. };
  51448. A.SassRuntimeException.prototype = {
  51449. withAdditionalSpan$2(span, label) {
  51450. var _this = this;
  51451. 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);
  51452. },
  51453. withLoadedUrls$1(loadedUrls) {
  51454. var t1 = A.SourceSpanException.prototype.get$span.call(this, 0),
  51455. t2 = A.Set_Set$unmodifiable(loadedUrls, type$.Uri);
  51456. return new A.SassRuntimeException(this.trace, t2, this._span_exception$_message, t1);
  51457. },
  51458. get$trace(receiver) {
  51459. return this.trace;
  51460. }
  51461. };
  51462. A.MultiSpanSassRuntimeException.prototype = {
  51463. withAdditionalSpan$2(span, label) {
  51464. var _this = this,
  51465. t1 = A.SourceSpanException.prototype.get$span.call(_this, 0),
  51466. t2 = A.LinkedHashMap_LinkedHashMap$of(_this.secondarySpans, type$.FileSpan, type$.String);
  51467. t2.$indexSet(0, span, label);
  51468. return A.MultiSpanSassRuntimeException$(_this._span_exception$_message, t1, _this.primaryLabel, t2, _this.trace, _this.loadedUrls);
  51469. },
  51470. withLoadedUrls$1(loadedUrls) {
  51471. var _this = this;
  51472. return A.MultiSpanSassRuntimeException$(_this._span_exception$_message, A.SourceSpanException.prototype.get$span.call(_this, 0), _this.primaryLabel, _this.secondarySpans, _this.trace, loadedUrls);
  51473. },
  51474. $isSassRuntimeException: 1,
  51475. get$trace(receiver) {
  51476. return this.trace;
  51477. }
  51478. };
  51479. A.SassFormatException.prototype = {
  51480. get$source() {
  51481. var t1 = A.SourceSpanException.prototype.get$span.call(this, 0);
  51482. return A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t1.get$file(t1)._decodedChars, 0, null), 0, null);
  51483. },
  51484. withAdditionalSpan$2(span, label) {
  51485. 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);
  51486. },
  51487. withLoadedUrls$1(loadedUrls) {
  51488. var t1 = A.SourceSpanException.prototype.get$span.call(this, 0),
  51489. t2 = A.Set_Set$unmodifiable(loadedUrls, type$.Uri);
  51490. return new A.SassFormatException(t2, this._span_exception$_message, t1);
  51491. },
  51492. $isFormatException: 1,
  51493. $isSourceSpanFormatException: 1
  51494. };
  51495. A.MultiSpanSassFormatException.prototype = {
  51496. get$source() {
  51497. var t1 = A.SourceSpanException.prototype.get$span.call(this, 0);
  51498. return A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t1.get$file(t1)._decodedChars, 0, null), 0, null);
  51499. },
  51500. withAdditionalSpan$2(span, label) {
  51501. var _this = this,
  51502. t1 = A.SourceSpanException.prototype.get$span.call(_this, 0),
  51503. t2 = A.LinkedHashMap_LinkedHashMap$of(_this.secondarySpans, type$.FileSpan, type$.String);
  51504. t2.$indexSet(0, span, label);
  51505. return A.MultiSpanSassFormatException$(_this._span_exception$_message, t1, _this.primaryLabel, t2, _this.loadedUrls);
  51506. },
  51507. withLoadedUrls$1(loadedUrls) {
  51508. var _this = this;
  51509. return A.MultiSpanSassFormatException$(_this._span_exception$_message, A.SourceSpanException.prototype.get$span.call(_this, 0), _this.primaryLabel, _this.secondarySpans, loadedUrls);
  51510. },
  51511. $isFormatException: 1,
  51512. $isSassFormatException: 1,
  51513. $isSourceSpanFormatException: 1,
  51514. $isMultiSourceSpanFormatException: 1
  51515. };
  51516. A.SassScriptException.prototype = {
  51517. withSpan$1(span) {
  51518. return new A.SassException(B.Set_empty, this.message, span);
  51519. },
  51520. toString$0(_) {
  51521. return this.message + string$.x0a_BUG_;
  51522. },
  51523. get$message(receiver) {
  51524. return this.message;
  51525. }
  51526. };
  51527. A.MultiSpanSassScriptException.prototype = {
  51528. withSpan$1(span) {
  51529. return A.MultiSpanSassException$(this.message, span, this.primaryLabel, this.secondarySpans, null);
  51530. }
  51531. };
  51532. A._writeSourceMap_closure.prototype = {
  51533. call$1(url) {
  51534. return this.options.sourceMapUrl$2(0, A.Uri_parse(url), this.destination).toString$0(0);
  51535. },
  51536. $signature: 6
  51537. };
  51538. A.ExecutableOptions.prototype = {
  51539. get$interactive() {
  51540. var result, _this = this,
  51541. value = _this.__ExecutableOptions_interactive_FI;
  51542. if (value === $) {
  51543. result = new A.ExecutableOptions_interactive_closure(_this).call$0();
  51544. _this.__ExecutableOptions_interactive_FI !== $ && A.throwUnnamedLateFieldADI();
  51545. _this.__ExecutableOptions_interactive_FI = result;
  51546. value = result;
  51547. }
  51548. return value;
  51549. },
  51550. get$color() {
  51551. var t1 = this._options;
  51552. return t1.wasParsed$1("color") ? A._asBool(t1.$index(0, "color")) : A.hasTerminal();
  51553. },
  51554. get$pkgImporters() {
  51555. var t2, t3, t4, _null = null,
  51556. t1 = A._setArrayType([], type$.JSArray_Importer);
  51557. for (t2 = J.get$iterator$ax(type$.List_String._as(this._options.$index(0, "pkg-importer"))); t2.moveNext$0();) {
  51558. t2.get$current(t2);
  51559. t3 = new A.NodePackageImporter();
  51560. t4 = self.process;
  51561. if (t4 == null)
  51562. t4 = _null;
  51563. else {
  51564. t4 = J.get$release$x(t4);
  51565. t4 = t4 == null ? _null : J.get$name$x(t4);
  51566. }
  51567. if (!J.$eq$(t4, "node") && self.document != null && typeof self.document.querySelector == "function")
  51568. A.throwExpression(string$.The_No);
  51569. t3.__NodePackageImporter__entryPointDirectory_F = $.$get$context().absolute$15(".", _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null);
  51570. t1.push(t3);
  51571. }
  51572. return t1;
  51573. },
  51574. get$emitErrorCss() {
  51575. var t1 = A._asBoolQ(this._options.$index(0, "error-css"));
  51576. if (t1 == null) {
  51577. this._ensureSources$0();
  51578. t1 = this._sourcesToDestinations;
  51579. t1 = t1.get$values(t1);
  51580. t1 = t1.any$1(t1, new A.ExecutableOptions_emitErrorCss_closure());
  51581. }
  51582. return t1;
  51583. },
  51584. _ensureSources$0() {
  51585. 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,
  51586. _s18_ = 'Duplicate source "';
  51587. if (_this._sourcesToDestinations != null)
  51588. return;
  51589. t1 = _this._options;
  51590. stdin = A._asBool(t1.$index(0, "stdin"));
  51591. t2 = t1.rest;
  51592. if (t2.get$length(0) === 0 && !stdin)
  51593. A.ExecutableOptions__fail("Compile Sass to CSS.");
  51594. t3 = type$.String;
  51595. $directories = A.LinkedHashSet_LinkedHashSet$_empty(t3);
  51596. 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();) {
  51597. t7 = t6.__internal$_current;
  51598. if (t7 == null)
  51599. t7 = t4._as(t7);
  51600. t8 = t7.length;
  51601. if (t8 === 0)
  51602. A.ExecutableOptions__fail('Invalid argument "".');
  51603. if (A.stringContainsUnchecked(t7, ":", 0)) {
  51604. if (t8 > 2) {
  51605. t9 = t7.charCodeAt(0);
  51606. if (!(t9 >= 97 && t9 <= 122))
  51607. t9 = t9 >= 65 && t9 <= 90;
  51608. else
  51609. t9 = true;
  51610. t9 = t9 && t7.charCodeAt(1) === 58;
  51611. } else
  51612. t9 = false;
  51613. if (t9) {
  51614. if (2 > t8)
  51615. A.throwExpression(A.RangeError$range(2, 0, t8, _null, _null));
  51616. t8 = A.stringContainsUnchecked(t7, ":", 2);
  51617. } else
  51618. t8 = true;
  51619. } else
  51620. t8 = false;
  51621. if (t8)
  51622. colonArgs = true;
  51623. else if (A.dirExists(t7))
  51624. $directories.add$1(0, t7);
  51625. else
  51626. positionalArgs = true;
  51627. }
  51628. if (positionalArgs || t2.get$length(0) === 0) {
  51629. if (colonArgs)
  51630. A.ExecutableOptions__fail('Positional and ":" arguments may not both be used.');
  51631. else if (stdin) {
  51632. if (J.get$length$asx(t2._collection$_source) > 1)
  51633. A.ExecutableOptions__fail("Only one argument is allowed with --stdin.");
  51634. else if (A._asBool(t1.$index(0, "update")))
  51635. A.ExecutableOptions__fail("--update is not allowed with --stdin.");
  51636. else if (A._asBool(t1.$index(0, "watch")))
  51637. A.ExecutableOptions__fail("--watch is not allowed with --stdin.");
  51638. t1 = t2.get$length(0) === 0 ? _null : t2.get$first(t2);
  51639. t2 = type$.dynamic;
  51640. t3 = type$.nullable_String;
  51641. _this._sourcesToDestinations = A.ConstantMap_ConstantMap$from(A.LinkedHashMap_LinkedHashMap$_literal([null, t1], t2, t2), t3, t3);
  51642. } else {
  51643. t3 = t2._collection$_source;
  51644. t4 = J.getInterceptor$asx(t3);
  51645. if (t4.get$length(t3) > 2)
  51646. A.ExecutableOptions__fail("Only two positional args may be passed.");
  51647. else if ($directories._collection$_length !== 0) {
  51648. message = 'Directory "' + A.S($directories.get$first(0)) + '" may not be a positional arg.';
  51649. target = t2.get$last(t2);
  51650. 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);
  51651. } else {
  51652. source = J.$eq$(t2.get$first(t2), "-") ? _null : t2.get$first(t2);
  51653. destination = t4.get$length(t3) === 1 ? _null : t2.get$last(t2);
  51654. if (destination == null)
  51655. if (A._asBool(t1.$index(0, "update")))
  51656. A.ExecutableOptions__fail("--update is not allowed when printing to stdout.");
  51657. else if (A._asBool(t1.$index(0, "watch")))
  51658. A.ExecutableOptions__fail("--watch is not allowed when printing to stdout.");
  51659. t1 = A.PathMap__create(_null, type$.nullable_String);
  51660. t1.$indexSet(0, source, destination);
  51661. _this._sourcesToDestinations = new A.UnmodifiableMapView(new A.PathMap(t1, type$.PathMap_nullable_String), type$.UnmodifiableMapView_of_nullable_String_and_nullable_String);
  51662. }
  51663. }
  51664. _this.__ExecutableOptions__sourceDirectoriesToDestinations_F !== $ && A.throwUnnamedLateFieldAI();
  51665. _this.__ExecutableOptions__sourceDirectoriesToDestinations_F = B.Map_empty9;
  51666. return;
  51667. }
  51668. if (stdin)
  51669. A.ExecutableOptions__fail('--stdin may not be used with ":" arguments.');
  51670. seen = A.LinkedHashSet_LinkedHashSet$_empty(t3);
  51671. t1 = A.PathMap__create(_null, t3);
  51672. t6 = type$.PathMap_String;
  51673. t3 = A.PathMap__create(_null, t3);
  51674. for (t2 = new A.ListIterator(t2, t2.get$length(0), t5); t2.moveNext$0();) {
  51675. t5 = t2.__internal$_current;
  51676. if (t5 == null)
  51677. t5 = t4._as(t5);
  51678. if ($directories.contains$1(0, t5)) {
  51679. if (!seen.add$1(0, t5))
  51680. A.ExecutableOptions__fail(_s18_ + t5 + '".');
  51681. t3.$indexSet(0, t5, t5);
  51682. t1.addAll$1(0, _this._listSourceDirectory$2(t5, t5));
  51683. continue;
  51684. }
  51685. _0_0 = _this._splitSourceAndDestination$1(t5);
  51686. source = _0_0._0;
  51687. destination = _0_0._1;
  51688. if (!seen.add$1(0, source))
  51689. A.ExecutableOptions__fail(_s18_ + source + '".');
  51690. if (source === "-")
  51691. t1.$indexSet(0, _null, destination);
  51692. else if (A.dirExists(source)) {
  51693. t3.$indexSet(0, source, destination);
  51694. t1.addAll$1(0, _this._listSourceDirectory$2(source, destination));
  51695. } else
  51696. t1.$indexSet(0, source, destination);
  51697. }
  51698. _this._sourcesToDestinations = new A.UnmodifiableMapView(new A.PathMap(t1, t6), type$.UnmodifiableMapView_of_nullable_String_and_nullable_String);
  51699. _this.__ExecutableOptions__sourceDirectoriesToDestinations_F !== $ && A.throwUnnamedLateFieldAI();
  51700. _this.__ExecutableOptions__sourceDirectoriesToDestinations_F = new A.UnmodifiableMapView(new A.PathMap(t3, t6), type$.UnmodifiableMapView_of_nullable_String_and_String);
  51701. },
  51702. _splitSourceAndDestination$1(argument) {
  51703. var t1, i, t2, t3, nextColon;
  51704. for (t1 = argument.length, i = 0; i < t1; ++i) {
  51705. t2 = false;
  51706. if (i === 1) {
  51707. t3 = i - 1;
  51708. if (t1 > t3 + 2) {
  51709. t2 = argument.charCodeAt(t3);
  51710. if (!(t2 >= 97 && t2 <= 122))
  51711. t2 = t2 >= 65 && t2 <= 90;
  51712. else
  51713. t2 = true;
  51714. t2 = t2 && argument.charCodeAt(t3 + 1) === 58;
  51715. }
  51716. }
  51717. if (t2)
  51718. continue;
  51719. if (argument.charCodeAt(i) === 58) {
  51720. t2 = i + 1;
  51721. nextColon = B.JSString_methods.indexOf$2(argument, ":", t2);
  51722. t3 = false;
  51723. if (nextColon === i + 2)
  51724. if (t1 > t2 + 2) {
  51725. t1 = argument.charCodeAt(t2);
  51726. if (!(t1 >= 97 && t1 <= 122))
  51727. t1 = t1 >= 65 && t1 <= 90;
  51728. else
  51729. t1 = true;
  51730. t1 = t1 && argument.charCodeAt(t2 + 1) === 58;
  51731. } else
  51732. t1 = t3;
  51733. else
  51734. t1 = t3;
  51735. if ((t1 ? B.JSString_methods.indexOf$2(argument, ":", nextColon + 1) : nextColon) !== -1)
  51736. A.ExecutableOptions__fail('"' + argument + '" may only contain one ":".');
  51737. return new A._Record_2(B.JSString_methods.substring$2(argument, 0, i), B.JSString_methods.substring$1(argument, t2));
  51738. }
  51739. }
  51740. throw A.wrapException(A.ArgumentError$('Expected "' + argument + '" to contain a colon.', null));
  51741. },
  51742. _listSourceDirectory$2(source, destination) {
  51743. var t2, t3, t4, t5,
  51744. t1 = type$.String;
  51745. t1 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
  51746. for (t2 = J.get$iterator$ax(A.listDir(source, true)), t3 = source === destination; t2.moveNext$0();) {
  51747. t4 = t2.get$current(t2);
  51748. if (this._isEntrypoint$1(t4))
  51749. t5 = !(t3 && A.ParsedPath_ParsedPath$parse(t4, $.$get$context().style)._splitExtension$1(1)[1] === ".css");
  51750. else
  51751. t5 = false;
  51752. if (t5) {
  51753. t5 = $.$get$context();
  51754. t1.$indexSet(0, t4, A.join(destination, t5.withoutExtension$1(t5.relative$2$from(t4, source)) + ".css", null));
  51755. }
  51756. }
  51757. return t1;
  51758. },
  51759. _isEntrypoint$1(path) {
  51760. var extension,
  51761. t1 = $.$get$context().style;
  51762. if (B.JSString_methods.startsWith$1(A.ParsedPath_ParsedPath$parse(path, t1).get$basename(), "_"))
  51763. return false;
  51764. extension = A.ParsedPath_ParsedPath$parse(path, t1)._splitExtension$1(1)[1];
  51765. return extension === ".scss" || extension === ".sass" || extension === ".css";
  51766. },
  51767. get$_writeToStdout() {
  51768. var t1, _this = this;
  51769. _this._ensureSources$0();
  51770. t1 = _this._sourcesToDestinations;
  51771. if (t1.get$length(t1) === 1) {
  51772. _this._ensureSources$0();
  51773. t1 = _this._sourcesToDestinations;
  51774. t1 = t1.get$values(t1);
  51775. t1 = t1.get$single(t1) == null;
  51776. } else
  51777. t1 = false;
  51778. return t1;
  51779. },
  51780. get$emitSourceMap() {
  51781. var _this = this,
  51782. _s10_ = "source-map",
  51783. _s15_ = "source-map-urls",
  51784. _s13_ = "embed-sources",
  51785. _s16_ = "embed-source-map",
  51786. t1 = _this._options;
  51787. if (!A._asBool(t1.$index(0, _s10_)))
  51788. if (t1.wasParsed$1(_s15_))
  51789. A.ExecutableOptions__fail("--source-map-urls isn't allowed with --no-source-map.");
  51790. else if (t1.wasParsed$1(_s13_))
  51791. A.ExecutableOptions__fail("--embed-sources isn't allowed with --no-source-map.");
  51792. else if (t1.wasParsed$1(_s16_))
  51793. A.ExecutableOptions__fail("--embed-source-map isn't allowed with --no-source-map.");
  51794. if (!_this.get$_writeToStdout())
  51795. return A._asBool(t1.$index(0, _s10_));
  51796. if (J.$eq$(_this._ifParsed$1(_s15_), "relative"))
  51797. A.ExecutableOptions__fail("--source-map-urls=relative isn't allowed when printing to stdout.");
  51798. if (A._asBool(t1.$index(0, _s16_)))
  51799. return A._asBool(t1.$index(0, _s10_));
  51800. else if (J.$eq$(_this._ifParsed$1(_s10_), true))
  51801. A.ExecutableOptions__fail("When printing to stdout, --source-map requires --embed-source-map.");
  51802. else if (t1.wasParsed$1(_s15_))
  51803. A.ExecutableOptions__fail("When printing to stdout, --source-map-urls requires --embed-source-map.");
  51804. else if (A._asBool(t1.$index(0, _s13_)))
  51805. A.ExecutableOptions__fail("When printing to stdout, --embed-sources requires --embed-source-map.");
  51806. else
  51807. return false;
  51808. },
  51809. sourceMapUrl$2(_, url, destination) {
  51810. var t1, path, t2, _null = null;
  51811. if (url.get$scheme().length !== 0 && url.get$scheme() !== "file")
  51812. return url;
  51813. t1 = $.$get$context();
  51814. path = t1.style.pathFromUri$1(A._parseUri(url));
  51815. if (J.$eq$(this._options.$index(0, "source-map-urls"), "relative") && !this.get$_writeToStdout()) {
  51816. destination.toString;
  51817. t2 = t1.relative$2$from(path, t1.dirname$1(destination));
  51818. } else
  51819. t2 = A.absolute(path, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null);
  51820. return t1.toUri$1(t2);
  51821. },
  51822. get$silenceDeprecations(_) {
  51823. var t2, t3, t4,
  51824. t1 = A.LinkedHashSet_LinkedHashSet$_empty(type$.Deprecation);
  51825. for (t2 = J.get$iterator$ax(type$.List_String._as(this._options.$index(0, "silence-deprecation"))); t2.moveNext$0();) {
  51826. t3 = t2.get$current(t2);
  51827. t4 = A.Deprecation_fromId(t3);
  51828. t1.add$1(0, t4 == null ? A.ExecutableOptions__fail('Invalid deprecation "' + t3 + '".') : t4);
  51829. }
  51830. return t1;
  51831. },
  51832. get$fatalDeprecations(_) {
  51833. var t1 = this._fatalDeprecations;
  51834. return t1 == null ? this._fatalDeprecations = new A.ExecutableOptions_fatalDeprecations_closure(this).call$0() : t1;
  51835. },
  51836. get$futureDeprecations(_) {
  51837. var t2, t3, t4,
  51838. t1 = A.LinkedHashSet_LinkedHashSet$_empty(type$.Deprecation);
  51839. for (t2 = J.get$iterator$ax(type$.List_String._as(this._options.$index(0, "future-deprecation"))); t2.moveNext$0();) {
  51840. t3 = t2.get$current(t2);
  51841. t4 = A.Deprecation_fromId(t3);
  51842. t1.add$1(0, t4 == null ? A.ExecutableOptions__fail('Invalid deprecation "' + t3 + '".') : t4);
  51843. }
  51844. return t1;
  51845. },
  51846. _ifParsed$1($name) {
  51847. var t1 = this._options;
  51848. return t1.wasParsed$1($name) ? t1.$index(0, $name) : null;
  51849. }
  51850. };
  51851. A.ExecutableOptions__parser_closure.prototype = {
  51852. call$0() {
  51853. var t1 = type$.String,
  51854. t2 = A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.Option),
  51855. t3 = A._setArrayType([], type$.JSArray_Object),
  51856. 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);
  51857. parser.addOption$2$hide("precision", true);
  51858. parser.addFlag$2$hide("async", true);
  51859. t3.push(A.ExecutableOptions__separator("Input and Output"));
  51860. parser.addFlag$2$help("stdin", "Read the stylesheet from stdin.");
  51861. parser.addFlag$2$help("indented", "Use the indented syntax for input from stdin.");
  51862. parser.addMultiOption$5$abbr$help$splitCommas$valueHelp("load-path", "I", "A path to use when resolving imports.\nMay be passed multiple times.", false, "PATH");
  51863. t2 = type$.JSArray_String;
  51864. 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");
  51865. parser.addOption$6$abbr$allowed$defaultsTo$help$valueHelp("style", "s", A._setArrayType(["expanded", "compressed"], t2), "expanded", "Output style.", "NAME");
  51866. parser.addFlag$3$defaultsTo$help("charset", true, "Emit a @charset or BOM for CSS with non-ASCII characters.");
  51867. 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.");
  51868. parser.addFlag$3$help$negatable("update", "Only compile out-of-date stylesheets.", false);
  51869. t3.push(A.ExecutableOptions__separator("Source Maps"));
  51870. parser.addFlag$3$defaultsTo$help("source-map", true, "Whether to generate source maps.");
  51871. parser.addOption$4$allowed$defaultsTo$help("source-map-urls", A._setArrayType(["relative", "absolute"], t2), "relative", "How to link from source maps to source files.");
  51872. parser.addFlag$3$defaultsTo$help("embed-sources", false, "Embed source file contents in source maps.");
  51873. parser.addFlag$3$defaultsTo$help("embed-source-map", false, "Embed source map contents in CSS.");
  51874. t3.push(A.ExecutableOptions__separator("Warnings"));
  51875. parser.addFlag$3$abbr$help("quiet", "q", "Don't print warnings.");
  51876. parser.addFlag$2$help("quiet-deps", "Don't print compiler warnings from dependencies.\nStylesheets imported through load paths count as dependencies.");
  51877. parser.addFlag$2$help("verbose", "Print all deprecation warnings even when they're repetitive.");
  51878. 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.");
  51879. parser.addMultiOption$2$help("silence-deprecation", "Deprecations to ignore.");
  51880. parser.addMultiOption$2$help("future-deprecation", "Opt in to a deprecation early.");
  51881. t3.push(A.ExecutableOptions__separator("Other"));
  51882. parser.addFlag$4$abbr$help$negatable("watch", "w", "Watch stylesheets and recompile when they change.", false);
  51883. parser.addFlag$2$help("poll", "Manually check for changes rather than using a native watcher.\nOnly valid with --watch.");
  51884. parser.addFlag$2$help("stop-on-error", "Don't compile more files once an error is encountered.");
  51885. parser.addFlag$4$abbr$help$negatable("interactive", "i", "Run an interactive SassScript shell.", false);
  51886. parser.addFlag$3$abbr$help("color", "c", "Whether to use terminal colors for messages.");
  51887. parser.addFlag$2$help("unicode", "Whether to use Unicode characters for messages.");
  51888. parser.addFlag$2$help("trace", "Print full Dart stack traces for exceptions.");
  51889. parser.addFlag$4$abbr$help$negatable("help", "h", "Print this usage information.", false);
  51890. parser.addFlag$3$help$negatable("version", "Print the version of Dart Sass.", false);
  51891. return parser;
  51892. },
  51893. $signature: 308
  51894. };
  51895. A.ExecutableOptions_interactive_closure.prototype = {
  51896. call$0() {
  51897. var _0_0,
  51898. t1 = this.$this._options;
  51899. if (!A._asBool(t1.$index(0, "interactive")))
  51900. return false;
  51901. _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());
  51902. if (_0_0 != null)
  51903. throw A.wrapException(A.UsageException$("--" + _0_0 + " isn't allowed with --interactive."));
  51904. return true;
  51905. },
  51906. $signature: 20
  51907. };
  51908. A.ExecutableOptions_emitErrorCss_closure.prototype = {
  51909. call$1(destination) {
  51910. return destination != null;
  51911. },
  51912. $signature: 271
  51913. };
  51914. A.ExecutableOptions_fatalDeprecations_closure.prototype = {
  51915. call$0() {
  51916. var id, argVersion, sassVersion, t1, t2, _0_0, exception,
  51917. deprecations = A.LinkedHashSet_LinkedHashSet$_empty(type$.Deprecation);
  51918. for (t1 = J.get$iterator$ax(type$.List_String._as(this.$this._options.$index(0, "fatal-deprecation"))), t2 = type$.FormatException; t1.moveNext$0();) {
  51919. id = t1.get$current(t1);
  51920. _0_0 = A.Deprecation_fromId(id);
  51921. if (_0_0 != null) {
  51922. J.add$1$ax(deprecations, _0_0);
  51923. continue;
  51924. }
  51925. try {
  51926. argVersion = A.Version_Version$parse(id);
  51927. sassVersion = A.Version_Version$parse("1.90.0");
  51928. if (J.compareTo$1$ns(argVersion, sassVersion) > 0)
  51929. A.ExecutableOptions__fail("Invalid version " + A.S(argVersion) + ". --fatal-deprecation requires a version less than or equal to the current Dart Sass version.");
  51930. J.addAll$1$ax(deprecations, A.Deprecation_forVersion(argVersion));
  51931. } catch (exception) {
  51932. if (t2._is(A.unwrapException(exception)))
  51933. A.ExecutableOptions__fail('Invalid deprecation "' + A.S(id) + '".');
  51934. else
  51935. throw exception;
  51936. }
  51937. }
  51938. return deprecations;
  51939. },
  51940. $signature: 317
  51941. };
  51942. A.UsageException.prototype = {$isException: 1,
  51943. get$message(receiver) {
  51944. return this.message;
  51945. }
  51946. };
  51947. A.repl_warn.prototype = {
  51948. call$1(warning) {
  51949. var _0_1, _0_3, deprecation, t1, _0_2, span, _null = null;
  51950. $label0$0: {
  51951. _0_1 = warning._1;
  51952. _0_3 = _null;
  51953. deprecation = _null;
  51954. t1 = false;
  51955. _0_2 = warning._2;
  51956. _0_3 = warning._0;
  51957. t1 = _0_3 != null;
  51958. if (t1)
  51959. deprecation = _0_3 == null ? type$.Deprecation._as(_0_3) : _0_3;
  51960. span = _0_2;
  51961. if (t1) {
  51962. A.WarnForDeprecation_warnForDeprecation(this.logger, deprecation, _0_1, span, _null);
  51963. break $label0$0;
  51964. }
  51965. t1 = false;
  51966. span = _0_2;
  51967. t1 = _0_3 == null;
  51968. if (t1)
  51969. this.logger.internalWarn$4$deprecation$span$trace(_0_1, _null, span, _null);
  51970. }
  51971. },
  51972. $signature: 272
  51973. };
  51974. A.watch_closure.prototype = {
  51975. call$1(dir) {
  51976. for (; !A.dirExists(dir);)
  51977. dir = $.$get$context().dirname$1(dir);
  51978. return this.dirWatcher.watch$1(0, dir);
  51979. },
  51980. $signature: 321
  51981. };
  51982. A._Watcher.prototype = {
  51983. _delete$1(path) {
  51984. var buffer, t1, exception;
  51985. try {
  51986. A.deleteFile(path);
  51987. buffer = new A.StringBuffer("");
  51988. t1 = this._watch$_options;
  51989. if (t1.get$color())
  51990. buffer._contents += "\x1b[33m";
  51991. buffer._contents += "Deleted " + path + ".";
  51992. if (t1.get$color())
  51993. buffer._contents += "\x1b[0m";
  51994. A.print(buffer);
  51995. } catch (exception) {
  51996. if (!(A.unwrapException(exception) instanceof A.FileSystemException))
  51997. throw exception;
  51998. }
  51999. },
  52000. watch$1(_, watcher) {
  52001. return this.watch$body$_Watcher(0, watcher);
  52002. },
  52003. watch$body$_Watcher(_, watcher) {
  52004. var $async$goto = 0,
  52005. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  52006. $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;
  52007. var $async$watch$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  52008. if ($async$errorCode === 1) {
  52009. $async$errorStack.push($async$result);
  52010. $async$goto = $async$handler;
  52011. }
  52012. while (true)
  52013. switch ($async$goto) {
  52014. case 0:
  52015. // Function start
  52016. t2 = watcher._group.__StreamGroup__controller_A;
  52017. t2 === $ && A.throwUnnamedLateFieldNI();
  52018. t2 = new A._StreamIterator(A.checkNotNullable($async$self._debounceEvents$1(new A._ControllerStream(t2, A._instanceType(t2)._eval$1("_ControllerStream<1>"))), "stream", type$.Object));
  52019. $async$handler = 3;
  52020. 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;
  52021. case 6:
  52022. // for condition
  52023. $async$goto = 8;
  52024. return A._asyncAwait(t2.moveNext$0(), $async$watch$1);
  52025. case 8:
  52026. // returning from await.
  52027. if (!$async$result) {
  52028. // goto after for
  52029. $async$goto = 7;
  52030. break;
  52031. }
  52032. batch = t2.get$current(0);
  52033. for (t10 = J.get$iterator$ax(batch); t10.moveNext$0();) {
  52034. $event = t10.get$current(t10);
  52035. t11 = $event.path;
  52036. t12 = $.$get$context();
  52037. extension = A.ParsedPath_ParsedPath$parse(t11, t12.style)._splitExtension$1(1)[1];
  52038. if (!J.$eq$(extension, ".sass") && !J.$eq$(extension, ".scss") && !J.$eq$(extension, ".css"))
  52039. continue;
  52040. switch ($event.type) {
  52041. case B.ChangeType_modify:
  52042. t11 = $event.path;
  52043. t13 = self.process;
  52044. if (t13 == null)
  52045. t13 = null;
  52046. else {
  52047. t13 = J.get$release$x(t13);
  52048. t13 = t13 == null ? null : J.get$name$x(t13);
  52049. }
  52050. t13 = J.$eq$(t13, "node") ? self.process : null;
  52051. if (!J.$eq$(t13 == null ? null : J.get$platform$x(t13), "win32")) {
  52052. t13 = self.process;
  52053. if (t13 == null)
  52054. t13 = null;
  52055. else {
  52056. t13 = J.get$release$x(t13);
  52057. t13 = t13 == null ? null : J.get$name$x(t13);
  52058. }
  52059. t13 = J.$eq$(t13, "node") ? self.process : null;
  52060. t13 = J.$eq$(t13 == null ? null : J.get$platform$x(t13), "darwin");
  52061. } else
  52062. t13 = true;
  52063. 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));
  52064. _0_0 = t7.$index(0, url);
  52065. if (_0_0 != null) {
  52066. t6.reload$1(url);
  52067. $async$self._recompileDownstream$1(A._setArrayType([_0_0], t8));
  52068. } else
  52069. $async$self._handleAdd$1(t11);
  52070. break;
  52071. case B.ChangeType_add:
  52072. $async$self._handleAdd$1($event.path);
  52073. break;
  52074. case B.ChangeType_remove:
  52075. $async$self._handleRemove$1($event.path);
  52076. break;
  52077. }
  52078. }
  52079. t10 = A.LinkedHashMap_LinkedHashMap(null, null, null, t4, t4);
  52080. t10.addAll$1(0, t3);
  52081. t1 = t10;
  52082. toRecompile = t1;
  52083. t3.clear$0(0);
  52084. $async$goto = 9;
  52085. return A._asyncAwait(A.compileStylesheets(t5, t6, toRecompile, true), $async$watch$1);
  52086. case 9:
  52087. // returning from await.
  52088. success = $async$result;
  52089. if (!success && A._asBool(t9.$index(0, "stop-on-error"))) {
  52090. $async$next = [1];
  52091. // goto finally
  52092. $async$goto = 4;
  52093. break;
  52094. }
  52095. // goto for condition
  52096. $async$goto = 6;
  52097. break;
  52098. case 7:
  52099. // after for
  52100. $async$next.push(5);
  52101. // goto finally
  52102. $async$goto = 4;
  52103. break;
  52104. case 3:
  52105. // uncaught
  52106. $async$next = [2];
  52107. case 4:
  52108. // finally
  52109. $async$handler = 2;
  52110. $async$goto = 10;
  52111. return A._asyncAwait(t2.cancel$0(), $async$watch$1);
  52112. case 10:
  52113. // returning from await.
  52114. // goto the next finally handler
  52115. $async$goto = $async$next.pop();
  52116. break;
  52117. case 5:
  52118. // after finally
  52119. case 1:
  52120. // return
  52121. return A._asyncReturn($async$returnValue, $async$completer);
  52122. case 2:
  52123. // rethrow
  52124. return A._asyncRethrow($async$errorStack.at(-1), $async$completer);
  52125. }
  52126. });
  52127. return A._asyncStartSync($async$watch$1, $async$completer);
  52128. },
  52129. _handleAdd$1(path) {
  52130. var t1, t2, t3, t0, _this = this, _null = null,
  52131. destination = _this._destinationFor$1(path);
  52132. if (destination != null)
  52133. _this._toRecompile.$indexSet(0, path, destination);
  52134. t1 = $.$get$FilesystemImporter_cwd();
  52135. t2 = A.isNodeJs() ? self.process : _null;
  52136. if (!J.$eq$(t2 == null ? _null : J.get$platform$x(t2), "win32")) {
  52137. t2 = A.isNodeJs() ? self.process : _null;
  52138. t2 = J.$eq$(t2 == null ? _null : J.get$platform$x(t2), "darwin");
  52139. } else
  52140. t2 = true;
  52141. if (t2) {
  52142. t2 = A.absolute(path, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null);
  52143. t3 = $.$get$context();
  52144. t2 = A._realCasePath(t3.normalize$1(t2));
  52145. } else {
  52146. t2 = $.$get$context();
  52147. t3 = t2.canonicalize$1(0, path);
  52148. t0 = t3;
  52149. t3 = t2;
  52150. t2 = t0;
  52151. }
  52152. _this._recompileDownstream$1(_this._graph.addCanonical$3(t1, t3.toUri$1(t2), t3.toUri$1(path)));
  52153. },
  52154. _handleRemove$1(path) {
  52155. return this._handleRemove$body$_Watcher(path);
  52156. },
  52157. _handleRemove$body$_Watcher(path) {
  52158. var $async$goto = 0,
  52159. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  52160. $async$self = this, t2, t0, url, _0_0, t1;
  52161. var $async$_handleRemove$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  52162. if ($async$errorCode === 1)
  52163. return A._asyncRethrow($async$result, $async$completer);
  52164. while (true)
  52165. switch ($async$goto) {
  52166. case 0:
  52167. // Function start
  52168. t1 = A.isNodeJs() ? self.process : null;
  52169. if (!J.$eq$(t1 == null ? null : J.get$platform$x(t1), "win32")) {
  52170. t1 = A.isNodeJs() ? self.process : null;
  52171. t1 = J.$eq$(t1 == null ? null : J.get$platform$x(t1), "darwin");
  52172. } else
  52173. t1 = true;
  52174. if (t1) {
  52175. t1 = A.absolute(path, null, null, null, null, null, null, null, null, null, null, null, null, null, null);
  52176. t2 = $.$get$context();
  52177. t1 = A._realCasePath(t2.normalize$1(t1));
  52178. } else {
  52179. t1 = $.$get$context();
  52180. t2 = t1.canonicalize$1(0, path);
  52181. t0 = t2;
  52182. t2 = t1;
  52183. t1 = t0;
  52184. }
  52185. url = t2.toUri$1(t1);
  52186. t1 = $async$self._graph;
  52187. if (t1._nodes.containsKey$1(url)) {
  52188. _0_0 = $async$self._destinationFor$1(path);
  52189. if (_0_0 != null)
  52190. $async$self._delete$1(_0_0);
  52191. }
  52192. $async$self._recompileDownstream$1(t1.remove$2(0, $.$get$FilesystemImporter_cwd(), url));
  52193. // implicit return
  52194. return A._asyncReturn(null, $async$completer);
  52195. }
  52196. });
  52197. return A._asyncStartSync($async$_handleRemove$1, $async$completer);
  52198. },
  52199. _debounceEvents$1(events) {
  52200. var t1 = type$.WatchEvent;
  52201. t1 = A.RateLimit__debounceAggregate(events, A.Duration$(0, 25), A.instantiate1(A.rate_limit___collect$closure(), t1), false, true, t1, type$.List_WatchEvent);
  52202. return new A._MapStream(new A._Watcher__debounceEvents_closure(), t1, A._instanceType(t1)._eval$1("_MapStream<Stream.T,List<WatchEvent>>"));
  52203. },
  52204. _recompileDownstream$1(nodes) {
  52205. var t1, t2, t3, t4, t5, t6, _i,
  52206. seen = A.LinkedHashSet_LinkedHashSet$_empty(type$.StylesheetNode);
  52207. for (t1 = type$.UnmodifiableSetView_StylesheetNode, t2 = this._toRecompile, t3 = type$.JSArray_StylesheetNode; t4 = J.getInterceptor$asx(nodes), t4.get$isNotEmpty(nodes); nodes = t4) {
  52208. t5 = A._setArrayType([], t3);
  52209. for (t4 = t4.get$iterator(nodes); t4.moveNext$0();) {
  52210. t6 = t4.get$current(t4);
  52211. if (seen.add$1(0, t6))
  52212. t5.push(t6);
  52213. }
  52214. t2.addAll$1(0, this._sourceEntrypointsToDestinations$1(t5));
  52215. t4 = A._setArrayType([], t3);
  52216. for (t6 = t5.length, _i = 0; _i < t5.length; t5.length === t6 || (0, A.throwConcurrentModificationError)(t5), ++_i)
  52217. B.JSArray_methods.addAll$1(t4, new A.UnmodifiableSetView0(t5[_i]._downstream, t1));
  52218. }
  52219. },
  52220. _sourceEntrypointsToDestinations$1(nodes) {
  52221. var _i, url, source, _0_0,
  52222. t1 = type$.String,
  52223. entrypoints = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
  52224. for (t1 = nodes.length, _i = 0; _i < nodes.length; nodes.length === t1 || (0, A.throwConcurrentModificationError)(nodes), ++_i) {
  52225. url = nodes[_i].canonicalUrl;
  52226. if (url.get$scheme() !== "file")
  52227. continue;
  52228. source = $.$get$context().style.pathFromUri$1(A._parseUri(url));
  52229. _0_0 = this._destinationFor$1(source);
  52230. if (_0_0 != null)
  52231. entrypoints.$indexSet(0, source, _0_0);
  52232. }
  52233. return entrypoints;
  52234. },
  52235. _destinationFor$1(source) {
  52236. var t2, _0_0, t3, sourceDir, destinationDir, destination,
  52237. t1 = this._watch$_options;
  52238. t1._ensureSources$0();
  52239. t2 = type$.String;
  52240. _0_0 = t1._sourcesToDestinations.cast$2$0(0, t2, t2).$index(0, source);
  52241. if (_0_0 != null)
  52242. return _0_0;
  52243. t3 = $.$get$context();
  52244. if (B.JSString_methods.startsWith$1(A.ParsedPath_ParsedPath$parse(source, t3.style).get$basename(), "_"))
  52245. return null;
  52246. t1._ensureSources$0();
  52247. t1 = t1.__ExecutableOptions__sourceDirectoriesToDestinations_F;
  52248. t1 === $ && A.throwUnnamedLateFieldNI();
  52249. t2 = A.MapExtensions_get_pairs(t1.cast$2$0(0, t2, t2), t2, t2);
  52250. t2 = t2.get$iterator(t2);
  52251. for (; t2.moveNext$0();) {
  52252. t1 = t2.get$current(t2);
  52253. sourceDir = t1._0;
  52254. destinationDir = t1._1;
  52255. if (t3._isWithinOrEquals$2(sourceDir, source) !== B._PathRelation_within)
  52256. continue;
  52257. destination = A.join(destinationDir, t3.withoutExtension$1(t3.relative$2$from(source, sourceDir)) + ".css", null);
  52258. if (t3._isWithinOrEquals$2(destination, source) !== B._PathRelation_equal)
  52259. return destination;
  52260. }
  52261. return null;
  52262. }
  52263. };
  52264. A._Watcher__debounceEvents_closure.prototype = {
  52265. call$1(buffer) {
  52266. var t3, t4, t5, oldType, newType, _1_1,
  52267. t1 = type$.ChangeType,
  52268. t2 = A.PathMap__create(null, t1);
  52269. for (t3 = J.get$iterator$ax(buffer); t3.moveNext$0();) {
  52270. t4 = t3.get$current(t3);
  52271. t5 = t4.path;
  52272. oldType = t2.$index(0, t5);
  52273. newType = t4.type;
  52274. $label0$0: {
  52275. if (oldType == null) {
  52276. t4 = newType;
  52277. break $label0$0;
  52278. }
  52279. if (B.ChangeType_remove === newType) {
  52280. t4 = B.ChangeType_remove;
  52281. break $label0$0;
  52282. }
  52283. if (B.ChangeType_add === oldType) {
  52284. t4 = B.ChangeType_add;
  52285. break $label0$0;
  52286. }
  52287. t4 = B.ChangeType_modify;
  52288. break $label0$0;
  52289. }
  52290. t2.$indexSet(0, t5, t4);
  52291. }
  52292. t3 = A._setArrayType([], type$.JSArray_WatchEvent);
  52293. 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();) {
  52294. t2 = t1.get$current(t1);
  52295. _1_1 = t2._0;
  52296. _1_1.toString;
  52297. t3.push(new A.WatchEvent(t2._1, _1_1));
  52298. }
  52299. return t3;
  52300. },
  52301. $signature: 323
  52302. };
  52303. A.EmptyExtensionStore.prototype = {
  52304. get$_extensions() {
  52305. return A.throwExpression(A.NoSuchMethodError_NoSuchMethodError$withInvocation(this, A.JSInvocationMirror$(B.Symbol__extensions, "get$_empty_extension_store$_extensions", 1, [], [], 0)));
  52306. },
  52307. get$_sourceSpecificity() {
  52308. return A.throwExpression(A.NoSuchMethodError_NoSuchMethodError$withInvocation(this, A.JSInvocationMirror$(B.Symbol__sourceSpecificity, "get$_empty_extension_store$_sourceSpecificity", 1, [], [], 0)));
  52309. },
  52310. get$isEmpty(_) {
  52311. return true;
  52312. },
  52313. get$simpleSelectors() {
  52314. return B.C_EmptyUnmodifiableSet;
  52315. },
  52316. extensionsWhereTarget$1(callback) {
  52317. return B.List_empty5;
  52318. },
  52319. addExtensions$1(extenders) {
  52320. throw A.wrapException(A.UnsupportedError$(string$.addExt));
  52321. },
  52322. clone$0() {
  52323. return B.Record2_EmptyExtensionStore_Map_empty;
  52324. },
  52325. $isExtensionStore: 1
  52326. };
  52327. A.Extension.prototype = {
  52328. toString$0(_) {
  52329. var t1 = this.extender.toString$0(0),
  52330. t2 = this.target.toString$0(0),
  52331. t3 = this.isOptional ? " !optional" : "";
  52332. return t1 + " {@extend " + t2 + t3 + "}";
  52333. }
  52334. };
  52335. A.Extender.prototype = {
  52336. assertCompatibleMediaContext$1(mediaContext) {
  52337. var expectedMediaContext,
  52338. extension = this._extension;
  52339. if (extension == null)
  52340. return;
  52341. expectedMediaContext = extension.mediaContext;
  52342. if (expectedMediaContext == null)
  52343. return;
  52344. if (mediaContext != null && B.C_ListEquality.equals$2(0, expectedMediaContext, mediaContext))
  52345. return;
  52346. throw A.wrapException(A.SassException$(string$.You_ma, extension.span, null));
  52347. },
  52348. toString$0(_) {
  52349. return A.serializeSelector(this.selector, true);
  52350. }
  52351. };
  52352. A.ExtensionStore.prototype = {
  52353. get$isEmpty(_) {
  52354. return this._extensions.__js_helper$_length === 0;
  52355. },
  52356. get$simpleSelectors() {
  52357. return new A.MapKeySet(this._selectors, type$.MapKeySet_SimpleSelector);
  52358. },
  52359. extensionsWhereTarget$1(callback) {
  52360. return new A._SyncStarIterable(this.extensionsWhereTarget$body$ExtensionStore(callback), type$._SyncStarIterable_Extension);
  52361. },
  52362. extensionsWhereTarget$body$ExtensionStore($async$callback) {
  52363. var $async$self = this;
  52364. return function() {
  52365. var callback = $async$callback;
  52366. var $async$goto = 0, $async$handler = 1, $async$errorStack = [], t1, t2, simple, sources, t3;
  52367. return function $async$extensionsWhereTarget$1($async$iterator, $async$errorCode, $async$result) {
  52368. if ($async$errorCode === 1) {
  52369. $async$errorStack.push($async$result);
  52370. $async$goto = $async$handler;
  52371. }
  52372. while (true)
  52373. switch ($async$goto) {
  52374. case 0:
  52375. // Function start
  52376. t1 = A.MapExtensions_get_pairs($async$self._extensions, type$.SimpleSelector, type$.Map_ComplexSelector_Extension), t1 = t1.get$iterator(t1);
  52377. case 2:
  52378. // for condition
  52379. if (!t1.moveNext$0()) {
  52380. // goto after for
  52381. $async$goto = 3;
  52382. break;
  52383. }
  52384. t2 = t1.get$current(t1);
  52385. simple = t2._0;
  52386. sources = t2._1;
  52387. if (!callback.call$1(simple)) {
  52388. // goto for condition
  52389. $async$goto = 2;
  52390. break;
  52391. }
  52392. t2 = sources.get$values(sources), t2 = t2.get$iterator(t2);
  52393. case 4:
  52394. // for condition
  52395. if (!t2.moveNext$0()) {
  52396. // goto after for
  52397. $async$goto = 5;
  52398. break;
  52399. }
  52400. t3 = t2.get$current(t2);
  52401. $async$goto = t3 instanceof A.MergedExtension ? 6 : 8;
  52402. break;
  52403. case 6:
  52404. // then
  52405. t3 = t3.unmerge$0();
  52406. $async$goto = 9;
  52407. return $async$iterator._yieldStar$1(new A.WhereIterable(t3, new A.ExtensionStore_extensionsWhereTarget_closure(), t3.$ti._eval$1("WhereIterable<Iterable.E>")));
  52408. case 9:
  52409. // after yield
  52410. // goto join
  52411. $async$goto = 7;
  52412. break;
  52413. case 8:
  52414. // else
  52415. $async$goto = !t3.isOptional ? 10 : 11;
  52416. break;
  52417. case 10:
  52418. // then
  52419. $async$goto = 12;
  52420. return $async$iterator._async$_current = t3, 1;
  52421. case 12:
  52422. // after yield
  52423. case 11:
  52424. // join
  52425. case 7:
  52426. // join
  52427. // goto for condition
  52428. $async$goto = 4;
  52429. break;
  52430. case 5:
  52431. // after for
  52432. // goto for condition
  52433. $async$goto = 2;
  52434. break;
  52435. case 3:
  52436. // after for
  52437. // implicit return
  52438. return 0;
  52439. case 1:
  52440. // rethrow
  52441. return $async$iterator._datum = $async$errorStack.at(-1), 3;
  52442. }
  52443. };
  52444. };
  52445. },
  52446. addSelector$2(selector, mediaContext) {
  52447. var originalSelector, error, stackTrace, t1, exception, t2, t3, t4, modifiableSelector, _this = this;
  52448. selector = selector;
  52449. originalSelector = selector;
  52450. if (!originalSelector.accept$1(B._IsInvisibleVisitor_true))
  52451. _this._originals.addAll$1(0, originalSelector.components);
  52452. t1 = _this._extensions;
  52453. if (t1.__js_helper$_length !== 0)
  52454. try {
  52455. selector = _this._extendList$3(originalSelector, t1, mediaContext);
  52456. } catch (exception) {
  52457. t1 = A.unwrapException(exception);
  52458. if (t1 instanceof A.SassException) {
  52459. error = t1;
  52460. stackTrace = A.getTraceFromException(exception);
  52461. t1 = error;
  52462. t2 = J.getInterceptor$z(t1);
  52463. t1 = A.SourceSpanException.prototype.get$span.call(t2, t1).message$1(0, "");
  52464. t2 = error._span_exception$_message;
  52465. t3 = error;
  52466. t4 = J.getInterceptor$z(t3);
  52467. t3 = A.SourceSpanException.prototype.get$span.call(t4, t3);
  52468. A.throwWithTrace(new A.SassException(B.Set_empty, "From " + t1 + "\n" + t2, t3), error, stackTrace);
  52469. } else
  52470. throw exception;
  52471. }
  52472. modifiableSelector = new A.ModifiableBox(selector, type$.ModifiableBox_SelectorList);
  52473. if (mediaContext != null)
  52474. _this._mediaContexts.$indexSet(0, modifiableSelector, mediaContext);
  52475. _this._registerSelector$2(selector, modifiableSelector);
  52476. return new A.Box(modifiableSelector, type$.Box_SelectorList);
  52477. },
  52478. _registerSelector$2(list, selector) {
  52479. var t1, t2, t3, t4, _i, t5, t6, _i0, t7, t8, _i1, simple, _0_2_isSet, _0_2, t9, selectorInPseudo;
  52480. for (t1 = list.components, t2 = t1.length, t3 = this._selectors, t4 = type$.SelectorList, _i = 0; _i < t2; ++_i)
  52481. for (t5 = t1[_i].components, t6 = t5.length, _i0 = 0; _i0 < t6; ++_i0)
  52482. for (t7 = t5[_i0].selector.components, t8 = t7.length, _i1 = 0; _i1 < t8; ++_i1) {
  52483. simple = t7[_i1];
  52484. t3.putIfAbsent$2(simple, new A.ExtensionStore__registerSelector_closure()).add$1(0, selector);
  52485. _0_2_isSet = simple instanceof A.PseudoSelector;
  52486. _0_2 = null;
  52487. if (_0_2_isSet) {
  52488. _0_2 = simple.selector;
  52489. t9 = _0_2;
  52490. t9 = t9 != null;
  52491. } else
  52492. t9 = false;
  52493. if (t9) {
  52494. selectorInPseudo = _0_2_isSet ? _0_2 : simple.selector;
  52495. this._registerSelector$2(selectorInPseudo == null ? t4._as(selectorInPseudo) : selectorInPseudo, selector);
  52496. }
  52497. }
  52498. },
  52499. addExtension$4(extender, target, extend, mediaContext) {
  52500. var t2, t3, t4, t5, t6, t7, t8, t9, t10, newExtensions, _i, complex, t11, extension, _0_0, t12, newExtensionsByTarget, additionalExtensions, _this = this,
  52501. selectors = _this._selectors.$index(0, target),
  52502. t1 = _this._extensionsByExtender,
  52503. existingExtensions = t1.$index(0, target),
  52504. sources = _this._extensions.putIfAbsent$2(target, new A.ExtensionStore_addExtension_closure());
  52505. 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) {
  52506. complex = t2[_i];
  52507. if (complex.accept$1(B.C__IsUselessVisitor))
  52508. continue;
  52509. complex.get$specificity();
  52510. t11 = new A.Extender(complex, false);
  52511. extension = t11._extension = new A.Extension(t11, target, mediaContext, t7, t6);
  52512. _0_0 = sources.$index(0, complex);
  52513. if (_0_0 != null) {
  52514. sources.$indexSet(0, complex, A.MergedExtension_merge(_0_0, extension));
  52515. continue;
  52516. }
  52517. sources.$indexSet(0, complex, extension);
  52518. for (t11 = new A._SyncStarIterator(_this._simpleSelectors$1(complex)._outerHelper()); t11.moveNext$0();) {
  52519. t12 = t11._async$_current;
  52520. J.add$1$ax(t1.putIfAbsent$2(t12, new A.ExtensionStore_addExtension_closure0()), extension);
  52521. t5.putIfAbsent$2(t12, new A.ExtensionStore_addExtension_closure1(complex));
  52522. }
  52523. if (!t4 || t8) {
  52524. if (newExtensions == null)
  52525. newExtensions = A.LinkedHashMap_LinkedHashMap$_empty(t9, t10);
  52526. newExtensions.$indexSet(0, complex, extension);
  52527. }
  52528. }
  52529. if (newExtensions == null)
  52530. return;
  52531. t1 = type$.SimpleSelector;
  52532. newExtensionsByTarget = A.LinkedHashMap_LinkedHashMap$_literal([target, newExtensions], t1, type$.Map_ComplexSelector_Extension);
  52533. if (t8) {
  52534. additionalExtensions = _this._extendExistingExtensions$2(existingExtensions, newExtensionsByTarget);
  52535. if (additionalExtensions != null)
  52536. A.mapAddAll2(newExtensionsByTarget, additionalExtensions, t1, t9, t10);
  52537. }
  52538. if (!t4)
  52539. _this._extendExistingSelectors$2(selectors, newExtensionsByTarget);
  52540. },
  52541. _simpleSelectors$1(complex) {
  52542. return new A._SyncStarIterable(this._simpleSelectors$body$ExtensionStore(complex), type$._SyncStarIterable_SimpleSelector);
  52543. },
  52544. _simpleSelectors$body$ExtensionStore($async$complex) {
  52545. var $async$self = this;
  52546. return function() {
  52547. var complex = $async$complex;
  52548. 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;
  52549. return function $async$_simpleSelectors$1($async$iterator, $async$errorCode, $async$result) {
  52550. if ($async$errorCode === 1) {
  52551. $async$errorStack.push($async$result);
  52552. $async$goto = $async$handler;
  52553. }
  52554. while (true)
  52555. switch ($async$goto) {
  52556. case 0:
  52557. // Function start
  52558. t1 = complex.components, t2 = t1.length, t3 = type$.SelectorList, _i = 0;
  52559. case 2:
  52560. // for condition
  52561. if (!(_i < t2)) {
  52562. // goto after for
  52563. $async$goto = 4;
  52564. break;
  52565. }
  52566. t4 = t1[_i].selector.components, t5 = t4.length, _i0 = 0;
  52567. case 5:
  52568. // for condition
  52569. if (!(_i0 < t5)) {
  52570. // goto after for
  52571. $async$goto = 7;
  52572. break;
  52573. }
  52574. simple = t4[_i0];
  52575. $async$goto = 8;
  52576. return $async$iterator._async$_current = simple, 1;
  52577. case 8:
  52578. // after yield
  52579. _0_2_isSet = simple instanceof A.PseudoSelector;
  52580. _0_2 = null;
  52581. if (_0_2_isSet) {
  52582. _0_2 = simple.selector;
  52583. t6 = _0_2;
  52584. t6 = t6 != null;
  52585. } else
  52586. t6 = false;
  52587. $async$goto = t6 ? 9 : 10;
  52588. break;
  52589. case 9:
  52590. // then
  52591. selector = _0_2_isSet ? _0_2 : simple.selector;
  52592. t6 = (selector == null ? t3._as(selector) : selector).components, t7 = t6.length, _i1 = 0;
  52593. case 11:
  52594. // for condition
  52595. if (!(_i1 < t7)) {
  52596. // goto after for
  52597. $async$goto = 13;
  52598. break;
  52599. }
  52600. $async$goto = 14;
  52601. return $async$iterator._yieldStar$1($async$self._simpleSelectors$1(t6[_i1]));
  52602. case 14:
  52603. // after yield
  52604. case 12:
  52605. // for update
  52606. ++_i1;
  52607. // goto for condition
  52608. $async$goto = 11;
  52609. break;
  52610. case 13:
  52611. // after for
  52612. case 10:
  52613. // join
  52614. case 6:
  52615. // for update
  52616. ++_i0;
  52617. // goto for condition
  52618. $async$goto = 5;
  52619. break;
  52620. case 7:
  52621. // after for
  52622. case 3:
  52623. // for update
  52624. ++_i;
  52625. // goto for condition
  52626. $async$goto = 2;
  52627. break;
  52628. case 4:
  52629. // after for
  52630. // implicit return
  52631. return 0;
  52632. case 1:
  52633. // rethrow
  52634. return $async$iterator._datum = $async$errorStack.at(-1), 3;
  52635. }
  52636. };
  52637. };
  52638. },
  52639. _extendExistingExtensions$2(extensions, newExtensions) {
  52640. 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;
  52641. 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) {
  52642. extension = t1[_i];
  52643. t7 = t6.$index(0, extension.target);
  52644. t7.toString;
  52645. selectors = null;
  52646. try {
  52647. selectors = this._extendComplex$3(extension.extender.selector, newExtensions, extension.mediaContext);
  52648. if (selectors == null)
  52649. continue;
  52650. } catch (exception) {
  52651. t8 = A.unwrapException(exception);
  52652. if (t8 instanceof A.SassException) {
  52653. error = t8;
  52654. stackTrace = A.getTraceFromException(exception);
  52655. A.throwWithTrace(error.withAdditionalSpan$2(extension.extender.selector.span, "target selector"), error, stackTrace);
  52656. } else
  52657. throw exception;
  52658. }
  52659. t8 = J.get$first$ax(selectors);
  52660. t9 = extension.extender.selector;
  52661. if (B.C_ListEquality.equals$2(0, t8.leadingCombinators, t9.leadingCombinators) && B.C_ListEquality.equals$2(0, t8.components, t9.components)) {
  52662. t8 = selectors;
  52663. t9 = A._arrayInstanceType(t8);
  52664. selectors0 = new A.SubListIterable(t8, 1, null, t9._eval$1("SubListIterable<1>"));
  52665. selectors0.SubListIterable$3(t8, 1, null, t9._precomputed1);
  52666. selectors = selectors0;
  52667. }
  52668. for (t8 = J.get$iterator$ax(selectors); t8.moveNext$0();) {
  52669. t9 = t8.get$current(t8);
  52670. t10 = extension;
  52671. t11 = t10.target;
  52672. t12 = t10.span;
  52673. t13 = t10.mediaContext;
  52674. t10 = t10.isOptional;
  52675. t9.get$specificity();
  52676. t14 = new A.Extender(t9, false);
  52677. withExtender = t14._extension = new A.Extension(t14, t11, t13, t10, t12);
  52678. _0_0 = t7.$index(0, t9);
  52679. if (_0_0 != null)
  52680. t7.$indexSet(0, t9, A.MergedExtension_merge(_0_0, withExtender));
  52681. else {
  52682. t7.$indexSet(0, t9, withExtender);
  52683. for (t10 = t9.components, t11 = t10.length, _i0 = 0; _i0 < t11; ++_i0)
  52684. for (t12 = t10[_i0].selector.components, t13 = t12.length, _i1 = 0; _i1 < t13; ++_i1)
  52685. J.add$1$ax(t3.putIfAbsent$2(t12[_i1], new A.ExtensionStore__extendExistingExtensions_closure()), withExtender);
  52686. if (newExtensions.containsKey$1(extension.target)) {
  52687. if (additionalExtensions == null)
  52688. additionalExtensions = A.LinkedHashMap_LinkedHashMap$_empty(t4, t5);
  52689. additionalExtensions.putIfAbsent$2(extension.target, new A.ExtensionStore__extendExistingExtensions_closure0()).$indexSet(0, t9, withExtender);
  52690. }
  52691. }
  52692. }
  52693. }
  52694. return additionalExtensions;
  52695. },
  52696. _extendExistingSelectors$2(selectors, newExtensions) {
  52697. var selector, error, stackTrace, t1, t2, oldValue, exception, t3, t4, t5, t6;
  52698. for (t1 = selectors.get$iterator(selectors), t2 = this._mediaContexts; t1.moveNext$0();) {
  52699. selector = t1.get$current(t1);
  52700. oldValue = selector.value;
  52701. try {
  52702. selector.value = this._extendList$3(selector.value, newExtensions, t2.$index(0, selector));
  52703. } catch (exception) {
  52704. t3 = A.unwrapException(exception);
  52705. if (t3 instanceof A.SassException) {
  52706. error = t3;
  52707. stackTrace = A.getTraceFromException(exception);
  52708. t3 = selector.value.span.message$1(0, "");
  52709. t4 = error._span_exception$_message;
  52710. t5 = error;
  52711. t6 = J.getInterceptor$z(t5);
  52712. t5 = A.SourceSpanException.prototype.get$span.call(t6, t5);
  52713. A.throwWithTrace(new A.SassException(B.Set_empty, "From " + t3 + "\n" + t4, t5), error, stackTrace);
  52714. } else
  52715. throw exception;
  52716. }
  52717. if (oldValue === selector.value)
  52718. continue;
  52719. this._registerSelector$2(selector.value, selector);
  52720. }
  52721. },
  52722. addExtensions$1(extensionStores) {
  52723. 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;
  52724. 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();) {
  52725. t12 = t1.get$current(t1);
  52726. if (t12.get$isEmpty(t12))
  52727. continue;
  52728. t11.addAll$1(0, t12.get$_sourceSpecificity());
  52729. for (t12 = A.MapExtensions_get_pairs(t12.get$_extensions(), t2, t3), t12 = t12.get$iterator(t12); t12.moveNext$0();) {
  52730. t13 = t12.get$current(t12);
  52731. target = t13._0;
  52732. newSources = t13._1;
  52733. if (target instanceof A.PlaceholderSelector) {
  52734. first = target.name.charCodeAt(0);
  52735. t13 = first === 45 || first === 95;
  52736. } else
  52737. t13 = false;
  52738. if (t13)
  52739. continue;
  52740. extensionsForTarget = t8.$index(0, target);
  52741. t13 = extensionsForTarget == null;
  52742. if (!t13) {
  52743. if (extensionsToExtend == null) {
  52744. extensionsToExtend = A._setArrayType([], t9);
  52745. t14 = extensionsToExtend;
  52746. } else
  52747. t14 = extensionsToExtend;
  52748. B.JSArray_methods.addAll$1(t14, extensionsForTarget);
  52749. }
  52750. selectorsForTarget = t7.$index(0, target);
  52751. t14 = selectorsForTarget != null;
  52752. if (t14) {
  52753. if (selectorsToExtend == null) {
  52754. selectorsToExtend = A.LinkedHashSet_LinkedHashSet$_empty(t10);
  52755. t15 = selectorsToExtend;
  52756. } else
  52757. t15 = selectorsToExtend;
  52758. t15.addAll$1(0, selectorsForTarget);
  52759. }
  52760. _2_0 = t4.$index(0, target);
  52761. if (_2_0 != null)
  52762. for (t15 = A.MapExtensions_get_pairs(newSources, t5, t6), t15 = t15.get$iterator(t15); t15.moveNext$0();) {
  52763. t16 = t15.get$current(t15);
  52764. extender = t16._0;
  52765. extension = t16._1;
  52766. if (_2_0.containsKey$1(extender)) {
  52767. t16 = _2_0.$index(0, extender);
  52768. extension = A.MergedExtension_merge(t16 == null ? t6._as(t16) : t16, extension);
  52769. _2_0.$indexSet(0, extender, extension);
  52770. } else
  52771. _2_0.$indexSet(0, extender, extension);
  52772. if (!t13 || t14) {
  52773. if (newExtensions == null) {
  52774. newExtensions = A.LinkedHashMap_LinkedHashMap$_empty(t2, t3);
  52775. t16 = newExtensions;
  52776. } else
  52777. t16 = newExtensions;
  52778. t16.putIfAbsent$2(target, new A.ExtensionStore_addExtensions_closure()).$indexSet(0, extender, extension);
  52779. }
  52780. }
  52781. else {
  52782. t15 = A.LinkedHashMap_LinkedHashMap(_null, _null, _null, t5, t6);
  52783. t15.addAll$1(0, newSources);
  52784. t4.$indexSet(0, target, t15);
  52785. if (!t13 || t14) {
  52786. if (newExtensions == null) {
  52787. newExtensions = A.LinkedHashMap_LinkedHashMap$_empty(t2, t3);
  52788. t13 = newExtensions;
  52789. } else
  52790. t13 = newExtensions;
  52791. t14 = A.LinkedHashMap_LinkedHashMap(_null, _null, _null, t5, t6);
  52792. t14.addAll$1(0, newSources);
  52793. t13.$indexSet(0, target, t14);
  52794. }
  52795. }
  52796. }
  52797. }
  52798. if (newExtensions != null) {
  52799. if (extensionsToExtend != null)
  52800. _this._extendExistingExtensions$2(extensionsToExtend, newExtensions);
  52801. if (selectorsToExtend != null)
  52802. _this._extendExistingSelectors$2(selectorsToExtend, newExtensions);
  52803. }
  52804. },
  52805. _extendList$3(list, extensions, mediaQueryContext) {
  52806. var t1, t2, t3, extended, i, complex, result, t4;
  52807. for (t1 = list.components, t2 = t1.length, t3 = type$.JSArray_ComplexSelector, extended = null, i = 0; i < t2; ++i) {
  52808. complex = t1[i];
  52809. result = this._extendComplex$3(complex, extensions, mediaQueryContext);
  52810. if (result == null) {
  52811. if (extended != null)
  52812. extended.push(complex);
  52813. } else {
  52814. if (extended == null)
  52815. if (i === 0)
  52816. extended = A._setArrayType([], t3);
  52817. else {
  52818. t4 = B.JSArray_methods.sublist$2(t1, 0, i);
  52819. extended = A._setArrayType(t4.slice(0), A._arrayInstanceType(t4));
  52820. }
  52821. B.JSArray_methods.addAll$1(extended, result);
  52822. }
  52823. }
  52824. if (extended == null)
  52825. return list;
  52826. t1 = this._originals;
  52827. return A.SelectorList$(this._trim$2(extended, t1.get$contains(t1)), list.span);
  52828. },
  52829. _extendList$2(list, extensions) {
  52830. return this._extendList$3(list, extensions, null);
  52831. },
  52832. _extendComplex$3(complex, extensions, mediaQueryContext) {
  52833. var isOriginal, t3, t4, t5, t6, t7, t8, t9, t10, extendedNotExpanded, i, component, extended, t11, t12, t13, t14, _box_0 = {},
  52834. t1 = complex.leadingCombinators,
  52835. t2 = t1.length;
  52836. if (t2 > 1)
  52837. return null;
  52838. isOriginal = this._originals.contains$1(0, complex);
  52839. 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) {
  52840. component = t3[i];
  52841. extended = this._extendCompound$4$inOriginal(component, extensions, mediaQueryContext, isOriginal);
  52842. if (extended == null) {
  52843. if (extendedNotExpanded != null)
  52844. extendedNotExpanded.push(A._setArrayType([A.ComplexSelector$(B.List_empty0, A._setArrayType([component], t10), t8, t6)], t9));
  52845. } else if (extendedNotExpanded != null)
  52846. extendedNotExpanded.push(extended);
  52847. else if (i !== 0) {
  52848. t11 = A._arrayInstanceType(t3);
  52849. t12 = new A.SubListIterable(t3, 0, i, t11._eval$1("SubListIterable<1>"));
  52850. t12.SubListIterable$3(t3, 0, i, t11._precomputed1);
  52851. extendedNotExpanded = A._setArrayType([A._setArrayType([A.ComplexSelector$(t1, t12, t8, t6)], t9), extended], t5);
  52852. } else if (t2)
  52853. extendedNotExpanded = A._setArrayType([extended], t5);
  52854. else {
  52855. t11 = A._setArrayType([], t9);
  52856. for (t12 = J.get$iterator$ax(extended); t12.moveNext$0();) {
  52857. t13 = t12.get$current(t12);
  52858. t14 = t13.leadingCombinators;
  52859. if (t14.length === 0 || B.C_ListEquality.equals$2(0, t1, t14)) {
  52860. t14 = t13.components;
  52861. t11.push(A.ComplexSelector$(t1, t14, t8, !t7 || t13.lineBreak));
  52862. }
  52863. }
  52864. extendedNotExpanded = A._setArrayType([t11], t5);
  52865. }
  52866. }
  52867. if (extendedNotExpanded == null)
  52868. return null;
  52869. _box_0.first = true;
  52870. t1 = type$.ComplexSelector;
  52871. t1 = J.expand$1$1$ax(A.paths(extendedNotExpanded, t1), new A.ExtensionStore__extendComplex_closure(_box_0, this, complex), t1);
  52872. t1 = A.List_List$_of(t1, t1.$ti._eval$1("Iterable.E"));
  52873. return t1;
  52874. },
  52875. _extendCompound$4$inOriginal(component, extensions, mediaQueryContext, inOriginal) {
  52876. 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,
  52877. t1 = _this._mode,
  52878. targetsUsed = t1 === B.ExtendMode_normal_normal || extensions.__js_helper$_length < 2 ? _null : A.LinkedHashSet_LinkedHashSet$_empty(type$.SimpleSelector),
  52879. t2 = component.selector,
  52880. simples = t2.components;
  52881. 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) {
  52882. simple = simples[i];
  52883. extended = _this._extendSimple$4(simple, extensions, mediaQueryContext, targetsUsed);
  52884. if (extended == null) {
  52885. if (options != null)
  52886. options.push(A._setArrayType([_this._extenderForSimple$1(simple)], t5));
  52887. } else {
  52888. if (options == null) {
  52889. options = A._setArrayType([], t4);
  52890. if (i !== 0) {
  52891. t12 = new A.SubListIterable(simples, 0, i, t8);
  52892. t12.SubListIterable$3(simples, 0, i, t9);
  52893. result = A.List_List$from(t12, false, t11);
  52894. result.$flags = 3;
  52895. t12 = result;
  52896. compound = new A.CompoundSelector(t12, t10);
  52897. if (t12.length === 0)
  52898. A.throwExpression(A.ArgumentError$("components may not be empty.", _null));
  52899. result = A.List_List$from(B.List_empty0, false, t6);
  52900. result.$flags = 3;
  52901. t12 = A.ComplexSelector$(B.List_empty0, A._setArrayType([new A.ComplexSelectorComponent(compound, result, t10)], t7), t10, false);
  52902. _this._sourceSpecificityFor$1(compound);
  52903. options.push(A._setArrayType([new A.Extender(t12, true)], t5));
  52904. }
  52905. }
  52906. B.JSArray_methods.addAll$1(options, extended);
  52907. }
  52908. }
  52909. if (options == null)
  52910. return _null;
  52911. if (targetsUsed != null && targetsUsed._collection$_length !== extensions.__js_helper$_length)
  52912. return _null;
  52913. if (options.length === 1) {
  52914. for (t1 = J.get$iterator$ax(options[0]), t2 = component.combinators, t3 = type$.JSArray_ComplexSelector, result = _null; t1.moveNext$0();) {
  52915. t4 = t1.get$current(t1);
  52916. t4.assertCompatibleMediaContext$1(mediaQueryContext);
  52917. complex = t4.selector.withAdditionalCombinators$1(t2);
  52918. if (complex.accept$1(B.C__IsUselessVisitor))
  52919. continue;
  52920. if (result == null)
  52921. result = A._setArrayType([], t3);
  52922. result.push(complex);
  52923. }
  52924. return result;
  52925. }
  52926. extenderPaths = A.paths(options, type$.Extender);
  52927. t3 = A._setArrayType([], type$.JSArray_ComplexSelector);
  52928. t1 = t1 === B.ExtendMode_replace_replace;
  52929. t4 = !t1;
  52930. if (t4)
  52931. 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));
  52932. t2 = J.skip$1$ax(extenderPaths, t1 ? 0 : 1);
  52933. t5 = t2.$ti;
  52934. t2 = new A.ListIterator(t2, t2.get$length(0), t5._eval$1("ListIterator<ListIterable.E>"));
  52935. t6 = component.combinators;
  52936. t5 = t5._eval$1("ListIterable.E");
  52937. for (; t2.moveNext$0();) {
  52938. t1 = t2.__internal$_current;
  52939. extended = _this._unifyExtenders$3(t1 == null ? t5._as(t1) : t1, mediaQueryContext, t10);
  52940. if (extended == null)
  52941. continue;
  52942. for (t1 = J.get$iterator$ax(extended); t1.moveNext$0();) {
  52943. withCombinators = t1.get$current(t1).withAdditionalCombinators$1(t6);
  52944. if (!withCombinators.accept$1(B.C__IsUselessVisitor))
  52945. t3.push(withCombinators);
  52946. }
  52947. }
  52948. isOriginal = new A.ExtensionStore__extendCompound_closure0();
  52949. return _this._trim$2(t3, inOriginal && t4 ? new A.ExtensionStore__extendCompound_closure1(B.JSArray_methods.get$first(t3)) : isOriginal);
  52950. },
  52951. _unifyExtenders$3(extenders, mediaQueryContext, span) {
  52952. var t1, t2, t3, originals, originalsLineBreak, t4, complexes, _null = null,
  52953. toUnify = A.QueueList$(_null, type$.ComplexSelector);
  52954. for (t1 = J.getInterceptor$ax(extenders), t2 = t1.get$iterator(extenders), t3 = type$.JSArray_SimpleSelector, originals = _null, originalsLineBreak = false; t2.moveNext$0();) {
  52955. t4 = t2.get$current(t2);
  52956. if (t4.isOriginal) {
  52957. if (originals == null)
  52958. originals = A._setArrayType([], t3);
  52959. t4 = t4.selector;
  52960. B.JSArray_methods.addAll$1(originals, B.JSArray_methods.get$last(t4.components).selector.components);
  52961. originalsLineBreak = originalsLineBreak || t4.lineBreak;
  52962. } else {
  52963. t4 = t4.selector;
  52964. if (t4.accept$1(B.C__IsUselessVisitor))
  52965. return _null;
  52966. else
  52967. toUnify._queue_list$_add$1(t4);
  52968. }
  52969. }
  52970. if (originals != null)
  52971. 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));
  52972. complexes = A.unifyComplex(toUnify, span);
  52973. if (complexes == null)
  52974. return _null;
  52975. for (t1 = t1.get$iterator(extenders); t1.moveNext$0();)
  52976. t1.get$current(t1).assertCompatibleMediaContext$1(mediaQueryContext);
  52977. return complexes;
  52978. },
  52979. _extendSimple$4(simple, extensions, mediaQueryContext, targetsUsed) {
  52980. var t2, _1_0,
  52981. t1 = new A.ExtensionStore__extendSimple_withoutPseudo(this, extensions, targetsUsed);
  52982. if (simple instanceof A.PseudoSelector)
  52983. t2 = simple.selector != null;
  52984. else
  52985. t2 = false;
  52986. if (t2) {
  52987. _1_0 = this._extendPseudo$3(simple, extensions, mediaQueryContext);
  52988. if (_1_0 != null)
  52989. return new A.MappedListIterable(_1_0, new A.ExtensionStore__extendSimple_closure(this, t1), A._arrayInstanceType(_1_0)._eval$1("MappedListIterable<1,List<Extender>>"));
  52990. }
  52991. return A.NullableExtension_andThen(t1.call$1(simple), new A.ExtensionStore__extendSimple_closure0());
  52992. },
  52993. _extenderForSimple$1(simple) {
  52994. var t1 = simple.span;
  52995. 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);
  52996. this._sourceSpecificity.$index(0, simple);
  52997. return new A.Extender(t1, true);
  52998. },
  52999. _extendPseudo$3(pseudo, extensions, mediaQueryContext) {
  53000. var extended, complexes, t1, result,
  53001. selector = pseudo.selector;
  53002. if (selector == null)
  53003. throw A.wrapException(A.ArgumentError$("Selector " + pseudo.toString$0(0) + " must have a selector argument.", null));
  53004. extended = this._extendList$3(selector, extensions, mediaQueryContext);
  53005. if (extended === selector)
  53006. return null;
  53007. complexes = extended.components;
  53008. t1 = pseudo.normalizedName === "not";
  53009. 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()))
  53010. complexes = new A.WhereIterable(complexes, new A.ExtensionStore__extendPseudo_closure1(), A._arrayInstanceType(complexes)._eval$1("WhereIterable<1>"));
  53011. complexes = J.expand$1$1$ax(complexes, new A.ExtensionStore__extendPseudo_closure2(pseudo), type$.ComplexSelector);
  53012. if (t1 && selector.components.length === 1) {
  53013. t1 = A.MappedIterable_MappedIterable(complexes, new A.ExtensionStore__extendPseudo_closure3(pseudo, selector), complexes.$ti._eval$1("Iterable.E"), type$.PseudoSelector);
  53014. result = A.List_List$_of(t1, A._instanceType(t1)._eval$1("Iterable.E"));
  53015. return result.length === 0 ? null : result;
  53016. } else
  53017. return A._setArrayType([pseudo.withSelector$1(A.SelectorList$(complexes, selector.span))], type$.JSArray_PseudoSelector);
  53018. },
  53019. _trim$2(selectors, isOriginal) {
  53020. var result, i, t1, t2, numOriginals, _box_0, complex1, j, t3, t4, _i, t5, maxSpecificity;
  53021. if (selectors.length > 100)
  53022. return selectors;
  53023. result = A.QueueList$(null, type$.ComplexSelector);
  53024. $label0$0:
  53025. for (i = selectors.length - 1, t1 = A._arrayInstanceType(selectors), t2 = t1._precomputed1, t1 = t1._eval$1("SubListIterable<1>"), numOriginals = 0; i >= 0; --i) {
  53026. _box_0 = {};
  53027. complex1 = selectors[i];
  53028. if (isOriginal.call$1(complex1)) {
  53029. for (j = 0; j < numOriginals; ++j)
  53030. if (result.$index(0, j).$eq(0, complex1)) {
  53031. A.rotateSlice(result, 0, j + 1);
  53032. continue $label0$0;
  53033. }
  53034. ++numOriginals;
  53035. result.addFirst$1(complex1);
  53036. continue $label0$0;
  53037. }
  53038. _box_0.maxSpecificity = 0;
  53039. for (t3 = complex1.components, t4 = t3.length, _i = 0, t5 = 0; _i < t4; ++_i, t5 = maxSpecificity) {
  53040. maxSpecificity = Math.max(t5, this._sourceSpecificityFor$1(t3[_i].selector));
  53041. _box_0.maxSpecificity = maxSpecificity;
  53042. }
  53043. if (result.any$1(result, new A.ExtensionStore__trim_closure(_box_0, complex1)))
  53044. continue $label0$0;
  53045. t3 = new A.SubListIterable(selectors, 0, i, t1);
  53046. t3.SubListIterable$3(selectors, 0, i, t2);
  53047. if (t3.any$1(0, new A.ExtensionStore__trim_closure0(_box_0, complex1)))
  53048. continue $label0$0;
  53049. result.addFirst$1(complex1);
  53050. }
  53051. return result;
  53052. },
  53053. _sourceSpecificityFor$1(compound) {
  53054. var t1, t2, t3, specificity, _i, t4;
  53055. for (t1 = compound.components, t2 = t1.length, t3 = this._sourceSpecificity, specificity = 0, _i = 0; _i < t2; ++_i) {
  53056. t4 = t3.$index(0, t1[_i]);
  53057. if (t4 == null)
  53058. t4 = 0;
  53059. specificity = Math.max(specificity, t4);
  53060. }
  53061. return specificity;
  53062. },
  53063. clone$0() {
  53064. var t2, t3, t4, _this = this,
  53065. t1 = type$.SimpleSelector,
  53066. newSelectors = A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.Set_ModifiableBox_SelectorList),
  53067. newMediaContexts = A.LinkedHashMap_LinkedHashMap$_empty(type$.ModifiableBox_SelectorList, type$.List_CssMediaQuery),
  53068. oldToNewSelectors = new A.JsIdentityLinkedHashMap(type$.JsIdentityLinkedHashMap_of_SelectorList_and_Box_SelectorList);
  53069. _this._selectors.forEach$1(0, new A.ExtensionStore_clone_closure(_this, newSelectors, oldToNewSelectors, newMediaContexts));
  53070. t2 = type$.Extension;
  53071. t3 = A.copyMapOfMap(_this._extensions, t1, type$.ComplexSelector, t2);
  53072. t2 = A.copyMapOfList(_this._extensionsByExtender, t1, t2);
  53073. t1 = new A.JsIdentityLinkedHashMap(type$.JsIdentityLinkedHashMap_SimpleSelector_int);
  53074. t1.addAll$1(0, _this._sourceSpecificity);
  53075. t4 = new A._LinkedIdentityHashSet(type$._LinkedIdentityHashSet_ComplexSelector);
  53076. t4.addAll$1(0, _this._originals);
  53077. return new A._Record_2(new A.ExtensionStore(newSelectors, t3, t2, newMediaContexts, t1, t4, B.ExtendMode_normal_normal), oldToNewSelectors);
  53078. },
  53079. get$_extensions() {
  53080. return this._extensions;
  53081. },
  53082. get$_sourceSpecificity() {
  53083. return this._sourceSpecificity;
  53084. }
  53085. };
  53086. A.ExtensionStore_extensionsWhereTarget_closure.prototype = {
  53087. call$1(extension) {
  53088. return !extension.isOptional;
  53089. },
  53090. $signature: 330
  53091. };
  53092. A.ExtensionStore__registerSelector_closure.prototype = {
  53093. call$0() {
  53094. return A.LinkedHashSet_LinkedHashSet$_empty(type$.ModifiableBox_SelectorList);
  53095. },
  53096. $signature: 334
  53097. };
  53098. A.ExtensionStore_addExtension_closure.prototype = {
  53099. call$0() {
  53100. return A.LinkedHashMap_LinkedHashMap$_empty(type$.ComplexSelector, type$.Extension);
  53101. },
  53102. $signature: 130
  53103. };
  53104. A.ExtensionStore_addExtension_closure0.prototype = {
  53105. call$0() {
  53106. return A._setArrayType([], type$.JSArray_Extension);
  53107. },
  53108. $signature: 212
  53109. };
  53110. A.ExtensionStore_addExtension_closure1.prototype = {
  53111. call$0() {
  53112. return this.complex.get$specificity();
  53113. },
  53114. $signature: 10
  53115. };
  53116. A.ExtensionStore__extendExistingExtensions_closure.prototype = {
  53117. call$0() {
  53118. return A._setArrayType([], type$.JSArray_Extension);
  53119. },
  53120. $signature: 212
  53121. };
  53122. A.ExtensionStore__extendExistingExtensions_closure0.prototype = {
  53123. call$0() {
  53124. return A.LinkedHashMap_LinkedHashMap$_empty(type$.ComplexSelector, type$.Extension);
  53125. },
  53126. $signature: 130
  53127. };
  53128. A.ExtensionStore_addExtensions_closure.prototype = {
  53129. call$0() {
  53130. return A.LinkedHashMap_LinkedHashMap$_empty(type$.ComplexSelector, type$.Extension);
  53131. },
  53132. $signature: 130
  53133. };
  53134. A.ExtensionStore__extendComplex_closure.prototype = {
  53135. call$1(path) {
  53136. var t1 = this.complex;
  53137. 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);
  53138. },
  53139. $signature: 341
  53140. };
  53141. A.ExtensionStore__extendComplex__closure.prototype = {
  53142. call$1(outputComplex) {
  53143. var _this = this,
  53144. t1 = _this._box_0;
  53145. if (t1.first && _this.$this._originals.contains$1(0, _this.complex))
  53146. _this.$this._originals.add$1(0, outputComplex);
  53147. t1.first = false;
  53148. return outputComplex;
  53149. },
  53150. $signature: 60
  53151. };
  53152. A.ExtensionStore__extendCompound_closure.prototype = {
  53153. call$1(extender) {
  53154. return B.JSArray_methods.get$last(extender.selector.components).selector.components;
  53155. },
  53156. $signature: 347
  53157. };
  53158. A.ExtensionStore__extendCompound_closure0.prototype = {
  53159. call$1(_) {
  53160. return false;
  53161. },
  53162. $signature: 19
  53163. };
  53164. A.ExtensionStore__extendCompound_closure1.prototype = {
  53165. call$1(complex) {
  53166. return complex.$eq(0, this.original);
  53167. },
  53168. $signature: 19
  53169. };
  53170. A.ExtensionStore__extendSimple_withoutPseudo.prototype = {
  53171. call$1(simple) {
  53172. var t1, t2,
  53173. extensionsForSimple = this.extensions.$index(0, simple);
  53174. if (extensionsForSimple == null)
  53175. return null;
  53176. t1 = this.targetsUsed;
  53177. if (t1 != null)
  53178. t1.add$1(0, simple);
  53179. t1 = A._setArrayType([], type$.JSArray_Extender);
  53180. t2 = this.$this;
  53181. if (t2._mode !== B.ExtendMode_replace_replace)
  53182. t1.push(t2._extenderForSimple$1(simple));
  53183. for (t2 = extensionsForSimple.get$values(extensionsForSimple), t2 = t2.get$iterator(t2); t2.moveNext$0();)
  53184. t1.push(t2.get$current(t2).extender);
  53185. return t1;
  53186. },
  53187. $signature: 348
  53188. };
  53189. A.ExtensionStore__extendSimple_closure.prototype = {
  53190. call$1(pseudo) {
  53191. var t1 = this.withoutPseudo.call$1(pseudo);
  53192. return t1 == null ? A._setArrayType([this.$this._extenderForSimple$1(pseudo)], type$.JSArray_Extender) : t1;
  53193. },
  53194. $signature: 349
  53195. };
  53196. A.ExtensionStore__extendSimple_closure0.prototype = {
  53197. call$1(result) {
  53198. return A._setArrayType([result], type$.JSArray_List_Extender);
  53199. },
  53200. $signature: 350
  53201. };
  53202. A.ExtensionStore__extendPseudo_closure.prototype = {
  53203. call$1(complex) {
  53204. return complex.components.length > 1;
  53205. },
  53206. $signature: 19
  53207. };
  53208. A.ExtensionStore__extendPseudo_closure0.prototype = {
  53209. call$1(complex) {
  53210. return complex.components.length === 1;
  53211. },
  53212. $signature: 19
  53213. };
  53214. A.ExtensionStore__extendPseudo_closure1.prototype = {
  53215. call$1(complex) {
  53216. return complex.components.length <= 1;
  53217. },
  53218. $signature: 19
  53219. };
  53220. A.ExtensionStore__extendPseudo_closure2.prototype = {
  53221. call$1(complex) {
  53222. var innerPseudo, innerSelector,
  53223. t1 = complex.get$singleCompound();
  53224. if (t1 == null)
  53225. innerPseudo = null;
  53226. else {
  53227. t1 = t1.components;
  53228. innerPseudo = t1.length === 1 ? B.JSArray_methods.get$first(t1) : null;
  53229. }
  53230. if (!(innerPseudo instanceof A.PseudoSelector))
  53231. return A._setArrayType([complex], type$.JSArray_ComplexSelector);
  53232. innerSelector = innerPseudo.selector;
  53233. if (innerSelector == null)
  53234. return A._setArrayType([complex], type$.JSArray_ComplexSelector);
  53235. t1 = this.pseudo;
  53236. switch (t1.normalizedName) {
  53237. case "not":
  53238. if (!B.Set_0egh6.contains$1(0, innerPseudo.normalizedName))
  53239. return A._setArrayType([], type$.JSArray_ComplexSelector);
  53240. return innerSelector.components;
  53241. case "is":
  53242. case "matches":
  53243. case "where":
  53244. case "any":
  53245. case "current":
  53246. case "nth-child":
  53247. case "nth-last-child":
  53248. if (innerPseudo.name !== t1.name)
  53249. return A._setArrayType([], type$.JSArray_ComplexSelector);
  53250. if (innerPseudo.argument != t1.argument)
  53251. return A._setArrayType([], type$.JSArray_ComplexSelector);
  53252. return innerSelector.components;
  53253. case "has":
  53254. case "host":
  53255. case "host-context":
  53256. case "slotted":
  53257. return A._setArrayType([complex], type$.JSArray_ComplexSelector);
  53258. default:
  53259. return A._setArrayType([], type$.JSArray_ComplexSelector);
  53260. }
  53261. },
  53262. $signature: 351
  53263. };
  53264. A.ExtensionStore__extendPseudo_closure3.prototype = {
  53265. call$1(complex) {
  53266. return this.pseudo.withSelector$1(A.SelectorList$(A._setArrayType([complex], type$.JSArray_ComplexSelector), this.selector.span));
  53267. },
  53268. $signature: 353
  53269. };
  53270. A.ExtensionStore__trim_closure.prototype = {
  53271. call$1(complex2) {
  53272. return complex2.get$specificity() >= this._box_0.maxSpecificity && complex2.isSuperselector$1(this.complex1);
  53273. },
  53274. $signature: 19
  53275. };
  53276. A.ExtensionStore__trim_closure0.prototype = {
  53277. call$1(complex2) {
  53278. return complex2.get$specificity() >= this._box_0.maxSpecificity && complex2.isSuperselector$1(this.complex1);
  53279. },
  53280. $signature: 19
  53281. };
  53282. A.ExtensionStore_clone_closure.prototype = {
  53283. call$2(simple, selectors) {
  53284. var t2, t3, t4, t5, t6, t7, newSelector, _0_0, _this = this,
  53285. t1 = type$.ModifiableBox_SelectorList,
  53286. newSelectorSet = A.LinkedHashSet_LinkedHashSet$_empty(t1);
  53287. _this.newSelectors.$indexSet(0, simple, newSelectorSet);
  53288. for (t2 = selectors.get$iterator(selectors), t3 = _this.oldToNewSelectors, t4 = type$.Box_SelectorList, t5 = _this.$this._mediaContexts, t6 = _this.newMediaContexts; t2.moveNext$0();) {
  53289. t7 = t2.get$current(t2);
  53290. newSelector = new A.ModifiableBox(t7.value, t1);
  53291. newSelectorSet.add$1(0, newSelector);
  53292. t3.$indexSet(0, t7.value, new A.Box(newSelector, t4));
  53293. _0_0 = t5.$index(0, t7);
  53294. if (_0_0 != null)
  53295. t6.$indexSet(0, newSelector, _0_0);
  53296. }
  53297. },
  53298. $signature: 354
  53299. };
  53300. A.unifyComplex_closure.prototype = {
  53301. call$1(complex) {
  53302. return complex.lineBreak;
  53303. },
  53304. $signature: 19
  53305. };
  53306. A._weaveParents_closure.prototype = {
  53307. call$2(group1, group2) {
  53308. var t1, unified;
  53309. if (B.C_ListEquality.equals$2(0, group1, group2))
  53310. return group1;
  53311. if (A._complexIsParentSuperselector(group1, group2))
  53312. return group2;
  53313. if (A._complexIsParentSuperselector(group2, group1))
  53314. return group1;
  53315. if (!A._mustUnify(group1, group2))
  53316. return null;
  53317. t1 = this.span;
  53318. 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);
  53319. if (unified == null)
  53320. t1 = null;
  53321. else {
  53322. t1 = A.IterableExtension_get_singleOrNull(unified);
  53323. t1 = t1 == null ? null : t1.components;
  53324. }
  53325. return t1;
  53326. },
  53327. $signature: 356
  53328. };
  53329. A._weaveParents_closure0.prototype = {
  53330. call$1(sequence) {
  53331. return A._complexIsParentSuperselector(sequence.get$first(sequence), this.group);
  53332. },
  53333. $signature: 211
  53334. };
  53335. A._weaveParents_closure1.prototype = {
  53336. call$1(sequence) {
  53337. return sequence.get$length(0) === 0;
  53338. },
  53339. $signature: 211
  53340. };
  53341. A._weaveParents_closure2.prototype = {
  53342. call$1(choice) {
  53343. return J.get$isNotEmpty$asx(choice);
  53344. },
  53345. $signature: 358
  53346. };
  53347. A._mustUnify_closure.prototype = {
  53348. call$1(component) {
  53349. return B.JSArray_methods.any$1(component.selector.components, new A._mustUnify__closure(this.uniqueSelectors));
  53350. },
  53351. $signature: 52
  53352. };
  53353. A._mustUnify__closure.prototype = {
  53354. call$1(simple) {
  53355. var t1;
  53356. if (!(simple instanceof A.IDSelector))
  53357. t1 = simple instanceof A.PseudoSelector && !simple.isClass;
  53358. else
  53359. t1 = true;
  53360. return t1 && this.uniqueSelectors.contains$1(0, simple);
  53361. },
  53362. $signature: 14
  53363. };
  53364. A.paths_closure.prototype = {
  53365. call$2(paths, choice) {
  53366. var t1 = this.T;
  53367. t1 = J.expand$1$1$ax(choice, new A.paths__closure(paths, t1), t1._eval$1("List<0>"));
  53368. t1 = A.List_List$_of(t1, t1.$ti._eval$1("Iterable.E"));
  53369. return t1;
  53370. },
  53371. $signature() {
  53372. return this.T._eval$1("List<List<0>>(List<List<0>>,List<0>)");
  53373. }
  53374. };
  53375. A.paths__closure.prototype = {
  53376. call$1(option) {
  53377. var t1 = this.T;
  53378. return J.map$1$1$ax(this.paths, new A.paths___closure(option, t1), t1._eval$1("List<0>"));
  53379. },
  53380. $signature() {
  53381. return this.T._eval$1("Iterable<List<0>>(0)");
  53382. }
  53383. };
  53384. A.paths___closure.prototype = {
  53385. call$1(path) {
  53386. var t1 = A.List_List$_of(path, this.T);
  53387. t1.push(this.option);
  53388. return t1;
  53389. },
  53390. $signature() {
  53391. return this.T._eval$1("List<0>(List<0>)");
  53392. }
  53393. };
  53394. A.listIsSuperselector_closure.prototype = {
  53395. call$1(complex1) {
  53396. return B.JSArray_methods.any$1(this.list1, new A.listIsSuperselector__closure(complex1));
  53397. },
  53398. $signature: 19
  53399. };
  53400. A.listIsSuperselector__closure.prototype = {
  53401. call$1(complex2) {
  53402. return complex2.isSuperselector$1(this.complex1);
  53403. },
  53404. $signature: 19
  53405. };
  53406. A.complexIsSuperselector_closure.prototype = {
  53407. call$1($parent) {
  53408. return $parent.combinators.length > 1;
  53409. },
  53410. $signature: 52
  53411. };
  53412. A.complexIsSuperselector_closure0.prototype = {
  53413. call$1(component) {
  53414. return A._isSupercombinator(this.combinator1, A.IterableExtension_get_firstOrNull(component.combinators));
  53415. },
  53416. $signature: 52
  53417. };
  53418. A._compatibleWithPreviousCombinator_closure.prototype = {
  53419. call$1(component) {
  53420. var t1 = component.combinators,
  53421. t2 = A.IterableExtension_get_firstOrNull(t1);
  53422. if (!J.$eq$(t2 == null ? null : t2.value, B.Combinator_55N)) {
  53423. t1 = A.IterableExtension_get_firstOrNull(t1);
  53424. t1 = J.$eq$(t1 == null ? null : t1.value, B.Combinator_bOP);
  53425. } else
  53426. t1 = true;
  53427. return t1;
  53428. },
  53429. $signature: 52
  53430. };
  53431. A.compoundIsSuperselector_closure.prototype = {
  53432. call$1(simple1) {
  53433. return B.JSArray_methods.any$1(this.compound2.components, simple1.get$isSuperselector());
  53434. },
  53435. $signature: 14
  53436. };
  53437. A._selectorPseudoIsSuperselector_closure.prototype = {
  53438. call$1(selector2) {
  53439. return A.listIsSuperselector(this.selector1.components, selector2.components);
  53440. },
  53441. $signature: 69
  53442. };
  53443. A._selectorPseudoIsSuperselector_closure0.prototype = {
  53444. call$1(complex1) {
  53445. var t1, t2;
  53446. if (complex1.leadingCombinators.length === 0) {
  53447. t1 = A._setArrayType([], type$.JSArray_ComplexSelectorComponent);
  53448. t2 = this.parents;
  53449. if (t2 != null)
  53450. B.JSArray_methods.addAll$1(t1, t2);
  53451. t2 = this.compound2;
  53452. t1.push(new A.ComplexSelectorComponent(t2, A.List_List$unmodifiable(B.List_empty0, type$.CssValue_Combinator), t2.span));
  53453. t1 = A.complexIsSuperselector(complex1.components, t1);
  53454. } else
  53455. t1 = false;
  53456. return t1;
  53457. },
  53458. $signature: 19
  53459. };
  53460. A._selectorPseudoIsSuperselector_closure1.prototype = {
  53461. call$1(selector2) {
  53462. return A.listIsSuperselector(this.selector1.components, selector2.components);
  53463. },
  53464. $signature: 69
  53465. };
  53466. A._selectorPseudoIsSuperselector_closure2.prototype = {
  53467. call$1(selector2) {
  53468. return A.listIsSuperselector(this.selector1.components, selector2.components);
  53469. },
  53470. $signature: 69
  53471. };
  53472. A._selectorPseudoIsSuperselector_closure3.prototype = {
  53473. call$1(complex) {
  53474. if (complex.accept$1(B._IsBogusVisitor_true))
  53475. return false;
  53476. return B.JSArray_methods.any$1(this.compound2.components, new A._selectorPseudoIsSuperselector__closure(complex, this.pseudo1));
  53477. },
  53478. $signature: 19
  53479. };
  53480. A._selectorPseudoIsSuperselector__closure.prototype = {
  53481. call$1(simple2) {
  53482. var t1, selector2, _0_4, _this = this;
  53483. $label0$1: {
  53484. if (simple2 instanceof A.TypeSelector) {
  53485. t1 = B.JSArray_methods.any$1(B.JSArray_methods.get$last(_this.complex.components).selector.components, new A._selectorPseudoIsSuperselector___closure(simple2));
  53486. break $label0$1;
  53487. }
  53488. if (simple2 instanceof A.IDSelector) {
  53489. t1 = B.JSArray_methods.any$1(B.JSArray_methods.get$last(_this.complex.components).selector.components, new A._selectorPseudoIsSuperselector___closure0(simple2));
  53490. break $label0$1;
  53491. }
  53492. selector2 = null;
  53493. t1 = false;
  53494. if (simple2 instanceof A.PseudoSelector) {
  53495. _0_4 = simple2.selector;
  53496. if (_0_4 != null) {
  53497. selector2 = _0_4 == null ? type$.SelectorList._as(_0_4) : _0_4;
  53498. t1 = simple2.name === _this.pseudo1.name;
  53499. }
  53500. }
  53501. if (t1) {
  53502. t1 = A.listIsSuperselector(selector2.components, A._setArrayType([_this.complex], type$.JSArray_ComplexSelector));
  53503. break $label0$1;
  53504. }
  53505. t1 = false;
  53506. break $label0$1;
  53507. }
  53508. return t1;
  53509. },
  53510. $signature: 14
  53511. };
  53512. A._selectorPseudoIsSuperselector___closure.prototype = {
  53513. call$1(simple1) {
  53514. var t1;
  53515. if (simple1 instanceof A.TypeSelector) {
  53516. t1 = this.simple2.name.$eq(0, simple1.name);
  53517. t1 = !t1;
  53518. } else
  53519. t1 = false;
  53520. return t1;
  53521. },
  53522. $signature: 14
  53523. };
  53524. A._selectorPseudoIsSuperselector___closure0.prototype = {
  53525. call$1(simple1) {
  53526. var t1;
  53527. if (simple1 instanceof A.IDSelector)
  53528. t1 = this.simple2.name !== simple1.name;
  53529. else
  53530. t1 = false;
  53531. return t1;
  53532. },
  53533. $signature: 14
  53534. };
  53535. A._selectorPseudoIsSuperselector_closure4.prototype = {
  53536. call$1(selector2) {
  53537. var t1 = B.C_ListEquality.equals$2(0, this.selector1.components, selector2.components);
  53538. return t1;
  53539. },
  53540. $signature: 69
  53541. };
  53542. A._selectorPseudoIsSuperselector_closure5.prototype = {
  53543. call$1(pseudo2) {
  53544. var t1, selector2;
  53545. if (!(pseudo2 instanceof A.PseudoSelector))
  53546. return false;
  53547. t1 = this.pseudo1;
  53548. if (pseudo2.name !== t1.name)
  53549. return false;
  53550. if (pseudo2.argument != t1.argument)
  53551. return false;
  53552. selector2 = pseudo2.selector;
  53553. if (selector2 == null)
  53554. return false;
  53555. return A.listIsSuperselector(this.selector1.components, selector2.components);
  53556. },
  53557. $signature: 14
  53558. };
  53559. A._selectorPseudoArgs_closure.prototype = {
  53560. call$1(pseudo) {
  53561. return pseudo.isClass === this.isClass && pseudo.name === this.name;
  53562. },
  53563. $signature: 369
  53564. };
  53565. A._selectorPseudoArgs_closure0.prototype = {
  53566. call$1(pseudo) {
  53567. return pseudo.selector;
  53568. },
  53569. $signature: 370
  53570. };
  53571. A.MergedExtension.prototype = {
  53572. unmerge$0() {
  53573. return new A._SyncStarIterable(this.unmerge$body$MergedExtension(), type$._SyncStarIterable_Extension);
  53574. },
  53575. unmerge$body$MergedExtension() {
  53576. var $async$self = this;
  53577. return function() {
  53578. var $async$goto = 0, $async$handler = 1, $async$errorStack = [], right, left;
  53579. return function $async$unmerge$0($async$iterator, $async$errorCode, $async$result) {
  53580. if ($async$errorCode === 1) {
  53581. $async$errorStack.push($async$result);
  53582. $async$goto = $async$handler;
  53583. }
  53584. while (true)
  53585. switch ($async$goto) {
  53586. case 0:
  53587. // Function start
  53588. left = $async$self.left;
  53589. $async$goto = left instanceof A.MergedExtension ? 2 : 4;
  53590. break;
  53591. case 2:
  53592. // then
  53593. $async$goto = 5;
  53594. return $async$iterator._yieldStar$1(left.unmerge$0());
  53595. case 5:
  53596. // after yield
  53597. // goto join
  53598. $async$goto = 3;
  53599. break;
  53600. case 4:
  53601. // else
  53602. $async$goto = 6;
  53603. return $async$iterator._async$_current = left, 1;
  53604. case 6:
  53605. // after yield
  53606. case 3:
  53607. // join
  53608. right = $async$self.right;
  53609. $async$goto = right instanceof A.MergedExtension ? 7 : 9;
  53610. break;
  53611. case 7:
  53612. // then
  53613. $async$goto = 10;
  53614. return $async$iterator._yieldStar$1(right.unmerge$0());
  53615. case 10:
  53616. // after yield
  53617. // goto join
  53618. $async$goto = 8;
  53619. break;
  53620. case 9:
  53621. // else
  53622. $async$goto = 11;
  53623. return $async$iterator._async$_current = right, 1;
  53624. case 11:
  53625. // after yield
  53626. case 8:
  53627. // join
  53628. // implicit return
  53629. return 0;
  53630. case 1:
  53631. // rethrow
  53632. return $async$iterator._datum = $async$errorStack.at(-1), 3;
  53633. }
  53634. };
  53635. };
  53636. }
  53637. };
  53638. A.ExtendMode.prototype = {
  53639. _enumToString$0() {
  53640. return "ExtendMode." + this._name;
  53641. },
  53642. toString$0(_) {
  53643. return this.name;
  53644. }
  53645. };
  53646. A.globalFunctions_closure.prototype = {
  53647. call$1($arguments) {
  53648. var t1 = J.getInterceptor$asx($arguments);
  53649. return t1.$index($arguments, 0).get$isTruthy() ? t1.$index($arguments, 1) : t1.$index($arguments, 2);
  53650. },
  53651. $signature: 4
  53652. };
  53653. A.global_closure0.prototype = {
  53654. call$1(color) {
  53655. return B.JSNumber_methods.round$0(color._legacyChannel$2(B.RgbColorSpace_i0P, "red"));
  53656. },
  53657. $signature: 65
  53658. };
  53659. A.global_closure1.prototype = {
  53660. call$1(color) {
  53661. return B.JSNumber_methods.round$0(color._legacyChannel$2(B.RgbColorSpace_i0P, "green"));
  53662. },
  53663. $signature: 65
  53664. };
  53665. A.global_closure2.prototype = {
  53666. call$1(color) {
  53667. return B.JSNumber_methods.round$0(color._legacyChannel$2(B.RgbColorSpace_i0P, "blue"));
  53668. },
  53669. $signature: 65
  53670. };
  53671. A.global_closure3.prototype = {
  53672. call$1($arguments) {
  53673. return A._rgb("rgb", $arguments);
  53674. },
  53675. $signature: 4
  53676. };
  53677. A.global_closure4.prototype = {
  53678. call$1($arguments) {
  53679. return A._rgb("rgb", $arguments);
  53680. },
  53681. $signature: 4
  53682. };
  53683. A.global_closure5.prototype = {
  53684. call$1($arguments) {
  53685. return A._rgbTwoArg("rgb", $arguments);
  53686. },
  53687. $signature: 4
  53688. };
  53689. A.global_closure6.prototype = {
  53690. call$1($arguments) {
  53691. return A._parseChannels("rgb", J.$index$asx($arguments, 0), "channels", B.RgbColorSpace_i0P);
  53692. },
  53693. $signature: 4
  53694. };
  53695. A.global_closure7.prototype = {
  53696. call$1($arguments) {
  53697. return A._rgb("rgba", $arguments);
  53698. },
  53699. $signature: 4
  53700. };
  53701. A.global_closure8.prototype = {
  53702. call$1($arguments) {
  53703. return A._rgb("rgba", $arguments);
  53704. },
  53705. $signature: 4
  53706. };
  53707. A.global_closure9.prototype = {
  53708. call$1($arguments) {
  53709. return A._rgbTwoArg("rgba", $arguments);
  53710. },
  53711. $signature: 4
  53712. };
  53713. A.global_closure10.prototype = {
  53714. call$1($arguments) {
  53715. return A._parseChannels("rgba", J.$index$asx($arguments, 0), "channels", B.RgbColorSpace_i0P);
  53716. },
  53717. $signature: 4
  53718. };
  53719. A.global_closure11.prototype = {
  53720. call$1($arguments) {
  53721. var t1 = J.getInterceptor$asx($arguments);
  53722. if (!(t1.$index($arguments, 0) instanceof A.SassNumber) && !t1.$index($arguments, 0).get$isSpecialNumber())
  53723. A.warnForDeprecation(string$.Globalci, B.Deprecation_1AX);
  53724. return A._invert($arguments, true);
  53725. },
  53726. $signature: 4
  53727. };
  53728. A.global_closure12.prototype = {
  53729. call$1(color) {
  53730. return color._legacyChannel$2(B.HslColorSpace_JQ2, "hue");
  53731. },
  53732. $signature: 49
  53733. };
  53734. A.global_closure13.prototype = {
  53735. call$1(color) {
  53736. return color._legacyChannel$2(B.HslColorSpace_JQ2, "saturation");
  53737. },
  53738. $signature: 49
  53739. };
  53740. A.global_closure14.prototype = {
  53741. call$1(color) {
  53742. return color._legacyChannel$2(B.HslColorSpace_JQ2, "lightness");
  53743. },
  53744. $signature: 49
  53745. };
  53746. A.global_closure15.prototype = {
  53747. call$1($arguments) {
  53748. return A._hsl("hsl", $arguments);
  53749. },
  53750. $signature: 4
  53751. };
  53752. A.global_closure16.prototype = {
  53753. call$1($arguments) {
  53754. return A._hsl("hsl", $arguments);
  53755. },
  53756. $signature: 4
  53757. };
  53758. A.global_closure17.prototype = {
  53759. call$1($arguments) {
  53760. var t1 = J.getInterceptor$asx($arguments);
  53761. if (t1.$index($arguments, 0).get$isVar() || t1.$index($arguments, 1).get$isVar())
  53762. return A._functionString("hsl", $arguments);
  53763. else
  53764. throw A.wrapException(A.SassScriptException$("Missing argument $lightness.", null));
  53765. },
  53766. $signature: 17
  53767. };
  53768. A.global_closure18.prototype = {
  53769. call$1($arguments) {
  53770. return A._parseChannels("hsl", J.$index$asx($arguments, 0), "channels", B.HslColorSpace_JQ2);
  53771. },
  53772. $signature: 4
  53773. };
  53774. A.global_closure19.prototype = {
  53775. call$1($arguments) {
  53776. return A._hsl("hsla", $arguments);
  53777. },
  53778. $signature: 4
  53779. };
  53780. A.global_closure20.prototype = {
  53781. call$1($arguments) {
  53782. return A._hsl("hsla", $arguments);
  53783. },
  53784. $signature: 4
  53785. };
  53786. A.global_closure21.prototype = {
  53787. call$1($arguments) {
  53788. var t1 = J.getInterceptor$asx($arguments);
  53789. if (t1.$index($arguments, 0).get$isVar() || t1.$index($arguments, 1).get$isVar())
  53790. return A._functionString("hsla", $arguments);
  53791. else
  53792. throw A.wrapException(A.SassScriptException$("Missing argument $lightness.", null));
  53793. },
  53794. $signature: 17
  53795. };
  53796. A.global_closure22.prototype = {
  53797. call$1($arguments) {
  53798. return A._parseChannels("hsla", J.$index$asx($arguments, 0), "channels", B.HslColorSpace_JQ2);
  53799. },
  53800. $signature: 4
  53801. };
  53802. A.global_closure23.prototype = {
  53803. call$1($arguments) {
  53804. var t1 = J.getInterceptor$asx($arguments);
  53805. if (t1.$index($arguments, 0) instanceof A.SassNumber || t1.$index($arguments, 0).get$isSpecialNumber())
  53806. return A._functionString("grayscale", $arguments);
  53807. else {
  53808. A.warnForDeprecation(string$.Globalcg, B.Deprecation_1AX);
  53809. return A._grayscale(t1.$index($arguments, 0));
  53810. }
  53811. },
  53812. $signature: 4
  53813. };
  53814. A.global_closure24.prototype = {
  53815. call$1($arguments) {
  53816. var t1 = J.getInterceptor$asx($arguments),
  53817. color = t1.$index($arguments, 0).assertColor$1("color"),
  53818. degrees = A._angleValue(t1.$index($arguments, 1), "degrees");
  53819. if (!color._space.get$isLegacyInternal())
  53820. throw A.wrapException(A.SassScriptException$(string$.adjusto, null));
  53821. A.warnForDeprecation(string$.adjustd + A.SassNumber_SassNumber(degrees, "deg").toString$0(0) + string$.x29x0a_Mor_, B.Deprecation_cyE);
  53822. return color.changeHsl$1$hue(color._legacyChannel$2(B.HslColorSpace_JQ2, "hue") + degrees);
  53823. },
  53824. $signature: 25
  53825. };
  53826. A.global_closure25.prototype = {
  53827. call$1($arguments) {
  53828. var result,
  53829. _s9_ = "lightness",
  53830. t1 = J.getInterceptor$asx($arguments),
  53831. color = t1.$index($arguments, 0).assertColor$1("color"),
  53832. amount = t1.$index($arguments, 1).assertNumber$1("amount");
  53833. if (!color._space.get$isLegacyInternal())
  53834. throw A.wrapException(A.SassScriptException$(string$.lighte, null));
  53835. t1 = color._legacyChannel$2(B.HslColorSpace_JQ2, _s9_) + amount.valueInRange$3(0, 100, "amount");
  53836. result = color.changeHsl$1$lightness(isNaN(t1) ? 0 : B.JSNumber_methods.clamp$2(t1, 0, 100));
  53837. A.warnForDeprecation("lighten() is deprecated. " + A._suggestScaleAndAdjust(color, amount._number$_value, _s9_) + string$.x0a_Morex3ac, B.Deprecation_cyE);
  53838. return result;
  53839. },
  53840. $signature: 25
  53841. };
  53842. A.global_closure26.prototype = {
  53843. call$1($arguments) {
  53844. var result,
  53845. _s9_ = "lightness",
  53846. t1 = J.getInterceptor$asx($arguments),
  53847. color = t1.$index($arguments, 0).assertColor$1("color"),
  53848. amount = t1.$index($arguments, 1).assertNumber$1("amount");
  53849. if (!color._space.get$isLegacyInternal())
  53850. throw A.wrapException(A.SassScriptException$(string$.darken, null));
  53851. t1 = color._legacyChannel$2(B.HslColorSpace_JQ2, _s9_) - amount.valueInRange$3(0, 100, "amount");
  53852. result = color.changeHsl$1$lightness(isNaN(t1) ? 0 : B.JSNumber_methods.clamp$2(t1, 0, 100));
  53853. A.warnForDeprecation("darken() is deprecated. " + A._suggestScaleAndAdjust(color, -amount._number$_value, _s9_) + string$.x0a_Morex3ac, B.Deprecation_cyE);
  53854. return result;
  53855. },
  53856. $signature: 25
  53857. };
  53858. A.global_closure27.prototype = {
  53859. call$1($arguments) {
  53860. var t1 = J.getInterceptor$asx($arguments);
  53861. if (t1.$index($arguments, 0) instanceof A.SassNumber || t1.$index($arguments, 0).get$isSpecialNumber())
  53862. return A._functionString("saturate", $arguments);
  53863. return new A.SassString("saturate(" + A.serializeValue(t1.$index($arguments, 0).assertNumber$1("amount"), false, true) + ")", false);
  53864. },
  53865. $signature: 17
  53866. };
  53867. A.global_closure28.prototype = {
  53868. call$1($arguments) {
  53869. var t1, color, amount, result,
  53870. _s10_ = "saturation";
  53871. A.warnForDeprecation(string$.Globalcad, B.Deprecation_1AX);
  53872. t1 = J.getInterceptor$asx($arguments);
  53873. color = t1.$index($arguments, 0).assertColor$1("color");
  53874. amount = t1.$index($arguments, 1).assertNumber$1("amount");
  53875. if (!color._space.get$isLegacyInternal())
  53876. throw A.wrapException(A.SassScriptException$(string$.satura, null));
  53877. t1 = color._legacyChannel$2(B.HslColorSpace_JQ2, _s10_) + amount.valueInRange$3(0, 100, "amount");
  53878. result = color.changeHsl$1$saturation(isNaN(t1) ? 0 : B.JSNumber_methods.clamp$2(t1, 0, 100));
  53879. A.warnForDeprecation("saturate() is deprecated. " + A._suggestScaleAndAdjust(color, amount._number$_value, _s10_) + string$.x0a_Morex3ac, B.Deprecation_cyE);
  53880. return result;
  53881. },
  53882. $signature: 25
  53883. };
  53884. A.global_closure29.prototype = {
  53885. call$1($arguments) {
  53886. var result,
  53887. _s10_ = "saturation",
  53888. t1 = J.getInterceptor$asx($arguments),
  53889. color = t1.$index($arguments, 0).assertColor$1("color"),
  53890. amount = t1.$index($arguments, 1).assertNumber$1("amount");
  53891. if (!color._space.get$isLegacyInternal())
  53892. throw A.wrapException(A.SassScriptException$(string$.desatu, null));
  53893. t1 = color._legacyChannel$2(B.HslColorSpace_JQ2, _s10_) - amount.valueInRange$3(0, 100, "amount");
  53894. result = color.changeHsl$1$saturation(isNaN(t1) ? 0 : B.JSNumber_methods.clamp$2(t1, 0, 100));
  53895. A.warnForDeprecation("desaturate() is deprecated. " + A._suggestScaleAndAdjust(color, -amount._number$_value, _s10_) + string$.x0a_Morex3ac, B.Deprecation_cyE);
  53896. return result;
  53897. },
  53898. $signature: 25
  53899. };
  53900. A.global_closure30.prototype = {
  53901. call$1($arguments) {
  53902. return A._opacify("opacify", $arguments);
  53903. },
  53904. $signature: 25
  53905. };
  53906. A.global_closure31.prototype = {
  53907. call$1($arguments) {
  53908. return A._opacify("fade-in", $arguments);
  53909. },
  53910. $signature: 25
  53911. };
  53912. A.global_closure32.prototype = {
  53913. call$1($arguments) {
  53914. return A._transparentize("transparentize", $arguments);
  53915. },
  53916. $signature: 25
  53917. };
  53918. A.global_closure33.prototype = {
  53919. call$1($arguments) {
  53920. return A._transparentize("fade-out", $arguments);
  53921. },
  53922. $signature: 25
  53923. };
  53924. A.global_closure34.prototype = {
  53925. call$1($arguments) {
  53926. var _0_0 = J.$index$asx($arguments, 0),
  53927. t1 = false;
  53928. if (_0_0 instanceof A.SassString)
  53929. if (!_0_0._hasQuotes)
  53930. t1 = B.JSString_methods.contains$1(_0_0._string$_text, $.$get$_microsoftFilterStart());
  53931. if (t1)
  53932. return A._functionString("alpha", $arguments);
  53933. if (_0_0 instanceof A.SassColor && !_0_0._space.get$isLegacyInternal())
  53934. throw A.wrapException(A.SassScriptException$(string$.alpha_, null));
  53935. A.warnForDeprecation(string$.Globalcal, B.Deprecation_1AX);
  53936. t1 = _0_0.assertColor$1("color").alphaOrNull;
  53937. return A.SassNumber_SassNumber(t1 == null ? 0 : t1, null);
  53938. },
  53939. $signature: 4
  53940. };
  53941. A.global_closure35.prototype = {
  53942. call$1($arguments) {
  53943. var t1,
  53944. argList = J.$index$asx($arguments, 0).get$asList();
  53945. if (argList.length !== 0 && B.JSArray_methods.every$1(argList, new A.global__closure()))
  53946. return A._functionString("alpha", $arguments);
  53947. t1 = argList.length;
  53948. if (t1 === 0)
  53949. throw A.wrapException(A.SassScriptException$("Missing argument $color.", null));
  53950. else
  53951. throw A.wrapException(A.SassScriptException$("Only 1 argument allowed, but " + t1 + " were passed.", null));
  53952. },
  53953. $signature: 17
  53954. };
  53955. A.global__closure.prototype = {
  53956. call$1(argument) {
  53957. return argument instanceof A.SassString && !argument._hasQuotes && B.JSString_methods.contains$1(argument._string$_text, $.$get$_microsoftFilterStart());
  53958. },
  53959. $signature: 67
  53960. };
  53961. A.global_closure36.prototype = {
  53962. call$1($arguments) {
  53963. var t1 = J.getInterceptor$asx($arguments);
  53964. if (t1.$index($arguments, 0) instanceof A.SassNumber || t1.$index($arguments, 0).get$isSpecialNumber())
  53965. return A._functionString("opacity", $arguments);
  53966. A.warnForDeprecation(string$.Globalco, B.Deprecation_1AX);
  53967. t1 = t1.$index($arguments, 0).assertColor$1("color").alphaOrNull;
  53968. return A.SassNumber_SassNumber(t1 == null ? 0 : t1, null);
  53969. },
  53970. $signature: 4
  53971. };
  53972. A.global_closure37.prototype = {
  53973. call$1($arguments) {
  53974. return A._parseChannels("color", J.$index$asx($arguments, 0), "description", null);
  53975. },
  53976. $signature: 4
  53977. };
  53978. A.global_closure38.prototype = {
  53979. call$1($arguments) {
  53980. return A._parseChannels("hwb", J.$index$asx($arguments, 0), "channels", B.HwbColorSpace_guQ);
  53981. },
  53982. $signature: 4
  53983. };
  53984. A.global_closure39.prototype = {
  53985. call$1($arguments) {
  53986. return A._parseChannels("lab", J.$index$asx($arguments, 0), "channels", B.LabColorSpace_2nT);
  53987. },
  53988. $signature: 4
  53989. };
  53990. A.global_closure40.prototype = {
  53991. call$1($arguments) {
  53992. return A._parseChannels("lch", J.$index$asx($arguments, 0), "channels", B.LchColorSpace_Bpv);
  53993. },
  53994. $signature: 4
  53995. };
  53996. A.global_closure41.prototype = {
  53997. call$1($arguments) {
  53998. return A._parseChannels("oklab", J.$index$asx($arguments, 0), "channels", B.OklabColorSpace_540);
  53999. },
  54000. $signature: 4
  54001. };
  54002. A.global_closure42.prototype = {
  54003. call$1($arguments) {
  54004. return A._parseChannels("oklch", J.$index$asx($arguments, 0), "channels", B.OklchColorSpace_9Gj);
  54005. },
  54006. $signature: 4
  54007. };
  54008. A.module_closure1.prototype = {
  54009. call$1(color) {
  54010. return B.JSNumber_methods.round$0(color._legacyChannel$2(B.RgbColorSpace_i0P, "red"));
  54011. },
  54012. $signature: 65
  54013. };
  54014. A.module_closure2.prototype = {
  54015. call$1(color) {
  54016. return B.JSNumber_methods.round$0(color._legacyChannel$2(B.RgbColorSpace_i0P, "green"));
  54017. },
  54018. $signature: 65
  54019. };
  54020. A.module_closure3.prototype = {
  54021. call$1(color) {
  54022. return B.JSNumber_methods.round$0(color._legacyChannel$2(B.RgbColorSpace_i0P, "blue"));
  54023. },
  54024. $signature: 65
  54025. };
  54026. A.module_closure4.prototype = {
  54027. call$1($arguments) {
  54028. var result = A._invert($arguments, false);
  54029. if (result instanceof A.SassString)
  54030. A.warnForDeprecation("Passing a number (" + J.$index$asx($arguments, 0).toString$0(0) + string$.x29x20to_cli + result.toString$0(0), B.Deprecation_u0j);
  54031. return result;
  54032. },
  54033. $signature: 4
  54034. };
  54035. A.module_closure5.prototype = {
  54036. call$1(color) {
  54037. return color._legacyChannel$2(B.HslColorSpace_JQ2, "hue");
  54038. },
  54039. $signature: 49
  54040. };
  54041. A.module_closure6.prototype = {
  54042. call$1(color) {
  54043. return color._legacyChannel$2(B.HslColorSpace_JQ2, "saturation");
  54044. },
  54045. $signature: 49
  54046. };
  54047. A.module_closure7.prototype = {
  54048. call$1(color) {
  54049. return color._legacyChannel$2(B.HslColorSpace_JQ2, "lightness");
  54050. },
  54051. $signature: 49
  54052. };
  54053. A.module_closure8.prototype = {
  54054. call$1($arguments) {
  54055. var result,
  54056. t1 = J.getInterceptor$asx($arguments);
  54057. if (t1.$index($arguments, 0) instanceof A.SassNumber) {
  54058. result = A._functionString("grayscale", t1.take$1($arguments, 1));
  54059. A.warnForDeprecation("Passing a number (" + t1.$index($arguments, 0).toString$0(0) + string$.x29x20to_clg + result.toString$0(0), B.Deprecation_u0j);
  54060. return result;
  54061. }
  54062. return A._grayscale(t1.$index($arguments, 0));
  54063. },
  54064. $signature: 4
  54065. };
  54066. A.module_closure9.prototype = {
  54067. call$1($arguments) {
  54068. var t1 = J.getInterceptor$asx($arguments),
  54069. t2 = type$.JSArray_Value;
  54070. 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);
  54071. },
  54072. $signature: 4
  54073. };
  54074. A.module_closure10.prototype = {
  54075. call$1($arguments) {
  54076. return A._parseChannels("hwb", J.$index$asx($arguments, 0), "channels", B.HwbColorSpace_guQ);
  54077. },
  54078. $signature: 4
  54079. };
  54080. A.module_closure11.prototype = {
  54081. call$1(color) {
  54082. return color._legacyChannel$2(B.HwbColorSpace_guQ, "whiteness");
  54083. },
  54084. $signature: 49
  54085. };
  54086. A.module_closure12.prototype = {
  54087. call$1(color) {
  54088. return color._legacyChannel$2(B.HwbColorSpace_guQ, "blackness");
  54089. },
  54090. $signature: 49
  54091. };
  54092. A.module_closure13.prototype = {
  54093. call$1($arguments) {
  54094. var result,
  54095. _0_0 = J.$index$asx($arguments, 0),
  54096. t1 = false;
  54097. if (_0_0 instanceof A.SassString)
  54098. if (!_0_0._hasQuotes)
  54099. t1 = B.JSString_methods.contains$1(_0_0._string$_text, $.$get$_microsoftFilterStart());
  54100. if (t1) {
  54101. result = A._functionString("alpha", $arguments);
  54102. A.warnForDeprecation(string$.Using_c + result.toString$0(0), B.Deprecation_u0j);
  54103. return result;
  54104. }
  54105. if (_0_0 instanceof A.SassColor && !_0_0._space.get$isLegacyInternal())
  54106. throw A.wrapException(A.SassScriptException$(string$.color_a, null));
  54107. t1 = _0_0.assertColor$1("color").alphaOrNull;
  54108. return A.SassNumber_SassNumber(t1 == null ? 0 : t1, null);
  54109. },
  54110. $signature: 4
  54111. };
  54112. A.module_closure14.prototype = {
  54113. call$1($arguments) {
  54114. var result,
  54115. t1 = J.getInterceptor$asx($arguments);
  54116. if (B.JSArray_methods.every$1(t1.$index($arguments, 0).get$asList(), new A.module__closure2())) {
  54117. result = A._functionString("alpha", $arguments);
  54118. A.warnForDeprecation(string$.Using_c + result.toString$0(0), B.Deprecation_u0j);
  54119. return result;
  54120. }
  54121. throw A.wrapException(A.SassScriptException$("Only 1 argument allowed, but " + t1.get$length($arguments) + " were passed.", null));
  54122. },
  54123. $signature: 17
  54124. };
  54125. A.module__closure2.prototype = {
  54126. call$1(argument) {
  54127. return argument instanceof A.SassString && !argument._hasQuotes && B.JSString_methods.contains$1(argument._string$_text, $.$get$_microsoftFilterStart());
  54128. },
  54129. $signature: 67
  54130. };
  54131. A.module_closure15.prototype = {
  54132. call$1($arguments) {
  54133. var result,
  54134. t1 = J.getInterceptor$asx($arguments);
  54135. if (t1.$index($arguments, 0) instanceof A.SassNumber) {
  54136. result = A._functionString("opacity", $arguments);
  54137. A.warnForDeprecation("Passing a number (" + t1.$index($arguments, 0).toString$0(0) + string$.x20to_co + result.toString$0(0), B.Deprecation_u0j);
  54138. return result;
  54139. }
  54140. t1 = t1.$index($arguments, 0).assertColor$1("color").alphaOrNull;
  54141. return A.SassNumber_SassNumber(t1 == null ? 0 : t1, null);
  54142. },
  54143. $signature: 4
  54144. };
  54145. A.module_closure16.prototype = {
  54146. call$1($arguments) {
  54147. return new A.SassString(J.get$first$ax($arguments).assertColor$1("color")._space.name, false);
  54148. },
  54149. $signature: 17
  54150. };
  54151. A.module_closure17.prototype = {
  54152. call$1($arguments) {
  54153. var t1 = J.getInterceptor$asx($arguments);
  54154. return A._colorInSpace(t1.$index($arguments, 0), t1.$index($arguments, 1), false);
  54155. },
  54156. $signature: 25
  54157. };
  54158. A.module_closure18.prototype = {
  54159. call$1($arguments) {
  54160. return J.$index$asx($arguments, 0).assertColor$1("color")._space.get$isLegacyInternal() ? B.SassBoolean_true : B.SassBoolean_false;
  54161. },
  54162. $signature: 12
  54163. };
  54164. A.module_closure19.prototype = {
  54165. call$1($arguments) {
  54166. var t1 = J.getInterceptor$asx($arguments);
  54167. 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;
  54168. },
  54169. $signature: 12
  54170. };
  54171. A.module_closure20.prototype = {
  54172. call$1($arguments) {
  54173. var t1 = J.getInterceptor$asx($arguments);
  54174. return A._colorInSpace(t1.$index($arguments, 0), t1.$index($arguments, 1), true).get$isInGamut() ? B.SassBoolean_true : B.SassBoolean_false;
  54175. },
  54176. $signature: 12
  54177. };
  54178. A.module_closure21.prototype = {
  54179. call$1($arguments) {
  54180. var space, method, _s5_ = "space", _s6_ = "method",
  54181. t1 = J.getInterceptor$asx($arguments),
  54182. color = t1.$index($arguments, 0).assertColor$1("color"),
  54183. t2 = t1.$index($arguments, 1);
  54184. if (t2.$eq(0, B.C__SassNull))
  54185. space = color._space;
  54186. else {
  54187. t2 = t2.assertString$1(_s5_);
  54188. t2.assertUnquoted$1(_s5_);
  54189. space = A.ColorSpace_fromName(t2._string$_text, _s5_);
  54190. }
  54191. if (t1.$index($arguments, 2).$eq(0, B.C__SassNull))
  54192. throw A.wrapException(A.SassScriptException$(string$.color_t, _s6_));
  54193. t1 = t1.$index($arguments, 2).assertString$1(_s6_);
  54194. t1.assertUnquoted$1(_s6_);
  54195. method = A.GamutMapMethod_GamutMapMethod$fromName(t1._string$_text);
  54196. if (!space.get$isBoundedInternal())
  54197. return color;
  54198. t1 = color.toSpace$1(space);
  54199. t1 = t1.get$isInGamut() ? t1 : method.map$1(0, t1);
  54200. return t1.toSpace$2$legacyMissing(color._space, false);
  54201. },
  54202. $signature: 25
  54203. };
  54204. A.module_closure22.prototype = {
  54205. call$1($arguments) {
  54206. var channelIndex, channelInfo, channelValue, unit,
  54207. t1 = J.getInterceptor$asx($arguments),
  54208. color = A._colorInSpace(t1.$index($arguments, 0), t1.$index($arguments, 2), true),
  54209. channelName = A._channelName(t1.$index($arguments, 1));
  54210. if (channelName === "alpha") {
  54211. t1 = color.alphaOrNull;
  54212. return A.SassNumber_SassNumber(t1 == null ? 0 : t1, null);
  54213. }
  54214. t1 = color._space._channels;
  54215. channelIndex = B.JSArray_methods.indexWhere$1(t1, new A.module__closure1(channelName));
  54216. if (channelIndex === -1)
  54217. throw A.wrapException(A.SassScriptException$("Color " + color.toString$0(0) + " has no channel named " + channelName + ".", "channel"));
  54218. channelInfo = t1[channelIndex];
  54219. channelValue = color.get$channels()[channelIndex];
  54220. unit = channelInfo.associatedUnit;
  54221. return A.SassNumber_SassNumber(unit === "%" ? channelValue * 100 / type$.LinearChannel._as(channelInfo).max : channelValue, unit);
  54222. },
  54223. $signature: 22
  54224. };
  54225. A.module__closure1.prototype = {
  54226. call$1(channel) {
  54227. return channel.name === this.channelName;
  54228. },
  54229. $signature: 108
  54230. };
  54231. A.module_closure23.prototype = {
  54232. call$1($arguments) {
  54233. var t2, t3,
  54234. t1 = J.getInterceptor$asx($arguments),
  54235. color1 = t1.$index($arguments, 0).assertColor$1("color1"),
  54236. color2 = t1.$index($arguments, 1).assertColor$1("color2");
  54237. t1 = new A.module_closure_toXyzNoMissing();
  54238. if (color1._space === color2._space) {
  54239. t1 = color1.channel0OrNull;
  54240. t2 = false;
  54241. if (t1 == null)
  54242. t1 = 0;
  54243. t3 = color2.channel0OrNull;
  54244. if (A.fuzzyEquals(t1, t3 == null ? 0 : t3)) {
  54245. t1 = color1.channel1OrNull;
  54246. if (t1 == null)
  54247. t1 = 0;
  54248. t3 = color2.channel1OrNull;
  54249. if (A.fuzzyEquals(t1, t3 == null ? 0 : t3)) {
  54250. t1 = color1.channel2OrNull;
  54251. if (t1 == null)
  54252. t1 = 0;
  54253. t3 = color2.channel2OrNull;
  54254. if (A.fuzzyEquals(t1, t3 == null ? 0 : t3)) {
  54255. t1 = color1.alphaOrNull;
  54256. if (t1 == null)
  54257. t1 = 0;
  54258. t2 = color2.alphaOrNull;
  54259. t1 = A.fuzzyEquals(t1, t2 == null ? 0 : t2);
  54260. } else
  54261. t1 = t2;
  54262. } else
  54263. t1 = t2;
  54264. } else
  54265. t1 = t2;
  54266. } else
  54267. t1 = J.$eq$(t1.call$1(color1), t1.call$1(color2));
  54268. return t1 ? B.SassBoolean_true : B.SassBoolean_false;
  54269. },
  54270. $signature: 12
  54271. };
  54272. A.module_closure_toXyzNoMissing.prototype = {
  54273. call$1(color) {
  54274. var _1_1, _1_3, t1, _1_7, channel0, _1_8, channel1, _1_9, channel2, _1_10, alpha;
  54275. $label0$0: {
  54276. _1_1 = color._space;
  54277. _1_3 = B.XyzD65ColorSpace_WiJ === _1_1;
  54278. t1 = _1_3;
  54279. if (t1)
  54280. t1 = !(color.channel0OrNull == null || color.channel1OrNull == null || color.channel2OrNull == null || color.alphaOrNull == null);
  54281. else
  54282. t1 = false;
  54283. if (t1) {
  54284. t1 = color;
  54285. break $label0$0;
  54286. }
  54287. if (_1_3) {
  54288. _1_7 = color.channel0OrNull;
  54289. if (_1_7 == null)
  54290. _1_7 = 0;
  54291. channel0 = _1_7;
  54292. _1_8 = color.channel1OrNull;
  54293. if (_1_8 == null)
  54294. _1_8 = 0;
  54295. channel1 = _1_8;
  54296. _1_9 = color.channel2OrNull;
  54297. if (_1_9 == null)
  54298. _1_9 = 0;
  54299. channel2 = _1_9;
  54300. _1_10 = color.alphaOrNull;
  54301. if (_1_10 == null)
  54302. _1_10 = 0;
  54303. alpha = _1_10;
  54304. t1 = A.SassColor$_forSpace(B.XyzD65ColorSpace_WiJ, channel0, channel1, channel2, alpha, null);
  54305. break $label0$0;
  54306. }
  54307. _1_7 = color.channel0OrNull;
  54308. if (_1_7 == null)
  54309. _1_7 = 0;
  54310. channel0 = _1_7;
  54311. _1_8 = color.channel1OrNull;
  54312. if (_1_8 == null)
  54313. _1_8 = 0;
  54314. channel1 = _1_8;
  54315. _1_9 = color.channel2OrNull;
  54316. if (_1_9 == null)
  54317. _1_9 = 0;
  54318. channel2 = _1_9;
  54319. _1_10 = color.alphaOrNull;
  54320. if (_1_10 == null)
  54321. _1_10 = 0;
  54322. alpha = _1_10;
  54323. t1 = _1_1.convert$5(B.XyzD65ColorSpace_WiJ, channel0, channel1, channel2, alpha);
  54324. break $label0$0;
  54325. }
  54326. return t1;
  54327. },
  54328. $signature: 415
  54329. };
  54330. A.module_closure24.prototype = {
  54331. call$1($arguments) {
  54332. var t1 = J.getInterceptor$asx($arguments);
  54333. 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;
  54334. },
  54335. $signature: 12
  54336. };
  54337. A._mix_closure.prototype = {
  54338. call$1($arguments) {
  54339. var _s6_ = "weight",
  54340. _s41_ = string$.To_usem,
  54341. _s29_ = ", you must provide a $method.",
  54342. t1 = J.getInterceptor$asx($arguments),
  54343. color1 = t1.$index($arguments, 0).assertColor$1("color1"),
  54344. color2 = t1.$index($arguments, 1).assertColor$1("color2"),
  54345. weight = t1.$index($arguments, 2).assertNumber$1(_s6_);
  54346. if (!t1.$index($arguments, 3).$eq(0, B.C__SassNull))
  54347. return color1.interpolate$4$legacyMissing$weight(color2, A.InterpolationMethod_InterpolationMethod$fromValue(t1.$index($arguments, 3), "method"), false, weight.valueInRangeWithUnit$4(0, 100, _s6_, "%") / 100);
  54348. A._checkPercent(weight, _s6_);
  54349. if (!color1._space.get$isLegacyInternal())
  54350. throw A.wrapException(A.SassScriptException$(_s41_ + color1.toString$0(0) + _s29_, "color1"));
  54351. else if (!color2._space.get$isLegacyInternal())
  54352. throw A.wrapException(A.SassScriptException$(_s41_ + color2.toString$0(0) + _s29_, "color2"));
  54353. return A._mixLegacy(color1, color2, weight);
  54354. },
  54355. $signature: 25
  54356. };
  54357. A._complement_closure.prototype = {
  54358. call$1($arguments) {
  54359. var space, t3, colorInSpace, t4, t5, t6, _s5_ = "space",
  54360. t1 = J.getInterceptor$asx($arguments),
  54361. color = t1.$index($arguments, 0).assertColor$1("color"),
  54362. t2 = color._space;
  54363. if (t2.get$isLegacyInternal() && t1.$index($arguments, 1).$eq(0, B.C__SassNull))
  54364. space = B.HslColorSpace_JQ2;
  54365. else {
  54366. t3 = t1.$index($arguments, 1).assertString$1(_s5_);
  54367. t3.assertUnquoted$1(_s5_);
  54368. space = A.ColorSpace_fromName(t3._string$_text, _s5_);
  54369. }
  54370. if (!space.get$isPolarInternal())
  54371. throw A.wrapException(A.SassScriptException$("Color space " + space.toString$0(0) + " doesn't have a hue channel.", _s5_));
  54372. colorInSpace = color.toSpace$2$legacyMissing(space, !t1.$index($arguments, 1).$eq(0, B.C__SassNull));
  54373. t1 = space._channels;
  54374. t3 = colorInSpace.channel0OrNull;
  54375. t4 = colorInSpace.channel1OrNull;
  54376. t5 = colorInSpace.channel2OrNull;
  54377. t6 = colorInSpace.alphaOrNull;
  54378. 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);
  54379. },
  54380. $signature: 25
  54381. };
  54382. A._adjust_closure.prototype = {
  54383. call$1($arguments) {
  54384. return A._updateComponents($arguments, true, false, false);
  54385. },
  54386. $signature: 25
  54387. };
  54388. A._scale_closure.prototype = {
  54389. call$1($arguments) {
  54390. return A._updateComponents($arguments, false, false, true);
  54391. },
  54392. $signature: 25
  54393. };
  54394. A._change_closure.prototype = {
  54395. call$1($arguments) {
  54396. return A._updateComponents($arguments, false, true, false);
  54397. },
  54398. $signature: 25
  54399. };
  54400. A._ieHexStr_closure.prototype = {
  54401. call$1($arguments) {
  54402. var t1, t2, t3, t4, t5,
  54403. color = J.$index$asx($arguments, 0).assertColor$1("color").toSpace$1(B.RgbColorSpace_i0P);
  54404. color = color.get$isInGamut() ? color : B.LocalMindeGamutMap_A2x.map$1(0, color);
  54405. t1 = new A._ieHexStr_closure_hexString();
  54406. t2 = color.alphaOrNull;
  54407. t2 = A.S(t1.call$1((t2 == null ? 0 : t2) * 255));
  54408. t3 = color.channel0OrNull;
  54409. t3 = A.S(t1.call$1(t3 == null ? 0 : t3));
  54410. t4 = color.channel1OrNull;
  54411. t4 = A.S(t1.call$1(t4 == null ? 0 : t4));
  54412. t5 = color.channel2OrNull;
  54413. return new A.SassString("#" + t2 + t3 + t4 + A.S(t1.call$1(t5 == null ? 0 : t5)), false);
  54414. },
  54415. $signature: 17
  54416. };
  54417. A._ieHexStr_closure_hexString.prototype = {
  54418. call$1(component) {
  54419. return B.JSString_methods.padLeft$2(B.JSInt_methods.toRadixString$1(A.fuzzyRound(component), 16), 2, "0").toUpperCase();
  54420. },
  54421. $signature: 229
  54422. };
  54423. A._updateComponents_closure.prototype = {
  54424. call$1(space) {
  54425. return this.originalColor.toSpace$2$legacyMissing(space, false);
  54426. },
  54427. $signature: 422
  54428. };
  54429. A._updateComponents_closure0.prototype = {
  54430. call$1(info) {
  54431. return this._box_0.name === info.name;
  54432. },
  54433. $signature: 108
  54434. };
  54435. A._changeColor_closure.prototype = {
  54436. call$0() {
  54437. var t1 = this.alphaArg;
  54438. 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);
  54439. return t1.valueInRange$3(0, 1, "alpha");
  54440. },
  54441. $signature: 238
  54442. };
  54443. A._adjustColor_closure.prototype = {
  54444. call$1(alpha) {
  54445. return isNaN(alpha) ? 0 : B.JSNumber_methods.clamp$2(alpha, 0, 1);
  54446. },
  54447. $signature: 16
  54448. };
  54449. A._functionString_closure.prototype = {
  54450. call$1(argument) {
  54451. return A.serializeValue(argument, false, true);
  54452. },
  54453. $signature: 452
  54454. };
  54455. A._removedColorFunction_closure.prototype = {
  54456. call$1($arguments) {
  54457. var t1 = this.name,
  54458. t2 = J.getInterceptor$asx($arguments),
  54459. t3 = t2.$index($arguments, 0).toString$0(0),
  54460. t4 = this.negative ? "-" : "";
  54461. 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));
  54462. },
  54463. $signature: 457
  54464. };
  54465. A._rgb_closure.prototype = {
  54466. call$1(alpha) {
  54467. var t1 = A._percentageOrUnitless(alpha.assertNumber$1("alpha"), 1, "alpha");
  54468. return isNaN(t1) ? 0 : B.JSNumber_methods.clamp$2(t1, 0, 1);
  54469. },
  54470. $signature: 243
  54471. };
  54472. A._hsl_closure.prototype = {
  54473. call$1(alpha) {
  54474. var t1 = A._percentageOrUnitless(alpha.assertNumber$1("alpha"), 1, "alpha");
  54475. return isNaN(t1) ? 0 : B.JSNumber_methods.clamp$2(t1, 0, 1);
  54476. },
  54477. $signature: 243
  54478. };
  54479. A._parseChannels_closure.prototype = {
  54480. call$1($name) {
  54481. return $name + " channel";
  54482. },
  54483. $signature: 6
  54484. };
  54485. A._parseChannels_closure0.prototype = {
  54486. call$1(channel) {
  54487. return channel.get$isSpecialNumber();
  54488. },
  54489. $signature: 67
  54490. };
  54491. A._colorFromChannels_closure.prototype = {
  54492. call$1(channel0) {
  54493. return A._angleValue(channel0, "hue");
  54494. },
  54495. $signature: 129
  54496. };
  54497. A._colorFromChannels_closure0.prototype = {
  54498. call$1(channel0) {
  54499. return A._angleValue(channel0, "hue");
  54500. },
  54501. $signature: 129
  54502. };
  54503. A._channelFromValue_closure.prototype = {
  54504. call$1(value) {
  54505. var t1, _0_8, t2, _0_5, _0_8_isSet, lowerClamped, upperClamped, t3,
  54506. _0_0 = this.channel;
  54507. $label0$0: {
  54508. t1 = _0_0 instanceof A.LinearChannel;
  54509. if (t1 && _0_0.requiresPercent && !value.hasUnit$1("%"))
  54510. A.throwExpression(A.SassScriptException$("Expected " + value.toString$0(0) + ' to have unit "%".', _0_0.name));
  54511. _0_8 = null;
  54512. t2 = false;
  54513. if (t1) {
  54514. _0_5 = _0_0.lowerClamped;
  54515. _0_8_isSet = !_0_5;
  54516. if (_0_8_isSet) {
  54517. _0_8 = _0_0.upperClamped;
  54518. t2 = !_0_8;
  54519. }
  54520. } else {
  54521. _0_5 = null;
  54522. _0_8_isSet = false;
  54523. }
  54524. if (t2) {
  54525. t1 = A._percentageOrUnitless(value, _0_0.max, _0_0.name);
  54526. break $label0$0;
  54527. }
  54528. if (t1 && !this.clamp) {
  54529. t1 = A._percentageOrUnitless(value, _0_0.max, _0_0.name);
  54530. break $label0$0;
  54531. }
  54532. if (t1) {
  54533. lowerClamped = _0_5;
  54534. upperClamped = _0_8_isSet ? _0_8 : _0_0.upperClamped;
  54535. t1 = _0_0.max;
  54536. t2 = A._percentageOrUnitless(value, t1, _0_0.name);
  54537. t3 = lowerClamped ? _0_0.min : -1 / 0;
  54538. t1 = upperClamped ? t1 : 1 / 0;
  54539. t1 = isNaN(t2) ? t3 : B.JSNumber_methods.clamp$2(t2, t3, t1);
  54540. break $label0$0;
  54541. }
  54542. t1 = B.JSNumber_methods.$mod(value.coerceValueToUnit$2("deg", _0_0.name), 360);
  54543. break $label0$0;
  54544. }
  54545. return t1;
  54546. },
  54547. $signature: 129
  54548. };
  54549. A._channelFunction_closure.prototype = {
  54550. call$1($arguments) {
  54551. var _this = this,
  54552. result = A.SassNumber_SassNumber(_this.getter.call$1(J.get$first$ax($arguments).assertColor$1("color")), _this.unit),
  54553. t1 = _this.global ? "" : "color.",
  54554. t2 = _this.name;
  54555. A.warnForDeprecation(t1 + t2 + string$.x28__is_d + t2 + '", $space: ' + _this.space.toString$0(0) + string$.x29x0a_Mor_, B.Deprecation_cyE);
  54556. return result;
  54557. },
  54558. $signature: 22
  54559. };
  54560. A._suggestScaleAndAdjust_closure.prototype = {
  54561. call$1(channel) {
  54562. return channel.name === this.channelName;
  54563. },
  54564. $signature: 108
  54565. };
  54566. A._length_closure0.prototype = {
  54567. call$1($arguments) {
  54568. return A.SassNumber_SassNumber(J.$index$asx($arguments, 0).get$asList().length, null);
  54569. },
  54570. $signature: 22
  54571. };
  54572. A._nth_closure.prototype = {
  54573. call$1($arguments) {
  54574. var t1 = J.getInterceptor$asx($arguments),
  54575. list = t1.$index($arguments, 0),
  54576. index = t1.$index($arguments, 1);
  54577. return list.get$asList()[list.sassIndexToListIndex$2(index, "n")];
  54578. },
  54579. $signature: 4
  54580. };
  54581. A._setNth_closure.prototype = {
  54582. call$1($arguments) {
  54583. var newList,
  54584. t1 = J.getInterceptor$asx($arguments),
  54585. list = t1.$index($arguments, 0),
  54586. index = t1.$index($arguments, 1),
  54587. value = t1.$index($arguments, 2);
  54588. t1 = list.get$asList();
  54589. newList = A._setArrayType(t1.slice(0), A._arrayInstanceType(t1));
  54590. newList[list.sassIndexToListIndex$2(index, "n")] = value;
  54591. return list.withListContents$1(newList);
  54592. },
  54593. $signature: 26
  54594. };
  54595. A._join_closure.prototype = {
  54596. call$1($arguments) {
  54597. var _0_1, _0_4, _0_3, _0_4_isSet, t2, _0_40, separator, bracketed,
  54598. t1 = J.getInterceptor$asx($arguments),
  54599. list1 = t1.$index($arguments, 0),
  54600. list2 = t1.$index($arguments, 1),
  54601. separatorParam = t1.$index($arguments, 2).assertString$1("separator"),
  54602. bracketedParam = t1.$index($arguments, 3),
  54603. _1_0 = separatorParam._string$_text;
  54604. $label1$1: {
  54605. if ("auto" === _1_0) {
  54606. _0_1 = list1.get$separator(list1);
  54607. _0_4 = list2.get$separator(list2);
  54608. $label0$0: {
  54609. t1 = null;
  54610. _0_3 = B.ListSeparator_undecided_null_undecided === _0_1;
  54611. _0_4_isSet = _0_3;
  54612. if (_0_4_isSet) {
  54613. t2 = B.ListSeparator_undecided_null_undecided === _0_4;
  54614. _0_40 = _0_4;
  54615. } else {
  54616. _0_40 = null;
  54617. t2 = false;
  54618. }
  54619. if (t2) {
  54620. t1 = B.ListSeparator_qSL;
  54621. break $label0$0;
  54622. }
  54623. if (_0_3)
  54624. separator = _0_4_isSet ? _0_40 : _0_4;
  54625. else
  54626. separator = t1;
  54627. if (!_0_3)
  54628. separator = _0_1;
  54629. t1 = separator;
  54630. break $label0$0;
  54631. }
  54632. break $label1$1;
  54633. }
  54634. if ("space" === _1_0) {
  54635. t1 = B.ListSeparator_qSL;
  54636. break $label1$1;
  54637. }
  54638. if ("comma" === _1_0) {
  54639. t1 = B.ListSeparator_qVN;
  54640. break $label1$1;
  54641. }
  54642. if ("slash" === _1_0) {
  54643. t1 = B.ListSeparator_bRz;
  54644. break $label1$1;
  54645. }
  54646. t1 = A.throwExpression(A.SassScriptException$(string$.x24separ, null));
  54647. }
  54648. bracketed = bracketedParam instanceof A.SassString && bracketedParam._string$_text === "auto" ? list1.get$hasBrackets() : bracketedParam.get$isTruthy();
  54649. t2 = A.List_List$_of(list1.get$asList(), type$.Value);
  54650. B.JSArray_methods.addAll$1(t2, list2.get$asList());
  54651. return A.SassList$(t2, t1, bracketed);
  54652. },
  54653. $signature: 26
  54654. };
  54655. A._append_closure0.prototype = {
  54656. call$1($arguments) {
  54657. var t2,
  54658. t1 = J.getInterceptor$asx($arguments),
  54659. list = t1.$index($arguments, 0),
  54660. value = t1.$index($arguments, 1),
  54661. _0_0 = t1.$index($arguments, 2).assertString$1("separator")._string$_text;
  54662. $label0$0: {
  54663. if ("auto" === _0_0) {
  54664. t1 = list.get$separator(list) === B.ListSeparator_undecided_null_undecided ? B.ListSeparator_qSL : list.get$separator(list);
  54665. break $label0$0;
  54666. }
  54667. if ("space" === _0_0) {
  54668. t1 = B.ListSeparator_qSL;
  54669. break $label0$0;
  54670. }
  54671. if ("comma" === _0_0) {
  54672. t1 = B.ListSeparator_qVN;
  54673. break $label0$0;
  54674. }
  54675. if ("slash" === _0_0) {
  54676. t1 = B.ListSeparator_bRz;
  54677. break $label0$0;
  54678. }
  54679. t1 = A.throwExpression(A.SassScriptException$(string$.x24separ, null));
  54680. }
  54681. t2 = A.List_List$_of(list.get$asList(), type$.Value);
  54682. t2.push(value);
  54683. return list.withListContents$2$separator(t2, t1);
  54684. },
  54685. $signature: 26
  54686. };
  54687. A._zip_closure.prototype = {
  54688. call$1($arguments) {
  54689. var results, result, _box_0 = {},
  54690. t1 = J.$index$asx($arguments, 0).get$asList(),
  54691. t2 = A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,List<Value>>"),
  54692. lists = A.List_List$_of(new A.MappedListIterable(t1, new A._zip__closure(), t2), t2._eval$1("ListIterable.E"));
  54693. if (lists.length === 0)
  54694. return B.SassList_BlY;
  54695. _box_0.i = 0;
  54696. results = A._setArrayType([], type$.JSArray_SassList);
  54697. 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));) {
  54698. result = A.List_List$from(new A.MappedListIterable(lists, new A._zip__closure1(_box_0), t1), false, t2);
  54699. result.$flags = 3;
  54700. results.push(new A.SassList(result, B.ListSeparator_qSL, false));
  54701. ++_box_0.i;
  54702. }
  54703. return A.SassList$(results, B.ListSeparator_qVN, false);
  54704. },
  54705. $signature: 26
  54706. };
  54707. A._zip__closure.prototype = {
  54708. call$1(list) {
  54709. return list.get$asList();
  54710. },
  54711. $signature: 500
  54712. };
  54713. A._zip__closure0.prototype = {
  54714. call$1(list) {
  54715. return this._box_0.i !== J.get$length$asx(list);
  54716. },
  54717. $signature: 567
  54718. };
  54719. A._zip__closure1.prototype = {
  54720. call$1(list) {
  54721. return J.$index$asx(list, this._box_0.i);
  54722. },
  54723. $signature: 4
  54724. };
  54725. A._index_closure0.prototype = {
  54726. call$1($arguments) {
  54727. var t1 = J.getInterceptor$asx($arguments),
  54728. index = B.JSArray_methods.indexOf$1(t1.$index($arguments, 0).get$asList(), t1.$index($arguments, 1));
  54729. return index === -1 ? B.C__SassNull : A.SassNumber_SassNumber(index + 1, null);
  54730. },
  54731. $signature: 4
  54732. };
  54733. A._separator_closure.prototype = {
  54734. call$1($arguments) {
  54735. var t1 = J.$index$asx($arguments, 0),
  54736. _0_0 = t1.get$separator(t1);
  54737. $label0$0: {
  54738. if (B.ListSeparator_qVN === _0_0) {
  54739. t1 = new A.SassString("comma", false);
  54740. break $label0$0;
  54741. }
  54742. if (B.ListSeparator_bRz === _0_0) {
  54743. t1 = new A.SassString("slash", false);
  54744. break $label0$0;
  54745. }
  54746. t1 = new A.SassString("space", false);
  54747. break $label0$0;
  54748. }
  54749. return t1;
  54750. },
  54751. $signature: 17
  54752. };
  54753. A._isBracketed_closure.prototype = {
  54754. call$1($arguments) {
  54755. return J.$index$asx($arguments, 0).get$hasBrackets() ? B.SassBoolean_true : B.SassBoolean_false;
  54756. },
  54757. $signature: 12
  54758. };
  54759. A._slash_closure.prototype = {
  54760. call$1($arguments) {
  54761. var list = J.$index$asx($arguments, 0).get$asList();
  54762. if (list.length < 2)
  54763. throw A.wrapException(A.SassScriptException$("At least two elements are required.", null));
  54764. return A.SassList$(list, B.ListSeparator_bRz, false);
  54765. },
  54766. $signature: 26
  54767. };
  54768. A._get_closure.prototype = {
  54769. call$1($arguments) {
  54770. var value,
  54771. t1 = J.getInterceptor$asx($arguments),
  54772. map = t1.$index($arguments, 0).assertMap$1("map"),
  54773. t2 = A._setArrayType([t1.$index($arguments, 1)], type$.JSArray_Value);
  54774. B.JSArray_methods.addAll$1(t2, t1.$index($arguments, 2).get$asList());
  54775. for (t1 = A.IterableExtension_get_exceptLast(t2), t1 = t1.get$iterator(t1); t1.moveNext$0(); map = value) {
  54776. value = map._map$_contents.$index(0, t1.get$current(t1));
  54777. if (!(value instanceof A.SassMap))
  54778. return B.C__SassNull;
  54779. }
  54780. t1 = map._map$_contents.$index(0, B.JSArray_methods.get$last(t2));
  54781. return t1 == null ? B.C__SassNull : t1;
  54782. },
  54783. $signature: 4
  54784. };
  54785. A._set_closure.prototype = {
  54786. call$1($arguments) {
  54787. var t1 = J.getInterceptor$asx($arguments);
  54788. 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);
  54789. },
  54790. $signature: 4
  54791. };
  54792. A._set__closure0.prototype = {
  54793. call$1(_) {
  54794. return J.$index$asx(this.$arguments, 2);
  54795. },
  54796. $signature: 41
  54797. };
  54798. A._set_closure0.prototype = {
  54799. call$1($arguments) {
  54800. var keys, t2, t3,
  54801. t1 = J.getInterceptor$asx($arguments),
  54802. map = t1.$index($arguments, 0).assertMap$1("map"),
  54803. _0_0 = t1.$index($arguments, 1).get$asList(),
  54804. _0_1 = _0_0.length;
  54805. if (_0_1 <= 0)
  54806. throw A.wrapException(A.SassScriptException$("Expected $args to contain a key.", null));
  54807. if (_0_1 === 1)
  54808. throw A.wrapException(A.SassScriptException$("Expected $args to contain a value.", null));
  54809. t1 = {};
  54810. keys = t1.value = null;
  54811. t2 = _0_1 >= 1;
  54812. if (t2) {
  54813. t3 = _0_1 - 1;
  54814. keys = B.JSArray_methods.sublist$2(_0_0, 0, t3);
  54815. t1.value = _0_0[t3];
  54816. }
  54817. if (t2)
  54818. return A._modify(map, keys, new A._set__closure(t1), true);
  54819. throw A.wrapException("[BUG] Unreachable code");
  54820. },
  54821. $signature: 4
  54822. };
  54823. A._set__closure.prototype = {
  54824. call$1(_) {
  54825. return this._box_0.value;
  54826. },
  54827. $signature: 41
  54828. };
  54829. A._merge_closure.prototype = {
  54830. call$1($arguments) {
  54831. var t2,
  54832. t1 = J.getInterceptor$asx($arguments),
  54833. map1 = t1.$index($arguments, 0).assertMap$1("map1"),
  54834. map2 = t1.$index($arguments, 1).assertMap$1("map2");
  54835. t1 = type$.Value;
  54836. t2 = A.LinkedHashMap_LinkedHashMap$of(map1._map$_contents, t1, t1);
  54837. t2.addAll$1(0, map2._map$_contents);
  54838. return new A.SassMap(A.ConstantMap_ConstantMap$from(t2, t1, t1));
  54839. },
  54840. $signature: 33
  54841. };
  54842. A._merge_closure0.prototype = {
  54843. call$1($arguments) {
  54844. var last, t2, keys, _null = null,
  54845. t1 = J.getInterceptor$asx($arguments),
  54846. map1 = t1.$index($arguments, 0).assertMap$1("map1"),
  54847. _0_0 = t1.$index($arguments, 1).get$asList(),
  54848. _0_1 = _0_0.length;
  54849. if (_0_1 <= 0)
  54850. throw A.wrapException(A.SassScriptException$("Expected $args to contain a key.", _null));
  54851. if (_0_1 === 1)
  54852. throw A.wrapException(A.SassScriptException$("Expected $args to contain a map.", _null));
  54853. t1 = _0_1 >= 1;
  54854. last = _null;
  54855. if (t1) {
  54856. t2 = _0_1 - 1;
  54857. keys = B.JSArray_methods.sublist$2(_0_0, 0, t2);
  54858. last = _0_0[t2];
  54859. } else
  54860. keys = _null;
  54861. if (t1)
  54862. return A._modify(map1, keys, new A._merge__closure(last.assertMap$1("map2")), true);
  54863. throw A.wrapException("[BUG] Unreachable code");
  54864. },
  54865. $signature: 4
  54866. };
  54867. A._merge__closure.prototype = {
  54868. call$1(oldValue) {
  54869. var t1, t2,
  54870. nestedMap = oldValue.tryMap$0();
  54871. if (nestedMap == null)
  54872. return this.map2;
  54873. t1 = type$.Value;
  54874. t2 = A.LinkedHashMap_LinkedHashMap$of(nestedMap._map$_contents, t1, t1);
  54875. t2.addAll$1(0, this.map2._map$_contents);
  54876. return new A.SassMap(A.ConstantMap_ConstantMap$from(t2, t1, t1));
  54877. },
  54878. $signature: 650
  54879. };
  54880. A._deepMerge_closure.prototype = {
  54881. call$1($arguments) {
  54882. var t1 = J.getInterceptor$asx($arguments);
  54883. return A._deepMergeImpl(t1.$index($arguments, 0).assertMap$1("map1"), t1.$index($arguments, 1).assertMap$1("map2"));
  54884. },
  54885. $signature: 33
  54886. };
  54887. A._deepRemove_closure.prototype = {
  54888. call$1($arguments) {
  54889. var t1 = J.getInterceptor$asx($arguments),
  54890. map = t1.$index($arguments, 0).assertMap$1("map"),
  54891. t2 = A._setArrayType([t1.$index($arguments, 1)], type$.JSArray_Value);
  54892. B.JSArray_methods.addAll$1(t2, t1.$index($arguments, 2).get$asList());
  54893. return A._modify(map, A.IterableExtension_get_exceptLast(t2), new A._deepRemove__closure(t2), false);
  54894. },
  54895. $signature: 4
  54896. };
  54897. A._deepRemove__closure.prototype = {
  54898. call$1(value) {
  54899. var t1, nestedMap, t2,
  54900. _0_0 = value.tryMap$0();
  54901. if (_0_0 != null) {
  54902. t1 = _0_0._map$_contents.containsKey$1(B.JSArray_methods.get$last(this.keys));
  54903. nestedMap = _0_0;
  54904. } else {
  54905. nestedMap = null;
  54906. t1 = false;
  54907. }
  54908. if (t1) {
  54909. t1 = type$.Value;
  54910. t2 = A.LinkedHashMap_LinkedHashMap$of(nestedMap._map$_contents, t1, t1);
  54911. t2.remove$1(0, B.JSArray_methods.get$last(this.keys));
  54912. return new A.SassMap(A.ConstantMap_ConstantMap$from(t2, t1, t1));
  54913. }
  54914. return value;
  54915. },
  54916. $signature: 41
  54917. };
  54918. A._remove_closure.prototype = {
  54919. call$1($arguments) {
  54920. return J.$index$asx($arguments, 0).assertMap$1("map");
  54921. },
  54922. $signature: 33
  54923. };
  54924. A._remove_closure0.prototype = {
  54925. call$1($arguments) {
  54926. var mutableMap, t3, _i,
  54927. t1 = J.getInterceptor$asx($arguments),
  54928. map = t1.$index($arguments, 0).assertMap$1("map"),
  54929. t2 = A._setArrayType([t1.$index($arguments, 1)], type$.JSArray_Value);
  54930. B.JSArray_methods.addAll$1(t2, t1.$index($arguments, 2).get$asList());
  54931. t1 = type$.Value;
  54932. mutableMap = A.LinkedHashMap_LinkedHashMap$of(map._map$_contents, t1, t1);
  54933. for (t3 = t2.length, _i = 0; _i < t2.length; t2.length === t3 || (0, A.throwConcurrentModificationError)(t2), ++_i)
  54934. mutableMap.remove$1(0, t2[_i]);
  54935. return new A.SassMap(A.ConstantMap_ConstantMap$from(mutableMap, t1, t1));
  54936. },
  54937. $signature: 33
  54938. };
  54939. A._keys_closure.prototype = {
  54940. call$1($arguments) {
  54941. var t1 = J.$index$asx($arguments, 0).assertMap$1("map")._map$_contents;
  54942. return A.SassList$(t1.get$keys(t1), B.ListSeparator_qVN, false);
  54943. },
  54944. $signature: 26
  54945. };
  54946. A._values_closure.prototype = {
  54947. call$1($arguments) {
  54948. var t1 = J.$index$asx($arguments, 0).assertMap$1("map")._map$_contents;
  54949. return A.SassList$(t1.get$values(t1), B.ListSeparator_qVN, false);
  54950. },
  54951. $signature: 26
  54952. };
  54953. A._hasKey_closure.prototype = {
  54954. call$1($arguments) {
  54955. var value,
  54956. t1 = J.getInterceptor$asx($arguments),
  54957. map = t1.$index($arguments, 0).assertMap$1("map"),
  54958. t2 = A._setArrayType([t1.$index($arguments, 1)], type$.JSArray_Value);
  54959. B.JSArray_methods.addAll$1(t2, t1.$index($arguments, 2).get$asList());
  54960. for (t1 = A.IterableExtension_get_exceptLast(t2), t1 = t1.get$iterator(t1); t1.moveNext$0(); map = value) {
  54961. value = map._map$_contents.$index(0, t1.get$current(t1));
  54962. if (!(value instanceof A.SassMap))
  54963. return B.SassBoolean_false;
  54964. }
  54965. return map._map$_contents.containsKey$1(B.JSArray_methods.get$last(t2)) ? B.SassBoolean_true : B.SassBoolean_false;
  54966. },
  54967. $signature: 12
  54968. };
  54969. A._modify_modifyNestedMap.prototype = {
  54970. call$1(map) {
  54971. var nestedMap, _this = this,
  54972. t1 = type$.Value,
  54973. mutableMap = A.LinkedHashMap_LinkedHashMap$of(map._map$_contents, t1, t1),
  54974. t2 = _this.keyIterator,
  54975. key = t2.get$current(t2);
  54976. if (!t2.moveNext$0()) {
  54977. t2 = mutableMap.$index(0, key);
  54978. if (t2 == null)
  54979. t2 = B.C__SassNull;
  54980. mutableMap.$indexSet(0, key, _this.modify.call$1(t2));
  54981. return new A.SassMap(A.ConstantMap_ConstantMap$from(mutableMap, t1, t1));
  54982. }
  54983. t2 = mutableMap.$index(0, key);
  54984. nestedMap = t2 == null ? null : t2.tryMap$0();
  54985. t2 = nestedMap == null;
  54986. if (t2 && !_this.addNesting)
  54987. return new A.SassMap(A.ConstantMap_ConstantMap$from(mutableMap, t1, t1));
  54988. mutableMap.$indexSet(0, key, _this.call$1(t2 ? B.SassMap_Map_empty : nestedMap));
  54989. return new A.SassMap(A.ConstantMap_ConstantMap$from(mutableMap, t1, t1));
  54990. },
  54991. $signature: 671
  54992. };
  54993. A.global_closure.prototype = {
  54994. call$1($arguments) {
  54995. var t1,
  54996. number = J.$index$asx($arguments, 0).assertNumber$1("number");
  54997. if (number.hasUnit$1("%"))
  54998. 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);
  54999. else
  55000. A.warnForDeprecation(string$.Globalm, B.Deprecation_1AX);
  55001. t1 = number.get$numeratorUnits(number);
  55002. return A.SassNumber_SassNumber$withUnits(Math.abs(number._number$_value), number.get$denominatorUnits(number), t1);
  55003. },
  55004. $signature: 22
  55005. };
  55006. A.module_closure0.prototype = {
  55007. call$1(value) {
  55008. return Math.abs(value);
  55009. },
  55010. $signature: 16
  55011. };
  55012. A._ceil_closure.prototype = {
  55013. call$1(value) {
  55014. return B.JSNumber_methods.ceil$0(value);
  55015. },
  55016. $signature: 16
  55017. };
  55018. A._clamp_closure.prototype = {
  55019. call$1($arguments) {
  55020. var t1 = J.getInterceptor$asx($arguments),
  55021. min = t1.$index($arguments, 0).assertNumber$1("min"),
  55022. number = t1.$index($arguments, 1).assertNumber$1("number"),
  55023. max = t1.$index($arguments, 2).assertNumber$1("max");
  55024. number.convertValueToMatch$3(min, "number", "min");
  55025. max.convertValueToMatch$3(min, "max", "min");
  55026. if (min.greaterThanOrEquals$1(max).value)
  55027. return min;
  55028. if (min.greaterThanOrEquals$1(number).value)
  55029. return min;
  55030. if (number.greaterThanOrEquals$1(max).value)
  55031. return max;
  55032. return number;
  55033. },
  55034. $signature: 22
  55035. };
  55036. A._floor_closure.prototype = {
  55037. call$1(value) {
  55038. return B.JSNumber_methods.floor$0(value);
  55039. },
  55040. $signature: 16
  55041. };
  55042. A._max_closure.prototype = {
  55043. call$1($arguments) {
  55044. var t1, t2, max, _i, number;
  55045. 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) {
  55046. number = t1[_i].assertNumber$0();
  55047. if (max == null || max.lessThan$1(number).value)
  55048. max = number;
  55049. }
  55050. if (max != null)
  55051. return max;
  55052. throw A.wrapException(A.SassScriptException$("At least one argument must be passed.", null));
  55053. },
  55054. $signature: 22
  55055. };
  55056. A._min_closure.prototype = {
  55057. call$1($arguments) {
  55058. var t1, t2, min, _i, number;
  55059. 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) {
  55060. number = t1[_i].assertNumber$0();
  55061. if (min == null || min.greaterThan$1(number).value)
  55062. min = number;
  55063. }
  55064. if (min != null)
  55065. return min;
  55066. throw A.wrapException(A.SassScriptException$("At least one argument must be passed.", null));
  55067. },
  55068. $signature: 22
  55069. };
  55070. A._round_closure.prototype = {
  55071. call$1(number) {
  55072. return B.JSNumber_methods.round$0(number);
  55073. },
  55074. $signature: 16
  55075. };
  55076. A._hypot_closure.prototype = {
  55077. call$1($arguments) {
  55078. var subtotal, i, i0, t3,
  55079. t1 = J.$index$asx($arguments, 0).get$asList(),
  55080. t2 = A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,SassNumber>"),
  55081. numbers = A.List_List$_of(new A.MappedListIterable(t1, new A._hypot__closure(), t2), t2._eval$1("ListIterable.E"));
  55082. if (numbers.length === 0)
  55083. throw A.wrapException(A.SassScriptException$("At least one argument must be passed.", null));
  55084. for (subtotal = 0, i = 0; i < numbers.length; i = i0) {
  55085. i0 = i + 1;
  55086. subtotal += Math.pow(numbers[i].convertValueToMatch$3(numbers[0], "numbers[" + i0 + "]", "numbers[1]"), 2);
  55087. }
  55088. t1 = Math.sqrt(subtotal);
  55089. t2 = numbers[0];
  55090. t2 = t2.get$numeratorUnits(t2);
  55091. t3 = numbers[0];
  55092. return A.SassNumber_SassNumber$withUnits(t1, t3.get$denominatorUnits(t3), t2);
  55093. },
  55094. $signature: 22
  55095. };
  55096. A._hypot__closure.prototype = {
  55097. call$1(argument) {
  55098. return argument.assertNumber$0();
  55099. },
  55100. $signature: 672
  55101. };
  55102. A._log_closure.prototype = {
  55103. call$1($arguments) {
  55104. var base,
  55105. _s18_ = " to have no units.",
  55106. _null = null,
  55107. t1 = J.getInterceptor$asx($arguments),
  55108. number = t1.$index($arguments, 0).assertNumber$1("number");
  55109. if (number.get$hasUnits())
  55110. throw A.wrapException(A.SassScriptException$("$number: Expected " + number.toString$0(0) + _s18_, _null));
  55111. else if (t1.$index($arguments, 1).$eq(0, B.C__SassNull))
  55112. return A.SassNumber_SassNumber(Math.log(number._number$_value), _null);
  55113. base = t1.$index($arguments, 1).assertNumber$1("base");
  55114. if (base.get$hasUnits())
  55115. throw A.wrapException(A.SassScriptException$("$base: Expected " + base.toString$0(0) + _s18_, _null));
  55116. else
  55117. return A.SassNumber_SassNumber(Math.log(number._number$_value) / Math.log(base._number$_value), _null);
  55118. },
  55119. $signature: 22
  55120. };
  55121. A._pow_closure.prototype = {
  55122. call$1($arguments) {
  55123. var t1 = J.getInterceptor$asx($arguments);
  55124. return A.pow0(t1.$index($arguments, 0).assertNumber$1("base"), t1.$index($arguments, 1).assertNumber$1("exponent"));
  55125. },
  55126. $signature: 22
  55127. };
  55128. A._atan2_closure.prototype = {
  55129. call$1($arguments) {
  55130. var t1 = J.getInterceptor$asx($arguments),
  55131. y = t1.$index($arguments, 0).assertNumber$1("y");
  55132. 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));
  55133. },
  55134. $signature: 22
  55135. };
  55136. A._compatible_closure.prototype = {
  55137. call$1($arguments) {
  55138. var t1 = J.getInterceptor$asx($arguments);
  55139. return t1.$index($arguments, 0).assertNumber$1("number1").isComparableTo$1(t1.$index($arguments, 1).assertNumber$1("number2")) ? B.SassBoolean_true : B.SassBoolean_false;
  55140. },
  55141. $signature: 12
  55142. };
  55143. A._isUnitless_closure.prototype = {
  55144. call$1($arguments) {
  55145. return !J.$index$asx($arguments, 0).assertNumber$1("number").get$hasUnits() ? B.SassBoolean_true : B.SassBoolean_false;
  55146. },
  55147. $signature: 12
  55148. };
  55149. A._unit_closure.prototype = {
  55150. call$1($arguments) {
  55151. return new A.SassString(J.$index$asx($arguments, 0).assertNumber$1("number").get$unitString(), true);
  55152. },
  55153. $signature: 17
  55154. };
  55155. A._percentage_closure.prototype = {
  55156. call$1($arguments) {
  55157. var number = J.$index$asx($arguments, 0).assertNumber$1("number");
  55158. number.assertNoUnits$1("number");
  55159. return A.SassNumber_SassNumber(number._number$_value * 100, "%");
  55160. },
  55161. $signature: 22
  55162. };
  55163. A._randomFunction_closure.prototype = {
  55164. call$1($arguments) {
  55165. var limit, limitScalar,
  55166. t1 = J.getInterceptor$asx($arguments);
  55167. if (t1.$index($arguments, 0).$eq(0, B.C__SassNull))
  55168. return A.SassNumber_SassNumber($.$get$_random0().nextDouble$0(), null);
  55169. limit = t1.$index($arguments, 0).assertNumber$1("limit");
  55170. if (limit.get$hasUnits())
  55171. 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);
  55172. limitScalar = limit.assertInt$1("limit");
  55173. if (limitScalar < 1)
  55174. throw A.wrapException(A.SassScriptException$("$limit: Must be greater than 0, was " + limit.toString$0(0) + ".", null));
  55175. return A.SassNumber_SassNumber($.$get$_random0().nextInt$1(limitScalar) + 1, null);
  55176. },
  55177. $signature: 22
  55178. };
  55179. A._div_closure.prototype = {
  55180. call$1($arguments) {
  55181. var t1 = J.getInterceptor$asx($arguments),
  55182. number1 = t1.$index($arguments, 0),
  55183. number2 = t1.$index($arguments, 1);
  55184. if (!(number1 instanceof A.SassNumber) || !(number2 instanceof A.SassNumber))
  55185. A.warn(string$.math_d);
  55186. return number1.dividedBy$1(number2);
  55187. },
  55188. $signature: 4
  55189. };
  55190. A._singleArgumentMathFunc_closure.prototype = {
  55191. call$1($arguments) {
  55192. return this.mathFunc.call$1(J.$index$asx($arguments, 0).assertNumber$1("number"));
  55193. },
  55194. $signature: 22
  55195. };
  55196. A._numberFunction_closure.prototype = {
  55197. call$1($arguments) {
  55198. var number = J.$index$asx($arguments, 0).assertNumber$1("number"),
  55199. t1 = this.transform.call$1(number._number$_value),
  55200. t2 = number.get$numeratorUnits(number);
  55201. return A.SassNumber_SassNumber$withUnits(t1, number.get$denominatorUnits(number), t2);
  55202. },
  55203. $signature: 22
  55204. };
  55205. A._shared_closure.prototype = {
  55206. call$1($arguments) {
  55207. A.warnForDeprecation(string$.The_fe, B.Deprecation_hcg);
  55208. return $._features.contains$1(0, J.$index$asx($arguments, 0).assertString$1("feature")._string$_text) ? B.SassBoolean_true : B.SassBoolean_false;
  55209. },
  55210. $signature: 12
  55211. };
  55212. A._shared_closure0.prototype = {
  55213. call$1($arguments) {
  55214. return new A.SassString(A.serializeValue(J.get$first$ax($arguments), true, true), false);
  55215. },
  55216. $signature: 17
  55217. };
  55218. A._shared_closure1.prototype = {
  55219. call$1($arguments) {
  55220. var t1 = J.getInterceptor$asx($arguments),
  55221. _0_0 = t1.$index($arguments, 0);
  55222. $label0$0: {
  55223. if (_0_0 instanceof A.SassArgumentList) {
  55224. t1 = "arglist";
  55225. break $label0$0;
  55226. }
  55227. if (_0_0 instanceof A.SassBoolean) {
  55228. t1 = "bool";
  55229. break $label0$0;
  55230. }
  55231. if (_0_0 instanceof A.SassColor) {
  55232. t1 = "color";
  55233. break $label0$0;
  55234. }
  55235. if (_0_0 instanceof A.SassList) {
  55236. t1 = "list";
  55237. break $label0$0;
  55238. }
  55239. if (_0_0 instanceof A.SassMap) {
  55240. t1 = "map";
  55241. break $label0$0;
  55242. }
  55243. if (B.C__SassNull === _0_0) {
  55244. t1 = "null";
  55245. break $label0$0;
  55246. }
  55247. if (_0_0 instanceof A.SassNumber) {
  55248. t1 = "number";
  55249. break $label0$0;
  55250. }
  55251. if (_0_0 instanceof A.SassFunction) {
  55252. t1 = "function";
  55253. break $label0$0;
  55254. }
  55255. if (_0_0 instanceof A.SassMixin) {
  55256. t1 = "mixin";
  55257. break $label0$0;
  55258. }
  55259. if (_0_0 instanceof A.SassCalculation) {
  55260. t1 = "calculation";
  55261. break $label0$0;
  55262. }
  55263. if (_0_0 instanceof A.SassString) {
  55264. t1 = "string";
  55265. break $label0$0;
  55266. }
  55267. t1 = A.throwExpression("[BUG] Unknown value type " + t1.$index($arguments, 0).toString$0(0));
  55268. }
  55269. return new A.SassString(t1, false);
  55270. },
  55271. $signature: 17
  55272. };
  55273. A._shared_closure2.prototype = {
  55274. call$1($arguments) {
  55275. var t2, t3, t4,
  55276. t1 = J.getInterceptor$asx($arguments),
  55277. _1_0 = t1.$index($arguments, 0);
  55278. if (_1_0 instanceof A.SassArgumentList) {
  55279. _1_0._wereKeywordsAccessed = true;
  55280. t1 = type$.Value;
  55281. t2 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
  55282. for (t3 = A.MapExtensions_get_pairs(_1_0._keywords, type$.String, t1), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
  55283. t4 = t3.get$current(t3);
  55284. t2.$indexSet(0, new A.SassString(t4._0, false), t4._1);
  55285. }
  55286. return new A.SassMap(A.ConstantMap_ConstantMap$from(t2, t1, t1));
  55287. } else
  55288. throw A.wrapException("$args: " + t1.$index($arguments, 0).toString$0(0) + " is not an argument list.");
  55289. },
  55290. $signature: 33
  55291. };
  55292. A.moduleFunctions_closure.prototype = {
  55293. call$1($arguments) {
  55294. return new A.SassString(J.$index$asx($arguments, 0).assertCalculation$1("calc").name, true);
  55295. },
  55296. $signature: 17
  55297. };
  55298. A.moduleFunctions_closure0.prototype = {
  55299. call$1($arguments) {
  55300. var t1 = J.$index$asx($arguments, 0).assertCalculation$1("calc").$arguments;
  55301. return A.SassList$(new A.MappedListIterable(t1, new A.moduleFunctions__closure(), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,Value>")), B.ListSeparator_qVN, false);
  55302. },
  55303. $signature: 26
  55304. };
  55305. A.moduleFunctions__closure.prototype = {
  55306. call$1(argument) {
  55307. return argument instanceof A.Value ? argument : new A.SassString(J.toString$0$(argument), false);
  55308. },
  55309. $signature: 673
  55310. };
  55311. A.moduleFunctions_closure1.prototype = {
  55312. call$1($arguments) {
  55313. var _0_2_isSet, acceptsContent, t1, _0_5_isSet, _0_5, hasContent,
  55314. mixin = J.$index$asx($arguments, 0).assertMixin$1("mixin"),
  55315. _0_0 = mixin.callable;
  55316. $label0$0: {
  55317. _0_2_isSet = type$.AsyncBuiltInCallable._is(_0_0);
  55318. if (_0_2_isSet)
  55319. acceptsContent = _0_0.get$acceptsContent();
  55320. else
  55321. acceptsContent = null;
  55322. if (!_0_2_isSet) {
  55323. _0_2_isSet = _0_0 instanceof A.BuiltInCallable;
  55324. if (_0_2_isSet)
  55325. acceptsContent = _0_0.acceptsContent;
  55326. t1 = _0_2_isSet;
  55327. } else
  55328. t1 = true;
  55329. if (t1) {
  55330. t1 = acceptsContent;
  55331. break $label0$0;
  55332. }
  55333. _0_5_isSet = _0_0 instanceof A.UserDefinedCallable;
  55334. if (_0_5_isSet) {
  55335. _0_5 = _0_0.declaration;
  55336. t1 = _0_5;
  55337. t1 = t1 instanceof A.MixinRule;
  55338. } else {
  55339. _0_5 = null;
  55340. t1 = false;
  55341. }
  55342. if (t1) {
  55343. t1 = _0_5_isSet ? _0_5 : _0_0.declaration;
  55344. hasContent = type$.MixinRule._as(t1).get$hasContent();
  55345. t1 = hasContent;
  55346. break $label0$0;
  55347. }
  55348. t1 = A.throwExpression(A.UnsupportedError$("Unknown callable type " + mixin.toString$0(0) + "."));
  55349. }
  55350. return t1 ? B.SassBoolean_true : B.SassBoolean_false;
  55351. },
  55352. $signature: 12
  55353. };
  55354. A._nest_closure.prototype = {
  55355. call$1($arguments) {
  55356. var t1 = {},
  55357. selectors = J.$index$asx($arguments, 0).get$asList();
  55358. if (selectors.length === 0)
  55359. throw A.wrapException(A.SassScriptException$(string$.x24selec, null));
  55360. t1.first = true;
  55361. 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();
  55362. },
  55363. $signature: 26
  55364. };
  55365. A._nest__closure.prototype = {
  55366. call$1(selector) {
  55367. var t1 = this._box_0,
  55368. result = A.SassApiValue_assertSelector(selector, !t1.first, null);
  55369. t1.first = false;
  55370. return result;
  55371. },
  55372. $signature: 204
  55373. };
  55374. A._nest__closure0.prototype = {
  55375. call$2($parent, child) {
  55376. return child.nestWithin$1($parent);
  55377. },
  55378. $signature: 143
  55379. };
  55380. A._append_closure.prototype = {
  55381. call$1($arguments) {
  55382. var t1,
  55383. selectors = J.$index$asx($arguments, 0).get$asList();
  55384. if (selectors.length === 0)
  55385. throw A.wrapException(A.SassScriptException$(string$.x24selec, null));
  55386. t1 = A.EvaluationContext_currentOrNull();
  55387. 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();
  55388. },
  55389. $signature: 26
  55390. };
  55391. A._append__closure.prototype = {
  55392. call$1(selector) {
  55393. return A.SassApiValue_assertSelector(selector, false, null);
  55394. },
  55395. $signature: 204
  55396. };
  55397. A._append__closure0.prototype = {
  55398. call$2($parent, child) {
  55399. var t1 = child.components,
  55400. t2 = this.span;
  55401. 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);
  55402. },
  55403. $signature: 143
  55404. };
  55405. A._append___closure.prototype = {
  55406. call$1(complex) {
  55407. var _0_0, t1, component, rest, newCompound, t2, _null = null;
  55408. if (complex.leadingCombinators.length !== 0)
  55409. throw A.wrapException(A.SassScriptException$("Can't append " + complex.toString$0(0) + " to " + this.parent.toString$0(0) + ".", _null));
  55410. _0_0 = complex.components;
  55411. t1 = _0_0.length >= 1;
  55412. if (t1) {
  55413. component = _0_0[0];
  55414. rest = B.JSArray_methods.sublist$1(_0_0, 1);
  55415. } else {
  55416. rest = _null;
  55417. component = rest;
  55418. }
  55419. if (!t1)
  55420. throw A.wrapException(A.StateError$("Pattern matching error"));
  55421. newCompound = A._prependParent(component.selector);
  55422. if (newCompound == null)
  55423. throw A.wrapException(A.SassScriptException$("Can't append " + complex.toString$0(0) + " to " + this.parent.toString$0(0) + ".", _null));
  55424. t1 = this.span;
  55425. t2 = A._setArrayType([new A.ComplexSelectorComponent(newCompound, A.List_List$unmodifiable(component.combinators, type$.CssValue_Combinator), t1)], type$.JSArray_ComplexSelectorComponent);
  55426. B.JSArray_methods.addAll$1(t2, rest);
  55427. return A.ComplexSelector$(B.List_empty0, t2, t1, false);
  55428. },
  55429. $signature: 60
  55430. };
  55431. A._extend_closure.prototype = {
  55432. call$1($arguments) {
  55433. var target, source,
  55434. _s8_ = "selector",
  55435. _s8_0 = "extendee",
  55436. _s8_1 = "extender",
  55437. t1 = J.getInterceptor$asx($arguments),
  55438. selector = A.SassApiValue_assertSelector(t1.$index($arguments, 0), false, _s8_);
  55439. selector.assertNotBogus$1$name(_s8_);
  55440. target = A.SassApiValue_assertSelector(t1.$index($arguments, 1), false, _s8_0);
  55441. target.assertNotBogus$1$name(_s8_0);
  55442. source = A.SassApiValue_assertSelector(t1.$index($arguments, 2), false, _s8_1);
  55443. source.assertNotBogus$1$name(_s8_1);
  55444. t1 = A.EvaluationContext_currentOrNull();
  55445. 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();
  55446. },
  55447. $signature: 26
  55448. };
  55449. A._replace_closure.prototype = {
  55450. call$1($arguments) {
  55451. var target, source,
  55452. _s8_ = "selector",
  55453. _s8_0 = "original",
  55454. _s11_ = "replacement",
  55455. t1 = J.getInterceptor$asx($arguments),
  55456. selector = A.SassApiValue_assertSelector(t1.$index($arguments, 0), false, _s8_);
  55457. selector.assertNotBogus$1$name(_s8_);
  55458. target = A.SassApiValue_assertSelector(t1.$index($arguments, 1), false, _s8_0);
  55459. target.assertNotBogus$1$name(_s8_0);
  55460. source = A.SassApiValue_assertSelector(t1.$index($arguments, 2), false, _s11_);
  55461. source.assertNotBogus$1$name(_s11_);
  55462. t1 = A.EvaluationContext_currentOrNull();
  55463. 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();
  55464. },
  55465. $signature: 26
  55466. };
  55467. A._unify_closure.prototype = {
  55468. call$1($arguments) {
  55469. var selector2,
  55470. _s9_ = "selector1",
  55471. _s9_0 = "selector2",
  55472. t1 = J.getInterceptor$asx($arguments),
  55473. selector1 = A.SassApiValue_assertSelector(t1.$index($arguments, 0), false, _s9_);
  55474. selector1.assertNotBogus$1$name(_s9_);
  55475. selector2 = A.SassApiValue_assertSelector(t1.$index($arguments, 1), false, _s9_0);
  55476. selector2.assertNotBogus$1$name(_s9_0);
  55477. t1 = selector1.unify$1(selector2);
  55478. t1 = t1 == null ? null : t1.get$asSassList();
  55479. return t1 == null ? B.C__SassNull : t1;
  55480. },
  55481. $signature: 4
  55482. };
  55483. A._isSuperselector_closure.prototype = {
  55484. call$1($arguments) {
  55485. var selector2,
  55486. t1 = J.getInterceptor$asx($arguments),
  55487. selector1 = A.SassApiValue_assertSelector(t1.$index($arguments, 0), false, "super");
  55488. selector1.assertNotBogus$1$name("super");
  55489. selector2 = A.SassApiValue_assertSelector(t1.$index($arguments, 1), false, "sub");
  55490. selector2.assertNotBogus$1$name("sub");
  55491. return A.listIsSuperselector(selector1.components, selector2.components) ? B.SassBoolean_true : B.SassBoolean_false;
  55492. },
  55493. $signature: 12
  55494. };
  55495. A._simpleSelectors_closure.prototype = {
  55496. call$1($arguments) {
  55497. var t1 = A.SassApiValue_assertCompoundSelector(J.$index$asx($arguments, 0), "selector").components;
  55498. return A.SassList$(new A.MappedListIterable(t1, new A._simpleSelectors__closure(), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,Value>")), B.ListSeparator_qVN, false);
  55499. },
  55500. $signature: 26
  55501. };
  55502. A._simpleSelectors__closure.prototype = {
  55503. call$1(simple) {
  55504. return new A.SassString(A.serializeSelector(simple, true), false);
  55505. },
  55506. $signature: 333
  55507. };
  55508. A._parse_closure.prototype = {
  55509. call$1($arguments) {
  55510. return A.SassApiValue_assertSelector(J.$index$asx($arguments, 0), false, "selector").get$asSassList();
  55511. },
  55512. $signature: 26
  55513. };
  55514. A.module_closure.prototype = {
  55515. call$1($arguments) {
  55516. var limit, t2, chunks, i, lastEnd, match, t3,
  55517. t1 = J.getInterceptor$asx($arguments),
  55518. string = t1.$index($arguments, 0).assertString$1("string"),
  55519. separator = t1.$index($arguments, 1).assertString$1("separator");
  55520. t1 = t1.$index($arguments, 2).get$realNull();
  55521. limit = t1 == null ? null : t1.assertNumber$1("limit").assertInt$1("limit");
  55522. if (limit != null && limit < 1)
  55523. throw A.wrapException(A.SassScriptException$("$limit: Must be 1 or greater, was " + A.S(limit) + ".", null));
  55524. t1 = string._string$_text;
  55525. if (t1.length === 0)
  55526. return B.SassList_qAD;
  55527. else {
  55528. t2 = separator._string$_text;
  55529. if (t2.length === 0)
  55530. 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);
  55531. }
  55532. chunks = A._setArrayType([], type$.JSArray_String);
  55533. 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();) {
  55534. match = t2.__js_helper$_current;
  55535. t3 = match.start;
  55536. chunks.push(B.JSString_methods.substring$2(t1, lastEnd, t3));
  55537. lastEnd = t3 + match.pattern.length;
  55538. ++i;
  55539. if (i === limit)
  55540. break;
  55541. }
  55542. chunks.push(B.JSString_methods.substring$1(t1, lastEnd));
  55543. return A.SassList$(new A.MappedListIterable(chunks, new A.module__closure0(string), type$.MappedListIterable_String_Value), B.ListSeparator_qVN, true);
  55544. },
  55545. $signature: 26
  55546. };
  55547. A.module__closure.prototype = {
  55548. call$1(rune) {
  55549. return new A.SassString(A.Primitives_stringFromCharCode(rune), this.string._hasQuotes);
  55550. },
  55551. $signature: 419
  55552. };
  55553. A.module__closure0.prototype = {
  55554. call$1(chunk) {
  55555. return new A.SassString(chunk, this.string._hasQuotes);
  55556. },
  55557. $signature: 324
  55558. };
  55559. A._unquote_closure.prototype = {
  55560. call$1($arguments) {
  55561. var string = J.$index$asx($arguments, 0).assertString$1("string");
  55562. if (!string._hasQuotes)
  55563. return string;
  55564. return new A.SassString(string._string$_text, false);
  55565. },
  55566. $signature: 17
  55567. };
  55568. A._quote_closure.prototype = {
  55569. call$1($arguments) {
  55570. var string = J.$index$asx($arguments, 0).assertString$1("string");
  55571. if (string._hasQuotes)
  55572. return string;
  55573. return new A.SassString(string._string$_text, true);
  55574. },
  55575. $signature: 17
  55576. };
  55577. A._length_closure.prototype = {
  55578. call$1($arguments) {
  55579. return A.SassNumber_SassNumber(J.$index$asx($arguments, 0).assertString$1("string").get$_sassLength(), null);
  55580. },
  55581. $signature: 22
  55582. };
  55583. A._insert_closure.prototype = {
  55584. call$1($arguments) {
  55585. var indexInt, codeUnitIndex, _s5_ = "index",
  55586. t1 = J.getInterceptor$asx($arguments),
  55587. string = t1.$index($arguments, 0).assertString$1("string"),
  55588. insert = t1.$index($arguments, 1).assertString$1("insert"),
  55589. index = t1.$index($arguments, 2).assertNumber$1(_s5_);
  55590. index.assertNoUnits$1(_s5_);
  55591. indexInt = index.assertInt$1(_s5_);
  55592. if (indexInt < 0)
  55593. indexInt = Math.max(string.get$_sassLength() + indexInt + 2, 0);
  55594. t1 = string._string$_text;
  55595. codeUnitIndex = A.codepointIndexToCodeUnitIndex(t1, A._codepointForIndex(indexInt, string.get$_sassLength(), false));
  55596. return new A.SassString(B.JSString_methods.replaceRange$3(t1, codeUnitIndex, codeUnitIndex, insert._string$_text), string._hasQuotes);
  55597. },
  55598. $signature: 17
  55599. };
  55600. A._index_closure.prototype = {
  55601. call$1($arguments) {
  55602. var t1 = J.getInterceptor$asx($arguments),
  55603. t2 = t1.$index($arguments, 0).assertString$1("string")._string$_text,
  55604. codeUnitIndex = B.JSString_methods.indexOf$1(t2, t1.$index($arguments, 1).assertString$1("substring")._string$_text);
  55605. if (codeUnitIndex === -1)
  55606. return B.C__SassNull;
  55607. return A.SassNumber_SassNumber(A.codeUnitIndexToCodepointIndex(t2, codeUnitIndex) + 1, null);
  55608. },
  55609. $signature: 4
  55610. };
  55611. A._slice_closure.prototype = {
  55612. call$1($arguments) {
  55613. var lengthInCodepoints, endInt, startCodepoint, endCodepoint,
  55614. _s8_ = "start-at",
  55615. t1 = J.getInterceptor$asx($arguments),
  55616. string = t1.$index($arguments, 0).assertString$1("string"),
  55617. start = t1.$index($arguments, 1).assertNumber$1(_s8_),
  55618. end = t1.$index($arguments, 2).assertNumber$1("end-at");
  55619. start.assertNoUnits$1(_s8_);
  55620. end.assertNoUnits$1("end-at");
  55621. lengthInCodepoints = string.get$_sassLength();
  55622. endInt = end.assertInt$0();
  55623. if (endInt === 0)
  55624. return string._hasQuotes ? $.$get$_emptyQuoted() : $.$get$_emptyUnquoted();
  55625. startCodepoint = A._codepointForIndex(start.assertInt$0(), lengthInCodepoints, false);
  55626. endCodepoint = A._codepointForIndex(endInt, lengthInCodepoints, true);
  55627. if (endCodepoint === lengthInCodepoints)
  55628. --endCodepoint;
  55629. if (endCodepoint < startCodepoint)
  55630. return string._hasQuotes ? $.$get$_emptyQuoted() : $.$get$_emptyUnquoted();
  55631. t1 = string._string$_text;
  55632. return new A.SassString(B.JSString_methods.substring$2(t1, A.codepointIndexToCodeUnitIndex(t1, startCodepoint), A.codepointIndexToCodeUnitIndex(t1, endCodepoint + 1)), string._hasQuotes);
  55633. },
  55634. $signature: 17
  55635. };
  55636. A._toUpperCase_closure.prototype = {
  55637. call$1($arguments) {
  55638. var t1, t2, i, t3, t4,
  55639. string = J.$index$asx($arguments, 0).assertString$1("string");
  55640. for (t1 = string._string$_text, t2 = t1.length, i = 0, t3 = ""; i < t2; ++i) {
  55641. t4 = t1.charCodeAt(i);
  55642. t3 += A.Primitives_stringFromCharCode(t4 >= 97 && t4 <= 122 ? t4 & 4294967263 : t4);
  55643. }
  55644. return new A.SassString(t3.charCodeAt(0) == 0 ? t3 : t3, string._hasQuotes);
  55645. },
  55646. $signature: 17
  55647. };
  55648. A._toLowerCase_closure.prototype = {
  55649. call$1($arguments) {
  55650. var t1, t2, i, t3, t4,
  55651. string = J.$index$asx($arguments, 0).assertString$1("string");
  55652. for (t1 = string._string$_text, t2 = t1.length, i = 0, t3 = ""; i < t2; ++i) {
  55653. t4 = t1.charCodeAt(i);
  55654. t3 += A.Primitives_stringFromCharCode(t4 >= 65 && t4 <= 90 ? t4 | 32 : t4);
  55655. }
  55656. return new A.SassString(t3.charCodeAt(0) == 0 ? t3 : t3, string._hasQuotes);
  55657. },
  55658. $signature: 17
  55659. };
  55660. A._uniqueId_closure.prototype = {
  55661. call$1($arguments) {
  55662. var t1 = $.$get$_previousUniqueId() + ($.$get$_random().nextInt$1(36) + 1);
  55663. $._previousUniqueId = t1;
  55664. if (t1 > Math.pow(36, 6))
  55665. $._previousUniqueId = B.JSInt_methods.$mod($.$get$_previousUniqueId(), A._asInt(Math.pow(36, 6)));
  55666. return new A.SassString("u" + B.JSString_methods.padLeft$2(B.JSInt_methods.toRadixString$1($.$get$_previousUniqueId(), 36), 6, "0"), false);
  55667. },
  55668. $signature: 17
  55669. };
  55670. A.ImportCache.prototype = {
  55671. canonicalize$4$baseImporter$baseUrl$forImport(_, url, baseImporter, baseUrl, forImport) {
  55672. 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;
  55673. if (A.isBrowser())
  55674. t1 = (baseImporter == null || baseImporter instanceof A.NoOpImporter) && _this._importers.length === 0;
  55675. else
  55676. t1 = false;
  55677. if (t1)
  55678. throw A.wrapException(string$.Custom);
  55679. if (baseImporter != null && url.get$scheme() === "") {
  55680. resolvedUrl = baseUrl == null ? _null : baseUrl.resolveUri$1(url);
  55681. if (resolvedUrl == null)
  55682. resolvedUrl = url;
  55683. key = new A._Record_3_forImport(baseImporter, resolvedUrl, forImport);
  55684. relativeResult = _this._perImporterCanonicalizeCache.putIfAbsent$2(key, new A.ImportCache_canonicalize_closure(_this, baseImporter, resolvedUrl, baseUrl, forImport, key, url));
  55685. if (relativeResult != null)
  55686. return relativeResult;
  55687. }
  55688. key = new A._Record_2_forImport(url, forImport);
  55689. t1 = _this._canonicalizeCache;
  55690. if (t1.containsKey$1(key))
  55691. return t1.$index(0, key);
  55692. 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) {
  55693. importer = t2[i];
  55694. perImporterKey = new A._Record_3_forImport(importer, url, forImport);
  55695. if (t4.containsKey$1(perImporterKey)) {
  55696. t7 = t4.$index(0, perImporterKey);
  55697. _1_0 = new A._Record_1(t7 == null ? t5._as(t7) : t7);
  55698. } else
  55699. _1_0 = _null;
  55700. _1_2_isSet = t3._is(_1_0);
  55701. result = _null;
  55702. if (_1_2_isSet) {
  55703. _1_2 = _1_0._0;
  55704. t7 = _1_2 != null;
  55705. if (t7) {
  55706. t6._as(_1_2);
  55707. result = _1_2;
  55708. }
  55709. } else {
  55710. _1_2 = _null;
  55711. t7 = false;
  55712. }
  55713. if (t7)
  55714. return result;
  55715. if (_1_2_isSet)
  55716. t7 = _1_2 == null;
  55717. else
  55718. t7 = false;
  55719. if (t7)
  55720. continue;
  55721. $label0$1: {
  55722. _2_0 = _this._canonicalize$4(importer, url, baseUrl, forImport);
  55723. _2_1 = _2_0._0;
  55724. _2_5_isSet = _2_1 != null;
  55725. _2_5 = _null;
  55726. _2_3 = _null;
  55727. t7 = false;
  55728. if (_2_5_isSet) {
  55729. result = _2_1 == null ? t6._as(_2_1) : _2_1;
  55730. _2_3 = _2_0._1;
  55731. t7 = _2_3;
  55732. _2_5 = t7;
  55733. t7 = t7 && cacheable;
  55734. } else
  55735. result = _null;
  55736. if (t7) {
  55737. t1.$indexSet(0, key, result);
  55738. return result;
  55739. }
  55740. if (_2_5_isSet) {
  55741. t7 = _2_5;
  55742. _2_3_isSet = _2_5_isSet;
  55743. } else {
  55744. _2_3 = _2_0._1;
  55745. t7 = _2_3;
  55746. _2_3_isSet = true;
  55747. }
  55748. t7 = t7 && !cacheable;
  55749. if (t7) {
  55750. t4.$indexSet(0, perImporterKey, _2_1);
  55751. if (_2_1 != null)
  55752. return _2_1;
  55753. break $label0$1;
  55754. }
  55755. t7 = !(_2_3_isSet ? _2_3 : _2_0._1);
  55756. if (t7) {
  55757. if (cacheable) {
  55758. for (j = 0; j < i; ++j)
  55759. t4.$indexSet(0, new A._Record_3_forImport(t2[j], url, forImport), _null);
  55760. cacheable = false;
  55761. }
  55762. if (_2_1 != null)
  55763. return _2_1;
  55764. }
  55765. }
  55766. }
  55767. if (cacheable)
  55768. t1.$indexSet(0, key, _null);
  55769. return _null;
  55770. },
  55771. canonicalize$3$baseImporter$baseUrl(_, url, baseImporter, baseUrl) {
  55772. return this.canonicalize$4$baseImporter$baseUrl$forImport(0, url, baseImporter, baseUrl, false);
  55773. },
  55774. _canonicalize$4(importer, url, baseUrl, forImport) {
  55775. var passContainingUrl, canonicalizeContext, t1, result, cacheable;
  55776. if (baseUrl != null)
  55777. passContainingUrl = url.get$scheme() === "" || importer.isNonCanonicalScheme$1(url.get$scheme());
  55778. else
  55779. passContainingUrl = false;
  55780. canonicalizeContext = new A.CanonicalizeContext(forImport, passContainingUrl ? baseUrl : null);
  55781. t1 = type$.nullable_Object;
  55782. result = A.runZoned(new A.ImportCache__canonicalize_closure(importer, url), A.LinkedHashMap_LinkedHashMap$_literal([B.Symbol__canonicalizeContext, canonicalizeContext], t1, t1), type$.nullable_Uri);
  55783. cacheable = !passContainingUrl || !canonicalizeContext._wasContainingUrlAccessed;
  55784. if (result == null)
  55785. return new A._Record_2(null, cacheable);
  55786. if (result.get$scheme() !== "" && importer.isNonCanonicalScheme$1(result.get$scheme()))
  55787. throw A.wrapException("Importer " + importer.toString$0(0) + " canonicalized " + url.toString$0(0) + " to " + result.toString$0(0) + string$.x2c_whicu);
  55788. return new A._Record_2(new A._Record_3_originalUrl(importer, result, url), cacheable);
  55789. },
  55790. importCanonical$3$originalUrl(importer, canonicalUrl, originalUrl) {
  55791. return this._importCache.putIfAbsent$2(canonicalUrl, new A.ImportCache_importCanonical_closure(this, importer, canonicalUrl, originalUrl));
  55792. },
  55793. importCanonical$2(importer, canonicalUrl) {
  55794. return this.importCanonical$3$originalUrl(importer, canonicalUrl, null);
  55795. },
  55796. humanize$1(canonicalUrl) {
  55797. var t1 = this._canonicalizeCache,
  55798. t2 = type$.NonNullsIterable_Record_3_Importer_and_Uri_and_Uri_originalUrl;
  55799. 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));
  55800. return t2 == null ? canonicalUrl : t2;
  55801. },
  55802. sourceMapUrl$1(_, canonicalUrl) {
  55803. var t1 = this._resultsCache.$index(0, canonicalUrl);
  55804. t1 = t1 == null ? null : t1.get$sourceMapUrl(0);
  55805. return t1 == null ? canonicalUrl : t1;
  55806. },
  55807. clearCanonicalize$1(canonicalUrl) {
  55808. var key, t5, t6, _i0,
  55809. t1 = this._canonicalizeCache,
  55810. t2 = A.List_List$_of(new A.LinkedHashMapKeysIterable(t1, A._instanceType(t1)._eval$1("LinkedHashMapKeysIterable<1>")), type$.Record_2_Uri_and_bool_forImport),
  55811. t3 = t2.length,
  55812. t4 = this._importers,
  55813. _i = 0;
  55814. for (; _i < t2.length; t2.length === t3 || (0, A.throwConcurrentModificationError)(t2), ++_i) {
  55815. key = t2[_i];
  55816. for (t5 = t4.length, t6 = key._0, _i0 = 0; _i0 < t4.length; t4.length === t5 || (0, A.throwConcurrentModificationError)(t4), ++_i0)
  55817. if (t4[_i0].couldCanonicalize$2(t6, canonicalUrl)) {
  55818. t1.remove$1(0, key);
  55819. break;
  55820. }
  55821. }
  55822. t1 = this._perImporterCanonicalizeCache;
  55823. 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);
  55824. t3 = t2.length;
  55825. _i = 0;
  55826. for (; _i < t2.length; t2.length === t3 || (0, A.throwConcurrentModificationError)(t2), ++_i) {
  55827. key = t2[_i];
  55828. if (key._0.couldCanonicalize$2(key._1, canonicalUrl))
  55829. t1.remove$1(0, key);
  55830. }
  55831. },
  55832. clearImport$1(canonicalUrl) {
  55833. this._resultsCache.remove$1(0, canonicalUrl);
  55834. this._importCache.remove$1(0, canonicalUrl);
  55835. }
  55836. };
  55837. A.ImportCache_canonicalize_closure.prototype = {
  55838. call$0() {
  55839. var _this = this,
  55840. t1 = _this.$this,
  55841. t2 = _this.baseUrl,
  55842. _0_0 = t1._canonicalize$4(_this.baseImporter, _this.resolvedUrl, t2, _this.forImport);
  55843. if (t2 != null)
  55844. t1._nonCanonicalRelativeUrls.$indexSet(0, _this.key, _this.url);
  55845. return _0_0._0;
  55846. },
  55847. $signature: 128
  55848. };
  55849. A.ImportCache__canonicalize_closure.prototype = {
  55850. call$0() {
  55851. return this.importer.canonicalize$1(0, this.url);
  55852. },
  55853. $signature: 144
  55854. };
  55855. A.ImportCache_importCanonical_closure.prototype = {
  55856. call$0() {
  55857. var t3, t4, _this = this,
  55858. t1 = Date.now(),
  55859. t2 = _this.canonicalUrl,
  55860. result = _this.importer.load$1(0, t2);
  55861. if (result == null)
  55862. return null;
  55863. t3 = _this.$this;
  55864. t3._loadTimes.$indexSet(0, t2, new A.DateTime(t1, 0, false));
  55865. t3._resultsCache.$indexSet(0, t2, result);
  55866. t3 = result.contents;
  55867. t1 = result.syntax;
  55868. t4 = _this.originalUrl;
  55869. return A.Stylesheet_Stylesheet$parse(t3, t1, t4 == null ? t2 : t4.resolveUri$1(t2));
  55870. },
  55871. $signature: 116
  55872. };
  55873. A.ImportCache_humanize_closure.prototype = {
  55874. call$1(result) {
  55875. return result._1.$eq(0, this.canonicalUrl);
  55876. },
  55877. $signature: 463
  55878. };
  55879. A.ImportCache_humanize_closure0.prototype = {
  55880. call$1(result) {
  55881. return result._2;
  55882. },
  55883. $signature: 278
  55884. };
  55885. A.ImportCache_humanize_closure1.prototype = {
  55886. call$1(url) {
  55887. return url.get$path(url).length;
  55888. },
  55889. $signature: 102
  55890. };
  55891. A.ImportCache_humanize_closure2.prototype = {
  55892. call$1(url) {
  55893. var t1 = $.$get$url(),
  55894. t2 = this.canonicalUrl;
  55895. return url.resolve$1(0, A.ParsedPath_ParsedPath$parse(t2.get$path(t2), t1.style).get$basename());
  55896. },
  55897. $signature: 48
  55898. };
  55899. A.Importer.prototype = {
  55900. modificationTime$1(url) {
  55901. return new A.DateTime(Date.now(), 0, false);
  55902. },
  55903. couldCanonicalize$2(url, canonicalUrl) {
  55904. return true;
  55905. },
  55906. isNonCanonicalScheme$1(scheme) {
  55907. return false;
  55908. }
  55909. };
  55910. A.AsyncImporter.prototype = {};
  55911. A.CanonicalizeContext.prototype = {};
  55912. A.FilesystemImporter.prototype = {
  55913. canonicalize$1(_, url) {
  55914. var resolved, _0_0;
  55915. if (url.get$scheme() === "file")
  55916. resolved = A.resolveImportPath($.$get$context().style.pathFromUri$1(A._parseUri(url)));
  55917. else if (url.get$scheme() !== "")
  55918. return null;
  55919. else {
  55920. _0_0 = this._loadPath;
  55921. if (_0_0 != null) {
  55922. resolved = A.resolveImportPath(A.join(_0_0, $.$get$context().style.pathFromUri$1(A._parseUri(url)), null));
  55923. if (resolved != null && this._loadPathDeprecated)
  55924. A.warnForDeprecation(string$.Using_t, B.Deprecation_tms);
  55925. } else
  55926. return null;
  55927. }
  55928. return A.NullableExtension_andThen(resolved, new A.FilesystemImporter_canonicalize_closure());
  55929. },
  55930. load$1(_, url) {
  55931. var path = $.$get$context().style.pathFromUri$1(A._parseUri(url)),
  55932. t1 = A.readFile(path),
  55933. t2 = A.Syntax_forPath(path),
  55934. t3 = url.get$scheme();
  55935. if (t3 === "")
  55936. A.throwExpression(A.ArgumentError$value(url, "sourceMapUrl", "must be absolute"));
  55937. return new A.ImporterResult(t1, url, t2);
  55938. },
  55939. modificationTime$1(url) {
  55940. return A.modificationTime($.$get$context().style.pathFromUri$1(A._parseUri(url)));
  55941. },
  55942. couldCanonicalize$2(url, canonicalUrl) {
  55943. var t1, t2, basename, canonicalBasename;
  55944. if (url.get$scheme() !== "file" && url.get$scheme() !== "")
  55945. return false;
  55946. if (canonicalUrl.get$scheme() !== "file")
  55947. return false;
  55948. t1 = $.$get$url();
  55949. t2 = t1.style;
  55950. basename = A.ParsedPath_ParsedPath$parse(url.get$path(url), t2).get$basename();
  55951. canonicalBasename = A.ParsedPath_ParsedPath$parse(canonicalUrl.get$path(canonicalUrl), t2).get$basename();
  55952. if (!B.JSString_methods.startsWith$1(basename, "_") && B.JSString_methods.startsWith$1(canonicalBasename, "_"))
  55953. canonicalBasename = B.JSString_methods.substring$1(canonicalBasename, 1);
  55954. return basename === canonicalBasename || basename === t1.withoutExtension$1(canonicalBasename);
  55955. },
  55956. toString$0(_) {
  55957. var t1 = this._loadPath;
  55958. return t1 == null ? "<absolute file importer>" : t1;
  55959. }
  55960. };
  55961. A.FilesystemImporter_canonicalize_closure.prototype = {
  55962. call$1(resolved) {
  55963. var t2, t0, _null = null,
  55964. t1 = A.isNodeJs() ? self.process : _null;
  55965. if (!J.$eq$(t1 == null ? _null : J.get$platform$x(t1), "win32")) {
  55966. t1 = A.isNodeJs() ? self.process : _null;
  55967. t1 = J.$eq$(t1 == null ? _null : J.get$platform$x(t1), "darwin");
  55968. } else
  55969. t1 = true;
  55970. if (t1) {
  55971. t1 = A.absolute(resolved, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null);
  55972. t2 = $.$get$context();
  55973. t1 = A._realCasePath(t2.normalize$1(t1));
  55974. } else {
  55975. t1 = $.$get$context();
  55976. t2 = t1.canonicalize$1(0, resolved);
  55977. t0 = t2;
  55978. t2 = t1;
  55979. t1 = t0;
  55980. }
  55981. return t2.toUri$1(t1);
  55982. },
  55983. $signature: 127
  55984. };
  55985. A.NoOpImporter.prototype = {};
  55986. A.NodePackageImporter.prototype = {
  55987. isNonCanonicalScheme$1(scheme) {
  55988. return scheme === "pkg";
  55989. },
  55990. canonicalize$1(_, url) {
  55991. 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;
  55992. if (url.get$scheme() === "file")
  55993. return $.$get$FilesystemImporter_cwd().canonicalize$1(0, url);
  55994. if (url.get$scheme() !== "pkg")
  55995. return _null;
  55996. if (url.get$hasAuthority())
  55997. throw A.wrapException(string$.A_pkg_h);
  55998. else {
  55999. t1 = $.$get$url();
  56000. t2 = t1.style;
  56001. if (t2.rootLength$1(url.get$path(url)) > 0)
  56002. throw A.wrapException("A pkg: URL's path must not begin with /.");
  56003. else if (url.get$path(url).length === 0)
  56004. throw A.wrapException("A pkg: URL must not have an empty path.");
  56005. else if (url.get$hasQuery() || url.get$hasFragment())
  56006. throw A.wrapException(string$.A_pkg_q);
  56007. }
  56008. t3 = A.canonicalizeContext();
  56009. t3._wasContainingUrlAccessed = true;
  56010. t3 = t3._containingUrl;
  56011. if ((t3 == null ? _null : t3.get$scheme()) === "file") {
  56012. t3 = A.canonicalizeContext();
  56013. t3._wasContainingUrlAccessed = true;
  56014. t3 = t3._containingUrl;
  56015. t3.toString;
  56016. t4 = $.$get$context();
  56017. baseDirectory = t4.dirname$1(t4.style.pathFromUri$1(A._parseUri(t3)));
  56018. } else {
  56019. t3 = _this.__NodePackageImporter__entryPointDirectory_F;
  56020. t3 === $ && A.throwUnnamedLateFieldNI();
  56021. baseDirectory = t3;
  56022. }
  56023. packageName = null;
  56024. parts = t1.split$1(0, url.get$path(url));
  56025. t3 = B.JSArray_methods.removeAt$1(parts, 0);
  56026. t4 = $.$get$context();
  56027. t3.toString;
  56028. t5 = t4.style;
  56029. $name = t5.pathFromUri$1(A._parseUri(t3));
  56030. if (B.JSString_methods.startsWith$1($name, "@"))
  56031. $name = parts.length !== 0 ? t1.join$2(0, $name, B.JSArray_methods.removeAt$1(parts, 0)) : $name;
  56032. subpath = parts.length !== 0 ? t5.pathFromUri$1(A._parseUri(t1.joinAll$1(parts))) : _null;
  56033. packageName = $name;
  56034. t1 = true;
  56035. if (!J.startsWith$1$s(packageName, "."))
  56036. if (!J.contains$1$asx(packageName, "\\"))
  56037. if (!J.contains$1$asx(packageName, "%"))
  56038. t1 = J.startsWith$1$s(packageName, "@") && !J.contains$1$asx(packageName, t2.get$separator(t2));
  56039. if (t1)
  56040. return _null;
  56041. packageRoot = _this._resolvePackageRoot$2(packageName, baseDirectory);
  56042. if (packageRoot == null)
  56043. return _null;
  56044. jsonPath = A.join(packageRoot, "package.json", _null);
  56045. jsonString = A.readFile(jsonPath);
  56046. packageManifest = null;
  56047. try {
  56048. packageManifest = type$.Map_String_dynamic._as(B.C_JsonCodec.decode$1(jsonString));
  56049. } catch (exception) {
  56050. e = A.unwrapException(exception);
  56051. t1 = A.S(jsonPath);
  56052. t2 = A.S(packageName);
  56053. t3 = A.S(e);
  56054. throw A.wrapException("Failed to parse " + t1 + ' for "pkg:' + t2 + '": ' + t3);
  56055. }
  56056. _1_0 = _this._resolvePackageExports$4(packageRoot, subpath, packageManifest, packageName);
  56057. if (_1_0 != null)
  56058. if (B.Set_FTDN4.contains$1(0, A.ParsedPath_ParsedPath$parse(_1_0, t5)._splitExtension$1(1)[1]))
  56059. return t4.toUri$1(t4.canonicalize$1(0, _1_0));
  56060. else {
  56061. t1 = subpath == null ? "root" : subpath;
  56062. throw A.wrapException("The export for '" + t1 + "' in '" + A.S(packageName) + "' resolved to '" + _1_0 + string$.x27x2c_whi);
  56063. }
  56064. if (subpath == null) {
  56065. rootPath = _this._resolvePackageRootValues$2(packageRoot, packageManifest);
  56066. return rootPath != null ? t4.toUri$1(t4.canonicalize$1(0, rootPath)) : _null;
  56067. }
  56068. subpathInRoot = A.join(packageRoot, subpath, _null);
  56069. return $.$get$FilesystemImporter_cwd().canonicalize$1(0, t4.toUri$1(subpathInRoot));
  56070. },
  56071. load$1(_, url) {
  56072. return $.$get$FilesystemImporter_cwd().load$1(0, url);
  56073. },
  56074. _resolvePackageRoot$2(packageName, baseDirectory) {
  56075. var potentialPackage, t1;
  56076. for (; true;) {
  56077. potentialPackage = A.join(baseDirectory, "node_modules", packageName);
  56078. if (A.dirExists(potentialPackage))
  56079. return potentialPackage;
  56080. t1 = $.$get$context();
  56081. if (t1.split$1(0, baseDirectory).length === 1)
  56082. return null;
  56083. baseDirectory = t1.dirname$1(baseDirectory);
  56084. }
  56085. },
  56086. _resolvePackageRootValues$2(packageRoot, packageManifest) {
  56087. var t1, sassValue, _1_0, styleValue, _null = null,
  56088. _0_0 = packageManifest.$index(0, "sass");
  56089. if (typeof _0_0 == "string") {
  56090. t1 = B.Set_FTDN4.contains$1(0, A.ParsedPath_ParsedPath$parse(_0_0, $.$get$url().style)._splitExtension$1(1)[1]);
  56091. sassValue = _0_0;
  56092. } else {
  56093. sassValue = _null;
  56094. t1 = false;
  56095. }
  56096. if (t1)
  56097. return A.join(packageRoot, sassValue, _null);
  56098. else {
  56099. _1_0 = packageManifest.$index(0, "style");
  56100. if (typeof _1_0 == "string") {
  56101. t1 = B.Set_FTDN4.contains$1(0, A.ParsedPath_ParsedPath$parse(_1_0, $.$get$url().style)._splitExtension$1(1)[1]);
  56102. styleValue = _1_0;
  56103. } else {
  56104. styleValue = _null;
  56105. t1 = false;
  56106. }
  56107. if (t1)
  56108. return A.join(packageRoot, styleValue, _null);
  56109. }
  56110. return A.resolveImportPath(A.join(packageRoot, "index", _null));
  56111. },
  56112. _resolvePackageExports$4(packageRoot, subpath, packageManifest, packageName) {
  56113. var _0_0, _1_0, _this = this,
  56114. exports = packageManifest.$index(0, "exports");
  56115. if (exports == null)
  56116. return null;
  56117. _0_0 = _this._nodePackageExportsResolve$5(packageRoot, _this._exportsToCheck$1(subpath), exports, subpath, packageName);
  56118. if (_0_0 != null)
  56119. return _0_0;
  56120. if (subpath != null && A.ParsedPath_ParsedPath$parse(subpath, $.$get$url().style)._splitExtension$1(1)[1].length !== 0)
  56121. return null;
  56122. _1_0 = _this._nodePackageExportsResolve$5(packageRoot, _this._exportsToCheck$2$addIndex(subpath, true), exports, subpath, packageName);
  56123. if (_1_0 != null)
  56124. return _1_0;
  56125. return null;
  56126. },
  56127. _nodePackageExportsResolve$5(packageRoot, subpathVariants, exports, subpath, packageName) {
  56128. var t1, matches, _1_1, path;
  56129. 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()))
  56130. 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) + ".");
  56131. t1 = type$.NonNullsIterable_String;
  56132. 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"));
  56133. matches = A.List_List$_of(t1, A._instanceType(t1)._precomputed1);
  56134. $label0$1: {
  56135. _1_1 = matches.length;
  56136. if (_1_1 === 1) {
  56137. path = matches[0];
  56138. t1 = path;
  56139. break $label0$1;
  56140. }
  56141. if (_1_1 <= 0) {
  56142. t1 = null;
  56143. break $label0$1;
  56144. }
  56145. t1 = subpath == null ? "root" : subpath;
  56146. t1 = A.throwExpression(string$.Unable + t1 + " in " + packageName + " should be used. \n\nFound:\n" + B.JSArray_methods.join$1(matches, "\n"));
  56147. }
  56148. return t1;
  56149. },
  56150. _compareExpansionKeys$2(keyA, keyB) {
  56151. var t1 = B.JSString_methods.contains$1(keyA, "*"),
  56152. baseLengthA = t1 ? B.JSString_methods.indexOf$1(keyA, "*") + 1 : keyA.length,
  56153. t2 = B.JSString_methods.contains$1(keyB, "*"),
  56154. baseLengthB = t2 ? B.JSString_methods.indexOf$1(keyB, "*") + 1 : keyB.length;
  56155. if (baseLengthA > baseLengthB)
  56156. return -1;
  56157. if (baseLengthB > baseLengthA)
  56158. return 1;
  56159. if (!t1)
  56160. return 1;
  56161. if (!t2)
  56162. return -1;
  56163. t1 = keyA.length;
  56164. t2 = keyB.length;
  56165. if (t1 > t2)
  56166. return -1;
  56167. if (t2 > t1)
  56168. return 1;
  56169. return 0;
  56170. },
  56171. _packageTargetResolve$4(subpath, exports, packageRoot, patternMatch) {
  56172. var t2, string, path, map, key, value, _1_0, array, _2_0, _null = null,
  56173. t1 = typeof exports == "string";
  56174. if (t1) {
  56175. t2 = !B.JSString_methods.startsWith$1(exports, "./");
  56176. string = exports;
  56177. } else {
  56178. string = _null;
  56179. t2 = false;
  56180. }
  56181. if (t2)
  56182. throw A.wrapException("Export '" + A.S(string) + string$.x27x20must + packageRoot + "'.");
  56183. if (t1) {
  56184. t2 = patternMatch != null;
  56185. string = exports;
  56186. } else {
  56187. string = _null;
  56188. t2 = false;
  56189. }
  56190. if (t2) {
  56191. t1 = J.replaceFirst$2$s(string, "*", patternMatch);
  56192. t2 = $.$get$context();
  56193. path = t2.normalize$1(A.join(packageRoot, t2.style.pathFromUri$1(A._parseUri(t1)), _null));
  56194. return A.fileExists(path) ? path : _null;
  56195. }
  56196. string = t1 ? exports : _null;
  56197. if (t1) {
  56198. t1 = $.$get$context();
  56199. string.toString;
  56200. return A.join(packageRoot, t1.style.pathFromUri$1(A._parseUri(string)), _null);
  56201. }
  56202. t1 = type$.Map_String_dynamic._is(exports);
  56203. map = t1 ? exports : _null;
  56204. if (t1) {
  56205. for (t1 = A.MapExtensions_get_pairs(map, type$.String, type$.dynamic), t1 = t1.get$iterator(t1); t1.moveNext$0();) {
  56206. t2 = t1.get$current(t1);
  56207. key = t2._0;
  56208. value = t2._1;
  56209. if (!B.Set_8229z.contains$1(0, key))
  56210. continue;
  56211. if (value == null)
  56212. continue;
  56213. _1_0 = this._packageTargetResolve$4(subpath, value, packageRoot, patternMatch);
  56214. if (_1_0 != null)
  56215. return _1_0;
  56216. }
  56217. return _null;
  56218. }
  56219. t1 = type$.List_dynamic._is(exports);
  56220. if (t1 && J.get$length$asx(exports) <= 0)
  56221. return _null;
  56222. array = t1 ? exports : _null;
  56223. if (t1) {
  56224. for (t1 = J.get$iterator$ax(array); t1.moveNext$0();) {
  56225. value = t1.get$current(t1);
  56226. if (value == null)
  56227. continue;
  56228. _2_0 = this._packageTargetResolve$4(subpath, value, packageRoot, patternMatch);
  56229. if (_2_0 != null)
  56230. return _2_0;
  56231. }
  56232. return _null;
  56233. }
  56234. throw A.wrapException("Invalid 'exports' value " + A.S(exports) + " in " + A.join(packageRoot, "package.json", _null) + ".");
  56235. },
  56236. _packageTargetResolve$3(subpath, exports, packageRoot) {
  56237. return this._packageTargetResolve$4(subpath, exports, packageRoot, null);
  56238. },
  56239. _getMainExport$1(exports) {
  56240. var t1, t2, t3, map, _0_4, t4, $export;
  56241. $label0$0: {
  56242. t1 = null;
  56243. if (typeof exports == "string") {
  56244. t1 = exports;
  56245. break $label0$0;
  56246. }
  56247. if (type$.List_String._is(exports)) {
  56248. t1 = exports;
  56249. break $label0$0;
  56250. }
  56251. t2 = type$.Map_String_dynamic._is(exports);
  56252. if (t2) {
  56253. t3 = !J.any$1$ax(exports.get$keys(exports), new A.NodePackageImporter__getMainExport_closure());
  56254. map = exports;
  56255. } else {
  56256. map = t1;
  56257. t3 = false;
  56258. }
  56259. if (t3) {
  56260. t1 = map;
  56261. break $label0$0;
  56262. }
  56263. t3 = false;
  56264. if (t2) {
  56265. _0_4 = exports.$index(0, ".");
  56266. if (_0_4 == null)
  56267. t4 = exports.containsKey$1(".");
  56268. else
  56269. t4 = true;
  56270. if (t4)
  56271. t3 = _0_4 != null;
  56272. } else
  56273. _0_4 = null;
  56274. if (t3) {
  56275. $export = t2 ? _0_4 : exports.$index(0, ".");
  56276. t1 = $export;
  56277. break $label0$0;
  56278. }
  56279. break $label0$0;
  56280. }
  56281. return t1;
  56282. },
  56283. _exportsToCheck$2$addIndex(subpath, addIndex) {
  56284. var basename, dirname, t3, t4, _i, path,
  56285. t1 = type$.JSArray_String,
  56286. paths = A._setArrayType([], t1),
  56287. t2 = subpath == null;
  56288. if (t2 && addIndex)
  56289. subpath = "index";
  56290. else if (!t2 && addIndex)
  56291. subpath = A.join(subpath, "index", null);
  56292. if (subpath == null)
  56293. return A._setArrayType([null], type$.JSArray_nullable_String);
  56294. if (B.Set_FTDN4.contains$1(0, A.ParsedPath_ParsedPath$parse(subpath, $.$get$url().style)._splitExtension$1(1)[1]))
  56295. paths.push(subpath);
  56296. else
  56297. B.JSArray_methods.addAll$1(paths, A._setArrayType([subpath, subpath + ".scss", subpath + ".sass", subpath + ".css"], t1));
  56298. t1 = $.$get$context();
  56299. t2 = t1.style;
  56300. basename = A.ParsedPath_ParsedPath$parse(subpath, t2).get$basename();
  56301. dirname = t1.dirname$1(subpath);
  56302. if (B.JSString_methods.startsWith$1(basename, "_"))
  56303. return paths;
  56304. t1 = A.List_List$_of(paths, type$.nullable_String);
  56305. for (t3 = paths.length, t4 = dirname === ".", _i = 0; _i < paths.length; paths.length === t3 || (0, A.throwConcurrentModificationError)(paths), ++_i) {
  56306. path = paths[_i];
  56307. if (t4)
  56308. t1.push("_" + A.ParsedPath_ParsedPath$parse(path, t2).get$basename());
  56309. else
  56310. t1.push(A.join(dirname, "_" + A.ParsedPath_ParsedPath$parse(path, t2).get$basename(), null));
  56311. }
  56312. return t1;
  56313. },
  56314. _exportsToCheck$1(subpath) {
  56315. return this._exportsToCheck$2$addIndex(subpath, false);
  56316. }
  56317. };
  56318. A.NodePackageImporter__nodePackageExportsResolve_closure.prototype = {
  56319. call$1(key) {
  56320. return B.JSString_methods.startsWith$1(key, ".");
  56321. },
  56322. $signature: 5
  56323. };
  56324. A.NodePackageImporter__nodePackageExportsResolve_closure0.prototype = {
  56325. call$1(key) {
  56326. return !B.JSString_methods.startsWith$1(key, ".");
  56327. },
  56328. $signature: 5
  56329. };
  56330. A.NodePackageImporter__nodePackageExportsResolve_closure1.prototype = {
  56331. call$1(key) {
  56332. return '"' + key + '"';
  56333. },
  56334. $signature: 6
  56335. };
  56336. A.NodePackageImporter__nodePackageExportsResolve_closure2.prototype = {
  56337. call$1(variant) {
  56338. var t1, matchKey, t2, t3, t4, t5, _i, expansionKey, _0_0, t6, patternBase, patternTrailer, t7, target, _this = this, _null = null;
  56339. if (variant == null) {
  56340. t1 = _this.$this;
  56341. return A.NullableExtension_andThen(t1._getMainExport$1(_this.exports), new A.NodePackageImporter__nodePackageExportsResolve__closure(t1, variant, _this.packageRoot));
  56342. } else {
  56343. t1 = _this.exports;
  56344. if (!type$.Map_String_dynamic._is(t1) || J.every$1$ax(t1.get$keys(t1), new A.NodePackageImporter__nodePackageExportsResolve__closure0()))
  56345. return _null;
  56346. }
  56347. matchKey = "./" + $.$get$context().toUri$1(variant).toString$0(0);
  56348. if (t1.containsKey$1(matchKey) && t1.$index(0, matchKey) != null && !B.JSString_methods.contains$1(matchKey, "*")) {
  56349. t1 = t1.$index(0, matchKey);
  56350. if (t1 == null)
  56351. t1 = type$.Object._as(t1);
  56352. return _this.$this._packageTargetResolve$3(matchKey, t1, _this.packageRoot);
  56353. }
  56354. t2 = A._setArrayType([], type$.JSArray_String);
  56355. for (t3 = J.get$iterator$ax(t1.get$keys(t1)); t3.moveNext$0();) {
  56356. t4 = t3.get$current(t3);
  56357. if (B.JSString_methods.allMatches$1("*", t4).get$length(0) === 1)
  56358. t2.push(t4);
  56359. }
  56360. t3 = _this.$this;
  56361. B.JSArray_methods.sort$1(t2, t3.get$_compareExpansionKeys());
  56362. for (t4 = t2.length, t5 = matchKey.length, _i = 0; _i < t2.length; t2.length === t4 || (0, A.throwConcurrentModificationError)(t2), ++_i) {
  56363. expansionKey = t2[_i];
  56364. _0_0 = expansionKey.split("*");
  56365. t6 = _0_0.length === 2;
  56366. if (t6) {
  56367. patternBase = _0_0[0];
  56368. patternTrailer = _0_0[1];
  56369. } else {
  56370. patternTrailer = _null;
  56371. patternBase = patternTrailer;
  56372. }
  56373. if (!t6)
  56374. throw A.wrapException(A.StateError$("Pattern matching error"));
  56375. if (!B.JSString_methods.startsWith$1(matchKey, patternBase))
  56376. continue;
  56377. if (matchKey === patternBase)
  56378. continue;
  56379. t6 = patternTrailer.length;
  56380. if (t6 !== 0)
  56381. t7 = B.JSString_methods.endsWith$1(matchKey, patternTrailer) && t5 >= expansionKey.length;
  56382. else
  56383. t7 = true;
  56384. if (t7) {
  56385. target = t1.$index(0, expansionKey);
  56386. if (target == null)
  56387. continue;
  56388. return t3._packageTargetResolve$4(variant, target, _this.packageRoot, B.JSString_methods.substring$2(matchKey, patternBase.length, t5 - t6));
  56389. }
  56390. }
  56391. return _null;
  56392. },
  56393. $signature: 147
  56394. };
  56395. A.NodePackageImporter__nodePackageExportsResolve__closure.prototype = {
  56396. call$1(mainExport) {
  56397. return this.$this._packageTargetResolve$3(this.variant, mainExport, this.packageRoot);
  56398. },
  56399. $signature: 148
  56400. };
  56401. A.NodePackageImporter__nodePackageExportsResolve__closure0.prototype = {
  56402. call$1(key) {
  56403. return !B.JSString_methods.startsWith$1(key, ".");
  56404. },
  56405. $signature: 5
  56406. };
  56407. A.NodePackageImporter__getMainExport_closure.prototype = {
  56408. call$1(key) {
  56409. return B.JSString_methods.startsWith$1(key, ".");
  56410. },
  56411. $signature: 5
  56412. };
  56413. A.ImporterResult.prototype = {
  56414. get$sourceMapUrl(_) {
  56415. return this._sourceMapUrl;
  56416. }
  56417. };
  56418. A.resolveImportPath_closure.prototype = {
  56419. call$0() {
  56420. return A._exactlyOne(A._tryPath($.$get$context().withoutExtension$1(this.path) + ".import" + this.extension));
  56421. },
  56422. $signature: 45
  56423. };
  56424. A.resolveImportPath_closure0.prototype = {
  56425. call$0() {
  56426. return A._exactlyOne(A._tryPathWithExtensions(this.path + ".import"));
  56427. },
  56428. $signature: 45
  56429. };
  56430. A._tryPathAsDirectory_closure.prototype = {
  56431. call$0() {
  56432. return A._exactlyOne(A._tryPathWithExtensions(A.join(this.path, "index.import", null)));
  56433. },
  56434. $signature: 45
  56435. };
  56436. A._exactlyOne_closure.prototype = {
  56437. call$1(path) {
  56438. var t1 = $.$get$context();
  56439. return " " + t1.prettyUri$1(t1.toUri$1(path));
  56440. },
  56441. $signature: 6
  56442. };
  56443. A.InterpolationBuffer.prototype = {
  56444. writeCharCode$1(character) {
  56445. var t1 = this._interpolation_buffer$_text,
  56446. t2 = A.Primitives_stringFromCharCode(character);
  56447. t1._contents += t2;
  56448. return null;
  56449. },
  56450. add$2(_, expression, span) {
  56451. this._flushText$0();
  56452. this._interpolation_buffer$_contents.push(expression);
  56453. this._spans.push(span);
  56454. },
  56455. addInterpolation$1(interpolation) {
  56456. var spansToAdd, _0_4_isSet, _0_4, _0_40, first, rest, t2, t3, _this = this,
  56457. toAdd = interpolation.contents,
  56458. t1 = toAdd.length;
  56459. if (t1 === 0)
  56460. return;
  56461. spansToAdd = interpolation.spans;
  56462. _0_4_isSet = t1 >= 1;
  56463. if (_0_4_isSet) {
  56464. _0_4 = toAdd[0];
  56465. _0_40 = _0_4;
  56466. t1 = typeof _0_4 == "string";
  56467. _0_4 = _0_40;
  56468. } else {
  56469. _0_4 = null;
  56470. t1 = false;
  56471. }
  56472. if (t1) {
  56473. first = A._asString(_0_4_isSet ? _0_4 : toAdd[0]);
  56474. rest = B.JSArray_methods.sublist$1(toAdd, 1);
  56475. t1 = _this._interpolation_buffer$_text;
  56476. t1._contents += first;
  56477. spansToAdd = A.SubListIterable$(spansToAdd, 1, null, A._arrayInstanceType(spansToAdd)._precomputed1);
  56478. toAdd = rest;
  56479. }
  56480. _this._flushText$0();
  56481. t1 = _this._interpolation_buffer$_contents;
  56482. B.JSArray_methods.addAll$1(t1, toAdd);
  56483. t2 = _this._spans;
  56484. B.JSArray_methods.addAll$1(t2, spansToAdd);
  56485. if (typeof B.JSArray_methods.get$last(t1) == "string") {
  56486. t3 = _this._interpolation_buffer$_text;
  56487. t1 = A.S(t1.pop());
  56488. t3._contents += t1;
  56489. t2.pop();
  56490. }
  56491. },
  56492. _flushText$0() {
  56493. var t1 = this._interpolation_buffer$_text,
  56494. t2 = t1._contents;
  56495. if (t2.length === 0)
  56496. return;
  56497. this._interpolation_buffer$_contents.push(t2.charCodeAt(0) == 0 ? t2 : t2);
  56498. this._spans.push(null);
  56499. t1._contents = "";
  56500. },
  56501. interpolation$1(span) {
  56502. var t1 = A.List_List$_of(this._interpolation_buffer$_contents, type$.Object),
  56503. t2 = this._interpolation_buffer$_text,
  56504. t3 = t2._contents;
  56505. if (t3.length !== 0)
  56506. t1.push(t3.charCodeAt(0) == 0 ? t3 : t3);
  56507. t3 = A.List_List$_of(this._spans, type$.nullable_FileSpan);
  56508. if (t2._contents.length !== 0)
  56509. t3.push(null);
  56510. return A.Interpolation$(t1, t3, span);
  56511. },
  56512. toString$0(_) {
  56513. var t1, t2, _i, t3, element;
  56514. for (t1 = this._interpolation_buffer$_contents, t2 = t1.length, _i = 0, t3 = ""; _i < t1.length; t1.length === t2 || (0, A.throwConcurrentModificationError)(t1), ++_i) {
  56515. element = t1[_i];
  56516. t3 = typeof element == "string" ? t3 + element : t3 + "#{" + A.S(element) + A.Primitives_stringFromCharCode(125);
  56517. }
  56518. t1 = t3 + this._interpolation_buffer$_text.toString$0(0);
  56519. return t1.charCodeAt(0) == 0 ? t1 : t1;
  56520. }
  56521. };
  56522. A.InterpolationMap.prototype = {
  56523. mapException$1(error) {
  56524. var source, startIndex, endIndex, t3, t4, _this = this,
  56525. target = error.get$span(error),
  56526. t1 = _this._interpolation,
  56527. t2 = t1.contents;
  56528. if (t2.length === 0)
  56529. return new A.SourceSpanFormatException(error.get$source(), error._span_exception$_message, t1.span);
  56530. source = _this.mapSpan$1(target);
  56531. startIndex = _this._indexInContents$1(target.get$start(target));
  56532. endIndex = _this._indexInContents$1(target.get$end(target));
  56533. t1 = error._span_exception$_message;
  56534. if (!A.SubListIterable$(t2, startIndex, null, A._arrayInstanceType(t2)._precomputed1).take$1(0, endIndex - startIndex + 1).any$1(0, new A.InterpolationMap_mapException_closure()))
  56535. return new A.SourceSpanFormatException(error.get$source(), t1, source);
  56536. else {
  56537. t2 = type$.SourceSpan;
  56538. t3 = type$.String;
  56539. t4 = A.LinkedHashMap_LinkedHashMap$_literal([target, "error in interpolated output"], t2, t3);
  56540. return new A.MultiSourceSpanFormatException(error.get$source(), "", A.ConstantMap_ConstantMap$from(t4, t2, t3), t1, source);
  56541. }
  56542. },
  56543. mapSpan$1(target) {
  56544. var _0_10, t1, _0_2_isSet, _0_20, t2, start, t3, end, _this = this, _null = null,
  56545. _0_1 = _this._mapLocation$1(target.get$start(target)),
  56546. _0_2 = _this._mapLocation$1(target.get$end(target));
  56547. $label0$0: {
  56548. _0_10 = _0_1;
  56549. t1 = type$.FileSpan;
  56550. _0_2_isSet = t1._is(_0_1);
  56551. _0_20 = _null;
  56552. t2 = false;
  56553. if (_0_2_isSet) {
  56554. start = t1._as(_0_10);
  56555. _0_20 = _0_2;
  56556. t2 = t1._is(_0_2);
  56557. } else
  56558. start = _null;
  56559. if (t2) {
  56560. t1 = start.expand$1(0, t1._as(_0_2_isSet ? _0_20 : _0_2));
  56561. break $label0$0;
  56562. }
  56563. t2 = false;
  56564. if (t1._is(_0_10)) {
  56565. start = t1._as(_0_10);
  56566. if (_0_2_isSet)
  56567. t2 = _0_20;
  56568. else {
  56569. t2 = _0_2;
  56570. _0_20 = t2;
  56571. _0_2_isSet = true;
  56572. }
  56573. t2 = t2 instanceof A.FileLocation;
  56574. } else
  56575. start = _null;
  56576. if (t2) {
  56577. t1 = _0_2_isSet ? _0_20 : _0_2;
  56578. type$.FileLocation._as(t1);
  56579. t1 = _this._interpolation.span.file.span$2(0, _this._expandInterpolationSpanLeft$1(start.get$start(start)), t1.offset);
  56580. break $label0$0;
  56581. }
  56582. t2 = false;
  56583. if (_0_10 instanceof A.FileLocation) {
  56584. t3 = _0_10;
  56585. type$.FileLocation._as(t3);
  56586. if (_0_2_isSet)
  56587. t2 = _0_20;
  56588. else {
  56589. t2 = _0_2;
  56590. _0_20 = t2;
  56591. _0_2_isSet = true;
  56592. }
  56593. t2 = t1._is(t2);
  56594. start = t3;
  56595. } else
  56596. start = _null;
  56597. if (t2) {
  56598. end = t1._as(_0_2_isSet ? _0_20 : _0_2);
  56599. t1 = _this._interpolation.span.file.span$2(0, start.offset, _this._expandInterpolationSpanRight$1(end.get$end(end)));
  56600. break $label0$0;
  56601. }
  56602. t1 = false;
  56603. if (_0_10 instanceof A.FileLocation) {
  56604. t2 = _0_10;
  56605. type$.FileLocation._as(t2);
  56606. if (_0_2_isSet)
  56607. t1 = _0_20;
  56608. else {
  56609. t1 = _0_2;
  56610. _0_20 = t1;
  56611. _0_2_isSet = true;
  56612. }
  56613. t1 = t1 instanceof A.FileLocation;
  56614. start = t2;
  56615. } else
  56616. start = _null;
  56617. if (t1) {
  56618. t1 = _0_2_isSet ? _0_20 : _0_2;
  56619. type$.FileLocation._as(t1);
  56620. t1 = _this._interpolation.span.file.span$2(0, start.offset, t1.offset);
  56621. break $label0$0;
  56622. }
  56623. t1 = A.throwExpression("[BUG] Unreachable");
  56624. }
  56625. return t1;
  56626. },
  56627. _mapLocation$1(target) {
  56628. var index, _0_0, t3, t4, previousLocation, _this = this,
  56629. t1 = _this._interpolation,
  56630. t2 = t1.contents;
  56631. if (t2.length === 0)
  56632. return t1.span;
  56633. index = _this._indexInContents$1(target);
  56634. _0_0 = t2[index];
  56635. if (_0_0 instanceof A.Expression)
  56636. return _0_0.get$span(_0_0);
  56637. t3 = index === 0;
  56638. t1 = t1.span;
  56639. t4 = t1.file;
  56640. if (t3)
  56641. previousLocation = A.FileLocation$_(t4, t1._file$_start);
  56642. else {
  56643. t1 = type$.Expression._as(t2[index - 1]);
  56644. t1 = t1.get$span(t1);
  56645. previousLocation = A.FileLocation$_(t4, _this._expandInterpolationSpanRight$1(t1.get$end(t1)));
  56646. }
  56647. t1 = t3 ? 0 : _this._targetLocations[index - 1].get$offset();
  56648. return A.FileLocation$_(previousLocation.file, previousLocation.offset + (target.offset - t1));
  56649. },
  56650. _indexInContents$1(target) {
  56651. var t1, t2, t3, i;
  56652. for (t1 = this._targetLocations, t2 = t1.length, t3 = target.offset, i = 0; i < t2; ++i)
  56653. if (t3 < t1[i].get$offset())
  56654. return i;
  56655. return this._interpolation.contents.length - 1;
  56656. },
  56657. _expandInterpolationSpanLeft$1(start) {
  56658. var i0, prev, char,
  56659. source = start.file._decodedChars,
  56660. i = start.offset - 1;
  56661. for (; i >= 0;) {
  56662. i0 = i - 1;
  56663. prev = source[i];
  56664. if (prev === 123) {
  56665. if (source[i0] === 35) {
  56666. i = i0;
  56667. break;
  56668. }
  56669. i = i0;
  56670. } else if (prev === 47) {
  56671. i = i0 - 1;
  56672. if (source[i0] === 42)
  56673. for (; true;) {
  56674. i0 = i - 1;
  56675. if (source[i] !== 42) {
  56676. i = i0;
  56677. continue;
  56678. }
  56679. i = i0;
  56680. do {
  56681. i0 = i - 1;
  56682. char = source[i];
  56683. if (char === 42) {
  56684. i = i0;
  56685. continue;
  56686. } else
  56687. break;
  56688. } while (true);
  56689. if (char === 47) {
  56690. i = i0;
  56691. break;
  56692. }
  56693. i = i0;
  56694. }
  56695. } else
  56696. i = i0;
  56697. }
  56698. return i;
  56699. },
  56700. _expandInterpolationSpanRight$1(end) {
  56701. var t1, i0, next, second, t2, char,
  56702. source = end.file._decodedChars,
  56703. i = end.offset;
  56704. for (t1 = source.length; i < t1;) {
  56705. i0 = i + 1;
  56706. next = source[i];
  56707. if (next === 125) {
  56708. i = i0;
  56709. break;
  56710. }
  56711. if (next === 47) {
  56712. i = i0 + 1;
  56713. second = source[i0];
  56714. if (second === 47) {
  56715. while (true) {
  56716. i0 = i + 1;
  56717. t2 = source[i];
  56718. if (!!(t2 === 10 || t2 === 13 || t2 === 12))
  56719. break;
  56720. i = i0;
  56721. }
  56722. i = i0;
  56723. } else if (second === 42)
  56724. for (; true;) {
  56725. i0 = i + 1;
  56726. if (source[i] !== 42) {
  56727. i = i0;
  56728. continue;
  56729. }
  56730. i = i0;
  56731. do {
  56732. i0 = i + 1;
  56733. char = source[i];
  56734. if (char === 42) {
  56735. i = i0;
  56736. continue;
  56737. } else
  56738. break;
  56739. } while (true);
  56740. if (char === 47) {
  56741. i = i0;
  56742. break;
  56743. }
  56744. i = i0;
  56745. }
  56746. } else
  56747. i = i0;
  56748. }
  56749. return i;
  56750. }
  56751. };
  56752. A.InterpolationMap_mapException_closure.prototype = {
  56753. call$1($content) {
  56754. return $content instanceof A.Expression;
  56755. },
  56756. $signature: 71
  56757. };
  56758. A._realCasePath_helper.prototype = {
  56759. call$2(path, realPath) {
  56760. var dirname = $.$get$context().dirname$1(path);
  56761. if (dirname === path)
  56762. return path;
  56763. return $._realCaseCache.putIfAbsent$2(path, new A._realCasePath_helper_closure(path, realPath, this, dirname));
  56764. },
  56765. call$1(path) {
  56766. return this.call$2(path, null);
  56767. },
  56768. $signature: 149
  56769. };
  56770. A._realCasePath_helper_closure.prototype = {
  56771. call$0() {
  56772. var realPathNonNull, realDirname, basename, matches, t1, _0_0, match, realPathNonNull0, exception, _this = this,
  56773. t2 = _this.path;
  56774. if (!A.linkExists(t2)) {
  56775. realPathNonNull = null;
  56776. try {
  56777. realPathNonNull0 = _this.realPath;
  56778. realPathNonNull = realPathNonNull0 == null ? A.realpath(t2) : realPathNonNull0;
  56779. } catch (exception) {
  56780. if (A.unwrapException(exception) instanceof A.FileSystemException)
  56781. return t2;
  56782. else
  56783. throw exception;
  56784. }
  56785. t1 = realPathNonNull;
  56786. t2 = $.$get$context();
  56787. return A.join(_this.helper.call$2(_this.dirname, t2.dirname$1(t1)), A.ParsedPath_ParsedPath$parse(realPathNonNull, t2.style).get$basename(), null);
  56788. }
  56789. realDirname = _this.helper.call$1(_this.dirname);
  56790. basename = A.ParsedPath_ParsedPath$parse(t2, $.$get$context().style).get$basename();
  56791. try {
  56792. matches = J.where$1$ax(A.listDir(realDirname, false), new A._realCasePath_helper__closure(basename)).toList$0(0);
  56793. t1 = null;
  56794. _0_0 = matches;
  56795. $label0$0: {
  56796. match = null;
  56797. if (J.get$length$asx(_0_0) === 1) {
  56798. match = J.$index$asx(_0_0, 0);
  56799. t1 = match;
  56800. break $label0$0;
  56801. }
  56802. t1 = A.join(realDirname, basename, null);
  56803. break $label0$0;
  56804. }
  56805. t1 = t1;
  56806. return t1;
  56807. } catch (exception) {
  56808. if (A.unwrapException(exception) instanceof A.FileSystemException)
  56809. return t2;
  56810. else
  56811. throw exception;
  56812. }
  56813. },
  56814. $signature: 27
  56815. };
  56816. A._realCasePath_helper__closure.prototype = {
  56817. call$1(realPath) {
  56818. return A.equalsIgnoreCase(A.ParsedPath_ParsedPath$parse(realPath, $.$get$context().style).get$basename(), this.basename);
  56819. },
  56820. $signature: 5
  56821. };
  56822. A.FileSystemException.prototype = {
  56823. toString$0(_) {
  56824. var t1 = $.$get$context();
  56825. return t1.prettyUri$1(t1.toUri$1(this.path)) + ": " + this.message;
  56826. },
  56827. get$message(receiver) {
  56828. return this.message;
  56829. }
  56830. };
  56831. A._readFile_closure.prototype = {
  56832. call$0() {
  56833. return J.readFileSync$2$x(A.fs(), this.path, this.encoding);
  56834. },
  56835. $signature: 59
  56836. };
  56837. A.writeFile_closure.prototype = {
  56838. call$0() {
  56839. return J.writeFileSync$2$x(A.fs(), this.path, this.contents);
  56840. },
  56841. $signature: 0
  56842. };
  56843. A.deleteFile_closure.prototype = {
  56844. call$0() {
  56845. return J.unlinkSync$1$x(A.fs(), this.path);
  56846. },
  56847. $signature: 0
  56848. };
  56849. A.readStdin_closure.prototype = {
  56850. call$1(result) {
  56851. this._box_0.contents = result;
  56852. this.completer.complete$1(result);
  56853. },
  56854. $signature: 115
  56855. };
  56856. A.readStdin_closure0.prototype = {
  56857. call$1(chunk) {
  56858. this.sink.add$1(0, type$.List_int._as(chunk));
  56859. },
  56860. call$0() {
  56861. return this.call$1(null);
  56862. },
  56863. "call*": "call$1",
  56864. $requiredArgCount: 0,
  56865. $defaultValues() {
  56866. return [null];
  56867. },
  56868. $signature: 111
  56869. };
  56870. A.readStdin_closure1.prototype = {
  56871. call$1(arg) {
  56872. this.sink.close$0(0);
  56873. },
  56874. call$0() {
  56875. return this.call$1(null);
  56876. },
  56877. "call*": "call$1",
  56878. $requiredArgCount: 0,
  56879. $defaultValues() {
  56880. return [null];
  56881. },
  56882. $signature: 111
  56883. };
  56884. A.readStdin_closure2.prototype = {
  56885. call$1(e) {
  56886. A.printError("Failed to read from stdin");
  56887. A.printError(e);
  56888. e.toString;
  56889. this.completer.completeError$1(e);
  56890. },
  56891. call$0() {
  56892. return this.call$1(null);
  56893. },
  56894. "call*": "call$1",
  56895. $requiredArgCount: 0,
  56896. $defaultValues() {
  56897. return [null];
  56898. },
  56899. $signature: 111
  56900. };
  56901. A.fileExists_closure.prototype = {
  56902. call$0() {
  56903. var error, systemError, exception,
  56904. t1 = this.path;
  56905. if (!J.existsSync$1$x(A.fs(), t1))
  56906. return false;
  56907. try {
  56908. t1 = J.isFile$0$x(J.statSync$1$x(A.fs(), t1));
  56909. return t1;
  56910. } catch (exception) {
  56911. error = A.unwrapException(exception);
  56912. systemError = type$.JsSystemError._as(error);
  56913. if (J.$eq$(J.get$code$x(systemError), "ENOENT"))
  56914. return false;
  56915. throw exception;
  56916. }
  56917. },
  56918. $signature: 20
  56919. };
  56920. A.dirExists_closure.prototype = {
  56921. call$0() {
  56922. var error, systemError, exception,
  56923. t1 = this.path;
  56924. if (!J.existsSync$1$x(A.fs(), t1))
  56925. return false;
  56926. try {
  56927. t1 = J.isDirectory$0$x(J.statSync$1$x(A.fs(), t1));
  56928. return t1;
  56929. } catch (exception) {
  56930. error = A.unwrapException(exception);
  56931. systemError = type$.JsSystemError._as(error);
  56932. if (J.$eq$(J.get$code$x(systemError), "ENOENT"))
  56933. return false;
  56934. throw exception;
  56935. }
  56936. },
  56937. $signature: 20
  56938. };
  56939. A.linkExists_closure.prototype = {
  56940. call$0() {
  56941. var error, systemError, t1, exception;
  56942. try {
  56943. t1 = J.isSymbolicLink$0$x(J.lstatSync$1$x(A.fs(), this.path));
  56944. return t1;
  56945. } catch (exception) {
  56946. error = A.unwrapException(exception);
  56947. systemError = type$.JsSystemError._as(error);
  56948. if (J.$eq$(J.get$code$x(systemError), "ENOENT"))
  56949. return false;
  56950. throw exception;
  56951. }
  56952. },
  56953. $signature: 20
  56954. };
  56955. A.ensureDir_closure.prototype = {
  56956. call$0() {
  56957. var error, systemError, exception, t1;
  56958. try {
  56959. J.mkdirSync$1$x(A.fs(), this.path);
  56960. } catch (exception) {
  56961. error = A.unwrapException(exception);
  56962. systemError = type$.JsSystemError._as(error);
  56963. if (J.$eq$(J.get$code$x(systemError), "EEXIST"))
  56964. return;
  56965. if (!J.$eq$(J.get$code$x(systemError), "ENOENT"))
  56966. throw exception;
  56967. t1 = this.path;
  56968. A.ensureDir($.$get$context().dirname$1(t1));
  56969. J.mkdirSync$1$x(A.fs(), t1);
  56970. }
  56971. },
  56972. $signature: 0
  56973. };
  56974. A.listDir_closure.prototype = {
  56975. call$0() {
  56976. var t1 = this.path;
  56977. if (!this.recursive)
  56978. 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());
  56979. else
  56980. return new A.listDir_closure_list().call$1(t1);
  56981. },
  56982. $signature: 152
  56983. };
  56984. A.listDir__closure.prototype = {
  56985. call$1(child) {
  56986. return A.join(this.path, A._asString(child), null);
  56987. },
  56988. $signature: 134
  56989. };
  56990. A.listDir__closure0.prototype = {
  56991. call$1(child) {
  56992. return !A.dirExists(child);
  56993. },
  56994. $signature: 5
  56995. };
  56996. A.listDir_closure_list.prototype = {
  56997. call$1($parent) {
  56998. return J.expand$1$1$ax(J.readdirSync$1$x(A.fs(), $parent), new A.listDir__list_closure($parent, this), type$.String);
  56999. },
  57000. $signature: 153
  57001. };
  57002. A.listDir__list_closure.prototype = {
  57003. call$1(child) {
  57004. var path = A.join(this.parent, A._asString(child), null);
  57005. return A.dirExists(path) ? this.list.call$1(path) : A._setArrayType([path], type$.JSArray_String);
  57006. },
  57007. $signature: 154
  57008. };
  57009. A.realpath_closure.prototype = {
  57010. call$0() {
  57011. return J.native$1$x(J.get$realpathSync$x(A.fs()), this.path);
  57012. },
  57013. $signature: 27
  57014. };
  57015. A.modificationTime_closure.prototype = {
  57016. call$0() {
  57017. var t1 = J.getTime$0$x(J.get$mtime$x(J.statSync$1$x(A.fs(), this.path)));
  57018. if (t1 < -864e13 || t1 > 864e13)
  57019. A.throwExpression(A.RangeError$range(t1, -864e13, 864e13, "millisecondsSinceEpoch", null));
  57020. A.checkNotNullable(false, "isUtc", type$.bool);
  57021. return new A.DateTime(t1, 0, false);
  57022. },
  57023. $signature: 155
  57024. };
  57025. A.watchDir_closure0.prototype = {
  57026. call$2(error, events) {
  57027. var t1, t2, t3, t4, t5, lastEvent;
  57028. if (error != null) {
  57029. t1 = this._box_0.controller;
  57030. if (t1 != null)
  57031. t1.addError$1(error);
  57032. } else
  57033. for (t1 = J.get$iterator$ax(events), t2 = this._box_0; t1.moveNext$0();) {
  57034. t3 = t1.get$current(t1);
  57035. switch (t3.type) {
  57036. case "create":
  57037. t4 = t2.controller;
  57038. if (t4 != null) {
  57039. t3 = new A.WatchEvent(B.ChangeType_add, t3.path);
  57040. t5 = t4._state;
  57041. if (t5 >= 4)
  57042. A.throwExpression(t4._badEventState$0());
  57043. if ((t5 & 1) !== 0)
  57044. t4._sendData$1(t3);
  57045. else if ((t5 & 3) === 0) {
  57046. t4 = t4._ensurePendingEvents$0();
  57047. t3 = new A._DelayedData(t3);
  57048. lastEvent = t4.lastPendingEvent;
  57049. if (lastEvent == null)
  57050. t4.firstPendingEvent = t4.lastPendingEvent = t3;
  57051. else {
  57052. lastEvent.set$next(t3);
  57053. t4.lastPendingEvent = t3;
  57054. }
  57055. }
  57056. }
  57057. break;
  57058. case "update":
  57059. t4 = t2.controller;
  57060. if (t4 != null) {
  57061. t3 = new A.WatchEvent(B.ChangeType_modify, t3.path);
  57062. t5 = t4._state;
  57063. if (t5 >= 4)
  57064. A.throwExpression(t4._badEventState$0());
  57065. if ((t5 & 1) !== 0)
  57066. t4._sendData$1(t3);
  57067. else if ((t5 & 3) === 0) {
  57068. t4 = t4._ensurePendingEvents$0();
  57069. t3 = new A._DelayedData(t3);
  57070. lastEvent = t4.lastPendingEvent;
  57071. if (lastEvent == null)
  57072. t4.firstPendingEvent = t4.lastPendingEvent = t3;
  57073. else {
  57074. lastEvent.set$next(t3);
  57075. t4.lastPendingEvent = t3;
  57076. }
  57077. }
  57078. }
  57079. break;
  57080. case "delete":
  57081. t4 = t2.controller;
  57082. if (t4 != null) {
  57083. t3 = new A.WatchEvent(B.ChangeType_remove, t3.path);
  57084. t5 = t4._state;
  57085. if (t5 >= 4)
  57086. A.throwExpression(t4._badEventState$0());
  57087. if ((t5 & 1) !== 0)
  57088. t4._sendData$1(t3);
  57089. else if ((t5 & 3) === 0) {
  57090. t4 = t4._ensurePendingEvents$0();
  57091. t3 = new A._DelayedData(t3);
  57092. lastEvent = t4.lastPendingEvent;
  57093. if (lastEvent == null)
  57094. t4.firstPendingEvent = t4.lastPendingEvent = t3;
  57095. else {
  57096. lastEvent.set$next(t3);
  57097. t4.lastPendingEvent = t3;
  57098. }
  57099. }
  57100. }
  57101. break;
  57102. }
  57103. }
  57104. },
  57105. $signature: 340
  57106. };
  57107. A.watchDir_closure.prototype = {
  57108. call$0() {
  57109. this.subscription.unsubscribe();
  57110. },
  57111. $signature: 1
  57112. };
  57113. A.watchDir_closure1.prototype = {
  57114. call$2(path, _) {
  57115. var t1 = this._box_0.controller;
  57116. return t1 == null ? null : t1.add$1(0, new A.WatchEvent(B.ChangeType_add, path));
  57117. },
  57118. call$1(path) {
  57119. return this.call$2(path, null);
  57120. },
  57121. "call*": "call$2",
  57122. $requiredArgCount: 1,
  57123. $defaultValues() {
  57124. return [null];
  57125. },
  57126. $signature: 156
  57127. };
  57128. A.watchDir_closure2.prototype = {
  57129. call$2(path, _) {
  57130. var t1 = this._box_0.controller;
  57131. return t1 == null ? null : t1.add$1(0, new A.WatchEvent(B.ChangeType_modify, path));
  57132. },
  57133. call$1(path) {
  57134. return this.call$2(path, null);
  57135. },
  57136. "call*": "call$2",
  57137. $requiredArgCount: 1,
  57138. $defaultValues() {
  57139. return [null];
  57140. },
  57141. $signature: 156
  57142. };
  57143. A.watchDir_closure3.prototype = {
  57144. call$1(path) {
  57145. var t1 = this._box_0.controller;
  57146. return t1 == null ? null : t1.add$1(0, new A.WatchEvent(B.ChangeType_remove, path));
  57147. },
  57148. $signature: 115
  57149. };
  57150. A.watchDir_closure4.prototype = {
  57151. call$1(error) {
  57152. var t1 = this._box_0.controller;
  57153. return t1 == null ? null : t1.addError$1(error);
  57154. },
  57155. $signature: 113
  57156. };
  57157. A.watchDir_closure5.prototype = {
  57158. call$0() {
  57159. var controller = A.StreamController_StreamController(new A.watchDir__closure(this.watcher), null, null, null, false, type$.WatchEvent);
  57160. this._box_0.controller = controller;
  57161. this.completer.complete$1(new A._ControllerStream(controller, A._instanceType(controller)._eval$1("_ControllerStream<1>")));
  57162. },
  57163. $signature: 1
  57164. };
  57165. A.watchDir__closure.prototype = {
  57166. call$0() {
  57167. J.close$0$x(this.watcher);
  57168. },
  57169. $signature: 1
  57170. };
  57171. A.JSArray0.prototype = {};
  57172. A.Chokidar.prototype = {};
  57173. A.ChokidarOptions.prototype = {};
  57174. A.ChokidarWatcher.prototype = {};
  57175. A.JSFunction.prototype = {};
  57176. A.ImmutableList.prototype = {};
  57177. A.ImmutableMap.prototype = {};
  57178. A.NodeImporterResult.prototype = {};
  57179. A.RenderContext.prototype = {};
  57180. A.RenderContextOptions.prototype = {};
  57181. A.RenderContextResult.prototype = {};
  57182. A.RenderContextResultStats.prototype = {};
  57183. A.JSModule.prototype = {};
  57184. A.JSModuleRequire.prototype = {};
  57185. A.ParcelWatcher_subscribe_closure.prototype = {
  57186. call$2(error, events) {
  57187. var t1 = type$.List_JSObject._is(events) ? events : new A.CastList(events, A._arrayInstanceType(events)._eval$1("CastList<1,JSObject>"));
  57188. this.callback.call$2(error, t1);
  57189. },
  57190. $signature: 357
  57191. };
  57192. A.JSClass.prototype = {};
  57193. A.JSUrl.prototype = {};
  57194. A._PropertyDescriptor.prototype = {};
  57195. A._RequireMain.prototype = {};
  57196. A.LoggerWithDeprecationType.prototype = {
  57197. warn$4$deprecation$span$trace(_, message, deprecation, span, trace) {
  57198. this.internalWarn$4$deprecation$span$trace(message, deprecation ? B.Deprecation_KtC : null, span, trace);
  57199. },
  57200. warn$1(_, message) {
  57201. return this.warn$4$deprecation$span$trace(0, message, false, null, null);
  57202. },
  57203. warn$3$span$trace(_, message, span, trace) {
  57204. return this.warn$4$deprecation$span$trace(0, message, false, span, trace);
  57205. }
  57206. };
  57207. A._QuietLogger.prototype = {
  57208. warn$4$deprecation$span$trace(_, message, deprecation, span, trace) {
  57209. },
  57210. warn$1(_, message) {
  57211. return this.warn$4$deprecation$span$trace(0, message, false, null, null);
  57212. },
  57213. warn$3$span$trace(_, message, span, trace) {
  57214. return this.warn$4$deprecation$span$trace(0, message, false, span, trace);
  57215. },
  57216. debug$2(_, message, span) {
  57217. }
  57218. };
  57219. A.DeprecationProcessingLogger.prototype = {
  57220. validate$0() {
  57221. var t1, t2, t3, t4, _this = this, _null = null;
  57222. for (t1 = _this.fatalDeprecations, t1 = t1.get$iterator(t1), t2 = _this.silenceDeprecations; t1.moveNext$0();) {
  57223. t3 = t1.get$current(t1);
  57224. t4 = t2.contains$1(0, t3);
  57225. if (t4) {
  57226. t3 = t3.toString$0(0);
  57227. _this.internalWarn$4$deprecation$span$trace("Ignoring setting to silence " + t3 + string$.x20deprex2c, _null, _null, _null);
  57228. continue;
  57229. }
  57230. }
  57231. for (t1 = A._LinkedHashSetIterator$(t2, t2._collection$_modifications, A._instanceType(t2)._precomputed1), t2 = t1.$ti._precomputed1, t3 = _this.futureDeprecations; t1.moveNext$0();) {
  57232. t4 = t1._collection$_current;
  57233. if (B.Deprecation_KtC === (t4 == null ? t2._as(t4) : t4)) {
  57234. _this.internalWarn$4$deprecation$span$trace(string$.User_a, _null, _null, _null);
  57235. continue;
  57236. }
  57237. }
  57238. for (t1 = A._LinkedHashSetIterator$(t3, t3._collection$_modifications, A._instanceType(t3)._precomputed1), t2 = t1.$ti._precomputed1; t1.moveNext$0();) {
  57239. t3 = t1._collection$_current;
  57240. t3 = (t3 == null ? t2._as(t3) : t3).toString$0(0);
  57241. _this.internalWarn$4$deprecation$span$trace(t3 + string$.x20is_noaf, _null, _null, _null);
  57242. }
  57243. },
  57244. internalWarn$4$deprecation$span$trace(message, deprecation, span, trace) {
  57245. if (deprecation != null)
  57246. this._handleDeprecation$4$span$trace(deprecation, message, span, trace);
  57247. else
  57248. this._inner.warn$3$span$trace(0, message, span, trace);
  57249. },
  57250. _handleDeprecation$4$span$trace(deprecation, message, span, trace) {
  57251. var _0_3_isSet, _0_3, t1, span0, t2, count, _1_0, _this = this, _null = null;
  57252. if (_this.fatalDeprecations.contains$1(0, deprecation)) {
  57253. message += string$.x0a_This + deprecation.toString$0(0) + string$.x20deprex20;
  57254. $label0$0: {
  57255. _0_3_isSet = span != null;
  57256. _0_3 = _null;
  57257. t1 = false;
  57258. if (_0_3_isSet) {
  57259. span0 = span == null ? type$.FileSpan._as(span) : span;
  57260. t1 = trace != null;
  57261. _0_3 = trace;
  57262. } else
  57263. span0 = _null;
  57264. if (t1) {
  57265. if (_0_3_isSet)
  57266. trace = _0_3;
  57267. t1 = A.SassRuntimeException$(message, span0, trace == null ? type$.Trace._as(trace) : trace, _null);
  57268. break $label0$0;
  57269. }
  57270. t1 = false;
  57271. if (span != null)
  57272. t1 = (_0_3_isSet ? _0_3 : trace) == null;
  57273. else
  57274. span = _null;
  57275. if (t1) {
  57276. t1 = A.SassException$(message, span, _null);
  57277. break $label0$0;
  57278. }
  57279. t1 = A.SassScriptException$(message, _null);
  57280. break $label0$0;
  57281. }
  57282. throw A.wrapException(t1);
  57283. }
  57284. if (_this.silenceDeprecations.contains$1(0, deprecation))
  57285. return;
  57286. if (_this.limitRepetition) {
  57287. t1 = _this._warningCounts;
  57288. t2 = t1.$index(0, deprecation);
  57289. count = (t2 == null ? 0 : t2) + 1;
  57290. t1.$indexSet(0, deprecation, count);
  57291. if (count > 5)
  57292. return;
  57293. }
  57294. _1_0 = _this._inner;
  57295. if (_1_0 instanceof A.LoggerWithDeprecationType)
  57296. _1_0.internalWarn$4$deprecation$span$trace(message, deprecation, span, trace);
  57297. else
  57298. _1_0.warn$4$deprecation$span$trace(0, message, true, span, trace);
  57299. },
  57300. debug$2(_, message, span) {
  57301. return this._inner.debug$2(0, message, span);
  57302. },
  57303. summarize$1$js(js) {
  57304. var t1 = this._warningCounts,
  57305. t2 = A._instanceType(t1)._eval$1("LinkedHashMapValuesIterable<2>"),
  57306. 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>")));
  57307. if (total > 0) {
  57308. t1 = js ? "" : string$.x0aRun_i;
  57309. this._inner.warn$1(0, "" + total + string$.x20repet + t1);
  57310. }
  57311. }
  57312. };
  57313. A.DeprecationProcessingLogger_summarize_closure.prototype = {
  57314. call$1(count) {
  57315. return count > 5;
  57316. },
  57317. $signature: 47
  57318. };
  57319. A.DeprecationProcessingLogger_summarize_closure0.prototype = {
  57320. call$1(count) {
  57321. return count - 5;
  57322. },
  57323. $signature: 157
  57324. };
  57325. A.StderrLogger.prototype = {
  57326. internalWarn$4$deprecation$span$trace(message, deprecation, span, trace) {
  57327. var t3,
  57328. result = new A.StringBuffer(""),
  57329. t1 = deprecation != null,
  57330. showDeprecation = t1 && deprecation !== B.Deprecation_KtC,
  57331. t2 = this.color;
  57332. if (t2) {
  57333. t3 = result._contents = "" + "\x1b[33m\x1b[1m";
  57334. t3 = result._contents = (t1 ? result._contents = t3 + "Deprecation " : t3) + "Warning\x1b[0m";
  57335. if (showDeprecation) {
  57336. t1 = t3 + (" [\x1b[34m" + deprecation.toString$0(0) + "\x1b[0m]");
  57337. result._contents = t1;
  57338. } else
  57339. t1 = t3;
  57340. } else {
  57341. t3 = result._contents = (t1 ? result._contents = "" + "DEPRECATION " : "") + "WARNING";
  57342. if (showDeprecation) {
  57343. t1 = t3 + (" [" + deprecation.toString$0(0) + "]");
  57344. result._contents = t1;
  57345. } else
  57346. t1 = t3;
  57347. }
  57348. if (span == null)
  57349. t1 = result._contents = t1 + (": " + message + "\n");
  57350. else if (trace != null) {
  57351. t1 += ": " + message + "\n\n" + span.highlight$1$color(t2) + "\n";
  57352. result._contents = t1;
  57353. } else {
  57354. t1 += " on " + span.message$2$color(0, "\n" + message, t2) + "\n";
  57355. result._contents = t1;
  57356. }
  57357. if (trace != null)
  57358. result._contents = t1 + (A.indent(B.JSString_methods.trimRight$0(trace.toString$0(0)), 4) + "\n");
  57359. A.printError(result);
  57360. },
  57361. debug$2(_, message, span) {
  57362. var url, t3, t4,
  57363. t1 = span.file,
  57364. t2 = span._file$_start;
  57365. if (A.FileLocation$_(t1, t2).file.url == null)
  57366. url = "-";
  57367. else {
  57368. t3 = A.FileLocation$_(t1, t2).file.url;
  57369. t4 = $.$get$context();
  57370. t3.toString;
  57371. url = t4.prettyUri$1(t3);
  57372. }
  57373. t1 = A.FileLocation$_(t1, t2);
  57374. t1 = t1.file.getLine$1(t1.offset);
  57375. t2 = this.color ? "\x1b[1mDebug\x1b[0m" : "DEBUG";
  57376. t2 = "" + (url + ":" + (t1 + 1) + " ") + t2 + (": " + message);
  57377. A.printError(t2.charCodeAt(0) == 0 ? t2 : t2);
  57378. }
  57379. };
  57380. A.TrackingLogger.prototype = {
  57381. warn$4$deprecation$span$trace(_, message, deprecation, span, trace) {
  57382. this._emittedWarning = true;
  57383. this._tracking$_logger.warn$4$deprecation$span$trace(0, message, deprecation, span, trace);
  57384. },
  57385. warn$1(_, message) {
  57386. return this.warn$4$deprecation$span$trace(0, message, false, null, null);
  57387. },
  57388. warn$3$span$trace(_, message, span, trace) {
  57389. return this.warn$4$deprecation$span$trace(0, message, false, span, trace);
  57390. },
  57391. debug$2(_, message, span) {
  57392. this._emittedDebug = true;
  57393. this._tracking$_logger.debug$2(0, message, span);
  57394. }
  57395. };
  57396. A.BuiltInModule.prototype = {
  57397. get$upstream() {
  57398. return B.List_empty7;
  57399. },
  57400. get$variableNodes() {
  57401. return B.Map_empty3;
  57402. },
  57403. get$extensionStore() {
  57404. return B.C_EmptyExtensionStore;
  57405. },
  57406. get$css(_) {
  57407. return new A.CssStylesheet(B.List_empty3, A.SourceFile$decoded(B.List_empty4, this.url).span$2(0, 0, 0));
  57408. },
  57409. get$preModuleComments() {
  57410. return B.Map_empty1;
  57411. },
  57412. get$transitivelyContainsCss() {
  57413. return false;
  57414. },
  57415. get$transitivelyContainsExtensions() {
  57416. return false;
  57417. },
  57418. setVariable$3($name, value, nodeWithSpan) {
  57419. if (!this.variables.containsKey$1($name))
  57420. throw A.wrapException(A.SassScriptException$("Undefined variable.", null));
  57421. throw A.wrapException(A.SassScriptException$("Cannot modify built-in variable.", null));
  57422. },
  57423. variableIdentity$1($name) {
  57424. return this;
  57425. },
  57426. couldHaveBeenConfigured$1(_) {
  57427. return false;
  57428. },
  57429. cloneCss$0() {
  57430. return this;
  57431. },
  57432. $isModule0: 1,
  57433. get$url(receiver) {
  57434. return this.url;
  57435. },
  57436. get$functions(receiver) {
  57437. return this.functions;
  57438. },
  57439. get$mixins() {
  57440. return this.mixins;
  57441. },
  57442. get$variables() {
  57443. return this.variables;
  57444. }
  57445. };
  57446. A.ForwardedModuleView.prototype = {
  57447. get$url(_) {
  57448. var t1 = this._forwarded_view$_inner;
  57449. return t1.get$url(t1);
  57450. },
  57451. get$upstream() {
  57452. return this._forwarded_view$_inner.get$upstream();
  57453. },
  57454. get$extensionStore() {
  57455. return this._forwarded_view$_inner.get$extensionStore();
  57456. },
  57457. get$css(_) {
  57458. var t1 = this._forwarded_view$_inner;
  57459. return t1.get$css(t1);
  57460. },
  57461. get$preModuleComments() {
  57462. return this._forwarded_view$_inner.get$preModuleComments();
  57463. },
  57464. get$transitivelyContainsCss() {
  57465. return this._forwarded_view$_inner.get$transitivelyContainsCss();
  57466. },
  57467. get$transitivelyContainsExtensions() {
  57468. return this._forwarded_view$_inner.get$transitivelyContainsExtensions();
  57469. },
  57470. setVariable$3($name, value, nodeWithSpan) {
  57471. var t2, _1_0, _2_0,
  57472. _s19_ = "Undefined variable.",
  57473. t1 = this._rule,
  57474. _0_0 = t1.shownVariables;
  57475. if (_0_0 != null)
  57476. t2 = !_0_0._base.contains$1(0, $name);
  57477. else
  57478. t2 = false;
  57479. if (t2)
  57480. throw A.wrapException(A.SassScriptException$(_s19_, null));
  57481. else {
  57482. _1_0 = t1.hiddenVariables;
  57483. if (_1_0 != null)
  57484. t2 = _1_0._base.contains$1(0, $name);
  57485. else
  57486. t2 = false;
  57487. if (t2)
  57488. throw A.wrapException(A.SassScriptException$(_s19_, null));
  57489. }
  57490. _2_0 = t1.prefix;
  57491. if (_2_0 != null) {
  57492. if (!B.JSString_methods.startsWith$1($name, _2_0))
  57493. throw A.wrapException(A.SassScriptException$(_s19_, null));
  57494. $name = B.JSString_methods.substring$1($name, _2_0.length);
  57495. }
  57496. return this._forwarded_view$_inner.setVariable$3($name, value, nodeWithSpan);
  57497. },
  57498. variableIdentity$1($name) {
  57499. var _0_0 = this._rule.prefix;
  57500. if (_0_0 != null)
  57501. $name = B.JSString_methods.substring$1($name, _0_0.length);
  57502. return this._forwarded_view$_inner.variableIdentity$1($name);
  57503. },
  57504. couldHaveBeenConfigured$1(variables) {
  57505. var t5, t6, _1_0, _2_0, blocklist, _this = this,
  57506. t1 = _this._rule,
  57507. t2 = t1.prefix,
  57508. t3 = t2 == null,
  57509. t4 = false;
  57510. if (t3)
  57511. if (t1.shownVariables == null) {
  57512. t4 = t1.hiddenVariables;
  57513. t4 = t4 == null ? null : t4._base.get$isEmpty(0);
  57514. t4 = t4 !== false;
  57515. }
  57516. if (t4)
  57517. return _this._forwarded_view$_inner.couldHaveBeenConfigured$1(variables);
  57518. if (!t3) {
  57519. t3 = A.LinkedHashSet_LinkedHashSet$_empty(type$.String);
  57520. for (t4 = variables.get$iterator(variables), t5 = t2.length; t4.moveNext$0();) {
  57521. t6 = t4.get$current(t4);
  57522. if (B.JSString_methods.startsWith$1(t6, t2))
  57523. t3.add$1(0, B.JSString_methods.substring$1(t6, t5));
  57524. }
  57525. variables = t3;
  57526. }
  57527. _1_0 = t1.shownVariables;
  57528. if (_1_0 != null)
  57529. return _this._forwarded_view$_inner.couldHaveBeenConfigured$1(variables.intersection$1(_1_0));
  57530. else {
  57531. _2_0 = t1.hiddenVariables;
  57532. if (_2_0 != null) {
  57533. t1 = _2_0._base.get$isNotEmpty(0);
  57534. blocklist = _2_0;
  57535. } else {
  57536. blocklist = null;
  57537. t1 = false;
  57538. }
  57539. t2 = _this._forwarded_view$_inner;
  57540. if (t1)
  57541. return t2.couldHaveBeenConfigured$1(variables.difference$1(blocklist));
  57542. else
  57543. return t2.couldHaveBeenConfigured$1(variables);
  57544. }
  57545. },
  57546. $eq(_, other) {
  57547. if (other == null)
  57548. return false;
  57549. return other instanceof A.ForwardedModuleView && this._forwarded_view$_inner.$eq(0, other._forwarded_view$_inner) && this._rule === other._rule;
  57550. },
  57551. get$hashCode(_) {
  57552. var t1 = this._forwarded_view$_inner;
  57553. return (t1.get$hashCode(t1) ^ A.Primitives_objectHashCode(this._rule)) >>> 0;
  57554. },
  57555. cloneCss$0() {
  57556. return A.ForwardedModuleView$(this._forwarded_view$_inner.cloneCss$0(), this._rule, this.$ti._precomputed1);
  57557. },
  57558. toString$0(_) {
  57559. return "forwarded " + this._forwarded_view$_inner.toString$0(0);
  57560. },
  57561. $isModule0: 1,
  57562. get$variables() {
  57563. return this.variables;
  57564. },
  57565. get$variableNodes() {
  57566. return this.variableNodes;
  57567. },
  57568. get$functions(receiver) {
  57569. return this.functions;
  57570. },
  57571. get$mixins() {
  57572. return this.mixins;
  57573. }
  57574. };
  57575. A.ShadowedModuleView.prototype = {
  57576. get$url(_) {
  57577. var t1 = this._shadowed_view$_inner;
  57578. return t1.get$url(t1);
  57579. },
  57580. get$upstream() {
  57581. return this._shadowed_view$_inner.get$upstream();
  57582. },
  57583. get$extensionStore() {
  57584. return this._shadowed_view$_inner.get$extensionStore();
  57585. },
  57586. get$css(_) {
  57587. var t1 = this._shadowed_view$_inner;
  57588. return t1.get$css(t1);
  57589. },
  57590. get$preModuleComments() {
  57591. return this._shadowed_view$_inner.get$preModuleComments();
  57592. },
  57593. get$transitivelyContainsCss() {
  57594. return this._shadowed_view$_inner.get$transitivelyContainsCss();
  57595. },
  57596. get$transitivelyContainsExtensions() {
  57597. return this._shadowed_view$_inner.get$transitivelyContainsExtensions();
  57598. },
  57599. setVariable$3($name, value, nodeWithSpan) {
  57600. if (!this.variables.containsKey$1($name))
  57601. throw A.wrapException(A.SassScriptException$("Undefined variable.", null));
  57602. else
  57603. this._shadowed_view$_inner.setVariable$3($name, value, nodeWithSpan);
  57604. },
  57605. variableIdentity$1($name) {
  57606. return this._shadowed_view$_inner.variableIdentity$1($name);
  57607. },
  57608. couldHaveBeenConfigured$1(variables) {
  57609. var t3, t4,
  57610. t1 = this.variables,
  57611. t2 = this._shadowed_view$_inner;
  57612. if (t1 === t2.get$variables())
  57613. t1 = t2.couldHaveBeenConfigured$1(variables);
  57614. else {
  57615. t3 = A.LinkedHashSet_LinkedHashSet$_empty(type$.String);
  57616. for (t1 = J.get$iterator$ax(t1.get$keys(t1)); t1.moveNext$0();) {
  57617. t4 = t1.get$current(t1);
  57618. if (variables.contains$1(0, t4))
  57619. t3.add$1(0, t4);
  57620. }
  57621. t1 = t2.couldHaveBeenConfigured$1(t3);
  57622. }
  57623. return t1;
  57624. },
  57625. $eq(_, other) {
  57626. var t1, t2, t3, _this = this;
  57627. if (other == null)
  57628. return false;
  57629. t1 = false;
  57630. if (other instanceof A.ShadowedModuleView)
  57631. if (_this._shadowed_view$_inner.$eq(0, other._shadowed_view$_inner)) {
  57632. t2 = _this.variables;
  57633. t2 = t2.get$keys(t2);
  57634. t3 = other.variables;
  57635. if (B.C_IterableEquality.equals$2(0, t2, t3.get$keys(t3))) {
  57636. t2 = _this.functions;
  57637. t2 = t2.get$keys(t2);
  57638. t3 = other.functions;
  57639. if (B.C_IterableEquality.equals$2(0, t2, t3.get$keys(t3))) {
  57640. t1 = _this.mixins;
  57641. t1 = t1.get$keys(t1);
  57642. t2 = other.mixins;
  57643. t2 = B.C_IterableEquality.equals$2(0, t1, t2.get$keys(t2));
  57644. t1 = t2;
  57645. }
  57646. }
  57647. }
  57648. return t1;
  57649. },
  57650. get$hashCode(_) {
  57651. var t1 = this._shadowed_view$_inner;
  57652. return t1.get$hashCode(t1);
  57653. },
  57654. cloneCss$0() {
  57655. var _this = this;
  57656. return new A.ShadowedModuleView(_this._shadowed_view$_inner.cloneCss$0(), _this.variables, _this.variableNodes, _this.functions, _this.mixins, _this.$ti);
  57657. },
  57658. toString$0(_) {
  57659. return "shadowed " + this._shadowed_view$_inner.toString$0(0);
  57660. },
  57661. $isModule0: 1,
  57662. get$variables() {
  57663. return this.variables;
  57664. },
  57665. get$variableNodes() {
  57666. return this.variableNodes;
  57667. },
  57668. get$functions(receiver) {
  57669. return this.functions;
  57670. },
  57671. get$mixins() {
  57672. return this.mixins;
  57673. }
  57674. };
  57675. A.AtRootQueryParser.prototype = {
  57676. parse$0(_) {
  57677. return this.wrapSpanFormatException$1(new A.AtRootQueryParser_parse_closure(this));
  57678. }
  57679. };
  57680. A.AtRootQueryParser_parse_closure.prototype = {
  57681. call$0() {
  57682. var include, atRules,
  57683. t1 = this.$this,
  57684. t2 = t1.scanner;
  57685. t2.expectChar$1(40);
  57686. t1.whitespace$1$consumeNewlines(true);
  57687. include = t1.scanIdentifier$1("with");
  57688. if (!include)
  57689. t1.expectIdentifier$2$name("without", '"with" or "without"');
  57690. t1.whitespace$1$consumeNewlines(true);
  57691. t2.expectChar$1(58);
  57692. t1.whitespace$1$consumeNewlines(true);
  57693. atRules = A.LinkedHashSet_LinkedHashSet$_empty(type$.String);
  57694. do {
  57695. atRules.add$1(0, t1.identifier$0().toLowerCase());
  57696. t1.whitespace$1$consumeNewlines(true);
  57697. } while (t1.lookingAtIdentifier$0());
  57698. t2.expectChar$1(41);
  57699. t2.expectDone$0();
  57700. return new A.AtRootQuery(include, atRules, atRules.contains$1(0, "all"), atRules.contains$1(0, "rule"));
  57701. },
  57702. $signature: 398
  57703. };
  57704. A._disallowedFunctionNames_closure.prototype = {
  57705. call$1($function) {
  57706. return $function.name;
  57707. },
  57708. $signature: 417
  57709. };
  57710. A.CssParser.prototype = {
  57711. get$plainCss() {
  57712. return true;
  57713. },
  57714. silentComment$0() {
  57715. var t1, t2, _this = this;
  57716. if (_this._inExpression)
  57717. return false;
  57718. t1 = _this.scanner;
  57719. t2 = t1._string_scanner$_position;
  57720. _this.super$Parser$silentComment();
  57721. _this.error$2(0, string$.Silent, t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
  57722. },
  57723. atRule$2$root(child, root) {
  57724. var $name, _0_0, _this = this,
  57725. t1 = _this.scanner,
  57726. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  57727. t1.expectChar$1(64);
  57728. $name = _this.interpolatedIdentifier$0();
  57729. _this.whitespace$1$consumeNewlines(true);
  57730. _0_0 = $name.get$asPlain();
  57731. $label0$0: {
  57732. 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)
  57733. _this._forbiddenAtRule$1(start);
  57734. if ("import" === _0_0) {
  57735. t1 = _this._cssImportRule$1(start);
  57736. break $label0$0;
  57737. }
  57738. if ("media" === _0_0) {
  57739. t1 = _this.mediaRule$1(start);
  57740. break $label0$0;
  57741. }
  57742. if ("-moz-document" === _0_0) {
  57743. t1 = _this.mozDocumentRule$2(start, $name);
  57744. break $label0$0;
  57745. }
  57746. if ("supports" === _0_0) {
  57747. t1 = _this.supportsRule$1(start);
  57748. break $label0$0;
  57749. }
  57750. t1 = _this.unknownAtRule$2(start, $name);
  57751. break $label0$0;
  57752. }
  57753. return t1;
  57754. },
  57755. _forbiddenAtRule$1(start) {
  57756. this.almostAnyValue$0();
  57757. this.error$2(0, "This at-rule isn't allowed in plain CSS.", this.scanner.spanFrom$1(start));
  57758. },
  57759. _cssImportRule$1(start) {
  57760. var _0_0, t3, string, $name, _0_3, _0_4, t4, _0_8, t5, modifiers, _this = this,
  57761. t1 = _this.scanner,
  57762. t2 = t1._string_scanner$_position,
  57763. _1_0 = t1.peekChar$0();
  57764. $label1$1: {
  57765. if (117 === _1_0 || 85 === _1_0) {
  57766. _0_0 = _this.dynamicUrl$0();
  57767. $label0$0: {
  57768. if (_0_0 instanceof A.StringExpression) {
  57769. t3 = _0_0.text;
  57770. break $label0$0;
  57771. }
  57772. string = null;
  57773. t3 = false;
  57774. if (_0_0 instanceof A.InterpolatedFunctionExpression) {
  57775. $name = _0_0.name;
  57776. _0_3 = _0_0.$arguments;
  57777. _0_4 = _0_3.positional;
  57778. t4 = _0_4;
  57779. if (t4.length === 1) {
  57780. _0_8 = _0_4[0];
  57781. t4 = _0_8;
  57782. if (t4 instanceof A.StringExpression) {
  57783. type$.StringExpression._as(_0_8);
  57784. t4 = _0_3.named;
  57785. if (t4.get$isEmpty(t4))
  57786. if (_0_3.rest == null)
  57787. t3 = _0_3.keywordRest == null;
  57788. string = _0_8;
  57789. }
  57790. }
  57791. } else
  57792. $name = null;
  57793. if (t3) {
  57794. t3 = new A.StringBuffer("");
  57795. t4 = new A.InterpolationBuffer(t3, A._setArrayType([], type$.JSArray_Object), A._setArrayType([], type$.JSArray_nullable_FileSpan));
  57796. t4.addInterpolation$1($name);
  57797. t5 = A.Primitives_stringFromCharCode(40);
  57798. t3._contents += t5;
  57799. t4.addInterpolation$1(string.asInterpolation$0());
  57800. t5 = A.Primitives_stringFromCharCode(41);
  57801. t3._contents += t5;
  57802. t4 = t4.interpolation$1(_0_0.span);
  57803. t3 = t4;
  57804. break $label0$0;
  57805. }
  57806. t3 = _this.error$2(0, "Unsupported plain CSS import.", _0_0.get$span(_0_0));
  57807. }
  57808. break $label1$1;
  57809. }
  57810. t3 = _this.interpolatedString$0().asInterpolation$1$static(true);
  57811. break $label1$1;
  57812. }
  57813. _this.whitespace$1$consumeNewlines(true);
  57814. modifiers = _this.tryImportModifiers$0();
  57815. _this.expectStatementSeparator$1("@import rule");
  57816. t2 = A._setArrayType([new A.StaticImport(t3, modifiers, t1.spanFrom$1(new A._SpanScannerState(t1, t2)))], type$.JSArray_Import);
  57817. t1 = t1.spanFrom$1(start);
  57818. return new A.ImportRule(A.List_List$unmodifiable(t2, type$.Import), t1);
  57819. },
  57820. parentheses$0() {
  57821. var expression,
  57822. t1 = this.scanner,
  57823. t2 = t1._string_scanner$_position;
  57824. t1.expectChar$1(40);
  57825. this.whitespace$1$consumeNewlines(true);
  57826. expression = this.expressionUntilComma$0();
  57827. t1.expectChar$1(41);
  57828. return new A.ParenthesizedExpression(expression, t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
  57829. },
  57830. identifierLike$0() {
  57831. var t2, allowEmptySecondArg, $arguments, t3, t4, _this = this,
  57832. t1 = _this.scanner,
  57833. start = new A._SpanScannerState(t1, t1._string_scanner$_position),
  57834. identifier = _this.interpolatedIdentifier$0(),
  57835. plain = identifier.get$asPlain(),
  57836. lower = plain.toLowerCase(),
  57837. _0_0 = _this.trySpecialFunction$2(lower, start);
  57838. if (_0_0 != null)
  57839. return _0_0;
  57840. t2 = t1._string_scanner$_position;
  57841. if (t1.scanChar$1(46))
  57842. return _this.namespacedExpression$2(plain, start);
  57843. if (!t1.scanChar$1(40))
  57844. return new A.StringExpression(identifier, false);
  57845. allowEmptySecondArg = lower === "var";
  57846. $arguments = A._setArrayType([], type$.JSArray_Expression);
  57847. if (!t1.scanChar$1(41)) {
  57848. do {
  57849. _this.whitespace$1$consumeNewlines(true);
  57850. if (allowEmptySecondArg && $arguments.length === 1 && t1.peekChar$0() === 41) {
  57851. t3 = A.FileLocation$_(t1._sourceFile, t1._string_scanner$_position);
  57852. t4 = t3.offset;
  57853. t4 = A._FileSpan$(t3.file, t4, t4);
  57854. $arguments.push(new A.StringExpression(new A.Interpolation(A.List_List$unmodifiable([""], type$.Object), B.List_null, t4), false));
  57855. break;
  57856. }
  57857. $arguments.push(_this.expressionUntilComma$1$singleEquals(true));
  57858. _this.whitespace$1$consumeNewlines(true);
  57859. } while (t1.scanChar$1(44));
  57860. t1.expectChar$1(41);
  57861. }
  57862. if ($.$get$_disallowedFunctionNames().contains$1(0, plain))
  57863. _this.error$2(0, string$.This_f, t1.spanFrom$1(start));
  57864. t2 = t1.spanFrom$1(new A._SpanScannerState(t1, t2));
  57865. t3 = type$.Expression;
  57866. t4 = A.List_List$unmodifiable($arguments, t3);
  57867. t3 = A.ConstantMap_ConstantMap$from(B.Map_empty4, type$.String, t3);
  57868. t1 = t1.spanFrom$1(start);
  57869. return new A.FunctionExpression(null, A.stringReplaceAllUnchecked(plain, "_", "-"), plain, new A.ArgumentList(t4, t3, null, null, t2), t1);
  57870. },
  57871. namespacedExpression$2(namespace, start) {
  57872. var expression = this.super$StylesheetParser$namespacedExpression(namespace, start);
  57873. this.error$2(0, string$.Modulen, expression.get$span(expression));
  57874. }
  57875. };
  57876. A.KeyframeSelectorParser.prototype = {
  57877. parse$0(_) {
  57878. return this.wrapSpanFormatException$1(new A.KeyframeSelectorParser_parse_closure(this));
  57879. },
  57880. _percentage$0() {
  57881. var $self, _0_0,
  57882. t1 = this.scanner,
  57883. t2 = t1.scanChar$1(43) ? "" + A.Primitives_stringFromCharCode(43) : "",
  57884. second = t1.peekChar$0();
  57885. if (!(second != null && second >= 48 && second <= 57) && second !== 46)
  57886. t1.error$1(0, "Expected number.");
  57887. while (true) {
  57888. $self = t1.peekChar$0();
  57889. if (!($self != null && $self >= 48 && $self <= 57))
  57890. break;
  57891. t2 += A.Primitives_stringFromCharCode(t1.readChar$0());
  57892. }
  57893. if (t1.peekChar$0() === 46) {
  57894. t2 += A.Primitives_stringFromCharCode(t1.readChar$0());
  57895. while (true) {
  57896. $self = t1.peekChar$0();
  57897. if (!($self != null && $self >= 48 && $self <= 57))
  57898. break;
  57899. t2 += A.Primitives_stringFromCharCode(t1.readChar$0());
  57900. }
  57901. }
  57902. if (this.scanIdentChar$1(101)) {
  57903. t2 += A.Primitives_stringFromCharCode(101);
  57904. _0_0 = t1.peekChar$0();
  57905. if (43 === _0_0 || 45 === _0_0)
  57906. t2 += A.Primitives_stringFromCharCode(t1.readChar$0());
  57907. $self = t1.peekChar$0();
  57908. if (!($self != null && $self >= 48 && $self <= 57))
  57909. t1.error$1(0, "Expected digit.");
  57910. do {
  57911. t2 += A.Primitives_stringFromCharCode(t1.readChar$0());
  57912. $self = t1.peekChar$0();
  57913. } while ($self != null && $self >= 48 && $self <= 57);
  57914. }
  57915. t1.expectChar$1(37);
  57916. t2 += A.Primitives_stringFromCharCode(37);
  57917. return t2.charCodeAt(0) == 0 ? t2 : t2;
  57918. }
  57919. };
  57920. A.KeyframeSelectorParser_parse_closure.prototype = {
  57921. call$0() {
  57922. var selectors = A._setArrayType([], type$.JSArray_String),
  57923. t1 = this.$this,
  57924. t2 = t1.scanner;
  57925. do {
  57926. t1.whitespace$1$consumeNewlines(true);
  57927. if (t1.lookingAtIdentifier$0())
  57928. if (t1.scanIdentifier$1("from"))
  57929. selectors.push("from");
  57930. else {
  57931. t1.expectIdentifier$2$name("to", '"to" or "from"');
  57932. selectors.push("to");
  57933. }
  57934. else
  57935. selectors.push(t1._percentage$0());
  57936. t1.whitespace$1$consumeNewlines(true);
  57937. } while (t2.scanChar$1(44));
  57938. t2.expectDone$0();
  57939. return selectors;
  57940. },
  57941. $signature: 138
  57942. };
  57943. A.MediaQueryParser.prototype = {
  57944. parse$0(_) {
  57945. return this.wrapSpanFormatException$1(new A.MediaQueryParser_parse_closure(this));
  57946. },
  57947. _mediaQuery$0() {
  57948. var conditions, conjunction, t1, identifier1, identifier2, type, modifier, _this = this, _null = null, _s3_ = "and";
  57949. if (_this.scanner.peekChar$0() === 40) {
  57950. conditions = A._setArrayType([_this._mediaInParens$0()], type$.JSArray_String);
  57951. _this.whitespace$1$consumeNewlines(true);
  57952. if (_this.scanIdentifier$1(_s3_)) {
  57953. _this.expectWhitespace$0();
  57954. B.JSArray_methods.addAll$1(conditions, _this._mediaLogicSequence$1(_s3_));
  57955. conjunction = true;
  57956. } else {
  57957. t1 = _this.scanIdentifier$1("or");
  57958. if (t1) {
  57959. _this.expectWhitespace$0();
  57960. B.JSArray_methods.addAll$1(conditions, _this._mediaLogicSequence$1("or"));
  57961. }
  57962. conjunction = !t1;
  57963. }
  57964. return A.CssMediaQuery$condition(conditions, conjunction);
  57965. }
  57966. identifier1 = _this.identifier$0();
  57967. if (A.equalsIgnoreCase(identifier1, "not")) {
  57968. _this.expectWhitespace$0();
  57969. if (!_this.lookingAtIdentifier$0())
  57970. return A.CssMediaQuery$condition(A._setArrayType(["(not " + _this._mediaInParens$0() + ")"], type$.JSArray_String), _null);
  57971. }
  57972. _this.whitespace$1$consumeNewlines(true);
  57973. if (!_this.lookingAtIdentifier$0())
  57974. return A.CssMediaQuery$type(identifier1, _null, _null);
  57975. identifier2 = _this.identifier$0();
  57976. if (A.equalsIgnoreCase(identifier2, _s3_)) {
  57977. _this.expectWhitespace$0();
  57978. type = identifier1;
  57979. modifier = _null;
  57980. } else {
  57981. _this.whitespace$1$consumeNewlines(true);
  57982. if (_this.scanIdentifier$1(_s3_))
  57983. _this.expectWhitespace$0();
  57984. else
  57985. return A.CssMediaQuery$type(identifier2, _null, identifier1);
  57986. type = identifier2;
  57987. modifier = identifier1;
  57988. }
  57989. if (_this.scanIdentifier$1("not")) {
  57990. _this.expectWhitespace$0();
  57991. return A.CssMediaQuery$type(type, A._setArrayType(["(not " + _this._mediaInParens$0() + ")"], type$.JSArray_String), modifier);
  57992. }
  57993. return A.CssMediaQuery$type(type, _this._mediaLogicSequence$1(_s3_), modifier);
  57994. },
  57995. _mediaLogicSequence$1(operator) {
  57996. var t1, t2, _this = this,
  57997. result = A._setArrayType([], type$.JSArray_String);
  57998. for (t1 = _this.scanner; true;) {
  57999. t1.expectChar$2$name(40, "media condition in parentheses");
  58000. t2 = _this.declarationValue$0();
  58001. t1.expectChar$1(41);
  58002. result.push("(" + t2 + ")");
  58003. _this.whitespace$1$consumeNewlines(true);
  58004. if (!_this.scanIdentifier$1(operator))
  58005. return result;
  58006. _this.expectWhitespace$0();
  58007. }
  58008. },
  58009. _mediaInParens$0() {
  58010. var t2,
  58011. t1 = this.scanner;
  58012. t1.expectChar$2$name(40, "media condition in parentheses");
  58013. t2 = this.declarationValue$0();
  58014. t1.expectChar$1(41);
  58015. return "(" + t2 + ")";
  58016. }
  58017. };
  58018. A.MediaQueryParser_parse_closure.prototype = {
  58019. call$0() {
  58020. var queries = A._setArrayType([], type$.JSArray_CssMediaQuery),
  58021. t1 = this.$this,
  58022. t2 = t1.scanner;
  58023. do {
  58024. t1.whitespace$1$consumeNewlines(true);
  58025. queries.push(t1._mediaQuery$0());
  58026. t1.whitespace$1$consumeNewlines(true);
  58027. } while (t2.scanChar$1(44));
  58028. t2.expectDone$0();
  58029. return queries;
  58030. },
  58031. $signature: 418
  58032. };
  58033. A.Parser.prototype = {
  58034. _parseIdentifier$0() {
  58035. return this.wrapSpanFormatException$1(new A.Parser__parseIdentifier_closure(this));
  58036. },
  58037. _isVariableDeclarationLike$0() {
  58038. var _this = this,
  58039. t1 = _this.scanner;
  58040. if (!t1.scanChar$1(36))
  58041. return false;
  58042. if (!_this.lookingAtIdentifier$0())
  58043. return false;
  58044. _this.identifier$0();
  58045. _this.whitespace$1$consumeNewlines(true);
  58046. return t1.scanChar$1(58);
  58047. },
  58048. whitespace$1$consumeNewlines(consumeNewlines) {
  58049. do
  58050. this.whitespaceWithoutComments$1$consumeNewlines(consumeNewlines);
  58051. while (this.scanComment$0());
  58052. },
  58053. whitespaceWithoutComments$1$consumeNewlines(consumeNewlines) {
  58054. var t3,
  58055. t1 = this.scanner,
  58056. t2 = t1.string.length;
  58057. while (true) {
  58058. if (t1._string_scanner$_position !== t2) {
  58059. t3 = t1.peekChar$0();
  58060. t3 = t3 === 32 || t3 === 9 || t3 === 10 || t3 === 13 || t3 === 12;
  58061. } else
  58062. t3 = false;
  58063. if (!t3)
  58064. break;
  58065. t1.readChar$0();
  58066. }
  58067. },
  58068. spaces$0() {
  58069. var t3,
  58070. t1 = this.scanner,
  58071. t2 = t1.string.length;
  58072. while (true) {
  58073. if (t1._string_scanner$_position !== t2) {
  58074. t3 = t1.peekChar$0();
  58075. t3 = t3 === 32 || t3 === 9;
  58076. } else
  58077. t3 = false;
  58078. if (!t3)
  58079. break;
  58080. t1.readChar$0();
  58081. }
  58082. },
  58083. scanComment$0() {
  58084. var _0_0,
  58085. t1 = this.scanner;
  58086. if (t1.peekChar$0() !== 47)
  58087. return false;
  58088. _0_0 = t1.peekChar$1(1);
  58089. if (47 === _0_0)
  58090. return this.silentComment$0();
  58091. if (42 === _0_0) {
  58092. this.loudComment$0();
  58093. return true;
  58094. }
  58095. return false;
  58096. },
  58097. expectWhitespace$1$consumeNewlines(consumeNewlines) {
  58098. var t2, t3,
  58099. t1 = this.scanner;
  58100. if (t1._string_scanner$_position !== t1.string.length) {
  58101. t2 = t1.peekChar$0();
  58102. t3 = !(t2 === 32 || t2 === 9 || t2 === 10 || t2 === 13 || t2 === 12 || this.scanComment$0());
  58103. t2 = t3;
  58104. } else
  58105. t2 = true;
  58106. if (t2)
  58107. t1.error$1(0, "Expected whitespace.");
  58108. this.whitespace$1$consumeNewlines(consumeNewlines);
  58109. },
  58110. expectWhitespace$0() {
  58111. return this.expectWhitespace$1$consumeNewlines(false);
  58112. },
  58113. silentComment$0() {
  58114. var t2, t3,
  58115. t1 = this.scanner;
  58116. t1.expect$1("//");
  58117. t2 = t1.string.length;
  58118. while (true) {
  58119. if (t1._string_scanner$_position !== t2) {
  58120. t3 = t1.peekChar$0();
  58121. t3 = !(t3 === 10 || t3 === 13 || t3 === 12);
  58122. } else
  58123. t3 = false;
  58124. if (!t3)
  58125. break;
  58126. t1.readChar$0();
  58127. }
  58128. return true;
  58129. },
  58130. loudComment$0() {
  58131. var next,
  58132. t1 = this.scanner;
  58133. t1.expect$1("/*");
  58134. for (; true;) {
  58135. if (t1.readChar$0() !== 42)
  58136. continue;
  58137. do
  58138. next = t1.readChar$0();
  58139. while (next === 42);
  58140. if (next === 47)
  58141. break;
  58142. }
  58143. },
  58144. identifier$2$normalize$unit(normalize, unit) {
  58145. var t2, _0_0, _this = this,
  58146. _s20_ = "Expected identifier.",
  58147. text = new A.StringBuffer(""),
  58148. t1 = _this.scanner;
  58149. if (t1.scanChar$1(45)) {
  58150. t2 = text._contents = "" + A.Primitives_stringFromCharCode(45);
  58151. if (t1.scanChar$1(45)) {
  58152. text._contents = t2 + A.Primitives_stringFromCharCode(45);
  58153. _this._identifierBody$3$normalize$unit(text, normalize, unit);
  58154. t1 = text._contents;
  58155. return t1.charCodeAt(0) == 0 ? t1 : t1;
  58156. }
  58157. } else
  58158. t2 = "";
  58159. $label0$0: {
  58160. _0_0 = t1.peekChar$0();
  58161. if (_0_0 == null)
  58162. t1.error$1(0, _s20_);
  58163. if (95 === _0_0 && normalize) {
  58164. t1.readChar$0();
  58165. text._contents = t2 + A.Primitives_stringFromCharCode(45);
  58166. break $label0$0;
  58167. }
  58168. if (_0_0 === 95 || A.CharacterExtension_get_isAlphabetic(_0_0) || _0_0 >= 128) {
  58169. text._contents = t2 + A.Primitives_stringFromCharCode(t1.readChar$0());
  58170. break $label0$0;
  58171. }
  58172. if (92 === _0_0) {
  58173. text._contents = t2 + _this.escape$1$identifierStart(true);
  58174. break $label0$0;
  58175. }
  58176. t1.error$1(0, _s20_);
  58177. }
  58178. _this._identifierBody$3$normalize$unit(text, normalize, unit);
  58179. t1 = text._contents;
  58180. return t1.charCodeAt(0) == 0 ? t1 : t1;
  58181. },
  58182. identifier$0() {
  58183. return this.identifier$2$normalize$unit(false, false);
  58184. },
  58185. identifier$1$normalize(normalize) {
  58186. return this.identifier$2$normalize$unit(normalize, false);
  58187. },
  58188. identifier$1$unit(unit) {
  58189. return this.identifier$2$normalize$unit(false, unit);
  58190. },
  58191. _identifierBody$3$normalize$unit(text, normalize, unit) {
  58192. var t1, _1_0, _0_0, t2;
  58193. for (t1 = this.scanner; true;) {
  58194. _1_0 = t1.peekChar$0();
  58195. if (_1_0 == null)
  58196. break;
  58197. if (45 === _1_0 && unit) {
  58198. _0_0 = t1.peekChar$1(1);
  58199. if (46 !== _0_0)
  58200. t2 = A._isInt(_0_0) && _0_0 >= 48 && _0_0 <= 57;
  58201. else
  58202. t2 = true;
  58203. if (t2)
  58204. break;
  58205. t2 = A.Primitives_stringFromCharCode(t1.readChar$0());
  58206. text._contents += t2;
  58207. continue;
  58208. }
  58209. if (95 === _1_0 && normalize) {
  58210. t1.readChar$0();
  58211. t2 = A.Primitives_stringFromCharCode(45);
  58212. text._contents += t2;
  58213. continue;
  58214. }
  58215. if (_1_0 !== 95) {
  58216. if (!(_1_0 >= 97 && _1_0 <= 122))
  58217. t2 = _1_0 >= 65 && _1_0 <= 90;
  58218. else
  58219. t2 = true;
  58220. t2 = t2 || _1_0 >= 128;
  58221. } else
  58222. t2 = true;
  58223. if (!t2)
  58224. t2 = _1_0 >= 48 && _1_0 <= 57 || _1_0 === 45;
  58225. else
  58226. t2 = true;
  58227. if (t2) {
  58228. t2 = A.Primitives_stringFromCharCode(t1.readChar$0());
  58229. text._contents += t2;
  58230. continue;
  58231. }
  58232. if (92 === _1_0) {
  58233. t2 = this.escape$0();
  58234. text._contents += t2;
  58235. continue;
  58236. }
  58237. break;
  58238. }
  58239. },
  58240. _identifierBody$1(text) {
  58241. return this._identifierBody$3$normalize$unit(text, false, false);
  58242. },
  58243. string$0() {
  58244. var buffer, _0_0, t2,
  58245. t1 = this.scanner,
  58246. quote = t1.readChar$0();
  58247. if (quote !== 39 && quote !== 34)
  58248. t1.error$2$position(0, "Expected string.", t1._string_scanner$_position - 1);
  58249. buffer = new A.StringBuffer("");
  58250. for (; true;) {
  58251. _0_0 = t1.peekChar$0();
  58252. if (_0_0 === quote) {
  58253. t1.readChar$0();
  58254. break;
  58255. }
  58256. if (_0_0 == null || _0_0 === 10 || _0_0 === 13 || _0_0 === 12)
  58257. t1.error$1(0, "Expected " + A.Primitives_stringFromCharCode(quote) + ".");
  58258. if (92 === _0_0) {
  58259. t2 = t1.peekChar$1(1);
  58260. if (t2 === 10 || t2 === 13 || t2 === 12) {
  58261. t1.readChar$0();
  58262. t1.readChar$0();
  58263. } else {
  58264. t2 = A.Primitives_stringFromCharCode(A.consumeEscapedCharacter(t1));
  58265. buffer._contents += t2;
  58266. }
  58267. continue;
  58268. }
  58269. t2 = A.Primitives_stringFromCharCode(t1.readChar$0());
  58270. buffer._contents += t2;
  58271. }
  58272. t1 = buffer._contents;
  58273. return t1.charCodeAt(0) == 0 ? t1 : t1;
  58274. },
  58275. declarationValue$1$allowEmpty(allowEmpty) {
  58276. var t1, t2, t3, wroteNewline, next, wroteNewline0, t4, start, end, _0_0, _this = this,
  58277. buffer = new A.StringBuffer(""),
  58278. brackets = A._setArrayType([], type$.JSArray_int);
  58279. for (t1 = _this.scanner, t2 = _this.get$loudComment(), t3 = _this.get$string(), wroteNewline = false; true;) {
  58280. next = t1.peekChar$0();
  58281. if (next == null)
  58282. break;
  58283. wroteNewline0 = false;
  58284. if (92 === next) {
  58285. t4 = _this.escape$1$identifierStart(true);
  58286. buffer._contents += t4;
  58287. wroteNewline = wroteNewline0;
  58288. continue;
  58289. }
  58290. if (34 === next || 39 === next) {
  58291. start = t1._string_scanner$_position;
  58292. t3.call$0();
  58293. end = t1._string_scanner$_position;
  58294. buffer._contents += B.JSString_methods.substring$2(t1.string, start, end);
  58295. wroteNewline = wroteNewline0;
  58296. continue;
  58297. }
  58298. if (47 === next) {
  58299. if (t1.peekChar$1(1) === 42) {
  58300. start = t1._string_scanner$_position;
  58301. t2.call$0();
  58302. end = t1._string_scanner$_position;
  58303. buffer._contents += B.JSString_methods.substring$2(t1.string, start, end);
  58304. } else {
  58305. t4 = A.Primitives_stringFromCharCode(t1.readChar$0());
  58306. buffer._contents += t4;
  58307. }
  58308. wroteNewline = wroteNewline0;
  58309. continue;
  58310. }
  58311. if (32 === next || 9 === next) {
  58312. if (!wroteNewline) {
  58313. t4 = t1.peekChar$1(1);
  58314. t4 = !(t4 === 32 || t4 === 9 || t4 === 10 || t4 === 13 || t4 === 12);
  58315. } else
  58316. t4 = true;
  58317. if (t4) {
  58318. t4 = A.Primitives_stringFromCharCode(32);
  58319. buffer._contents += t4;
  58320. }
  58321. t1.readChar$0();
  58322. continue;
  58323. }
  58324. if (10 === next || 13 === next || 12 === next) {
  58325. t4 = t1.peekChar$1(-1);
  58326. if (!(t4 === 10 || t4 === 13 || t4 === 12))
  58327. buffer._contents += "\n";
  58328. t1.readChar$0();
  58329. wroteNewline = true;
  58330. continue;
  58331. }
  58332. if (40 === next || 123 === next || 91 === next) {
  58333. t4 = A.Primitives_stringFromCharCode(next);
  58334. buffer._contents += t4;
  58335. brackets.push(A.opposite(t1.readChar$0()));
  58336. wroteNewline = wroteNewline0;
  58337. continue;
  58338. }
  58339. if (41 === next || 125 === next || 93 === next) {
  58340. if (brackets.length === 0)
  58341. break;
  58342. t4 = A.Primitives_stringFromCharCode(next);
  58343. buffer._contents += t4;
  58344. t1.expectChar$1(brackets.pop());
  58345. wroteNewline = wroteNewline0;
  58346. continue;
  58347. }
  58348. if (59 === next) {
  58349. if (brackets.length === 0)
  58350. break;
  58351. t4 = A.Primitives_stringFromCharCode(t1.readChar$0());
  58352. buffer._contents += t4;
  58353. continue;
  58354. }
  58355. if (117 === next || 85 === next) {
  58356. _0_0 = _this.tryUrl$0();
  58357. if (_0_0 != null)
  58358. buffer._contents += _0_0;
  58359. else {
  58360. t4 = A.Primitives_stringFromCharCode(t1.readChar$0());
  58361. buffer._contents += t4;
  58362. }
  58363. wroteNewline = wroteNewline0;
  58364. continue;
  58365. }
  58366. if (_this.lookingAtIdentifier$0()) {
  58367. t4 = _this.identifier$0();
  58368. buffer._contents += t4;
  58369. } else {
  58370. t4 = A.Primitives_stringFromCharCode(t1.readChar$0());
  58371. buffer._contents += t4;
  58372. }
  58373. wroteNewline = wroteNewline0;
  58374. }
  58375. if (brackets.length !== 0)
  58376. t1.expectChar$1(B.JSArray_methods.get$last(brackets));
  58377. if (!allowEmpty && buffer._contents.length === 0)
  58378. t1.error$1(0, "Expected token.");
  58379. t1 = buffer._contents;
  58380. return t1.charCodeAt(0) == 0 ? t1 : t1;
  58381. },
  58382. declarationValue$0() {
  58383. return this.declarationValue$1$allowEmpty(false);
  58384. },
  58385. tryUrl$0() {
  58386. var buffer, _0_0, t2, _this = this,
  58387. t1 = _this.scanner,
  58388. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  58389. if (!_this.scanIdentifier$1("url"))
  58390. return null;
  58391. if (!t1.scanChar$1(40)) {
  58392. t1.set$state(start);
  58393. return null;
  58394. }
  58395. _this.whitespace$1$consumeNewlines(true);
  58396. buffer = new A.StringBuffer("");
  58397. buffer._contents = "" + "url(";
  58398. for (; true;) {
  58399. _0_0 = t1.peekChar$0();
  58400. if (_0_0 == null)
  58401. break;
  58402. if (92 === _0_0) {
  58403. t2 = _this.escape$0();
  58404. buffer._contents += t2;
  58405. continue;
  58406. }
  58407. t2 = true;
  58408. if (37 !== _0_0)
  58409. if (38 !== _0_0)
  58410. if (35 !== _0_0)
  58411. t2 = _0_0 >= 42 && _0_0 <= 126 || _0_0 >= 128;
  58412. if (t2) {
  58413. t2 = A.Primitives_stringFromCharCode(t1.readChar$0());
  58414. buffer._contents += t2;
  58415. continue;
  58416. }
  58417. if (_0_0 === 32 || _0_0 === 9 || _0_0 === 10 || _0_0 === 13 || _0_0 === 12) {
  58418. _this.whitespace$1$consumeNewlines(true);
  58419. if (t1.peekChar$0() !== 41)
  58420. break;
  58421. continue;
  58422. }
  58423. if (41 === _0_0) {
  58424. t2 = A.Primitives_stringFromCharCode(t1.readChar$0());
  58425. t2 = buffer._contents += t2;
  58426. return t2.charCodeAt(0) == 0 ? t2 : t2;
  58427. }
  58428. break;
  58429. }
  58430. t1.set$state(start);
  58431. return null;
  58432. },
  58433. variableName$0() {
  58434. this.scanner.expectChar$1(36);
  58435. return this.identifier$1$normalize(true);
  58436. },
  58437. escape$1$identifierStart(identifierStart) {
  58438. var value, _0_0, i, next, t2, exception,
  58439. _s25_ = "Expected escape sequence.",
  58440. t1 = this.scanner,
  58441. start = t1._string_scanner$_position;
  58442. t1.expectChar$1(92);
  58443. value = 0;
  58444. $label0$1: {
  58445. _0_0 = t1.peekChar$0();
  58446. if (_0_0 == null)
  58447. t1.error$1(0, _s25_);
  58448. if (_0_0 === 10 || _0_0 === 13 || _0_0 === 12)
  58449. t1.error$1(0, _s25_);
  58450. if (A.CharacterExtension_get_isHex(_0_0)) {
  58451. for (i = 0; i < 6; ++i) {
  58452. next = t1.peekChar$0();
  58453. if (next != null) {
  58454. t2 = true;
  58455. if (!(next >= 48 && next <= 57))
  58456. if (!(next >= 97 && next <= 102))
  58457. t2 = next >= 65 && next <= 70;
  58458. t2 = !t2;
  58459. } else
  58460. t2 = true;
  58461. if (t2)
  58462. break;
  58463. value *= 16;
  58464. value += A.asHex(t1.readChar$0());
  58465. }
  58466. this.scanCharIf$1(new A.Parser_escape_closure());
  58467. break $label0$1;
  58468. }
  58469. value = t1.readChar$0();
  58470. }
  58471. if (identifierStart) {
  58472. t2 = value;
  58473. t2 = t2 === 95 || A.CharacterExtension_get_isAlphabetic(t2) || t2 >= 128;
  58474. } else {
  58475. t2 = value;
  58476. if (!(t2 === 95 || A.CharacterExtension_get_isAlphabetic(t2) || t2 >= 128))
  58477. t2 = t2 >= 48 && t2 <= 57 || t2 === 45;
  58478. else
  58479. t2 = true;
  58480. }
  58481. if (t2)
  58482. try {
  58483. t2 = A.Primitives_stringFromCharCode(value);
  58484. return t2;
  58485. } catch (exception) {
  58486. if (type$.RangeError._is(A.unwrapException(exception)))
  58487. t1.error$3$length$position(0, "Invalid Unicode code point.", t1._string_scanner$_position - start, start);
  58488. else
  58489. throw exception;
  58490. }
  58491. else {
  58492. t1 = true;
  58493. if (!(value <= 31))
  58494. if (!J.$eq$(value, 127))
  58495. if (identifierStart) {
  58496. t1 = value;
  58497. t1 = t1 >= 48 && t1 <= 57;
  58498. } else
  58499. t1 = false;
  58500. if (t1) {
  58501. t1 = "" + A.Primitives_stringFromCharCode(92);
  58502. if (value > 15)
  58503. t1 += A.Primitives_stringFromCharCode(A.hexCharFor(B.JSNumber_methods._shrOtherPositive$1(value, 4)));
  58504. t1 = t1 + A.Primitives_stringFromCharCode(A.hexCharFor(value & 15)) + A.Primitives_stringFromCharCode(32);
  58505. return t1.charCodeAt(0) == 0 ? t1 : t1;
  58506. } else
  58507. return A.String_String$fromCharCodes(A._setArrayType([92, value], type$.JSArray_int), 0, null);
  58508. }
  58509. },
  58510. escape$0() {
  58511. return this.escape$1$identifierStart(false);
  58512. },
  58513. scanCharIf$1(condition) {
  58514. var t1 = this.scanner;
  58515. if (!condition.call$1(t1.peekChar$0()))
  58516. return false;
  58517. t1.readChar$0();
  58518. return true;
  58519. },
  58520. scanIdentChar$2$caseSensitive(char, caseSensitive) {
  58521. var t3,
  58522. t1 = new A.Parser_scanIdentChar_matches(caseSensitive, char),
  58523. t2 = this.scanner,
  58524. _0_0 = t2.peekChar$0();
  58525. if (_0_0 != null)
  58526. t3 = t1.call$1(_0_0);
  58527. else
  58528. t3 = false;
  58529. if (t3) {
  58530. t2.readChar$0();
  58531. return true;
  58532. }
  58533. if (92 === _0_0) {
  58534. t3 = t2._string_scanner$_position;
  58535. if (t1.call$1(A.consumeEscapedCharacter(t2)))
  58536. return true;
  58537. t2.set$state(new A._SpanScannerState(t2, t3));
  58538. }
  58539. return false;
  58540. },
  58541. scanIdentChar$1(char) {
  58542. return this.scanIdentChar$2$caseSensitive(char, false);
  58543. },
  58544. expectIdentChar$1(letter) {
  58545. var t1;
  58546. if (this.scanIdentChar$2$caseSensitive(letter, false))
  58547. return;
  58548. t1 = this.scanner;
  58549. t1.error$2$position(0, 'Expected "' + A.Primitives_stringFromCharCode(letter) + '".', t1._string_scanner$_position);
  58550. },
  58551. lookingAtIdentifier$1($forward) {
  58552. var t1, _1_0, t2, _0_0;
  58553. if ($forward == null)
  58554. $forward = 0;
  58555. t1 = this.scanner;
  58556. _1_0 = t1.peekChar$1($forward);
  58557. $label0$0: {
  58558. if (A._isInt(_1_0))
  58559. t2 = _1_0 === 95 || A.CharacterExtension_get_isAlphabetic(_1_0) || _1_0 >= 128;
  58560. else
  58561. t2 = false;
  58562. if (t2 || 92 === _1_0) {
  58563. t1 = true;
  58564. break $label0$0;
  58565. }
  58566. if (45 === _1_0) {
  58567. _0_0 = t1.peekChar$1($forward + 1);
  58568. $label1$1: {
  58569. if (A._isInt(_0_0))
  58570. t1 = _0_0 === 95 || A.CharacterExtension_get_isAlphabetic(_0_0) || _0_0 >= 128;
  58571. else
  58572. t1 = false;
  58573. t1 = t1 || 92 === _0_0 || 45 === _0_0;
  58574. break $label1$1;
  58575. }
  58576. break $label0$0;
  58577. }
  58578. t1 = false;
  58579. break $label0$0;
  58580. }
  58581. return t1;
  58582. },
  58583. lookingAtIdentifier$0() {
  58584. return this.lookingAtIdentifier$1(null);
  58585. },
  58586. lookingAtIdentifierBody$0() {
  58587. var t1,
  58588. next = this.scanner.peekChar$0();
  58589. if (next != null) {
  58590. if (!(next === 95 || A.CharacterExtension_get_isAlphabetic(next) || next >= 128))
  58591. t1 = next >= 48 && next <= 57 || next === 45;
  58592. else
  58593. t1 = true;
  58594. t1 = t1 || next === 92;
  58595. } else
  58596. t1 = false;
  58597. return t1;
  58598. },
  58599. scanIdentifier$2$caseSensitive(text, caseSensitive) {
  58600. var t1, t2, _this = this;
  58601. if (!_this.lookingAtIdentifier$0())
  58602. return false;
  58603. t1 = _this.scanner;
  58604. t2 = t1._string_scanner$_position;
  58605. if (_this._consumeIdentifier$2(text, caseSensitive) && !_this.lookingAtIdentifierBody$0())
  58606. return true;
  58607. else {
  58608. t1.set$state(new A._SpanScannerState(t1, t2));
  58609. return false;
  58610. }
  58611. },
  58612. scanIdentifier$1(text) {
  58613. return this.scanIdentifier$2$caseSensitive(text, false);
  58614. },
  58615. _consumeIdentifier$2(text, caseSensitive) {
  58616. var t1, t2, t3;
  58617. 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();) {
  58618. t3 = t1.__internal$_current;
  58619. if (!this.scanIdentChar$2$caseSensitive(t3 == null ? t2._as(t3) : t3, caseSensitive))
  58620. return false;
  58621. }
  58622. return true;
  58623. },
  58624. expectIdentifier$2$name(text, $name) {
  58625. var t1, start, t2, t3, t4, t5, t6;
  58626. if ($name == null)
  58627. $name = '"' + text + '"';
  58628. t1 = this.scanner;
  58629. start = t1._string_scanner$_position;
  58630. 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();) {
  58631. t6 = t2.__internal$_current;
  58632. if (this.scanIdentChar$2$caseSensitive(t6 == null ? t3._as(t6) : t6, false))
  58633. continue;
  58634. t1.error$2$position(0, t5, start);
  58635. }
  58636. if (!this.lookingAtIdentifierBody$0())
  58637. return;
  58638. t1.error$2$position(0, t4, start);
  58639. },
  58640. expectIdentifier$1(text) {
  58641. return this.expectIdentifier$2$name(text, null);
  58642. },
  58643. rawText$1(consumer) {
  58644. var t1 = this.scanner,
  58645. start = t1._string_scanner$_position;
  58646. consumer.call$0();
  58647. return t1.substring$1(0, start);
  58648. },
  58649. spanFrom$1(state) {
  58650. var span = this.scanner.spanFrom$1(state);
  58651. return this._interpolationMap == null ? span : new A.LazyFileSpan(new A.Parser_spanFrom_closure(this, span));
  58652. },
  58653. error$3(_, message, span, trace) {
  58654. var exception = new A.StringScannerException(this.scanner.string, message, span);
  58655. if (trace == null)
  58656. throw A.wrapException(exception);
  58657. else
  58658. A.throwWithTrace(exception, this.get$error(this), trace);
  58659. },
  58660. error$2(_, message, span) {
  58661. return this.error$3(0, message, span, null);
  58662. },
  58663. withErrorMessage$1$2(message, callback) {
  58664. var error, stackTrace, t1, exception;
  58665. try {
  58666. t1 = callback.call$0();
  58667. return t1;
  58668. } catch (exception) {
  58669. t1 = A.unwrapException(exception);
  58670. if (type$.SourceSpanFormatException._is(t1)) {
  58671. error = t1;
  58672. stackTrace = A.getTraceFromException(exception);
  58673. t1 = J.get$span$z(error);
  58674. A.throwWithTrace(new A.SourceSpanFormatException(error.get$source(), message, t1), error, stackTrace);
  58675. } else
  58676. throw exception;
  58677. }
  58678. },
  58679. withErrorMessage$2(message, callback) {
  58680. callback.toString;
  58681. return this.withErrorMessage$1$2(message, callback, type$.dynamic);
  58682. },
  58683. wrapSpanFormatException$1$1(callback) {
  58684. var error, stackTrace, map, error0, stackTrace0, span, secondarySpans, t1, t2, span0, description, _0_0, error1, stackTrace1, span1, t3, exception, t4, _this = this,
  58685. _s8_ = "expected";
  58686. try {
  58687. try {
  58688. t3 = callback.call$0();
  58689. return t3;
  58690. } catch (exception) {
  58691. t3 = A.unwrapException(exception);
  58692. if (type$.SourceSpanFormatException._is(t3)) {
  58693. error = t3;
  58694. stackTrace = A.getTraceFromException(exception);
  58695. map = _this._interpolationMap;
  58696. if (map == null)
  58697. throw exception;
  58698. A.throwWithTrace(map.mapException$1(error), error, stackTrace);
  58699. } else
  58700. throw exception;
  58701. }
  58702. } catch (exception) {
  58703. t3 = A.unwrapException(exception);
  58704. if (type$.MultiSourceSpanFormatException._is(t3)) {
  58705. error0 = t3;
  58706. stackTrace0 = A.getTraceFromException(exception);
  58707. span = J.get$span$z(error0);
  58708. t3 = type$.FileSpan;
  58709. t4 = type$.String;
  58710. secondarySpans = error0.get$secondarySpans().cast$2$0(0, t3, t4);
  58711. if (A.startsWithIgnoreCase(error0._span_exception$_message, _s8_)) {
  58712. span = _this._adjustExceptionSpan$1(span);
  58713. t1 = A.LinkedHashMap_LinkedHashMap$_empty(t3, t4);
  58714. for (t3 = A.MapExtensions_get_pairs(secondarySpans, t3, t4), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
  58715. t2 = t3.get$current(t3);
  58716. span0 = null;
  58717. description = null;
  58718. _0_0 = t2;
  58719. span0 = _0_0._0;
  58720. description = _0_0._1;
  58721. J.$indexSet$ax(t1, _this._adjustExceptionSpan$1(span0), description);
  58722. }
  58723. secondarySpans = t1;
  58724. }
  58725. A.throwWithTrace(A.MultiSpanSassFormatException$(error0._span_exception$_message, span, error0.get$primaryLabel(), secondarySpans, null), error0, stackTrace0);
  58726. } else if (type$.SourceSpanFormatException._is(t3)) {
  58727. error1 = t3;
  58728. stackTrace1 = A.getTraceFromException(exception);
  58729. span1 = J.get$span$z(error1);
  58730. if (A.startsWithIgnoreCase(error1._span_exception$_message, _s8_))
  58731. span1 = _this._adjustExceptionSpan$1(span1);
  58732. t1 = error1._span_exception$_message;
  58733. t2 = span1;
  58734. A.throwWithTrace(new A.SassFormatException(B.Set_empty, t1, t2), error1, stackTrace1);
  58735. } else
  58736. throw exception;
  58737. }
  58738. },
  58739. wrapSpanFormatException$1(callback) {
  58740. callback.toString;
  58741. return this.wrapSpanFormatException$1$1(callback, type$.dynamic);
  58742. },
  58743. _adjustExceptionSpan$1(span) {
  58744. var start, t1;
  58745. if (span.get$length(span) > 0)
  58746. return span;
  58747. start = this._firstNewlineBefore$1(span.get$start(span));
  58748. if (start.$eq(0, span.get$start(span)))
  58749. t1 = span;
  58750. else {
  58751. t1 = start.offset;
  58752. t1 = A._FileSpan$(start.file, t1, t1);
  58753. }
  58754. return t1;
  58755. },
  58756. _firstNewlineBefore$1($location) {
  58757. var lastNewline, codeUnit,
  58758. t1 = $location.file,
  58759. t2 = $location.offset,
  58760. text = A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t1._decodedChars, 0, t2), 0, null),
  58761. index = t2 - 1;
  58762. for (lastNewline = null; index >= 0;) {
  58763. codeUnit = text.charCodeAt(index);
  58764. if (!(codeUnit === 32 || codeUnit === 9 || codeUnit === 10 || codeUnit === 13 || codeUnit === 12)) {
  58765. if (lastNewline == null)
  58766. t1 = $location;
  58767. else {
  58768. t2 = new A.FileLocation(t1, lastNewline);
  58769. t2.FileLocation$_$2(t1, lastNewline);
  58770. t1 = t2;
  58771. }
  58772. return t1;
  58773. }
  58774. if (codeUnit === 10 || codeUnit === 13 || codeUnit === 12)
  58775. lastNewline = index;
  58776. --index;
  58777. }
  58778. return $location;
  58779. }
  58780. };
  58781. A.Parser__parseIdentifier_closure.prototype = {
  58782. call$0() {
  58783. var t1 = this.$this,
  58784. result = t1.identifier$0();
  58785. t1.scanner.expectDone$0();
  58786. return result;
  58787. },
  58788. $signature: 27
  58789. };
  58790. A.Parser_escape_closure.prototype = {
  58791. call$1(char) {
  58792. return char === 32 || char === 9 || char === 10 || char === 13 || char === 12;
  58793. },
  58794. $signature: 30
  58795. };
  58796. A.Parser_scanIdentChar_matches.prototype = {
  58797. call$1(actual) {
  58798. var t1 = this.char;
  58799. return this.caseSensitive ? actual === t1 : A.characterEqualsIgnoreCase(t1, actual);
  58800. },
  58801. $signature: 47
  58802. };
  58803. A.Parser_spanFrom_closure.prototype = {
  58804. call$0() {
  58805. var t1 = this.$this._interpolationMap;
  58806. if (t1 == null)
  58807. t1 = type$.InterpolationMap._as(t1);
  58808. return t1.mapSpan$1(this.span);
  58809. },
  58810. $signature: 28
  58811. };
  58812. A.SassParser.prototype = {
  58813. get$currentIndentation() {
  58814. return this._currentIndentation;
  58815. },
  58816. get$indented() {
  58817. return true;
  58818. },
  58819. styleRuleSelector$0() {
  58820. var t4,
  58821. t1 = this.scanner,
  58822. t2 = t1._string_scanner$_position,
  58823. t3 = new A.StringBuffer(""),
  58824. buffer = new A.InterpolationBuffer(t3, A._setArrayType([], type$.JSArray_Object), A._setArrayType([], type$.JSArray_nullable_FileSpan));
  58825. do {
  58826. buffer.addInterpolation$1(this.almostAnyValue$1$omitComments(true));
  58827. t4 = A.Primitives_stringFromCharCode(10);
  58828. t4 = t3._contents += t4;
  58829. } 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()));
  58830. return buffer.interpolation$1(t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
  58831. },
  58832. expectStatementSeparator$1($name) {
  58833. var t1, _this = this,
  58834. trailingSemicolon = _this._tryTrailingSemicolon$0();
  58835. if (!_this.atEndOfStatement$0())
  58836. _this._expectNewline$1$trailingSemicolon(trailingSemicolon);
  58837. if (_this._peekIndentation$0() <= _this._currentIndentation)
  58838. return;
  58839. t1 = $name == null ? "here" : "beneath a " + $name;
  58840. _this.scanner.error$2$position(0, "Nothing may be indented " + t1 + ".", _this._nextIndentationEnd.position);
  58841. },
  58842. expectStatementSeparator$0() {
  58843. return this.expectStatementSeparator$1(null);
  58844. },
  58845. atEndOfStatement$0() {
  58846. var t1 = this.scanner.peekChar$0();
  58847. if (t1 == null)
  58848. t1 = null;
  58849. else
  58850. t1 = t1 === 10 || t1 === 13 || t1 === 12;
  58851. return t1 !== false;
  58852. },
  58853. lookingAtChildren$0() {
  58854. return this.atEndOfStatement$0() && this._peekIndentation$0() > this._currentIndentation;
  58855. },
  58856. importArgument$0() {
  58857. var url, span, innerError, stackTrace, t1, _0_0, start, next, t2, exception, _this = this;
  58858. $label0$0: {
  58859. t1 = _this.scanner;
  58860. _0_0 = t1.peekChar$0();
  58861. if (117 === _0_0 || 85 === _0_0) {
  58862. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  58863. if (_this.scanIdentifier$1("url"))
  58864. if (t1.scanChar$1(40)) {
  58865. t1.set$state(start);
  58866. return _this.super$StylesheetParser$importArgument();
  58867. } else
  58868. t1.set$state(start);
  58869. break $label0$0;
  58870. }
  58871. if (39 === _0_0 || 34 === _0_0)
  58872. return _this.super$StylesheetParser$importArgument();
  58873. }
  58874. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  58875. next = t1.peekChar$0();
  58876. while (true) {
  58877. t2 = false;
  58878. if (next != null)
  58879. if (next !== 44)
  58880. if (next !== 59)
  58881. t2 = !(next === 10 || next === 13 || next === 12);
  58882. if (!t2)
  58883. break;
  58884. t1.readChar$0();
  58885. next = t1.peekChar$0();
  58886. }
  58887. url = t1.substring$1(0, start.position);
  58888. span = t1.spanFrom$1(start);
  58889. if (_this.isPlainImportUrl$1(url))
  58890. 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);
  58891. else
  58892. try {
  58893. t1 = _this.parseImportUrl$1(url);
  58894. return new A.DynamicImport(t1, span);
  58895. } catch (exception) {
  58896. t1 = A.unwrapException(exception);
  58897. if (type$.FormatException._is(t1)) {
  58898. innerError = t1;
  58899. stackTrace = A.getTraceFromException(exception);
  58900. _this.error$3(0, "Invalid URL: " + J.get$message$x(innerError), span, stackTrace);
  58901. } else
  58902. throw exception;
  58903. }
  58904. },
  58905. scanElse$1(ifIndentation) {
  58906. var t1, t2, startIndentation, startNextIndentation, startNextIndentationEnd, _this = this;
  58907. if (_this._peekIndentation$0() !== ifIndentation)
  58908. return false;
  58909. t1 = _this.scanner;
  58910. t2 = t1._string_scanner$_position;
  58911. startIndentation = _this._currentIndentation;
  58912. startNextIndentation = _this._nextIndentation;
  58913. startNextIndentationEnd = _this._nextIndentationEnd;
  58914. _this._readIndentation$0();
  58915. if (t1.scanChar$1(64) && _this.scanIdentifier$1("else"))
  58916. return true;
  58917. t1.set$state(new A._SpanScannerState(t1, t2));
  58918. _this._currentIndentation = startIndentation;
  58919. _this._nextIndentation = startNextIndentation;
  58920. _this._nextIndentationEnd = startNextIndentationEnd;
  58921. return false;
  58922. },
  58923. children$1(_, child) {
  58924. var children = A._setArrayType([], type$.JSArray_Statement);
  58925. this._whileIndentedLower$1(new A.SassParser_children_closure(this, child, children));
  58926. return children;
  58927. },
  58928. statements$1(statement) {
  58929. var statements, t2, _1_0,
  58930. t1 = this.scanner,
  58931. _0_0 = t1.peekChar$0();
  58932. if (9 === _0_0 || 32 === _0_0)
  58933. t1.error$3$length$position(0, string$.Indent, t1._string_scanner$_position, 0);
  58934. statements = A._setArrayType([], type$.JSArray_Statement);
  58935. for (t2 = t1.string.length; t1._string_scanner$_position !== t2;) {
  58936. _1_0 = this._child$1(statement);
  58937. if (_1_0 != null)
  58938. statements.push(_1_0);
  58939. this._readIndentation$0();
  58940. }
  58941. return statements;
  58942. },
  58943. _child$1(child) {
  58944. var _0_0, _this = this,
  58945. t1 = _this.scanner,
  58946. _1_0 = t1.peekChar$0();
  58947. $label0$0: {
  58948. if (13 === _1_0 || 10 === _1_0 || 12 === _1_0) {
  58949. t1 = null;
  58950. break $label0$0;
  58951. }
  58952. if (36 === _1_0) {
  58953. t1 = _this.variableDeclarationWithoutNamespace$0();
  58954. break $label0$0;
  58955. }
  58956. if (47 === _1_0) {
  58957. _0_0 = t1.peekChar$1(1);
  58958. $label1$1: {
  58959. if (47 === _0_0) {
  58960. t1 = _this._silentComment$0();
  58961. break $label1$1;
  58962. }
  58963. if (42 === _0_0) {
  58964. t1 = _this._loudComment$0();
  58965. break $label1$1;
  58966. }
  58967. t1 = child.call$0();
  58968. break $label1$1;
  58969. }
  58970. break $label0$0;
  58971. }
  58972. t1 = child.call$0();
  58973. break $label0$0;
  58974. }
  58975. return t1;
  58976. },
  58977. _silentComment$0() {
  58978. var buffer, parentIndentation, t3, t4, t5, commentPrefix, i, t6, i0, t7, _this = this,
  58979. t1 = _this.scanner,
  58980. t2 = t1._string_scanner$_position;
  58981. t1.expect$1("//");
  58982. buffer = new A.StringBuffer("");
  58983. parentIndentation = _this._currentIndentation;
  58984. t3 = t1.string.length;
  58985. t4 = 1 + parentIndentation;
  58986. t5 = 2 + parentIndentation;
  58987. $label0$0:
  58988. do {
  58989. commentPrefix = t1.scanChar$1(47) ? "///" : "//";
  58990. for (i = commentPrefix.length; true;) {
  58991. t6 = buffer._contents += commentPrefix;
  58992. for (i0 = i; i0 < _this._currentIndentation - parentIndentation; ++i0) {
  58993. t6 += A.Primitives_stringFromCharCode(32);
  58994. buffer._contents = t6;
  58995. }
  58996. while (true) {
  58997. if (t1._string_scanner$_position !== t3) {
  58998. t7 = t1.peekChar$0();
  58999. t7 = !(t7 === 10 || t7 === 13 || t7 === 12);
  59000. } else
  59001. t7 = false;
  59002. if (!t7)
  59003. break;
  59004. t6 += A.Primitives_stringFromCharCode(t1.readChar$0());
  59005. buffer._contents = t6;
  59006. }
  59007. buffer._contents = t6 + "\n";
  59008. if (_this._peekIndentation$0() < parentIndentation)
  59009. break $label0$0;
  59010. if (_this._peekIndentation$0() === parentIndentation) {
  59011. if (t1.peekChar$1(t4) === 47 && t1.peekChar$1(t5) === 47)
  59012. _this._readIndentation$0();
  59013. break;
  59014. }
  59015. _this._readIndentation$0();
  59016. }
  59017. } while (t1.scan$1("//"));
  59018. t3 = buffer._contents;
  59019. return _this.lastSilentComment = new A.SilentComment(t3.charCodeAt(0) == 0 ? t3 : t3, t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
  59020. },
  59021. _loudComment$0() {
  59022. var t2, t3, t4, buffer, parentIndentation, t5, t6, first, beginningOfComment, t7, end, i, _1_0, _0_0, endPosition, span, _this = this,
  59023. t1 = _this.scanner,
  59024. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  59025. t1.expect$1("/*");
  59026. t2 = new A.StringBuffer("");
  59027. t3 = A._setArrayType([], type$.JSArray_Object);
  59028. t4 = A._setArrayType([], type$.JSArray_nullable_FileSpan);
  59029. buffer = new A.InterpolationBuffer(t2, t3, t4);
  59030. t2._contents = "" + "/*";
  59031. parentIndentation = _this._currentIndentation;
  59032. for (t5 = t1.string, t6 = t5.length, first = true; true; first = false) {
  59033. if (first) {
  59034. beginningOfComment = t1._string_scanner$_position;
  59035. _this.spaces$0();
  59036. t7 = t1.peekChar$0();
  59037. if (t7 === 10 || t7 === 13 || t7 === 12) {
  59038. _this._readIndentation$0();
  59039. t7 = A.Primitives_stringFromCharCode(32);
  59040. t2._contents += t7;
  59041. } else {
  59042. end = t1._string_scanner$_position;
  59043. t2._contents += B.JSString_methods.substring$2(t5, beginningOfComment, end);
  59044. }
  59045. } else
  59046. t2._contents = (t2._contents += "\n") + " * ";
  59047. for (i = 3; i < _this._currentIndentation - parentIndentation; ++i) {
  59048. t7 = A.Primitives_stringFromCharCode(32);
  59049. t2._contents += t7;
  59050. }
  59051. for (; t1._string_scanner$_position !== t6;) {
  59052. _1_0 = t1.peekChar$0();
  59053. if (10 === _1_0 || 13 === _1_0 || 12 === _1_0)
  59054. break;
  59055. if (35 === _1_0) {
  59056. if (t1.peekChar$1(1) === 123) {
  59057. _0_0 = _this.singleInterpolation$0();
  59058. buffer._flushText$0();
  59059. t3.push(_0_0._0);
  59060. t4.push(_0_0._1);
  59061. } else {
  59062. t7 = A.Primitives_stringFromCharCode(t1.readChar$0());
  59063. t2._contents += t7;
  59064. }
  59065. continue;
  59066. }
  59067. if (42 === _1_0) {
  59068. if (t1.peekChar$1(1) === 47) {
  59069. t3 = A.Primitives_stringFromCharCode(t1.readChar$0());
  59070. t2._contents += t3;
  59071. t3 = A.Primitives_stringFromCharCode(t1.readChar$0());
  59072. t2._contents += t3;
  59073. endPosition = t1._string_scanner$_position;
  59074. t2 = t1._sourceFile;
  59075. t3 = start.position;
  59076. span = new A._FileSpan(t2, t3, endPosition);
  59077. span._FileSpan$3(t2, t3, endPosition);
  59078. _this.whitespace$1$consumeNewlines(false);
  59079. while (true) {
  59080. t2 = t1.peekChar$0();
  59081. if (!((t2 === 10 || t2 === 13 || t2 === 12) && _this._peekIndentation$0() > parentIndentation))
  59082. break;
  59083. for (; _this._lookingAtDoubleNewline$0();)
  59084. _this._expectNewline$0();
  59085. _this._readIndentation$0();
  59086. _this.whitespace$1$consumeNewlines(false);
  59087. }
  59088. if (t1._string_scanner$_position !== t6) {
  59089. t2 = t1.peekChar$0();
  59090. t2 = !(t2 === 10 || t2 === 13 || t2 === 12);
  59091. } else
  59092. t2 = false;
  59093. if (t2) {
  59094. t2 = t1._string_scanner$_position;
  59095. while (true) {
  59096. if (t1._string_scanner$_position !== t6) {
  59097. t3 = t1.peekChar$0();
  59098. t3 = !(t3 === 10 || t3 === 13 || t3 === 12);
  59099. } else
  59100. t3 = false;
  59101. if (!t3)
  59102. break;
  59103. t1.readChar$0();
  59104. }
  59105. 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));
  59106. } else
  59107. return new A.LoudComment(buffer.interpolation$1(span));
  59108. } else {
  59109. t7 = A.Primitives_stringFromCharCode(t1.readChar$0());
  59110. t2._contents += t7;
  59111. }
  59112. continue;
  59113. }
  59114. t7 = A.Primitives_stringFromCharCode(t1.readChar$0());
  59115. t2._contents += t7;
  59116. }
  59117. if (_this._peekIndentation$0() <= parentIndentation)
  59118. break;
  59119. for (; _this._lookingAtDoubleNewline$0();) {
  59120. _this._expectNewline$0();
  59121. t2._contents = (t2._contents += "\n") + " *";
  59122. }
  59123. _this._readIndentation$0();
  59124. }
  59125. return new A.LoudComment(buffer.interpolation$1(t1.spanFrom$1(start)));
  59126. },
  59127. whitespaceWithoutComments$1$consumeNewlines(consumeNewlines) {
  59128. var t1, t2, next, t3;
  59129. for (t1 = this.scanner, t2 = t1.string.length; t1._string_scanner$_position !== t2;) {
  59130. next = t1.peekChar$0();
  59131. if (consumeNewlines)
  59132. t3 = !(next === 32 || next === 9 || next === 10 || next === 13 || next === 12);
  59133. else
  59134. t3 = !(next === 32 || next === 9);
  59135. if (t3)
  59136. break;
  59137. t1.readChar$0();
  59138. }
  59139. },
  59140. _expectNewline$1$trailingSemicolon(trailingSemicolon) {
  59141. var t1 = this.scanner,
  59142. _0_0 = t1.peekChar$0();
  59143. if (13 === _0_0) {
  59144. t1.readChar$0();
  59145. if (t1.peekChar$0() === 10)
  59146. t1.readChar$0();
  59147. return;
  59148. }
  59149. if (10 === _0_0 || 12 === _0_0) {
  59150. t1.readChar$0();
  59151. return;
  59152. }
  59153. t1.error$1(0, trailingSemicolon ? string$.multip : "expected newline.");
  59154. },
  59155. _expectNewline$0() {
  59156. return this._expectNewline$1$trailingSemicolon(false);
  59157. },
  59158. _lookingAtDoubleNewline$0() {
  59159. var t2, _0_0,
  59160. t1 = this.scanner,
  59161. _1_0 = t1.peekChar$0();
  59162. $label1$1: {
  59163. t2 = false;
  59164. if (13 === _1_0) {
  59165. _0_0 = t1.peekChar$1(1);
  59166. $label0$0: {
  59167. if (10 === _0_0) {
  59168. t1 = t1.peekChar$1(2);
  59169. t1 = t1 === 10 || t1 === 13 || t1 === 12;
  59170. break $label0$0;
  59171. }
  59172. if (13 === _0_0 || 12 === _0_0) {
  59173. t1 = true;
  59174. break $label0$0;
  59175. }
  59176. t1 = t2;
  59177. break $label0$0;
  59178. }
  59179. break $label1$1;
  59180. }
  59181. if (10 === _1_0 || 12 === _1_0) {
  59182. t1 = t1.peekChar$1(1);
  59183. t1 = t1 === 10 || t1 === 13 || t1 === 12;
  59184. break $label1$1;
  59185. }
  59186. t1 = t2;
  59187. break $label1$1;
  59188. }
  59189. return t1;
  59190. },
  59191. _whileIndentedLower$1(body) {
  59192. var t1, t2, childIndentation, indentation, t3, t4, _this = this,
  59193. parentIndentation = _this._currentIndentation;
  59194. for (t1 = _this.scanner, t2 = t1._sourceFile, childIndentation = null; _this._peekIndentation$0() > parentIndentation;) {
  59195. indentation = _this._readIndentation$0();
  59196. if (childIndentation == null)
  59197. childIndentation = indentation;
  59198. if (childIndentation !== indentation) {
  59199. t3 = t1._string_scanner$_position;
  59200. t4 = t2.getColumn$1(t3);
  59201. t1.error$3$length$position(0, "Inconsistent indentation, expected " + childIndentation + " spaces.", t2.getColumn$1(t1._string_scanner$_position), t3 - t4);
  59202. }
  59203. body.call$0();
  59204. }
  59205. },
  59206. _readIndentation$0() {
  59207. var t1, _this = this,
  59208. currentIndentation = _this._nextIndentation;
  59209. if (currentIndentation == null)
  59210. currentIndentation = _this._nextIndentation = _this._peekIndentation$0();
  59211. _this._currentIndentation = currentIndentation;
  59212. t1 = _this._nextIndentationEnd;
  59213. t1.toString;
  59214. _this.scanner.set$state(t1);
  59215. _this._nextIndentationEnd = _this._nextIndentation = null;
  59216. return currentIndentation;
  59217. },
  59218. _peekIndentation$0() {
  59219. var t1, t2, t3, start, containsTab, containsSpace, nextIndentation, _1_0, t4, _this = this,
  59220. _0_0 = _this._nextIndentation;
  59221. if (_0_0 != null)
  59222. return _0_0;
  59223. t1 = _this.scanner;
  59224. t2 = t1._string_scanner$_position;
  59225. t3 = t1.string.length;
  59226. if (t2 === t3) {
  59227. _this._nextIndentation = 0;
  59228. _this._nextIndentationEnd = new A._SpanScannerState(t1, t2);
  59229. return 0;
  59230. }
  59231. start = new A._SpanScannerState(t1, t2);
  59232. if (!_this.scanCharIf$1(new A.SassParser__peekIndentation_closure()))
  59233. t1.error$2$position(0, "Expected newline.", t1._string_scanner$_position);
  59234. containsTab = A._Cell$();
  59235. containsSpace = A._Cell$();
  59236. nextIndentation = A._Cell$();
  59237. do {
  59238. containsSpace.__late_helper$_value = containsTab.__late_helper$_value = false;
  59239. nextIndentation.__late_helper$_value = 0;
  59240. for (; true;) {
  59241. $label0$0: {
  59242. _1_0 = t1.peekChar$0();
  59243. if (32 === _1_0) {
  59244. containsSpace.__late_helper$_value = true;
  59245. break $label0$0;
  59246. }
  59247. if (9 === _1_0) {
  59248. containsTab.__late_helper$_value = true;
  59249. break $label0$0;
  59250. }
  59251. break;
  59252. }
  59253. t2 = nextIndentation.__late_helper$_value;
  59254. if (t2 === nextIndentation)
  59255. A.throwExpression(A.LateError$localNI(""));
  59256. nextIndentation.__late_helper$_value = t2 + 1;
  59257. t1.readChar$0();
  59258. }
  59259. t2 = t1._string_scanner$_position;
  59260. if (t2 === t3) {
  59261. _this._nextIndentation = 0;
  59262. _this._nextIndentationEnd = new A._SpanScannerState(t1, t2);
  59263. t1.set$state(start);
  59264. return 0;
  59265. }
  59266. } while (_this.scanCharIf$1(new A.SassParser__peekIndentation_closure0()));
  59267. t2 = containsTab._readLocal$0();
  59268. t3 = containsSpace._readLocal$0();
  59269. if (t2) {
  59270. if (t3) {
  59271. t2 = t1._string_scanner$_position;
  59272. t3 = t1._sourceFile;
  59273. t4 = t3.getColumn$1(t2);
  59274. t1.error$3$length$position(0, "Tabs and spaces may not be mixed.", t3.getColumn$1(t1._string_scanner$_position), t2 - t4);
  59275. } else if (_this._spaces === true) {
  59276. t2 = t1._string_scanner$_position;
  59277. t3 = t1._sourceFile;
  59278. t4 = t3.getColumn$1(t2);
  59279. t1.error$3$length$position(0, "Expected spaces, was tabs.", t3.getColumn$1(t1._string_scanner$_position), t2 - t4);
  59280. }
  59281. } else if (t3 && _this._spaces === false) {
  59282. t2 = t1._string_scanner$_position;
  59283. t3 = t1._sourceFile;
  59284. t4 = t3.getColumn$1(t2);
  59285. t1.error$3$length$position(0, "Expected tabs, was spaces.", t3.getColumn$1(t1._string_scanner$_position), t2 - t4);
  59286. }
  59287. _this._nextIndentation = nextIndentation._readLocal$0();
  59288. if (nextIndentation._readLocal$0() > 0)
  59289. if (_this._spaces == null)
  59290. _this._spaces = containsSpace._readLocal$0();
  59291. _this._nextIndentationEnd = new A._SpanScannerState(t1, t1._string_scanner$_position);
  59292. t1.set$state(start);
  59293. return nextIndentation._readLocal$0();
  59294. },
  59295. _tryTrailingSemicolon$0() {
  59296. if (this.scanCharIf$1(new A.SassParser__tryTrailingSemicolon_closure())) {
  59297. this.whitespace$1$consumeNewlines(false);
  59298. return true;
  59299. }
  59300. return false;
  59301. }
  59302. };
  59303. A.SassParser_styleRuleSelector_closure.prototype = {
  59304. call$1(char) {
  59305. return char === 10 || char === 13 || char === 12;
  59306. },
  59307. $signature: 30
  59308. };
  59309. A.SassParser_children_closure.prototype = {
  59310. call$0() {
  59311. var _0_0 = this.$this._child$1(this.child);
  59312. if (_0_0 != null)
  59313. this.children.push(_0_0);
  59314. },
  59315. $signature: 0
  59316. };
  59317. A.SassParser__peekIndentation_closure.prototype = {
  59318. call$1(char) {
  59319. return char === 10 || char === 13 || char === 12;
  59320. },
  59321. $signature: 30
  59322. };
  59323. A.SassParser__peekIndentation_closure0.prototype = {
  59324. call$1(char) {
  59325. return char === 10 || char === 13 || char === 12;
  59326. },
  59327. $signature: 30
  59328. };
  59329. A.SassParser__tryTrailingSemicolon_closure.prototype = {
  59330. call$1(char) {
  59331. return char === 59;
  59332. },
  59333. $signature: 30
  59334. };
  59335. A.ScssParser.prototype = {
  59336. get$indented() {
  59337. return false;
  59338. },
  59339. get$currentIndentation() {
  59340. return 0;
  59341. },
  59342. styleRuleSelector$0() {
  59343. return this.almostAnyValue$0();
  59344. },
  59345. expectStatementSeparator$1($name) {
  59346. var t1, _0_0;
  59347. this.whitespaceWithoutComments$1$consumeNewlines(true);
  59348. t1 = this.scanner;
  59349. if (t1._string_scanner$_position === t1.string.length)
  59350. return;
  59351. _0_0 = t1.peekChar$0();
  59352. if (59 === _0_0 || 125 === _0_0)
  59353. return;
  59354. t1.expectChar$1(59);
  59355. },
  59356. expectStatementSeparator$0() {
  59357. return this.expectStatementSeparator$1(null);
  59358. },
  59359. atEndOfStatement$0() {
  59360. var next = this.scanner.peekChar$0();
  59361. return next == null || next === 59 || next === 125 || next === 123;
  59362. },
  59363. lookingAtChildren$0() {
  59364. return this.scanner.peekChar$0() === 123;
  59365. },
  59366. scanElse$1(ifIndentation) {
  59367. var t3, _this = this,
  59368. t1 = _this.scanner,
  59369. t2 = t1._string_scanner$_position;
  59370. _this.whitespace$1$consumeNewlines(true);
  59371. t3 = t1._string_scanner$_position;
  59372. if (t1.scanChar$1(64)) {
  59373. if (_this.scanIdentifier$2$caseSensitive("else", true))
  59374. return true;
  59375. if (_this.scanIdentifier$2$caseSensitive("elseif", true)) {
  59376. _this.warnings.push(new A._Record_3_deprecation_message_span(B.Deprecation_hAa, string$.x40elsei, t1.spanFrom$1(new A._SpanScannerState(t1, t3))));
  59377. t1.set$position(t1._string_scanner$_position - 2);
  59378. return true;
  59379. }
  59380. }
  59381. t1.set$state(new A._SpanScannerState(t1, t2));
  59382. return false;
  59383. },
  59384. children$1(_, child) {
  59385. var children, _this = this,
  59386. t1 = _this.scanner;
  59387. t1.expectChar$1(123);
  59388. _this.whitespaceWithoutComments$1$consumeNewlines(true);
  59389. children = A._setArrayType([], type$.JSArray_Statement);
  59390. for (; true;)
  59391. switch (t1.peekChar$0()) {
  59392. case 36:
  59393. children.push(_this.variableDeclarationWithoutNamespace$0());
  59394. break;
  59395. case 47:
  59396. switch (t1.peekChar$1(1)) {
  59397. case 47:
  59398. children.push(_this._scss$_silentComment$0());
  59399. _this.whitespaceWithoutComments$1$consumeNewlines(true);
  59400. break;
  59401. case 42:
  59402. children.push(_this._scss$_loudComment$0());
  59403. _this.whitespaceWithoutComments$1$consumeNewlines(true);
  59404. break;
  59405. default:
  59406. children.push(child.call$0());
  59407. }
  59408. break;
  59409. case 59:
  59410. t1.readChar$0();
  59411. _this.whitespaceWithoutComments$1$consumeNewlines(true);
  59412. break;
  59413. case 125:
  59414. t1.expectChar$1(125);
  59415. return children;
  59416. default:
  59417. children.push(child.call$0());
  59418. }
  59419. },
  59420. statements$1(statement) {
  59421. var t1, t2, _0_0, _1_0, _this = this,
  59422. statements = A._setArrayType([], type$.JSArray_Statement);
  59423. _this.whitespaceWithoutComments$1$consumeNewlines(true);
  59424. for (t1 = _this.scanner, t2 = t1.string.length; t1._string_scanner$_position !== t2;)
  59425. switch (t1.peekChar$0()) {
  59426. case 36:
  59427. statements.push(_this.variableDeclarationWithoutNamespace$0());
  59428. break;
  59429. case 47:
  59430. switch (t1.peekChar$1(1)) {
  59431. case 47:
  59432. statements.push(_this._scss$_silentComment$0());
  59433. _this.whitespaceWithoutComments$1$consumeNewlines(true);
  59434. break;
  59435. case 42:
  59436. statements.push(_this._scss$_loudComment$0());
  59437. _this.whitespaceWithoutComments$1$consumeNewlines(true);
  59438. break;
  59439. default:
  59440. _0_0 = statement.call$0();
  59441. if (_0_0 != null)
  59442. statements.push(_0_0);
  59443. }
  59444. break;
  59445. case 59:
  59446. t1.readChar$0();
  59447. _this.whitespaceWithoutComments$1$consumeNewlines(true);
  59448. break;
  59449. default:
  59450. _1_0 = statement.call$0();
  59451. if (_1_0 != null)
  59452. statements.push(_1_0);
  59453. }
  59454. return statements;
  59455. },
  59456. _scss$_silentComment$0() {
  59457. var t2, t3, _this = this,
  59458. t1 = _this.scanner,
  59459. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  59460. t1.expect$1("//");
  59461. t2 = t1.string.length;
  59462. do {
  59463. while (true) {
  59464. if (t1._string_scanner$_position !== t2) {
  59465. t3 = t1.readChar$0();
  59466. t3 = !(t3 === 10 || t3 === 13 || t3 === 12);
  59467. } else
  59468. t3 = false;
  59469. if (!t3)
  59470. break;
  59471. }
  59472. if (t1._string_scanner$_position === t2)
  59473. break;
  59474. _this.spaces$0();
  59475. } while (t1.scan$1("//"));
  59476. if (_this.get$plainCss())
  59477. _this.error$2(0, string$.Silent, t1.spanFrom$1(start));
  59478. return _this.lastSilentComment = new A.SilentComment(t1.substring$1(0, start.position), t1.spanFrom$1(start));
  59479. },
  59480. _scss$_loudComment$0() {
  59481. var t3, t4, t5, buffer, _0_0, t6, endPosition,
  59482. t1 = this.scanner,
  59483. t2 = t1._string_scanner$_position;
  59484. t1.expect$1("/*");
  59485. t3 = new A.StringBuffer("");
  59486. t4 = A._setArrayType([], type$.JSArray_Object);
  59487. t5 = A._setArrayType([], type$.JSArray_nullable_FileSpan);
  59488. buffer = new A.InterpolationBuffer(t3, t4, t5);
  59489. t3._contents = "" + "/*";
  59490. $label0$1:
  59491. for (; true;)
  59492. switch (t1.peekChar$0()) {
  59493. case 35:
  59494. if (t1.peekChar$1(1) === 123) {
  59495. _0_0 = this.singleInterpolation$0();
  59496. buffer._flushText$0();
  59497. t4.push(_0_0._0);
  59498. t5.push(_0_0._1);
  59499. } else {
  59500. t6 = A.Primitives_stringFromCharCode(t1.readChar$0());
  59501. t3._contents += t6;
  59502. }
  59503. break;
  59504. case 42:
  59505. t6 = A.Primitives_stringFromCharCode(t1.readChar$0());
  59506. t3._contents += t6;
  59507. if (t1.peekChar$0() !== 47)
  59508. continue $label0$1;
  59509. t4 = A.Primitives_stringFromCharCode(t1.readChar$0());
  59510. t3._contents += t4;
  59511. endPosition = t1._string_scanner$_position;
  59512. t3 = t1._sourceFile;
  59513. t4 = new A._SpanScannerState(t1, t2).position;
  59514. t1 = new A._FileSpan(t3, t4, endPosition);
  59515. t1._FileSpan$3(t3, t4, endPosition);
  59516. return new A.LoudComment(buffer.interpolation$1(t1));
  59517. case 13:
  59518. t1.readChar$0();
  59519. if (t1.peekChar$0() !== 10) {
  59520. t6 = A.Primitives_stringFromCharCode(10);
  59521. t3._contents += t6;
  59522. }
  59523. break;
  59524. case 12:
  59525. t1.readChar$0();
  59526. t6 = A.Primitives_stringFromCharCode(10);
  59527. t3._contents += t6;
  59528. break;
  59529. default:
  59530. t6 = A.Primitives_stringFromCharCode(t1.readChar$0());
  59531. t3._contents += t6;
  59532. }
  59533. }
  59534. };
  59535. A.SelectorParser.prototype = {
  59536. parse$0(_) {
  59537. return this.wrapSpanFormatException$1(new A.SelectorParser_parse_closure(this));
  59538. },
  59539. parseCompoundSelector$0() {
  59540. return this.wrapSpanFormatException$1(new A.SelectorParser_parseCompoundSelector_closure(this));
  59541. },
  59542. _selectorList$0() {
  59543. var t4, t5, lineBreak, _this = this,
  59544. t1 = _this.scanner,
  59545. t2 = t1._string_scanner$_position,
  59546. t3 = t1._sourceFile,
  59547. previousLine = t3.getLine$1(t2),
  59548. components = A._setArrayType([_this._complexSelector$0()], type$.JSArray_ComplexSelector);
  59549. _this.whitespace$1$consumeNewlines(true);
  59550. for (t4 = t1.string.length; t1.scanChar$1(44);) {
  59551. _this.whitespace$1$consumeNewlines(true);
  59552. if (t1.peekChar$0() === 44)
  59553. continue;
  59554. t5 = t1._string_scanner$_position;
  59555. if (t5 === t4)
  59556. break;
  59557. lineBreak = t3.getLine$1(t5) !== previousLine;
  59558. if (lineBreak)
  59559. previousLine = t3.getLine$1(t1._string_scanner$_position);
  59560. components.push(_this._complexSelector$1$lineBreak(lineBreak));
  59561. }
  59562. return A.SelectorList$(components, _this.spanFrom$1(new A._SpanScannerState(t1, t2)));
  59563. },
  59564. _complexSelector$1$lineBreak(lineBreak) {
  59565. var t4, lastCompound, initialCombinators, _0_0, t5, result, _this = this,
  59566. _s18_ = "expected selector.",
  59567. t1 = _this.scanner,
  59568. t2 = t1._string_scanner$_position,
  59569. componentStart = new A._SpanScannerState(t1, t2),
  59570. t3 = type$.JSArray_CssValue_Combinator,
  59571. combinators = A._setArrayType([], t3),
  59572. components = A._setArrayType([], type$.JSArray_ComplexSelectorComponent);
  59573. for (t4 = type$.CssValue_Combinator, lastCompound = null, initialCombinators = null; true;) {
  59574. _this.whitespace$1$consumeNewlines(true);
  59575. _0_0 = t1.peekChar$0();
  59576. if (43 === _0_0) {
  59577. t5 = t1._string_scanner$_position;
  59578. t1.readChar$0();
  59579. combinators.push(new A.CssValue(B.Combinator_bOP, _this.spanFrom$1(new A._SpanScannerState(t1, t5)), t4));
  59580. continue;
  59581. }
  59582. if (62 === _0_0) {
  59583. t5 = t1._string_scanner$_position;
  59584. t1.readChar$0();
  59585. combinators.push(new A.CssValue(B.Combinator_0mp, _this.spanFrom$1(new A._SpanScannerState(t1, t5)), t4));
  59586. continue;
  59587. }
  59588. if (126 === _0_0) {
  59589. t5 = t1._string_scanner$_position;
  59590. t1.readChar$0();
  59591. combinators.push(new A.CssValue(B.Combinator_55N, _this.spanFrom$1(new A._SpanScannerState(t1, t5)), t4));
  59592. continue;
  59593. }
  59594. if (_0_0 == null)
  59595. break;
  59596. t5 = true;
  59597. if (91 !== _0_0)
  59598. if (46 !== _0_0)
  59599. if (35 !== _0_0)
  59600. if (37 !== _0_0)
  59601. if (58 !== _0_0)
  59602. if (38 !== _0_0)
  59603. if (42 !== _0_0)
  59604. if (124 !== _0_0)
  59605. t5 = _this.lookingAtIdentifier$0();
  59606. if (t5) {
  59607. if (lastCompound != null) {
  59608. t5 = _this.spanFrom$1(componentStart);
  59609. result = A.List_List$from(combinators, false, t4);
  59610. result.$flags = 3;
  59611. components.push(new A.ComplexSelectorComponent(lastCompound, result, t5));
  59612. } else if (combinators.length !== 0) {
  59613. componentStart = new A._SpanScannerState(t1, t1._string_scanner$_position);
  59614. initialCombinators = combinators;
  59615. }
  59616. lastCompound = _this._compoundSelector$0();
  59617. combinators = A._setArrayType([], t3);
  59618. if (t1.peekChar$0() === 38)
  59619. t1.error$1(0, string$.x22x26__ma);
  59620. continue;
  59621. }
  59622. break;
  59623. }
  59624. t3 = combinators.length !== 0;
  59625. if (t3 && _this._plainCss)
  59626. t1.error$1(0, _s18_);
  59627. else if (lastCompound != null) {
  59628. t3 = _this.spanFrom$1(componentStart);
  59629. components.push(new A.ComplexSelectorComponent(lastCompound, A.List_List$unmodifiable(combinators, t4), t3));
  59630. } else if (t3)
  59631. initialCombinators = combinators;
  59632. else
  59633. t1.error$1(0, _s18_);
  59634. t3 = initialCombinators == null ? B.List_empty0 : initialCombinators;
  59635. return A.ComplexSelector$(t3, components, _this.spanFrom$1(new A._SpanScannerState(t1, t2)), lineBreak);
  59636. },
  59637. _complexSelector$0() {
  59638. return this._complexSelector$1$lineBreak(false);
  59639. },
  59640. _compoundSelector$0() {
  59641. var t3, _this = this,
  59642. t1 = _this.scanner,
  59643. t2 = t1._string_scanner$_position,
  59644. components = A._setArrayType([_this._simpleSelector$0()], type$.JSArray_SimpleSelector);
  59645. for (t3 = _this._plainCss; _this._isSimpleSelectorStart$1(t1.peekChar$0());)
  59646. components.push(_this._simpleSelector$1$allowParent(t3));
  59647. return A.CompoundSelector$(components, _this.spanFrom$1(new A._SpanScannerState(t1, t2)));
  59648. },
  59649. _simpleSelector$1$allowParent(allowParent) {
  59650. var t2, $name, text, t3, suffix, _this = this,
  59651. t1 = _this.scanner,
  59652. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  59653. if (allowParent == null)
  59654. allowParent = _this._allowParent;
  59655. switch (t1.peekChar$0()) {
  59656. case 91:
  59657. return _this._attributeSelector$0();
  59658. case 46:
  59659. t2 = t1._string_scanner$_position;
  59660. t1.expectChar$1(46);
  59661. return new A.ClassSelector(_this.identifier$0(), _this.spanFrom$1(new A._SpanScannerState(t1, t2)));
  59662. case 35:
  59663. t2 = t1._string_scanner$_position;
  59664. t1.expectChar$1(35);
  59665. return new A.IDSelector(_this.identifier$0(), _this.spanFrom$1(new A._SpanScannerState(t1, t2)));
  59666. case 37:
  59667. t2 = t1._string_scanner$_position;
  59668. t1.expectChar$1(37);
  59669. $name = _this.identifier$0();
  59670. t2 = _this.spanFrom$1(new A._SpanScannerState(t1, t2));
  59671. if (_this._plainCss)
  59672. _this.error$2(0, string$.Placeh, t1.spanFrom$1(start));
  59673. return new A.PlaceholderSelector($name, t2);
  59674. case 58:
  59675. return _this._pseudoSelector$0();
  59676. case 38:
  59677. t2 = t1._string_scanner$_position;
  59678. t1.expectChar$1(38);
  59679. if (_this.lookingAtIdentifierBody$0()) {
  59680. text = new A.StringBuffer("");
  59681. _this._identifierBody$1(text);
  59682. if (text._contents.length === 0)
  59683. t1.error$1(0, "Expected identifier body.");
  59684. t3 = text._contents;
  59685. suffix = t3.charCodeAt(0) == 0 ? t3 : t3;
  59686. } else
  59687. suffix = null;
  59688. if (_this._plainCss && suffix != null)
  59689. t1.error$3$length$position(0, string$.Parent, t1._string_scanner$_position - t2, t2);
  59690. t2 = _this.spanFrom$1(new A._SpanScannerState(t1, t2));
  59691. if (!allowParent)
  59692. _this.error$2(0, "Parent selectors aren't allowed here.", t1.spanFrom$1(start));
  59693. return new A.ParentSelector(suffix, t2);
  59694. default:
  59695. return _this._typeOrUniversalSelector$0();
  59696. }
  59697. },
  59698. _simpleSelector$0() {
  59699. return this._simpleSelector$1$allowParent(null);
  59700. },
  59701. _attributeSelector$0() {
  59702. var $name, operator, next, value, modifier, _this = this, _null = null,
  59703. t1 = _this.scanner,
  59704. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  59705. t1.expectChar$1(91);
  59706. _this.whitespace$1$consumeNewlines(true);
  59707. $name = _this._attributeName$0();
  59708. _this.whitespace$1$consumeNewlines(true);
  59709. if (t1.scanChar$1(93))
  59710. return new A.AttributeSelector($name, _null, _null, _null, _this.spanFrom$1(start));
  59711. operator = _this._attributeOperator$0();
  59712. _this.whitespace$1$consumeNewlines(true);
  59713. next = t1.peekChar$0();
  59714. value = next === 39 || next === 34 ? _this.string$0() : _this.identifier$0();
  59715. _this.whitespace$1$consumeNewlines(true);
  59716. next = t1.peekChar$0();
  59717. modifier = next != null && A.CharacterExtension_get_isAlphabetic(next) ? A.Primitives_stringFromCharCode(t1.readChar$0()) : _null;
  59718. t1.expectChar$1(93);
  59719. return new A.AttributeSelector($name, operator, value, modifier, _this.spanFrom$1(start));
  59720. },
  59721. _attributeName$0() {
  59722. var nameOrNamespace, _this = this,
  59723. t1 = _this.scanner;
  59724. if (t1.scanChar$1(42)) {
  59725. t1.expectChar$1(124);
  59726. return new A.QualifiedName(_this.identifier$0(), "*");
  59727. }
  59728. if (t1.scanChar$1(124))
  59729. return new A.QualifiedName(_this.identifier$0(), "");
  59730. nameOrNamespace = _this.identifier$0();
  59731. if (t1.peekChar$0() !== 124 || t1.peekChar$1(1) === 61)
  59732. return new A.QualifiedName(nameOrNamespace, null);
  59733. t1.readChar$0();
  59734. return new A.QualifiedName(_this.identifier$0(), nameOrNamespace);
  59735. },
  59736. _attributeOperator$0() {
  59737. var t1 = this.scanner,
  59738. t2 = t1._string_scanner$_position;
  59739. switch (t1.readChar$0()) {
  59740. case 61:
  59741. return B.AttributeOperator_Lvy;
  59742. case 126:
  59743. t1.expectChar$1(61);
  59744. return B.AttributeOperator_fp2;
  59745. case 124:
  59746. t1.expectChar$1(61);
  59747. return B.AttributeOperator_iyP;
  59748. case 94:
  59749. t1.expectChar$1(61);
  59750. return B.AttributeOperator_JzP;
  59751. case 36:
  59752. t1.expectChar$1(61);
  59753. return B.AttributeOperator_U1W;
  59754. case 42:
  59755. t1.expectChar$1(61);
  59756. return B.AttributeOperator_GWq;
  59757. default:
  59758. t1.error$2$position(0, 'Expected "]".', t2);
  59759. }
  59760. },
  59761. _pseudoSelector$0() {
  59762. var element, $name, unvendored, argument, selector, t2, _this = this, _null = null,
  59763. t1 = _this.scanner,
  59764. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  59765. t1.expectChar$1(58);
  59766. element = t1.scanChar$1(58);
  59767. $name = _this.identifier$0();
  59768. if (!t1.scanChar$1(40))
  59769. return A.PseudoSelector$($name, _this.spanFrom$1(start), _null, element, _null);
  59770. _this.whitespace$1$consumeNewlines(true);
  59771. unvendored = A.unvendor($name);
  59772. argument = _null;
  59773. selector = _null;
  59774. if (element)
  59775. if ($._selectorPseudoElements.contains$1(0, unvendored))
  59776. selector = _this._selectorList$0();
  59777. else
  59778. argument = _this.declarationValue$1$allowEmpty(true);
  59779. else if ($._selectorPseudoClasses.contains$1(0, unvendored))
  59780. selector = _this._selectorList$0();
  59781. else if (unvendored === "nth-child" || unvendored === "nth-last-child") {
  59782. argument = _this._aNPlusB$0();
  59783. _this.whitespace$1$consumeNewlines(true);
  59784. t2 = t1.peekChar$1(-1);
  59785. if ((t2 === 32 || t2 === 9 || t2 === 10 || t2 === 13 || t2 === 12) && t1.peekChar$0() !== 41) {
  59786. _this.expectIdentifier$1("of");
  59787. argument += " of";
  59788. _this.whitespace$1$consumeNewlines(true);
  59789. selector = _this._selectorList$0();
  59790. }
  59791. } else
  59792. argument = B.JSString_methods.trimRight$0(_this.declarationValue$1$allowEmpty(true));
  59793. t1.expectChar$1(41);
  59794. return A.PseudoSelector$($name, _this.spanFrom$1(start), argument, element, selector);
  59795. },
  59796. _aNPlusB$0() {
  59797. var t1, _0_0, t2, $self, next, _this = this;
  59798. $label0$0: {
  59799. t1 = _this.scanner;
  59800. _0_0 = t1.peekChar$0();
  59801. if (101 === _0_0 || 69 === _0_0) {
  59802. _this.expectIdentifier$1("even");
  59803. return "even";
  59804. }
  59805. if (111 === _0_0 || 79 === _0_0) {
  59806. _this.expectIdentifier$1("odd");
  59807. return "odd";
  59808. }
  59809. if (43 === _0_0 || 45 === _0_0) {
  59810. t2 = "" + A.Primitives_stringFromCharCode(t1.readChar$0());
  59811. break $label0$0;
  59812. }
  59813. t2 = "";
  59814. }
  59815. $self = t1.peekChar$0();
  59816. if ($self != null && $self >= 48 && $self <= 57) {
  59817. do {
  59818. t2 += A.Primitives_stringFromCharCode(t1.readChar$0());
  59819. $self = t1.peekChar$0();
  59820. } while ($self != null && $self >= 48 && $self <= 57);
  59821. _this.whitespace$1$consumeNewlines(true);
  59822. if (!_this.scanIdentChar$1(110))
  59823. return t2.charCodeAt(0) == 0 ? t2 : t2;
  59824. } else
  59825. _this.expectIdentChar$1(110);
  59826. t2 += A.Primitives_stringFromCharCode(110);
  59827. _this.whitespace$1$consumeNewlines(true);
  59828. next = t1.peekChar$0();
  59829. if (next !== 43 && next !== 45)
  59830. return t2.charCodeAt(0) == 0 ? t2 : t2;
  59831. t2 += A.Primitives_stringFromCharCode(t1.readChar$0());
  59832. _this.whitespace$1$consumeNewlines(true);
  59833. $self = t1.peekChar$0();
  59834. if (!($self != null && $self >= 48 && $self <= 57))
  59835. t1.error$1(0, "Expected a number.");
  59836. do {
  59837. t2 += A.Primitives_stringFromCharCode(t1.readChar$0());
  59838. $self = t1.peekChar$0();
  59839. } while ($self != null && $self >= 48 && $self <= 57);
  59840. return t2.charCodeAt(0) == 0 ? t2 : t2;
  59841. },
  59842. _typeOrUniversalSelector$0() {
  59843. var nameOrNamespace, _this = this,
  59844. t1 = _this.scanner,
  59845. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  59846. if (t1.scanChar$1(42)) {
  59847. if (!t1.scanChar$1(124))
  59848. return new A.UniversalSelector(null, _this.spanFrom$1(start));
  59849. 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));
  59850. } else if (t1.scanChar$1(124))
  59851. 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));
  59852. nameOrNamespace = _this.identifier$0();
  59853. if (!t1.scanChar$1(124))
  59854. return new A.TypeSelector(new A.QualifiedName(nameOrNamespace, null), _this.spanFrom$1(start));
  59855. else if (t1.scanChar$1(42))
  59856. return new A.UniversalSelector(nameOrNamespace, _this.spanFrom$1(start));
  59857. else
  59858. return new A.TypeSelector(new A.QualifiedName(_this.identifier$0(), nameOrNamespace), _this.spanFrom$1(start));
  59859. },
  59860. _isSimpleSelectorStart$1(character) {
  59861. var t1;
  59862. $label0$0: {
  59863. if (42 === character || 91 === character || 46 === character || 35 === character || 37 === character || 58 === character) {
  59864. t1 = true;
  59865. break $label0$0;
  59866. }
  59867. if (38 === character) {
  59868. t1 = this._plainCss;
  59869. break $label0$0;
  59870. }
  59871. t1 = false;
  59872. break $label0$0;
  59873. }
  59874. return t1;
  59875. }
  59876. };
  59877. A.SelectorParser_parse_closure.prototype = {
  59878. call$0() {
  59879. var t1 = this.$this,
  59880. selector = t1._selectorList$0();
  59881. t1 = t1.scanner;
  59882. if (t1._string_scanner$_position !== t1.string.length)
  59883. t1.error$1(0, "expected selector.");
  59884. return selector;
  59885. },
  59886. $signature: 448
  59887. };
  59888. A.SelectorParser_parseCompoundSelector_closure.prototype = {
  59889. call$0() {
  59890. var t1 = this.$this,
  59891. compound = t1._compoundSelector$0();
  59892. t1 = t1.scanner;
  59893. if (t1._string_scanner$_position !== t1.string.length)
  59894. t1.error$1(0, "expected selector.");
  59895. return compound;
  59896. },
  59897. $signature: 451
  59898. };
  59899. A.StylesheetParser.prototype = {
  59900. parse$0(_) {
  59901. return this.wrapSpanFormatException$1(new A.StylesheetParser_parse_closure(this));
  59902. },
  59903. parseParameterList$0() {
  59904. return this._parseSingleProduction$1$1(new A.StylesheetParser_parseParameterList_closure(this), type$.ParameterList);
  59905. },
  59906. parseVariableDeclaration$0() {
  59907. return new A._Record_2(this._parseSingleProduction$1$1(new A.StylesheetParser_parseVariableDeclaration_closure(this), type$.VariableDeclaration), this.warnings);
  59908. },
  59909. parseUseRule$0() {
  59910. return new A._Record_2(this._parseSingleProduction$1$1(new A.StylesheetParser_parseUseRule_closure(this), type$.UseRule), this.warnings);
  59911. },
  59912. _parseSingleProduction$1$1(production, $T) {
  59913. return this.wrapSpanFormatException$1(new A.StylesheetParser__parseSingleProduction_closure(this, production, $T));
  59914. },
  59915. _statement$1$root(root) {
  59916. var t2, _this = this,
  59917. t1 = _this.scanner,
  59918. _0_0 = t1.peekChar$0();
  59919. if (64 === _0_0)
  59920. return _this.atRule$2$root(new A.StylesheetParser__statement_closure(_this), root);
  59921. if (43 === _0_0) {
  59922. if (!_this.get$indented() || !_this.lookingAtIdentifier$1(1))
  59923. return _this._styleRule$0();
  59924. _this._isUseAllowed = false;
  59925. t2 = t1._string_scanner$_position;
  59926. t1.readChar$0();
  59927. return _this._includeRule$1(new A._SpanScannerState(t1, t2));
  59928. }
  59929. if (61 === _0_0) {
  59930. if (!_this.get$indented())
  59931. return _this._styleRule$0();
  59932. _this._isUseAllowed = false;
  59933. t2 = t1._string_scanner$_position;
  59934. t1.readChar$0();
  59935. _this.whitespace$1$consumeNewlines(true);
  59936. return _this._mixinRule$1(new A._SpanScannerState(t1, t2));
  59937. }
  59938. if (125 === _0_0)
  59939. t1.error$2$length(0, 'unmatched "}".', 1);
  59940. return _this._inStyleRule || _this._stylesheet$_inUnknownAtRule || _this._stylesheet$_inMixin || _this._inContentBlock ? _this._declarationOrStyleRule$0() : _this._variableDeclarationOrStyleRule$0();
  59941. },
  59942. _statement$0() {
  59943. return this._statement$1$root(false);
  59944. },
  59945. _variableDeclarationWithNamespace$0() {
  59946. var t1 = this.scanner,
  59947. t2 = t1._string_scanner$_position,
  59948. namespace = this.identifier$0();
  59949. t1.expectChar$1(46);
  59950. return this.variableDeclarationWithoutNamespace$2(namespace, new A._SpanScannerState(t1, t2));
  59951. },
  59952. variableDeclarationWithoutNamespace$2(namespace, start_) {
  59953. var t1, start, $name, t2, value, flagStart, t3, guarded, global, _0_0, endPosition, t4, t5, t6, declaration, _this = this,
  59954. precedingComment = _this.lastSilentComment;
  59955. _this.lastSilentComment = null;
  59956. if (start_ == null) {
  59957. t1 = _this.scanner;
  59958. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  59959. } else
  59960. start = start_;
  59961. $name = _this.variableName$0();
  59962. t1 = namespace != null;
  59963. if (t1)
  59964. _this._assertPublic$2($name, new A.StylesheetParser_variableDeclarationWithoutNamespace_closure(_this, start));
  59965. if (_this.get$plainCss())
  59966. _this.error$2(0, string$.Sassx20v, _this.scanner.spanFrom$1(start));
  59967. _this.whitespace$1$consumeNewlines(true);
  59968. t2 = _this.scanner;
  59969. t2.expectChar$1(58);
  59970. _this.whitespace$1$consumeNewlines(true);
  59971. value = _this._expression$0();
  59972. flagStart = new A._SpanScannerState(t2, t2._string_scanner$_position);
  59973. for (t3 = _this.warnings, guarded = false, global = false; t2.scanChar$1(33);) {
  59974. $label0$0: {
  59975. _0_0 = _this.identifier$0();
  59976. if ("default" === _0_0) {
  59977. if (guarded) {
  59978. endPosition = t2._string_scanner$_position;
  59979. t4 = t2._sourceFile;
  59980. t5 = flagStart.position;
  59981. t6 = new A._FileSpan(t4, t5, endPosition);
  59982. t6._FileSpan$3(t4, t5, endPosition);
  59983. t3.push(new A._Record_3_deprecation_message_span(B.Deprecation_0NP, string$.x21defau, t6));
  59984. }
  59985. guarded = true;
  59986. break $label0$0;
  59987. }
  59988. if ("global" === _0_0) {
  59989. if (t1) {
  59990. endPosition = t2._string_scanner$_position;
  59991. t4 = t2._sourceFile;
  59992. t5 = flagStart.position;
  59993. t6 = new A._FileSpan(t4, t5, endPosition);
  59994. t6._FileSpan$3(t4, t5, endPosition);
  59995. _this.error$2(0, string$.x21globai, t6);
  59996. } else if (global) {
  59997. endPosition = t2._string_scanner$_position;
  59998. t4 = t2._sourceFile;
  59999. t5 = flagStart.position;
  60000. t6 = new A._FileSpan(t4, t5, endPosition);
  60001. t6._FileSpan$3(t4, t5, endPosition);
  60002. t3.push(new A._Record_3_deprecation_message_span(B.Deprecation_0NP, string$.x21globas, t6));
  60003. }
  60004. global = true;
  60005. break $label0$0;
  60006. }
  60007. endPosition = t2._string_scanner$_position;
  60008. t4 = t2._sourceFile;
  60009. t5 = flagStart.position;
  60010. t6 = new A._FileSpan(t4, t5, endPosition);
  60011. t6._FileSpan$3(t4, t5, endPosition);
  60012. _this.error$2(0, "Invalid flag name.", t6);
  60013. }
  60014. _this.whitespace$1$consumeNewlines(false);
  60015. flagStart = new A._SpanScannerState(t2, t2._string_scanner$_position);
  60016. }
  60017. _this.expectStatementSeparator$1("variable declaration");
  60018. declaration = A.VariableDeclaration$($name, value, t2.spanFrom$1(start), precedingComment, global, guarded, namespace);
  60019. if (global)
  60020. _this._globalVariables.putIfAbsent$2($name, new A.StylesheetParser_variableDeclarationWithoutNamespace_closure0(declaration));
  60021. return declaration;
  60022. },
  60023. variableDeclarationWithoutNamespace$0() {
  60024. return this.variableDeclarationWithoutNamespace$2(null, null);
  60025. },
  60026. _variableDeclarationOrStyleRule$0() {
  60027. var t1, t2, variableOrInterpolation, t3, _this = this;
  60028. if (_this.get$plainCss())
  60029. return _this._styleRule$0();
  60030. if (_this.get$indented() && _this.scanner.scanChar$1(92))
  60031. return _this._styleRule$0();
  60032. if (!_this.lookingAtIdentifier$0())
  60033. return _this._styleRule$0();
  60034. t1 = _this.scanner;
  60035. t2 = t1._string_scanner$_position;
  60036. variableOrInterpolation = _this._variableDeclarationOrInterpolation$0();
  60037. if (variableOrInterpolation instanceof A.VariableDeclaration)
  60038. t1 = variableOrInterpolation;
  60039. else {
  60040. t3 = new A.InterpolationBuffer(new A.StringBuffer(""), A._setArrayType([], type$.JSArray_Object), A._setArrayType([], type$.JSArray_nullable_FileSpan));
  60041. t3.addInterpolation$1(type$.Interpolation._as(variableOrInterpolation));
  60042. t2 = _this._styleRule$2(t3, new A._SpanScannerState(t1, t2));
  60043. t1 = t2;
  60044. }
  60045. return t1;
  60046. },
  60047. _declarationOrStyleRule$0() {
  60048. var t1, t2, declarationOrBuffer, _this = this;
  60049. if (_this.get$indented() && _this.scanner.scanChar$1(92))
  60050. return _this._styleRule$0();
  60051. t1 = _this.scanner;
  60052. t2 = t1._string_scanner$_position;
  60053. declarationOrBuffer = _this._declarationOrBuffer$0();
  60054. return declarationOrBuffer instanceof A.Statement ? declarationOrBuffer : _this._styleRule$2(type$.InterpolationBuffer._as(declarationOrBuffer), new A._SpanScannerState(t1, t2));
  60055. },
  60056. _declarationOrBuffer$0() {
  60057. var midBuffer, couldBeSelector, beforeDeclaration, value, additional, t2, t3, variableOrInterpolation, t4, $name, postColonWhitespace, _0_0, exception, _1_0, _this = this,
  60058. t1 = _this.scanner,
  60059. start = new A._SpanScannerState(t1, t1._string_scanner$_position),
  60060. nameBuffer = new A.InterpolationBuffer(new A.StringBuffer(""), A._setArrayType([], type$.JSArray_Object), A._setArrayType([], type$.JSArray_nullable_FileSpan)),
  60061. startsWithPunctuation = _this._lookingAtPotentialPropertyHack$0();
  60062. if (startsWithPunctuation) {
  60063. t2 = t1.readChar$0();
  60064. t3 = nameBuffer._interpolation_buffer$_text;
  60065. t2 = A.Primitives_stringFromCharCode(t2);
  60066. t3._contents += t2;
  60067. t2 = _this.rawText$1(new A.StylesheetParser__declarationOrBuffer_closure(_this));
  60068. t3 = nameBuffer._interpolation_buffer$_text;
  60069. t3._contents += t2;
  60070. }
  60071. if (!_this._lookingAtInterpolatedIdentifier$0())
  60072. return nameBuffer;
  60073. variableOrInterpolation = startsWithPunctuation ? _this.interpolatedIdentifier$0() : _this._variableDeclarationOrInterpolation$0();
  60074. if (variableOrInterpolation instanceof A.VariableDeclaration)
  60075. return variableOrInterpolation;
  60076. else
  60077. nameBuffer.addInterpolation$1(type$.Interpolation._as(variableOrInterpolation));
  60078. _this._isUseAllowed = false;
  60079. if (t1.matches$1("/*")) {
  60080. t2 = _this.rawText$1(_this.get$loudComment());
  60081. t3 = nameBuffer._interpolation_buffer$_text;
  60082. t3._contents += t2;
  60083. }
  60084. midBuffer = new A.StringBuffer("");
  60085. t2 = midBuffer;
  60086. t3 = _this.rawText$1(new A.StylesheetParser__declarationOrBuffer_closure0(_this));
  60087. t2._contents += t3;
  60088. t3 = t1._string_scanner$_position;
  60089. if (!t1.scanChar$1(58)) {
  60090. if (midBuffer._contents.length !== 0) {
  60091. t1 = nameBuffer._interpolation_buffer$_text;
  60092. t2 = A.Primitives_stringFromCharCode(32);
  60093. t1._contents += t2;
  60094. }
  60095. return nameBuffer;
  60096. }
  60097. t2 = midBuffer;
  60098. t4 = A.Primitives_stringFromCharCode(58);
  60099. t2._contents += t4;
  60100. $name = nameBuffer.interpolation$1(t1.spanFrom$2(start, new A._SpanScannerState(t1, t3)));
  60101. if (B.JSString_methods.startsWith$1($name.get$initialPlain(), "--")) {
  60102. if (_this.atEndOfStatement$0()) {
  60103. t2 = A.FileLocation$_(t1._sourceFile, t1._string_scanner$_position);
  60104. t3 = t2.offset;
  60105. t3 = A.Interpolation$(B.List_empty11, B.List_empty12, A._FileSpan$(t2.file, t3, t3));
  60106. t2 = t3;
  60107. } else
  60108. t2 = _this._interpolatedDeclarationValue$1$silentComments(false);
  60109. _this.expectStatementSeparator$1("custom property");
  60110. return A.Declaration$($name, new A.StringExpression(t2, false), t1.spanFrom$1(start));
  60111. }
  60112. if (t1.scanChar$1(58)) {
  60113. t1 = nameBuffer;
  60114. t2 = t1._interpolation_buffer$_text;
  60115. t3 = A.S(midBuffer);
  60116. t2._contents += t3;
  60117. t3 = A.Primitives_stringFromCharCode(58);
  60118. t2._contents += t3;
  60119. return t1;
  60120. } else if (_this.get$indented() && _this._lookingAtInterpolatedIdentifier$0()) {
  60121. t1 = nameBuffer;
  60122. t2 = t1._interpolation_buffer$_text;
  60123. t3 = A.S(midBuffer);
  60124. t2._contents += t3;
  60125. return t1;
  60126. }
  60127. postColonWhitespace = _this.rawText$1(new A.StylesheetParser__declarationOrBuffer_closure1(_this));
  60128. _0_0 = _this._tryDeclarationChildren$2($name, start);
  60129. if (_0_0 != null)
  60130. return _0_0;
  60131. midBuffer._contents += postColonWhitespace;
  60132. couldBeSelector = postColonWhitespace.length === 0 && _this._lookingAtInterpolatedIdentifier$0();
  60133. beforeDeclaration = new A._SpanScannerState(t1, t1._string_scanner$_position);
  60134. value = null;
  60135. try {
  60136. value = _this._expression$0();
  60137. if (_this.lookingAtChildren$0()) {
  60138. if (couldBeSelector)
  60139. _this.expectStatementSeparator$0();
  60140. } else if (!_this.atEndOfStatement$0())
  60141. _this.expectStatementSeparator$0();
  60142. } catch (exception) {
  60143. if (type$.FormatException._is(A.unwrapException(exception))) {
  60144. if (!couldBeSelector)
  60145. throw exception;
  60146. t1.set$state(beforeDeclaration);
  60147. additional = _this.almostAnyValue$0();
  60148. if (!_this.get$indented() && t1.peekChar$0() === 59)
  60149. throw exception;
  60150. t1 = nameBuffer._interpolation_buffer$_text;
  60151. t2 = A.S(midBuffer);
  60152. t1._contents += t2;
  60153. nameBuffer.addInterpolation$1(additional);
  60154. return nameBuffer;
  60155. } else
  60156. throw exception;
  60157. }
  60158. _1_0 = _this._tryDeclarationChildren$3$value($name, start, value);
  60159. if (_1_0 != null)
  60160. return _1_0;
  60161. else {
  60162. _this.expectStatementSeparator$0();
  60163. return A.Declaration$($name, value, t1.spanFrom$1(start));
  60164. }
  60165. },
  60166. _variableDeclarationOrInterpolation$0() {
  60167. var t1, start, identifier, t2, buffer, _this = this;
  60168. if (!_this.lookingAtIdentifier$0())
  60169. return _this.interpolatedIdentifier$0();
  60170. t1 = _this.scanner;
  60171. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  60172. identifier = _this.identifier$0();
  60173. if (t1.matches$1(".$")) {
  60174. t1.readChar$0();
  60175. return _this.variableDeclarationWithoutNamespace$2(identifier, start);
  60176. } else {
  60177. t2 = new A.StringBuffer("");
  60178. buffer = new A.InterpolationBuffer(t2, A._setArrayType([], type$.JSArray_Object), A._setArrayType([], type$.JSArray_nullable_FileSpan));
  60179. t2._contents = "" + identifier;
  60180. if (_this._lookingAtInterpolatedIdentifierBody$0())
  60181. buffer.addInterpolation$1(_this.interpolatedIdentifier$0());
  60182. return buffer.interpolation$1(t1.spanFrom$1(start));
  60183. }
  60184. },
  60185. _styleRule$2(buffer, start_) {
  60186. var t2, start, interpolation, wasInStyleRule, _this = this, t1 = {};
  60187. _this._isUseAllowed = false;
  60188. if (start_ == null) {
  60189. t2 = _this.scanner;
  60190. start = new A._SpanScannerState(t2, t2._string_scanner$_position);
  60191. } else
  60192. start = start_;
  60193. interpolation = t1.interpolation = _this.styleRuleSelector$0();
  60194. if (buffer != null) {
  60195. buffer.addInterpolation$1(interpolation);
  60196. t2 = t1.interpolation = buffer.interpolation$1(_this.scanner.spanFrom$1(start));
  60197. } else
  60198. t2 = interpolation;
  60199. if (t2.contents.length === 0)
  60200. _this.scanner.error$1(0, 'expected "}".');
  60201. wasInStyleRule = _this._inStyleRule;
  60202. _this._inStyleRule = true;
  60203. return _this._withChildren$3(_this.get$_statement(), start, new A.StylesheetParser__styleRule_closure(t1, _this, wasInStyleRule, start));
  60204. },
  60205. _styleRule$0() {
  60206. return this._styleRule$2(null, null);
  60207. },
  60208. _propertyOrVariableDeclaration$1$parseCustomProperties(parseCustomProperties) {
  60209. var t2, nameBuffer, t3, $name, variableOrInterpolation, _0_0, value, _1_0, _this = this,
  60210. t1 = _this.scanner,
  60211. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  60212. if (_this._lookingAtPotentialPropertyHack$0()) {
  60213. t2 = new A.StringBuffer("");
  60214. nameBuffer = new A.InterpolationBuffer(t2, A._setArrayType([], type$.JSArray_Object), A._setArrayType([], type$.JSArray_nullable_FileSpan));
  60215. t3 = A.Primitives_stringFromCharCode(t1.readChar$0());
  60216. t2._contents += t3;
  60217. t3 = _this.rawText$1(new A.StylesheetParser__propertyOrVariableDeclaration_closure(_this));
  60218. t2._contents += t3;
  60219. nameBuffer.addInterpolation$1(_this.interpolatedIdentifier$0());
  60220. $name = nameBuffer.interpolation$1(t1.spanFrom$1(start));
  60221. } else if (!_this.get$plainCss()) {
  60222. variableOrInterpolation = _this._variableDeclarationOrInterpolation$0();
  60223. if (variableOrInterpolation instanceof A.VariableDeclaration)
  60224. return variableOrInterpolation;
  60225. else
  60226. type$.Interpolation._as(variableOrInterpolation);
  60227. $name = variableOrInterpolation;
  60228. } else
  60229. $name = _this.interpolatedIdentifier$0();
  60230. _this.whitespace$1$consumeNewlines(false);
  60231. t1.expectChar$1(58);
  60232. _this.whitespace$1$consumeNewlines(false);
  60233. _0_0 = _this._tryDeclarationChildren$2($name, start);
  60234. if (_0_0 != null)
  60235. return _0_0;
  60236. value = _this._expression$0();
  60237. _1_0 = _this._tryDeclarationChildren$3$value($name, start, value);
  60238. if (_1_0 != null)
  60239. return _1_0;
  60240. else {
  60241. _this.expectStatementSeparator$0();
  60242. return A.Declaration$($name, value, t1.spanFrom$1(start));
  60243. }
  60244. },
  60245. _tryDeclarationChildren$3$value($name, start, value) {
  60246. var _this = this;
  60247. if (!_this.lookingAtChildren$0())
  60248. return null;
  60249. if (_this.get$plainCss())
  60250. _this.scanner.error$1(0, string$.Nested);
  60251. return _this._withChildren$3(_this.get$_declarationChild(), start, new A.StylesheetParser__tryDeclarationChildren_closure($name, value));
  60252. },
  60253. _tryDeclarationChildren$2($name, start) {
  60254. return this._tryDeclarationChildren$3$value($name, start, null);
  60255. },
  60256. _declarationChild$0() {
  60257. return this.scanner.peekChar$0() === 64 ? this._declarationAtRule$0() : this._propertyOrVariableDeclaration$1$parseCustomProperties(false);
  60258. },
  60259. atRule$2$root(child, root) {
  60260. var $name, wasUseAllowed, value, optional, _this = this,
  60261. t1 = _this.scanner,
  60262. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  60263. t1.expectChar$2$name(64, "@-rule");
  60264. $name = _this.interpolatedIdentifier$0();
  60265. wasUseAllowed = _this._isUseAllowed;
  60266. _this._isUseAllowed = false;
  60267. switch ($name.get$asPlain()) {
  60268. case "at-root":
  60269. return _this._atRootRule$1(start);
  60270. case "content":
  60271. return _this._contentRule$1(start);
  60272. case "debug":
  60273. return _this._debugRule$1(start);
  60274. case "each":
  60275. return _this._eachRule$2(start, child);
  60276. case "else":
  60277. return _this._disallowedAtRule$1(start);
  60278. case "error":
  60279. return _this._errorRule$1(start);
  60280. case "extend":
  60281. _this.whitespace$1$consumeNewlines(true);
  60282. if (!_this._inStyleRule && !_this._stylesheet$_inMixin && !_this._inContentBlock)
  60283. _this.error$2(0, string$.x40exten, t1.spanFrom$1(start));
  60284. value = _this.almostAnyValue$0();
  60285. optional = t1.scanChar$1(33);
  60286. if (optional) {
  60287. _this.expectIdentifier$1("optional");
  60288. _this.whitespace$1$consumeNewlines(false);
  60289. }
  60290. _this.expectStatementSeparator$1("@extend rule");
  60291. return new A.ExtendRule(value, optional, t1.spanFrom$1(start));
  60292. case "for":
  60293. return _this._forRule$2(start, child);
  60294. case "forward":
  60295. _this._isUseAllowed = wasUseAllowed;
  60296. if (!root)
  60297. _this._disallowedAtRule$1(start);
  60298. return _this._forwardRule$1(start);
  60299. case "function":
  60300. return _this._functionRule$1(start);
  60301. case "if":
  60302. return _this._ifRule$2(start, child);
  60303. case "import":
  60304. return _this._importRule$1(start);
  60305. case "include":
  60306. return _this._includeRule$1(start);
  60307. case "media":
  60308. return _this.mediaRule$1(start);
  60309. case "mixin":
  60310. return _this._mixinRule$1(start);
  60311. case "-moz-document":
  60312. return _this.mozDocumentRule$2(start, $name);
  60313. case "return":
  60314. return _this._disallowedAtRule$1(start);
  60315. case "supports":
  60316. return _this.supportsRule$1(start);
  60317. case "use":
  60318. _this._isUseAllowed = wasUseAllowed;
  60319. if (!root)
  60320. _this._disallowedAtRule$1(start);
  60321. return _this._useRule$1(start);
  60322. case "warn":
  60323. return _this._warnRule$1(start);
  60324. case "while":
  60325. return _this._whileRule$2(start, child);
  60326. default:
  60327. return _this.unknownAtRule$2(start, $name);
  60328. }
  60329. },
  60330. _declarationAtRule$0() {
  60331. var _this = this,
  60332. t1 = _this.scanner,
  60333. start = new A._SpanScannerState(t1, t1._string_scanner$_position),
  60334. _0_0 = _this._plainAtRuleName$0();
  60335. $label0$0: {
  60336. if ("content" === _0_0) {
  60337. t1 = _this._contentRule$1(start);
  60338. break $label0$0;
  60339. }
  60340. if ("debug" === _0_0) {
  60341. t1 = _this._debugRule$1(start);
  60342. break $label0$0;
  60343. }
  60344. if ("each" === _0_0) {
  60345. t1 = _this._eachRule$2(start, _this.get$_declarationChild());
  60346. break $label0$0;
  60347. }
  60348. if ("else" === _0_0)
  60349. _this._disallowedAtRule$1(start);
  60350. if ("error" === _0_0) {
  60351. t1 = _this._errorRule$1(start);
  60352. break $label0$0;
  60353. }
  60354. if ("for" === _0_0) {
  60355. t1 = _this._forRule$2(start, _this.get$_declarationChild());
  60356. break $label0$0;
  60357. }
  60358. if ("if" === _0_0) {
  60359. t1 = _this._ifRule$2(start, _this.get$_declarationChild());
  60360. break $label0$0;
  60361. }
  60362. if ("include" === _0_0) {
  60363. t1 = _this._includeRule$1(start);
  60364. break $label0$0;
  60365. }
  60366. if ("warn" === _0_0) {
  60367. t1 = _this._warnRule$1(start);
  60368. break $label0$0;
  60369. }
  60370. if ("while" === _0_0) {
  60371. t1 = _this._whileRule$2(start, _this.get$_declarationChild());
  60372. break $label0$0;
  60373. }
  60374. t1 = _this._disallowedAtRule$1(start);
  60375. }
  60376. return t1;
  60377. },
  60378. _functionChild$0() {
  60379. var state, variableDeclarationError, stackTrace, statement, t2, exception, t3, start, _0_0, value, _this = this,
  60380. t1 = _this.scanner;
  60381. if (t1.peekChar$0() !== 64) {
  60382. state = new A._SpanScannerState(t1, t1._string_scanner$_position);
  60383. try {
  60384. t2 = _this._variableDeclarationWithNamespace$0();
  60385. return t2;
  60386. } catch (exception) {
  60387. t2 = A.unwrapException(exception);
  60388. t3 = type$.SourceSpanFormatException;
  60389. if (t3._is(t2)) {
  60390. variableDeclarationError = t2;
  60391. stackTrace = A.getTraceFromException(exception);
  60392. t1.set$state(state);
  60393. statement = null;
  60394. try {
  60395. statement = _this._declarationOrStyleRule$0();
  60396. } catch (exception) {
  60397. if (t3._is(A.unwrapException(exception)))
  60398. throw A.wrapException(variableDeclarationError);
  60399. else
  60400. throw exception;
  60401. }
  60402. t2 = statement instanceof A.StyleRule ? "style rules" : "declarations";
  60403. _this.error$3(0, "@function rules may not contain " + t2 + ".", J.get$span$z(statement), stackTrace);
  60404. } else
  60405. throw exception;
  60406. }
  60407. }
  60408. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  60409. _0_0 = _this._plainAtRuleName$0();
  60410. $label0$0: {
  60411. if ("debug" === _0_0) {
  60412. t1 = _this._debugRule$1(start);
  60413. break $label0$0;
  60414. }
  60415. if ("each" === _0_0) {
  60416. t1 = _this._eachRule$2(start, _this.get$_functionChild());
  60417. break $label0$0;
  60418. }
  60419. if ("else" === _0_0)
  60420. _this._disallowedAtRule$1(start);
  60421. if ("error" === _0_0) {
  60422. t1 = _this._errorRule$1(start);
  60423. break $label0$0;
  60424. }
  60425. if ("for" === _0_0) {
  60426. t1 = _this._forRule$2(start, _this.get$_functionChild());
  60427. break $label0$0;
  60428. }
  60429. if ("if" === _0_0) {
  60430. t1 = _this._ifRule$2(start, _this.get$_functionChild());
  60431. break $label0$0;
  60432. }
  60433. if ("return" === _0_0) {
  60434. _this.whitespace$1$consumeNewlines(true);
  60435. value = _this._expression$0();
  60436. _this.expectStatementSeparator$1("@return rule");
  60437. t1 = new A.ReturnRule(value, t1.spanFrom$1(start));
  60438. break $label0$0;
  60439. }
  60440. if ("warn" === _0_0) {
  60441. t1 = _this._warnRule$1(start);
  60442. break $label0$0;
  60443. }
  60444. if ("while" === _0_0) {
  60445. t1 = _this._whileRule$2(start, _this.get$_functionChild());
  60446. break $label0$0;
  60447. }
  60448. t1 = _this._disallowedAtRule$1(start);
  60449. }
  60450. return t1;
  60451. },
  60452. _plainAtRuleName$0() {
  60453. this.scanner.expectChar$2$name(64, "@-rule");
  60454. return this.identifier$0();
  60455. },
  60456. _atRootRule$1(start) {
  60457. var t1, t2, t3, buffer, t4, _this = this;
  60458. _this.whitespace$1$consumeNewlines(false);
  60459. t1 = _this.scanner;
  60460. if (t1.peekChar$0() === 40) {
  60461. t2 = t1._string_scanner$_position;
  60462. t3 = new A.StringBuffer("");
  60463. buffer = new A.InterpolationBuffer(t3, A._setArrayType([], type$.JSArray_Object), A._setArrayType([], type$.JSArray_nullable_FileSpan));
  60464. t1.expectChar$1(40);
  60465. t4 = A.Primitives_stringFromCharCode(40);
  60466. t3._contents += t4;
  60467. _this.whitespace$1$consumeNewlines(true);
  60468. _this._addOrInject$2(buffer, _this._expression$1$consumeNewlines(true));
  60469. if (t1.scanChar$1(58)) {
  60470. _this.whitespace$1$consumeNewlines(true);
  60471. t4 = A.Primitives_stringFromCharCode(58);
  60472. t3._contents += t4;
  60473. t4 = A.Primitives_stringFromCharCode(32);
  60474. t3._contents += t4;
  60475. _this._addOrInject$2(buffer, _this._expression$1$consumeNewlines(true));
  60476. }
  60477. t1.expectChar$1(41);
  60478. _this.whitespace$1$consumeNewlines(false);
  60479. t4 = A.Primitives_stringFromCharCode(41);
  60480. t3._contents += t4;
  60481. return _this._withChildren$3(_this.get$_statement(), start, new A.StylesheetParser__atRootRule_closure(buffer.interpolation$1(t1.spanFrom$1(new A._SpanScannerState(t1, t2)))));
  60482. } else {
  60483. if (!_this.lookingAtChildren$0())
  60484. t2 = _this.get$indented() && _this.atEndOfStatement$0();
  60485. else
  60486. t2 = true;
  60487. if (t2)
  60488. return _this._withChildren$3(_this.get$_statement(), start, new A.StylesheetParser__atRootRule_closure0());
  60489. else
  60490. return A.AtRootRule$(A._setArrayType([_this._styleRule$0()], type$.JSArray_Statement), t1.spanFrom$1(start), null);
  60491. }
  60492. },
  60493. _contentRule$1(start) {
  60494. var t1, beforeWhitespace, $arguments, t2, _this = this;
  60495. if (!_this._stylesheet$_inMixin)
  60496. _this.error$2(0, string$.x40conte, _this.scanner.spanFrom$1(start));
  60497. t1 = _this.scanner;
  60498. beforeWhitespace = A.FileLocation$_(t1._sourceFile, t1._string_scanner$_position);
  60499. _this.whitespace$1$consumeNewlines(false);
  60500. if (t1.peekChar$0() === 40) {
  60501. $arguments = _this._argumentInvocation$1$mixin(true);
  60502. _this.whitespace$1$consumeNewlines(false);
  60503. } else {
  60504. t2 = beforeWhitespace.offset;
  60505. $arguments = A.ArgumentList$empty(A._FileSpan$(beforeWhitespace.file, t2, t2));
  60506. }
  60507. _this.expectStatementSeparator$1("@content rule");
  60508. return new A.ContentRule($arguments, t1.spanFrom$1(start));
  60509. },
  60510. _debugRule$1(start) {
  60511. var value, t1, t2, _this = this;
  60512. _this.whitespace$1$consumeNewlines(true);
  60513. value = _this._expression$0();
  60514. t1 = _this.scanner;
  60515. t2 = t1._string_scanner$_position;
  60516. _this.expectStatementSeparator$1("@debug rule");
  60517. return new A.DebugRule(value, t1.spanFrom$2(start, new A._SpanScannerState(t1, t2)));
  60518. },
  60519. _eachRule$2(start, child) {
  60520. var wasInControlDirective, variables, t1, _this = this;
  60521. _this.whitespace$1$consumeNewlines(true);
  60522. wasInControlDirective = _this._inControlDirective;
  60523. _this._inControlDirective = true;
  60524. variables = A._setArrayType([_this.variableName$0()], type$.JSArray_String);
  60525. _this.whitespace$1$consumeNewlines(true);
  60526. for (t1 = _this.scanner; t1.scanChar$1(44);) {
  60527. _this.whitespace$1$consumeNewlines(true);
  60528. t1.expectChar$1(36);
  60529. variables.push(_this.identifier$1$normalize(true));
  60530. _this.whitespace$1$consumeNewlines(true);
  60531. }
  60532. _this.whitespace$1$consumeNewlines(true);
  60533. _this.expectIdentifier$1("in");
  60534. _this.whitespace$1$consumeNewlines(true);
  60535. return _this._withChildren$3(child, start, new A.StylesheetParser__eachRule_closure(_this, wasInControlDirective, variables, _this._expression$0()));
  60536. },
  60537. _errorRule$1(start) {
  60538. var value, t1, t2, _this = this;
  60539. _this.whitespace$1$consumeNewlines(true);
  60540. value = _this._expression$0();
  60541. t1 = _this.scanner;
  60542. t2 = t1._string_scanner$_position;
  60543. _this.expectStatementSeparator$1("@error rule");
  60544. return new A.ErrorRule(value, t1.spanFrom$2(start, new A._SpanScannerState(t1, t2)));
  60545. },
  60546. _functionRule$1(start) {
  60547. var precedingComment, t1, beforeName, $name, parameters, _0_0, _this = this;
  60548. _this.whitespace$1$consumeNewlines(true);
  60549. precedingComment = _this.lastSilentComment;
  60550. _this.lastSilentComment = null;
  60551. t1 = _this.scanner;
  60552. beforeName = new A._SpanScannerState(t1, t1._string_scanner$_position);
  60553. $name = _this.identifier$0();
  60554. if (B.JSString_methods.startsWith$1($name, "--"))
  60555. _this.warnings.push(new A._Record_3_deprecation_message_span(B.Deprecation_Kg6, string$.Sassx20_f_, t1.spanFrom$1(beforeName)));
  60556. else if (A.equalsIgnoreCase($name, "type"))
  60557. _this.warnings.push(new A._Record_3_deprecation_message_span(B.Deprecation_kms, string$.Sassx20_fs, t1.spanFrom$1(beforeName)));
  60558. _this.whitespace$1$consumeNewlines(true);
  60559. parameters = _this._parameterList$0();
  60560. if (_this._stylesheet$_inMixin || _this._inContentBlock)
  60561. _this.error$2(0, string$.Mixinscf, t1.spanFrom$1(start));
  60562. else if (_this._inControlDirective)
  60563. _this.error$2(0, string$.Functi, t1.spanFrom$1(start));
  60564. _0_0 = A.unvendor($name);
  60565. 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)
  60566. _this.error$2(0, "Invalid function name.", t1.spanFrom$1(start));
  60567. _this.whitespace$1$consumeNewlines(false);
  60568. return _this._withChildren$3(_this.get$_functionChild(), start, new A.StylesheetParser__functionRule_closure($name, parameters, precedingComment));
  60569. },
  60570. _forRule$2(start, child) {
  60571. var wasInControlDirective, variable, from, _this = this, t1 = {};
  60572. _this.whitespace$1$consumeNewlines(true);
  60573. wasInControlDirective = _this._inControlDirective;
  60574. _this._inControlDirective = true;
  60575. variable = _this.variableName$0();
  60576. _this.whitespace$1$consumeNewlines(true);
  60577. _this.expectIdentifier$1("from");
  60578. _this.whitespace$1$consumeNewlines(true);
  60579. t1.exclusive = null;
  60580. from = _this._expression$2$consumeNewlines$until(true, new A.StylesheetParser__forRule_closure(t1, _this));
  60581. if (t1.exclusive == null)
  60582. _this.scanner.error$1(0, 'Expected "to" or "through".');
  60583. _this.whitespace$1$consumeNewlines(true);
  60584. return _this._withChildren$3(child, start, new A.StylesheetParser__forRule_closure0(t1, _this, wasInControlDirective, variable, from, _this._expression$0()));
  60585. },
  60586. _forwardRule$1(start) {
  60587. var url, prefix, hiddenMixinsAndFunctions, hiddenVariables, _0_0, shownMixinsAndFunctions, shownVariables, _1_0, configuration, span, t1, t2, t3, t4, _this = this, _null = null;
  60588. _this.whitespace$1$consumeNewlines(true);
  60589. url = _this._urlString$0();
  60590. _this.whitespace$1$consumeNewlines(false);
  60591. if (_this.scanIdentifier$1("as")) {
  60592. _this.whitespace$1$consumeNewlines(true);
  60593. prefix = _this.identifier$1$normalize(true);
  60594. _this.scanner.expectChar$1(42);
  60595. _this.whitespace$1$consumeNewlines(false);
  60596. } else
  60597. prefix = _null;
  60598. hiddenMixinsAndFunctions = _null;
  60599. hiddenVariables = _null;
  60600. if (_this.scanIdentifier$1("show")) {
  60601. _this.whitespace$1$consumeNewlines(true);
  60602. _0_0 = _this._memberList$0();
  60603. shownMixinsAndFunctions = _0_0._0;
  60604. shownVariables = _0_0._1;
  60605. } else {
  60606. if (_this.scanIdentifier$1("hide")) {
  60607. _this.whitespace$1$consumeNewlines(true);
  60608. _1_0 = _this._memberList$0();
  60609. hiddenMixinsAndFunctions = _1_0._0;
  60610. hiddenVariables = _1_0._1;
  60611. }
  60612. shownVariables = _null;
  60613. shownMixinsAndFunctions = shownVariables;
  60614. }
  60615. configuration = _this._stylesheet$_configuration$1$allowGuarded(true);
  60616. _this.whitespace$1$consumeNewlines(false);
  60617. _this.expectStatementSeparator$1("@forward rule");
  60618. span = _this.scanner.spanFrom$1(start);
  60619. if (!_this._isUseAllowed)
  60620. _this.error$2(0, string$.x40forwa, span);
  60621. if (shownMixinsAndFunctions != null) {
  60622. shownVariables.toString;
  60623. t1 = type$.String;
  60624. t2 = A.LinkedHashSet_LinkedHashSet$of(shownMixinsAndFunctions, t1);
  60625. t3 = type$.UnmodifiableSetView_String;
  60626. t1 = A.LinkedHashSet_LinkedHashSet$of(shownVariables, t1);
  60627. t4 = configuration == null ? B.List_empty10 : A.List_List$unmodifiable(configuration, type$.ConfiguredVariable);
  60628. return new A.ForwardRule(url, new A.UnmodifiableSetView0(t2, t3), new A.UnmodifiableSetView0(t1, t3), _null, _null, prefix, t4, span);
  60629. } else if (hiddenMixinsAndFunctions != null) {
  60630. hiddenVariables.toString;
  60631. t1 = type$.String;
  60632. t2 = A.LinkedHashSet_LinkedHashSet$of(hiddenMixinsAndFunctions, t1);
  60633. t3 = type$.UnmodifiableSetView_String;
  60634. t1 = A.LinkedHashSet_LinkedHashSet$of(hiddenVariables, t1);
  60635. t4 = configuration == null ? B.List_empty10 : A.List_List$unmodifiable(configuration, type$.ConfiguredVariable);
  60636. return new A.ForwardRule(url, _null, _null, new A.UnmodifiableSetView0(t2, t3), new A.UnmodifiableSetView0(t1, t3), prefix, t4, span);
  60637. } else
  60638. return new A.ForwardRule(url, _null, _null, _null, _null, prefix, configuration == null ? B.List_empty10 : A.List_List$unmodifiable(configuration, type$.ConfiguredVariable), span);
  60639. },
  60640. _memberList$0() {
  60641. var _this = this,
  60642. t1 = type$.String,
  60643. identifiers = A.LinkedHashSet_LinkedHashSet$_empty(t1),
  60644. variables = A.LinkedHashSet_LinkedHashSet$_empty(t1);
  60645. t1 = _this.scanner;
  60646. do {
  60647. _this.whitespace$1$consumeNewlines(true);
  60648. _this.withErrorMessage$2(string$.Expectv, new A.StylesheetParser__memberList_closure(_this, variables, identifiers));
  60649. _this.whitespace$1$consumeNewlines(false);
  60650. } while (t1.scanChar$1(44));
  60651. return new A._Record_2(identifiers, variables);
  60652. },
  60653. _ifRule$2(start, child) {
  60654. var ifIndentation, wasInControlDirective, condition, children, clauses, lastClause, span, _this = this;
  60655. _this.whitespace$1$consumeNewlines(true);
  60656. ifIndentation = _this.get$currentIndentation();
  60657. wasInControlDirective = _this._inControlDirective;
  60658. _this._inControlDirective = true;
  60659. condition = _this._expression$0();
  60660. children = _this.children$1(0, child);
  60661. _this.whitespaceWithoutComments$1$consumeNewlines(false);
  60662. clauses = A._setArrayType([A.IfClause$(condition, children)], type$.JSArray_IfClause);
  60663. while (true) {
  60664. if (!_this.scanElse$1(ifIndentation)) {
  60665. lastClause = null;
  60666. break;
  60667. }
  60668. _this.whitespace$1$consumeNewlines(false);
  60669. if (_this.scanIdentifier$1("if")) {
  60670. _this.whitespace$1$consumeNewlines(true);
  60671. clauses.push(A.IfClause$(_this._expression$0(), _this.children$1(0, child)));
  60672. } else {
  60673. lastClause = A.ElseClause$(_this.children$1(0, child));
  60674. break;
  60675. }
  60676. }
  60677. _this._inControlDirective = wasInControlDirective;
  60678. span = _this.scanner.spanFrom$1(start);
  60679. _this.whitespaceWithoutComments$1$consumeNewlines(false);
  60680. return new A.IfRule(A.List_List$unmodifiable(clauses, type$.IfClause), lastClause, span);
  60681. },
  60682. _importRule$1(start) {
  60683. var argument, t3, _this = this,
  60684. imports = A._setArrayType([], type$.JSArray_Import),
  60685. t1 = _this.scanner,
  60686. t2 = _this.warnings;
  60687. do {
  60688. _this.whitespace$1$consumeNewlines(false);
  60689. argument = _this.importArgument$0();
  60690. t3 = argument instanceof A.DynamicImport;
  60691. if (t3)
  60692. t2.push(new A._Record_3_deprecation_message_span(B.Deprecation_2g5, string$.Sassx20_i, argument.span));
  60693. if ((_this._inControlDirective || _this._stylesheet$_inMixin) && t3)
  60694. _this._disallowedAtRule$1(start);
  60695. imports.push(argument);
  60696. _this.whitespace$1$consumeNewlines(false);
  60697. } while (t1.scanChar$1(44));
  60698. _this.expectStatementSeparator$1("@import rule");
  60699. t1 = t1.spanFrom$1(start);
  60700. return new A.ImportRule(A.List_List$unmodifiable(imports, type$.Import), t1);
  60701. },
  60702. importArgument$0() {
  60703. var url, urlSpan, innerError, stackTrace, modifiers, t2, exception, _this = this,
  60704. t1 = _this.scanner,
  60705. start = new A._SpanScannerState(t1, t1._string_scanner$_position),
  60706. _0_0 = t1.peekChar$0();
  60707. if (117 === _0_0 || 85 === _0_0) {
  60708. url = _this.dynamicUrl$0();
  60709. _this.whitespace$1$consumeNewlines(false);
  60710. modifiers = _this.tryImportModifiers$0();
  60711. 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));
  60712. return new A.StaticImport(t2, modifiers, t1.spanFrom$1(start));
  60713. }
  60714. url = _this.string$0();
  60715. urlSpan = t1.spanFrom$1(start);
  60716. _this.whitespace$1$consumeNewlines(false);
  60717. modifiers = _this.tryImportModifiers$0();
  60718. if (_this.isPlainImportUrl$1(url) || modifiers != null) {
  60719. t2 = urlSpan;
  60720. 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));
  60721. } else
  60722. try {
  60723. t1 = _this.parseImportUrl$1(url);
  60724. return new A.DynamicImport(t1, urlSpan);
  60725. } catch (exception) {
  60726. t1 = A.unwrapException(exception);
  60727. if (type$.FormatException._is(t1)) {
  60728. innerError = t1;
  60729. stackTrace = A.getTraceFromException(exception);
  60730. _this.error$3(0, "Invalid URL: " + J.get$message$x(innerError), urlSpan, stackTrace);
  60731. } else
  60732. throw exception;
  60733. }
  60734. },
  60735. parseImportUrl$1(url) {
  60736. var t1 = $.$get$windows();
  60737. if (t1.style.rootLength$1(url) > 0 && !$.$get$url().style.isRootRelative$1(url))
  60738. return t1.toUri$1(url).toString$0(0);
  60739. A.Uri_parse(url);
  60740. return url;
  60741. },
  60742. isPlainImportUrl$1(url) {
  60743. var _0_0, t1;
  60744. if (url.length < 5)
  60745. return false;
  60746. if (B.JSString_methods.endsWith$1(url, ".css"))
  60747. return true;
  60748. _0_0 = url.charCodeAt(0);
  60749. $label0$0: {
  60750. if (47 === _0_0) {
  60751. t1 = url.charCodeAt(1) === 47;
  60752. break $label0$0;
  60753. }
  60754. if (104 === _0_0) {
  60755. t1 = B.JSString_methods.startsWith$1(url, "http://") || B.JSString_methods.startsWith$1(url, "https://");
  60756. break $label0$0;
  60757. }
  60758. t1 = false;
  60759. break $label0$0;
  60760. }
  60761. return t1;
  60762. },
  60763. tryImportModifiers$0() {
  60764. var t1, start, t2, t3, t4, buffer, t5, identifier, $name, query, t6, endPosition, _this = this;
  60765. if (!_this._lookingAtInterpolatedIdentifier$0() && _this.scanner.peekChar$0() !== 40)
  60766. return null;
  60767. t1 = _this.scanner;
  60768. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  60769. t2 = new A.StringBuffer("");
  60770. t3 = A._setArrayType([], type$.JSArray_Object);
  60771. t4 = A._setArrayType([], type$.JSArray_nullable_FileSpan);
  60772. buffer = new A.InterpolationBuffer(t2, t3, t4);
  60773. for (; true;)
  60774. if (_this._lookingAtInterpolatedIdentifier$0()) {
  60775. if (!(t3.length === 0 && t2._contents.length === 0)) {
  60776. t5 = A.Primitives_stringFromCharCode(32);
  60777. t2._contents += t5;
  60778. }
  60779. identifier = _this.interpolatedIdentifier$0();
  60780. buffer.addInterpolation$1(identifier);
  60781. t5 = identifier.get$asPlain();
  60782. $name = t5 == null ? null : t5.toLowerCase();
  60783. if ($name !== "and" && t1.scanChar$1(40)) {
  60784. if ($name === "supports") {
  60785. query = _this._importSupportsQuery$0();
  60786. t5 = !(query instanceof A.SupportsDeclaration);
  60787. if (t5) {
  60788. t6 = A.Primitives_stringFromCharCode(40);
  60789. t2._contents += t6;
  60790. }
  60791. t6 = query.get$span(query);
  60792. buffer._flushText$0();
  60793. t3.push(new A.SupportsExpression(query));
  60794. t4.push(t6);
  60795. if (t5) {
  60796. t5 = A.Primitives_stringFromCharCode(41);
  60797. t2._contents += t5;
  60798. }
  60799. } else {
  60800. t5 = A.Primitives_stringFromCharCode(40);
  60801. t2._contents += t5;
  60802. buffer.addInterpolation$1(_this._interpolatedDeclarationValue$3$allowEmpty$allowSemicolon$consumeNewlines(true, true, true));
  60803. t5 = A.Primitives_stringFromCharCode(41);
  60804. t2._contents += t5;
  60805. }
  60806. t1.expectChar$1(41);
  60807. _this.whitespace$1$consumeNewlines(false);
  60808. } else {
  60809. _this.whitespace$1$consumeNewlines(false);
  60810. if (t1.scanChar$1(44)) {
  60811. t2._contents += ", ";
  60812. buffer.addInterpolation$1(_this._mediaQueryList$0());
  60813. endPosition = t1._string_scanner$_position;
  60814. t2 = t1._sourceFile;
  60815. t3 = start.position;
  60816. t1 = new A._FileSpan(t2, t3, endPosition);
  60817. t1._FileSpan$3(t2, t3, endPosition);
  60818. return buffer.interpolation$1(t1);
  60819. }
  60820. }
  60821. } else if (t1.peekChar$0() === 40) {
  60822. if (!(t3.length === 0 && t2._contents.length === 0)) {
  60823. t3 = A.Primitives_stringFromCharCode(32);
  60824. t2._contents += t3;
  60825. }
  60826. buffer.addInterpolation$1(_this._mediaQueryList$0());
  60827. endPosition = t1._string_scanner$_position;
  60828. t1 = t1._sourceFile;
  60829. t2 = start.position;
  60830. t3 = new A._FileSpan(t1, t2, endPosition);
  60831. t3._FileSpan$3(t1, t2, endPosition);
  60832. return buffer.interpolation$1(t3);
  60833. } else {
  60834. endPosition = t1._string_scanner$_position;
  60835. t1 = t1._sourceFile;
  60836. t2 = start.position;
  60837. t3 = new A._FileSpan(t1, t2, endPosition);
  60838. t3._FileSpan$3(t1, t2, endPosition);
  60839. return buffer.interpolation$1(t3);
  60840. }
  60841. },
  60842. _importSupportsQuery$0() {
  60843. var t1, t2, _0_0, $name, _this = this;
  60844. _this.whitespace$1$consumeNewlines(true);
  60845. if (_this.scanIdentifier$1("not")) {
  60846. _this.whitespace$1$consumeNewlines(true);
  60847. t1 = _this.scanner;
  60848. t2 = t1._string_scanner$_position;
  60849. return new A.SupportsNegation(_this._supportsConditionInParens$0(), t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
  60850. } else {
  60851. t1 = _this.scanner;
  60852. if (t1.peekChar$0() === 40)
  60853. return _this._supportsCondition$1$inParentheses(true);
  60854. else {
  60855. _0_0 = _this._tryImportSupportsFunction$0();
  60856. if (_0_0 != null)
  60857. return _0_0;
  60858. t2 = t1._string_scanner$_position;
  60859. $name = _this._expression$1$consumeNewlines(true);
  60860. t1.expectChar$1(58);
  60861. return new A.SupportsDeclaration($name, _this._supportsDeclarationValue$1($name), t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
  60862. }
  60863. }
  60864. },
  60865. _tryImportSupportsFunction$0() {
  60866. var t1, start, $name, value, _this = this;
  60867. if (!_this._lookingAtInterpolatedIdentifier$0())
  60868. return null;
  60869. t1 = _this.scanner;
  60870. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  60871. $name = _this.interpolatedIdentifier$0();
  60872. if (!t1.scanChar$1(40)) {
  60873. t1.set$state(start);
  60874. return null;
  60875. }
  60876. value = _this._interpolatedDeclarationValue$3$allowEmpty$allowSemicolon$consumeNewlines(true, true, true);
  60877. t1.expectChar$1(41);
  60878. return new A.SupportsFunction($name, value, t1.spanFrom$1(start));
  60879. },
  60880. _includeRule$1(start) {
  60881. var $name, t1, name0, namespace, $arguments, t2, t3, contentParameters, contentParameters_, wasInContentBlock, $content, span, _this = this, _null = null;
  60882. _this.whitespace$1$consumeNewlines(true);
  60883. $name = _this.identifier$0();
  60884. t1 = _this.scanner;
  60885. if (t1.scanChar$1(46)) {
  60886. name0 = _this._publicIdentifier$0();
  60887. namespace = $name;
  60888. $name = name0;
  60889. } else
  60890. namespace = _null;
  60891. _this.whitespace$1$consumeNewlines(false);
  60892. if (t1.peekChar$0() === 40)
  60893. $arguments = _this._argumentInvocation$1$mixin(true);
  60894. else {
  60895. t2 = A.FileLocation$_(t1._sourceFile, t1._string_scanner$_position);
  60896. t3 = t2.offset;
  60897. $arguments = A.ArgumentList$empty(A._FileSpan$(t2.file, t3, t3));
  60898. }
  60899. _this.whitespace$1$consumeNewlines(false);
  60900. if (_this.scanIdentifier$1("using")) {
  60901. _this.whitespace$1$consumeNewlines(true);
  60902. contentParameters = _this._parameterList$0();
  60903. _this.whitespace$1$consumeNewlines(false);
  60904. } else
  60905. contentParameters = _null;
  60906. t2 = contentParameters == null;
  60907. if (!t2 || _this.lookingAtChildren$0()) {
  60908. if (t2) {
  60909. t2 = A.FileLocation$_(t1._sourceFile, t1._string_scanner$_position);
  60910. t3 = t2.offset;
  60911. contentParameters_ = new A.ParameterList(B.List_empty14, _null, A._FileSpan$(t2.file, t3, t3));
  60912. } else
  60913. contentParameters_ = contentParameters;
  60914. wasInContentBlock = _this._inContentBlock;
  60915. _this._inContentBlock = true;
  60916. $content = _this._withChildren$3(_this.get$_statement(), start, new A.StylesheetParser__includeRule_closure(contentParameters_));
  60917. _this._inContentBlock = wasInContentBlock;
  60918. } else {
  60919. _this.expectStatementSeparator$0();
  60920. $content = _null;
  60921. }
  60922. t1 = t1.spanFrom$2(start, start);
  60923. t2 = $content == null ? $arguments : $content;
  60924. span = t1.expand$1(0, t2.get$span(t2));
  60925. return new A.IncludeRule(namespace, A.stringReplaceAllUnchecked($name, "_", "-"), $name, $arguments, $content, span);
  60926. },
  60927. mediaRule$1(start) {
  60928. var _this = this;
  60929. _this.whitespace$1$consumeNewlines(false);
  60930. return _this._withChildren$3(_this.get$_statement(), start, new A.StylesheetParser_mediaRule_closure(_this._mediaQueryList$0()));
  60931. },
  60932. _mixinRule$1(start) {
  60933. var precedingComment, t1, t2, $name, parameters, t3, _this = this;
  60934. _this.whitespace$1$consumeNewlines(true);
  60935. precedingComment = _this.lastSilentComment;
  60936. _this.lastSilentComment = null;
  60937. t1 = _this.scanner;
  60938. t2 = t1._string_scanner$_position;
  60939. $name = _this.identifier$0();
  60940. if (B.JSString_methods.startsWith$1($name, "--"))
  60941. _this.warnings.push(new A._Record_3_deprecation_message_span(B.Deprecation_Kg6, string$.Sassx20_m, t1.spanFrom$1(new A._SpanScannerState(t1, t2))));
  60942. _this.whitespace$1$consumeNewlines(false);
  60943. if (t1.peekChar$0() === 40)
  60944. parameters = _this._parameterList$0();
  60945. else {
  60946. t2 = A.FileLocation$_(t1._sourceFile, t1._string_scanner$_position);
  60947. t3 = t2.offset;
  60948. parameters = new A.ParameterList(B.List_empty14, null, A._FileSpan$(t2.file, t3, t3));
  60949. }
  60950. if (_this._stylesheet$_inMixin || _this._inContentBlock)
  60951. _this.error$2(0, string$.Mixinscm, t1.spanFrom$1(start));
  60952. else if (_this._inControlDirective)
  60953. _this.error$2(0, string$.Mixinsb, t1.spanFrom$1(start));
  60954. _this.whitespace$1$consumeNewlines(false);
  60955. _this._stylesheet$_inMixin = true;
  60956. return _this._withChildren$3(_this.get$_statement(), start, new A.StylesheetParser__mixinRule_closure(_this, $name, parameters, precedingComment));
  60957. },
  60958. mozDocumentRule$2(start, $name) {
  60959. var t1, t2, t3, t4, t5, buffer, _0_0, t6, identifier, _1_0, argument, trailing, endPosition, t7, t8, start0, end, _this = this, _box_0 = {};
  60960. _this.whitespace$1$consumeNewlines(false);
  60961. t1 = _this.scanner;
  60962. t2 = t1._string_scanner$_position;
  60963. t3 = new A.StringBuffer("");
  60964. t4 = A._setArrayType([], type$.JSArray_Object);
  60965. t5 = A._setArrayType([], type$.JSArray_nullable_FileSpan);
  60966. buffer = new A.InterpolationBuffer(t3, t4, t5);
  60967. _box_0.needsDeprecationWarning = false;
  60968. for (; true;) {
  60969. if (t1.peekChar$0() === 35) {
  60970. _0_0 = _this.singleInterpolation$0();
  60971. buffer._flushText$0();
  60972. t4.push(_0_0._0);
  60973. t5.push(_0_0._1);
  60974. _box_0.needsDeprecationWarning = true;
  60975. } else {
  60976. t6 = t1._string_scanner$_position;
  60977. identifier = _this.identifier$0();
  60978. $label0$0: {
  60979. if ("url" === identifier || "url-prefix" === identifier || "domain" === identifier) {
  60980. _1_0 = _this._tryUrlContents$2$name(new A._SpanScannerState(t1, t6), identifier);
  60981. if (_1_0 != null)
  60982. buffer.addInterpolation$1(_1_0);
  60983. else {
  60984. t1.expectChar$1(40);
  60985. _this.whitespace$1$consumeNewlines(false);
  60986. argument = _this.interpolatedString$0();
  60987. t1.expectChar$1(41);
  60988. t3._contents += identifier;
  60989. t6 = A.Primitives_stringFromCharCode(40);
  60990. t3._contents += t6;
  60991. buffer.addInterpolation$1(argument.asInterpolation$0());
  60992. t6 = A.Primitives_stringFromCharCode(41);
  60993. t3._contents += t6;
  60994. }
  60995. t6 = t3._contents;
  60996. trailing = t6.charCodeAt(0) == 0 ? t6 : t6;
  60997. 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("")'))
  60998. _box_0.needsDeprecationWarning = true;
  60999. break $label0$0;
  61000. }
  61001. if ("regexp" === identifier) {
  61002. t3._contents += "regexp(";
  61003. t1.expectChar$1(40);
  61004. buffer.addInterpolation$1(_this.interpolatedString$0().asInterpolation$0());
  61005. t1.expectChar$1(41);
  61006. t6 = A.Primitives_stringFromCharCode(41);
  61007. t3._contents += t6;
  61008. _box_0.needsDeprecationWarning = true;
  61009. break $label0$0;
  61010. }
  61011. endPosition = t1._string_scanner$_position;
  61012. t7 = t1._sourceFile;
  61013. t8 = new A._FileSpan(t7, t6, endPosition);
  61014. t8._FileSpan$3(t7, t6, endPosition);
  61015. _this.error$2(0, "Invalid function name.", t8);
  61016. }
  61017. }
  61018. _this.whitespace$1$consumeNewlines(false);
  61019. if (!t1.scanChar$1(44))
  61020. break;
  61021. t6 = A.Primitives_stringFromCharCode(44);
  61022. t3._contents += t6;
  61023. start0 = t1._string_scanner$_position;
  61024. new A.StylesheetParser_mozDocumentRule_closure(_this).call$0();
  61025. end = t1._string_scanner$_position;
  61026. t3._contents += B.JSString_methods.substring$2(t1.string, start0, end);
  61027. }
  61028. 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)))));
  61029. },
  61030. supportsRule$1(start) {
  61031. var condition, _this = this;
  61032. _this.whitespace$1$consumeNewlines(false);
  61033. condition = _this._supportsCondition$0();
  61034. _this.whitespace$1$consumeNewlines(false);
  61035. return _this._withChildren$3(_this.get$_statement(), start, new A.StylesheetParser_supportsRule_closure(condition));
  61036. },
  61037. _useRule$1(start) {
  61038. var url, namespace, configuration, span, t1, _this = this;
  61039. _this.whitespace$1$consumeNewlines(true);
  61040. url = _this._urlString$0();
  61041. _this.whitespace$1$consumeNewlines(false);
  61042. namespace = _this._useNamespace$2(url, start);
  61043. _this.whitespace$1$consumeNewlines(false);
  61044. configuration = _this._stylesheet$_configuration$0();
  61045. _this.whitespace$1$consumeNewlines(false);
  61046. span = _this.scanner.spanFrom$1(start);
  61047. if (!_this._isUseAllowed)
  61048. _this.error$2(0, string$.x40use_r, span);
  61049. _this.expectStatementSeparator$1("@use rule");
  61050. t1 = new A.UseRule(url, namespace, configuration == null ? B.List_empty10 : A.List_List$unmodifiable(configuration, type$.ConfiguredVariable), span);
  61051. t1.UseRule$4$configuration(url, namespace, span, configuration);
  61052. return t1;
  61053. },
  61054. _useNamespace$2(url, start) {
  61055. var namespace, basename, dot, t1, exception, _this = this;
  61056. if (_this.scanIdentifier$1("as")) {
  61057. _this.whitespace$1$consumeNewlines(true);
  61058. return _this.scanner.scanChar$1(42) ? null : _this.identifier$0();
  61059. }
  61060. basename = url.get$pathSegments().length === 0 ? "" : B.JSArray_methods.get$last(url.get$pathSegments());
  61061. dot = B.JSString_methods.indexOf$1(basename, ".");
  61062. t1 = B.JSString_methods.startsWith$1(basename, "_") ? 1 : 0;
  61063. namespace = B.JSString_methods.substring$2(basename, t1, dot === -1 ? basename.length : dot);
  61064. try {
  61065. t1 = new A.Parser(A.SpanScanner$(namespace, null), null)._parseIdentifier$0();
  61066. return t1;
  61067. } catch (exception) {
  61068. if (type$.SassFormatException._is(A.unwrapException(exception)))
  61069. _this.error$2(0, 'The default namespace "' + A.S(namespace) + string$.x22x20is_n, _this.scanner.spanFrom$1(start));
  61070. else
  61071. throw exception;
  61072. }
  61073. },
  61074. _stylesheet$_configuration$1$allowGuarded(allowGuarded) {
  61075. var variableNames, configuration, t1, t2, $name, expression, t3, guarded, endPosition, t4, t5, span, _this = this;
  61076. if (!_this.scanIdentifier$1("with"))
  61077. return null;
  61078. variableNames = A.LinkedHashSet_LinkedHashSet$_empty(type$.String);
  61079. configuration = A._setArrayType([], type$.JSArray_ConfiguredVariable);
  61080. _this.whitespace$1$consumeNewlines(true);
  61081. t1 = _this.scanner;
  61082. t1.expectChar$1(40);
  61083. for (; true;) {
  61084. _this.whitespace$1$consumeNewlines(true);
  61085. t2 = t1._string_scanner$_position;
  61086. t1.expectChar$1(36);
  61087. $name = _this.identifier$1$normalize(true);
  61088. _this.whitespace$1$consumeNewlines(true);
  61089. t1.expectChar$1(58);
  61090. _this.whitespace$1$consumeNewlines(true);
  61091. expression = _this.expressionUntilComma$0();
  61092. t3 = t1._string_scanner$_position;
  61093. if (allowGuarded && t1.scanChar$1(33)) {
  61094. guarded = _this.identifier$0() === "default";
  61095. if (guarded)
  61096. _this.whitespace$1$consumeNewlines(true);
  61097. else {
  61098. endPosition = t1._string_scanner$_position;
  61099. t4 = t1._sourceFile;
  61100. t5 = new A._FileSpan(t4, t3, endPosition);
  61101. t5._FileSpan$3(t4, t3, endPosition);
  61102. _this.error$2(0, "Invalid flag name.", t5);
  61103. }
  61104. } else
  61105. guarded = false;
  61106. endPosition = t1._string_scanner$_position;
  61107. t3 = t1._sourceFile;
  61108. span = new A._FileSpan(t3, t2, endPosition);
  61109. span._FileSpan$3(t3, t2, endPosition);
  61110. if (variableNames.contains$1(0, $name))
  61111. _this.error$2(0, string$.The_sa, span);
  61112. variableNames.add$1(0, $name);
  61113. configuration.push(new A.ConfiguredVariable($name, expression, guarded, span));
  61114. if (!t1.scanChar$1(44))
  61115. break;
  61116. _this.whitespace$1$consumeNewlines(true);
  61117. if (!_this._lookingAtExpression$0())
  61118. break;
  61119. }
  61120. t1.expectChar$1(41);
  61121. return configuration;
  61122. },
  61123. _stylesheet$_configuration$0() {
  61124. return this._stylesheet$_configuration$1$allowGuarded(false);
  61125. },
  61126. _warnRule$1(start) {
  61127. var value, t1, t2, _this = this;
  61128. _this.whitespace$1$consumeNewlines(true);
  61129. value = _this._expression$0();
  61130. t1 = _this.scanner;
  61131. t2 = t1._string_scanner$_position;
  61132. _this.expectStatementSeparator$1("@warn rule");
  61133. return new A.WarnRule(value, t1.spanFrom$2(start, new A._SpanScannerState(t1, t2)));
  61134. },
  61135. _whileRule$2(start, child) {
  61136. var wasInControlDirective, _this = this;
  61137. _this.whitespace$1$consumeNewlines(true);
  61138. wasInControlDirective = _this._inControlDirective;
  61139. _this._inControlDirective = true;
  61140. return _this._withChildren$3(child, start, new A.StylesheetParser__whileRule_closure(_this, wasInControlDirective, _this._expression$0()));
  61141. },
  61142. unknownAtRule$2(start, $name) {
  61143. var t2, t3, rule, _this = this, t1 = {},
  61144. wasInUnknownAtRule = _this._stylesheet$_inUnknownAtRule;
  61145. _this._stylesheet$_inUnknownAtRule = true;
  61146. _this.whitespace$1$consumeNewlines(false);
  61147. t1.value = null;
  61148. t2 = _this.scanner;
  61149. t3 = t2.peekChar$0() !== 33 && !_this.atEndOfStatement$0() ? t1.value = _this._interpolatedDeclarationValue$1$allowOpenBrace(false) : null;
  61150. if (_this.lookingAtChildren$0())
  61151. rule = _this._withChildren$3(_this.get$_statement(), start, new A.StylesheetParser_unknownAtRule_closure(t1, $name));
  61152. else {
  61153. _this.expectStatementSeparator$0();
  61154. rule = A.AtRule$($name, t2.spanFrom$1(start), null, t3);
  61155. }
  61156. _this._stylesheet$_inUnknownAtRule = wasInUnknownAtRule;
  61157. return rule;
  61158. },
  61159. _disallowedAtRule$1(start) {
  61160. var _this = this;
  61161. _this.whitespace$1$consumeNewlines(false);
  61162. _this._interpolatedDeclarationValue$2$allowEmpty$allowOpenBrace(true, false);
  61163. _this.error$2(0, "This at-rule is not allowed here.", _this.scanner.spanFrom$1(start));
  61164. },
  61165. _parameterList$0() {
  61166. var parameters, named, restParameter, t3, $name, defaultValue, endPosition, t4, t5, _this = this,
  61167. t1 = _this.scanner,
  61168. t2 = t1._string_scanner$_position;
  61169. t1.expectChar$1(40);
  61170. _this.whitespace$1$consumeNewlines(true);
  61171. parameters = A._setArrayType([], type$.JSArray_Parameter);
  61172. named = A.LinkedHashSet_LinkedHashSet$_empty(type$.String);
  61173. for (; restParameter = null, t1.peekChar$0() === 36;) {
  61174. t3 = t1._string_scanner$_position;
  61175. t1.expectChar$1(36);
  61176. $name = _this.identifier$1$normalize(true);
  61177. _this.whitespace$1$consumeNewlines(true);
  61178. if (t1.scanChar$1(58)) {
  61179. _this.whitespace$1$consumeNewlines(true);
  61180. defaultValue = _this.expressionUntilComma$0();
  61181. } else {
  61182. if (t1.scanChar$1(46)) {
  61183. t1.expectChar$1(46);
  61184. t1.expectChar$1(46);
  61185. _this.whitespace$1$consumeNewlines(true);
  61186. if (t1.scanChar$1(44))
  61187. _this.whitespace$1$consumeNewlines(true);
  61188. restParameter = $name;
  61189. break;
  61190. }
  61191. defaultValue = null;
  61192. }
  61193. endPosition = t1._string_scanner$_position;
  61194. t4 = t1._sourceFile;
  61195. t5 = new A._FileSpan(t4, t3, endPosition);
  61196. t5._FileSpan$3(t4, t3, endPosition);
  61197. parameters.push(new A.Parameter($name, defaultValue, t5));
  61198. if (!named.add$1(0, $name))
  61199. _this.error$2(0, "Duplicate parameter.", B.JSArray_methods.get$last(parameters).span);
  61200. if (!t1.scanChar$1(44))
  61201. break;
  61202. _this.whitespace$1$consumeNewlines(true);
  61203. }
  61204. t1.expectChar$1(41);
  61205. t1 = t1.spanFrom$1(new A._SpanScannerState(t1, t2));
  61206. return new A.ParameterList(A.List_List$unmodifiable(parameters, type$.Parameter), restParameter, t1);
  61207. },
  61208. _argumentInvocation$2$allowEmptySecondArg$mixin(allowEmptySecondArg, mixin) {
  61209. var positional, t3, t4, named, t5, rest, keywordRest, expression, t6, t7, result, _this = this,
  61210. t1 = _this.scanner,
  61211. t2 = t1._string_scanner$_position;
  61212. t1.expectChar$1(40);
  61213. _this.whitespace$1$consumeNewlines(true);
  61214. positional = A._setArrayType([], type$.JSArray_Expression);
  61215. t3 = type$.String;
  61216. t4 = type$.Expression;
  61217. named = A.LinkedHashMap_LinkedHashMap$_empty(t3, t4);
  61218. for (t5 = !mixin, rest = null; keywordRest = null, _this._lookingAtExpression$0();) {
  61219. expression = _this.expressionUntilComma$1$singleEquals(t5);
  61220. _this.whitespace$1$consumeNewlines(true);
  61221. if (expression instanceof A.VariableExpression && t1.scanChar$1(58)) {
  61222. _this.whitespace$1$consumeNewlines(true);
  61223. t6 = expression.name;
  61224. if (named.containsKey$1(t6))
  61225. _this.error$2(0, "Duplicate argument.", expression.span);
  61226. named.$indexSet(0, t6, _this.expressionUntilComma$1$singleEquals(t5));
  61227. } else if (t1.scanChar$1(46)) {
  61228. t1.expectChar$1(46);
  61229. t1.expectChar$1(46);
  61230. if (rest != null) {
  61231. _this.whitespace$1$consumeNewlines(true);
  61232. if (t1.scanChar$1(44))
  61233. _this.whitespace$1$consumeNewlines(true);
  61234. keywordRest = expression;
  61235. break;
  61236. }
  61237. rest = expression;
  61238. } else if (named.__js_helper$_length !== 0)
  61239. _this.error$2(0, string$.Positi, expression.get$span(expression));
  61240. else
  61241. positional.push(expression);
  61242. _this.whitespace$1$consumeNewlines(true);
  61243. if (!t1.scanChar$1(44))
  61244. break;
  61245. _this.whitespace$1$consumeNewlines(true);
  61246. if (allowEmptySecondArg && positional.length === 1 && named.__js_helper$_length === 0 && rest == null && t1.peekChar$0() === 41) {
  61247. t5 = t1._sourceFile;
  61248. t6 = t1._string_scanner$_position;
  61249. new A.FileLocation(t5, t6).FileLocation$_$2(t5, t6);
  61250. t7 = new A._FileSpan(t5, t6, t6);
  61251. t7._FileSpan$3(t5, t6, t6);
  61252. result = A.List_List$from([""], false, type$.Object);
  61253. result.$flags = 3;
  61254. positional.push(new A.StringExpression(new A.Interpolation(result, B.List_null, t7), false));
  61255. break;
  61256. }
  61257. }
  61258. t1.expectChar$1(41);
  61259. t1 = t1.spanFrom$1(new A._SpanScannerState(t1, t2));
  61260. return new A.ArgumentList(A.List_List$unmodifiable(positional, t4), A.ConstantMap_ConstantMap$from(named, t3, t4), rest, keywordRest, t1);
  61261. },
  61262. _argumentInvocation$0() {
  61263. return this._argumentInvocation$2$allowEmptySecondArg$mixin(false, false);
  61264. },
  61265. _argumentInvocation$1$allowEmptySecondArg(allowEmptySecondArg) {
  61266. return this._argumentInvocation$2$allowEmptySecondArg$mixin(allowEmptySecondArg, false);
  61267. },
  61268. _argumentInvocation$1$mixin(mixin) {
  61269. return this._argumentInvocation$2$allowEmptySecondArg$mixin(false, mixin);
  61270. },
  61271. _expression$4$bracketList$consumeNewlines$singleEquals$until(bracketList, consumeNewlines, singleEquals, until) {
  61272. 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,
  61273. _s20_ = "Expected expression.",
  61274. _box_0 = {},
  61275. t1 = until != null;
  61276. if (t1 && until.call$0())
  61277. _this.scanner.error$1(0, _s20_);
  61278. if (bracketList) {
  61279. t2 = _this.scanner;
  61280. beforeBracket = new A._SpanScannerState(t2, t2._string_scanner$_position);
  61281. t2.expectChar$1(91);
  61282. _this.whitespace$1$consumeNewlines(true);
  61283. if (t2.scanChar$1(93)) {
  61284. t1 = A._setArrayType([], type$.JSArray_Expression);
  61285. t2 = t2.spanFrom$1(beforeBracket);
  61286. return new A.ListExpression(A.List_List$unmodifiable(t1, type$.Expression), B.ListSeparator_undecided_null_undecided, true, t2);
  61287. }
  61288. } else
  61289. beforeBracket = null;
  61290. t2 = _this.scanner;
  61291. start = new A._SpanScannerState(t2, t2._string_scanner$_position);
  61292. wasInExpression = _this._inExpression;
  61293. wasInParentheses = _this._inParentheses;
  61294. _this._inExpression = true;
  61295. _box_0.operands_ = _box_0.operators_ = _box_0.spaceExpressions_ = _box_0.commaExpressions_ = null;
  61296. _box_0.allowSlash = true;
  61297. _box_0.singleExpression_ = _this._singleExpression$0();
  61298. resetState = new A.StylesheetParser__expression_resetState(_box_0, _this, start);
  61299. resolveOneOperation = new A.StylesheetParser__expression_resolveOneOperation(_box_0, _this);
  61300. resolveOperations = new A.StylesheetParser__expression_resolveOperations(_box_0, resolveOneOperation);
  61301. addSingleExpression = new A.StylesheetParser__expression_addSingleExpression(_box_0, _this, resetState, resolveOperations);
  61302. addOperator = new A.StylesheetParser__expression_addOperator(_box_0, _this, resolveOneOperation, addSingleExpression);
  61303. resolveSpaceExpressions = new A.StylesheetParser__expression_resolveSpaceExpressions(_box_0, _this, resolveOperations);
  61304. for (t3 = !consumeNewlines, t4 = type$.JSArray_Expression; true;) {
  61305. _this.whitespace$1$consumeNewlines(!t3 || bracketList);
  61306. if (t1 && until.call$0())
  61307. break;
  61308. _3_0 = t2.peekChar$0();
  61309. if (_3_0 == null)
  61310. break;
  61311. if (40 === _3_0) {
  61312. addSingleExpression.call$1(_this.parentheses$0());
  61313. continue;
  61314. }
  61315. if (91 === _3_0) {
  61316. addSingleExpression.call$1(_this._expression$1$bracketList(true));
  61317. continue;
  61318. }
  61319. if (36 === _3_0) {
  61320. addSingleExpression.call$1(_this._variable$0());
  61321. continue;
  61322. }
  61323. if (38 === _3_0) {
  61324. addSingleExpression.call$1(_this._selector$0());
  61325. continue;
  61326. }
  61327. if (39 === _3_0 || 34 === _3_0) {
  61328. addSingleExpression.call$1(_this.interpolatedString$0());
  61329. continue;
  61330. }
  61331. if (35 === _3_0) {
  61332. addSingleExpression.call$1(_this._hashExpression$0());
  61333. continue;
  61334. }
  61335. if (61 === _3_0) {
  61336. t2.readChar$0();
  61337. if (singleEquals && t2.peekChar$0() !== 61)
  61338. addOperator.call$1(B.BinaryOperator_Kyq);
  61339. else {
  61340. t2.expectChar$1(61);
  61341. addOperator.call$1(B.BinaryOperator_r84);
  61342. }
  61343. continue;
  61344. }
  61345. if (33 === _3_0) {
  61346. $label0$1: {
  61347. _1_0 = t2.peekChar$1(1);
  61348. if (61 === _1_0) {
  61349. t2.readChar$0();
  61350. t2.readChar$0();
  61351. addOperator.call$1(B.BinaryOperator_qGq);
  61352. break $label0$1;
  61353. }
  61354. t5 = true;
  61355. if (_1_0 != null)
  61356. if (105 !== _1_0)
  61357. if (73 !== _1_0)
  61358. t5 = _1_0 === 32 || _1_0 === 9 || _1_0 === 10 || _1_0 === 13 || _1_0 === 12;
  61359. if (t5) {
  61360. addSingleExpression.call$1(_this._importantExpression$0());
  61361. break $label0$1;
  61362. }
  61363. break;
  61364. }
  61365. continue;
  61366. }
  61367. if (60 === _3_0) {
  61368. t2.readChar$0();
  61369. addOperator.call$1(t2.scanChar$1(61) ? B.BinaryOperator_FPG : B.BinaryOperator_qHy);
  61370. continue;
  61371. }
  61372. if (62 === _3_0) {
  61373. t2.readChar$0();
  61374. addOperator.call$1(t2.scanChar$1(61) ? B.BinaryOperator_JiR : B.BinaryOperator_o8O);
  61375. continue;
  61376. }
  61377. if (42 === _3_0) {
  61378. t2.readChar$0();
  61379. addOperator.call$1(B.BinaryOperator_tht);
  61380. continue;
  61381. }
  61382. _3_28 = 43 === _3_0;
  61383. if (_3_28 && _box_0.singleExpression_ == null) {
  61384. addSingleExpression.call$1(_this._unaryOperation$0());
  61385. continue;
  61386. }
  61387. if (_3_28) {
  61388. t2.readChar$0();
  61389. addOperator.call$1(B.BinaryOperator_Swh);
  61390. continue;
  61391. }
  61392. if (45 === _3_0) {
  61393. _2_0 = t2.peekChar$1(1);
  61394. if (A._isInt(_2_0) && _2_0 >= 48 && _2_0 <= 57 || 46 === _2_0)
  61395. if (_box_0.singleExpression_ != null) {
  61396. t5 = t2.peekChar$1(-1);
  61397. t5 = t5 === 32 || t5 === 9 || t5 === 10 || t5 === 13 || t5 === 12;
  61398. } else
  61399. t5 = true;
  61400. else
  61401. t5 = false;
  61402. if (t5)
  61403. addSingleExpression.call$1(_this._number$0());
  61404. else if (_this._lookingAtInterpolatedIdentifier$0())
  61405. addSingleExpression.call$1(_this.identifierLike$0());
  61406. else if (_box_0.singleExpression_ == null)
  61407. addSingleExpression.call$1(_this._unaryOperation$0());
  61408. else {
  61409. t2.readChar$0();
  61410. addOperator.call$1(B.BinaryOperator_QG1);
  61411. }
  61412. continue;
  61413. }
  61414. _3_32 = 47 === _3_0;
  61415. if (_3_32 && _box_0.singleExpression_ == null) {
  61416. addSingleExpression.call$1(_this._unaryOperation$0());
  61417. continue;
  61418. }
  61419. if (_3_32) {
  61420. t2.readChar$0();
  61421. addOperator.call$1(B.BinaryOperator_Mh5);
  61422. continue;
  61423. }
  61424. if (37 === _3_0) {
  61425. t2.readChar$0();
  61426. addOperator.call$1(B.BinaryOperator_s7T);
  61427. continue;
  61428. }
  61429. if (_3_0 >= 48 && _3_0 <= 57) {
  61430. addSingleExpression.call$1(_this._number$0());
  61431. continue;
  61432. }
  61433. _3_40 = 46 === _3_0;
  61434. if (_3_40 && t2.peekChar$1(1) === 46)
  61435. break;
  61436. if (_3_40) {
  61437. addSingleExpression.call$1(_this._number$0());
  61438. continue;
  61439. }
  61440. if (97 === _3_0 && !_this.get$plainCss() && _this.scanIdentifier$1("and")) {
  61441. addOperator.call$1(B.BinaryOperator_uke);
  61442. continue;
  61443. }
  61444. if (111 === _3_0 && !_this.get$plainCss() && _this.scanIdentifier$1("or")) {
  61445. addOperator.call$1(B.BinaryOperator_tKu);
  61446. continue;
  61447. }
  61448. if ((117 === _3_0 || 85 === _3_0) && t2.peekChar$1(1) === 43) {
  61449. addSingleExpression.call$1(_this._unicodeRange$0());
  61450. continue;
  61451. }
  61452. if (!(_3_0 >= 97 && _3_0 <= 122))
  61453. t5 = _3_0 >= 65 && _3_0 <= 90 || 95 === _3_0 || 92 === _3_0 || _3_0 >= 128;
  61454. else
  61455. t5 = true;
  61456. if (t5) {
  61457. addSingleExpression.call$1(_this.identifierLike$0());
  61458. continue;
  61459. }
  61460. if (44 === _3_0) {
  61461. if (_this._inParentheses) {
  61462. _this._inParentheses = false;
  61463. if (_box_0.allowSlash) {
  61464. resetState.call$0();
  61465. continue;
  61466. }
  61467. }
  61468. commaExpressions = _box_0.commaExpressions_;
  61469. if (commaExpressions == null)
  61470. commaExpressions = _box_0.commaExpressions_ = A._setArrayType([], t4);
  61471. if (_box_0.singleExpression_ == null)
  61472. t2.error$1(0, _s20_);
  61473. resolveSpaceExpressions.call$0();
  61474. t5 = _box_0.singleExpression_;
  61475. t5.toString;
  61476. commaExpressions.push(t5);
  61477. t2.readChar$0();
  61478. _box_0.allowSlash = true;
  61479. _box_0.singleExpression_ = null;
  61480. continue;
  61481. }
  61482. break;
  61483. }
  61484. if (bracketList)
  61485. t2.expectChar$1(93);
  61486. commaExpressions = _box_0.commaExpressions_;
  61487. spaceExpressions = _box_0.spaceExpressions_;
  61488. if (commaExpressions != null) {
  61489. resolveSpaceExpressions.call$0();
  61490. _this._inParentheses = wasInParentheses;
  61491. singleExpression = _box_0.singleExpression_;
  61492. if (singleExpression != null)
  61493. commaExpressions.push(singleExpression);
  61494. _this._inExpression = wasInExpression;
  61495. t1 = t2.spanFrom$1(beforeBracket == null ? start : beforeBracket);
  61496. return new A.ListExpression(A.List_List$unmodifiable(commaExpressions, type$.Expression), B.ListSeparator_qVN, bracketList, t1);
  61497. } else if (bracketList && spaceExpressions != null) {
  61498. resolveOperations.call$0();
  61499. _this._inExpression = wasInExpression;
  61500. t1 = _box_0.singleExpression_;
  61501. t1.toString;
  61502. spaceExpressions.push(t1);
  61503. beforeBracket.toString;
  61504. t2 = t2.spanFrom$1(beforeBracket);
  61505. return new A.ListExpression(A.List_List$unmodifiable(spaceExpressions, type$.Expression), B.ListSeparator_qSL, true, t2);
  61506. } else {
  61507. resolveSpaceExpressions.call$0();
  61508. if (bracketList) {
  61509. t1 = _box_0.singleExpression_;
  61510. t1.toString;
  61511. t4 = A._setArrayType([t1], t4);
  61512. beforeBracket.toString;
  61513. t2 = t2.spanFrom$1(beforeBracket);
  61514. _box_0.singleExpression_ = new A.ListExpression(A.List_List$unmodifiable(t4, type$.Expression), B.ListSeparator_undecided_null_undecided, true, t2);
  61515. }
  61516. _this._inExpression = wasInExpression;
  61517. t1 = _box_0.singleExpression_;
  61518. t1.toString;
  61519. return t1;
  61520. }
  61521. },
  61522. _expression$0() {
  61523. return this._expression$4$bracketList$consumeNewlines$singleEquals$until(false, false, false, null);
  61524. },
  61525. _expression$1$consumeNewlines(consumeNewlines) {
  61526. return this._expression$4$bracketList$consumeNewlines$singleEquals$until(false, consumeNewlines, false, null);
  61527. },
  61528. _expression$3$consumeNewlines$singleEquals$until(consumeNewlines, singleEquals, until) {
  61529. return this._expression$4$bracketList$consumeNewlines$singleEquals$until(false, consumeNewlines, singleEquals, until);
  61530. },
  61531. _expression$1$bracketList(bracketList) {
  61532. return this._expression$4$bracketList$consumeNewlines$singleEquals$until(bracketList, false, false, null);
  61533. },
  61534. _expression$2$consumeNewlines$until(consumeNewlines, until) {
  61535. return this._expression$4$bracketList$consumeNewlines$singleEquals$until(false, consumeNewlines, false, until);
  61536. },
  61537. expressionUntilComma$1$singleEquals(singleEquals) {
  61538. return this._expression$3$consumeNewlines$singleEquals$until(true, singleEquals, new A.StylesheetParser_expressionUntilComma_closure(this));
  61539. },
  61540. expressionUntilComma$0() {
  61541. return this.expressionUntilComma$1$singleEquals(false);
  61542. },
  61543. _isSlashOperand$1(expression) {
  61544. var t1 = true;
  61545. if (!(expression instanceof A.NumberExpression))
  61546. if (!(expression instanceof A.FunctionExpression))
  61547. t1 = expression instanceof A.BinaryOperationExpression && expression.allowsSlash;
  61548. return t1;
  61549. },
  61550. _singleExpression$0() {
  61551. var next, t2, _this = this,
  61552. _s20_ = "Expected expression.",
  61553. t1 = _this.scanner,
  61554. _0_0 = t1.peekChar$0();
  61555. $label0$0: {
  61556. if (_0_0 == null)
  61557. t1.error$1(0, _s20_);
  61558. if (40 === _0_0) {
  61559. t1 = _this.parentheses$0();
  61560. break $label0$0;
  61561. }
  61562. if (47 === _0_0) {
  61563. t1 = _this._unaryOperation$0();
  61564. break $label0$0;
  61565. }
  61566. if (46 === _0_0) {
  61567. t1 = _this._number$0();
  61568. break $label0$0;
  61569. }
  61570. if (91 === _0_0) {
  61571. t1 = _this._expression$1$bracketList(true);
  61572. break $label0$0;
  61573. }
  61574. if (36 === _0_0) {
  61575. t1 = _this._variable$0();
  61576. break $label0$0;
  61577. }
  61578. if (38 === _0_0) {
  61579. t1 = _this._selector$0();
  61580. break $label0$0;
  61581. }
  61582. if (39 === _0_0 || 34 === _0_0) {
  61583. t1 = _this.interpolatedString$0();
  61584. break $label0$0;
  61585. }
  61586. if (35 === _0_0) {
  61587. t1 = _this._hashExpression$0();
  61588. break $label0$0;
  61589. }
  61590. if (43 === _0_0) {
  61591. next = t1.peekChar$1(1);
  61592. t1 = next != null && next >= 48 && next <= 57 || next === 46 ? _this._number$0() : _this._unaryOperation$0();
  61593. break $label0$0;
  61594. }
  61595. if (45 === _0_0) {
  61596. t1 = _this._minusExpression$0();
  61597. break $label0$0;
  61598. }
  61599. if (33 === _0_0) {
  61600. t1 = _this._importantExpression$0();
  61601. break $label0$0;
  61602. }
  61603. if (37 === _0_0) {
  61604. t2 = t1._string_scanner$_position;
  61605. t1.readChar$0();
  61606. t2 = t1.spanFrom$1(new A._SpanScannerState(t1, t2));
  61607. t2 = new A.StringExpression(new A.Interpolation(A.List_List$unmodifiable(["%"], type$.Object), B.List_null, t2), false);
  61608. t1 = t2;
  61609. break $label0$0;
  61610. }
  61611. if ((117 === _0_0 || 85 === _0_0) && t1.peekChar$1(1) === 43) {
  61612. t1 = _this._unicodeRange$0();
  61613. break $label0$0;
  61614. }
  61615. if (_0_0 >= 48 && _0_0 <= 57) {
  61616. t1 = _this._number$0();
  61617. break $label0$0;
  61618. }
  61619. if (!(_0_0 >= 97 && _0_0 <= 122))
  61620. t2 = _0_0 >= 65 && _0_0 <= 90 || 95 === _0_0 || 92 === _0_0 || _0_0 >= 128;
  61621. else
  61622. t2 = true;
  61623. if (t2) {
  61624. t1 = _this.identifierLike$0();
  61625. break $label0$0;
  61626. }
  61627. t1 = t1.error$1(0, _s20_);
  61628. }
  61629. return t1;
  61630. },
  61631. parentheses$0() {
  61632. var start, inside, first, expressions, list, t1, t2, _this = this,
  61633. wasInParentheses = _this._inParentheses;
  61634. _this._inParentheses = true;
  61635. try {
  61636. t1 = _this.scanner;
  61637. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  61638. t1.expectChar$1(40);
  61639. _this.whitespace$1$consumeNewlines(true);
  61640. inside = new A._SpanScannerState(t1, t1._string_scanner$_position);
  61641. if (!_this._lookingAtExpression$0()) {
  61642. t1.expectChar$1(41);
  61643. t2 = A._setArrayType([], type$.JSArray_Expression);
  61644. t1 = t1.spanFrom$1(start);
  61645. t2 = A.List_List$unmodifiable(t2, type$.Expression);
  61646. return new A.ListExpression(t2, B.ListSeparator_undecided_null_undecided, false, t1);
  61647. }
  61648. first = _this.expressionUntilComma$0();
  61649. if (t1.scanChar$1(58)) {
  61650. _this.whitespace$1$consumeNewlines(true);
  61651. t1 = _this._stylesheet$_map$2(first, start);
  61652. return t1;
  61653. }
  61654. if (!t1.scanChar$1(44)) {
  61655. t1.expectChar$1(41);
  61656. t1 = t1.spanFrom$1(start);
  61657. return new A.ParenthesizedExpression(first, t1);
  61658. }
  61659. _this.whitespace$1$consumeNewlines(true);
  61660. expressions = A._setArrayType([first], type$.JSArray_Expression);
  61661. for (; true;) {
  61662. if (!_this._lookingAtExpression$0())
  61663. break;
  61664. J.add$1$ax(expressions, _this.expressionUntilComma$0());
  61665. if (!t1.scanChar$1(44))
  61666. break;
  61667. _this.whitespace$1$consumeNewlines(true);
  61668. }
  61669. t2 = t1.spanFrom$1(inside);
  61670. list = new A.ListExpression(A.List_List$unmodifiable(expressions, type$.Expression), B.ListSeparator_qVN, false, t2);
  61671. t1.expectChar$1(41);
  61672. t1 = t1.spanFrom$1(start);
  61673. return new A.ParenthesizedExpression(list, t1);
  61674. } finally {
  61675. _this._inParentheses = wasInParentheses;
  61676. }
  61677. },
  61678. _stylesheet$_map$2(first, start) {
  61679. var t1, key, _this = this,
  61680. pairs = A._setArrayType([new A._Record_2(first, _this.expressionUntilComma$0())], type$.JSArray_Record_2_Expression_and_Expression);
  61681. for (t1 = _this.scanner; t1.scanChar$1(44);) {
  61682. _this.whitespace$1$consumeNewlines(true);
  61683. if (!_this._lookingAtExpression$0())
  61684. break;
  61685. key = _this.expressionUntilComma$0();
  61686. t1.expectChar$1(58);
  61687. _this.whitespace$1$consumeNewlines(true);
  61688. pairs.push(new A._Record_2(key, _this.expressionUntilComma$0()));
  61689. }
  61690. t1.expectChar$1(41);
  61691. t1 = t1.spanFrom$1(start);
  61692. return new A.MapExpression(A.List_List$unmodifiable(pairs, type$.Record_2_Expression_and_Expression), t1);
  61693. },
  61694. _hashExpression$0() {
  61695. var start, t2, identifier, buffer, t3, _this = this,
  61696. t1 = _this.scanner;
  61697. if (t1.peekChar$1(1) === 123)
  61698. return _this.identifierLike$0();
  61699. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  61700. t1.expectChar$1(35);
  61701. t2 = t1.peekChar$0();
  61702. if (t2 == null)
  61703. t2 = null;
  61704. else
  61705. t2 = t2 >= 48 && t2 <= 57;
  61706. if (t2 === true)
  61707. return new A.ColorExpression(_this._hexColorContents$1(start), t1.spanFrom$1(start));
  61708. t2 = t1._string_scanner$_position;
  61709. identifier = _this.interpolatedIdentifier$0();
  61710. if (_this._isHexColor$1(identifier)) {
  61711. t1.set$state(new A._SpanScannerState(t1, t2));
  61712. return new A.ColorExpression(_this._hexColorContents$1(start), t1.spanFrom$1(start));
  61713. }
  61714. t2 = new A.StringBuffer("");
  61715. buffer = new A.InterpolationBuffer(t2, A._setArrayType([], type$.JSArray_Object), A._setArrayType([], type$.JSArray_nullable_FileSpan));
  61716. t3 = A.Primitives_stringFromCharCode(35);
  61717. t2._contents += t3;
  61718. buffer.addInterpolation$1(identifier);
  61719. return new A.StringExpression(buffer.interpolation$1(t1.spanFrom$1(start)), false);
  61720. },
  61721. _hexColorContents$1(start) {
  61722. var red, green, blue, alpha, digit4, t2, t3, t4, _this = this,
  61723. digit1 = _this._hexDigit$0(),
  61724. digit2 = _this._hexDigit$0(),
  61725. digit3 = _this._hexDigit$0(),
  61726. t1 = _this.scanner,
  61727. $self = t1.peekChar$0();
  61728. if (!($self != null && A.CharacterExtension_get_isHex($self))) {
  61729. red = (digit1 << 4 >>> 0) + digit1;
  61730. green = (digit2 << 4 >>> 0) + digit2;
  61731. blue = (digit3 << 4 >>> 0) + digit3;
  61732. alpha = null;
  61733. } else {
  61734. digit4 = _this._hexDigit$0();
  61735. $self = t1.peekChar$0();
  61736. t2 = $self != null && A.CharacterExtension_get_isHex($self);
  61737. t3 = digit1 << 4 >>> 0;
  61738. t4 = digit3 << 4 >>> 0;
  61739. if (!t2) {
  61740. red = t3 + digit1;
  61741. green = (digit2 << 4 >>> 0) + digit2;
  61742. blue = t4 + digit3;
  61743. alpha = ((digit4 << 4 >>> 0) + digit4) / 255;
  61744. } else {
  61745. red = t3 + digit2;
  61746. green = t4 + digit4;
  61747. blue = (_this._hexDigit$0() << 4 >>> 0) + _this._hexDigit$0();
  61748. $self = t1.peekChar$0();
  61749. alpha = $self != null && A.CharacterExtension_get_isHex($self) ? ((_this._hexDigit$0() << 4 >>> 0) + _this._hexDigit$0()) / 255 : null;
  61750. }
  61751. }
  61752. t2 = alpha == null;
  61753. t3 = t2 ? 1 : alpha;
  61754. return A.SassColor_SassColor$rgbInternal(red, green, blue, t3, t2 ? new A.SpanColorFormat(t1.spanFrom$1(start)) : null);
  61755. },
  61756. _isHexColor$1(interpolation) {
  61757. var _0_2, t1,
  61758. plain = interpolation.get$asPlain();
  61759. if (typeof plain == "string") {
  61760. _0_2 = plain.length;
  61761. t1 = true;
  61762. if (3 !== _0_2)
  61763. if (4 !== _0_2)
  61764. if (6 !== _0_2)
  61765. t1 = 8 === _0_2;
  61766. } else
  61767. t1 = false;
  61768. if (t1) {
  61769. t1 = new A.CodeUnits(plain);
  61770. return t1.every$1(t1, new A.StylesheetParser__isHexColor_closure());
  61771. } else
  61772. return false;
  61773. },
  61774. _hexDigit$0() {
  61775. var t1 = this.scanner,
  61776. t2 = t1.peekChar$0();
  61777. t2 = t2 == null ? null : A.CharacterExtension_get_isHex(t2);
  61778. return t2 === true ? A.asHex(t1.readChar$0()) : t1.error$1(0, "Expected hex digit.");
  61779. },
  61780. _minusExpression$0() {
  61781. var _this = this,
  61782. _0_0 = _this.scanner.peekChar$1(1);
  61783. if (A._isInt(_0_0) && _0_0 >= 48 && _0_0 <= 57 || 46 === _0_0)
  61784. return _this._number$0();
  61785. if (_this._lookingAtInterpolatedIdentifier$0())
  61786. return _this.identifierLike$0();
  61787. return _this._unaryOperation$0();
  61788. },
  61789. _importantExpression$0() {
  61790. var t1 = this.scanner,
  61791. t2 = t1._string_scanner$_position;
  61792. t1.readChar$0();
  61793. this.whitespace$1$consumeNewlines(true);
  61794. this.expectIdentifier$1("important");
  61795. t2 = t1.spanFrom$1(new A._SpanScannerState(t1, t2));
  61796. return new A.StringExpression(new A.Interpolation(A.List_List$unmodifiable(["!important"], type$.Object), B.List_null, t2), false);
  61797. },
  61798. _unaryOperation$0() {
  61799. var _this = this,
  61800. t1 = _this.scanner,
  61801. t2 = t1._string_scanner$_position,
  61802. operator = _this._unaryOperatorFor$1(t1.readChar$0());
  61803. if (operator == null)
  61804. t1.error$2$position(0, "Expected unary operator.", t1._string_scanner$_position - 1);
  61805. else if (_this.get$plainCss() && operator !== B.UnaryOperator_lZV)
  61806. t1.error$3$length$position(0, "Operators aren't allowed in plain CSS.", 1, t1._string_scanner$_position - 1);
  61807. _this.whitespace$1$consumeNewlines(true);
  61808. return new A.UnaryOperationExpression(operator, _this._singleExpression$0(), t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
  61809. },
  61810. _unaryOperatorFor$1(character) {
  61811. var t1;
  61812. $label0$0: {
  61813. if (43 === character) {
  61814. t1 = B.UnaryOperator_Rbl;
  61815. break $label0$0;
  61816. }
  61817. if (45 === character) {
  61818. t1 = B.UnaryOperator_UCP;
  61819. break $label0$0;
  61820. }
  61821. if (47 === character) {
  61822. t1 = B.UnaryOperator_lZV;
  61823. break $label0$0;
  61824. }
  61825. t1 = null;
  61826. break $label0$0;
  61827. }
  61828. return t1;
  61829. },
  61830. _number$0() {
  61831. var number, unit, _this = this,
  61832. t1 = _this.scanner,
  61833. t2 = t1._string_scanner$_position,
  61834. first = t1.peekChar$0(),
  61835. t3 = first !== 43;
  61836. if (!t3 || first === 45)
  61837. t1.readChar$0();
  61838. if (t1.peekChar$0() !== 46)
  61839. _this._consumeNaturalNumber$0();
  61840. _this._tryDecimal$1$allowTrailingDot(t1._string_scanner$_position !== t2 && t3 && first !== 45);
  61841. _this._tryExponent$0();
  61842. number = A.double_parse(t1.substring$1(0, t2));
  61843. if (t1.scanChar$1(37))
  61844. unit = "%";
  61845. else {
  61846. if (_this.lookingAtIdentifier$0())
  61847. t3 = t1.peekChar$0() !== 45 || t1.peekChar$1(1) !== 45;
  61848. else
  61849. t3 = false;
  61850. unit = t3 ? _this.identifier$1$unit(true) : null;
  61851. }
  61852. return new A.NumberExpression(number, unit, t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
  61853. },
  61854. _consumeNaturalNumber$0() {
  61855. var $self,
  61856. t1 = this.scanner,
  61857. t2 = t1.readChar$0();
  61858. if (!(t2 >= 48 && t2 <= 57))
  61859. t1.error$2$position(0, "Expected digit.", t1._string_scanner$_position - 1);
  61860. while (true) {
  61861. $self = t1.peekChar$0();
  61862. if (!($self != null && $self >= 48 && $self <= 57))
  61863. break;
  61864. t1.readChar$0();
  61865. }
  61866. },
  61867. _tryDecimal$1$allowTrailingDot(allowTrailingDot) {
  61868. var $self,
  61869. t1 = this.scanner;
  61870. if (t1.peekChar$0() !== 46)
  61871. return;
  61872. $self = t1.peekChar$1(1);
  61873. if (!($self != null && $self >= 48 && $self <= 57)) {
  61874. if (allowTrailingDot)
  61875. return;
  61876. t1.error$2$position(0, "Expected digit.", t1._string_scanner$_position + 1);
  61877. }
  61878. t1.readChar$0();
  61879. while (true) {
  61880. $self = t1.peekChar$0();
  61881. if (!($self != null && $self >= 48 && $self <= 57))
  61882. break;
  61883. t1.readChar$0();
  61884. }
  61885. },
  61886. _tryExponent$0() {
  61887. var next, $self,
  61888. t1 = this.scanner,
  61889. first = t1.peekChar$0();
  61890. if (first !== 101 && first !== 69)
  61891. return;
  61892. next = t1.peekChar$1(1);
  61893. if (!(next != null && next >= 48 && next <= 57) && next !== 45 && next !== 43)
  61894. return;
  61895. t1.readChar$0();
  61896. if (43 === next || 45 === next)
  61897. t1.readChar$0();
  61898. $self = t1.peekChar$0();
  61899. if (!($self != null && $self >= 48 && $self <= 57))
  61900. t1.error$1(0, "Expected digit.");
  61901. while (true) {
  61902. $self = t1.peekChar$0();
  61903. if (!($self != null && $self >= 48 && $self <= 57))
  61904. break;
  61905. t1.readChar$0();
  61906. }
  61907. },
  61908. _unicodeRange$0() {
  61909. var firstRangeLength, hasQuestionMark, t2, secondRangeLength, _this = this,
  61910. _s26_ = "Expected at most 6 digits.",
  61911. t1 = _this.scanner,
  61912. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  61913. _this.expectIdentChar$1(117);
  61914. t1.expectChar$1(43);
  61915. for (firstRangeLength = 0; _this.scanCharIf$1(new A.StylesheetParser__unicodeRange_closure());)
  61916. ++firstRangeLength;
  61917. for (hasQuestionMark = false; t1.scanChar$1(63); hasQuestionMark = true)
  61918. ++firstRangeLength;
  61919. if (firstRangeLength === 0)
  61920. t1.error$1(0, 'Expected hex digit or "?".');
  61921. else if (firstRangeLength > 6)
  61922. _this.error$2(0, _s26_, t1.spanFrom$1(start));
  61923. else if (hasQuestionMark) {
  61924. t2 = t1.substring$1(0, start.position);
  61925. t1 = t1.spanFrom$1(start);
  61926. return new A.StringExpression(new A.Interpolation(A.List_List$unmodifiable([t2], type$.Object), B.List_null, t1), false);
  61927. }
  61928. if (t1.scanChar$1(45)) {
  61929. t2 = t1._string_scanner$_position;
  61930. for (secondRangeLength = 0; _this.scanCharIf$1(new A.StylesheetParser__unicodeRange_closure0());)
  61931. ++secondRangeLength;
  61932. if (secondRangeLength === 0)
  61933. t1.error$1(0, "Expected hex digit.");
  61934. else if (secondRangeLength > 6)
  61935. _this.error$2(0, _s26_, t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
  61936. }
  61937. if (_this._lookingAtInterpolatedIdentifierBody$0())
  61938. t1.error$1(0, "Expected end of identifier.");
  61939. t2 = t1.substring$1(0, start.position);
  61940. t1 = t1.spanFrom$1(start);
  61941. return new A.StringExpression(new A.Interpolation(A.List_List$unmodifiable([t2], type$.Object), B.List_null, t1), false);
  61942. },
  61943. _variable$0() {
  61944. var _this = this,
  61945. t1 = _this.scanner,
  61946. start = new A._SpanScannerState(t1, t1._string_scanner$_position),
  61947. $name = _this.variableName$0();
  61948. if (_this.get$plainCss())
  61949. _this.error$2(0, string$.Sassx20v, t1.spanFrom$1(start));
  61950. return new A.VariableExpression(null, $name, t1.spanFrom$1(start));
  61951. },
  61952. _selector$0() {
  61953. var t1, start, _this = this;
  61954. if (_this.get$plainCss())
  61955. _this.scanner.error$2$length(0, string$.The_pa, 1);
  61956. t1 = _this.scanner;
  61957. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  61958. t1.expectChar$1(38);
  61959. if (t1.scanChar$1(38)) {
  61960. _this.warnings.push(new A._Record_3_deprecation_message_span(null, string$.In_Sas, t1.spanFrom$1(start)));
  61961. t1.set$position(t1._string_scanner$_position - 1);
  61962. }
  61963. return new A.SelectorExpression(t1.spanFrom$1(start));
  61964. },
  61965. interpolatedString$0() {
  61966. var t3, t4, t5, buffer, _1_0, second, t6, _0_0,
  61967. t1 = this.scanner,
  61968. t2 = t1._string_scanner$_position,
  61969. quote = t1.readChar$0();
  61970. if (quote !== 39 && quote !== 34)
  61971. t1.error$2$position(0, "Expected string.", t2);
  61972. t3 = new A.StringBuffer("");
  61973. t4 = A._setArrayType([], type$.JSArray_Object);
  61974. t5 = A._setArrayType([], type$.JSArray_nullable_FileSpan);
  61975. buffer = new A.InterpolationBuffer(t3, t4, t5);
  61976. for (; true;) {
  61977. _1_0 = t1.peekChar$0();
  61978. if (_1_0 === quote) {
  61979. t1.readChar$0();
  61980. break;
  61981. }
  61982. if (_1_0 == null || _1_0 === 10 || _1_0 === 13 || _1_0 === 12)
  61983. t1.error$1(0, "Expected " + A.Primitives_stringFromCharCode(quote) + ".");
  61984. if (92 === _1_0) {
  61985. second = t1.peekChar$1(1);
  61986. if (second === 10 || second === 13 || second === 12) {
  61987. t1.readChar$0();
  61988. t1.readChar$0();
  61989. if (second === 13)
  61990. t1.scanChar$1(10);
  61991. } else {
  61992. t6 = A.Primitives_stringFromCharCode(A.consumeEscapedCharacter(t1));
  61993. t3._contents += t6;
  61994. }
  61995. continue;
  61996. }
  61997. if (35 === _1_0 && t1.peekChar$1(1) === 123) {
  61998. _0_0 = this.singleInterpolation$0();
  61999. buffer._flushText$0();
  62000. t4.push(_0_0._0);
  62001. t5.push(_0_0._1);
  62002. continue;
  62003. }
  62004. t6 = A.Primitives_stringFromCharCode(t1.readChar$0());
  62005. t3._contents += t6;
  62006. }
  62007. return new A.StringExpression(buffer.interpolation$1(t1.spanFrom$1(new A._SpanScannerState(t1, t2))), true);
  62008. },
  62009. identifierLike$0() {
  62010. var invocation, expression, _0_0, t3, t4, t5, _1_0, _2_0, _2_2, _2_4, _this = this,
  62011. t1 = _this.scanner,
  62012. start = new A._SpanScannerState(t1, t1._string_scanner$_position),
  62013. identifier = _this.interpolatedIdentifier$0(),
  62014. plain = identifier.get$asPlain(),
  62015. lower = A._Cell$(),
  62016. t2 = plain != null;
  62017. if (t2) {
  62018. if (plain === "if" && t1.peekChar$0() === 40) {
  62019. invocation = _this._argumentInvocation$0();
  62020. return new A.IfExpression(invocation, identifier.span.expand$1(0, invocation.span));
  62021. } else if (plain === "not") {
  62022. _this.whitespace$1$consumeNewlines(true);
  62023. expression = _this._singleExpression$0();
  62024. return new A.UnaryOperationExpression(B.UnaryOperator_not_not_not, expression, identifier.span.expand$1(0, expression.get$span(expression)));
  62025. }
  62026. lower.__late_helper$_value = plain.toLowerCase();
  62027. if (t1.peekChar$0() !== 40) {
  62028. switch (plain) {
  62029. case "false":
  62030. return new A.BooleanExpression(false, identifier.span);
  62031. case "null":
  62032. return new A.NullExpression(identifier.span);
  62033. case "true":
  62034. return new A.BooleanExpression(true, identifier.span);
  62035. }
  62036. _0_0 = $.$get$colorsByName().$index(0, lower._readLocal$0());
  62037. if (_0_0 != null) {
  62038. t1 = B.JSNumber_methods.round$0(_0_0._legacyChannel$2(B.RgbColorSpace_i0P, "red"));
  62039. t2 = B.JSNumber_methods.round$0(_0_0._legacyChannel$2(B.RgbColorSpace_i0P, "green"));
  62040. t3 = B.JSNumber_methods.round$0(_0_0._legacyChannel$2(B.RgbColorSpace_i0P, "blue"));
  62041. t4 = _0_0.alphaOrNull;
  62042. if (t4 == null)
  62043. t4 = 0;
  62044. t5 = identifier.span;
  62045. return new A.ColorExpression(A.SassColor_SassColor$rgbInternal(t1, t2, t3, t4, new A.SpanColorFormat(t5)), t5);
  62046. }
  62047. }
  62048. _1_0 = _this.trySpecialFunction$2(lower._readLocal$0(), start);
  62049. if (_1_0 != null)
  62050. return _1_0;
  62051. }
  62052. _2_0 = t1.peekChar$0();
  62053. _2_2 = 46 === _2_0;
  62054. if (_2_2 && t1.peekChar$1(1) === 46)
  62055. return new A.StringExpression(identifier, false);
  62056. if (_2_2) {
  62057. t1.readChar$0();
  62058. if (t2)
  62059. return _this.namespacedExpression$2(plain, start);
  62060. _this.error$2(0, string$.Interpn, identifier.span);
  62061. }
  62062. _2_4 = 40 === _2_0;
  62063. if (_2_4 && t2) {
  62064. t2 = _this._argumentInvocation$1$allowEmptySecondArg(J.$eq$(lower._readLocal$0(), "var"));
  62065. t1 = t1.spanFrom$1(start);
  62066. return new A.FunctionExpression(null, A.stringReplaceAllUnchecked(plain, "_", "-"), plain, t2, t1);
  62067. }
  62068. if (_2_4)
  62069. return new A.InterpolatedFunctionExpression(identifier, _this._argumentInvocation$0(), t1.spanFrom$1(start));
  62070. return new A.StringExpression(identifier, false);
  62071. },
  62072. namespacedExpression$2(namespace, start) {
  62073. var $name, t2, t3, _this = this,
  62074. t1 = _this.scanner;
  62075. if (t1.peekChar$0() === 36) {
  62076. $name = _this.variableName$0();
  62077. _this._assertPublic$2($name, new A.StylesheetParser_namespacedExpression_closure(_this, start));
  62078. return new A.VariableExpression(namespace, $name, t1.spanFrom$1(start));
  62079. }
  62080. t2 = _this._publicIdentifier$0();
  62081. t3 = _this._argumentInvocation$0();
  62082. t1 = t1.spanFrom$1(start);
  62083. return new A.FunctionExpression(namespace, A.stringReplaceAllUnchecked(t2, "_", "-"), t2, t3, t1);
  62084. },
  62085. trySpecialFunction$2($name, start) {
  62086. var t1, buffer, t2, next, t3, _this = this,
  62087. normalized = A.unvendor($name);
  62088. $label0$0: {
  62089. if (!("calc" === normalized && normalized !== $name && _this.scanner.scanChar$1(40)))
  62090. t1 = ("element" === normalized || "expression" === normalized) && _this.scanner.scanChar$1(40);
  62091. else
  62092. t1 = true;
  62093. if (t1) {
  62094. t1 = new A.StringBuffer("");
  62095. buffer = new A.InterpolationBuffer(t1, A._setArrayType([], type$.JSArray_Object), A._setArrayType([], type$.JSArray_nullable_FileSpan));
  62096. t1._contents = "" + $name;
  62097. t2 = A.Primitives_stringFromCharCode(40);
  62098. t1._contents += t2;
  62099. break $label0$0;
  62100. }
  62101. if ("progid" === normalized && _this.scanner.scanChar$1(58)) {
  62102. t1 = new A.StringBuffer("");
  62103. buffer = new A.InterpolationBuffer(t1, A._setArrayType([], type$.JSArray_Object), A._setArrayType([], type$.JSArray_nullable_FileSpan));
  62104. t1._contents = "" + $name;
  62105. t2 = A.Primitives_stringFromCharCode(58);
  62106. t1._contents += t2;
  62107. t2 = _this.scanner;
  62108. next = t2.peekChar$0();
  62109. while (true) {
  62110. if (next != null) {
  62111. if (!(next >= 97 && next <= 122))
  62112. t3 = next >= 65 && next <= 90;
  62113. else
  62114. t3 = true;
  62115. t3 = t3 || next === 46;
  62116. } else
  62117. t3 = false;
  62118. if (!t3)
  62119. break;
  62120. t3 = A.Primitives_stringFromCharCode(t2.readChar$0());
  62121. t1._contents += t3;
  62122. next = t2.peekChar$0();
  62123. }
  62124. t2.expectChar$1(40);
  62125. t2 = A.Primitives_stringFromCharCode(40);
  62126. t1._contents += t2;
  62127. break $label0$0;
  62128. }
  62129. if ("url" === normalized)
  62130. return A.NullableExtension_andThen(_this._tryUrlContents$1(start), new A.StylesheetParser_trySpecialFunction_closure());
  62131. return null;
  62132. }
  62133. buffer.addInterpolation$1(_this._interpolatedDeclarationValue$1$allowEmpty(true));
  62134. t1 = _this.scanner;
  62135. t1.expectChar$1(41);
  62136. t2 = buffer._interpolation_buffer$_text;
  62137. t3 = A.Primitives_stringFromCharCode(41);
  62138. t2._contents += t3;
  62139. return new A.StringExpression(buffer.interpolation$1(t1.spanFrom$1(start)), false);
  62140. },
  62141. _tryUrlContents$2$name(start, $name) {
  62142. var t3, t4, t5, buffer, t6, _1_0, _1_6, _0_0, endPosition, _this = this,
  62143. t1 = _this.scanner,
  62144. t2 = t1._string_scanner$_position;
  62145. if (!t1.scanChar$1(40))
  62146. return null;
  62147. _this.whitespaceWithoutComments$1$consumeNewlines(true);
  62148. t3 = new A.StringBuffer("");
  62149. t4 = A._setArrayType([], type$.JSArray_Object);
  62150. t5 = A._setArrayType([], type$.JSArray_nullable_FileSpan);
  62151. buffer = new A.InterpolationBuffer(t3, t4, t5);
  62152. t3._contents = "" + ($name == null ? "url" : $name);
  62153. t6 = A.Primitives_stringFromCharCode(40);
  62154. t3._contents += t6;
  62155. for (; true;) {
  62156. _1_0 = t1.peekChar$0();
  62157. if (_1_0 == null)
  62158. break;
  62159. if (92 === _1_0) {
  62160. t6 = _this.escape$0();
  62161. t3._contents += t6;
  62162. continue;
  62163. }
  62164. _1_6 = 35 === _1_0;
  62165. if (_1_6 && t1.peekChar$1(1) === 123) {
  62166. _0_0 = _this.singleInterpolation$0();
  62167. buffer._flushText$0();
  62168. t4.push(_0_0._0);
  62169. t5.push(_0_0._1);
  62170. continue;
  62171. }
  62172. t6 = true;
  62173. if (33 !== _1_0)
  62174. if (37 !== _1_0)
  62175. if (38 !== _1_0)
  62176. if (!_1_6)
  62177. t6 = _1_0 >= 42 && _1_0 <= 126 || _1_0 >= 128;
  62178. if (t6) {
  62179. t6 = A.Primitives_stringFromCharCode(t1.readChar$0());
  62180. t3._contents += t6;
  62181. continue;
  62182. }
  62183. if (_1_0 === 32 || _1_0 === 9 || _1_0 === 10 || _1_0 === 13 || _1_0 === 12) {
  62184. _this.whitespaceWithoutComments$1$consumeNewlines(true);
  62185. if (t1.peekChar$0() !== 41)
  62186. break;
  62187. continue;
  62188. }
  62189. if (41 === _1_0) {
  62190. t2 = A.Primitives_stringFromCharCode(t1.readChar$0());
  62191. t3._contents += t2;
  62192. endPosition = t1._string_scanner$_position;
  62193. t2 = t1._sourceFile;
  62194. t3 = start.position;
  62195. t1 = new A._FileSpan(t2, t3, endPosition);
  62196. t1._FileSpan$3(t2, t3, endPosition);
  62197. return buffer.interpolation$1(t1);
  62198. }
  62199. break;
  62200. }
  62201. t1.set$state(new A._SpanScannerState(t1, t2));
  62202. return null;
  62203. },
  62204. _tryUrlContents$1(start) {
  62205. return this._tryUrlContents$2$name(start, null);
  62206. },
  62207. dynamicUrl$0() {
  62208. var _0_0, t2, _this = this,
  62209. t1 = _this.scanner,
  62210. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  62211. _this.expectIdentifier$1("url");
  62212. _0_0 = _this._tryUrlContents$1(start);
  62213. if (_0_0 != null)
  62214. return new A.StringExpression(_0_0, false);
  62215. t2 = t1.spanFrom$1(start);
  62216. 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));
  62217. },
  62218. almostAnyValue$1$omitComments(omitComments) {
  62219. var t4, t5, t6, t7, _2_0, t8, _0_0, _0_2, start, end, _0_4, identifier, _1_0, bracket, char, _this = this,
  62220. t1 = _this.scanner,
  62221. t2 = t1._string_scanner$_position,
  62222. t3 = new A.StringBuffer(""),
  62223. buffer = new A.InterpolationBuffer(t3, A._setArrayType([], type$.JSArray_Object), A._setArrayType([], type$.JSArray_nullable_FileSpan)),
  62224. brackets = A._setArrayType([], type$.JSArray_int);
  62225. for (t4 = t1.string, t5 = t4.length, t6 = !omitComments, t7 = _this.get$loudComment(); true;)
  62226. $label0$0: {
  62227. _2_0 = t1.peekChar$0();
  62228. if (92 === _2_0) {
  62229. t8 = A.Primitives_stringFromCharCode(t1.readChar$0());
  62230. t3._contents += t8;
  62231. t8 = A.Primitives_stringFromCharCode(t1.readChar$0());
  62232. t3._contents += t8;
  62233. break $label0$0;
  62234. }
  62235. if (34 === _2_0 || 39 === _2_0) {
  62236. buffer.addInterpolation$1(_this.interpolatedString$0().asInterpolation$0());
  62237. break $label0$0;
  62238. }
  62239. if (47 === _2_0) {
  62240. $label1$1: {
  62241. _0_0 = t1.peekChar$1(1);
  62242. _0_2 = 42 === _0_0;
  62243. if (_0_2 && t6) {
  62244. start = t1._string_scanner$_position;
  62245. t7.call$0();
  62246. end = t1._string_scanner$_position;
  62247. t3._contents += B.JSString_methods.substring$2(t4, start, end);
  62248. break $label1$1;
  62249. }
  62250. if (_0_2) {
  62251. _this.loudComment$0();
  62252. break $label1$1;
  62253. }
  62254. _0_4 = 47 === _0_0;
  62255. if (_0_4 && t6) {
  62256. t8 = _this.get$silentComment();
  62257. start = t1._string_scanner$_position;
  62258. t8.call$0();
  62259. end = t1._string_scanner$_position;
  62260. t3._contents += B.JSString_methods.substring$2(t4, start, end);
  62261. break $label1$1;
  62262. }
  62263. if (_0_4) {
  62264. _this.silentComment$0();
  62265. break $label1$1;
  62266. }
  62267. t8 = A.Primitives_stringFromCharCode(t1.readChar$0());
  62268. t3._contents += t8;
  62269. }
  62270. break $label0$0;
  62271. }
  62272. if (35 === _2_0 && t1.peekChar$1(1) === 123) {
  62273. buffer.addInterpolation$1(_this.interpolatedIdentifier$0());
  62274. break $label0$0;
  62275. }
  62276. if (13 === _2_0 || 10 === _2_0 || 12 === _2_0) {
  62277. if (_this.get$indented() && brackets.length === 0)
  62278. break;
  62279. t8 = A.Primitives_stringFromCharCode(t1.readChar$0());
  62280. t3._contents += t8;
  62281. break $label0$0;
  62282. }
  62283. if (33 === _2_0 || 59 === _2_0 || 123 === _2_0 || 125 === _2_0)
  62284. break;
  62285. if (117 === _2_0 || 85 === _2_0) {
  62286. t8 = t1._string_scanner$_position;
  62287. identifier = _this.identifier$0();
  62288. if (identifier !== "url" && identifier !== "url-prefix") {
  62289. t3._contents += identifier;
  62290. continue;
  62291. }
  62292. _1_0 = _this._tryUrlContents$2$name(new A._SpanScannerState(t1, t8), identifier);
  62293. if (_1_0 != null)
  62294. buffer.addInterpolation$1(_1_0);
  62295. else {
  62296. if ((t8 === 0 ? 1 / t8 < 0 : t8 < 0) || t8 > t5)
  62297. A.throwExpression(A.ArgumentError$("Invalid position " + t8, null));
  62298. t1._string_scanner$_position = t8;
  62299. t1._lastMatch = null;
  62300. t8 = A.Primitives_stringFromCharCode(t1.readChar$0());
  62301. t3._contents += t8;
  62302. }
  62303. break $label0$0;
  62304. }
  62305. if (40 === _2_0 || 91 === _2_0) {
  62306. bracket = t1.readChar$0();
  62307. t8 = A.Primitives_stringFromCharCode(bracket);
  62308. t3._contents += t8;
  62309. brackets.push(A.opposite(bracket));
  62310. break $label0$0;
  62311. }
  62312. if (41 === _2_0 || 93 === _2_0) {
  62313. t8 = _2_0 != null;
  62314. char = t8 ? _2_0 : null;
  62315. } else {
  62316. char = null;
  62317. t8 = false;
  62318. }
  62319. if (t8) {
  62320. if (brackets.length === 0)
  62321. t1.error$1(0, 'Unexpected "' + A.Primitives_stringFromCharCode(char) + '".');
  62322. bracket = brackets.pop();
  62323. t1.expectChar$1(bracket);
  62324. t8 = A.Primitives_stringFromCharCode(bracket);
  62325. t3._contents += t8;
  62326. break $label0$0;
  62327. }
  62328. if (_2_0 == null)
  62329. break;
  62330. t8 = _this.lookingAtIdentifier$0();
  62331. if (t8) {
  62332. t8 = _this.identifier$0();
  62333. t3._contents += t8;
  62334. break $label0$0;
  62335. }
  62336. t8 = A.Primitives_stringFromCharCode(t1.readChar$0());
  62337. t3._contents += t8;
  62338. }
  62339. return buffer.interpolation$1(t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
  62340. },
  62341. almostAnyValue$0() {
  62342. return this.almostAnyValue$1$omitComments(false);
  62343. },
  62344. _interpolatedDeclarationValue$6$allowColon$allowEmpty$allowOpenBrace$allowSemicolon$consumeNewlines$silentComments(allowColon, allowEmpty, allowOpenBrace, allowSemicolon, consumeNewlines, silentComments) {
  62345. 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,
  62346. t1 = _this.scanner,
  62347. t2 = t1._string_scanner$_position,
  62348. t3 = new A.StringBuffer(""),
  62349. buffer = new A.InterpolationBuffer(t3, A._setArrayType([], type$.JSArray_Object), A._setArrayType([], type$.JSArray_nullable_FileSpan)),
  62350. brackets = A._setArrayType([], type$.JSArray_int);
  62351. for (t4 = !consumeNewlines, t5 = !allowOpenBrace, t6 = t1.string, t7 = t6.length, t8 = !allowColon, t9 = !allowSemicolon, t10 = _this.get$loudComment(), wroteNewline = false; true;)
  62352. $label0$0: {
  62353. _2_0 = t1.peekChar$0();
  62354. wroteNewline0 = false;
  62355. if (92 === _2_0) {
  62356. t11 = _this.escape$1$identifierStart(true);
  62357. t3._contents += t11;
  62358. wroteNewline = wroteNewline0;
  62359. break $label0$0;
  62360. }
  62361. if (34 === _2_0 || 39 === _2_0) {
  62362. buffer.addInterpolation$1(_this.interpolatedString$0().asInterpolation$0());
  62363. wroteNewline = wroteNewline0;
  62364. break $label0$0;
  62365. }
  62366. if (47 === _2_0) {
  62367. $label1$1: {
  62368. _0_0 = t1.peekChar$1(1);
  62369. if (42 === _0_0) {
  62370. start = t1._string_scanner$_position;
  62371. t10.call$0();
  62372. end = t1._string_scanner$_position;
  62373. t3._contents += B.JSString_methods.substring$2(t6, start, end);
  62374. break $label1$1;
  62375. }
  62376. if (47 === _0_0 && silentComments) {
  62377. _this.silentComment$0();
  62378. break $label1$1;
  62379. }
  62380. t11 = A.Primitives_stringFromCharCode(t1.readChar$0());
  62381. t3._contents += t11;
  62382. }
  62383. wroteNewline = wroteNewline0;
  62384. break $label0$0;
  62385. }
  62386. if (35 === _2_0 && t1.peekChar$1(1) === 123) {
  62387. buffer.addInterpolation$1(_this.interpolatedIdentifier$0());
  62388. wroteNewline = wroteNewline0;
  62389. break $label0$0;
  62390. }
  62391. _2_14_isSet = 32 !== _2_0;
  62392. if (_2_14_isSet) {
  62393. _2_14 = 9 === _2_0;
  62394. t11 = _2_14;
  62395. } else {
  62396. _2_14 = _null;
  62397. t11 = true;
  62398. }
  62399. t12 = false;
  62400. if (t11)
  62401. if (!wroteNewline) {
  62402. t11 = t1.peekChar$1(1);
  62403. t11 = t11 === 32 || t11 === 9 || t11 === 10 || t11 === 13 || t11 === 12;
  62404. } else
  62405. t11 = t12;
  62406. else
  62407. t11 = t12;
  62408. if (t11) {
  62409. t1.readChar$0();
  62410. break $label0$0;
  62411. }
  62412. if (_2_14_isSet)
  62413. t11 = _2_14;
  62414. else
  62415. t11 = true;
  62416. if (t11) {
  62417. t11 = A.Primitives_stringFromCharCode(t1.readChar$0());
  62418. t3._contents += t11;
  62419. break $label0$0;
  62420. }
  62421. _2_18_isSet = 10 !== _2_0;
  62422. _2_20 = _null;
  62423. t11 = true;
  62424. if (_2_18_isSet) {
  62425. _2_18 = 13 === _2_0;
  62426. _2_20_isSet = !_2_18;
  62427. if (_2_20_isSet) {
  62428. _2_20 = 12 === _2_0;
  62429. t11 = _2_20;
  62430. }
  62431. } else {
  62432. _2_18 = _null;
  62433. _2_20_isSet = false;
  62434. }
  62435. if (t11 && _this.get$indented() && t4 && brackets.length === 0)
  62436. break;
  62437. t11 = true;
  62438. if (_2_18_isSet)
  62439. if (!_2_18)
  62440. t11 = _2_20_isSet ? _2_20 : 12 === _2_0;
  62441. if (t11) {
  62442. t11 = t1.peekChar$1(-1);
  62443. if (!(t11 === 10 || t11 === 13 || t11 === 12))
  62444. t3._contents += "\n";
  62445. t1.readChar$0();
  62446. wroteNewline = true;
  62447. break $label0$0;
  62448. }
  62449. _2_22 = 123 === _2_0;
  62450. if (_2_22 && t5)
  62451. break;
  62452. if (40 !== _2_0)
  62453. t11 = _2_22 || 91 === _2_0;
  62454. else
  62455. t11 = true;
  62456. if (t11) {
  62457. bracket = t1.readChar$0();
  62458. t11 = A.Primitives_stringFromCharCode(bracket);
  62459. t3._contents += t11;
  62460. brackets.push(A.opposite(bracket));
  62461. wroteNewline = wroteNewline0;
  62462. break $label0$0;
  62463. }
  62464. if (41 === _2_0 || 125 === _2_0 || 93 === _2_0) {
  62465. if (brackets.length === 0)
  62466. break;
  62467. bracket = brackets.pop();
  62468. t1.expectChar$1(bracket);
  62469. t11 = A.Primitives_stringFromCharCode(bracket);
  62470. t3._contents += t11;
  62471. wroteNewline = wroteNewline0;
  62472. break $label0$0;
  62473. }
  62474. if (59 === _2_0) {
  62475. if (t9 && brackets.length === 0)
  62476. break;
  62477. t11 = A.Primitives_stringFromCharCode(t1.readChar$0());
  62478. t3._contents += t11;
  62479. wroteNewline = wroteNewline0;
  62480. break $label0$0;
  62481. }
  62482. if (58 === _2_0) {
  62483. if (t8 && brackets.length === 0)
  62484. break;
  62485. t11 = A.Primitives_stringFromCharCode(t1.readChar$0());
  62486. t3._contents += t11;
  62487. wroteNewline = wroteNewline0;
  62488. break $label0$0;
  62489. }
  62490. if (117 === _2_0 || 85 === _2_0) {
  62491. t11 = t1._string_scanner$_position;
  62492. identifier = _this.identifier$0();
  62493. if (identifier !== "url" && identifier !== "url-prefix") {
  62494. t3._contents += identifier;
  62495. wroteNewline = wroteNewline0;
  62496. continue;
  62497. }
  62498. _1_0 = _this._tryUrlContents$2$name(new A._SpanScannerState(t1, t11), identifier);
  62499. if (_1_0 != null)
  62500. buffer.addInterpolation$1(_1_0);
  62501. else {
  62502. if ((t11 === 0 ? 1 / t11 < 0 : t11 < 0) || t11 > t7)
  62503. A.throwExpression(A.ArgumentError$("Invalid position " + t11, _null));
  62504. t1._string_scanner$_position = t11;
  62505. t1._lastMatch = null;
  62506. t11 = A.Primitives_stringFromCharCode(t1.readChar$0());
  62507. t3._contents += t11;
  62508. }
  62509. wroteNewline = wroteNewline0;
  62510. break $label0$0;
  62511. }
  62512. if (_2_0 == null)
  62513. break;
  62514. t11 = _this.lookingAtIdentifier$0();
  62515. if (t11) {
  62516. t11 = _this.identifier$0();
  62517. t3._contents += t11;
  62518. wroteNewline = wroteNewline0;
  62519. break $label0$0;
  62520. }
  62521. t11 = A.Primitives_stringFromCharCode(t1.readChar$0());
  62522. t3._contents += t11;
  62523. wroteNewline = wroteNewline0;
  62524. }
  62525. if (brackets.length !== 0)
  62526. t1.expectChar$1(B.JSArray_methods.get$last(brackets));
  62527. if (!allowEmpty && buffer._interpolation_buffer$_contents.length === 0 && t3._contents.length === 0)
  62528. t1.error$1(0, "Expected token.");
  62529. return buffer.interpolation$1(t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
  62530. },
  62531. _interpolatedDeclarationValue$1$allowEmpty(allowEmpty) {
  62532. return this._interpolatedDeclarationValue$6$allowColon$allowEmpty$allowOpenBrace$allowSemicolon$consumeNewlines$silentComments(true, allowEmpty, true, false, false, true);
  62533. },
  62534. _interpolatedDeclarationValue$1$allowOpenBrace(allowOpenBrace) {
  62535. return this._interpolatedDeclarationValue$6$allowColon$allowEmpty$allowOpenBrace$allowSemicolon$consumeNewlines$silentComments(true, false, allowOpenBrace, false, false, true);
  62536. },
  62537. _interpolatedDeclarationValue$3$allowEmpty$allowSemicolon$consumeNewlines(allowEmpty, allowSemicolon, consumeNewlines) {
  62538. return this._interpolatedDeclarationValue$6$allowColon$allowEmpty$allowOpenBrace$allowSemicolon$consumeNewlines$silentComments(true, allowEmpty, true, allowSemicolon, consumeNewlines, true);
  62539. },
  62540. _interpolatedDeclarationValue$4$allowColon$allowEmpty$allowSemicolon$consumeNewlines(allowColon, allowEmpty, allowSemicolon, consumeNewlines) {
  62541. return this._interpolatedDeclarationValue$6$allowColon$allowEmpty$allowOpenBrace$allowSemicolon$consumeNewlines$silentComments(allowColon, allowEmpty, true, allowSemicolon, consumeNewlines, true);
  62542. },
  62543. _interpolatedDeclarationValue$0() {
  62544. return this._interpolatedDeclarationValue$6$allowColon$allowEmpty$allowOpenBrace$allowSemicolon$consumeNewlines$silentComments(true, false, true, false, false, true);
  62545. },
  62546. _interpolatedDeclarationValue$2$allowEmpty$allowOpenBrace(allowEmpty, allowOpenBrace) {
  62547. return this._interpolatedDeclarationValue$6$allowColon$allowEmpty$allowOpenBrace$allowSemicolon$consumeNewlines$silentComments(true, allowEmpty, allowOpenBrace, false, false, true);
  62548. },
  62549. _interpolatedDeclarationValue$1$silentComments(silentComments) {
  62550. return this._interpolatedDeclarationValue$6$allowColon$allowEmpty$allowOpenBrace$allowSemicolon$consumeNewlines$silentComments(true, false, true, false, false, silentComments);
  62551. },
  62552. interpolatedIdentifier$0() {
  62553. var t3, _1_0, _0_0, _this = this,
  62554. _s20_ = "Expected identifier.",
  62555. t1 = _this.scanner,
  62556. start = new A._SpanScannerState(t1, t1._string_scanner$_position),
  62557. t2 = new A.StringBuffer(""),
  62558. buffer = new A.InterpolationBuffer(t2, A._setArrayType([], type$.JSArray_Object), A._setArrayType([], type$.JSArray_nullable_FileSpan));
  62559. if (t1.scanChar$1(45)) {
  62560. t3 = A.Primitives_stringFromCharCode(45);
  62561. t2._contents += t3;
  62562. if (t1.scanChar$1(45)) {
  62563. t3 = A.Primitives_stringFromCharCode(45);
  62564. t2._contents += t3;
  62565. _this._interpolatedIdentifierBody$1(buffer);
  62566. return buffer.interpolation$1(t1.spanFrom$1(start));
  62567. }
  62568. }
  62569. $label0$0: {
  62570. _1_0 = t1.peekChar$0();
  62571. if (_1_0 == null)
  62572. t1.error$1(0, _s20_);
  62573. if (_1_0 === 95 || A.CharacterExtension_get_isAlphabetic(_1_0) || _1_0 >= 128) {
  62574. t3 = A.Primitives_stringFromCharCode(t1.readChar$0());
  62575. t2._contents += t3;
  62576. break $label0$0;
  62577. }
  62578. if (92 === _1_0) {
  62579. t3 = _this.escape$1$identifierStart(true);
  62580. t2._contents += t3;
  62581. break $label0$0;
  62582. }
  62583. if (35 === _1_0 && t1.peekChar$1(1) === 123) {
  62584. _0_0 = _this.singleInterpolation$0();
  62585. buffer.add$2(0, _0_0._0, _0_0._1);
  62586. break $label0$0;
  62587. }
  62588. t1.error$1(0, _s20_);
  62589. }
  62590. _this._interpolatedIdentifierBody$1(buffer);
  62591. return buffer.interpolation$1(t1.spanFrom$1(start));
  62592. },
  62593. _interpolatedIdentifierBody$1(buffer) {
  62594. var t1, t2, t3, t4, _1_0, t5, _0_0;
  62595. for (t1 = buffer._interpolation_buffer$_contents, t2 = buffer._spans, t3 = this.scanner, t4 = buffer._interpolation_buffer$_text; true;) {
  62596. _1_0 = t3.peekChar$0();
  62597. if (_1_0 == null)
  62598. break;
  62599. t5 = true;
  62600. if (95 !== _1_0)
  62601. if (45 !== _1_0) {
  62602. if (!(_1_0 >= 97 && _1_0 <= 122))
  62603. t5 = _1_0 >= 65 && _1_0 <= 90;
  62604. else
  62605. t5 = true;
  62606. if (!t5)
  62607. t5 = _1_0 >= 48 && _1_0 <= 57;
  62608. else
  62609. t5 = true;
  62610. t5 = t5 || _1_0 >= 128;
  62611. }
  62612. if (t5) {
  62613. t5 = A.Primitives_stringFromCharCode(t3.readChar$0());
  62614. t4._contents += t5;
  62615. continue;
  62616. }
  62617. if (92 === _1_0) {
  62618. t5 = this.escape$0();
  62619. t4._contents += t5;
  62620. continue;
  62621. }
  62622. if (35 === _1_0 && t3.peekChar$1(1) === 123) {
  62623. _0_0 = this.singleInterpolation$0();
  62624. buffer._flushText$0();
  62625. t1.push(_0_0._0);
  62626. t2.push(_0_0._1);
  62627. continue;
  62628. }
  62629. break;
  62630. }
  62631. },
  62632. singleInterpolation$0() {
  62633. var contents, span, _this = this,
  62634. t1 = _this.scanner,
  62635. t2 = t1._string_scanner$_position;
  62636. t1.expect$1("#{");
  62637. _this.whitespace$1$consumeNewlines(true);
  62638. contents = _this._expression$1$consumeNewlines(true);
  62639. t1.expectChar$1(125);
  62640. span = t1.spanFrom$1(new A._SpanScannerState(t1, t2));
  62641. if (_this.get$plainCss())
  62642. _this.error$2(0, string$.Interpp, span);
  62643. return new A._Record_2(contents, span);
  62644. },
  62645. _mediaQueryList$0() {
  62646. var t4, _this = this,
  62647. t1 = _this.scanner,
  62648. t2 = t1._string_scanner$_position,
  62649. t3 = new A.StringBuffer(""),
  62650. buffer = new A.InterpolationBuffer(t3, A._setArrayType([], type$.JSArray_Object), A._setArrayType([], type$.JSArray_nullable_FileSpan));
  62651. for (; true;) {
  62652. _this.whitespace$1$consumeNewlines(false);
  62653. _this._stylesheet$_mediaQuery$1(buffer);
  62654. _this.whitespace$1$consumeNewlines(false);
  62655. if (!t1.scanChar$1(44))
  62656. break;
  62657. t4 = A.Primitives_stringFromCharCode(44);
  62658. t3._contents += t4;
  62659. t4 = A.Primitives_stringFromCharCode(32);
  62660. t3._contents += t4;
  62661. }
  62662. return buffer.interpolation$1(t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
  62663. },
  62664. _stylesheet$_mediaQuery$1(buffer) {
  62665. var identifier1, t1, t2, identifier2, _this = this, _s3_ = "and";
  62666. if (_this.scanner.peekChar$0() === 40) {
  62667. _this._stylesheet$_mediaInParens$1(buffer);
  62668. _this.whitespace$1$consumeNewlines(false);
  62669. if (_this.scanIdentifier$1(_s3_)) {
  62670. buffer._interpolation_buffer$_text._contents += " and ";
  62671. _this.expectWhitespace$0();
  62672. _this._stylesheet$_mediaLogicSequence$2(buffer, _s3_);
  62673. } else if (_this.scanIdentifier$1("or")) {
  62674. buffer._interpolation_buffer$_text._contents += " or ";
  62675. _this.expectWhitespace$0();
  62676. _this._stylesheet$_mediaLogicSequence$2(buffer, "or");
  62677. }
  62678. return;
  62679. }
  62680. identifier1 = _this.interpolatedIdentifier$0();
  62681. if (A.equalsIgnoreCase(identifier1.get$asPlain(), "not")) {
  62682. _this.expectWhitespace$0();
  62683. if (!_this._lookingAtInterpolatedIdentifier$0()) {
  62684. buffer._interpolation_buffer$_text._contents += "not ";
  62685. _this._mediaOrInterp$1(buffer);
  62686. return;
  62687. }
  62688. }
  62689. _this.whitespace$1$consumeNewlines(false);
  62690. buffer.addInterpolation$1(identifier1);
  62691. if (!_this._lookingAtInterpolatedIdentifier$0())
  62692. return;
  62693. t1 = buffer._interpolation_buffer$_text;
  62694. t2 = A.Primitives_stringFromCharCode(32);
  62695. t1._contents += t2;
  62696. identifier2 = _this.interpolatedIdentifier$0();
  62697. if (A.equalsIgnoreCase(identifier2.get$asPlain(), _s3_)) {
  62698. _this.expectWhitespace$0();
  62699. t1._contents += " and ";
  62700. } else {
  62701. _this.whitespace$1$consumeNewlines(false);
  62702. buffer.addInterpolation$1(identifier2);
  62703. if (_this.scanIdentifier$1(_s3_)) {
  62704. _this.expectWhitespace$0();
  62705. t1._contents += " and ";
  62706. } else
  62707. return;
  62708. }
  62709. if (_this.scanIdentifier$1("not")) {
  62710. _this.expectWhitespace$0();
  62711. t1._contents += "not ";
  62712. _this._mediaOrInterp$1(buffer);
  62713. return;
  62714. }
  62715. _this._stylesheet$_mediaLogicSequence$2(buffer, _s3_);
  62716. return;
  62717. },
  62718. _stylesheet$_mediaLogicSequence$2(buffer, operator) {
  62719. var t1, t2, _this = this;
  62720. for (t1 = buffer._interpolation_buffer$_text; true;) {
  62721. _this._mediaOrInterp$1(buffer);
  62722. _this.whitespace$1$consumeNewlines(false);
  62723. if (!_this.scanIdentifier$1(operator))
  62724. return;
  62725. _this.expectWhitespace$1$consumeNewlines(false);
  62726. t2 = A.Primitives_stringFromCharCode(32);
  62727. t1._contents = (t1._contents += t2) + operator;
  62728. t2 = A.Primitives_stringFromCharCode(32);
  62729. t1._contents += t2;
  62730. }
  62731. },
  62732. _mediaOrInterp$1(buffer) {
  62733. var _0_0;
  62734. if (this.scanner.peekChar$0() === 35) {
  62735. _0_0 = this.singleInterpolation$0();
  62736. buffer.add$2(0, _0_0._0, _0_0._1);
  62737. } else
  62738. this._stylesheet$_mediaInParens$1(buffer);
  62739. },
  62740. _stylesheet$_mediaInParens$1(buffer) {
  62741. var t2, t3, expressionBefore, expressionAfter, next, t4, expressionMiddle, _this = this,
  62742. t1 = _this.scanner;
  62743. t1.expectChar$2$name(40, "media condition in parentheses");
  62744. t2 = buffer._interpolation_buffer$_text;
  62745. t3 = A.Primitives_stringFromCharCode(40);
  62746. t2._contents += t3;
  62747. _this.whitespace$1$consumeNewlines(true);
  62748. if (t1.peekChar$0() === 40) {
  62749. _this._stylesheet$_mediaInParens$1(buffer);
  62750. _this.whitespace$1$consumeNewlines(true);
  62751. if (_this.scanIdentifier$1("and")) {
  62752. t2._contents += " and ";
  62753. _this.expectWhitespace$1$consumeNewlines(true);
  62754. _this._stylesheet$_mediaLogicSequence$2(buffer, "and");
  62755. } else if (_this.scanIdentifier$1("or")) {
  62756. t2._contents += " or ";
  62757. _this.expectWhitespace$1$consumeNewlines(true);
  62758. _this._stylesheet$_mediaLogicSequence$2(buffer, "or");
  62759. }
  62760. } else if (_this.scanIdentifier$1("not")) {
  62761. t2._contents += "not ";
  62762. _this.expectWhitespace$1$consumeNewlines(true);
  62763. _this._mediaOrInterp$1(buffer);
  62764. } else {
  62765. expressionBefore = _this._expressionUntilComparison$0();
  62766. buffer.add$2(0, expressionBefore, expressionBefore.get$span(expressionBefore));
  62767. if (t1.scanChar$1(58)) {
  62768. _this.whitespace$1$consumeNewlines(true);
  62769. t3 = A.Primitives_stringFromCharCode(58);
  62770. t2._contents += t3;
  62771. t3 = A.Primitives_stringFromCharCode(32);
  62772. t2._contents += t3;
  62773. expressionAfter = _this._expression$1$consumeNewlines(true);
  62774. buffer.add$2(0, expressionAfter, expressionAfter.get$span(expressionAfter));
  62775. } else {
  62776. next = t1.peekChar$0();
  62777. t3 = 60 !== next;
  62778. if (!t3 || 62 === next || 61 === next) {
  62779. t4 = A.Primitives_stringFromCharCode(32);
  62780. t2._contents += t4;
  62781. t4 = A.Primitives_stringFromCharCode(t1.readChar$0());
  62782. t2._contents += t4;
  62783. if ((!t3 || 62 === next) && t1.scanChar$1(61)) {
  62784. t4 = A.Primitives_stringFromCharCode(61);
  62785. t2._contents += t4;
  62786. }
  62787. t4 = A.Primitives_stringFromCharCode(32);
  62788. t2._contents += t4;
  62789. _this.whitespace$1$consumeNewlines(true);
  62790. expressionMiddle = _this._expressionUntilComparison$0();
  62791. buffer.add$2(0, expressionMiddle, expressionMiddle.get$span(expressionMiddle));
  62792. if (!t3 || 62 === next) {
  62793. next.toString;
  62794. t3 = t1.scanChar$1(next);
  62795. } else
  62796. t3 = false;
  62797. if (t3) {
  62798. t3 = A.Primitives_stringFromCharCode(32);
  62799. t2._contents += t3;
  62800. t3 = A.Primitives_stringFromCharCode(next);
  62801. t2._contents += t3;
  62802. if (t1.scanChar$1(61)) {
  62803. t3 = A.Primitives_stringFromCharCode(61);
  62804. t2._contents += t3;
  62805. }
  62806. t3 = A.Primitives_stringFromCharCode(32);
  62807. t2._contents += t3;
  62808. _this.whitespace$1$consumeNewlines(true);
  62809. expressionAfter = _this._expressionUntilComparison$0();
  62810. buffer.add$2(0, expressionAfter, expressionAfter.get$span(expressionAfter));
  62811. }
  62812. }
  62813. }
  62814. }
  62815. t1.expectChar$1(41);
  62816. _this.whitespace$1$consumeNewlines(false);
  62817. t1 = A.Primitives_stringFromCharCode(41);
  62818. t2._contents += t1;
  62819. },
  62820. _expressionUntilComparison$0() {
  62821. return this._expression$2$consumeNewlines$until(true, new A.StylesheetParser__expressionUntilComparison_closure(this));
  62822. },
  62823. _supportsCondition$1$inParentheses(inParentheses) {
  62824. var condition, operator, right, endPosition, t3, t4, lowerOperator, _this = this,
  62825. t1 = _this.scanner,
  62826. t2 = t1._string_scanner$_position;
  62827. if (_this.scanIdentifier$1("not")) {
  62828. _this.whitespace$1$consumeNewlines(inParentheses);
  62829. return new A.SupportsNegation(_this._supportsConditionInParens$0(), t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
  62830. }
  62831. condition = _this._supportsConditionInParens$0();
  62832. _this.whitespace$1$consumeNewlines(inParentheses);
  62833. for (operator = null; _this.lookingAtIdentifier$0();) {
  62834. if (operator != null)
  62835. _this.expectIdentifier$1(operator);
  62836. else if (_this.scanIdentifier$1("or"))
  62837. operator = "or";
  62838. else {
  62839. _this.expectIdentifier$1("and");
  62840. operator = "and";
  62841. }
  62842. _this.whitespace$1$consumeNewlines(inParentheses);
  62843. right = _this._supportsConditionInParens$0();
  62844. endPosition = t1._string_scanner$_position;
  62845. t3 = t1._sourceFile;
  62846. t4 = new A._FileSpan(t3, t2, endPosition);
  62847. t4._FileSpan$3(t3, t2, endPosition);
  62848. condition = new A.SupportsOperation(condition, right, operator, t4);
  62849. lowerOperator = operator.toLowerCase();
  62850. if (lowerOperator !== "and" && lowerOperator !== "or")
  62851. A.throwExpression(A.ArgumentError$value(operator, "operator", 'may only be "and" or "or".'));
  62852. _this.whitespace$1$consumeNewlines(inParentheses);
  62853. }
  62854. return condition;
  62855. },
  62856. _supportsCondition$0() {
  62857. return this._supportsCondition$1$inParentheses(false);
  62858. },
  62859. _supportsConditionInParens$0() {
  62860. 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,
  62861. t1 = _this.scanner,
  62862. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  62863. if (_this._lookingAtInterpolatedIdentifier$0()) {
  62864. identifier0 = _this.interpolatedIdentifier$0();
  62865. t2 = identifier0.get$asPlain();
  62866. if ((t2 == null ? null : t2.toLowerCase()) === "not")
  62867. _this.error$2(0, '"not" is not a valid identifier here.', identifier0.span);
  62868. if (t1.scanChar$1(40)) {
  62869. $arguments = _this._interpolatedDeclarationValue$3$allowEmpty$allowSemicolon$consumeNewlines(true, true, true);
  62870. t1.expectChar$1(41);
  62871. return new A.SupportsFunction(identifier0, $arguments, t1.spanFrom$1(start));
  62872. } else {
  62873. _0_0 = identifier0.contents;
  62874. _0_4_isSet = _0_0.length === 1;
  62875. if (_0_4_isSet) {
  62876. _0_4 = _0_0[0];
  62877. _0_40 = _0_4;
  62878. t2 = _0_4 instanceof A.Expression;
  62879. _0_4 = _0_40;
  62880. } else {
  62881. _0_4 = null;
  62882. t2 = false;
  62883. }
  62884. if (t2) {
  62885. t2 = _0_4_isSet ? _0_4 : _0_0[0];
  62886. return new A.SupportsInterpolation(type$.Expression._as(t2), t1.spanFrom$1(start));
  62887. } else
  62888. _this.error$2(0, "Expected @supports condition.", identifier0.span);
  62889. }
  62890. }
  62891. t1.expectChar$1(40);
  62892. _this.whitespace$1$consumeNewlines(true);
  62893. if (_this.scanIdentifier$1("not")) {
  62894. _this.whitespace$1$consumeNewlines(true);
  62895. condition = _this._supportsConditionInParens$0();
  62896. t1.expectChar$1(41);
  62897. return new A.SupportsNegation(condition, t1.spanFrom$1(start));
  62898. } else if (t1.peekChar$0() === 40) {
  62899. condition = _this._supportsCondition$1$inParentheses(true);
  62900. t1.expectChar$1(41);
  62901. return condition.withSpan$1(t1.spanFrom$1(start));
  62902. }
  62903. $name = null;
  62904. nameStart = new A._SpanScannerState(t1, t1._string_scanner$_position);
  62905. wasInParentheses = _this._inParentheses;
  62906. try {
  62907. $name = _this._expression$1$consumeNewlines(true);
  62908. t1.expectChar$1(58);
  62909. } catch (exception) {
  62910. if (type$.FormatException._is(A.unwrapException(exception))) {
  62911. t1.set$state(nameStart);
  62912. _this._inParentheses = wasInParentheses;
  62913. identifier = _this.interpolatedIdentifier$0();
  62914. _1_0 = _this._trySupportsOperation$2(identifier, nameStart);
  62915. operation = null;
  62916. if (_1_0 != null) {
  62917. operation = _1_0;
  62918. t1.expectChar$1(41);
  62919. t2 = operation;
  62920. t1 = t1.spanFrom$1(start);
  62921. return A.SupportsOperation$(t2.left, t2.right, t2.operator, t1);
  62922. }
  62923. t2 = new A.InterpolationBuffer(new A.StringBuffer(""), A._setArrayType([], type$.JSArray_Object), A._setArrayType([], type$.JSArray_nullable_FileSpan));
  62924. t2.addInterpolation$1(identifier);
  62925. t2.addInterpolation$1(_this._interpolatedDeclarationValue$4$allowColon$allowEmpty$allowSemicolon$consumeNewlines(false, true, true, true));
  62926. contents = t2.interpolation$1(t1.spanFrom$1(nameStart));
  62927. if (t1.peekChar$0() === 58)
  62928. throw exception;
  62929. t1.expectChar$1(41);
  62930. return new A.SupportsAnything(contents, t1.spanFrom$1(start));
  62931. } else
  62932. throw exception;
  62933. }
  62934. value = _this._supportsDeclarationValue$1($name);
  62935. t1.expectChar$1(41);
  62936. return new A.SupportsDeclaration($name, value, t1.spanFrom$1(start));
  62937. },
  62938. _supportsDeclarationValue$1($name) {
  62939. var t1 = false;
  62940. if ($name instanceof A.StringExpression)
  62941. if (!$name.hasQuotes)
  62942. t1 = B.JSString_methods.startsWith$1($name.text.get$initialPlain(), "--");
  62943. if (t1)
  62944. return new A.StringExpression(this._interpolatedDeclarationValue$0(), false);
  62945. else {
  62946. this.whitespace$1$consumeNewlines(true);
  62947. return this._expression$1$consumeNewlines(true);
  62948. }
  62949. },
  62950. _trySupportsOperation$2(interpolation, start) {
  62951. var expression, beforeWhitespace, t2, t3, operator, operation, right, t4, endPosition, t5, t6, lowerOperator, _this = this, _null = null,
  62952. t1 = interpolation.contents;
  62953. if (t1.length !== 1)
  62954. return _null;
  62955. expression = B.JSArray_methods.get$first(t1);
  62956. if (!(expression instanceof A.Expression))
  62957. return _null;
  62958. t1 = _this.scanner;
  62959. beforeWhitespace = new A._SpanScannerState(t1, t1._string_scanner$_position);
  62960. _this.whitespace$1$consumeNewlines(true);
  62961. for (t2 = start.position, t3 = interpolation.span, operator = _null, operation = operator; _this.lookingAtIdentifier$0();) {
  62962. if (operator != null)
  62963. _this.expectIdentifier$1(operator);
  62964. else if (_this.scanIdentifier$1("and"))
  62965. operator = "and";
  62966. else {
  62967. if (!_this.scanIdentifier$1("or")) {
  62968. if (beforeWhitespace._scanner !== t1)
  62969. A.throwExpression(A.ArgumentError$(string$.The_gi, _null));
  62970. t2 = beforeWhitespace.position;
  62971. if ((t2 === 0 ? 1 / t2 < 0 : t2 < 0) || t2 > t1.string.length)
  62972. A.throwExpression(A.ArgumentError$("Invalid position " + t2, _null));
  62973. t1._string_scanner$_position = t2;
  62974. return t1._lastMatch = null;
  62975. }
  62976. operator = "or";
  62977. }
  62978. _this.whitespace$1$consumeNewlines(true);
  62979. right = _this._supportsConditionInParens$0();
  62980. t4 = operation == null ? new A.SupportsInterpolation(expression, t3) : operation;
  62981. endPosition = t1._string_scanner$_position;
  62982. t5 = t1._sourceFile;
  62983. t6 = new A._FileSpan(t5, t2, endPosition);
  62984. t6._FileSpan$3(t5, t2, endPosition);
  62985. operation = new A.SupportsOperation(t4, right, operator, t6);
  62986. lowerOperator = operator.toLowerCase();
  62987. if (lowerOperator !== "and" && lowerOperator !== "or")
  62988. A.throwExpression(A.ArgumentError$value(operator, "operator", 'may only be "and" or "or".'));
  62989. _this.whitespace$1$consumeNewlines(true);
  62990. }
  62991. return operation;
  62992. },
  62993. _lookingAtInterpolatedIdentifier$0() {
  62994. var t2, _0_0,
  62995. t1 = this.scanner,
  62996. _1_0 = t1.peekChar$0();
  62997. $label0$0: {
  62998. t2 = false;
  62999. if (_1_0 == null) {
  63000. t1 = t2;
  63001. break $label0$0;
  63002. }
  63003. if (_1_0 === 95 || A.CharacterExtension_get_isAlphabetic(_1_0) || _1_0 >= 128 || 92 === _1_0) {
  63004. t1 = true;
  63005. break $label0$0;
  63006. }
  63007. if (35 === _1_0) {
  63008. t1 = t1.peekChar$1(1) === 123;
  63009. break $label0$0;
  63010. }
  63011. if (45 === _1_0) {
  63012. _0_0 = t1.peekChar$1(1);
  63013. $label1$1: {
  63014. if (_0_0 == null) {
  63015. t1 = t2;
  63016. break $label1$1;
  63017. }
  63018. if (35 === _0_0) {
  63019. t1 = t1.peekChar$1(2) === 123;
  63020. break $label1$1;
  63021. }
  63022. if (_0_0 === 95 || A.CharacterExtension_get_isAlphabetic(_0_0) || _0_0 >= 128 || 92 === _0_0 || 45 === _0_0) {
  63023. t1 = true;
  63024. break $label1$1;
  63025. }
  63026. t1 = t2;
  63027. break $label1$1;
  63028. }
  63029. break $label0$0;
  63030. }
  63031. t1 = t2;
  63032. break $label0$0;
  63033. }
  63034. return t1;
  63035. },
  63036. _lookingAtPotentialPropertyHack$0() {
  63037. var t1 = this.scanner,
  63038. _0_0 = t1.peekChar$0();
  63039. $label0$0: {
  63040. if (58 === _0_0 || 42 === _0_0 || 46 === _0_0) {
  63041. t1 = true;
  63042. break $label0$0;
  63043. }
  63044. if (35 === _0_0) {
  63045. t1 = t1.peekChar$1(1) !== 123;
  63046. break $label0$0;
  63047. }
  63048. t1 = false;
  63049. break $label0$0;
  63050. }
  63051. return t1;
  63052. },
  63053. _lookingAtInterpolatedIdentifierBody$0() {
  63054. var t2, t3,
  63055. t1 = this.scanner,
  63056. _0_0 = t1.peekChar$0();
  63057. $label0$0: {
  63058. t2 = false;
  63059. if (_0_0 == null) {
  63060. t1 = t2;
  63061. break $label0$0;
  63062. }
  63063. if (!(_0_0 === 95 || A.CharacterExtension_get_isAlphabetic(_0_0) || _0_0 >= 128))
  63064. t3 = _0_0 >= 48 && _0_0 <= 57 || _0_0 === 45;
  63065. else
  63066. t3 = true;
  63067. if (t3 || 92 === _0_0) {
  63068. t1 = true;
  63069. break $label0$0;
  63070. }
  63071. if (35 === _0_0) {
  63072. t1 = t1.peekChar$1(1) === 123;
  63073. break $label0$0;
  63074. }
  63075. t1 = t2;
  63076. break $label0$0;
  63077. }
  63078. return t1;
  63079. },
  63080. _lookingAtExpression$0() {
  63081. var t2, _0_0,
  63082. t1 = this.scanner,
  63083. _1_0 = t1.peekChar$0();
  63084. $label0$0: {
  63085. t2 = true;
  63086. if (_1_0 == null) {
  63087. t1 = false;
  63088. break $label0$0;
  63089. }
  63090. if (46 === _1_0) {
  63091. t1 = t1.peekChar$1(1) !== 46;
  63092. break $label0$0;
  63093. }
  63094. if (33 === _1_0) {
  63095. _0_0 = t1.peekChar$1(1);
  63096. $label1$1: {
  63097. if (_0_0 != null)
  63098. if (105 !== _0_0)
  63099. if (73 !== _0_0)
  63100. t1 = _0_0 === 32 || _0_0 === 9 || _0_0 === 10 || _0_0 === 13 || _0_0 === 12;
  63101. else
  63102. t1 = t2;
  63103. else
  63104. t1 = t2;
  63105. else
  63106. t1 = t2;
  63107. break $label1$1;
  63108. }
  63109. break $label0$0;
  63110. }
  63111. t1 = true;
  63112. if (40 !== _1_0)
  63113. if (47 !== _1_0)
  63114. if (91 !== _1_0)
  63115. if (39 !== _1_0)
  63116. if (34 !== _1_0)
  63117. if (35 !== _1_0)
  63118. if (43 !== _1_0)
  63119. if (45 !== _1_0)
  63120. if (92 !== _1_0)
  63121. if (36 !== _1_0)
  63122. if (38 !== _1_0)
  63123. if (37 !== _1_0)
  63124. if (!(_1_0 === 95 || A.CharacterExtension_get_isAlphabetic(_1_0) || _1_0 >= 128))
  63125. t1 = _1_0 >= 48 && _1_0 <= 57;
  63126. if (t1) {
  63127. t1 = t2;
  63128. break $label0$0;
  63129. }
  63130. t1 = false;
  63131. break $label0$0;
  63132. }
  63133. return t1;
  63134. },
  63135. _withChildren$1$3(child, start, create) {
  63136. var result = create.call$2(this.children$1(0, child), this.scanner.spanFrom$1(start));
  63137. this.whitespaceWithoutComments$1$consumeNewlines(false);
  63138. return result;
  63139. },
  63140. _withChildren$3(child, start, create) {
  63141. child.toString;
  63142. create.toString;
  63143. return this._withChildren$1$3(child, start, create, type$.dynamic);
  63144. },
  63145. _urlString$0() {
  63146. var innerError, stackTrace, t2, exception,
  63147. t1 = this.scanner,
  63148. start = new A._SpanScannerState(t1, t1._string_scanner$_position),
  63149. url = this.string$0();
  63150. try {
  63151. t2 = A.Uri_parse(url);
  63152. return t2;
  63153. } catch (exception) {
  63154. t2 = A.unwrapException(exception);
  63155. if (type$.FormatException._is(t2)) {
  63156. innerError = t2;
  63157. stackTrace = A.getTraceFromException(exception);
  63158. this.error$3(0, "Invalid URL: " + J.get$message$x(innerError), t1.spanFrom$1(start), stackTrace);
  63159. } else
  63160. throw exception;
  63161. }
  63162. },
  63163. _publicIdentifier$0() {
  63164. var _this = this,
  63165. t1 = _this.scanner,
  63166. t2 = t1._string_scanner$_position,
  63167. result = _this.identifier$0();
  63168. _this._assertPublic$2(result, new A.StylesheetParser__publicIdentifier_closure(_this, new A._SpanScannerState(t1, t2)));
  63169. return result;
  63170. },
  63171. _assertPublic$2(identifier, span) {
  63172. var first = identifier.charCodeAt(0);
  63173. if (!(first === 45 || first === 95))
  63174. return;
  63175. this.error$2(0, string$.Privat, span.call$0());
  63176. },
  63177. _addOrInject$2(buffer, expression) {
  63178. if (expression instanceof A.StringExpression && !expression.hasQuotes)
  63179. buffer.addInterpolation$1(expression.text);
  63180. else
  63181. buffer.add$2(0, expression, expression.get$span(expression));
  63182. },
  63183. get$plainCss() {
  63184. return false;
  63185. }
  63186. };
  63187. A.StylesheetParser_parse_closure.prototype = {
  63188. call$0() {
  63189. var statements,
  63190. t1 = this.$this,
  63191. t2 = t1.scanner,
  63192. t3 = t2._string_scanner$_position;
  63193. t2.scanChar$1(65279);
  63194. statements = t1.statements$1(new A.StylesheetParser_parse__closure(t1));
  63195. t2.expectDone$0();
  63196. return A.Stylesheet$internal(statements, t2.spanFrom$1(new A._SpanScannerState(t2, t3)), t1.warnings, t1._globalVariables, t1.get$plainCss());
  63197. },
  63198. $signature: 538
  63199. };
  63200. A.StylesheetParser_parse__closure.prototype = {
  63201. call$0() {
  63202. var t1 = this.$this;
  63203. if (t1.scanner.scan$1("@charset")) {
  63204. t1.whitespace$1$consumeNewlines(false);
  63205. t1.string$0();
  63206. return null;
  63207. }
  63208. return t1._statement$1$root(true);
  63209. },
  63210. $signature: 539
  63211. };
  63212. A.StylesheetParser_parseParameterList_closure.prototype = {
  63213. call$0() {
  63214. var parameters,
  63215. t1 = this.$this,
  63216. t2 = t1.scanner;
  63217. t2.expectChar$2$name(64, "@-rule");
  63218. t1.identifier$0();
  63219. t1.whitespace$1$consumeNewlines(true);
  63220. t1.identifier$0();
  63221. parameters = t1._parameterList$0();
  63222. t1.whitespace$1$consumeNewlines(true);
  63223. t2.expectChar$1(123);
  63224. return parameters;
  63225. },
  63226. $signature: 540
  63227. };
  63228. A.StylesheetParser_parseVariableDeclaration_closure.prototype = {
  63229. call$0() {
  63230. var t1 = this.$this;
  63231. return t1.lookingAtIdentifier$0() ? t1._variableDeclarationWithNamespace$0() : t1.variableDeclarationWithoutNamespace$0();
  63232. },
  63233. $signature: 542
  63234. };
  63235. A.StylesheetParser_parseUseRule_closure.prototype = {
  63236. call$0() {
  63237. var t1 = this.$this,
  63238. t2 = t1.scanner,
  63239. t3 = t2._string_scanner$_position;
  63240. t2.expectChar$2$name(64, "@-rule");
  63241. t1.expectIdentifier$1("use");
  63242. t1.whitespace$1$consumeNewlines(true);
  63243. return t1._useRule$1(new A._SpanScannerState(t2, t3));
  63244. },
  63245. $signature: 565
  63246. };
  63247. A.StylesheetParser__parseSingleProduction_closure.prototype = {
  63248. call$0() {
  63249. var result = this.production.call$0();
  63250. this.$this.scanner.expectDone$0();
  63251. return result;
  63252. },
  63253. $signature() {
  63254. return this.T._eval$1("0()");
  63255. }
  63256. };
  63257. A.StylesheetParser__statement_closure.prototype = {
  63258. call$0() {
  63259. return this.$this._statement$0();
  63260. },
  63261. $signature: 125
  63262. };
  63263. A.StylesheetParser_variableDeclarationWithoutNamespace_closure.prototype = {
  63264. call$0() {
  63265. return this.$this.scanner.spanFrom$1(this.start);
  63266. },
  63267. $signature: 28
  63268. };
  63269. A.StylesheetParser_variableDeclarationWithoutNamespace_closure0.prototype = {
  63270. call$0() {
  63271. return this.declaration.span;
  63272. },
  63273. $signature: 28
  63274. };
  63275. A.StylesheetParser__declarationOrBuffer_closure.prototype = {
  63276. call$0() {
  63277. return this.$this.whitespace$1$consumeNewlines(false);
  63278. },
  63279. $signature: 0
  63280. };
  63281. A.StylesheetParser__declarationOrBuffer_closure0.prototype = {
  63282. call$0() {
  63283. return this.$this.whitespace$1$consumeNewlines(false);
  63284. },
  63285. $signature: 0
  63286. };
  63287. A.StylesheetParser__declarationOrBuffer_closure1.prototype = {
  63288. call$0() {
  63289. return this.$this.whitespace$1$consumeNewlines(false);
  63290. },
  63291. $signature: 0
  63292. };
  63293. A.StylesheetParser__styleRule_closure.prototype = {
  63294. call$2(children, span) {
  63295. var _this = this,
  63296. t1 = _this.$this;
  63297. if (t1.get$indented() && children.length === 0)
  63298. t1.warnings.push(new A._Record_3_deprecation_message_span(null, string$.This_s, _this._box_0.interpolation.span));
  63299. t1._inStyleRule = _this.wasInStyleRule;
  63300. return A.StyleRule$(_this._box_0.interpolation, children, t1.scanner.spanFrom$1(_this.start));
  63301. },
  63302. $signature: 604
  63303. };
  63304. A.StylesheetParser__propertyOrVariableDeclaration_closure.prototype = {
  63305. call$0() {
  63306. return this.$this.whitespace$1$consumeNewlines(false);
  63307. },
  63308. $signature: 0
  63309. };
  63310. A.StylesheetParser__tryDeclarationChildren_closure.prototype = {
  63311. call$2(children, span) {
  63312. return A.Declaration$nested(this.name, children, span, this.value);
  63313. },
  63314. $signature: 274
  63315. };
  63316. A.StylesheetParser__atRootRule_closure.prototype = {
  63317. call$2(children, span) {
  63318. return A.AtRootRule$(children, span, this.query);
  63319. },
  63320. $signature: 160
  63321. };
  63322. A.StylesheetParser__atRootRule_closure0.prototype = {
  63323. call$2(children, span) {
  63324. return A.AtRootRule$(children, span, null);
  63325. },
  63326. $signature: 160
  63327. };
  63328. A.StylesheetParser__eachRule_closure.prototype = {
  63329. call$2(children, span) {
  63330. var _this = this;
  63331. _this.$this._inControlDirective = _this.wasInControlDirective;
  63332. return A.EachRule$(_this.variables, _this.list, children, span);
  63333. },
  63334. $signature: 293
  63335. };
  63336. A.StylesheetParser__functionRule_closure.prototype = {
  63337. call$2(children, span) {
  63338. return A.FunctionRule$(this.name, this.parameters, children, span, this.precedingComment);
  63339. },
  63340. $signature: 295
  63341. };
  63342. A.StylesheetParser__forRule_closure.prototype = {
  63343. call$0() {
  63344. var t1 = this.$this;
  63345. if (!t1.lookingAtIdentifier$0())
  63346. return false;
  63347. if (t1.scanIdentifier$1("to"))
  63348. return this._box_0.exclusive = true;
  63349. else if (t1.scanIdentifier$1("through")) {
  63350. this._box_0.exclusive = false;
  63351. return true;
  63352. } else
  63353. return false;
  63354. },
  63355. $signature: 20
  63356. };
  63357. A.StylesheetParser__forRule_closure0.prototype = {
  63358. call$2(children, span) {
  63359. var t1, _this = this;
  63360. _this.$this._inControlDirective = _this.wasInControlDirective;
  63361. t1 = _this._box_0.exclusive;
  63362. t1.toString;
  63363. return A.ForRule$(_this.variable, _this.from, _this.to, children, span, t1);
  63364. },
  63365. $signature: 296
  63366. };
  63367. A.StylesheetParser__memberList_closure.prototype = {
  63368. call$0() {
  63369. var t1 = this.$this;
  63370. if (t1.scanner.peekChar$0() === 36)
  63371. this.variables.add$1(0, t1.variableName$0());
  63372. else
  63373. this.identifiers.add$1(0, t1.identifier$1$normalize(true));
  63374. },
  63375. $signature: 1
  63376. };
  63377. A.StylesheetParser__includeRule_closure.prototype = {
  63378. call$2(children, span) {
  63379. return A.ContentBlock$(this.contentParameters_, children, span);
  63380. },
  63381. $signature: 298
  63382. };
  63383. A.StylesheetParser_mediaRule_closure.prototype = {
  63384. call$2(children, span) {
  63385. return A.MediaRule$(this.query, children, span);
  63386. },
  63387. $signature: 299
  63388. };
  63389. A.StylesheetParser__mixinRule_closure.prototype = {
  63390. call$2(children, span) {
  63391. var _this = this;
  63392. _this.$this._stylesheet$_inMixin = false;
  63393. return A.MixinRule$(_this.name, _this.parameters, children, span, _this.precedingComment);
  63394. },
  63395. $signature: 301
  63396. };
  63397. A.StylesheetParser_mozDocumentRule_closure.prototype = {
  63398. call$0() {
  63399. return this.$this.whitespace$1$consumeNewlines(false);
  63400. },
  63401. $signature: 0
  63402. };
  63403. A.StylesheetParser_mozDocumentRule_closure0.prototype = {
  63404. call$2(children, span) {
  63405. var _this = this;
  63406. if (_this._box_0.needsDeprecationWarning)
  63407. _this.$this.warnings.push(new A._Record_3_deprecation_message_span(B.Deprecation_89v, string$.x40_moz_, span));
  63408. return A.AtRule$(_this.name, span, children, _this.value);
  63409. },
  63410. $signature: 161
  63411. };
  63412. A.StylesheetParser_supportsRule_closure.prototype = {
  63413. call$2(children, span) {
  63414. return A.SupportsRule$(this.condition, children, span);
  63415. },
  63416. $signature: 307
  63417. };
  63418. A.StylesheetParser__whileRule_closure.prototype = {
  63419. call$2(children, span) {
  63420. this.$this._inControlDirective = this.wasInControlDirective;
  63421. return A.WhileRule$(this.condition, children, span);
  63422. },
  63423. $signature: 312
  63424. };
  63425. A.StylesheetParser_unknownAtRule_closure.prototype = {
  63426. call$2(children, span) {
  63427. return A.AtRule$(this.name, span, children, this._box_0.value);
  63428. },
  63429. $signature: 161
  63430. };
  63431. A.StylesheetParser__expression_resetState.prototype = {
  63432. call$0() {
  63433. var t2,
  63434. t1 = this._box_0;
  63435. t1.operands_ = t1.operators_ = t1.spaceExpressions_ = t1.commaExpressions_ = null;
  63436. t2 = this.$this;
  63437. t2.scanner.set$state(this.start);
  63438. t1.allowSlash = true;
  63439. t1.singleExpression_ = t2._singleExpression$0();
  63440. },
  63441. $signature: 0
  63442. };
  63443. A.StylesheetParser__expression_resolveOneOperation.prototype = {
  63444. call$0() {
  63445. var t2, t3, t4, t5, t6, t7, _this = this,
  63446. t1 = _this._box_0,
  63447. operator = t1.operators_.pop(),
  63448. left = t1.operands_.pop(),
  63449. right = t1.singleExpression_;
  63450. if (right == null) {
  63451. t2 = _this.$this.scanner;
  63452. t3 = operator.operator.length;
  63453. t2.error$3$length$position(0, "Expected expression.", t3, t2._string_scanner$_position - t3);
  63454. }
  63455. if (t1.allowSlash) {
  63456. t2 = _this.$this;
  63457. t2 = !t2._inParentheses && operator === B.BinaryOperator_Mh5 && t2._isSlashOperand$1(left) && t2._isSlashOperand$1(right);
  63458. } else
  63459. t2 = false;
  63460. if (t2)
  63461. t1.singleExpression_ = new A.BinaryOperationExpression(B.BinaryOperator_Mh5, left, right, true);
  63462. else {
  63463. t1.singleExpression_ = new A.BinaryOperationExpression(operator, left, right, false);
  63464. t2 = t1.allowSlash = false;
  63465. if (B.BinaryOperator_Swh === operator || B.BinaryOperator_QG1 === operator) {
  63466. t3 = _this.$this;
  63467. t4 = t3.scanner.string;
  63468. t5 = right.get$span(right);
  63469. t5 = t5.get$start(t5);
  63470. t6 = right.get$span(right);
  63471. t7 = operator.operator;
  63472. if (B.JSString_methods.substring$2(t4, t5.offset - 1, t6.get$start(t6).offset) === t7) {
  63473. t2 = left.get$span(left);
  63474. t2 = t4.charCodeAt(t2.get$end(t2).offset);
  63475. t2 = t2 === 32 || t2 === 9 || t2 === 10 || t2 === 13 || t2 === 12;
  63476. }
  63477. if (t2) {
  63478. t2 = left.toString$0(0);
  63479. t4 = right.toString$0(0);
  63480. t5 = left.toString$0(0);
  63481. t6 = right.toString$0(0);
  63482. t1 = t1.singleExpression_;
  63483. 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)));
  63484. }
  63485. }
  63486. }
  63487. },
  63488. $signature: 0
  63489. };
  63490. A.StylesheetParser__expression_resolveOperations.prototype = {
  63491. call$0() {
  63492. var t1,
  63493. operators = this._box_0.operators_;
  63494. if (operators == null)
  63495. return;
  63496. for (t1 = this.resolveOneOperation; operators.length !== 0;)
  63497. t1.call$0();
  63498. },
  63499. $signature: 0
  63500. };
  63501. A.StylesheetParser__expression_addSingleExpression.prototype = {
  63502. call$1(expression) {
  63503. var t2, spaceExpressions, _this = this,
  63504. t1 = _this._box_0;
  63505. if (t1.singleExpression_ != null) {
  63506. t2 = _this.$this;
  63507. if (t2._inParentheses) {
  63508. t2._inParentheses = false;
  63509. if (t1.allowSlash) {
  63510. _this.resetState.call$0();
  63511. return;
  63512. }
  63513. }
  63514. spaceExpressions = t1.spaceExpressions_;
  63515. if (spaceExpressions == null)
  63516. spaceExpressions = t1.spaceExpressions_ = A._setArrayType([], type$.JSArray_Expression);
  63517. _this.resolveOperations.call$0();
  63518. t2 = t1.singleExpression_;
  63519. t2.toString;
  63520. spaceExpressions.push(t2);
  63521. t1.allowSlash = true;
  63522. }
  63523. t1.singleExpression_ = expression;
  63524. },
  63525. $signature: 313
  63526. };
  63527. A.StylesheetParser__expression_addOperator.prototype = {
  63528. call$1(operator) {
  63529. var t2, t3, operators, operands, t4, singleExpression, _this = this,
  63530. t1 = _this.$this;
  63531. if (t1.get$plainCss() && operator !== B.BinaryOperator_Kyq && operator !== B.BinaryOperator_Swh && operator !== B.BinaryOperator_QG1 && operator !== B.BinaryOperator_tht && operator !== B.BinaryOperator_Mh5) {
  63532. t2 = t1.scanner;
  63533. t3 = operator.operator.length;
  63534. t2.error$3$length$position(0, "Operators aren't allowed in plain CSS.", t3, t2._string_scanner$_position - t3);
  63535. }
  63536. t2 = _this._box_0;
  63537. t2.allowSlash = t2.allowSlash && operator === B.BinaryOperator_Mh5;
  63538. operators = t2.operators_;
  63539. if (operators == null)
  63540. operators = t2.operators_ = A._setArrayType([], type$.JSArray_BinaryOperator);
  63541. operands = t2.operands_;
  63542. if (operands == null)
  63543. operands = t2.operands_ = A._setArrayType([], type$.JSArray_Expression);
  63544. t3 = _this.resolveOneOperation;
  63545. t4 = operator.precedence;
  63546. while (true) {
  63547. if (!(operators.length !== 0 && B.JSArray_methods.get$last(operators).precedence >= t4))
  63548. break;
  63549. t3.call$0();
  63550. }
  63551. singleExpression = t2.singleExpression_;
  63552. if (singleExpression == null) {
  63553. t3 = t1.scanner;
  63554. t4 = operator.operator.length;
  63555. t3.error$3$length$position(0, "Expected expression.", t4, t3._string_scanner$_position - t4);
  63556. }
  63557. t1.whitespace$1$consumeNewlines(true);
  63558. if (operator === B.BinaryOperator_s7T && !t1._lookingAtExpression$0()) {
  63559. t1 = t1.scanner;
  63560. t1 = t1.spanFromPosition$1(t1._string_scanner$_position - 1);
  63561. _this.addSingleExpression.call$1(new A.StringExpression(new A.Interpolation(A.List_List$unmodifiable(["%"], type$.Object), B.List_null, t1), false));
  63562. } else {
  63563. operators.push(operator);
  63564. operands.push(singleExpression);
  63565. t2.singleExpression_ = t1._singleExpression$0();
  63566. }
  63567. },
  63568. $signature: 316
  63569. };
  63570. A.StylesheetParser__expression_resolveSpaceExpressions.prototype = {
  63571. call$0() {
  63572. var t1, spaceExpressions, singleExpression, t2;
  63573. this.resolveOperations.call$0();
  63574. t1 = this._box_0;
  63575. spaceExpressions = t1.spaceExpressions_;
  63576. if (spaceExpressions == null)
  63577. return;
  63578. singleExpression = t1.singleExpression_;
  63579. if (singleExpression == null)
  63580. this.$this.scanner.error$1(0, "Expected expression.");
  63581. spaceExpressions.push(singleExpression);
  63582. t2 = B.JSArray_methods.get$first(spaceExpressions);
  63583. t2 = t2.get$span(t2).expand$1(0, singleExpression.get$span(singleExpression));
  63584. t1.singleExpression_ = new A.ListExpression(A.List_List$unmodifiable(spaceExpressions, type$.Expression), B.ListSeparator_qSL, false, t2);
  63585. t1.spaceExpressions_ = null;
  63586. },
  63587. $signature: 0
  63588. };
  63589. A.StylesheetParser_expressionUntilComma_closure.prototype = {
  63590. call$0() {
  63591. return this.$this.scanner.peekChar$0() === 44;
  63592. },
  63593. $signature: 20
  63594. };
  63595. A.StylesheetParser__isHexColor_closure.prototype = {
  63596. call$1(char) {
  63597. return A.CharacterExtension_get_isHex(char);
  63598. },
  63599. $signature: 47
  63600. };
  63601. A.StylesheetParser__unicodeRange_closure.prototype = {
  63602. call$1(char) {
  63603. return char != null && A.CharacterExtension_get_isHex(char);
  63604. },
  63605. $signature: 30
  63606. };
  63607. A.StylesheetParser__unicodeRange_closure0.prototype = {
  63608. call$1(char) {
  63609. return char != null && A.CharacterExtension_get_isHex(char);
  63610. },
  63611. $signature: 30
  63612. };
  63613. A.StylesheetParser_namespacedExpression_closure.prototype = {
  63614. call$0() {
  63615. return this.$this.scanner.spanFrom$1(this.start);
  63616. },
  63617. $signature: 28
  63618. };
  63619. A.StylesheetParser_trySpecialFunction_closure.prototype = {
  63620. call$1(contents) {
  63621. return new A.StringExpression(contents, false);
  63622. },
  63623. $signature: 319
  63624. };
  63625. A.StylesheetParser__expressionUntilComparison_closure.prototype = {
  63626. call$0() {
  63627. var t1 = this.$this.scanner,
  63628. _0_0 = t1.peekChar$0();
  63629. $label0$0: {
  63630. if (61 === _0_0) {
  63631. t1 = t1.peekChar$1(1) !== 61;
  63632. break $label0$0;
  63633. }
  63634. if (60 === _0_0 || 62 === _0_0) {
  63635. t1 = true;
  63636. break $label0$0;
  63637. }
  63638. t1 = false;
  63639. break $label0$0;
  63640. }
  63641. return t1;
  63642. },
  63643. $signature: 20
  63644. };
  63645. A.StylesheetParser__publicIdentifier_closure.prototype = {
  63646. call$0() {
  63647. return this.$this.scanner.spanFrom$1(this.start);
  63648. },
  63649. $signature: 28
  63650. };
  63651. A.StylesheetGraph.prototype = {
  63652. modifiedSince$3(url, since, baseImporter) {
  63653. var node = this._stylesheet_graph$_add$3(url, baseImporter, null);
  63654. if (node == null)
  63655. return true;
  63656. return new A.StylesheetGraph_modifiedSince_transitiveModificationTime(this).call$1(node).isAfter$1(since);
  63657. },
  63658. _stylesheet_graph$_add$3(url, baseImporter, baseUrl) {
  63659. var importer, canonicalUrl, _this = this,
  63660. result = _this._ignoreErrors$1(new A.StylesheetGraph__add_closure(_this, url, baseImporter, baseUrl));
  63661. if (type$.Record_3_nullable_Object_and_nullable_Object_and_nullable_Object_originalUrl._is(result)) {
  63662. importer = result._0;
  63663. canonicalUrl = result._1;
  63664. _this.addCanonical$3(importer, canonicalUrl, result._2);
  63665. return _this._nodes.$index(0, canonicalUrl);
  63666. } else
  63667. return null;
  63668. },
  63669. addCanonical$4$recanonicalize(importer, canonicalUrl, originalUrl, recanonicalize) {
  63670. var stylesheet, _this = this,
  63671. t1 = _this._nodes;
  63672. if (t1.$index(0, canonicalUrl) != null)
  63673. return B.Set_empty4;
  63674. stylesheet = _this._ignoreErrors$1(new A.StylesheetGraph_addCanonical_closure(_this, importer, canonicalUrl, originalUrl));
  63675. if (stylesheet == null)
  63676. return B.Set_empty4;
  63677. t1.$indexSet(0, canonicalUrl, A.StylesheetNode$_(stylesheet, importer, canonicalUrl, _this._upstreamNodes$3(stylesheet, importer, canonicalUrl)));
  63678. return recanonicalize ? _this._recanonicalizeImports$2(importer, canonicalUrl) : B.Set_empty4;
  63679. },
  63680. addCanonical$3(importer, canonicalUrl, originalUrl) {
  63681. return this.addCanonical$4$recanonicalize(importer, canonicalUrl, originalUrl, true);
  63682. },
  63683. _upstreamNodes$3(stylesheet, baseImporter, baseUrl) {
  63684. var t6, t7, t8, t9, t10,
  63685. t1 = type$.Uri,
  63686. active = A.LinkedHashSet_LinkedHashSet$_literal([baseUrl], t1),
  63687. t2 = A.LinkedHashSet_LinkedHashSet$_empty(t1),
  63688. t3 = A.LinkedHashSet_LinkedHashSet$_empty(t1),
  63689. t4 = A.LinkedHashSet_LinkedHashSet$_empty(t1),
  63690. t5 = A.LinkedHashSet_LinkedHashSet$_empty(t1);
  63691. new A._FindDependenciesVisitor(t2, t3, t4, t5, A.LinkedHashSet_LinkedHashSet$_empty(type$.nullable_String)).visitChildren$1(stylesheet.children);
  63692. t6 = type$.UnmodifiableSetView_Uri;
  63693. t2 = new A.UnmodifiableSetView0(t2, t6);
  63694. t3 = new A.UnmodifiableSetView0(t3, t6);
  63695. t4 = new A.UnmodifiableSetView0(t4, t6);
  63696. t7 = type$.nullable_StylesheetNode;
  63697. t8 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t7);
  63698. 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();) {
  63699. t10 = t9.get$current(t9);
  63700. t8.$indexSet(0, t10, this._nodeFor$4(t10, baseImporter, baseUrl, active));
  63701. }
  63702. t1 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t7);
  63703. for (t2 = new A.DependencyReport(t2, t3, t4, new A.UnmodifiableSetView0(t5, t6)).imports._base.get$iterator(0); t2.moveNext$0();) {
  63704. t3 = t2.get$current(0);
  63705. t1.$indexSet(0, t3, this._nodeFor$5$forImport(t3, baseImporter, baseUrl, active, true));
  63706. }
  63707. return new A._Record_2_imports_modules(t1, t8);
  63708. },
  63709. reload$1(canonicalUrl) {
  63710. var stylesheet, upstream, _this = this,
  63711. node = _this._nodes.$index(0, canonicalUrl);
  63712. if (node == null)
  63713. throw A.wrapException(A.StateError$(canonicalUrl.toString$0(0) + " is not in the dependency graph."));
  63714. _this._transitiveModificationTimes.clear$0(0);
  63715. _this.importCache.clearImport$1(canonicalUrl);
  63716. stylesheet = _this._ignoreErrors$1(new A.StylesheetGraph_reload_closure(_this, node, canonicalUrl));
  63717. if (stylesheet == null)
  63718. return false;
  63719. node._stylesheet = stylesheet;
  63720. upstream = _this._upstreamNodes$3(stylesheet, node.importer, canonicalUrl);
  63721. node._replaceUpstream$2(upstream._1, upstream._0);
  63722. return true;
  63723. },
  63724. reloadAllModified$0() {
  63725. var node, modified, loadTime, t2, t3, _i, t4, t5, t6, t7, modified0, exception, _this = this,
  63726. t1 = _this._nodes;
  63727. t1 = A.List_List$_of(new A.LinkedHashMapValuesIterable(t1, A._instanceType(t1)._eval$1("LinkedHashMapValuesIterable<2>")), type$.StylesheetNode);
  63728. t2 = t1.length;
  63729. t3 = _this.importCache._loadTimes;
  63730. _i = 0;
  63731. for (; _i < t1.length; t1.length === t2 || (0, A.throwConcurrentModificationError)(t1), ++_i) {
  63732. node = t1[_i];
  63733. modified = false;
  63734. try {
  63735. loadTime = t3.$index(0, node.canonicalUrl);
  63736. if (loadTime != null) {
  63737. t4 = node.importer.modificationTime$1(node.canonicalUrl);
  63738. t5 = loadTime;
  63739. t6 = t4._value;
  63740. t7 = t5._value;
  63741. if (t6 <= t7) {
  63742. t4 = t6 === t7 && t4._microsecond > t5._microsecond;
  63743. modified0 = t4;
  63744. } else
  63745. modified0 = true;
  63746. } else
  63747. modified0 = false;
  63748. modified = modified0;
  63749. } catch (exception) {
  63750. if (A.unwrapException(exception) instanceof A.FileSystemException)
  63751. modified = true;
  63752. else
  63753. throw exception;
  63754. }
  63755. if (modified)
  63756. if (!_this.reload$1(node.canonicalUrl))
  63757. _this.remove$2(0, node.importer, node.canonicalUrl);
  63758. }
  63759. },
  63760. remove$2(_, importer, canonicalUrl) {
  63761. var toRecompile, _this = this,
  63762. node = _this._nodes.remove$1(0, canonicalUrl),
  63763. t1 = node != null;
  63764. if (t1) {
  63765. _this._transitiveModificationTimes.clear$0(0);
  63766. _this.importCache.clearImport$1(canonicalUrl);
  63767. node._stylesheet_graph$_remove$0();
  63768. }
  63769. toRecompile = _this._recanonicalizeImports$2(importer, canonicalUrl);
  63770. if (t1)
  63771. toRecompile.addAll$1(0, node._downstream);
  63772. return toRecompile;
  63773. },
  63774. _recanonicalizeImports$2(importer, canonicalUrl) {
  63775. var changed, t1, t2, t3, t4, t5, newUpstream, newUpstreamImports, _this = this;
  63776. _this.importCache.clearCanonicalize$1(canonicalUrl);
  63777. changed = A.LinkedHashSet_LinkedHashSet$_empty(type$.StylesheetNode);
  63778. 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();) {
  63779. t5 = t1.get$current(0);
  63780. newUpstream = _this._recanonicalizeImportsForNode$4$forImport(t5, importer, canonicalUrl, false);
  63781. newUpstreamImports = _this._recanonicalizeImportsForNode$4$forImport(t5, importer, canonicalUrl, true);
  63782. if (newUpstream.__js_helper$_length !== 0 || newUpstreamImports.__js_helper$_length !== 0) {
  63783. changed.add$1(0, t5);
  63784. 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));
  63785. }
  63786. }
  63787. if (changed._collection$_length !== 0)
  63788. _this._transitiveModificationTimes.clear$0(0);
  63789. return changed;
  63790. },
  63791. _recanonicalizeImportsForNode$4$forImport(node, importer, canonicalUrl, forImport) {
  63792. var url, result, t2, newMap, t3, t4, t5, t6, upstream, exception, newCanonicalUrl,
  63793. t1 = type$.UnmodifiableMapView_of_Uri_and_nullable_StylesheetNode,
  63794. map = forImport ? new A.UnmodifiableMapView(node._upstreamImports, t1) : new A.UnmodifiableMapView(node._upstream, t1);
  63795. t1 = type$.Uri;
  63796. t2 = type$.nullable_StylesheetNode;
  63797. newMap = A.LinkedHashMap_LinkedHashMap$_empty(t1, t2);
  63798. 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();) {
  63799. t6 = t1.get$current(t1);
  63800. url = null;
  63801. url = t6._0;
  63802. upstream = t6._1;
  63803. if (!importer.couldCanonicalize$2(url, canonicalUrl))
  63804. continue;
  63805. result = null;
  63806. try {
  63807. result = t3.canonicalize$4$baseImporter$baseUrl$forImport(0, url, t4, t5, forImport);
  63808. } catch (exception) {
  63809. }
  63810. t6 = result;
  63811. newCanonicalUrl = t6 == null ? null : t6._1;
  63812. if (J.$eq$(newCanonicalUrl, upstream == null ? null : upstream.canonicalUrl))
  63813. continue;
  63814. t6 = url;
  63815. newMap.$indexSet(0, t6, result == null ? null : t2.$index(0, newCanonicalUrl));
  63816. }
  63817. return newMap;
  63818. },
  63819. _nodeFor$5$forImport(url, baseImporter, baseUrl, active, forImport) {
  63820. var canonicalUrl, t2, _1_0, stylesheet, t3, t4, node, _this = this, t1 = {},
  63821. result = _this._ignoreErrors$1(new A.StylesheetGraph__nodeFor_closure(_this, url, baseImporter, baseUrl, forImport));
  63822. if (result == null)
  63823. return null;
  63824. t1.originalUrl = t1.canonicalUrl = t1.importer = null;
  63825. t1.importer = result._0;
  63826. canonicalUrl = t1.canonicalUrl = result._1;
  63827. t1.originalUrl = result._2;
  63828. t2 = _this._nodes;
  63829. _1_0 = t2.$index(0, canonicalUrl);
  63830. if (_1_0 != null)
  63831. return _1_0;
  63832. if (active.contains$1(0, canonicalUrl))
  63833. return null;
  63834. stylesheet = _this._ignoreErrors$1(new A.StylesheetGraph__nodeFor_closure0(t1, _this));
  63835. if (stylesheet == null)
  63836. return null;
  63837. active.add$1(0, t1.canonicalUrl);
  63838. t3 = t1.importer;
  63839. t4 = t1.canonicalUrl;
  63840. node = A.StylesheetNode$_(stylesheet, t3, t4, _this._upstreamNodes$3(stylesheet, t3, t4));
  63841. active.remove$1(0, t1.canonicalUrl);
  63842. t2.$indexSet(0, t1.canonicalUrl, node);
  63843. return node;
  63844. },
  63845. _nodeFor$4(url, baseImporter, baseUrl, active) {
  63846. return this._nodeFor$5$forImport(url, baseImporter, baseUrl, active, false);
  63847. },
  63848. _ignoreErrors$1$1(callback) {
  63849. var t1, exception;
  63850. try {
  63851. t1 = callback.call$0();
  63852. return t1;
  63853. } catch (exception) {
  63854. return null;
  63855. }
  63856. },
  63857. _ignoreErrors$1(callback) {
  63858. callback.toString;
  63859. return this._ignoreErrors$1$1(callback, type$.dynamic);
  63860. }
  63861. };
  63862. A.StylesheetGraph_modifiedSince_transitiveModificationTime.prototype = {
  63863. call$1(node) {
  63864. return this.$this._transitiveModificationTimes.putIfAbsent$2(node.canonicalUrl, new A.StylesheetGraph_modifiedSince_transitiveModificationTime_closure(node, this));
  63865. },
  63866. $signature: 320
  63867. };
  63868. A.StylesheetGraph_modifiedSince_transitiveModificationTime_closure.prototype = {
  63869. call$0() {
  63870. var t2, t3, upstreamTime, t4,
  63871. t1 = this.node,
  63872. latest = t1.importer.modificationTime$1(t1.canonicalUrl);
  63873. for (t1 = t1._upstream.get$values(0).followedBy$1(0, t1._upstreamImports.get$values(0)).get$iterator(0), t2 = this.transitiveModificationTime; t1.moveNext$0();) {
  63874. t3 = t1.get$current(0);
  63875. upstreamTime = t3 == null ? new A.DateTime(Date.now(), 0, false) : t2.call$1(t3);
  63876. t3 = upstreamTime._value;
  63877. t4 = latest._value;
  63878. if (t3 <= t4)
  63879. t3 = t3 === t4 && upstreamTime._microsecond > latest._microsecond;
  63880. else
  63881. t3 = true;
  63882. if (t3)
  63883. latest = upstreamTime;
  63884. }
  63885. return latest;
  63886. },
  63887. $signature: 155
  63888. };
  63889. A.StylesheetGraph__add_closure.prototype = {
  63890. call$0() {
  63891. var _this = this;
  63892. return _this.$this.importCache.canonicalize$3$baseImporter$baseUrl(0, _this.url, _this.baseImporter, _this.baseUrl);
  63893. },
  63894. $signature: 128
  63895. };
  63896. A.StylesheetGraph_addCanonical_closure.prototype = {
  63897. call$0() {
  63898. var _this = this;
  63899. return _this.$this.importCache.importCanonical$3$originalUrl(_this.importer, _this.canonicalUrl, _this.originalUrl);
  63900. },
  63901. $signature: 116
  63902. };
  63903. A.StylesheetGraph_reload_closure.prototype = {
  63904. call$0() {
  63905. return this.$this.importCache.importCanonical$2(this.node.importer, this.canonicalUrl);
  63906. },
  63907. $signature: 116
  63908. };
  63909. A.StylesheetGraph__nodeFor_closure.prototype = {
  63910. call$0() {
  63911. var _this = this;
  63912. return _this.$this.importCache.canonicalize$4$baseImporter$baseUrl$forImport(0, _this.url, _this.baseImporter, _this.baseUrl, _this.forImport);
  63913. },
  63914. $signature: 128
  63915. };
  63916. A.StylesheetGraph__nodeFor_closure0.prototype = {
  63917. call$0() {
  63918. var t1 = this._box_0;
  63919. return this.$this.importCache.importCanonical$3$originalUrl(t1.importer, t1.canonicalUrl, t1.originalUrl);
  63920. },
  63921. $signature: 116
  63922. };
  63923. A.StylesheetNode.prototype = {
  63924. StylesheetNode$_$4(_stylesheet, importer, canonicalUrl, allUpstream) {
  63925. var t1, t2;
  63926. for (t1 = this._upstream.get$values(0).followedBy$1(0, this._upstreamImports.get$values(0)).get$iterator(0); t1.moveNext$0();) {
  63927. t2 = t1.get$current(0);
  63928. if (t2 != null)
  63929. t2._downstream.add$1(0, this);
  63930. }
  63931. },
  63932. _replaceUpstream$2(newUpstream, newUpstreamImports) {
  63933. var t3, oldUpstream, newUpstreamSet, _this = this,
  63934. t1 = type$.nullable_StylesheetNode,
  63935. t2 = A.LinkedHashSet_LinkedHashSet$of(_this._upstream.get$values(0), t1);
  63936. t2.addAll$1(0, _this._upstreamImports.get$values(0));
  63937. t3 = type$.StylesheetNode;
  63938. oldUpstream = A.SetExtension_removeNull(t2, t3);
  63939. t1 = A.LinkedHashSet_LinkedHashSet$of(new A.LinkedHashMapValuesIterable(newUpstream, A._instanceType(newUpstream)._eval$1("LinkedHashMapValuesIterable<2>")), t1);
  63940. t1.addAll$1(0, new A.LinkedHashMapValuesIterable(newUpstreamImports, A._instanceType(newUpstreamImports)._eval$1("LinkedHashMapValuesIterable<2>")));
  63941. newUpstreamSet = A.SetExtension_removeNull(t1, t3);
  63942. for (t1 = oldUpstream.difference$1(newUpstreamSet), t1 = t1.get$iterator(t1); t1.moveNext$0();)
  63943. t1.get$current(t1)._downstream.remove$1(0, _this);
  63944. for (t1 = newUpstreamSet.difference$1(oldUpstream), t1 = t1.get$iterator(t1); t1.moveNext$0();)
  63945. t1.get$current(t1)._downstream.add$1(0, _this);
  63946. _this._upstream = newUpstream;
  63947. _this._upstreamImports = newUpstreamImports;
  63948. },
  63949. _stylesheet_graph$_remove$0() {
  63950. var t1, t2, t3, t4, _i, url, _this = this;
  63951. 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();) {
  63952. t3 = t1._collection$_current;
  63953. if (t3 == null)
  63954. t3 = t2._as(t3);
  63955. if (t3 == null)
  63956. continue;
  63957. t3._downstream.remove$1(0, _this);
  63958. }
  63959. for (t1 = _this._downstream.get$iterator(0); t1.moveNext$0();) {
  63960. t2 = t1.get$current(0);
  63961. t3 = t2._upstream;
  63962. t4 = A._instanceType(t3)._eval$1("LinkedHashMapKeysIterable<1>");
  63963. t3 = A.List_List$_of(new A.LinkedHashMapKeysIterable(t3, t4), t4._eval$1("Iterable.E"));
  63964. t4 = t3.length;
  63965. _i = 0;
  63966. for (; _i < t3.length; t3.length === t4 || (0, A.throwConcurrentModificationError)(t3), ++_i) {
  63967. url = t3[_i];
  63968. if (t2._upstream.$index(0, url) === _this) {
  63969. t2._upstream.$indexSet(0, url, null);
  63970. break;
  63971. }
  63972. }
  63973. t3 = t2._upstreamImports;
  63974. t4 = A._instanceType(t3)._eval$1("LinkedHashMapKeysIterable<1>");
  63975. t3 = A.List_List$_of(new A.LinkedHashMapKeysIterable(t3, t4), t4._eval$1("Iterable.E"));
  63976. t4 = t3.length;
  63977. _i = 0;
  63978. for (; _i < t3.length; t3.length === t4 || (0, A.throwConcurrentModificationError)(t3), ++_i) {
  63979. url = t3[_i];
  63980. if (t2._upstreamImports.$index(0, url) === _this) {
  63981. t2._upstreamImports.$indexSet(0, url, null);
  63982. break;
  63983. }
  63984. }
  63985. }
  63986. },
  63987. toString$0(_) {
  63988. var t1 = this._stylesheet.span;
  63989. t1 = A.NullableExtension_andThen(t1.get$sourceUrl(t1), A.path__prettyUri$closure());
  63990. return t1 == null ? "<unknown>" : t1;
  63991. }
  63992. };
  63993. A.Syntax.prototype = {
  63994. _enumToString$0() {
  63995. return "Syntax." + this._name;
  63996. },
  63997. toString$0(_) {
  63998. return this._syntax$_name;
  63999. }
  64000. };
  64001. A.Box.prototype = {
  64002. $eq(_, other) {
  64003. if (other == null)
  64004. return false;
  64005. return this.$ti._is(other) && other._box$_inner === this._box$_inner;
  64006. },
  64007. get$hashCode(_) {
  64008. return A.Primitives_objectHashCode(this._box$_inner);
  64009. }
  64010. };
  64011. A.ModifiableBox.prototype = {};
  64012. A.LazyFileSpan.prototype = {
  64013. get$span(_) {
  64014. var t1 = this._lazy_file_span$_span;
  64015. return t1 == null ? this._lazy_file_span$_span = this._builder.call$0() : t1;
  64016. },
  64017. compareTo$1(_, other) {
  64018. return this.get$span(0).compareTo$1(0, other);
  64019. },
  64020. get$context(_) {
  64021. var t1 = this.get$span(0);
  64022. return t1.get$context(t1);
  64023. },
  64024. get$end(_) {
  64025. var t1 = this.get$span(0);
  64026. return t1.get$end(t1);
  64027. },
  64028. expand$1(_, other) {
  64029. return this.get$span(0).expand$1(0, other);
  64030. },
  64031. get$file(_) {
  64032. var t1 = this.get$span(0);
  64033. return t1.get$file(t1);
  64034. },
  64035. highlight$1$color(color) {
  64036. return this.get$span(0).highlight$1$color(color);
  64037. },
  64038. get$length(_) {
  64039. var t1 = this.get$span(0);
  64040. return t1.get$length(t1);
  64041. },
  64042. message$2$color(_, message, color) {
  64043. return this.get$span(0).message$2$color(0, message, color);
  64044. },
  64045. message$1(_, message) {
  64046. return this.message$2$color(0, message, null);
  64047. },
  64048. get$sourceUrl(_) {
  64049. var t1 = this.get$span(0);
  64050. return t1.get$sourceUrl(t1);
  64051. },
  64052. get$start(_) {
  64053. var t1 = this.get$span(0);
  64054. return t1.get$start(t1);
  64055. },
  64056. get$text() {
  64057. return this.get$span(0).get$text();
  64058. },
  64059. $isComparable: 1,
  64060. $isFileSpan: 1,
  64061. $isSourceSpan: 1,
  64062. $isSourceSpanWithContext: 1
  64063. };
  64064. A.LimitedMapView.prototype = {
  64065. get$keys(_) {
  64066. return this._limited_map_view$_keys;
  64067. },
  64068. get$length(_) {
  64069. return this._limited_map_view$_keys._collection$_length;
  64070. },
  64071. get$isEmpty(_) {
  64072. return this._limited_map_view$_keys._collection$_length === 0;
  64073. },
  64074. get$isNotEmpty(_) {
  64075. return this._limited_map_view$_keys._collection$_length !== 0;
  64076. },
  64077. $index(_, key) {
  64078. return this._limited_map_view$_keys.contains$1(0, key) ? this._limited_map_view$_map.$index(0, key) : null;
  64079. },
  64080. containsKey$1(key) {
  64081. return this._limited_map_view$_keys.contains$1(0, key);
  64082. },
  64083. remove$1(_, key) {
  64084. return this._limited_map_view$_keys.contains$1(0, key) ? this._limited_map_view$_map.remove$1(0, key) : null;
  64085. }
  64086. };
  64087. A.MapExtensions_get_pairs_closure.prototype = {
  64088. call$1(e) {
  64089. return new A._Record_2(e.key, e.value);
  64090. },
  64091. $signature() {
  64092. return this.K._eval$1("@<0>")._bind$1(this.V)._eval$1("+(1,2)(MapEntry<1,2>)");
  64093. }
  64094. };
  64095. A.MergedMapView.prototype = {
  64096. get$keys(_) {
  64097. var t1 = this._mapsByKey;
  64098. return new A.LinkedHashMapKeysIterable(t1, A._instanceType(t1)._eval$1("LinkedHashMapKeysIterable<1>"));
  64099. },
  64100. get$length(_) {
  64101. return this._mapsByKey.__js_helper$_length;
  64102. },
  64103. get$isEmpty(_) {
  64104. return this._mapsByKey.__js_helper$_length === 0;
  64105. },
  64106. get$isNotEmpty(_) {
  64107. return this._mapsByKey.__js_helper$_length !== 0;
  64108. },
  64109. MergedMapView$1(maps, $K, $V) {
  64110. var t1, t2, _i, map, t3, t4;
  64111. for (t1 = maps.length, t2 = this._mapsByKey, _i = 0; _i < maps.length; maps.length === t1 || (0, A.throwConcurrentModificationError)(maps), ++_i) {
  64112. map = maps[_i];
  64113. if (map instanceof A.MergedMapView)
  64114. for (t3 = map._mapsByKey, t3 = new A.LinkedHashMapValueIterator(t3, t3._modifications, t3._first); t3.moveNext$0();) {
  64115. t4 = t3.__js_helper$_current;
  64116. A.setAll(t2, t4.get$keys(t4), t4);
  64117. }
  64118. else
  64119. A.setAll(t2, map.get$keys(map), map);
  64120. }
  64121. },
  64122. $index(_, key) {
  64123. var t1 = this._mapsByKey.$index(0, this.$ti._precomputed1._as(key));
  64124. return t1 == null ? null : t1.$index(0, key);
  64125. },
  64126. $indexSet(_, key, value) {
  64127. var _0_0 = this._mapsByKey.$index(0, key);
  64128. if (_0_0 != null)
  64129. _0_0.$indexSet(0, key, value);
  64130. else
  64131. throw A.wrapException(A.UnsupportedError$(string$.New_en));
  64132. },
  64133. remove$1(_, key) {
  64134. throw A.wrapException(A.UnsupportedError$(string$.Entrie));
  64135. },
  64136. containsKey$1(key) {
  64137. return this._mapsByKey.containsKey$1(key);
  64138. }
  64139. };
  64140. A.MultiDirWatcher.prototype = {
  64141. watch$1(_, directory) {
  64142. var t1, t2, t3, t4, isParentOfExistingDir, _i, t5, _0_1, t6, future, completer;
  64143. 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) {
  64144. t5 = t2[_i];
  64145. _0_1 = t5._0;
  64146. _0_1.toString;
  64147. if (!isParentOfExistingDir) {
  64148. t6 = $.$get$context();
  64149. t6 = t6._isWithinOrEquals$2(_0_1, directory) === B._PathRelation_equal || t6._isWithinOrEquals$2(_0_1, directory) === B._PathRelation_within;
  64150. } else
  64151. t6 = false;
  64152. if (t6) {
  64153. t1 = new A._Future($.Zone__current, type$._Future_void);
  64154. t1._asyncComplete$1(null);
  64155. return t1;
  64156. }
  64157. if ($.$get$context()._isWithinOrEquals$2(directory, _0_1) === B._PathRelation_within) {
  64158. t1.remove$1(0, _0_1);
  64159. t4.remove$1(0, t5._1);
  64160. isParentOfExistingDir = true;
  64161. }
  64162. }
  64163. future = A.watchDir(directory, this._poll);
  64164. t2 = new A._CompleterStream(type$._CompleterStream_WatchEvent);
  64165. completer = new A.StreamCompleter(t2, type$.StreamCompleter_WatchEvent);
  64166. future.then$1$2$onError(0, completer.get$setSourceStream(), completer.get$setError(), type$.void);
  64167. t1.$indexSet(0, directory, t2);
  64168. t4.add$1(0, t2);
  64169. return future;
  64170. }
  64171. };
  64172. A.MultiSpan.prototype = {
  64173. get$start(_) {
  64174. var t1 = this._multi_span$_primary;
  64175. return t1.get$start(t1);
  64176. },
  64177. get$end(_) {
  64178. var t1 = this._multi_span$_primary;
  64179. return t1.get$end(t1);
  64180. },
  64181. get$text() {
  64182. return this._multi_span$_primary.get$text();
  64183. },
  64184. get$context(_) {
  64185. var t1 = this._multi_span$_primary;
  64186. return t1.get$context(t1);
  64187. },
  64188. get$file(_) {
  64189. var t1 = this._multi_span$_primary;
  64190. return t1.get$file(t1);
  64191. },
  64192. get$length(_) {
  64193. var t1 = this._multi_span$_primary;
  64194. return t1.get$length(t1);
  64195. },
  64196. get$sourceUrl(_) {
  64197. var t1 = this._multi_span$_primary;
  64198. return t1.get$sourceUrl(t1);
  64199. },
  64200. compareTo$1(_, other) {
  64201. return this._multi_span$_primary.compareTo$1(0, other);
  64202. },
  64203. toString$0(_) {
  64204. return this._multi_span$_primary.toString$0(0);
  64205. },
  64206. expand$1(_, other) {
  64207. return new A.MultiSpan(this._multi_span$_primary.expand$1(0, other), this.primaryLabel, this.secondarySpans);
  64208. },
  64209. highlight$1$color(color) {
  64210. return A.Highlighter$multiple(this._multi_span$_primary, this.primaryLabel, this.secondarySpans, color === true, null, null).highlight$0();
  64211. },
  64212. message$2$color(_, message, color) {
  64213. var t1 = J.$eq$(color, true) || typeof color == "string",
  64214. t2 = typeof color == "string" ? color : null;
  64215. return A.SourceSpanExtension_messageMultiple(this._multi_span$_primary, message, this.primaryLabel, this.secondarySpans, t1, t2, null);
  64216. },
  64217. message$1(_, message) {
  64218. return this.message$2$color(0, message, null);
  64219. },
  64220. $isComparable: 1,
  64221. $isFileSpan: 1,
  64222. $isSourceSpan: 1,
  64223. $isSourceSpanWithContext: 1
  64224. };
  64225. A.NoSourceMapBuffer.prototype = {
  64226. get$length(_) {
  64227. return this._no_source_map_buffer$_buffer._contents.length;
  64228. },
  64229. forSpan$1$2(span, callback) {
  64230. return callback.call$0();
  64231. },
  64232. forSpan$2(span, callback) {
  64233. callback.toString;
  64234. return this.forSpan$1$2(span, callback, type$.dynamic);
  64235. },
  64236. write$1(_, object) {
  64237. var t1 = this._no_source_map_buffer$_buffer,
  64238. t2 = A.S(object);
  64239. t1._contents += t2;
  64240. return null;
  64241. },
  64242. writeCharCode$1(charCode) {
  64243. var t1 = this._no_source_map_buffer$_buffer,
  64244. t2 = A.Primitives_stringFromCharCode(charCode);
  64245. t1._contents += t2;
  64246. return null;
  64247. },
  64248. toString$0(_) {
  64249. var t1 = this._no_source_map_buffer$_buffer._contents;
  64250. return t1.charCodeAt(0) == 0 ? t1 : t1;
  64251. },
  64252. buildSourceMap$1$prefix(prefix) {
  64253. return A.throwExpression(A.UnsupportedError$(string$.NoSour));
  64254. }
  64255. };
  64256. A.PrefixedMapView.prototype = {
  64257. get$keys(_) {
  64258. return new A._PrefixedKeys(this);
  64259. },
  64260. get$length(_) {
  64261. var t1 = this._prefixed_map_view$_map;
  64262. return t1.get$length(t1);
  64263. },
  64264. get$isEmpty(_) {
  64265. var t1 = this._prefixed_map_view$_map;
  64266. return t1.get$isEmpty(t1);
  64267. },
  64268. get$isNotEmpty(_) {
  64269. var t1 = this._prefixed_map_view$_map;
  64270. return t1.get$isNotEmpty(t1);
  64271. },
  64272. $index(_, key) {
  64273. 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;
  64274. },
  64275. containsKey$1(key) {
  64276. 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));
  64277. }
  64278. };
  64279. A._PrefixedKeys.prototype = {
  64280. get$length(_) {
  64281. var t1 = this._view._prefixed_map_view$_map;
  64282. return t1.get$length(t1);
  64283. },
  64284. get$iterator(_) {
  64285. var t1 = this._view._prefixed_map_view$_map;
  64286. t1 = J.map$1$1$ax(t1.get$keys(t1), new A._PrefixedKeys_iterator_closure(this), type$.String);
  64287. return t1.get$iterator(t1);
  64288. },
  64289. contains$1(_, key) {
  64290. return this._view.containsKey$1(key);
  64291. }
  64292. };
  64293. A._PrefixedKeys_iterator_closure.prototype = {
  64294. call$1(key) {
  64295. return this.$this._view._prefix + key;
  64296. },
  64297. $signature: 6
  64298. };
  64299. A.PublicMemberMapView.prototype = {
  64300. get$keys(_) {
  64301. var t1 = this._public_member_map_view$_inner;
  64302. return J.where$1$ax(t1.get$keys(t1), A.utils__isPublic$closure());
  64303. },
  64304. containsKey$1(key) {
  64305. return typeof key == "string" && A.isPublic(key) && this._public_member_map_view$_inner.containsKey$1(key);
  64306. },
  64307. $index(_, key) {
  64308. if (typeof key == "string" && A.isPublic(key))
  64309. return this._public_member_map_view$_inner.$index(0, key);
  64310. return null;
  64311. }
  64312. };
  64313. A.SourceMapBuffer.prototype = {
  64314. get$_targetLocation() {
  64315. var t1 = this._source_map_buffer$_buffer._contents,
  64316. t2 = this._line;
  64317. return A.SourceLocation$(t1.length, this._column, t2, null);
  64318. },
  64319. get$length(_) {
  64320. return this._source_map_buffer$_buffer._contents.length;
  64321. },
  64322. forSpan$1$2(span, callback) {
  64323. var t1, _this = this,
  64324. wasInSpan = _this._inSpan;
  64325. _this._inSpan = true;
  64326. _this._addEntry$2(span.get$start(span), _this.get$_targetLocation());
  64327. try {
  64328. t1 = callback.call$0();
  64329. return t1;
  64330. } finally {
  64331. _this._inSpan = wasInSpan;
  64332. }
  64333. },
  64334. forSpan$2(span, callback) {
  64335. callback.toString;
  64336. return this.forSpan$1$2(span, callback, type$.dynamic);
  64337. },
  64338. _addEntry$2(source, target) {
  64339. var entry, t2,
  64340. t1 = this._entries;
  64341. if (t1.length !== 0) {
  64342. entry = B.JSArray_methods.get$last(t1);
  64343. t2 = entry.source;
  64344. if (t2.file.getLine$1(t2.offset) === source.file.getLine$1(source.offset) && entry.target.line === target.line)
  64345. return;
  64346. if (entry.target.offset === target.offset)
  64347. return;
  64348. }
  64349. t1.push(new A.Entry(source, target, null));
  64350. },
  64351. write$1(_, object) {
  64352. var t1, i,
  64353. string = J.toString$0$(object);
  64354. this._source_map_buffer$_buffer._contents += string;
  64355. for (t1 = string.length, i = 0; i < t1; ++i)
  64356. if (string.charCodeAt(i) === 10)
  64357. this._source_map_buffer$_writeLine$0();
  64358. else
  64359. ++this._column;
  64360. },
  64361. writeCharCode$1(charCode) {
  64362. var t1 = this._source_map_buffer$_buffer,
  64363. t2 = A.Primitives_stringFromCharCode(charCode);
  64364. t1._contents += t2;
  64365. if (charCode === 10)
  64366. this._source_map_buffer$_writeLine$0();
  64367. else
  64368. ++this._column;
  64369. },
  64370. _source_map_buffer$_writeLine$0() {
  64371. var _this = this,
  64372. t1 = _this._entries;
  64373. if (B.JSArray_methods.get$last(t1).target.line === _this._line && B.JSArray_methods.get$last(t1).target.column === _this._column)
  64374. t1.pop();
  64375. ++_this._line;
  64376. _this._column = 0;
  64377. if (_this._inSpan)
  64378. t1.push(new A.Entry(B.JSArray_methods.get$last(t1).source, _this.get$_targetLocation(), null));
  64379. },
  64380. toString$0(_) {
  64381. var t1 = this._source_map_buffer$_buffer._contents;
  64382. return t1.charCodeAt(0) == 0 ? t1 : t1;
  64383. },
  64384. buildSourceMap$1$prefix(prefix) {
  64385. var i, t2, prefixColumn, _box_0 = {},
  64386. t1 = prefix.length;
  64387. if (t1 === 0)
  64388. return A.SingleMapping_SingleMapping$fromEntries(this._entries);
  64389. _box_0.prefixColumn = _box_0.prefixLines = 0;
  64390. for (i = 0, t2 = 0; i < t1; ++i)
  64391. if (prefix.charCodeAt(i) === 10) {
  64392. ++_box_0.prefixLines;
  64393. _box_0.prefixColumn = 0;
  64394. t2 = 0;
  64395. } else {
  64396. prefixColumn = t2 + 1;
  64397. _box_0.prefixColumn = prefixColumn;
  64398. t2 = prefixColumn;
  64399. }
  64400. t2 = this._entries;
  64401. 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>")));
  64402. }
  64403. };
  64404. A.SourceMapBuffer_buildSourceMap_closure.prototype = {
  64405. call$1(entry) {
  64406. var t1 = entry.target,
  64407. t2 = t1.line,
  64408. t3 = this._box_0,
  64409. t4 = t3.prefixLines;
  64410. t3 = t2 === 0 ? t3.prefixColumn : 0;
  64411. return new A.Entry(entry.source, A.SourceLocation$(t1.offset + this.prefixLength, t1.column + t3, t2 + t4, null), entry.identifierName);
  64412. },
  64413. $signature: 164
  64414. };
  64415. A.UnprefixedMapView.prototype = {
  64416. get$keys(_) {
  64417. return new A._UnprefixedKeys(this);
  64418. },
  64419. $index(_, key) {
  64420. return typeof key == "string" ? this._unprefixed_map_view$_map.$index(0, this._unprefixed_map_view$_prefix + key) : null;
  64421. },
  64422. containsKey$1(key) {
  64423. return typeof key == "string" && this._unprefixed_map_view$_map.containsKey$1(this._unprefixed_map_view$_prefix + key);
  64424. },
  64425. remove$1(_, key) {
  64426. var t1 = this._unprefixed_map_view$_map.remove$1(0, this._unprefixed_map_view$_prefix + key);
  64427. return t1;
  64428. }
  64429. };
  64430. A._UnprefixedKeys.prototype = {
  64431. get$iterator(_) {
  64432. var t1 = this._unprefixed_map_view$_view._unprefixed_map_view$_map;
  64433. 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);
  64434. return t1.get$iterator(t1);
  64435. },
  64436. contains$1(_, key) {
  64437. return this._unprefixed_map_view$_view.containsKey$1(key);
  64438. }
  64439. };
  64440. A._UnprefixedKeys_iterator_closure.prototype = {
  64441. call$1(key) {
  64442. return B.JSString_methods.startsWith$1(key, this.$this._unprefixed_map_view$_view._unprefixed_map_view$_prefix);
  64443. },
  64444. $signature: 5
  64445. };
  64446. A._UnprefixedKeys_iterator_closure0.prototype = {
  64447. call$1(key) {
  64448. return B.JSString_methods.substring$1(key, this.$this._unprefixed_map_view$_view._unprefixed_map_view$_prefix.length);
  64449. },
  64450. $signature: 6
  64451. };
  64452. A.indent_closure.prototype = {
  64453. call$1(line) {
  64454. return B.JSString_methods.$mul(" ", this.indentation) + line;
  64455. },
  64456. $signature: 6
  64457. };
  64458. A.flattenVertically_closure.prototype = {
  64459. call$1(inner) {
  64460. return A.QueueList_QueueList$from(inner, this.T);
  64461. },
  64462. $signature() {
  64463. return this.T._eval$1("QueueList<0>(Iterable<0>)");
  64464. }
  64465. };
  64466. A.flattenVertically_closure0.prototype = {
  64467. call$1(queue) {
  64468. this.result.push(queue.removeFirst$0());
  64469. return queue.get$length(0) === 0;
  64470. },
  64471. $signature() {
  64472. return this.T._eval$1("bool(QueueList<0>)");
  64473. }
  64474. };
  64475. A.longestCommonSubsequence_backtrack.prototype = {
  64476. call$2(i, j) {
  64477. var selection, t1, _this = this;
  64478. if (i === -1 || j === -1)
  64479. return A._setArrayType([], _this.T._eval$1("JSArray<0>"));
  64480. selection = _this.selections[i][j];
  64481. if (selection != null) {
  64482. t1 = _this.call$2(i - 1, j - 1);
  64483. J.add$1$ax(t1, selection);
  64484. return t1;
  64485. }
  64486. t1 = _this.lengths;
  64487. return t1[i + 1][j] > t1[i][j + 1] ? _this.call$2(i, j - 1) : _this.call$2(i - 1, j);
  64488. },
  64489. $signature() {
  64490. return this.T._eval$1("List<0>(int,int)");
  64491. }
  64492. };
  64493. A.mapAddAll2_closure.prototype = {
  64494. call$2(key, inner) {
  64495. var t1 = this.destination,
  64496. _0_0 = t1.$index(0, key);
  64497. if (_0_0 != null)
  64498. _0_0.addAll$1(0, inner);
  64499. else
  64500. t1.$indexSet(0, key, inner);
  64501. },
  64502. $signature() {
  64503. return this.K1._eval$1("@<0>")._bind$1(this.K2)._bind$1(this.V)._eval$1("~(1,Map<2,3>)");
  64504. }
  64505. };
  64506. A.Value.prototype = {
  64507. get$isTruthy() {
  64508. return true;
  64509. },
  64510. get$separator(_) {
  64511. return B.ListSeparator_undecided_null_undecided;
  64512. },
  64513. get$hasBrackets() {
  64514. return false;
  64515. },
  64516. get$asList() {
  64517. return A._setArrayType([this], type$.JSArray_Value);
  64518. },
  64519. get$lengthAsList() {
  64520. return 1;
  64521. },
  64522. get$isBlank() {
  64523. return false;
  64524. },
  64525. get$isSpecialNumber() {
  64526. return false;
  64527. },
  64528. get$isVar() {
  64529. return false;
  64530. },
  64531. get$realNull() {
  64532. return this;
  64533. },
  64534. sassIndexToListIndex$2(sassIndex, $name) {
  64535. var t1, index,
  64536. indexValue = sassIndex.assertNumber$1($name);
  64537. if (indexValue.get$hasUnits()) {
  64538. t1 = indexValue.get$unitString();
  64539. A.warnForDeprecation("$" + $name + ": Passing a number with unit " + t1 + string$.x20is_de + indexValue.unitSuggestion$1($name) + string$.x0a_Morex3af, B.Deprecation_jG1);
  64540. }
  64541. index = indexValue.assertInt$1($name);
  64542. if (index === 0)
  64543. throw A.wrapException(A.SassScriptException$("List index may not be 0.", $name));
  64544. if (Math.abs(index) > this.get$lengthAsList())
  64545. throw A.wrapException(A.SassScriptException$("Invalid index " + sassIndex.toString$0(0) + " for a list with " + this.get$lengthAsList() + " elements.", $name));
  64546. return index < 0 ? this.get$lengthAsList() + index : index - 1;
  64547. },
  64548. assertCalculation$1($name) {
  64549. return A.throwExpression(A.SassScriptException$(this.toString$0(0) + " is not a calculation.", $name));
  64550. },
  64551. assertColor$1($name) {
  64552. return A.throwExpression(A.SassScriptException$(this.toString$0(0) + " is not a color.", $name));
  64553. },
  64554. assertFunction$1($name) {
  64555. return A.throwExpression(A.SassScriptException$(this.toString$0(0) + " is not a function reference.", $name));
  64556. },
  64557. assertMixin$1($name) {
  64558. return A.throwExpression(A.SassScriptException$(this.toString$0(0) + " is not a mixin reference.", $name));
  64559. },
  64560. assertMap$1($name) {
  64561. return A.throwExpression(A.SassScriptException$(this.toString$0(0) + " is not a map.", $name));
  64562. },
  64563. tryMap$0() {
  64564. return null;
  64565. },
  64566. assertNumber$1($name) {
  64567. return A.throwExpression(A.SassScriptException$(this.toString$0(0) + " is not a number.", $name));
  64568. },
  64569. assertNumber$0() {
  64570. return this.assertNumber$1(null);
  64571. },
  64572. assertString$1($name) {
  64573. return A.throwExpression(A.SassScriptException$(this.toString$0(0) + " is not a string.", $name));
  64574. },
  64575. assertCommonListStyle$2$allowSlash($name, allowSlash) {
  64576. var invalidSeparator, buffer, t1, _this = this,
  64577. _s8_ = "Expected";
  64578. if (_this.get$separator(_this) !== B.ListSeparator_qVN)
  64579. invalidSeparator = !allowSlash && _this.get$separator(_this) === B.ListSeparator_bRz;
  64580. else
  64581. invalidSeparator = true;
  64582. if (!invalidSeparator && !_this.get$hasBrackets())
  64583. return _this.get$asList();
  64584. buffer = new A.StringBuffer(_s8_);
  64585. if (_this.get$hasBrackets()) {
  64586. t1 = "Expected" + " an unbracketed";
  64587. buffer._contents = t1;
  64588. } else
  64589. t1 = _s8_;
  64590. if (invalidSeparator) {
  64591. t1 += _this.get$hasBrackets() ? "," : " a";
  64592. buffer._contents = t1;
  64593. t1 = buffer._contents = t1 + " space-";
  64594. t1 = buffer._contents = (allowSlash ? buffer._contents = t1 + " or slash-" : t1) + "separated";
  64595. }
  64596. buffer._contents = t1 + (" list, was " + _this.toString$0(0));
  64597. throw A.wrapException(A.SassScriptException$(buffer.toString$0(0), $name));
  64598. },
  64599. _selectorString$1($name) {
  64600. var _0_0 = this._selectorStringOrNull$0();
  64601. if (_0_0 != null)
  64602. return _0_0;
  64603. throw A.wrapException(A.SassScriptException$(this.toString$0(0) + string$.x20is_noav, $name));
  64604. },
  64605. _selectorStringOrNull$0() {
  64606. var t1, t2, result, _1_0, _i, complex, string, compound, _this = this, _null = null;
  64607. if (_this instanceof A.SassString)
  64608. return _this._string$_text;
  64609. if (!(_this instanceof A.SassList))
  64610. return _null;
  64611. t1 = _this._list$_contents;
  64612. t2 = t1.length;
  64613. if (t2 === 0)
  64614. return _null;
  64615. result = A._setArrayType([], type$.JSArray_String);
  64616. $label0$1: {
  64617. _1_0 = _this._separator;
  64618. if (B.ListSeparator_qVN === _1_0) {
  64619. for (_i = 0; _i < t2; ++_i) {
  64620. complex = t1[_i];
  64621. if (complex instanceof A.SassString) {
  64622. result.push(complex._string$_text);
  64623. continue;
  64624. }
  64625. if (complex instanceof A.SassList && B.ListSeparator_qSL === complex._separator) {
  64626. string = complex._selectorStringOrNull$0();
  64627. if (string == null)
  64628. return _null;
  64629. result.push(string);
  64630. continue;
  64631. }
  64632. return _null;
  64633. }
  64634. break $label0$1;
  64635. }
  64636. if (B.ListSeparator_bRz === _1_0)
  64637. return _null;
  64638. for (_i = 0; _i < t2; ++_i) {
  64639. compound = t1[_i];
  64640. if (!(compound instanceof A.SassString))
  64641. return _null;
  64642. result.push(compound._string$_text);
  64643. }
  64644. }
  64645. return B.JSArray_methods.join$1(result, _1_0 === B.ListSeparator_qVN ? ", " : " ");
  64646. },
  64647. withListContents$2$separator(contents, separator) {
  64648. var t1 = separator == null ? this.get$separator(this) : separator,
  64649. t2 = this.get$hasBrackets();
  64650. return A.SassList$(contents, t1, t2);
  64651. },
  64652. withListContents$1(contents) {
  64653. return this.withListContents$2$separator(contents, null);
  64654. },
  64655. greaterThan$1(other) {
  64656. return A.throwExpression(A.SassScriptException$('Undefined operation "' + this.toString$0(0) + " > " + other.toString$0(0) + '".', null));
  64657. },
  64658. greaterThanOrEquals$1(other) {
  64659. return A.throwExpression(A.SassScriptException$('Undefined operation "' + this.toString$0(0) + " >= " + other.toString$0(0) + '".', null));
  64660. },
  64661. lessThan$1(other) {
  64662. return A.throwExpression(A.SassScriptException$('Undefined operation "' + this.toString$0(0) + " < " + other.toString$0(0) + '".', null));
  64663. },
  64664. lessThanOrEquals$1(other) {
  64665. return A.throwExpression(A.SassScriptException$('Undefined operation "' + this.toString$0(0) + " <= " + other.toString$0(0) + '".', null));
  64666. },
  64667. times$1(other) {
  64668. return A.throwExpression(A.SassScriptException$('Undefined operation "' + this.toString$0(0) + " * " + other.toString$0(0) + '".', null));
  64669. },
  64670. modulo$1(other) {
  64671. return A.throwExpression(A.SassScriptException$('Undefined operation "' + this.toString$0(0) + " % " + other.toString$0(0) + '".', null));
  64672. },
  64673. plus$1(other) {
  64674. var t1;
  64675. $label0$0: {
  64676. if (other instanceof A.SassString) {
  64677. t1 = new A.SassString(A.serializeValue(this, false, true) + other._string$_text, other._hasQuotes);
  64678. break $label0$0;
  64679. }
  64680. if (other instanceof A.SassCalculation)
  64681. A.throwExpression(A.SassScriptException$('Undefined operation "' + this.toString$0(0) + " + " + other.toString$0(0) + '".', null));
  64682. t1 = new A.SassString(A.serializeValue(this, false, true) + A.serializeValue(other, false, true), false);
  64683. break $label0$0;
  64684. }
  64685. return t1;
  64686. },
  64687. minus$1(other) {
  64688. 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);
  64689. },
  64690. dividedBy$1(other) {
  64691. return new A.SassString(A.serializeValue(this, false, true) + "/" + A.serializeValue(other, false, true), false);
  64692. },
  64693. unaryPlus$0() {
  64694. return new A.SassString("+" + A.serializeValue(this, false, true), false);
  64695. },
  64696. unaryMinus$0() {
  64697. return new A.SassString("-" + A.serializeValue(this, false, true), false);
  64698. },
  64699. unaryNot$0() {
  64700. return B.SassBoolean_false;
  64701. },
  64702. withoutSlash$0() {
  64703. return this;
  64704. },
  64705. toString$0(_) {
  64706. return A.serializeValue(this, true, true);
  64707. }
  64708. };
  64709. A.SassArgumentList.prototype = {};
  64710. A.SassBoolean.prototype = {
  64711. get$isTruthy() {
  64712. return this.value;
  64713. },
  64714. accept$1$1(visitor) {
  64715. return visitor._serialize$_buffer.write$1(0, String(this.value));
  64716. },
  64717. accept$1(visitor) {
  64718. return this.accept$1$1(visitor, type$.dynamic);
  64719. },
  64720. unaryNot$0() {
  64721. return this.value ? B.SassBoolean_false : B.SassBoolean_true;
  64722. }
  64723. };
  64724. A.SassCalculation.prototype = {
  64725. get$isSpecialNumber() {
  64726. return true;
  64727. },
  64728. accept$1$1(visitor) {
  64729. return visitor.visitCalculation$1(this);
  64730. },
  64731. accept$1(visitor) {
  64732. return this.accept$1$1(visitor, type$.dynamic);
  64733. },
  64734. assertCalculation$1($name) {
  64735. return this;
  64736. },
  64737. plus$1(other) {
  64738. if (other instanceof A.SassString)
  64739. return this.super$Value$plus(other);
  64740. throw A.wrapException(A.SassScriptException$('Undefined operation "' + this.toString$0(0) + " + " + other.toString$0(0) + '".', null));
  64741. },
  64742. minus$1(other) {
  64743. return A.throwExpression(A.SassScriptException$('Undefined operation "' + this.toString$0(0) + " - " + other.toString$0(0) + '".', null));
  64744. },
  64745. unaryPlus$0() {
  64746. return A.throwExpression(A.SassScriptException$('Undefined operation "+' + this.toString$0(0) + '".', null));
  64747. },
  64748. unaryMinus$0() {
  64749. return A.throwExpression(A.SassScriptException$('Undefined operation "-' + this.toString$0(0) + '".', null));
  64750. },
  64751. $eq(_, other) {
  64752. if (other == null)
  64753. return false;
  64754. return other instanceof A.SassCalculation && this.name === other.name && B.C_ListEquality.equals$2(0, this.$arguments, other.$arguments);
  64755. },
  64756. get$hashCode(_) {
  64757. return B.JSString_methods.get$hashCode(this.name) ^ B.C_ListEquality0.hash$1(this.$arguments);
  64758. }
  64759. };
  64760. A.SassCalculation__verifyLength_closure.prototype = {
  64761. call$1(arg) {
  64762. return arg instanceof A.SassString;
  64763. },
  64764. $signature: 71
  64765. };
  64766. A.CalculationOperation.prototype = {
  64767. $eq(_, other) {
  64768. if (other == null)
  64769. return false;
  64770. return other instanceof A.CalculationOperation && this._operator === other._operator && J.$eq$(this._left, other._left) && J.$eq$(this._right, other._right);
  64771. },
  64772. get$hashCode(_) {
  64773. return (A.Primitives_objectHashCode(this._operator) ^ J.get$hashCode$(this._left) ^ J.get$hashCode$(this._right)) >>> 0;
  64774. },
  64775. toString$0(_) {
  64776. var parenthesized = A.serializeValue(new A.SassCalculation("", A._setArrayType([this], type$.JSArray_Object)), true, true);
  64777. return B.JSString_methods.substring$2(parenthesized, 1, parenthesized.length - 1);
  64778. }
  64779. };
  64780. A.CalculationOperator.prototype = {
  64781. _enumToString$0() {
  64782. return "CalculationOperator." + this._name;
  64783. },
  64784. toString$0(_) {
  64785. return this.name;
  64786. }
  64787. };
  64788. A.SassColor.prototype = {
  64789. get$channels() {
  64790. var t2, t3,
  64791. t1 = this.channel0OrNull;
  64792. if (t1 == null)
  64793. t1 = 0;
  64794. t2 = this.channel1OrNull;
  64795. if (t2 == null)
  64796. t2 = 0;
  64797. t3 = this.channel2OrNull;
  64798. return A.List_List$unmodifiable([t1, t2, t3 == null ? 0 : t3], type$.double);
  64799. },
  64800. get$channelsOrNull() {
  64801. return A.List_List$unmodifiable([this.channel0OrNull, this.channel1OrNull, this.channel2OrNull], type$.nullable_double);
  64802. },
  64803. get$isChannel0Powerless() {
  64804. var t1, t2, _this = this,
  64805. _0_0 = _this._space;
  64806. $label0$0: {
  64807. if (B.HslColorSpace_JQ2 === _0_0) {
  64808. t1 = _this.channel1OrNull;
  64809. t1 = A.fuzzyEquals(t1 == null ? 0 : t1, 0);
  64810. break $label0$0;
  64811. }
  64812. if (B.HwbColorSpace_guQ === _0_0) {
  64813. t1 = _this.channel1OrNull;
  64814. if (t1 == null)
  64815. t1 = 0;
  64816. t2 = _this.channel2OrNull;
  64817. t1 += t2 == null ? 0 : t2;
  64818. t1 = t1 > 100 || A.fuzzyEquals(t1, 100);
  64819. break $label0$0;
  64820. }
  64821. t1 = false;
  64822. break $label0$0;
  64823. }
  64824. return t1;
  64825. },
  64826. get$isChannel2Powerless() {
  64827. var t1,
  64828. _0_0 = this._space;
  64829. $label0$0: {
  64830. if (B.LchColorSpace_Bpv === _0_0 || B.OklchColorSpace_9Gj === _0_0) {
  64831. t1 = this.channel1OrNull;
  64832. t1 = A.fuzzyEquals(t1 == null ? 0 : t1, 0);
  64833. break $label0$0;
  64834. }
  64835. t1 = false;
  64836. break $label0$0;
  64837. }
  64838. return t1;
  64839. },
  64840. get$isInGamut() {
  64841. var t2, t3, _this = this,
  64842. t1 = _this._space;
  64843. if (!t1.get$isBoundedInternal())
  64844. return true;
  64845. t2 = _this.channel0OrNull;
  64846. if (t2 == null)
  64847. t2 = 0;
  64848. t1 = t1._channels;
  64849. t3 = false;
  64850. if (_this._isChannelInGamut$2(t2, t1[0])) {
  64851. t2 = _this.channel1OrNull;
  64852. if (t2 == null)
  64853. t2 = 0;
  64854. if (_this._isChannelInGamut$2(t2, t1[1])) {
  64855. t2 = _this.channel2OrNull;
  64856. if (t2 == null)
  64857. t2 = 0;
  64858. t1 = _this._isChannelInGamut$2(t2, t1[2]);
  64859. } else
  64860. t1 = t3;
  64861. } else
  64862. t1 = t3;
  64863. return t1;
  64864. },
  64865. _isChannelInGamut$2(value, channel) {
  64866. var min, max, t1;
  64867. $label0$0: {
  64868. if (channel instanceof A.LinearChannel) {
  64869. min = channel.min;
  64870. max = channel.max;
  64871. if (value < max || A.fuzzyEquals(value, max))
  64872. t1 = value > min || A.fuzzyEquals(value, min);
  64873. else
  64874. t1 = false;
  64875. break $label0$0;
  64876. }
  64877. t1 = true;
  64878. break $label0$0;
  64879. }
  64880. return t1;
  64881. },
  64882. accept$1$1(visitor) {
  64883. return visitor.visitColor$1(this);
  64884. },
  64885. accept$1(visitor) {
  64886. return this.accept$1$1(visitor, type$.dynamic);
  64887. },
  64888. assertColor$1($name) {
  64889. return this;
  64890. },
  64891. assertLegacy$1($name) {
  64892. if (this._space.get$isLegacyInternal())
  64893. return;
  64894. throw A.wrapException(A.SassScriptException$("Expected " + this.toString$0(0) + string$.x20to_be, $name));
  64895. },
  64896. channel$1(_, channel) {
  64897. var t1, _this = this,
  64898. channels = _this._space._channels;
  64899. if (channel === channels[0].name) {
  64900. t1 = _this.channel0OrNull;
  64901. return t1 == null ? 0 : t1;
  64902. }
  64903. if (channel === channels[1].name) {
  64904. t1 = _this.channel1OrNull;
  64905. return t1 == null ? 0 : t1;
  64906. }
  64907. if (channel === channels[2].name) {
  64908. t1 = _this.channel2OrNull;
  64909. return t1 == null ? 0 : t1;
  64910. }
  64911. if (channel === "alpha") {
  64912. t1 = _this.alphaOrNull;
  64913. return t1 == null ? 0 : t1;
  64914. }
  64915. throw A.wrapException(A.SassScriptException$("Color " + _this.toString$0(0) + " doesn't have a channel named \"" + channel + '".', null));
  64916. },
  64917. isChannelMissing$3$channelName$colorName(channel, channelName, colorName) {
  64918. var _this = this,
  64919. channels = _this._space._channels;
  64920. if (channel === channels[0].name)
  64921. return _this.channel0OrNull == null;
  64922. if (channel === channels[1].name)
  64923. return _this.channel1OrNull == null;
  64924. if (channel === channels[2].name)
  64925. return _this.channel2OrNull == null;
  64926. if (channel === "alpha")
  64927. return _this.alphaOrNull == null;
  64928. throw A.wrapException(A.SassScriptException$("Color " + _this.toString$0(0) + " doesn't have a channel named \"" + channel + '".', channelName));
  64929. },
  64930. isChannelMissing$1(channel) {
  64931. return this.isChannelMissing$3$channelName$colorName(channel, null, null);
  64932. },
  64933. isChannelPowerless$3$channelName$colorName(channel, channelName, colorName) {
  64934. var _this = this,
  64935. channels = _this._space._channels;
  64936. if (channel === channels[0].name)
  64937. return _this.get$isChannel0Powerless();
  64938. if (channel === channels[1].name)
  64939. return false;
  64940. if (channel === channels[2].name)
  64941. return _this.get$isChannel2Powerless();
  64942. if (channel === "alpha")
  64943. return false;
  64944. throw A.wrapException(A.SassScriptException$("Color " + _this.toString$0(0) + " doesn't have a channel named \"" + channel + '".', channelName));
  64945. },
  64946. _legacyChannel$2(space, channel) {
  64947. if (!this._space.get$isLegacyInternal())
  64948. throw A.wrapException(A.SassScriptException$("color." + channel + string$.x28__is_oc, null));
  64949. return this.toSpace$1(space).channel$1(0, channel);
  64950. },
  64951. toSpace$2$legacyMissing(space, legacyMissing) {
  64952. var t2, converted, t3, t4, _this = this,
  64953. t1 = _this._space;
  64954. if (t1 === space)
  64955. return _this;
  64956. t2 = _this.alphaOrNull;
  64957. if (t2 == null)
  64958. t2 = 0;
  64959. converted = t1.convert$5(space, _this.channel0OrNull, _this.channel1OrNull, _this.channel2OrNull, t2);
  64960. t1 = false;
  64961. if (!legacyMissing)
  64962. if (converted._space.get$isLegacyInternal())
  64963. t1 = converted.channel0OrNull == null || converted.channel1OrNull == null || converted.channel2OrNull == null || converted.alphaOrNull == null;
  64964. if (t1) {
  64965. t1 = converted.channel0OrNull;
  64966. if (t1 == null)
  64967. t1 = 0;
  64968. t2 = converted.channel1OrNull;
  64969. if (t2 == null)
  64970. t2 = 0;
  64971. t3 = converted.channel2OrNull;
  64972. if (t3 == null)
  64973. t3 = 0;
  64974. t4 = converted.alphaOrNull;
  64975. if (t4 == null)
  64976. t4 = 0;
  64977. t4 = A.SassColor_SassColor$forSpaceInternal(converted._space, t1, t2, t3, t4);
  64978. t1 = t4;
  64979. } else
  64980. t1 = converted;
  64981. return t1;
  64982. },
  64983. toSpace$1(space) {
  64984. return this.toSpace$2$legacyMissing(space, true);
  64985. },
  64986. changeHsl$3$hue$lightness$saturation(hue, lightness, saturation) {
  64987. var t2, t3, t4, t5, _this = this, _null = null,
  64988. t1 = _this._space;
  64989. if (!t1.get$isLegacyInternal())
  64990. throw A.wrapException(A.SassScriptException$(string$.color_c, _null));
  64991. t2 = hue == null ? _null : hue;
  64992. if (t2 == null)
  64993. t2 = _this._legacyChannel$2(B.HslColorSpace_JQ2, "hue");
  64994. t3 = saturation == null ? _null : saturation;
  64995. if (t3 == null)
  64996. t3 = _this._legacyChannel$2(B.HslColorSpace_JQ2, "saturation");
  64997. t4 = lightness == null ? _null : lightness;
  64998. if (t4 == null)
  64999. t4 = _this._legacyChannel$2(B.HslColorSpace_JQ2, "lightness");
  65000. t5 = _this.alphaOrNull;
  65001. if (t5 == null)
  65002. t5 = 0;
  65003. return A.SassColor_SassColor$hsl(t2, t3, t4, t5).toSpace$1(t1);
  65004. },
  65005. changeHsl$1$saturation(saturation) {
  65006. return this.changeHsl$3$hue$lightness$saturation(null, null, saturation);
  65007. },
  65008. changeHsl$1$lightness(lightness) {
  65009. return this.changeHsl$3$hue$lightness$saturation(null, lightness, null);
  65010. },
  65011. changeHsl$1$hue(hue) {
  65012. return this.changeHsl$3$hue$lightness$saturation(hue, null, null);
  65013. },
  65014. changeAlpha$1(alpha) {
  65015. var t2, t3, _this = this,
  65016. t1 = _this.channel0OrNull;
  65017. if (t1 == null)
  65018. t1 = 0;
  65019. t2 = _this.channel1OrNull;
  65020. if (t2 == null)
  65021. t2 = 0;
  65022. t3 = _this.channel2OrNull;
  65023. if (t3 == null)
  65024. t3 = 0;
  65025. return A.SassColor_SassColor$forSpaceInternal(_this._space, t1, t2, t3, alpha);
  65026. },
  65027. interpolate$4$legacyMissing$weight(other, method, legacyMissing, weight) {
  65028. 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;
  65029. if (A.fuzzyEquals(weight, 0))
  65030. return other;
  65031. if (A.fuzzyEquals(weight, 1))
  65032. return _this;
  65033. t1 = method.space;
  65034. color1 = _this.toSpace$1(t1);
  65035. color2 = other.toSpace$1(t1);
  65036. if (weight < 0 || weight > 1)
  65037. throw A.wrapException(A.RangeError$range(weight, 0, 1, "weight", _null));
  65038. missing1_0 = _this._isAnalogousChannelMissing$3(_this, color1, 0);
  65039. missing1_1 = _this._isAnalogousChannelMissing$3(_this, color1, 1);
  65040. missing1_2 = _this._isAnalogousChannelMissing$3(_this, color1, 2);
  65041. missing2_0 = _this._isAnalogousChannelMissing$3(other, color2, 0);
  65042. missing2_1 = _this._isAnalogousChannelMissing$3(other, color2, 1);
  65043. missing2_2 = _this._isAnalogousChannelMissing$3(other, color2, 2);
  65044. channel1_0 = (missing1_0 ? color2 : color1).channel0OrNull;
  65045. if (channel1_0 == null)
  65046. channel1_0 = 0;
  65047. channel1_1 = (missing1_1 ? color2 : color1).channel1OrNull;
  65048. if (channel1_1 == null)
  65049. channel1_1 = 0;
  65050. channel1_2 = (missing1_2 ? color2 : color1).channel2OrNull;
  65051. if (channel1_2 == null)
  65052. channel1_2 = 0;
  65053. channel2_0 = (missing2_0 ? color1 : color2).channel0OrNull;
  65054. if (channel2_0 == null)
  65055. channel2_0 = 0;
  65056. channel2_1 = (missing2_1 ? color1 : color2).channel1OrNull;
  65057. if (channel2_1 == null)
  65058. channel2_1 = 0;
  65059. channel2_2 = (missing2_2 ? color1 : color2).channel2OrNull;
  65060. if (channel2_2 == null)
  65061. channel2_2 = 0;
  65062. alpha1 = _this.alphaOrNull;
  65063. t2 = alpha1 == null;
  65064. if (t2) {
  65065. t3 = other.alphaOrNull;
  65066. alpha10 = t3 == null ? 0 : t3;
  65067. } else
  65068. alpha10 = alpha1;
  65069. alpha2 = other.alphaOrNull;
  65070. t3 = alpha2 == null;
  65071. if (t3)
  65072. alpha20 = t2 ? 0 : alpha1;
  65073. else
  65074. alpha20 = alpha2;
  65075. thisMultiplier = (t2 ? 1 : alpha1) * weight;
  65076. t4 = t3 ? 1 : alpha2;
  65077. t5 = 1 - weight;
  65078. otherMultiplier = t4 * t5;
  65079. mixedAlpha = t2 && t3 ? _null : alpha10 * weight + alpha20 * t5;
  65080. if (missing1_0 && missing2_0)
  65081. mixed0 = _null;
  65082. else {
  65083. t2 = mixedAlpha == null ? 1 : mixedAlpha;
  65084. mixed0 = (channel1_0 * thisMultiplier + channel2_0 * otherMultiplier) / t2;
  65085. }
  65086. if (missing1_1 && missing2_1)
  65087. mixed1 = _null;
  65088. else {
  65089. t2 = mixedAlpha == null ? 1 : mixedAlpha;
  65090. mixed1 = (channel1_1 * thisMultiplier + channel2_1 * otherMultiplier) / t2;
  65091. }
  65092. if (missing1_2 && missing2_2)
  65093. mixed2 = _null;
  65094. else {
  65095. t2 = mixedAlpha == null ? 1 : mixedAlpha;
  65096. mixed2 = (channel1_2 * thisMultiplier + channel2_2 * otherMultiplier) / t2;
  65097. }
  65098. $label0$0: {
  65099. if (B.HslColorSpace_JQ2 === t1 || B.HwbColorSpace_guQ === t1) {
  65100. if (missing1_0 && missing2_0)
  65101. t2 = _null;
  65102. else {
  65103. t2 = method.hue;
  65104. t2.toString;
  65105. t2 = _this._interpolateHues$4(channel1_0, channel2_0, t2, weight);
  65106. }
  65107. t2 = A.SassColor_SassColor$forSpaceInternal(t1, t2, mixed1, mixed2, mixedAlpha);
  65108. t1 = t2;
  65109. break $label0$0;
  65110. }
  65111. if (B.LchColorSpace_Bpv === t1 || B.OklchColorSpace_9Gj === t1) {
  65112. if (missing1_2 && missing2_2)
  65113. t2 = _null;
  65114. else {
  65115. t2 = method.hue;
  65116. t2.toString;
  65117. t2 = _this._interpolateHues$4(channel1_2, channel2_2, t2, weight);
  65118. }
  65119. t2 = A.SassColor_SassColor$forSpaceInternal(t1, mixed0, mixed1, t2, mixedAlpha);
  65120. t1 = t2;
  65121. break $label0$0;
  65122. }
  65123. t1 = A.SassColor_SassColor$forSpaceInternal(t1, mixed0, mixed1, mixed2, mixedAlpha);
  65124. break $label0$0;
  65125. }
  65126. return t1.toSpace$2$legacyMissing(_this._space, false);
  65127. },
  65128. _isAnalogousChannelMissing$3(original, output, outputChannelIndex) {
  65129. var originalChannel;
  65130. if (output.get$channelsOrNull()[outputChannelIndex] == null)
  65131. return true;
  65132. if (original === output)
  65133. return false;
  65134. originalChannel = A.IterableExtension_firstWhereOrNull(original._space._channels, output._space._channels[outputChannelIndex].get$isAnalogous());
  65135. if (originalChannel == null)
  65136. return false;
  65137. return original.isChannelMissing$1(originalChannel.name);
  65138. },
  65139. _interpolateHues$4(hue1, hue2, method, weight) {
  65140. var _0_0, _1_0;
  65141. $label1$1: {
  65142. if (B.HueInterpolationMethod_0 === method) {
  65143. $label0$0: {
  65144. _0_0 = hue2 - hue1;
  65145. if (_0_0 > 180) {
  65146. hue1 += 360;
  65147. break $label0$0;
  65148. }
  65149. if (_0_0 < -180)
  65150. hue2 += 360;
  65151. }
  65152. break $label1$1;
  65153. }
  65154. if (B.HueInterpolationMethod_1 === method) {
  65155. $label2$2: {
  65156. _1_0 = hue2 - hue1;
  65157. if (_1_0 > 0 && _1_0 < 180) {
  65158. hue2 += 360;
  65159. break $label2$2;
  65160. }
  65161. if (_1_0 > -180 && _1_0 <= 0)
  65162. hue1 += 360;
  65163. }
  65164. break $label1$1;
  65165. }
  65166. if (B.HueInterpolationMethod_2 === method && hue2 < hue1) {
  65167. hue2 += 360;
  65168. break $label1$1;
  65169. }
  65170. if (B.HueInterpolationMethod_3 === method && hue1 < hue2) {
  65171. hue1 += 360;
  65172. break $label1$1;
  65173. }
  65174. }
  65175. return hue1 * weight + hue2 * (1 - weight);
  65176. },
  65177. plus$1(other) {
  65178. if (!(other instanceof A.SassNumber) && !(other instanceof A.SassColor))
  65179. return this.super$Value$plus(other);
  65180. throw A.wrapException(A.SassScriptException$('Undefined operation "' + this.toString$0(0) + " + " + other.toString$0(0) + '".', null));
  65181. },
  65182. minus$1(other) {
  65183. if (!(other instanceof A.SassNumber) && !(other instanceof A.SassColor))
  65184. return this.super$Value$minus(other);
  65185. throw A.wrapException(A.SassScriptException$('Undefined operation "' + this.toString$0(0) + " - " + other.toString$0(0) + '".', null));
  65186. },
  65187. dividedBy$1(other) {
  65188. if (!(other instanceof A.SassNumber) && !(other instanceof A.SassColor))
  65189. return this.super$Value$dividedBy(other);
  65190. throw A.wrapException(A.SassScriptException$('Undefined operation "' + this.toString$0(0) + " / " + other.toString$0(0) + '".', null));
  65191. },
  65192. $eq(_, other) {
  65193. var t1, t2, _this = this;
  65194. if (other == null)
  65195. return false;
  65196. if (!(other instanceof A.SassColor))
  65197. return false;
  65198. t1 = _this._space;
  65199. if (t1.get$isLegacyInternal()) {
  65200. t2 = other._space;
  65201. if (!t2.get$isLegacyInternal())
  65202. return false;
  65203. if (!A.fuzzyEqualsNullable(_this.alphaOrNull, other.alphaOrNull))
  65204. return false;
  65205. if (t1 === t2)
  65206. return A.fuzzyEqualsNullable(_this.channel0OrNull, other.channel0OrNull) && A.fuzzyEqualsNullable(_this.channel1OrNull, other.channel1OrNull) && A.fuzzyEqualsNullable(_this.channel2OrNull, other.channel2OrNull);
  65207. else
  65208. return _this.toSpace$1(B.RgbColorSpace_i0P).$eq(0, other.toSpace$1(B.RgbColorSpace_i0P));
  65209. }
  65210. 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);
  65211. },
  65212. get$hashCode(_) {
  65213. var rgb, t2, t3, t4, t5, _this = this,
  65214. t1 = _this._space;
  65215. if (t1.get$isLegacyInternal()) {
  65216. rgb = _this.toSpace$1(B.RgbColorSpace_i0P);
  65217. t1 = rgb.channel0OrNull;
  65218. t1 = A.fuzzyHashCode(t1 == null ? 0 : t1);
  65219. t2 = rgb.channel1OrNull;
  65220. t2 = A.fuzzyHashCode(t2 == null ? 0 : t2);
  65221. t3 = rgb.channel2OrNull;
  65222. t3 = A.fuzzyHashCode(t3 == null ? 0 : t3);
  65223. t4 = _this.alphaOrNull;
  65224. return t1 ^ t2 ^ t3 ^ A.fuzzyHashCode(t4 == null ? 0 : t4);
  65225. } else {
  65226. t1 = A.Primitives_objectHashCode(t1);
  65227. t2 = _this.channel0OrNull;
  65228. t2 = A.fuzzyHashCode(t2 == null ? 0 : t2);
  65229. t3 = _this.channel1OrNull;
  65230. t3 = A.fuzzyHashCode(t3 == null ? 0 : t3);
  65231. t4 = _this.channel2OrNull;
  65232. t4 = A.fuzzyHashCode(t4 == null ? 0 : t4);
  65233. t5 = _this.alphaOrNull;
  65234. return (t1 ^ t2 ^ t3 ^ t4 ^ A.fuzzyHashCode(t5 == null ? 0 : t5)) >>> 0;
  65235. }
  65236. }
  65237. };
  65238. A.SassColor$_forSpace_closure.prototype = {
  65239. call$1(alpha) {
  65240. return A.fuzzyAssertRange(alpha, 0, 1, "alpha");
  65241. },
  65242. $signature: 16
  65243. };
  65244. A._ColorFormatEnum.prototype = {
  65245. toString$0(_) {
  65246. return "rgbFunction";
  65247. }
  65248. };
  65249. A.SpanColorFormat.prototype = {};
  65250. A.ColorChannel.prototype = {
  65251. isAnalogous$1(other) {
  65252. var _0_6_isSet, t1, _0_60, t2, _0_6_isSet0,
  65253. _0_1 = this.name,
  65254. _0_6 = other.name;
  65255. $label0$0: {
  65256. if ("red" !== _0_1)
  65257. _0_6_isSet = "x" === _0_1;
  65258. else
  65259. _0_6_isSet = true;
  65260. if (_0_6_isSet) {
  65261. if ("red" !== _0_6)
  65262. t1 = "x" === _0_6;
  65263. else
  65264. t1 = true;
  65265. _0_60 = _0_6;
  65266. } else {
  65267. _0_60 = null;
  65268. t1 = false;
  65269. }
  65270. t2 = true;
  65271. if (!t1) {
  65272. if ("green" !== _0_1)
  65273. t1 = "y" === _0_1;
  65274. else
  65275. t1 = true;
  65276. if (t1) {
  65277. _0_6_isSet0 = true;
  65278. if (_0_6_isSet)
  65279. t1 = _0_60;
  65280. else {
  65281. t1 = _0_6;
  65282. _0_6_isSet = _0_6_isSet0;
  65283. _0_60 = t1;
  65284. }
  65285. if ("green" !== t1) {
  65286. if (_0_6_isSet)
  65287. t1 = _0_60;
  65288. else {
  65289. t1 = _0_6;
  65290. _0_6_isSet = _0_6_isSet0;
  65291. _0_60 = t1;
  65292. }
  65293. t1 = "y" === t1;
  65294. } else
  65295. t1 = true;
  65296. } else
  65297. t1 = false;
  65298. if (!t1) {
  65299. if ("blue" !== _0_1)
  65300. t1 = "z" === _0_1;
  65301. else
  65302. t1 = true;
  65303. if (t1) {
  65304. _0_6_isSet0 = true;
  65305. if (_0_6_isSet)
  65306. t1 = _0_60;
  65307. else {
  65308. t1 = _0_6;
  65309. _0_6_isSet = _0_6_isSet0;
  65310. _0_60 = t1;
  65311. }
  65312. if ("blue" !== t1) {
  65313. if (_0_6_isSet)
  65314. t1 = _0_60;
  65315. else {
  65316. t1 = _0_6;
  65317. _0_6_isSet = _0_6_isSet0;
  65318. _0_60 = t1;
  65319. }
  65320. t1 = "z" === t1;
  65321. } else
  65322. t1 = true;
  65323. } else
  65324. t1 = false;
  65325. if (!t1) {
  65326. if ("chroma" !== _0_1)
  65327. t1 = "saturation" === _0_1;
  65328. else
  65329. t1 = true;
  65330. if (t1) {
  65331. _0_6_isSet0 = true;
  65332. if (_0_6_isSet)
  65333. t1 = _0_60;
  65334. else {
  65335. t1 = _0_6;
  65336. _0_6_isSet = _0_6_isSet0;
  65337. _0_60 = t1;
  65338. }
  65339. if ("chroma" !== t1) {
  65340. if (_0_6_isSet)
  65341. t1 = _0_60;
  65342. else {
  65343. t1 = _0_6;
  65344. _0_6_isSet = _0_6_isSet0;
  65345. _0_60 = t1;
  65346. }
  65347. t1 = "saturation" === t1;
  65348. } else
  65349. t1 = true;
  65350. } else
  65351. t1 = false;
  65352. if (!t1) {
  65353. if ("lightness" === _0_1) {
  65354. if (_0_6_isSet)
  65355. t1 = _0_60;
  65356. else {
  65357. t1 = _0_6;
  65358. _0_60 = t1;
  65359. _0_6_isSet = true;
  65360. }
  65361. t1 = "lightness" === t1;
  65362. } else
  65363. t1 = false;
  65364. if (!t1)
  65365. if ("hue" === _0_1)
  65366. t1 = "hue" === (_0_6_isSet ? _0_60 : _0_6);
  65367. else
  65368. t1 = false;
  65369. else
  65370. t1 = t2;
  65371. } else
  65372. t1 = t2;
  65373. } else
  65374. t1 = t2;
  65375. } else
  65376. t1 = t2;
  65377. } else
  65378. t1 = t2;
  65379. break $label0$0;
  65380. }
  65381. return t1;
  65382. }
  65383. };
  65384. A.LinearChannel.prototype = {};
  65385. A.GamutMapMethod.prototype = {
  65386. toString$0(_) {
  65387. return this.name;
  65388. }
  65389. };
  65390. A.ClipGamutMap.prototype = {
  65391. map$1(_, color) {
  65392. var t1 = color._space,
  65393. t2 = t1._channels;
  65394. 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);
  65395. },
  65396. _clampChannel$2(value, channel) {
  65397. var t1, min;
  65398. if (value == null)
  65399. t1 = null;
  65400. else
  65401. $label0$0: {
  65402. if (channel instanceof A.LinearChannel) {
  65403. min = channel.min;
  65404. t1 = isNaN(value) ? min : B.JSNumber_methods.clamp$2(value, min, channel.max);
  65405. break $label0$0;
  65406. }
  65407. t1 = value;
  65408. break $label0$0;
  65409. }
  65410. return t1;
  65411. }
  65412. };
  65413. A.LocalMindeGamutMap.prototype = {
  65414. map$1(_, color) {
  65415. var clipped, max, min, minInGamut, chroma, current, e,
  65416. originOklch = color.toSpace$1(B.OklchColorSpace_9Gj),
  65417. lightness = originOklch.channel0OrNull,
  65418. hue = originOklch.channel2OrNull,
  65419. alpha = originOklch.alphaOrNull,
  65420. t1 = lightness == null,
  65421. t2 = t1 ? 0 : lightness;
  65422. if (t2 > 1 || A.fuzzyEquals(t2, 1)) {
  65423. t1 = color._space;
  65424. t2 = color.alphaOrNull;
  65425. 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);
  65426. } else {
  65427. t1 = t1 ? 0 : lightness;
  65428. if (t1 < 0 || A.fuzzyEquals(t1, 0))
  65429. return A.SassColor_SassColor$rgbInternal(0, 0, 0, color.alphaOrNull, null).toSpace$1(color._space);
  65430. }
  65431. clipped = color.get$isInGamut() ? color : B.ClipGamutMap_clip.map$1(0, color);
  65432. if (this._deltaEOK$2(clipped, color) < 0.02)
  65433. return clipped;
  65434. max = originOklch.channel1OrNull;
  65435. if (max == null)
  65436. max = 0;
  65437. for (t1 = color._space, min = 0, minInGamut = true; max - min > 0.0001;) {
  65438. chroma = (min + max) / 2;
  65439. current = B.OklchColorSpace_9Gj.convert$5(t1, lightness, chroma, hue, alpha);
  65440. if (minInGamut && current.get$isInGamut()) {
  65441. min = chroma;
  65442. continue;
  65443. }
  65444. clipped = current.get$isInGamut() ? current : B.ClipGamutMap_clip.map$1(0, current);
  65445. e = this._deltaEOK$2(clipped, current);
  65446. if (e < 0.02) {
  65447. if (0.02 - e < 0.0001)
  65448. return clipped;
  65449. min = chroma;
  65450. minInGamut = false;
  65451. } else
  65452. max = chroma;
  65453. }
  65454. return clipped;
  65455. },
  65456. _deltaEOK$2(color1, color2) {
  65457. var t2, t3, t4,
  65458. lab1 = color1.toSpace$1(B.OklabColorSpace_540),
  65459. lab2 = color2.toSpace$1(B.OklabColorSpace_540),
  65460. t1 = lab1.channel0OrNull;
  65461. if (t1 == null)
  65462. t1 = 0;
  65463. t2 = lab2.channel0OrNull;
  65464. t1 = Math.pow(t1 - (t2 == null ? 0 : t2), 2);
  65465. t2 = lab1.channel1OrNull;
  65466. if (t2 == null)
  65467. t2 = 0;
  65468. t3 = lab2.channel1OrNull;
  65469. t2 = Math.pow(t2 - (t3 == null ? 0 : t3), 2);
  65470. t3 = lab1.channel2OrNull;
  65471. if (t3 == null)
  65472. t3 = 0;
  65473. t4 = lab2.channel2OrNull;
  65474. return Math.sqrt(t1 + t2 + Math.pow(t3 - (t4 == null ? 0 : t4), 2));
  65475. }
  65476. };
  65477. A.InterpolationMethod.prototype = {
  65478. toString$0(_) {
  65479. var t1 = this.hue;
  65480. t1 = t1 == null ? "" : " " + t1.toString$0(0) + " hue";
  65481. return this.space.name + t1;
  65482. }
  65483. };
  65484. A.HueInterpolationMethod.prototype = {
  65485. _enumToString$0() {
  65486. return "HueInterpolationMethod." + this._name;
  65487. }
  65488. };
  65489. A.ColorSpace.prototype = {
  65490. get$isLegacyInternal() {
  65491. return false;
  65492. },
  65493. get$isPolarInternal() {
  65494. return false;
  65495. },
  65496. convert$5(dest, channel0, channel1, channel2, alpha) {
  65497. return this.convertLinear$5(dest, channel0, channel1, channel2, alpha);
  65498. },
  65499. convertLinear$10$missingA$missingB$missingChroma$missingHue$missingLightness(dest, red, green, blue, alpha, missingA, missingB, missingChroma, missingHue, missingLightness) {
  65500. var t1, t2, transformedBlue, transformedGreen, transformedRed, linearRed, linearGreen, linearBlue, matrix, _this = this;
  65501. $label0$0: {
  65502. t1 = B.HslColorSpace_JQ2 !== dest;
  65503. if (!t1 || B.HwbColorSpace_guQ === dest) {
  65504. t2 = B.SrgbColorSpace_thf;
  65505. break $label0$0;
  65506. }
  65507. if (B.LabColorSpace_2nT === dest || B.LchColorSpace_Bpv === dest) {
  65508. t2 = B.XyzD50ColorSpace_2OB;
  65509. break $label0$0;
  65510. }
  65511. if (B.OklabColorSpace_540 === dest || B.OklchColorSpace_9Gj === dest) {
  65512. t2 = B.LmsColorSpace_Os3;
  65513. break $label0$0;
  65514. }
  65515. t2 = dest;
  65516. break $label0$0;
  65517. }
  65518. if (t2 === _this) {
  65519. transformedBlue = blue;
  65520. transformedGreen = green;
  65521. transformedRed = red;
  65522. } else {
  65523. linearRed = _this.toLinear$1(red == null ? 0 : red);
  65524. linearGreen = _this.toLinear$1(green == null ? 0 : green);
  65525. linearBlue = _this.toLinear$1(blue == null ? 0 : blue);
  65526. matrix = _this.transformationMatrix$1(t2);
  65527. transformedRed = t2.fromLinear$1(matrix[0] * linearRed + matrix[1] * linearGreen + matrix[2] * linearBlue);
  65528. transformedGreen = t2.fromLinear$1(matrix[3] * linearRed + matrix[4] * linearGreen + matrix[5] * linearBlue);
  65529. transformedBlue = t2.fromLinear$1(matrix[6] * linearRed + matrix[7] * linearGreen + matrix[8] * linearBlue);
  65530. }
  65531. $label1$1: {
  65532. if (!t1 || B.HwbColorSpace_guQ === dest) {
  65533. t1 = B.SrgbColorSpace_thf.convert$8$missingChroma$missingHue$missingLightness(dest, transformedRed, transformedGreen, transformedBlue, alpha, missingChroma, missingHue, missingLightness);
  65534. break $label1$1;
  65535. }
  65536. if (B.LabColorSpace_2nT === dest || B.LchColorSpace_Bpv === dest) {
  65537. t1 = B.XyzD50ColorSpace_2OB.convert$10$missingA$missingB$missingChroma$missingHue$missingLightness(dest, transformedRed, transformedGreen, transformedBlue, alpha, missingA, missingB, missingChroma, missingHue, missingLightness);
  65538. break $label1$1;
  65539. }
  65540. if (B.OklabColorSpace_540 === dest || B.OklchColorSpace_9Gj === dest) {
  65541. t1 = B.LmsColorSpace_Os3.convert$10$missingA$missingB$missingChroma$missingHue$missingLightness(dest, transformedRed, transformedGreen, transformedBlue, alpha, missingA, missingB, missingChroma, missingHue, missingLightness);
  65542. break $label1$1;
  65543. }
  65544. t1 = red == null ? null : transformedRed;
  65545. t2 = green == null ? null : transformedGreen;
  65546. t1 = A.SassColor_SassColor$forSpaceInternal(dest, t1, t2, blue == null ? null : transformedBlue, alpha);
  65547. break $label1$1;
  65548. }
  65549. return t1;
  65550. },
  65551. convertLinear$5(dest, red, green, blue, alpha) {
  65552. return this.convertLinear$10$missingA$missingB$missingChroma$missingHue$missingLightness(dest, red, green, blue, alpha, false, false, false, false, false);
  65553. },
  65554. toLinear$1(channel) {
  65555. return A.throwExpression(A.UnimplementedError$("[BUG] Color space " + this.toString$0(0) + " doesn't support linear conversions."));
  65556. },
  65557. fromLinear$1(channel) {
  65558. return A.throwExpression(A.UnimplementedError$("[BUG] Color space " + this.toString$0(0) + " doesn't support linear conversions."));
  65559. },
  65560. transformationMatrix$1(dest) {
  65561. return A.throwExpression(A.UnimplementedError$("[BUG] Color space conversion from " + this.toString$0(0) + " to " + dest.toString$0(0) + " not implemented."));
  65562. },
  65563. toString$0(_) {
  65564. return this.name;
  65565. }
  65566. };
  65567. A.A98RgbColorSpace.prototype = {
  65568. get$isBoundedInternal() {
  65569. return true;
  65570. },
  65571. toLinear$1(channel) {
  65572. return J.get$sign$in(channel) * Math.pow(Math.abs(channel), 2.19921875);
  65573. },
  65574. fromLinear$1(channel) {
  65575. return J.get$sign$in(channel) * Math.pow(Math.abs(channel), 0.4547069271758437);
  65576. },
  65577. transformationMatrix$1(dest) {
  65578. var t1;
  65579. $label0$0: {
  65580. if (B.SrgbLinearColorSpace_kUj === dest || B.SrgbColorSpace_thf === dest || B.RgbColorSpace_i0P === dest) {
  65581. t1 = $.$get$linearA98RgbToLinearSrgb();
  65582. break $label0$0;
  65583. }
  65584. if (B.DisplayP3ColorSpace_MmT === dest) {
  65585. t1 = $.$get$linearA98RgbToLinearDisplayP3();
  65586. break $label0$0;
  65587. }
  65588. if (B.ProphotoRgbColorSpace_BDz === dest) {
  65589. t1 = $.$get$linearA98RgbToLinearProphotoRgb();
  65590. break $label0$0;
  65591. }
  65592. if (B.Rec2020ColorSpace_6oo === dest) {
  65593. t1 = $.$get$linearA98RgbToLinearRec2020();
  65594. break $label0$0;
  65595. }
  65596. if (B.XyzD65ColorSpace_WiJ === dest) {
  65597. t1 = $.$get$linearA98RgbToXyzD65();
  65598. break $label0$0;
  65599. }
  65600. if (B.XyzD50ColorSpace_2OB === dest) {
  65601. t1 = $.$get$linearA98RgbToXyzD50();
  65602. break $label0$0;
  65603. }
  65604. if (B.LmsColorSpace_Os3 === dest) {
  65605. t1 = $.$get$linearA98RgbToLms();
  65606. break $label0$0;
  65607. }
  65608. t1 = this.super$ColorSpace$transformationMatrix(dest);
  65609. break $label0$0;
  65610. }
  65611. return t1;
  65612. }
  65613. };
  65614. A.DisplayP3ColorSpace.prototype = {
  65615. get$isBoundedInternal() {
  65616. return true;
  65617. },
  65618. toLinear$1(channel) {
  65619. return A.srgbAndDisplayP3ToLinear(channel);
  65620. },
  65621. fromLinear$1(channel) {
  65622. return A.srgbAndDisplayP3FromLinear(channel);
  65623. },
  65624. transformationMatrix$1(dest) {
  65625. var t1;
  65626. $label0$0: {
  65627. if (B.SrgbLinearColorSpace_kUj === dest || B.SrgbColorSpace_thf === dest || B.RgbColorSpace_i0P === dest) {
  65628. t1 = $.$get$linearDisplayP3ToLinearSrgb();
  65629. break $label0$0;
  65630. }
  65631. if (B.A98RgbColorSpace_lf2 === dest) {
  65632. t1 = $.$get$linearDisplayP3ToLinearA98Rgb();
  65633. break $label0$0;
  65634. }
  65635. if (B.ProphotoRgbColorSpace_BDz === dest) {
  65636. t1 = $.$get$linearDisplayP3ToLinearProphotoRgb();
  65637. break $label0$0;
  65638. }
  65639. if (B.Rec2020ColorSpace_6oo === dest) {
  65640. t1 = $.$get$linearDisplayP3ToLinearRec2020();
  65641. break $label0$0;
  65642. }
  65643. if (B.XyzD65ColorSpace_WiJ === dest) {
  65644. t1 = $.$get$linearDisplayP3ToXyzD65();
  65645. break $label0$0;
  65646. }
  65647. if (B.XyzD50ColorSpace_2OB === dest) {
  65648. t1 = $.$get$linearDisplayP3ToXyzD50();
  65649. break $label0$0;
  65650. }
  65651. if (B.LmsColorSpace_Os3 === dest) {
  65652. t1 = $.$get$linearDisplayP3ToLms();
  65653. break $label0$0;
  65654. }
  65655. t1 = this.super$ColorSpace$transformationMatrix(dest);
  65656. break $label0$0;
  65657. }
  65658. return t1;
  65659. }
  65660. };
  65661. A.HslColorSpace.prototype = {
  65662. get$isBoundedInternal() {
  65663. return true;
  65664. },
  65665. get$isLegacyInternal() {
  65666. return true;
  65667. },
  65668. get$isPolarInternal() {
  65669. return true;
  65670. },
  65671. convert$5(dest, hue, saturation, lightness, alpha) {
  65672. var t1 = hue == null,
  65673. scaledHue = B.JSNumber_methods.$mod((t1 ? 0 : hue) / 360, 1),
  65674. t2 = saturation == null,
  65675. scaledSaturation = (t2 ? 0 : saturation) / 100,
  65676. t3 = lightness == null,
  65677. scaledLightness = (t3 ? 0 : lightness) / 100,
  65678. m2 = scaledLightness <= 0.5 ? scaledLightness * (scaledSaturation + 1) : scaledLightness + scaledSaturation - scaledLightness * scaledSaturation,
  65679. m1 = scaledLightness * 2 - m2;
  65680. 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);
  65681. }
  65682. };
  65683. A.HwbColorSpace.prototype = {
  65684. get$isBoundedInternal() {
  65685. return true;
  65686. },
  65687. get$isLegacyInternal() {
  65688. return true;
  65689. },
  65690. get$isPolarInternal() {
  65691. return true;
  65692. },
  65693. convert$5(dest, hue, whiteness, blackness, alpha) {
  65694. var t3, t1 = {},
  65695. t2 = hue == null,
  65696. scaledHue = B.JSNumber_methods.$mod(t2 ? 0 : hue, 360) / 360,
  65697. scaledWhiteness = t1.scaledWhiteness = (whiteness == null ? 0 : whiteness) / 100,
  65698. scaledBlackness = (blackness == null ? 0 : blackness) / 100,
  65699. sum = scaledWhiteness + scaledBlackness;
  65700. if (sum > 1) {
  65701. t3 = t1.scaledWhiteness = scaledWhiteness / sum;
  65702. scaledBlackness /= sum;
  65703. } else
  65704. t3 = scaledWhiteness;
  65705. t3 = new A.HwbColorSpace_convert_toRgb(t1, 1 - t3 - scaledBlackness);
  65706. 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);
  65707. }
  65708. };
  65709. A.HwbColorSpace_convert_toRgb.prototype = {
  65710. call$1(hue) {
  65711. return A.hueToRgb(0, 1, hue) * this.factor + this._box_0.scaledWhiteness;
  65712. },
  65713. $signature: 16
  65714. };
  65715. A.LabColorSpace.prototype = {
  65716. get$isBoundedInternal() {
  65717. return false;
  65718. },
  65719. convert$7$missingChroma$missingHue(dest, lightness, a, b, alpha, missingChroma, missingHue) {
  65720. var powerlessAB, t1, missingLightness, f1, t2, t3, t4;
  65721. switch (dest) {
  65722. case B.LabColorSpace_2nT:
  65723. powerlessAB = lightness == null || A.fuzzyEquals(lightness, 0);
  65724. t1 = a == null || powerlessAB ? null : a;
  65725. return A.SassColor$_forSpace(B.LabColorSpace_2nT, lightness, t1, b == null || powerlessAB ? null : b, alpha, null);
  65726. case B.LchColorSpace_Bpv:
  65727. return A.labToLch(dest, lightness, a, b, alpha, false, false);
  65728. default:
  65729. missingLightness = lightness == null;
  65730. if (missingLightness)
  65731. lightness = 0;
  65732. f1 = (lightness + 16) / 116;
  65733. t1 = a == null;
  65734. t2 = this._convertFToXorZ$1((t1 ? 0 : a) / 500 + f1);
  65735. t3 = lightness > 8 ? Math.pow(f1, 3) : lightness / 903.2962962962963;
  65736. t4 = b == null;
  65737. 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);
  65738. }
  65739. },
  65740. convert$5(dest, lightness, a, b, alpha) {
  65741. return this.convert$7$missingChroma$missingHue(dest, lightness, a, b, alpha, false, false);
  65742. },
  65743. _convertFToXorZ$1(component) {
  65744. var cubed = Math.pow(component, 3) + 0;
  65745. return cubed > 0.008856451679035631 ? cubed : (116 * component - 16) / 903.2962962962963;
  65746. }
  65747. };
  65748. A.LchColorSpace.prototype = {
  65749. get$isBoundedInternal() {
  65750. return false;
  65751. },
  65752. get$isPolarInternal() {
  65753. return true;
  65754. },
  65755. convert$5(dest, lightness, chroma, hue, alpha) {
  65756. var t1 = hue == null,
  65757. hueRadians = (t1 ? 0 : hue) * 3.141592653589793 / 180,
  65758. t2 = chroma == null,
  65759. t3 = t2 ? 0 : chroma,
  65760. t4 = Math.cos(hueRadians),
  65761. t5 = t2 ? 0 : chroma;
  65762. return B.LabColorSpace_2nT.convert$7$missingChroma$missingHue(dest, lightness, t3 * t4, t5 * Math.sin(hueRadians), alpha, t2, t1);
  65763. }
  65764. };
  65765. A.LmsColorSpace.prototype = {
  65766. get$isBoundedInternal() {
  65767. return false;
  65768. },
  65769. convert$10$missingA$missingB$missingChroma$missingHue$missingLightness(dest, long, medium, short, alpha, missingA, missingB, missingChroma, missingHue, missingLightness) {
  65770. var t1, longScaled, mediumScaled, shortScaled, lightness, t2, t3, _null = null;
  65771. switch (dest) {
  65772. case B.OklabColorSpace_540:
  65773. t1 = long == null ? 0 : long;
  65774. longScaled = Math.pow(Math.abs(t1), 0.3333333333333333) * J.get$sign$in(t1);
  65775. t1 = medium == null ? 0 : medium;
  65776. mediumScaled = Math.pow(Math.abs(t1), 0.3333333333333333) * J.get$sign$in(t1);
  65777. t1 = short == null ? 0 : short;
  65778. shortScaled = Math.pow(Math.abs(t1), 0.3333333333333333) * J.get$sign$in(t1);
  65779. t1 = $.$get$lmsToOklab();
  65780. lightness = t1[0] * longScaled + t1[1] * mediumScaled + t1[2] * shortScaled;
  65781. t2 = missingLightness ? _null : lightness;
  65782. t3 = missingA ? _null : t1[3] * longScaled + t1[4] * mediumScaled + t1[5] * shortScaled;
  65783. return A.SassColor$_forSpace(B.OklabColorSpace_540, t2, t3, missingB ? _null : t1[6] * longScaled + t1[7] * mediumScaled + t1[8] * shortScaled, alpha, _null);
  65784. case B.OklchColorSpace_9Gj:
  65785. t1 = long == null ? 0 : long;
  65786. longScaled = Math.pow(Math.abs(t1), 0.3333333333333333) * J.get$sign$in(t1);
  65787. t1 = medium == null ? 0 : medium;
  65788. mediumScaled = Math.pow(Math.abs(t1), 0.3333333333333333) * J.get$sign$in(t1);
  65789. t1 = short == null ? 0 : short;
  65790. shortScaled = Math.pow(Math.abs(t1), 0.3333333333333333) * J.get$sign$in(t1);
  65791. if (missingLightness)
  65792. t1 = _null;
  65793. else {
  65794. t1 = $.$get$lmsToOklab();
  65795. t1 = t1[0] * longScaled + t1[1] * mediumScaled + t1[2] * shortScaled;
  65796. }
  65797. t2 = $.$get$lmsToOklab();
  65798. 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);
  65799. default:
  65800. return this.super$ColorSpace$convertLinear(dest, long, medium, short, alpha, missingA, missingB, missingChroma, missingHue, missingLightness);
  65801. }
  65802. },
  65803. convert$5(dest, long, medium, short, alpha) {
  65804. return this.convert$10$missingA$missingB$missingChroma$missingHue$missingLightness(dest, long, medium, short, alpha, false, false, false, false, false);
  65805. },
  65806. toLinear$1(channel) {
  65807. return channel;
  65808. },
  65809. fromLinear$1(channel) {
  65810. return channel;
  65811. },
  65812. transformationMatrix$1(dest) {
  65813. var t1;
  65814. $label0$0: {
  65815. if (B.SrgbLinearColorSpace_kUj === dest || B.SrgbColorSpace_thf === dest || B.RgbColorSpace_i0P === dest) {
  65816. t1 = $.$get$lmsToLinearSrgb();
  65817. break $label0$0;
  65818. }
  65819. if (B.A98RgbColorSpace_lf2 === dest) {
  65820. t1 = $.$get$lmsToLinearA98Rgb();
  65821. break $label0$0;
  65822. }
  65823. if (B.ProphotoRgbColorSpace_BDz === dest) {
  65824. t1 = $.$get$lmsToLinearProphotoRgb();
  65825. break $label0$0;
  65826. }
  65827. if (B.DisplayP3ColorSpace_MmT === dest) {
  65828. t1 = $.$get$lmsToLinearDisplayP3();
  65829. break $label0$0;
  65830. }
  65831. if (B.Rec2020ColorSpace_6oo === dest) {
  65832. t1 = $.$get$lmsToLinearRec2020();
  65833. break $label0$0;
  65834. }
  65835. if (B.XyzD65ColorSpace_WiJ === dest) {
  65836. t1 = $.$get$lmsToXyzD65();
  65837. break $label0$0;
  65838. }
  65839. if (B.XyzD50ColorSpace_2OB === dest) {
  65840. t1 = $.$get$lmsToXyzD50();
  65841. break $label0$0;
  65842. }
  65843. t1 = this.super$ColorSpace$transformationMatrix(dest);
  65844. break $label0$0;
  65845. }
  65846. return t1;
  65847. }
  65848. };
  65849. A.OklabColorSpace.prototype = {
  65850. get$isBoundedInternal() {
  65851. return false;
  65852. },
  65853. convert$7$missingChroma$missingHue(dest, lightness, a, b, alpha, missingChroma, missingHue) {
  65854. var missingLightness, missingA, missingB, t1;
  65855. if (dest === B.OklchColorSpace_9Gj)
  65856. return A.labToLch(dest, lightness, a, b, alpha, missingChroma, missingHue);
  65857. missingLightness = lightness == null;
  65858. missingA = a == null;
  65859. missingB = b == null;
  65860. if (missingLightness)
  65861. lightness = 0;
  65862. if (missingA)
  65863. a = 0;
  65864. if (missingB)
  65865. b = 0;
  65866. t1 = $.$get$oklabToLms();
  65867. 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);
  65868. },
  65869. convert$5(dest, lightness, a, b, alpha) {
  65870. return this.convert$7$missingChroma$missingHue(dest, lightness, a, b, alpha, false, false);
  65871. }
  65872. };
  65873. A.OklchColorSpace.prototype = {
  65874. get$isBoundedInternal() {
  65875. return false;
  65876. },
  65877. get$isPolarInternal() {
  65878. return true;
  65879. },
  65880. convert$5(dest, lightness, chroma, hue, alpha) {
  65881. var t1 = hue == null,
  65882. hueRadians = (t1 ? 0 : hue) * 3.141592653589793 / 180,
  65883. t2 = chroma == null,
  65884. t3 = t2 ? 0 : chroma,
  65885. t4 = Math.cos(hueRadians),
  65886. t5 = t2 ? 0 : chroma;
  65887. return B.OklabColorSpace_540.convert$7$missingChroma$missingHue(dest, lightness, t3 * t4, t5 * Math.sin(hueRadians), alpha, t2, t1);
  65888. }
  65889. };
  65890. A.ProphotoRgbColorSpace.prototype = {
  65891. get$isBoundedInternal() {
  65892. return true;
  65893. },
  65894. toLinear$1(channel) {
  65895. var abs = Math.abs(channel);
  65896. return abs <= 0.03125 ? channel / 16 : J.get$sign$in(channel) * Math.pow(abs, 1.8);
  65897. },
  65898. fromLinear$1(channel) {
  65899. var abs = Math.abs(channel);
  65900. return abs >= 0.001953125 ? J.get$sign$in(channel) * Math.pow(abs, 0.5555555555555556) : 16 * channel;
  65901. },
  65902. transformationMatrix$1(dest) {
  65903. var t1;
  65904. $label0$0: {
  65905. if (B.SrgbLinearColorSpace_kUj === dest || B.SrgbColorSpace_thf === dest || B.RgbColorSpace_i0P === dest) {
  65906. t1 = $.$get$linearProphotoRgbToLinearSrgb();
  65907. break $label0$0;
  65908. }
  65909. if (B.A98RgbColorSpace_lf2 === dest) {
  65910. t1 = $.$get$linearProphotoRgbToLinearA98Rgb();
  65911. break $label0$0;
  65912. }
  65913. if (B.DisplayP3ColorSpace_MmT === dest) {
  65914. t1 = $.$get$linearProphotoRgbToLinearDisplayP3();
  65915. break $label0$0;
  65916. }
  65917. if (B.Rec2020ColorSpace_6oo === dest) {
  65918. t1 = $.$get$linearProphotoRgbToLinearRec2020();
  65919. break $label0$0;
  65920. }
  65921. if (B.XyzD65ColorSpace_WiJ === dest) {
  65922. t1 = $.$get$linearProphotoRgbToXyzD65();
  65923. break $label0$0;
  65924. }
  65925. if (B.XyzD50ColorSpace_2OB === dest) {
  65926. t1 = $.$get$linearProphotoRgbToXyzD50();
  65927. break $label0$0;
  65928. }
  65929. if (B.LmsColorSpace_Os3 === dest) {
  65930. t1 = $.$get$linearProphotoRgbToLms();
  65931. break $label0$0;
  65932. }
  65933. t1 = this.super$ColorSpace$transformationMatrix(dest);
  65934. break $label0$0;
  65935. }
  65936. return t1;
  65937. }
  65938. };
  65939. A.Rec2020ColorSpace.prototype = {
  65940. get$isBoundedInternal() {
  65941. return true;
  65942. },
  65943. toLinear$1(channel) {
  65944. var abs = Math.abs(channel);
  65945. return abs < 0.08124285829863151 ? channel / 4.5 : J.get$sign$in(channel) * Math.pow((abs + 1.09929682680944 - 1) / 1.09929682680944, 2.2222222222222223);
  65946. },
  65947. fromLinear$1(channel) {
  65948. var abs = Math.abs(channel);
  65949. return abs > 0.018053968510807 ? J.get$sign$in(channel) * (1.09929682680944 * Math.pow(abs, 0.45) - 0.09929682680944008) : 4.5 * channel;
  65950. },
  65951. transformationMatrix$1(dest) {
  65952. var t1;
  65953. $label0$0: {
  65954. if (B.SrgbLinearColorSpace_kUj === dest || B.SrgbColorSpace_thf === dest || B.RgbColorSpace_i0P === dest) {
  65955. t1 = $.$get$linearRec2020ToLinearSrgb();
  65956. break $label0$0;
  65957. }
  65958. if (B.A98RgbColorSpace_lf2 === dest) {
  65959. t1 = $.$get$linearRec2020ToLinearA98Rgb();
  65960. break $label0$0;
  65961. }
  65962. if (B.DisplayP3ColorSpace_MmT === dest) {
  65963. t1 = $.$get$linearRec2020ToLinearDisplayP3();
  65964. break $label0$0;
  65965. }
  65966. if (B.ProphotoRgbColorSpace_BDz === dest) {
  65967. t1 = $.$get$linearRec2020ToLinearProphotoRgb();
  65968. break $label0$0;
  65969. }
  65970. if (B.XyzD65ColorSpace_WiJ === dest) {
  65971. t1 = $.$get$linearRec2020ToXyzD65();
  65972. break $label0$0;
  65973. }
  65974. if (B.XyzD50ColorSpace_2OB === dest) {
  65975. t1 = $.$get$linearRec2020ToXyzD50();
  65976. break $label0$0;
  65977. }
  65978. if (B.LmsColorSpace_Os3 === dest) {
  65979. t1 = $.$get$linearRec2020ToLms();
  65980. break $label0$0;
  65981. }
  65982. t1 = this.super$ColorSpace$transformationMatrix(dest);
  65983. break $label0$0;
  65984. }
  65985. return t1;
  65986. }
  65987. };
  65988. A.RgbColorSpace.prototype = {
  65989. get$isBoundedInternal() {
  65990. return true;
  65991. },
  65992. get$isLegacyInternal() {
  65993. return true;
  65994. },
  65995. convert$5(dest, red, green, blue, alpha) {
  65996. var t1 = red == null ? null : red / 255,
  65997. t2 = green == null ? null : green / 255;
  65998. return B.SrgbColorSpace_thf.convert$5(dest, t1, t2, blue == null ? null : blue / 255, alpha);
  65999. },
  66000. toLinear$1(channel) {
  66001. return A.srgbAndDisplayP3ToLinear(channel / 255);
  66002. },
  66003. fromLinear$1(channel) {
  66004. return A.srgbAndDisplayP3FromLinear(channel) * 255;
  66005. }
  66006. };
  66007. A.SrgbColorSpace.prototype = {
  66008. get$isBoundedInternal() {
  66009. return true;
  66010. },
  66011. convert$8$missingChroma$missingHue$missingLightness(dest, red, green, blue, alpha, missingChroma, missingHue, missingLightness) {
  66012. var max, min, delta, hue, lightness, saturation, t1, t2, whiteness, blackness, _null = null;
  66013. if (B.HslColorSpace_JQ2 === dest || B.HwbColorSpace_guQ === dest) {
  66014. if (red == null)
  66015. red = 0;
  66016. if (green == null)
  66017. green = 0;
  66018. if (blue == null)
  66019. blue = 0;
  66020. max = Math.max(Math.max(red, green), blue);
  66021. min = Math.min(Math.min(red, green), blue);
  66022. delta = max - min;
  66023. if (max === min)
  66024. hue = 0;
  66025. else if (max === red)
  66026. hue = 60 * (green - blue) / delta + 360;
  66027. else
  66028. hue = max === green ? 60 * (blue - red) / delta + 120 : 60 * (red - green) / delta + 240;
  66029. if (dest === B.HslColorSpace_JQ2) {
  66030. lightness = (min + max) / 2;
  66031. saturation = lightness === 0 || lightness === 1 ? 0 : 100 * (max - lightness) / Math.min(lightness, 1 - lightness);
  66032. if (saturation < 0) {
  66033. hue += 180;
  66034. saturation = Math.abs(saturation);
  66035. }
  66036. t1 = missingHue || A.fuzzyEquals(saturation, 0) ? _null : B.JSNumber_methods.$mod(hue, 360);
  66037. t2 = missingChroma ? _null : saturation;
  66038. return A.SassColor_SassColor$forSpaceInternal(dest, t1, t2, missingLightness ? _null : lightness * 100, alpha);
  66039. } else {
  66040. whiteness = min * 100;
  66041. blackness = 100 - max * 100;
  66042. if (!missingHue) {
  66043. t1 = whiteness + blackness;
  66044. t1 = t1 > 100 || A.fuzzyEquals(t1, 100);
  66045. } else
  66046. t1 = true;
  66047. return A.SassColor_SassColor$forSpaceInternal(dest, t1 ? _null : B.JSNumber_methods.$mod(hue, 360), whiteness, blackness, alpha);
  66048. }
  66049. }
  66050. if (B.RgbColorSpace_i0P === dest) {
  66051. t1 = red == null ? _null : red * 255;
  66052. t2 = green == null ? _null : green * 255;
  66053. return A.SassColor_SassColor$rgbInternal(t1, t2, blue == null ? _null : blue * 255, alpha, _null);
  66054. }
  66055. if (B.SrgbLinearColorSpace_kUj === dest) {
  66056. t1 = this.get$toLinear();
  66057. return A.SassColor_SassColor$forSpaceInternal(dest, A.NullableExtension_andThen(red, t1), A.NullableExtension_andThen(green, t1), A.NullableExtension_andThen(blue, t1), alpha);
  66058. }
  66059. return this.super$ColorSpace$convertLinear(dest, red, green, blue, alpha, false, false, missingChroma, missingHue, missingLightness);
  66060. },
  66061. convert$5(dest, red, green, blue, alpha) {
  66062. return this.convert$8$missingChroma$missingHue$missingLightness(dest, red, green, blue, alpha, false, false, false);
  66063. },
  66064. convert$6$missingHue(dest, red, green, blue, alpha, missingHue) {
  66065. return this.convert$8$missingChroma$missingHue$missingLightness(dest, red, green, blue, alpha, false, missingHue, false);
  66066. },
  66067. toLinear$1(channel) {
  66068. return A.srgbAndDisplayP3ToLinear(channel);
  66069. },
  66070. fromLinear$1(channel) {
  66071. return A.srgbAndDisplayP3FromLinear(channel);
  66072. },
  66073. transformationMatrix$1(dest) {
  66074. var t1;
  66075. $label0$0: {
  66076. if (B.DisplayP3ColorSpace_MmT === dest) {
  66077. t1 = $.$get$linearSrgbToLinearDisplayP3();
  66078. break $label0$0;
  66079. }
  66080. if (B.A98RgbColorSpace_lf2 === dest) {
  66081. t1 = $.$get$linearSrgbToLinearA98Rgb();
  66082. break $label0$0;
  66083. }
  66084. if (B.ProphotoRgbColorSpace_BDz === dest) {
  66085. t1 = $.$get$linearSrgbToLinearProphotoRgb();
  66086. break $label0$0;
  66087. }
  66088. if (B.Rec2020ColorSpace_6oo === dest) {
  66089. t1 = $.$get$linearSrgbToLinearRec2020();
  66090. break $label0$0;
  66091. }
  66092. if (B.XyzD65ColorSpace_WiJ === dest) {
  66093. t1 = $.$get$linearSrgbToXyzD65();
  66094. break $label0$0;
  66095. }
  66096. if (B.XyzD50ColorSpace_2OB === dest) {
  66097. t1 = $.$get$linearSrgbToXyzD50();
  66098. break $label0$0;
  66099. }
  66100. if (B.LmsColorSpace_Os3 === dest) {
  66101. t1 = $.$get$linearSrgbToLms();
  66102. break $label0$0;
  66103. }
  66104. t1 = this.super$ColorSpace$transformationMatrix(dest);
  66105. break $label0$0;
  66106. }
  66107. return t1;
  66108. }
  66109. };
  66110. A.SrgbLinearColorSpace.prototype = {
  66111. get$isBoundedInternal() {
  66112. return true;
  66113. },
  66114. convert$5(dest, red, green, blue, alpha) {
  66115. var t1;
  66116. $label0$0: {
  66117. if (B.RgbColorSpace_i0P === dest || B.HslColorSpace_JQ2 === dest || B.HwbColorSpace_guQ === dest || B.SrgbColorSpace_thf === dest) {
  66118. 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);
  66119. break $label0$0;
  66120. }
  66121. t1 = this.super$ColorSpace$convert(dest, red, green, blue, alpha);
  66122. break $label0$0;
  66123. }
  66124. return t1;
  66125. },
  66126. toLinear$1(channel) {
  66127. return channel;
  66128. },
  66129. fromLinear$1(channel) {
  66130. return channel;
  66131. },
  66132. transformationMatrix$1(dest) {
  66133. var t1;
  66134. $label0$0: {
  66135. if (B.DisplayP3ColorSpace_MmT === dest) {
  66136. t1 = $.$get$linearSrgbToLinearDisplayP3();
  66137. break $label0$0;
  66138. }
  66139. if (B.A98RgbColorSpace_lf2 === dest) {
  66140. t1 = $.$get$linearSrgbToLinearA98Rgb();
  66141. break $label0$0;
  66142. }
  66143. if (B.ProphotoRgbColorSpace_BDz === dest) {
  66144. t1 = $.$get$linearSrgbToLinearProphotoRgb();
  66145. break $label0$0;
  66146. }
  66147. if (B.Rec2020ColorSpace_6oo === dest) {
  66148. t1 = $.$get$linearSrgbToLinearRec2020();
  66149. break $label0$0;
  66150. }
  66151. if (B.XyzD65ColorSpace_WiJ === dest) {
  66152. t1 = $.$get$linearSrgbToXyzD65();
  66153. break $label0$0;
  66154. }
  66155. if (B.XyzD50ColorSpace_2OB === dest) {
  66156. t1 = $.$get$linearSrgbToXyzD50();
  66157. break $label0$0;
  66158. }
  66159. if (B.LmsColorSpace_Os3 === dest) {
  66160. t1 = $.$get$linearSrgbToLms();
  66161. break $label0$0;
  66162. }
  66163. t1 = this.super$ColorSpace$transformationMatrix(dest);
  66164. break $label0$0;
  66165. }
  66166. return t1;
  66167. }
  66168. };
  66169. A.XyzD50ColorSpace.prototype = {
  66170. get$isBoundedInternal() {
  66171. return false;
  66172. },
  66173. convert$10$missingA$missingB$missingChroma$missingHue$missingLightness(dest, x, y, z, alpha, missingA, missingB, missingChroma, missingHue, missingLightness) {
  66174. var f0, f1, f2, lightness, a, b, t1, _this = this, _null = null;
  66175. if (B.LabColorSpace_2nT === dest || B.LchColorSpace_Bpv === dest) {
  66176. f0 = _this._convertComponentToLabF$1((x == null ? 0 : x) / 0.9642956764295677);
  66177. f1 = _this._convertComponentToLabF$1((y == null ? 0 : y) / 1);
  66178. f2 = _this._convertComponentToLabF$1((z == null ? 0 : z) / 0.8251046025104602);
  66179. lightness = missingLightness ? _null : 116 * f1 - 16;
  66180. a = 500 * (f0 - f1);
  66181. b = 200 * (f1 - f2);
  66182. if (dest === B.LabColorSpace_2nT) {
  66183. t1 = missingA ? _null : a;
  66184. t1 = A.SassColor$_forSpace(B.LabColorSpace_2nT, lightness, t1, missingB ? _null : b, alpha, _null);
  66185. } else
  66186. t1 = A.labToLch(B.LchColorSpace_Bpv, lightness, a, b, alpha, missingChroma, missingHue);
  66187. return t1;
  66188. }
  66189. return _this.super$ColorSpace$convertLinear(dest, x, y, z, alpha, missingA, missingB, missingChroma, missingHue, missingLightness);
  66190. },
  66191. convert$5(dest, x, y, z, alpha) {
  66192. return this.convert$10$missingA$missingB$missingChroma$missingHue$missingLightness(dest, x, y, z, alpha, false, false, false, false, false);
  66193. },
  66194. _convertComponentToLabF$1(component) {
  66195. return component > 0.008856451679035631 ? Math.pow(component, 0.3333333333333333) + 0 : (903.2962962962963 * component + 16) / 116;
  66196. },
  66197. toLinear$1(channel) {
  66198. return channel;
  66199. },
  66200. fromLinear$1(channel) {
  66201. return channel;
  66202. },
  66203. transformationMatrix$1(dest) {
  66204. var t1;
  66205. $label0$0: {
  66206. if (B.SrgbLinearColorSpace_kUj === dest || B.SrgbColorSpace_thf === dest || B.RgbColorSpace_i0P === dest) {
  66207. t1 = $.$get$xyzD50ToLinearSrgb();
  66208. break $label0$0;
  66209. }
  66210. if (B.A98RgbColorSpace_lf2 === dest) {
  66211. t1 = $.$get$xyzD50ToLinearA98Rgb();
  66212. break $label0$0;
  66213. }
  66214. if (B.ProphotoRgbColorSpace_BDz === dest) {
  66215. t1 = $.$get$xyzD50ToLinearProphotoRgb();
  66216. break $label0$0;
  66217. }
  66218. if (B.DisplayP3ColorSpace_MmT === dest) {
  66219. t1 = $.$get$xyzD50ToLinearDisplayP3();
  66220. break $label0$0;
  66221. }
  66222. if (B.Rec2020ColorSpace_6oo === dest) {
  66223. t1 = $.$get$xyzD50ToLinearRec2020();
  66224. break $label0$0;
  66225. }
  66226. if (B.XyzD65ColorSpace_WiJ === dest) {
  66227. t1 = $.$get$xyzD50ToXyzD65();
  66228. break $label0$0;
  66229. }
  66230. if (B.LmsColorSpace_Os3 === dest) {
  66231. t1 = $.$get$xyzD50ToLms();
  66232. break $label0$0;
  66233. }
  66234. t1 = this.super$ColorSpace$transformationMatrix(dest);
  66235. break $label0$0;
  66236. }
  66237. return t1;
  66238. }
  66239. };
  66240. A.XyzD65ColorSpace.prototype = {
  66241. get$isBoundedInternal() {
  66242. return false;
  66243. },
  66244. toLinear$1(channel) {
  66245. return channel;
  66246. },
  66247. fromLinear$1(channel) {
  66248. return channel;
  66249. },
  66250. transformationMatrix$1(dest) {
  66251. var t1;
  66252. $label0$0: {
  66253. if (B.SrgbLinearColorSpace_kUj === dest || B.SrgbColorSpace_thf === dest || B.RgbColorSpace_i0P === dest) {
  66254. t1 = $.$get$xyzD65ToLinearSrgb();
  66255. break $label0$0;
  66256. }
  66257. if (B.A98RgbColorSpace_lf2 === dest) {
  66258. t1 = $.$get$xyzD65ToLinearA98Rgb();
  66259. break $label0$0;
  66260. }
  66261. if (B.ProphotoRgbColorSpace_BDz === dest) {
  66262. t1 = $.$get$xyzD65ToLinearProphotoRgb();
  66263. break $label0$0;
  66264. }
  66265. if (B.DisplayP3ColorSpace_MmT === dest) {
  66266. t1 = $.$get$xyzD65ToLinearDisplayP3();
  66267. break $label0$0;
  66268. }
  66269. if (B.Rec2020ColorSpace_6oo === dest) {
  66270. t1 = $.$get$xyzD65ToLinearRec2020();
  66271. break $label0$0;
  66272. }
  66273. if (B.XyzD50ColorSpace_2OB === dest) {
  66274. t1 = $.$get$xyzD65ToXyzD50();
  66275. break $label0$0;
  66276. }
  66277. if (B.LmsColorSpace_Os3 === dest) {
  66278. t1 = $.$get$xyzD65ToLms();
  66279. break $label0$0;
  66280. }
  66281. t1 = this.super$ColorSpace$transformationMatrix(dest);
  66282. break $label0$0;
  66283. }
  66284. return t1;
  66285. }
  66286. };
  66287. A.SassFunction.prototype = {
  66288. accept$1$1(visitor) {
  66289. var t1, t2;
  66290. if (!visitor._inspect)
  66291. A.throwExpression(A.SassScriptException$(this.toString$0(0) + " isn't a valid CSS value.", null));
  66292. t1 = visitor._serialize$_buffer;
  66293. t1.write$1(0, "get-function(");
  66294. t2 = this.callable;
  66295. visitor._visitQuotedString$1(t2.get$name(t2));
  66296. t1.writeCharCode$1(41);
  66297. return null;
  66298. },
  66299. accept$1(visitor) {
  66300. return this.accept$1$1(visitor, type$.dynamic);
  66301. },
  66302. assertFunction$1($name) {
  66303. return this;
  66304. },
  66305. assertCompileContext$1(compileContext) {
  66306. var t1 = this._function$_compileContext !== compileContext;
  66307. if (t1)
  66308. throw A.wrapException(A.SassScriptException$(this.toString$0(0) + " does not belong to current compilation.", null));
  66309. return this;
  66310. },
  66311. $eq(_, other) {
  66312. if (other == null)
  66313. return false;
  66314. return other instanceof A.SassFunction && this.callable.$eq(0, other.callable);
  66315. },
  66316. get$hashCode(_) {
  66317. var t1 = this.callable;
  66318. return t1.get$hashCode(t1);
  66319. }
  66320. };
  66321. A.SassList.prototype = {
  66322. get$separator(_) {
  66323. return this._separator;
  66324. },
  66325. get$hasBrackets() {
  66326. return this._hasBrackets;
  66327. },
  66328. get$isBlank() {
  66329. return !this._hasBrackets && B.JSArray_methods.every$1(this._list$_contents, new A.SassList_isBlank_closure());
  66330. },
  66331. get$asList() {
  66332. return this._list$_contents;
  66333. },
  66334. get$lengthAsList() {
  66335. return this._list$_contents.length;
  66336. },
  66337. SassList$3$brackets(contents, _separator, brackets) {
  66338. if (this._separator === B.ListSeparator_undecided_null_undecided && this._list$_contents.length > 1)
  66339. throw A.wrapException(A.ArgumentError$(string$.A_list, null));
  66340. },
  66341. toString$0(_) {
  66342. var t2, _this = this,
  66343. t1 = true;
  66344. if (!_this._hasBrackets) {
  66345. t2 = _this._list$_contents.length;
  66346. if (t2 !== 0)
  66347. t1 = t2 === 1 && _this._separator === B.ListSeparator_qVN;
  66348. }
  66349. if (t1)
  66350. return _this.super$Value$toString(0);
  66351. return "(" + _this.super$Value$toString(0) + ")";
  66352. },
  66353. accept$1$1(visitor) {
  66354. return visitor.visitList$1(this);
  66355. },
  66356. accept$1(visitor) {
  66357. return this.accept$1$1(visitor, type$.dynamic);
  66358. },
  66359. assertMap$1($name) {
  66360. return this._list$_contents.length === 0 ? B.SassMap_Map_empty : this.super$Value$assertMap($name);
  66361. },
  66362. tryMap$0() {
  66363. return this._list$_contents.length === 0 ? B.SassMap_Map_empty : null;
  66364. },
  66365. $eq(_, other) {
  66366. var t1, _this = this;
  66367. if (other == null)
  66368. return false;
  66369. 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)))
  66370. t1 = _this._list$_contents.length === 0 && other instanceof A.SassMap && other.get$asList().length === 0;
  66371. else
  66372. t1 = true;
  66373. return t1;
  66374. },
  66375. get$hashCode(_) {
  66376. return B.C_ListEquality0.hash$1(this._list$_contents);
  66377. }
  66378. };
  66379. A.SassList_isBlank_closure.prototype = {
  66380. call$1(element) {
  66381. return element.get$isBlank();
  66382. },
  66383. $signature: 67
  66384. };
  66385. A.ListSeparator.prototype = {
  66386. _enumToString$0() {
  66387. return "ListSeparator." + this._name;
  66388. },
  66389. toString$0(_) {
  66390. return this._list$_name;
  66391. }
  66392. };
  66393. A.SassMap.prototype = {
  66394. get$separator(_) {
  66395. var t1 = this._map$_contents;
  66396. return t1.get$isEmpty(t1) ? B.ListSeparator_undecided_null_undecided : B.ListSeparator_qVN;
  66397. },
  66398. get$asList() {
  66399. var t3, t4, t5, result,
  66400. t1 = type$.JSArray_Value,
  66401. t2 = A._setArrayType([], t1);
  66402. for (t3 = type$.Value, t4 = A.MapExtensions_get_pairs(this._map$_contents, t3, t3), t4 = t4.get$iterator(t4); t4.moveNext$0();) {
  66403. t5 = t4.get$current(t4);
  66404. result = A.List_List$from(A._setArrayType([t5._0, t5._1], t1), false, t3);
  66405. result.$flags = 3;
  66406. t2.push(new A.SassList(result, B.ListSeparator_qSL, false));
  66407. }
  66408. return t2;
  66409. },
  66410. get$lengthAsList() {
  66411. var t1 = this._map$_contents;
  66412. return t1.get$length(t1);
  66413. },
  66414. accept$1$1(visitor) {
  66415. return visitor.visitMap$1(this);
  66416. },
  66417. accept$1(visitor) {
  66418. return this.accept$1$1(visitor, type$.dynamic);
  66419. },
  66420. assertMap$1($name) {
  66421. return this;
  66422. },
  66423. tryMap$0() {
  66424. return this;
  66425. },
  66426. $eq(_, other) {
  66427. var t1;
  66428. if (other == null)
  66429. return false;
  66430. if (!(other instanceof A.SassMap && B.C_MapEquality.equals$2(0, other._map$_contents, this._map$_contents))) {
  66431. t1 = this._map$_contents;
  66432. t1 = t1.get$isEmpty(t1) && other instanceof A.SassList && other._list$_contents.length === 0;
  66433. } else
  66434. t1 = true;
  66435. return t1;
  66436. },
  66437. get$hashCode(_) {
  66438. var t1 = this._map$_contents;
  66439. return t1.get$isEmpty(t1) ? B.C_ListEquality0.hash$1(B.List_empty8) : B.C_MapEquality.hash$1(t1);
  66440. }
  66441. };
  66442. A.SassMixin.prototype = {
  66443. accept$1$1(visitor) {
  66444. var t1, t2;
  66445. if (!visitor._inspect)
  66446. A.throwExpression(A.SassScriptException$(this.toString$0(0) + " isn't a valid CSS value.", null));
  66447. t1 = visitor._serialize$_buffer;
  66448. t1.write$1(0, "get-mixin(");
  66449. t2 = this.callable;
  66450. visitor._visitQuotedString$1(t2.get$name(t2));
  66451. t1.writeCharCode$1(41);
  66452. return null;
  66453. },
  66454. accept$1(visitor) {
  66455. return this.accept$1$1(visitor, type$.dynamic);
  66456. },
  66457. assertMixin$1($name) {
  66458. return this;
  66459. },
  66460. assertCompileContext$1(compileContext) {
  66461. var t1 = this._mixin$_compileContext !== compileContext;
  66462. if (t1)
  66463. throw A.wrapException(A.SassScriptException$(this.toString$0(0) + " does not belong to current compilation.", null));
  66464. return this;
  66465. },
  66466. $eq(_, other) {
  66467. if (other == null)
  66468. return false;
  66469. return other instanceof A.SassMixin && this.callable.$eq(0, other.callable);
  66470. },
  66471. get$hashCode(_) {
  66472. var t1 = this.callable;
  66473. return t1.get$hashCode(t1);
  66474. }
  66475. };
  66476. A._SassNull.prototype = {
  66477. get$isTruthy() {
  66478. return false;
  66479. },
  66480. get$isBlank() {
  66481. return true;
  66482. },
  66483. get$realNull() {
  66484. return null;
  66485. },
  66486. accept$1$1(visitor) {
  66487. if (visitor._inspect)
  66488. visitor._serialize$_buffer.write$1(0, "null");
  66489. return null;
  66490. },
  66491. accept$1(visitor) {
  66492. return this.accept$1$1(visitor, type$.dynamic);
  66493. },
  66494. unaryNot$0() {
  66495. return B.SassBoolean_true;
  66496. }
  66497. };
  66498. A.SassNumber.prototype = {
  66499. get$unitString() {
  66500. var _this = this;
  66501. return _this.get$hasUnits() ? _this._unitString$2(_this.get$numeratorUnits(_this), _this.get$denominatorUnits(_this)) : "";
  66502. },
  66503. accept$1$1(visitor) {
  66504. return visitor.visitNumber$1(this);
  66505. },
  66506. accept$1(visitor) {
  66507. return this.accept$1$1(visitor, type$.dynamic);
  66508. },
  66509. withoutSlash$0() {
  66510. var _this = this;
  66511. return _this.asSlash == null ? _this : _this.withValue$1(_this._number$_value);
  66512. },
  66513. assertNumber$1($name) {
  66514. return this;
  66515. },
  66516. assertNumber$0() {
  66517. return this.assertNumber$1(null);
  66518. },
  66519. assertInt$1($name) {
  66520. var _0_0 = A.fuzzyAsInt(this._number$_value);
  66521. if (_0_0 != null)
  66522. return _0_0;
  66523. throw A.wrapException(A.SassScriptException$(this.toString$0(0) + " is not an int.", $name));
  66524. },
  66525. assertInt$0() {
  66526. return this.assertInt$1(null);
  66527. },
  66528. valueInRange$3(min, max, $name) {
  66529. var _this = this,
  66530. _0_0 = A.fuzzyCheckRange(_this._number$_value, min, max);
  66531. if (_0_0 != null)
  66532. return _0_0;
  66533. throw A.wrapException(A.SassScriptException$("Expected " + _this.toString$0(0) + " to be within " + min + _this.get$unitString() + " and " + max + _this.get$unitString() + ".", $name));
  66534. },
  66535. valueInRangeWithUnit$4(min, max, $name, unit) {
  66536. var _0_0 = A.fuzzyCheckRange(this._number$_value, min, max);
  66537. if (_0_0 != null)
  66538. return _0_0;
  66539. throw A.wrapException(A.SassScriptException$("Expected " + this.toString$0(0) + " to be within " + min + unit + " and " + max + unit + ".", $name));
  66540. },
  66541. hasCompatibleUnits$1(other) {
  66542. var _this = this;
  66543. if (_this.get$numeratorUnits(_this).length !== other.get$numeratorUnits(other).length)
  66544. return false;
  66545. if (_this.get$denominatorUnits(_this).length !== other.get$denominatorUnits(other).length)
  66546. return false;
  66547. return _this.isComparableTo$1(other);
  66548. },
  66549. assertUnit$2(unit, $name) {
  66550. if (this.hasUnit$1(unit))
  66551. return;
  66552. throw A.wrapException(A.SassScriptException$("Expected " + this.toString$0(0) + ' to have unit "' + unit + '".', $name));
  66553. },
  66554. assertNoUnits$1($name) {
  66555. if (!this.get$hasUnits())
  66556. return;
  66557. throw A.wrapException(A.SassScriptException$("Expected " + this.toString$0(0) + " to have no units.", $name));
  66558. },
  66559. assertNoUnits$0() {
  66560. return this.assertNoUnits$1(null);
  66561. },
  66562. convertValueToMatch$3(other, $name, otherName) {
  66563. return this._coerceOrConvertValue$6$coerceUnitless$name$other$otherName(other.get$numeratorUnits(other), other.get$denominatorUnits(other), false, $name, other, otherName);
  66564. },
  66565. convertValueToMatch$1(other) {
  66566. return this.convertValueToMatch$3(other, null, null);
  66567. },
  66568. coerce$3(newNumerators, newDenominators, $name) {
  66569. return A.SassNumber_SassNumber$withUnits(this.coerceValue$3(newNumerators, newDenominators, $name), newDenominators, newNumerators);
  66570. },
  66571. coerce$2(newNumerators, newDenominators) {
  66572. return this.coerce$3(newNumerators, newDenominators, null);
  66573. },
  66574. coerceValue$3(newNumerators, newDenominators, $name) {
  66575. return this._coerceOrConvertValue$4$coerceUnitless$name(newNumerators, newDenominators, true, $name);
  66576. },
  66577. coerceValueToUnit$2(unit, $name) {
  66578. var t1 = type$.JSArray_String;
  66579. return this.coerceValue$3(A._setArrayType([unit], t1), A._setArrayType([], t1), $name);
  66580. },
  66581. coerceValueToUnit$1(unit) {
  66582. return this.coerceValueToUnit$2(unit, null);
  66583. },
  66584. coerceToMatch$3(other, $name, otherName) {
  66585. var t1 = this.coerceValueToMatch$3(other, $name, otherName),
  66586. t2 = other.get$numeratorUnits(other);
  66587. return A.SassNumber_SassNumber$withUnits(t1, other.get$denominatorUnits(other), t2);
  66588. },
  66589. coerceValueToMatch$3(other, $name, otherName) {
  66590. return this._coerceOrConvertValue$6$coerceUnitless$name$other$otherName(other.get$numeratorUnits(other), other.get$denominatorUnits(other), true, $name, other, otherName);
  66591. },
  66592. coerceValueToMatch$1(other) {
  66593. return this.coerceValueToMatch$3(other, null, null);
  66594. },
  66595. _coerceOrConvertValue$6$coerceUnitless$name$other$otherName(newNumerators, newDenominators, coerceUnitless, $name, other, otherName) {
  66596. var otherHasUnits, t1, compatibilityException, oldNumerators, _i, oldDenominators, _this = this, _box_0 = {};
  66597. if (B.C_ListEquality.equals$2(0, _this.get$numeratorUnits(_this), newNumerators) && B.C_ListEquality.equals$2(0, _this.get$denominatorUnits(_this), newDenominators))
  66598. return _this._number$_value;
  66599. otherHasUnits = newNumerators.length !== 0 || newDenominators.length !== 0;
  66600. if (coerceUnitless)
  66601. t1 = !_this.get$hasUnits() || !otherHasUnits;
  66602. else
  66603. t1 = false;
  66604. if (t1)
  66605. return _this._number$_value;
  66606. compatibilityException = new A.SassNumber__coerceOrConvertValue_compatibilityException(_this, other, otherName, otherHasUnits, $name, newNumerators, newDenominators);
  66607. _box_0.value = _this._number$_value;
  66608. t1 = _this.get$numeratorUnits(_this);
  66609. oldNumerators = A._setArrayType(t1.slice(0), A._arrayInstanceType(t1));
  66610. for (t1 = newNumerators.length, _i = 0; _i < newNumerators.length; newNumerators.length === t1 || (0, A.throwConcurrentModificationError)(newNumerators), ++_i)
  66611. A.removeFirstWhere(oldNumerators, new A.SassNumber__coerceOrConvertValue_closure(_box_0, newNumerators[_i]), new A.SassNumber__coerceOrConvertValue_closure0(compatibilityException));
  66612. t1 = _this.get$denominatorUnits(_this);
  66613. oldDenominators = A._setArrayType(t1.slice(0), A._arrayInstanceType(t1));
  66614. for (t1 = newDenominators.length, _i = 0; _i < newDenominators.length; newDenominators.length === t1 || (0, A.throwConcurrentModificationError)(newDenominators), ++_i)
  66615. A.removeFirstWhere(oldDenominators, new A.SassNumber__coerceOrConvertValue_closure1(_box_0, newDenominators[_i]), new A.SassNumber__coerceOrConvertValue_closure2(compatibilityException));
  66616. if (oldNumerators.length !== 0 || oldDenominators.length !== 0)
  66617. throw A.wrapException(compatibilityException.call$0());
  66618. return _box_0.value;
  66619. },
  66620. _coerceOrConvertValue$4$coerceUnitless$name(newNumerators, newDenominators, coerceUnitless, $name) {
  66621. return this._coerceOrConvertValue$6$coerceUnitless$name$other$otherName(newNumerators, newDenominators, coerceUnitless, $name, null, null);
  66622. },
  66623. isComparableTo$1(other) {
  66624. var exception;
  66625. if (!this.get$hasUnits() || !other.get$hasUnits())
  66626. return true;
  66627. try {
  66628. this.greaterThan$1(other);
  66629. return true;
  66630. } catch (exception) {
  66631. if (A.unwrapException(exception) instanceof A.SassScriptException)
  66632. return false;
  66633. else
  66634. throw exception;
  66635. }
  66636. },
  66637. greaterThan$1(other) {
  66638. if (other instanceof A.SassNumber)
  66639. return this._coerceUnits$2(other, A.number0__fuzzyGreaterThan$closure()) ? B.SassBoolean_true : B.SassBoolean_false;
  66640. throw A.wrapException(A.SassScriptException$('Undefined operation "' + this.toString$0(0) + " > " + other.toString$0(0) + '".', null));
  66641. },
  66642. greaterThanOrEquals$1(other) {
  66643. if (other instanceof A.SassNumber)
  66644. return this._coerceUnits$2(other, A.number0__fuzzyGreaterThanOrEquals$closure()) ? B.SassBoolean_true : B.SassBoolean_false;
  66645. throw A.wrapException(A.SassScriptException$('Undefined operation "' + this.toString$0(0) + " >= " + other.toString$0(0) + '".', null));
  66646. },
  66647. lessThan$1(other) {
  66648. if (other instanceof A.SassNumber)
  66649. return this._coerceUnits$2(other, A.number0__fuzzyLessThan$closure()) ? B.SassBoolean_true : B.SassBoolean_false;
  66650. throw A.wrapException(A.SassScriptException$('Undefined operation "' + this.toString$0(0) + " < " + other.toString$0(0) + '".', null));
  66651. },
  66652. lessThanOrEquals$1(other) {
  66653. if (other instanceof A.SassNumber)
  66654. return this._coerceUnits$2(other, A.number0__fuzzyLessThanOrEquals$closure()) ? B.SassBoolean_true : B.SassBoolean_false;
  66655. throw A.wrapException(A.SassScriptException$('Undefined operation "' + this.toString$0(0) + " <= " + other.toString$0(0) + '".', null));
  66656. },
  66657. modulo$1(other) {
  66658. if (other instanceof A.SassNumber)
  66659. return this.withValue$1(this._coerceUnits$2(other, A.number0__moduloLikeSass$closure()));
  66660. throw A.wrapException(A.SassScriptException$('Undefined operation "' + this.toString$0(0) + " % " + other.toString$0(0) + '".', null));
  66661. },
  66662. plus$1(other) {
  66663. var _this = this;
  66664. if (other instanceof A.SassNumber)
  66665. return _this.withValue$1(_this._coerceUnits$2(other, new A.SassNumber_plus_closure()));
  66666. if (!(other instanceof A.SassColor))
  66667. return _this.super$Value$plus(other);
  66668. throw A.wrapException(A.SassScriptException$('Undefined operation "' + _this.toString$0(0) + " + " + other.toString$0(0) + '".', null));
  66669. },
  66670. minus$1(other) {
  66671. var _this = this;
  66672. if (other instanceof A.SassNumber)
  66673. return _this.withValue$1(_this._coerceUnits$2(other, new A.SassNumber_minus_closure()));
  66674. if (!(other instanceof A.SassColor))
  66675. return _this.super$Value$minus(other);
  66676. throw A.wrapException(A.SassScriptException$('Undefined operation "' + _this.toString$0(0) + " - " + other.toString$0(0) + '".', null));
  66677. },
  66678. times$1(other) {
  66679. var _this = this;
  66680. if (other instanceof A.SassNumber) {
  66681. if (!other.get$hasUnits())
  66682. return _this.withValue$1(_this._number$_value * other._number$_value);
  66683. return _this.multiplyUnits$3(_this._number$_value * other._number$_value, other.get$numeratorUnits(other), other.get$denominatorUnits(other));
  66684. }
  66685. throw A.wrapException(A.SassScriptException$('Undefined operation "' + _this.toString$0(0) + " * " + other.toString$0(0) + '".', null));
  66686. },
  66687. dividedBy$1(other) {
  66688. var _this = this;
  66689. if (other instanceof A.SassNumber) {
  66690. if (!other.get$hasUnits())
  66691. return _this.withValue$1(_this._number$_value / other._number$_value);
  66692. return _this.multiplyUnits$3(_this._number$_value / other._number$_value, other.get$denominatorUnits(other), other.get$numeratorUnits(other));
  66693. }
  66694. return _this.super$Value$dividedBy(other);
  66695. },
  66696. unaryPlus$0() {
  66697. return this;
  66698. },
  66699. _coerceUnits$1$2(other, operation) {
  66700. var t1, exception;
  66701. try {
  66702. t1 = operation.call$2(this._number$_value, other.coerceValueToMatch$1(this));
  66703. return t1;
  66704. } catch (exception) {
  66705. if (A.unwrapException(exception) instanceof A.SassScriptException) {
  66706. this.coerceValueToMatch$1(other);
  66707. throw exception;
  66708. } else
  66709. throw exception;
  66710. }
  66711. },
  66712. _coerceUnits$2(other, operation) {
  66713. operation.toString;
  66714. return this._coerceUnits$1$2(other, operation, type$.dynamic);
  66715. },
  66716. multiplyUnits$3(value, otherNumerators, otherDenominators) {
  66717. 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 = {};
  66718. _box_0.value = value;
  66719. t1 = [_this.get$numeratorUnits(_this), _this.get$denominatorUnits(_this), otherNumerators, otherDenominators];
  66720. _0_1 = t1[0];
  66721. _0_6 = _null;
  66722. _0_3 = _null;
  66723. _0_9 = _null;
  66724. _0_9_isSet = false;
  66725. _0_7 = _null;
  66726. _0_7_isSet = false;
  66727. t2 = false;
  66728. _0_2 = t1[1];
  66729. _0_3 = t1[2];
  66730. _0_6 = _0_3.length <= 0;
  66731. _0_9_isSet = _0_6;
  66732. if (_0_9_isSet) {
  66733. _0_7 = t1[3];
  66734. _0_9 = _0_7.length <= 0;
  66735. t2 = _0_9;
  66736. }
  66737. _0_7_isSet = _0_9_isSet;
  66738. denominators_case_0 = _0_2;
  66739. _0_11_isSet = !t2;
  66740. _0_13 = _null;
  66741. if (_0_11_isSet) {
  66742. _0_11 = _0_1.length <= 0;
  66743. _0_13_isSet = _0_11;
  66744. if (_0_13_isSet) {
  66745. t2 = _0_2;
  66746. _0_13 = t2.length <= 0;
  66747. t2 = _0_13;
  66748. if (t2) {
  66749. numerators_case_0 = _0_3;
  66750. if (_0_7_isSet)
  66751. denominators_case_0 = _0_7;
  66752. else {
  66753. _0_7 = t1[3];
  66754. denominators_case_0 = _0_7;
  66755. _0_7_isSet = true;
  66756. }
  66757. } else
  66758. numerators_case_0 = _0_1;
  66759. } else {
  66760. numerators_case_0 = _0_1;
  66761. t2 = false;
  66762. }
  66763. } else {
  66764. numerators_case_0 = _0_1;
  66765. _0_11 = _null;
  66766. _0_13_isSet = false;
  66767. t2 = true;
  66768. }
  66769. if (t2) {
  66770. t4 = denominators_case_0;
  66771. t3 = numerators_case_0;
  66772. } else {
  66773. t4 = _null;
  66774. t3 = t4;
  66775. }
  66776. if (!t2) {
  66777. t2 = _null;
  66778. t5 = _null;
  66779. if (_0_11_isSet)
  66780. t6 = _0_11;
  66781. else {
  66782. _0_11 = _0_1.length <= 0;
  66783. t6 = _0_11;
  66784. }
  66785. t7 = false;
  66786. if (t6) {
  66787. denominators_case_1 = _0_2;
  66788. numerators_case_1 = _0_3;
  66789. if (_0_9_isSet)
  66790. t2 = _0_9;
  66791. else {
  66792. if (_0_7_isSet)
  66793. t2 = _0_7;
  66794. else {
  66795. _0_7 = t1[3];
  66796. t2 = _0_7;
  66797. _0_7_isSet = true;
  66798. }
  66799. _0_9 = t2.length <= 0;
  66800. t2 = _0_9;
  66801. }
  66802. } else {
  66803. numerators_case_1 = t2;
  66804. t2 = t7;
  66805. denominators_case_1 = t5;
  66806. }
  66807. if (!t2) {
  66808. t2 = false;
  66809. if (_0_13_isSet)
  66810. t5 = _0_13;
  66811. else {
  66812. _0_13 = _0_2.length <= 0;
  66813. t5 = _0_13;
  66814. }
  66815. if (t5) {
  66816. t2 = _0_6;
  66817. if (t2)
  66818. denominators_case_1 = _0_7_isSet ? _0_7 : t1[3];
  66819. t1 = t2;
  66820. } else
  66821. t1 = t2;
  66822. numerators_case_1 = _0_1;
  66823. } else
  66824. t1 = true;
  66825. if (t1) {
  66826. t1 = !_this._areAnyConvertible$2(numerators_case_1, denominators_case_1);
  66827. if (t1) {
  66828. t3 = denominators_case_1;
  66829. t2 = numerators_case_1;
  66830. } else {
  66831. t2 = t3;
  66832. t3 = t4;
  66833. }
  66834. t0 = t3;
  66835. t3 = t1;
  66836. t1 = t2;
  66837. t2 = t0;
  66838. } else {
  66839. t2 = t4;
  66840. t1 = t3;
  66841. t3 = false;
  66842. }
  66843. } else {
  66844. t2 = t4;
  66845. t1 = t3;
  66846. t3 = true;
  66847. }
  66848. if (t3)
  66849. return A.SassNumber_SassNumber$withUnits(value, t2, t1);
  66850. newNumerators = A._setArrayType([], type$.JSArray_String);
  66851. mutableOtherDenominators = A._setArrayType(otherDenominators.slice(0), A._arrayInstanceType(otherDenominators));
  66852. for (t1 = _this.get$numeratorUnits(_this), t2 = t1.length, _i = 0; _i < t2; ++_i) {
  66853. numerator = t1[_i];
  66854. A.removeFirstWhere(mutableOtherDenominators, new A.SassNumber_multiplyUnits_closure(_box_0, numerator), new A.SassNumber_multiplyUnits_closure0(newNumerators, numerator));
  66855. }
  66856. t1 = _this.get$denominatorUnits(_this);
  66857. mutableDenominatorUnits = A._setArrayType(t1.slice(0), A._arrayInstanceType(t1));
  66858. for (t1 = otherNumerators.length, _i = 0; _i < t1; ++_i) {
  66859. numerator = otherNumerators[_i];
  66860. A.removeFirstWhere(mutableDenominatorUnits, new A.SassNumber_multiplyUnits_closure1(_box_0, numerator), new A.SassNumber_multiplyUnits_closure2(newNumerators, numerator));
  66861. }
  66862. t1 = _box_0.value;
  66863. B.JSArray_methods.addAll$1(mutableDenominatorUnits, mutableOtherDenominators);
  66864. return A.SassNumber_SassNumber$withUnits(t1, mutableDenominatorUnits, newNumerators);
  66865. },
  66866. _areAnyConvertible$2(units1, units2) {
  66867. return B.JSArray_methods.any$1(units1, new A.SassNumber__areAnyConvertible_closure(units2));
  66868. },
  66869. _unitString$2(numerators, denominators) {
  66870. var _0_4, _0_6, t1, _0_7, _0_5, _0_9, _0_10, denominator;
  66871. $label0$0: {
  66872. _0_4 = numerators.length <= 0;
  66873. if (_0_4) {
  66874. _0_6 = denominators.length;
  66875. t1 = _0_6;
  66876. _0_7 = t1 <= 0;
  66877. t1 = _0_7;
  66878. _0_5 = denominators;
  66879. } else {
  66880. _0_6 = null;
  66881. _0_5 = null;
  66882. t1 = false;
  66883. }
  66884. if (t1) {
  66885. t1 = "no units";
  66886. break $label0$0;
  66887. }
  66888. if (_0_4) {
  66889. t1 = _0_6;
  66890. _0_9 = t1 === 1;
  66891. t1 = _0_9;
  66892. } else
  66893. t1 = false;
  66894. if (t1) {
  66895. _0_10 = (_0_4 ? _0_5 : denominators)[0];
  66896. denominator = _0_10;
  66897. t1 = denominator + "^-1";
  66898. break $label0$0;
  66899. }
  66900. if (_0_4) {
  66901. t1 = "(" + B.JSArray_methods.join$1(denominators, "*") + ")^-1";
  66902. break $label0$0;
  66903. }
  66904. _0_6 = denominators.length;
  66905. t1 = _0_6;
  66906. _0_5 = denominators;
  66907. _0_7 = t1 <= 0;
  66908. t1 = _0_7;
  66909. if (t1) {
  66910. t1 = B.JSArray_methods.join$1(numerators, "*");
  66911. break $label0$0;
  66912. }
  66913. t1 = _0_6;
  66914. _0_9 = t1 === 1;
  66915. t1 = _0_9;
  66916. if (t1) {
  66917. _0_10 = _0_5[0];
  66918. denominator = _0_10;
  66919. t1 = B.JSArray_methods.join$1(numerators, "*") + "/" + denominator;
  66920. break $label0$0;
  66921. }
  66922. t1 = B.JSArray_methods.join$1(numerators, "*") + "/(" + B.JSArray_methods.join$1(denominators, "*") + ")";
  66923. break $label0$0;
  66924. }
  66925. return t1;
  66926. },
  66927. $eq(_, other) {
  66928. var _this = this;
  66929. if (other == null)
  66930. return false;
  66931. if (!(other instanceof A.SassNumber))
  66932. return false;
  66933. if (_this.get$numeratorUnits(_this).length !== other.get$numeratorUnits(other).length || _this.get$denominatorUnits(_this).length !== other.get$denominatorUnits(other).length)
  66934. return false;
  66935. if (!_this.get$hasUnits())
  66936. return A.fuzzyEquals(_this._number$_value, other._number$_value);
  66937. 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))))
  66938. return false;
  66939. 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)));
  66940. },
  66941. get$hashCode(_) {
  66942. var _this = this,
  66943. t1 = _this.hashCache;
  66944. 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;
  66945. },
  66946. _canonicalizeUnitList$1(units) {
  66947. var type,
  66948. t1 = units.length;
  66949. if (t1 === 0)
  66950. return units;
  66951. if (t1 === 1) {
  66952. type = $.$get$_typesByUnit().$index(0, B.JSArray_methods.get$first(units));
  66953. if (type == null)
  66954. t1 = units;
  66955. else {
  66956. t1 = B.Map_Sr65K.$index(0, type);
  66957. t1.toString;
  66958. t1 = A._setArrayType([B.JSArray_methods.get$first(t1)], type$.JSArray_String);
  66959. }
  66960. return t1;
  66961. }
  66962. t1 = A._arrayInstanceType(units)._eval$1("MappedListIterable<1,String>");
  66963. t1 = A.List_List$_of(new A.MappedListIterable(units, new A.SassNumber__canonicalizeUnitList_closure(), t1), t1._eval$1("ListIterable.E"));
  66964. B.JSArray_methods.sort$0(t1);
  66965. return t1;
  66966. },
  66967. _canonicalMultiplier$1(units) {
  66968. return B.JSArray_methods.fold$2(units, 1, new A.SassNumber__canonicalMultiplier_closure(this));
  66969. },
  66970. canonicalMultiplierForUnit$1(unit) {
  66971. var t1,
  66972. innerMap = B.Map_NtHoP.$index(0, unit);
  66973. if (innerMap == null)
  66974. t1 = 1;
  66975. else {
  66976. t1 = innerMap.get$values(innerMap);
  66977. t1 = 1 / t1.get$first(t1);
  66978. }
  66979. return t1;
  66980. },
  66981. unitSuggestion$2($name, unit) {
  66982. var t2, t3, result, _this = this,
  66983. t1 = _this.get$denominatorUnits(_this);
  66984. t1 = new A.MappedListIterable(t1, new A.SassNumber_unitSuggestion_closure(), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,String>")).join$0(0);
  66985. t2 = _this.get$numeratorUnits(_this);
  66986. t2 = new A.MappedListIterable(t2, new A.SassNumber_unitSuggestion_closure0(), A._arrayInstanceType(t2)._eval$1("MappedListIterable<1,String>")).join$0(0);
  66987. t3 = unit == null ? "" : " * 1" + unit;
  66988. result = "$" + $name + t1 + t2 + t3;
  66989. return _this.get$numeratorUnits(_this).length === 0 ? result : "calc(" + result + ")";
  66990. },
  66991. unitSuggestion$1($name) {
  66992. return this.unitSuggestion$2($name, null);
  66993. }
  66994. };
  66995. A.SassNumber__coerceOrConvertValue_compatibilityException.prototype = {
  66996. call$0() {
  66997. var t2, t3, message, t4, type, unit, _this = this,
  66998. t1 = _this.other;
  66999. if (t1 != null) {
  67000. t2 = _this.$this;
  67001. t3 = t2.toString$0(0) + " and";
  67002. message = new A.StringBuffer(t3);
  67003. t4 = _this.otherName;
  67004. if (t4 != null)
  67005. t3 = message._contents = t3 + (" $" + t4 + ":");
  67006. t1 = t3 + (" " + t1.toString$0(0) + " have incompatible units");
  67007. message._contents = t1;
  67008. if (!t2.get$hasUnits() || !_this.otherHasUnits)
  67009. message._contents = t1 + " (one has units and the other doesn't)";
  67010. t1 = message.toString$0(0) + ".";
  67011. t2 = _this.name;
  67012. return new A.SassScriptException(t2 == null ? t1 : "$" + t2 + ": " + t1);
  67013. } else if (!_this.otherHasUnits) {
  67014. t1 = "Expected " + _this.$this.toString$0(0) + " to have no units.";
  67015. t2 = _this.name;
  67016. return new A.SassScriptException(t2 == null ? t1 : "$" + t2 + ": " + t1);
  67017. } else {
  67018. t1 = _this.newNumerators;
  67019. if (t1.length === 1 && _this.newDenominators.length === 0) {
  67020. type = $.$get$_typesByUnit().$index(0, B.JSArray_methods.get$first(t1));
  67021. if (type != null) {
  67022. t1 = _this.$this.toString$0(0);
  67023. t2 = B.JSArray_methods.contains$1(A._setArrayType([97, 101, 105, 111, 117], type$.JSArray_int), type.charCodeAt(0)) ? "an " + type : "a " + type;
  67024. t3 = B.Map_Sr65K.$index(0, type);
  67025. t3.toString;
  67026. t3 = "Expected " + t1 + " to have " + t2 + " unit (" + B.JSArray_methods.join$1(t3, ", ") + ").";
  67027. t2 = _this.name;
  67028. return new A.SassScriptException(t2 == null ? t3 : "$" + t2 + ": " + t3);
  67029. }
  67030. }
  67031. t2 = _this.newDenominators;
  67032. unit = A.pluralize("unit", t1.length + t2.length, null);
  67033. t3 = _this.$this;
  67034. t2 = "Expected " + t3.toString$0(0) + " to have " + unit + " " + t3._unitString$2(t1, t2) + ".";
  67035. t1 = _this.name;
  67036. return new A.SassScriptException(t1 == null ? t2 : "$" + t1 + ": " + t2);
  67037. }
  67038. },
  67039. $signature: 326
  67040. };
  67041. A.SassNumber__coerceOrConvertValue_closure.prototype = {
  67042. call$1(oldNumerator) {
  67043. var factor = A.conversionFactor(this.newNumerator, oldNumerator);
  67044. if (factor == null)
  67045. return false;
  67046. this._box_0.value *= factor;
  67047. return true;
  67048. },
  67049. $signature: 5
  67050. };
  67051. A.SassNumber__coerceOrConvertValue_closure0.prototype = {
  67052. call$0() {
  67053. return A.throwExpression(this.compatibilityException.call$0());
  67054. },
  67055. $signature: 0
  67056. };
  67057. A.SassNumber__coerceOrConvertValue_closure1.prototype = {
  67058. call$1(oldDenominator) {
  67059. var factor = A.conversionFactor(this.newDenominator, oldDenominator);
  67060. if (factor == null)
  67061. return false;
  67062. this._box_0.value /= factor;
  67063. return true;
  67064. },
  67065. $signature: 5
  67066. };
  67067. A.SassNumber__coerceOrConvertValue_closure2.prototype = {
  67068. call$0() {
  67069. return A.throwExpression(this.compatibilityException.call$0());
  67070. },
  67071. $signature: 0
  67072. };
  67073. A.SassNumber_plus_closure.prototype = {
  67074. call$2(num1, num2) {
  67075. return num1 + num2;
  67076. },
  67077. $signature: 61
  67078. };
  67079. A.SassNumber_minus_closure.prototype = {
  67080. call$2(num1, num2) {
  67081. return num1 - num2;
  67082. },
  67083. $signature: 61
  67084. };
  67085. A.SassNumber_multiplyUnits_closure.prototype = {
  67086. call$1(denominator) {
  67087. var factor = A.conversionFactor(this.numerator, denominator);
  67088. if (factor == null)
  67089. return false;
  67090. this._box_0.value /= factor;
  67091. return true;
  67092. },
  67093. $signature: 5
  67094. };
  67095. A.SassNumber_multiplyUnits_closure0.prototype = {
  67096. call$0() {
  67097. return this.newNumerators.push(this.numerator);
  67098. },
  67099. $signature: 0
  67100. };
  67101. A.SassNumber_multiplyUnits_closure1.prototype = {
  67102. call$1(denominator) {
  67103. var factor = A.conversionFactor(this.numerator, denominator);
  67104. if (factor == null)
  67105. return false;
  67106. this._box_0.value /= factor;
  67107. return true;
  67108. },
  67109. $signature: 5
  67110. };
  67111. A.SassNumber_multiplyUnits_closure2.prototype = {
  67112. call$0() {
  67113. return this.newNumerators.push(this.numerator);
  67114. },
  67115. $signature: 0
  67116. };
  67117. A.SassNumber__areAnyConvertible_closure.prototype = {
  67118. call$1(unit1) {
  67119. var t1,
  67120. _0_0 = B.Map_NtHoP.$index(0, unit1);
  67121. $label0$0: {
  67122. if (_0_0 != null) {
  67123. t1 = B.JSArray_methods.any$1(this.units2, _0_0.get$containsKey());
  67124. break $label0$0;
  67125. }
  67126. t1 = B.JSArray_methods.contains$1(this.units2, unit1);
  67127. break $label0$0;
  67128. }
  67129. return t1;
  67130. },
  67131. $signature: 5
  67132. };
  67133. A.SassNumber__canonicalizeUnitList_closure.prototype = {
  67134. call$1(unit) {
  67135. var t1,
  67136. type = $.$get$_typesByUnit().$index(0, unit);
  67137. if (type == null)
  67138. t1 = unit;
  67139. else {
  67140. t1 = B.Map_Sr65K.$index(0, type);
  67141. t1.toString;
  67142. t1 = B.JSArray_methods.get$first(t1);
  67143. }
  67144. return t1;
  67145. },
  67146. $signature: 6
  67147. };
  67148. A.SassNumber__canonicalMultiplier_closure.prototype = {
  67149. call$2(multiplier, unit) {
  67150. return multiplier * this.$this.canonicalMultiplierForUnit$1(unit);
  67151. },
  67152. $signature: 165
  67153. };
  67154. A.SassNumber_unitSuggestion_closure.prototype = {
  67155. call$1(unit) {
  67156. return " * 1" + unit;
  67157. },
  67158. $signature: 6
  67159. };
  67160. A.SassNumber_unitSuggestion_closure0.prototype = {
  67161. call$1(unit) {
  67162. return " / 1" + unit;
  67163. },
  67164. $signature: 6
  67165. };
  67166. A.ComplexSassNumber.prototype = {
  67167. get$numeratorUnits(_) {
  67168. return this._numeratorUnits;
  67169. },
  67170. get$denominatorUnits(_) {
  67171. return this._denominatorUnits;
  67172. },
  67173. get$hasUnits() {
  67174. return true;
  67175. },
  67176. get$hasComplexUnits() {
  67177. return true;
  67178. },
  67179. hasUnit$1(unit) {
  67180. return false;
  67181. },
  67182. compatibleWithUnit$1(unit) {
  67183. return false;
  67184. },
  67185. hasPossiblyCompatibleUnits$1(other) {
  67186. throw A.wrapException(A.UnimplementedError$(string$.Comple));
  67187. },
  67188. withValue$1(value) {
  67189. return new A.ComplexSassNumber(this._numeratorUnits, this._denominatorUnits, value, null);
  67190. },
  67191. withSlash$2(numerator, denominator) {
  67192. return new A.ComplexSassNumber(this._numeratorUnits, this._denominatorUnits, this._number$_value, new A._Record_2(numerator, denominator));
  67193. }
  67194. };
  67195. A.SingleUnitSassNumber.prototype = {
  67196. get$numeratorUnits(_) {
  67197. return A.List_List$unmodifiable([this._unit], type$.String);
  67198. },
  67199. get$denominatorUnits(_) {
  67200. return B.List_empty;
  67201. },
  67202. get$hasUnits() {
  67203. return true;
  67204. },
  67205. get$hasComplexUnits() {
  67206. return false;
  67207. },
  67208. withValue$1(value) {
  67209. return new A.SingleUnitSassNumber(this._unit, value, null);
  67210. },
  67211. withSlash$2(numerator, denominator) {
  67212. return new A.SingleUnitSassNumber(this._unit, this._number$_value, new A._Record_2(numerator, denominator));
  67213. },
  67214. hasUnit$1(unit) {
  67215. return unit === this._unit;
  67216. },
  67217. hasCompatibleUnits$1(other) {
  67218. return other instanceof A.SingleUnitSassNumber && A.conversionFactor(this._unit, other._unit) != null;
  67219. },
  67220. hasPossiblyCompatibleUnits$1(other) {
  67221. var t1, knownCompatibilities, otherUnit;
  67222. if (!(other instanceof A.SingleUnitSassNumber))
  67223. return false;
  67224. t1 = $.$get$_knownCompatibilitiesByUnit();
  67225. knownCompatibilities = t1.$index(0, this._unit.toLowerCase());
  67226. if (knownCompatibilities == null)
  67227. return true;
  67228. otherUnit = other._unit.toLowerCase();
  67229. return knownCompatibilities.contains$1(0, otherUnit) || !t1.containsKey$1(otherUnit);
  67230. },
  67231. compatibleWithUnit$1(unit) {
  67232. return A.conversionFactor(this._unit, unit) != null;
  67233. },
  67234. coerceToMatch$1(other) {
  67235. var t1 = other instanceof A.SingleUnitSassNumber ? this._coerceToUnit$1(other._unit) : null;
  67236. return t1 == null ? this.super$SassNumber$coerceToMatch(other, null, null) : t1;
  67237. },
  67238. coerceValueToMatch$3(other, $name, otherName) {
  67239. var t1 = other instanceof A.SingleUnitSassNumber ? this._coerceValueToUnit$1(other._unit) : null;
  67240. return t1 == null ? this.super$SassNumber$coerceValueToMatch(other, $name, otherName) : t1;
  67241. },
  67242. coerceValueToMatch$1(other) {
  67243. return this.coerceValueToMatch$3(other, null, null);
  67244. },
  67245. convertValueToMatch$3(other, $name, otherName) {
  67246. var t1 = other instanceof A.SingleUnitSassNumber ? this._coerceValueToUnit$1(other._unit) : null;
  67247. return t1 == null ? this.super$SassNumber$convertValueToMatch(other, $name, otherName) : t1;
  67248. },
  67249. convertValueToMatch$1(other) {
  67250. return this.convertValueToMatch$3(other, null, null);
  67251. },
  67252. coerce$2(newNumerators, newDenominators) {
  67253. var t1 = newNumerators.length === 1 && newDenominators.length === 0 ? this._coerceToUnit$1(newNumerators[0]) : null;
  67254. return t1 == null ? this.super$SassNumber$coerce(newNumerators, newDenominators, null) : t1;
  67255. },
  67256. coerceValue$3(newNumerators, newDenominators, $name) {
  67257. var t1 = newNumerators.length === 1 && newDenominators.length === 0 ? this._coerceValueToUnit$1(newNumerators[0]) : null;
  67258. return t1 == null ? this.super$SassNumber$coerceValue(newNumerators, newDenominators, $name) : t1;
  67259. },
  67260. coerceValueToUnit$2(unit, $name) {
  67261. var t1 = this._coerceValueToUnit$1(unit);
  67262. return t1 == null ? this.super$SassNumber$coerceValueToUnit(unit, $name) : t1;
  67263. },
  67264. coerceValueToUnit$1(unit) {
  67265. return this.coerceValueToUnit$2(unit, null);
  67266. },
  67267. _coerceToUnit$1(unit) {
  67268. var t1 = this._unit;
  67269. if (t1 === unit)
  67270. return this;
  67271. return A.NullableExtension_andThen(A.conversionFactor(unit, t1), new A.SingleUnitSassNumber__coerceToUnit_closure(this, unit));
  67272. },
  67273. _coerceValueToUnit$1(unit) {
  67274. return A.NullableExtension_andThen(A.conversionFactor(unit, this._unit), new A.SingleUnitSassNumber__coerceValueToUnit_closure(this));
  67275. },
  67276. multiplyUnits$3(value, otherNumerators, otherDenominators) {
  67277. var mutableOtherDenominators, t1 = {};
  67278. t1.value = value;
  67279. t1.newNumerators = otherNumerators;
  67280. mutableOtherDenominators = A._setArrayType(otherDenominators.slice(0), A._arrayInstanceType(otherDenominators));
  67281. A.removeFirstWhere(mutableOtherDenominators, new A.SingleUnitSassNumber_multiplyUnits_closure(t1, this), new A.SingleUnitSassNumber_multiplyUnits_closure0(t1, this));
  67282. return A.SassNumber_SassNumber$withUnits(t1.value, mutableOtherDenominators, t1.newNumerators);
  67283. },
  67284. unaryMinus$0() {
  67285. return new A.SingleUnitSassNumber(this._unit, -this._number$_value, null);
  67286. },
  67287. $eq(_, other) {
  67288. var factor;
  67289. if (other == null)
  67290. return false;
  67291. if (other instanceof A.SingleUnitSassNumber) {
  67292. factor = A.conversionFactor(other._unit, this._unit);
  67293. return factor != null && A.fuzzyEquals(this._number$_value * factor, other._number$_value);
  67294. } else
  67295. return false;
  67296. },
  67297. get$hashCode(_) {
  67298. var _this = this,
  67299. t1 = _this.hashCache;
  67300. return t1 == null ? _this.hashCache = A.fuzzyHashCode(_this._number$_value * _this.canonicalMultiplierForUnit$1(_this._unit)) : t1;
  67301. }
  67302. };
  67303. A.SingleUnitSassNumber__coerceToUnit_closure.prototype = {
  67304. call$1(factor) {
  67305. return new A.SingleUnitSassNumber(this.unit, this.$this._number$_value * factor, null);
  67306. },
  67307. $signature: 337
  67308. };
  67309. A.SingleUnitSassNumber__coerceValueToUnit_closure.prototype = {
  67310. call$1(factor) {
  67311. return this.$this._number$_value * factor;
  67312. },
  67313. $signature: 16
  67314. };
  67315. A.SingleUnitSassNumber_multiplyUnits_closure.prototype = {
  67316. call$1(denominator) {
  67317. var factor = A.conversionFactor(denominator, this.$this._unit);
  67318. if (factor == null)
  67319. return false;
  67320. this._box_0.value *= factor;
  67321. return true;
  67322. },
  67323. $signature: 5
  67324. };
  67325. A.SingleUnitSassNumber_multiplyUnits_closure0.prototype = {
  67326. call$0() {
  67327. var t1 = A._setArrayType([this.$this._unit], type$.JSArray_String),
  67328. t2 = this._box_0;
  67329. B.JSArray_methods.addAll$1(t1, t2.newNumerators);
  67330. t2.newNumerators = t1;
  67331. },
  67332. $signature: 0
  67333. };
  67334. A.UnitlessSassNumber.prototype = {
  67335. get$numeratorUnits(_) {
  67336. return B.List_empty;
  67337. },
  67338. get$denominatorUnits(_) {
  67339. return B.List_empty;
  67340. },
  67341. get$hasUnits() {
  67342. return false;
  67343. },
  67344. get$hasComplexUnits() {
  67345. return false;
  67346. },
  67347. withValue$1(value) {
  67348. return new A.UnitlessSassNumber(value, null);
  67349. },
  67350. withSlash$2(numerator, denominator) {
  67351. return new A.UnitlessSassNumber(this._number$_value, new A._Record_2(numerator, denominator));
  67352. },
  67353. hasUnit$1(unit) {
  67354. return false;
  67355. },
  67356. hasCompatibleUnits$1(other) {
  67357. return other instanceof A.UnitlessSassNumber;
  67358. },
  67359. hasPossiblyCompatibleUnits$1(other) {
  67360. return other instanceof A.UnitlessSassNumber;
  67361. },
  67362. compatibleWithUnit$1(unit) {
  67363. return true;
  67364. },
  67365. coerceToMatch$1(other) {
  67366. return other.withValue$1(this._number$_value);
  67367. },
  67368. coerceValueToMatch$3(other, $name, otherName) {
  67369. return this._number$_value;
  67370. },
  67371. coerceValueToMatch$1(other) {
  67372. return this.coerceValueToMatch$3(other, null, null);
  67373. },
  67374. convertValueToMatch$3(other, $name, otherName) {
  67375. return other.get$hasUnits() ? this.super$SassNumber$convertValueToMatch(other, $name, otherName) : this._number$_value;
  67376. },
  67377. convertValueToMatch$1(other) {
  67378. return this.convertValueToMatch$3(other, null, null);
  67379. },
  67380. coerce$2(newNumerators, newDenominators) {
  67381. return A.SassNumber_SassNumber$withUnits(this._number$_value, newDenominators, newNumerators);
  67382. },
  67383. coerceValue$3(newNumerators, newDenominators, $name) {
  67384. return this._number$_value;
  67385. },
  67386. coerceValueToUnit$2(unit, $name) {
  67387. return this._number$_value;
  67388. },
  67389. coerceValueToUnit$1(unit) {
  67390. return this.coerceValueToUnit$2(unit, null);
  67391. },
  67392. greaterThan$1(other) {
  67393. var t1, t2;
  67394. if (other instanceof A.SassNumber) {
  67395. t1 = this._number$_value;
  67396. t2 = other._number$_value;
  67397. return t1 > t2 && !A.fuzzyEquals(t1, t2) ? B.SassBoolean_true : B.SassBoolean_false;
  67398. }
  67399. return this.super$SassNumber$greaterThan(other);
  67400. },
  67401. greaterThanOrEquals$1(other) {
  67402. var t1, t2;
  67403. if (other instanceof A.SassNumber) {
  67404. t1 = this._number$_value;
  67405. t2 = other._number$_value;
  67406. return t1 > t2 || A.fuzzyEquals(t1, t2) ? B.SassBoolean_true : B.SassBoolean_false;
  67407. }
  67408. return this.super$SassNumber$greaterThanOrEquals(other);
  67409. },
  67410. lessThan$1(other) {
  67411. var t1, t2;
  67412. if (other instanceof A.SassNumber) {
  67413. t1 = this._number$_value;
  67414. t2 = other._number$_value;
  67415. return t1 < t2 && !A.fuzzyEquals(t1, t2) ? B.SassBoolean_true : B.SassBoolean_false;
  67416. }
  67417. return this.super$SassNumber$lessThan(other);
  67418. },
  67419. lessThanOrEquals$1(other) {
  67420. var t1, t2;
  67421. if (other instanceof A.SassNumber) {
  67422. t1 = this._number$_value;
  67423. t2 = other._number$_value;
  67424. return t1 < t2 || A.fuzzyEquals(t1, t2) ? B.SassBoolean_true : B.SassBoolean_false;
  67425. }
  67426. return this.super$SassNumber$lessThanOrEquals(other);
  67427. },
  67428. modulo$1(other) {
  67429. if (other instanceof A.SassNumber)
  67430. return other.withValue$1(A.moduloLikeSass(this._number$_value, other._number$_value));
  67431. return this.super$SassNumber$modulo(other);
  67432. },
  67433. plus$1(other) {
  67434. if (other instanceof A.SassNumber)
  67435. return other.withValue$1(this._number$_value + other._number$_value);
  67436. return this.super$SassNumber$plus(other);
  67437. },
  67438. minus$1(other) {
  67439. if (other instanceof A.SassNumber)
  67440. return other.withValue$1(this._number$_value - other._number$_value);
  67441. return this.super$SassNumber$minus(other);
  67442. },
  67443. times$1(other) {
  67444. if (other instanceof A.SassNumber)
  67445. return other.withValue$1(this._number$_value * other._number$_value);
  67446. return this.super$SassNumber$times(other);
  67447. },
  67448. dividedBy$1(other) {
  67449. var t1, t2;
  67450. if (other instanceof A.SassNumber) {
  67451. t1 = this._number$_value / other._number$_value;
  67452. if (other.get$hasUnits()) {
  67453. t2 = other.get$denominatorUnits(other);
  67454. t2 = A.SassNumber_SassNumber$withUnits(t1, other.get$numeratorUnits(other), t2);
  67455. t1 = t2;
  67456. } else
  67457. t1 = new A.UnitlessSassNumber(t1, null);
  67458. return t1;
  67459. }
  67460. return this.super$SassNumber$dividedBy(other);
  67461. },
  67462. unaryMinus$0() {
  67463. return new A.UnitlessSassNumber(-this._number$_value, null);
  67464. },
  67465. $eq(_, other) {
  67466. if (other == null)
  67467. return false;
  67468. return other instanceof A.UnitlessSassNumber && A.fuzzyEquals(this._number$_value, other._number$_value);
  67469. },
  67470. get$hashCode(_) {
  67471. var t1 = this.hashCache;
  67472. return t1 == null ? this.hashCache = A.fuzzyHashCode(this._number$_value) : t1;
  67473. }
  67474. };
  67475. A.SassString.prototype = {
  67476. get$_sassLength() {
  67477. var result, _this = this,
  67478. value = _this.__SassString__sassLength_FI;
  67479. if (value === $) {
  67480. result = new A.Runes(_this._string$_text).get$length(0);
  67481. _this.__SassString__sassLength_FI !== $ && A.throwUnnamedLateFieldADI();
  67482. _this.__SassString__sassLength_FI = result;
  67483. value = result;
  67484. }
  67485. return value;
  67486. },
  67487. get$isSpecialNumber() {
  67488. var t1, _2_0, t2, _0_0, _1_0;
  67489. if (this._hasQuotes)
  67490. return false;
  67491. t1 = this._string$_text;
  67492. if (t1.length < 6)
  67493. return false;
  67494. _2_0 = t1.charCodeAt(0);
  67495. $label0$0: {
  67496. t2 = false;
  67497. if (97 === _2_0 || 65 === _2_0) {
  67498. t1 = (t1.charCodeAt(1) | 32) === 116 && (t1.charCodeAt(2) | 32) === 116 && (t1.charCodeAt(3) | 32) === 114 && t1.charCodeAt(4) === 40;
  67499. break $label0$0;
  67500. }
  67501. if (99 === _2_0 || 67 === _2_0) {
  67502. _0_0 = t1.charCodeAt(1);
  67503. $label1$1: {
  67504. if (108 === _0_0 || 76 === _0_0) {
  67505. t1 = (t1.charCodeAt(2) | 32) === 97 && (t1.charCodeAt(3) | 32) === 109 && (t1.charCodeAt(4) | 32) === 112 && t1.charCodeAt(5) === 40;
  67506. break $label1$1;
  67507. }
  67508. if (97 === _0_0 || 65 === _0_0) {
  67509. t1 = (t1.charCodeAt(2) | 32) === 108 && (t1.charCodeAt(3) | 32) === 99 && t1.charCodeAt(4) === 40;
  67510. break $label1$1;
  67511. }
  67512. t1 = t2;
  67513. break $label1$1;
  67514. }
  67515. break $label0$0;
  67516. }
  67517. if (118 === _2_0 || 86 === _2_0) {
  67518. t1 = (t1.charCodeAt(1) | 32) === 97 && (t1.charCodeAt(2) | 32) === 114 && t1.charCodeAt(3) === 40;
  67519. break $label0$0;
  67520. }
  67521. if (101 === _2_0 || 69 === _2_0) {
  67522. t1 = (t1.charCodeAt(1) | 32) === 110 && (t1.charCodeAt(2) | 32) === 118 && t1.charCodeAt(3) === 40;
  67523. break $label0$0;
  67524. }
  67525. if (109 === _2_0 || 77 === _2_0) {
  67526. _1_0 = t1.charCodeAt(1);
  67527. $label2$2: {
  67528. if (97 === _1_0 || 65 === _1_0) {
  67529. t1 = (t1.charCodeAt(2) | 32) === 120 && t1.charCodeAt(3) === 40;
  67530. break $label2$2;
  67531. }
  67532. if (105 === _1_0 || 73 === _1_0) {
  67533. t1 = (t1.charCodeAt(2) | 32) === 110 && t1.charCodeAt(3) === 40;
  67534. break $label2$2;
  67535. }
  67536. t1 = t2;
  67537. break $label2$2;
  67538. }
  67539. break $label0$0;
  67540. }
  67541. t1 = t2;
  67542. break $label0$0;
  67543. }
  67544. return t1;
  67545. },
  67546. get$isVar() {
  67547. if (this._hasQuotes)
  67548. return false;
  67549. var t1 = this._string$_text;
  67550. if (t1.length < 8)
  67551. return false;
  67552. return (t1.charCodeAt(0) | 32) === 118 && (t1.charCodeAt(1) | 32) === 97 && (t1.charCodeAt(2) | 32) === 114 && t1.charCodeAt(3) === 40;
  67553. },
  67554. get$isBlank() {
  67555. return !this._hasQuotes && this._string$_text.length === 0;
  67556. },
  67557. assertQuoted$1($name) {
  67558. if (this._hasQuotes)
  67559. return;
  67560. throw A.wrapException(A.SassScriptException$("Expected " + this.toString$0(0) + " to be a quoted string.", $name));
  67561. },
  67562. assertUnquoted$1($name) {
  67563. if (!this._hasQuotes)
  67564. return;
  67565. throw A.wrapException(A.SassScriptException$("Expected " + this.toString$0(0) + " to be an unquoted string.", $name));
  67566. },
  67567. assertUnquoted$0() {
  67568. return this.assertUnquoted$1(null);
  67569. },
  67570. accept$1$1(visitor) {
  67571. var t1 = visitor._quote && this._hasQuotes,
  67572. t2 = this._string$_text;
  67573. if (t1)
  67574. visitor._visitQuotedString$1(t2);
  67575. else
  67576. visitor._visitUnquotedString$1(t2);
  67577. return null;
  67578. },
  67579. accept$1(visitor) {
  67580. return this.accept$1$1(visitor, type$.dynamic);
  67581. },
  67582. assertString$1($name) {
  67583. return this;
  67584. },
  67585. plus$1(other) {
  67586. var t1 = this._string$_text,
  67587. t2 = this._hasQuotes;
  67588. return other instanceof A.SassString ? new A.SassString(t1 + other._string$_text, t2) : new A.SassString(t1 + A.serializeValue(other, false, true), t2);
  67589. },
  67590. $eq(_, other) {
  67591. if (other == null)
  67592. return false;
  67593. return other instanceof A.SassString && this._string$_text === other._string$_text;
  67594. },
  67595. get$hashCode(_) {
  67596. var t1 = this._hashCache;
  67597. return t1 == null ? this._hashCache = B.JSString_methods.get$hashCode(this._string$_text) : t1;
  67598. }
  67599. };
  67600. A.AnySelectorVisitor.prototype = {
  67601. visitComplexSelector$1(complex) {
  67602. return B.JSArray_methods.any$1(complex.components, new A.AnySelectorVisitor_visitComplexSelector_closure(this));
  67603. },
  67604. visitCompoundSelector$1(compound) {
  67605. return B.JSArray_methods.any$1(compound.components, new A.AnySelectorVisitor_visitCompoundSelector_closure(this));
  67606. },
  67607. visitPseudoSelector$1(pseudo) {
  67608. var selector = pseudo.selector;
  67609. return selector == null ? false : this.visitSelectorList$1(selector);
  67610. },
  67611. visitSelectorList$1(list) {
  67612. return B.JSArray_methods.any$1(list.components, this.get$visitComplexSelector());
  67613. },
  67614. visitAttributeSelector$1(attribute) {
  67615. return false;
  67616. },
  67617. visitClassSelector$1(klass) {
  67618. return false;
  67619. },
  67620. visitIDSelector$1(id) {
  67621. return false;
  67622. },
  67623. visitParentSelector$1($parent) {
  67624. return false;
  67625. },
  67626. visitPlaceholderSelector$1(placeholder) {
  67627. return false;
  67628. },
  67629. visitTypeSelector$1(type) {
  67630. return false;
  67631. },
  67632. visitUniversalSelector$1(universal) {
  67633. return false;
  67634. }
  67635. };
  67636. A.AnySelectorVisitor_visitComplexSelector_closure.prototype = {
  67637. call$1(component) {
  67638. return this.$this.visitCompoundSelector$1(component.selector);
  67639. },
  67640. $signature: 52
  67641. };
  67642. A.AnySelectorVisitor_visitCompoundSelector_closure.prototype = {
  67643. call$1(simple) {
  67644. return simple.accept$1(this.$this);
  67645. },
  67646. $signature: 14
  67647. };
  67648. A._EvaluateVisitor0.prototype = {
  67649. _EvaluateVisitor$6$functions$importCache$logger$nodeImporter$quietDeps$sourceMap0(functions, importCache, logger, nodeImporter, quietDeps, sourceMap) {
  67650. var t2, metaModule, t3, _i, module, $function, t4, _this = this,
  67651. _s20_ = "$name, $module: null",
  67652. _s9_ = "sass:meta",
  67653. _s7_ = "$module",
  67654. t1 = type$.JSArray_AsyncBuiltInCallable,
  67655. 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),
  67656. 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);
  67657. t1 = type$.AsyncBuiltInCallable;
  67658. t2 = A.List_List$_of($.$get$moduleFunctions(), t1);
  67659. B.JSArray_methods.addAll$1(t2, metaFunctions);
  67660. metaModule = A.BuiltInModule$("meta", t2, metaMixins, null, t1);
  67661. t1 = A.List_List$_of($.$get$coreModules(), type$.BuiltInModule_AsyncCallable);
  67662. t1.push(metaModule);
  67663. t2 = t1.length;
  67664. t3 = _this._async_evaluate$_builtInModules;
  67665. _i = 0;
  67666. for (; _i < t1.length; t1.length === t2 || (0, A.throwConcurrentModificationError)(t1), ++_i) {
  67667. module = t1[_i];
  67668. t3.$indexSet(0, module.url, module);
  67669. }
  67670. t1 = type$.JSArray_AsyncCallable;
  67671. t2 = A._setArrayType([], t1);
  67672. B.JSArray_methods.addAll$1(t2, $.$get$globalFunctions());
  67673. t1 = A._setArrayType([], t1);
  67674. for (_i = 0; _i < 11; ++_i)
  67675. t1.push(metaFunctions[_i].withDeprecationWarning$1("meta"));
  67676. B.JSArray_methods.addAll$1(t2, t1);
  67677. for (t1 = t2.length, t3 = _this._async_evaluate$_builtInFunctions, _i = 0; _i < t2.length; t2.length === t1 || (0, A.throwConcurrentModificationError)(t2), ++_i) {
  67678. $function = t2[_i];
  67679. t4 = $function.get$name($function);
  67680. t3.$indexSet(0, A.stringReplaceAllUnchecked(t4, "_", "-"), $function);
  67681. }
  67682. },
  67683. run$2(_, importer, node) {
  67684. return this.run$body$_EvaluateVisitor(0, importer, node);
  67685. },
  67686. run$body$_EvaluateVisitor(_, importer, node) {
  67687. var $async$goto = 0,
  67688. $async$completer = A._makeAsyncAwaitCompleter(type$.Record_2_Set_Uri_loadedUrls_and_CssStylesheet_stylesheet),
  67689. $async$returnValue, $async$handler = 2, $async$errorStack = [], $async$self = this, error, stackTrace, t1, exception, $async$exception;
  67690. var $async$run$2 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  67691. if ($async$errorCode === 1) {
  67692. $async$errorStack.push($async$result);
  67693. $async$goto = $async$handler;
  67694. }
  67695. while (true)
  67696. switch ($async$goto) {
  67697. case 0:
  67698. // Function start
  67699. $async$handler = 4;
  67700. t1 = type$.nullable_Object;
  67701. 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);
  67702. $async$goto = 7;
  67703. 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);
  67704. case 7:
  67705. // returning from await.
  67706. t1 = $async$result;
  67707. $async$returnValue = t1;
  67708. // goto return
  67709. $async$goto = 1;
  67710. break;
  67711. $async$handler = 2;
  67712. // goto after finally
  67713. $async$goto = 6;
  67714. break;
  67715. case 4:
  67716. // catch
  67717. $async$handler = 3;
  67718. $async$exception = $async$errorStack.pop();
  67719. t1 = A.unwrapException($async$exception);
  67720. if (t1 instanceof A.SassException) {
  67721. error = t1;
  67722. stackTrace = A.getTraceFromException($async$exception);
  67723. A.throwWithTrace(error.withLoadedUrls$1($async$self._async_evaluate$_loadedUrls), error, stackTrace);
  67724. } else
  67725. throw $async$exception;
  67726. // goto after finally
  67727. $async$goto = 6;
  67728. break;
  67729. case 3:
  67730. // uncaught
  67731. // goto rethrow
  67732. $async$goto = 2;
  67733. break;
  67734. case 6:
  67735. // after finally
  67736. case 1:
  67737. // return
  67738. return A._asyncReturn($async$returnValue, $async$completer);
  67739. case 2:
  67740. // rethrow
  67741. return A._asyncRethrow($async$errorStack.at(-1), $async$completer);
  67742. }
  67743. });
  67744. return A._asyncStartSync($async$run$2, $async$completer);
  67745. },
  67746. _async_evaluate$_assertInModule$1$2(value, $name) {
  67747. if (value != null)
  67748. return value;
  67749. throw A.wrapException(A.StateError$("Can't access " + $name + " outside of a module."));
  67750. },
  67751. _async_evaluate$_assertInModule$2(value, $name) {
  67752. return this._async_evaluate$_assertInModule$1$2(value, $name, type$.dynamic);
  67753. },
  67754. _async_evaluate$_loadModule$7$baseUrl$configuration$namesInErrors(url, stackFrame, nodeWithSpan, callback, baseUrl, configuration, namesInErrors) {
  67755. return this._loadModule$body$_EvaluateVisitor(url, stackFrame, nodeWithSpan, callback, baseUrl, configuration, namesInErrors);
  67756. },
  67757. _async_evaluate$_loadModule$5$configuration(url, stackFrame, nodeWithSpan, callback, configuration) {
  67758. callback.toString;
  67759. return this._async_evaluate$_loadModule$7$baseUrl$configuration$namesInErrors(url, stackFrame, nodeWithSpan, callback, null, configuration, false);
  67760. },
  67761. _async_evaluate$_loadModule$4(url, stackFrame, nodeWithSpan, callback) {
  67762. callback.toString;
  67763. return this._async_evaluate$_loadModule$7$baseUrl$configuration$namesInErrors(url, stackFrame, nodeWithSpan, callback, null, null, false);
  67764. },
  67765. _loadModule$body$_EvaluateVisitor(url, stackFrame, nodeWithSpan, callback, baseUrl, configuration, namesInErrors) {
  67766. var $async$goto = 0,
  67767. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  67768. $async$returnValue, $async$self = this, t2, _0_0, t1;
  67769. var $async$_async_evaluate$_loadModule$7$baseUrl$configuration$namesInErrors = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  67770. if ($async$errorCode === 1)
  67771. return A._asyncRethrow($async$result, $async$completer);
  67772. while (true)
  67773. switch ($async$goto) {
  67774. case 0:
  67775. // Function start
  67776. _0_0 = $async$self._async_evaluate$_builtInModules.$index(0, url);
  67777. t1 = {};
  67778. t1.builtInModule = null;
  67779. $async$goto = _0_0 != null ? 3 : 4;
  67780. break;
  67781. case 3:
  67782. // then
  67783. t1.builtInModule = _0_0;
  67784. if (configuration instanceof A.ExplicitConfiguration) {
  67785. t1 = namesInErrors ? "Built-in module " + url.toString$0(0) + " can't be configured." : "Built-in modules can't be configured.";
  67786. t2 = configuration.nodeWithSpan;
  67787. throw A.wrapException($async$self._async_evaluate$_exception$2(t1, t2.get$span(t2)));
  67788. }
  67789. $async$goto = 5;
  67790. 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);
  67791. case 5:
  67792. // returning from await.
  67793. // goto return
  67794. $async$goto = 1;
  67795. break;
  67796. case 4:
  67797. // join
  67798. $async$goto = 6;
  67799. 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);
  67800. case 6:
  67801. // returning from await.
  67802. case 1:
  67803. // return
  67804. return A._asyncReturn($async$returnValue, $async$completer);
  67805. }
  67806. });
  67807. return A._asyncStartSync($async$_async_evaluate$_loadModule$7$baseUrl$configuration$namesInErrors, $async$completer);
  67808. },
  67809. _async_evaluate$_execute$5$configuration$namesInErrors$nodeWithSpan(importer, stylesheet, configuration, namesInErrors, nodeWithSpan) {
  67810. return this._execute$body$_EvaluateVisitor(importer, stylesheet, configuration, namesInErrors, nodeWithSpan);
  67811. },
  67812. _async_evaluate$_execute$2(importer, stylesheet) {
  67813. return this._async_evaluate$_execute$5$configuration$namesInErrors$nodeWithSpan(importer, stylesheet, null, false, null);
  67814. },
  67815. _execute$body$_EvaluateVisitor(importer, stylesheet, configuration, namesInErrors, nodeWithSpan) {
  67816. var $async$goto = 0,
  67817. $async$completer = A._makeAsyncAwaitCompleter(type$.Module_AsyncCallable),
  67818. $async$returnValue, $async$self = this, currentConfiguration, t2, _0_0, t3, message, existingSpan, configurationSpan, environment, css, preModuleComments, extensionStore, module, t1, url;
  67819. var $async$_async_evaluate$_execute$5$configuration$namesInErrors$nodeWithSpan = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  67820. if ($async$errorCode === 1)
  67821. return A._asyncRethrow($async$result, $async$completer);
  67822. while (true)
  67823. switch ($async$goto) {
  67824. case 0:
  67825. // Function start
  67826. t1 = stylesheet.span;
  67827. url = t1.get$sourceUrl(t1);
  67828. t1 = configuration == null;
  67829. currentConfiguration = t1 ? $async$self._async_evaluate$_configuration : configuration;
  67830. t2 = $async$self._async_evaluate$_modules;
  67831. _0_0 = t2.$index(0, url);
  67832. if (_0_0 != null) {
  67833. t2 = $async$self._async_evaluate$_moduleConfigurations.$index(0, url);
  67834. t3 = t2.__originalConfiguration;
  67835. t2 = t3 == null ? t2 : t3;
  67836. t3 = currentConfiguration.__originalConfiguration;
  67837. if (t2 !== (t3 == null ? currentConfiguration : t3) && currentConfiguration instanceof A.ExplicitConfiguration && _0_0.couldHaveBeenConfigured$1(new A.MapKeySet(new A.UnmodifiableMapView(currentConfiguration._configuration$_values, type$.UnmodifiableMapView_String_ConfiguredValue), type$.MapKeySet_String))) {
  67838. if (namesInErrors) {
  67839. t2 = $.$get$context();
  67840. url.toString;
  67841. message = t2.prettyUri$1(url) + string$.x20was_a;
  67842. } else
  67843. message = string$.This_mw;
  67844. t2 = $async$self._async_evaluate$_moduleNodes.$index(0, url);
  67845. existingSpan = t2 == null ? null : t2.get$span(t2);
  67846. if (t1) {
  67847. t1 = currentConfiguration.nodeWithSpan;
  67848. configurationSpan = t1.get$span(t1);
  67849. } else
  67850. configurationSpan = null;
  67851. t1 = A.LinkedHashMap_LinkedHashMap$_empty(type$.FileSpan, type$.String);
  67852. if (existingSpan != null)
  67853. t1.$indexSet(0, existingSpan, "original load");
  67854. if (configurationSpan != null)
  67855. t1.$indexSet(0, configurationSpan, "configuration");
  67856. throw A.wrapException(t1.get$isEmpty(0) ? $async$self._async_evaluate$_exception$1(message) : $async$self._async_evaluate$_multiSpanException$3(message, "new load", t1));
  67857. }
  67858. $async$returnValue = _0_0;
  67859. // goto return
  67860. $async$goto = 1;
  67861. break;
  67862. }
  67863. environment = A.AsyncEnvironment$();
  67864. css = A._Cell$();
  67865. preModuleComments = A._Cell$();
  67866. extensionStore = A.ExtensionStore$();
  67867. $async$goto = 3;
  67868. 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);
  67869. case 3:
  67870. // returning from await.
  67871. t1 = css._readLocal$0();
  67872. t3 = preModuleComments._readLocal$0();
  67873. module = environment.toModule$3(t1, t3 == null ? B.Map_empty7 : t3, extensionStore);
  67874. if (url != null) {
  67875. t2.$indexSet(0, url, module);
  67876. $async$self._async_evaluate$_moduleConfigurations.$indexSet(0, url, currentConfiguration);
  67877. if (nodeWithSpan != null)
  67878. $async$self._async_evaluate$_moduleNodes.$indexSet(0, url, nodeWithSpan);
  67879. }
  67880. $async$returnValue = module;
  67881. // goto return
  67882. $async$goto = 1;
  67883. break;
  67884. case 1:
  67885. // return
  67886. return A._asyncReturn($async$returnValue, $async$completer);
  67887. }
  67888. });
  67889. return A._asyncStartSync($async$_async_evaluate$_execute$5$configuration$namesInErrors$nodeWithSpan, $async$completer);
  67890. },
  67891. _async_evaluate$_addOutOfOrderImports$0() {
  67892. var t1, t2, _this = this, _s5_ = "_root",
  67893. _s13_ = "_endOfImports",
  67894. _0_0 = _this._async_evaluate$_outOfOrderImports;
  67895. $label0$0: {
  67896. if (_0_0 == null) {
  67897. t1 = _this._async_evaluate$_assertInModule$2(_this._async_evaluate$__root, _s5_).children;
  67898. break $label0$0;
  67899. }
  67900. t1 = _this._async_evaluate$_assertInModule$2(_this._async_evaluate$__root, _s5_).children;
  67901. 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);
  67902. B.JSArray_methods.addAll$1(t1, _0_0);
  67903. t2 = _this._async_evaluate$_assertInModule$2(_this._async_evaluate$__root, _s5_).children;
  67904. 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")));
  67905. break $label0$0;
  67906. }
  67907. return t1;
  67908. },
  67909. _async_evaluate$_combineCss$2$clone(root, clone) {
  67910. var selectors, _0_0, t1, imports, css, sorted, t2;
  67911. if (!B.JSArray_methods.any$1(root.get$upstream(), new A._EvaluateVisitor__combineCss_closure1())) {
  67912. selectors = root.get$extensionStore().get$simpleSelectors();
  67913. _0_0 = A.IterableExtension_get_firstOrNull(root.get$extensionStore().extensionsWhereTarget$1(new A._EvaluateVisitor__combineCss_closure2(selectors)));
  67914. if (_0_0 != null)
  67915. this._async_evaluate$_throwForUnsatisfiedExtension$1(_0_0);
  67916. return root.get$css(root);
  67917. }
  67918. t1 = type$.JSArray_CssNode;
  67919. imports = A._setArrayType([], t1);
  67920. css = A._setArrayType([], t1);
  67921. t1 = type$.Module_AsyncCallable;
  67922. sorted = A.ListQueue$(t1);
  67923. new A._EvaluateVisitor__combineCss_visitModule0(this, A.LinkedHashSet_LinkedHashSet$_empty(t1), clone, css, imports, sorted).call$1(root);
  67924. if (root.get$transitivelyContainsExtensions())
  67925. this._async_evaluate$_extendModules$1(sorted);
  67926. t1 = B.JSArray_methods.$add(imports, css);
  67927. t2 = root.get$css(root);
  67928. return new A.CssStylesheet(new A.UnmodifiableListView(t1, type$.UnmodifiableListView_CssNode), t2.get$span(t2));
  67929. },
  67930. _async_evaluate$_combineCss$1(root) {
  67931. return this._async_evaluate$_combineCss$2$clone(root, false);
  67932. },
  67933. _async_evaluate$_extendModules$1(sortedModules) {
  67934. var t1, t2, t3, originalSelectors, $self, t4, t5, _i, upstream, _0_0,
  67935. downstreamExtensionStores = A.LinkedHashMap_LinkedHashMap$_empty(type$.Uri, type$.List_ExtensionStore),
  67936. unsatisfiedExtensions = new A._LinkedIdentityHashSet(type$._LinkedIdentityHashSet_Extension);
  67937. for (t1 = A._ListQueueIterator$(sortedModules, sortedModules.$ti._precomputed1), t2 = t1.$ti._precomputed1; t1.moveNext$0();) {
  67938. t3 = t1._collection$_current;
  67939. if (t3 == null)
  67940. t3 = t2._as(t3);
  67941. originalSelectors = t3.get$extensionStore().get$simpleSelectors().toSet$0(0);
  67942. unsatisfiedExtensions.addAll$1(0, t3.get$extensionStore().extensionsWhereTarget$1(new A._EvaluateVisitor__extendModules_closure1(originalSelectors)));
  67943. $self = downstreamExtensionStores.$index(0, t3.get$url(t3));
  67944. t4 = t3.get$extensionStore().get$addExtensions();
  67945. if ($self != null)
  67946. t4.call$1($self);
  67947. t4 = t3.get$extensionStore();
  67948. if (t4.get$isEmpty(t4))
  67949. continue;
  67950. for (t4 = t3.get$upstream(), t5 = t4.length, _i = 0; _i < t4.length; t4.length === t5 || (0, A.throwConcurrentModificationError)(t4), ++_i) {
  67951. upstream = t4[_i];
  67952. _0_0 = upstream.get$url(upstream);
  67953. if (_0_0 != null)
  67954. J.add$1$ax(downstreamExtensionStores.putIfAbsent$2(_0_0, new A._EvaluateVisitor__extendModules_closure2()), t3.get$extensionStore());
  67955. }
  67956. unsatisfiedExtensions.removeAll$1(t3.get$extensionStore().extensionsWhereTarget$1(originalSelectors.get$contains(originalSelectors)));
  67957. }
  67958. if (unsatisfiedExtensions._collection$_length !== 0)
  67959. this._async_evaluate$_throwForUnsatisfiedExtension$1(unsatisfiedExtensions.get$first(0));
  67960. },
  67961. _async_evaluate$_throwForUnsatisfiedExtension$1(extension) {
  67962. throw A.wrapException(A.SassException$(string$.The_ta + extension.target.toString$0(0) + ' !optional" to avoid this error.', extension.span, null));
  67963. },
  67964. _async_evaluate$_indexAfterImports$1(statements) {
  67965. var t1, lastImport, i, _0_0;
  67966. for (t1 = J.getInterceptor$asx(statements), lastImport = -1, i = 0; i < t1.get$length(statements); ++i) {
  67967. $label0$0: {
  67968. _0_0 = t1.$index(statements, i);
  67969. if (_0_0 instanceof A.ModifiableCssImport)
  67970. break $label0$0;
  67971. if (_0_0 instanceof A.ModifiableCssComment)
  67972. continue;
  67973. break;
  67974. }
  67975. lastImport = i;
  67976. }
  67977. return lastImport + 1;
  67978. },
  67979. visitStylesheet$1(_, node) {
  67980. return this.visitStylesheet$body$_EvaluateVisitor(0, node);
  67981. },
  67982. visitStylesheet$body$_EvaluateVisitor(_, node) {
  67983. var $async$goto = 0,
  67984. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
  67985. $async$returnValue, $async$self = this, t1, t2, warning, _i, $name, span;
  67986. var $async$visitStylesheet$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  67987. if ($async$errorCode === 1)
  67988. return A._asyncRethrow($async$result, $async$completer);
  67989. while (true)
  67990. switch ($async$goto) {
  67991. case 0:
  67992. // Function start
  67993. 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();) {
  67994. warning = t1.__internal$_current;
  67995. if (warning == null)
  67996. warning = t2._as(warning);
  67997. $async$self._async_evaluate$_warn$3(warning._1, warning._2, warning._0);
  67998. }
  67999. t1 = node.children, t2 = t1.length, _i = 0;
  68000. case 3:
  68001. // for condition
  68002. if (!(_i < t2)) {
  68003. // goto after for
  68004. $async$goto = 5;
  68005. break;
  68006. }
  68007. $async$goto = 6;
  68008. return A._asyncAwait(t1[_i].accept$1($async$self), $async$visitStylesheet$1);
  68009. case 6:
  68010. // returning from await.
  68011. case 4:
  68012. // for update
  68013. ++_i;
  68014. // goto for condition
  68015. $async$goto = 3;
  68016. break;
  68017. case 5:
  68018. // after for
  68019. for (t1 = A.MapExtensions_get_pairs(node.globalVariables, type$.String, type$.FileSpan), t1 = t1.get$iterator(t1); t1.moveNext$0();) {
  68020. t2 = t1.get$current(t1);
  68021. $name = t2._0;
  68022. span = t2._1;
  68023. $async$self.visitVariableDeclaration$1(0, new A.VariableDeclaration(null, $name, new A.NullExpression(span), true, false, span));
  68024. }
  68025. $async$returnValue = null;
  68026. // goto return
  68027. $async$goto = 1;
  68028. break;
  68029. case 1:
  68030. // return
  68031. return A._asyncReturn($async$returnValue, $async$completer);
  68032. }
  68033. });
  68034. return A._asyncStartSync($async$visitStylesheet$1, $async$completer);
  68035. },
  68036. visitAtRootRule$1(_, node) {
  68037. return this.visitAtRootRule$body$_EvaluateVisitor(0, node);
  68038. },
  68039. visitAtRootRule$body$_EvaluateVisitor(_, node) {
  68040. var $async$goto = 0,
  68041. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
  68042. $async$returnValue, $async$self = this, _1_0, resolved, query, $parent, included, t1, _2_0, root, first, rest, innerCopy, outerCopy, _i, copy, _0_0;
  68043. var $async$visitAtRootRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  68044. if ($async$errorCode === 1)
  68045. return A._asyncRethrow($async$result, $async$completer);
  68046. while (true)
  68047. switch ($async$goto) {
  68048. case 0:
  68049. // Function start
  68050. _0_0 = node.query;
  68051. $async$goto = _0_0 != null ? 3 : 5;
  68052. break;
  68053. case 3:
  68054. // then
  68055. $async$goto = 6;
  68056. return A._asyncAwait($async$self._async_evaluate$_performInterpolationWithMap$2$warnForColor(_0_0, true), $async$visitAtRootRule$1);
  68057. case 6:
  68058. // returning from await.
  68059. _1_0 = $async$result;
  68060. resolved = _1_0._0;
  68061. _1_0._1;
  68062. query = new A.AtRootQueryParser(A.SpanScanner$(resolved, null), null).parse$0(0);
  68063. // goto join
  68064. $async$goto = 4;
  68065. break;
  68066. case 5:
  68067. // else
  68068. query = B.AtRootQuery_bfj;
  68069. case 4:
  68070. // join
  68071. $parent = $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__parent, "__parent");
  68072. included = A._setArrayType([], type$.JSArray_ModifiableCssParentNode);
  68073. for (t1 = type$.CssStylesheet; !t1._is($parent); $parent = _2_0) {
  68074. if (!query.excludes$1($parent))
  68075. included.push($parent);
  68076. _2_0 = $parent._parent;
  68077. if (_2_0 == null)
  68078. throw A.wrapException(A.StateError$(string$.CssNod));
  68079. }
  68080. root = $async$self._async_evaluate$_trimIncluded$1(included);
  68081. $async$goto = root === $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__parent, "__parent") ? 7 : 8;
  68082. break;
  68083. case 7:
  68084. // then
  68085. $async$goto = 9;
  68086. 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);
  68087. case 9:
  68088. // returning from await.
  68089. $async$returnValue = null;
  68090. // goto return
  68091. $async$goto = 1;
  68092. break;
  68093. case 8:
  68094. // join
  68095. if (included.length >= 1) {
  68096. first = included[0];
  68097. rest = B.JSArray_methods.sublist$1(included, 1);
  68098. innerCopy = first.copyWithoutChildren$0();
  68099. for (t1 = rest.length, outerCopy = innerCopy, _i = 0; _i < rest.length; rest.length === t1 || (0, A.throwConcurrentModificationError)(rest), ++_i, outerCopy = copy) {
  68100. copy = rest[_i].copyWithoutChildren$0();
  68101. copy.addChild$1(outerCopy);
  68102. }
  68103. root.addChild$1(outerCopy);
  68104. } else
  68105. innerCopy = root;
  68106. $async$goto = 10;
  68107. 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);
  68108. case 10:
  68109. // returning from await.
  68110. $async$returnValue = null;
  68111. // goto return
  68112. $async$goto = 1;
  68113. break;
  68114. case 1:
  68115. // return
  68116. return A._asyncReturn($async$returnValue, $async$completer);
  68117. }
  68118. });
  68119. return A._asyncStartSync($async$visitAtRootRule$1, $async$completer);
  68120. },
  68121. _async_evaluate$_trimIncluded$1(nodes) {
  68122. var $parent, t1, innermostContiguous, i, t2, _0_0, _1_0, root, _this = this, _null = null, _s5_ = "_root",
  68123. _s22_ = " to be an ancestor of ";
  68124. if (nodes.length === 0)
  68125. return _this._async_evaluate$_assertInModule$2(_this._async_evaluate$__root, _s5_);
  68126. $parent = _this._async_evaluate$_assertInModule$2(_this._async_evaluate$__parent, "__parent");
  68127. for (t1 = nodes.length, innermostContiguous = _null, i = 0; i < t1; ++i, $parent = _1_0) {
  68128. for (; t2 = nodes[i], $parent !== t2; innermostContiguous = _null, $parent = _0_0) {
  68129. _0_0 = $parent._parent;
  68130. if (_0_0 == null)
  68131. throw A.wrapException(A.ArgumentError$("Expected " + t2.toString$0(0) + _s22_ + _this.toString$0(0) + ".", _null));
  68132. }
  68133. if (innermostContiguous == null)
  68134. innermostContiguous = i;
  68135. _1_0 = $parent._parent;
  68136. if (_1_0 == null)
  68137. throw A.wrapException(A.ArgumentError$("Expected " + t2.toString$0(0) + _s22_ + _this.toString$0(0) + ".", _null));
  68138. }
  68139. if ($parent !== _this._async_evaluate$_assertInModule$2(_this._async_evaluate$__root, _s5_))
  68140. return _this._async_evaluate$_assertInModule$2(_this._async_evaluate$__root, _s5_);
  68141. innermostContiguous.toString;
  68142. root = nodes[innermostContiguous];
  68143. B.JSArray_methods.removeRange$2(nodes, innermostContiguous, nodes.length);
  68144. return root;
  68145. },
  68146. _async_evaluate$_scopeForAtRoot$4(node, newParent, query, included) {
  68147. var _this = this,
  68148. scope = new A._EvaluateVisitor__scopeForAtRoot_closure5(_this, newParent, node),
  68149. t1 = query._all || query._at_root_query$_rule;
  68150. if (t1 !== query.include)
  68151. scope = new A._EvaluateVisitor__scopeForAtRoot_closure6(_this, scope);
  68152. if (_this._async_evaluate$_mediaQueries != null && query.excludesName$1("media"))
  68153. scope = new A._EvaluateVisitor__scopeForAtRoot_closure7(_this, scope);
  68154. if (_this._async_evaluate$_inKeyframes && query.excludesName$1("keyframes"))
  68155. scope = new A._EvaluateVisitor__scopeForAtRoot_closure8(_this, scope);
  68156. return _this._async_evaluate$_inUnknownAtRule && !B.JSArray_methods.any$1(included, new A._EvaluateVisitor__scopeForAtRoot_closure9()) ? new A._EvaluateVisitor__scopeForAtRoot_closure10(_this, scope) : scope;
  68157. },
  68158. visitContentBlock$1(_, node) {
  68159. return A.throwExpression(A.UnsupportedError$(string$.Evalua));
  68160. },
  68161. visitContentRule$1(_, node) {
  68162. return this.visitContentRule$body$_EvaluateVisitor(0, node);
  68163. },
  68164. visitContentRule$body$_EvaluateVisitor(_, node) {
  68165. var $async$goto = 0,
  68166. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
  68167. $async$returnValue, $async$self = this, $content;
  68168. var $async$visitContentRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  68169. if ($async$errorCode === 1)
  68170. return A._asyncRethrow($async$result, $async$completer);
  68171. while (true)
  68172. switch ($async$goto) {
  68173. case 0:
  68174. // Function start
  68175. $content = $async$self._async_evaluate$_environment._async_environment$_content;
  68176. if ($content == null) {
  68177. $async$returnValue = null;
  68178. // goto return
  68179. $async$goto = 1;
  68180. break;
  68181. }
  68182. $async$goto = 3;
  68183. 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);
  68184. case 3:
  68185. // returning from await.
  68186. $async$returnValue = null;
  68187. // goto return
  68188. $async$goto = 1;
  68189. break;
  68190. case 1:
  68191. // return
  68192. return A._asyncReturn($async$returnValue, $async$completer);
  68193. }
  68194. });
  68195. return A._asyncStartSync($async$visitContentRule$1, $async$completer);
  68196. },
  68197. visitDebugRule$1(_, node) {
  68198. return this.visitDebugRule$body$_EvaluateVisitor(0, node);
  68199. },
  68200. visitDebugRule$body$_EvaluateVisitor(_, node) {
  68201. var $async$goto = 0,
  68202. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
  68203. $async$returnValue, $async$self = this, value, t1;
  68204. var $async$visitDebugRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  68205. if ($async$errorCode === 1)
  68206. return A._asyncRethrow($async$result, $async$completer);
  68207. while (true)
  68208. switch ($async$goto) {
  68209. case 0:
  68210. // Function start
  68211. $async$goto = 3;
  68212. return A._asyncAwait(node.expression.accept$1($async$self), $async$visitDebugRule$1);
  68213. case 3:
  68214. // returning from await.
  68215. value = $async$result;
  68216. t1 = value instanceof A.SassString ? value._string$_text : A.serializeValue(value, true, true);
  68217. $async$self._async_evaluate$_logger.debug$2(0, t1, node.span);
  68218. $async$returnValue = null;
  68219. // goto return
  68220. $async$goto = 1;
  68221. break;
  68222. case 1:
  68223. // return
  68224. return A._asyncReturn($async$returnValue, $async$completer);
  68225. }
  68226. });
  68227. return A._asyncStartSync($async$visitDebugRule$1, $async$completer);
  68228. },
  68229. visitDeclaration$1(_, node) {
  68230. return this.visitDeclaration$body$_EvaluateVisitor(0, node);
  68231. },
  68232. visitDeclaration$body$_EvaluateVisitor(_, node) {
  68233. var $async$goto = 0,
  68234. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
  68235. $async$returnValue, $async$self = this, siblings, interleavedRules, t1, t2, t3, t4, t5, t6, rule, rule0, $name, _1_0, _2_0, value, _3_0, oldDeclarationName;
  68236. var $async$visitDeclaration$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  68237. if ($async$errorCode === 1)
  68238. return A._asyncRethrow($async$result, $async$completer);
  68239. while (true)
  68240. switch ($async$goto) {
  68241. case 0:
  68242. // Function start
  68243. if (($async$self._async_evaluate$_atRootExcludingStyleRule ? null : $async$self._async_evaluate$_styleRuleIgnoringAtRoot) == null && !$async$self._async_evaluate$_inUnknownAtRule && !$async$self._async_evaluate$_inKeyframes)
  68244. throw A.wrapException($async$self._async_evaluate$_exception$2(string$.Declarm, node.span));
  68245. if ($async$self._async_evaluate$_declarationName != null && B.JSString_methods.startsWith$1(node.name.get$initialPlain(), "--"))
  68246. throw A.wrapException($async$self._async_evaluate$_exception$2(string$.Declarw, node.span));
  68247. siblings = $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__parent, "__parent")._parent.children;
  68248. interleavedRules = A._setArrayType([], type$.JSArray_CssStyleRule);
  68249. if (siblings.get$last(siblings) !== $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__parent, "__parent"))
  68250. t1 = !($async$self._async_evaluate$_quietDeps && $async$self._async_evaluate$_inDependency);
  68251. else
  68252. t1 = false;
  68253. if (t1)
  68254. 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();) {
  68255. t6 = t1.__internal$_current;
  68256. rule = t6 == null ? t2._as(t6) : t6;
  68257. $label0$1: {
  68258. if (rule instanceof A.ModifiableCssComment)
  68259. continue;
  68260. t6 = rule instanceof A.ModifiableCssStyleRule;
  68261. rule0 = t6 ? rule : null;
  68262. if (t6) {
  68263. interleavedRules.push(rule0);
  68264. break $label0$1;
  68265. }
  68266. $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);
  68267. B.JSArray_methods.clear$0(interleavedRules);
  68268. break $label0$1;
  68269. }
  68270. }
  68271. t1 = node.name;
  68272. $async$goto = 3;
  68273. return A._asyncAwait($async$self._async_evaluate$_interpolationToValue$2$warnForColor(t1, true), $async$visitDeclaration$1);
  68274. case 3:
  68275. // returning from await.
  68276. $name = $async$result;
  68277. _1_0 = $async$self._async_evaluate$_declarationName;
  68278. if (_1_0 != null)
  68279. $name = new A.CssValue(_1_0 + "-" + A.S($name.value), $name.span, type$.CssValue_String);
  68280. _2_0 = node.value;
  68281. $async$goto = _2_0 != null ? 4 : 5;
  68282. break;
  68283. case 4:
  68284. // then
  68285. $async$goto = 6;
  68286. return A._asyncAwait(_2_0.accept$1($async$self), $async$visitDeclaration$1);
  68287. case 6:
  68288. // returning from await.
  68289. value = $async$result;
  68290. if (!value.get$isBlank() || value.get$asList().length === 0 || J.startsWith$1$s($name.value, "--")) {
  68291. t2 = $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__parent, "__parent");
  68292. t3 = _2_0.get$span(_2_0);
  68293. t4 = node.span;
  68294. t1 = B.JSString_methods.startsWith$1(t1.get$initialPlain(), "--");
  68295. t5 = interleavedRules.length === 0 ? null : $async$self._async_evaluate$_stackTrace$1(t4);
  68296. if ($async$self._async_evaluate$_sourceMap) {
  68297. t6 = A.NullableExtension_andThen(_2_0, $async$self.get$_async_evaluate$_expressionNode());
  68298. t6 = t6 == null ? null : J.get$span$z(t6);
  68299. } else
  68300. t6 = null;
  68301. t2.addChild$1(A.ModifiableCssDeclaration$($name, new A.CssValue(value, t3, type$.CssValue_Value), t4, interleavedRules, t1, t5, t6));
  68302. }
  68303. case 5:
  68304. // join
  68305. _3_0 = node.children;
  68306. t1 = {};
  68307. t1.children = null;
  68308. $async$goto = _3_0 != null ? 7 : 8;
  68309. break;
  68310. case 7:
  68311. // then
  68312. t1.children = _3_0;
  68313. oldDeclarationName = $async$self._async_evaluate$_declarationName;
  68314. $async$self._async_evaluate$_declarationName = $name.value;
  68315. $async$goto = 9;
  68316. 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);
  68317. case 9:
  68318. // returning from await.
  68319. $async$self._async_evaluate$_declarationName = oldDeclarationName;
  68320. case 8:
  68321. // join
  68322. $async$returnValue = null;
  68323. // goto return
  68324. $async$goto = 1;
  68325. break;
  68326. case 1:
  68327. // return
  68328. return A._asyncReturn($async$returnValue, $async$completer);
  68329. }
  68330. });
  68331. return A._asyncStartSync($async$visitDeclaration$1, $async$completer);
  68332. },
  68333. visitEachRule$1(_, node) {
  68334. return this.visitEachRule$body$_EvaluateVisitor(0, node);
  68335. },
  68336. visitEachRule$body$_EvaluateVisitor(_, node) {
  68337. var $async$goto = 0,
  68338. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
  68339. $async$returnValue, $async$self = this, t1, list, nodeWithSpan, _0_0;
  68340. var $async$visitEachRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  68341. if ($async$errorCode === 1)
  68342. return A._asyncRethrow($async$result, $async$completer);
  68343. while (true)
  68344. switch ($async$goto) {
  68345. case 0:
  68346. // Function start
  68347. t1 = node.list;
  68348. $async$goto = 3;
  68349. return A._asyncAwait(t1.accept$1($async$self), $async$visitEachRule$1);
  68350. case 3:
  68351. // returning from await.
  68352. list = $async$result;
  68353. nodeWithSpan = $async$self._async_evaluate$_expressionNode$1(t1);
  68354. _0_0 = node.variables;
  68355. $label0$0: {
  68356. t1 = {};
  68357. t1.variable = null;
  68358. if (_0_0.length === 1) {
  68359. t1.variable = _0_0[0];
  68360. t1 = new A._EvaluateVisitor_visitEachRule_closure2(t1, $async$self, nodeWithSpan);
  68361. break $label0$0;
  68362. }
  68363. t1 = {};
  68364. t1.variables = null;
  68365. t1.variables = _0_0;
  68366. t1 = new A._EvaluateVisitor_visitEachRule_closure3(t1, $async$self, nodeWithSpan);
  68367. break $label0$0;
  68368. }
  68369. $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);
  68370. // goto return
  68371. $async$goto = 1;
  68372. break;
  68373. case 1:
  68374. // return
  68375. return A._asyncReturn($async$returnValue, $async$completer);
  68376. }
  68377. });
  68378. return A._asyncStartSync($async$visitEachRule$1, $async$completer);
  68379. },
  68380. _async_evaluate$_setMultipleVariables$3(variables, value, nodeWithSpan) {
  68381. var i,
  68382. list = value.get$asList(),
  68383. t1 = variables.length,
  68384. minLength = Math.min(t1, list.length);
  68385. for (i = 0; i < minLength; ++i)
  68386. this._async_evaluate$_environment.setLocalVariable$3(variables[i], this._async_evaluate$_withoutSlash$2(list[i], nodeWithSpan), nodeWithSpan);
  68387. for (i = minLength; i < t1; ++i)
  68388. this._async_evaluate$_environment.setLocalVariable$3(variables[i], B.C__SassNull, nodeWithSpan);
  68389. },
  68390. visitErrorRule$1(_, node) {
  68391. return this.visitErrorRule$body$_EvaluateVisitor(0, node);
  68392. },
  68393. visitErrorRule$body$_EvaluateVisitor(_, node) {
  68394. var $async$goto = 0,
  68395. $async$completer = A._makeAsyncAwaitCompleter(type$.Value),
  68396. $async$self = this, $async$temp1, $async$temp2;
  68397. var $async$visitErrorRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  68398. if ($async$errorCode === 1)
  68399. return A._asyncRethrow($async$result, $async$completer);
  68400. while (true)
  68401. switch ($async$goto) {
  68402. case 0:
  68403. // Function start
  68404. $async$temp1 = A;
  68405. $async$temp2 = J;
  68406. $async$goto = 2;
  68407. return A._asyncAwait(node.expression.accept$1($async$self), $async$visitErrorRule$1);
  68408. case 2:
  68409. // returning from await.
  68410. throw $async$temp1.wrapException($async$self._async_evaluate$_exception$2($async$temp2.toString$0$($async$result), node.span));
  68411. // implicit return
  68412. return A._asyncReturn(null, $async$completer);
  68413. }
  68414. });
  68415. return A._asyncStartSync($async$visitErrorRule$1, $async$completer);
  68416. },
  68417. visitExtendRule$1(_, node) {
  68418. return this.visitExtendRule$body$_EvaluateVisitor(0, node);
  68419. },
  68420. visitExtendRule$body$_EvaluateVisitor(_, node) {
  68421. var $async$goto = 0,
  68422. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
  68423. $async$returnValue, $async$self = this, t1, t2, t3, t4, t5, _i, complex, visitor, t6, t7, _0_0, targetText, targetMap, compound, styleRule;
  68424. var $async$visitExtendRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  68425. if ($async$errorCode === 1)
  68426. return A._asyncRethrow($async$result, $async$completer);
  68427. while (true)
  68428. switch ($async$goto) {
  68429. case 0:
  68430. // Function start
  68431. styleRule = $async$self._async_evaluate$_atRootExcludingStyleRule ? null : $async$self._async_evaluate$_styleRuleIgnoringAtRoot;
  68432. if (styleRule == null || $async$self._async_evaluate$_declarationName != null)
  68433. throw A.wrapException($async$self._async_evaluate$_exception$2(string$.x40exten, node.span));
  68434. for (t1 = styleRule.originalSelector.components, t2 = t1.length, t3 = node.span, t4 = type$.SourceSpan, t5 = type$.String, _i = 0; _i < t2; ++_i) {
  68435. complex = t1[_i];
  68436. if (!complex.accept$1(B._IsBogusVisitor_true))
  68437. continue;
  68438. visitor = A._SerializeVisitor$(null, true, null, null, true, false, null, true);
  68439. complex.accept$1(visitor);
  68440. t6 = B.JSString_methods.trim$0(visitor._serialize$_buffer.toString$0(0));
  68441. t7 = complex.accept$1(B.C__IsUselessVisitor) ? "can't" : "shouldn't";
  68442. $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);
  68443. }
  68444. $async$goto = 3;
  68445. return A._asyncAwait($async$self._async_evaluate$_performInterpolationWithMap$2$warnForColor(node.selector, true), $async$visitExtendRule$1);
  68446. case 3:
  68447. // returning from await.
  68448. _0_0 = $async$result;
  68449. targetText = _0_0._0;
  68450. targetMap = _0_0._1;
  68451. 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) {
  68452. complex = t1[_i];
  68453. compound = complex.get$singleCompound();
  68454. if (compound == null)
  68455. throw A.wrapException(A.SassFormatException$("complex selectors may not be extended.", complex.span, null));
  68456. t4 = compound.components;
  68457. t5 = t4.length === 1 ? B.JSArray_methods.get$first(t4) : null;
  68458. if (t5 == null)
  68459. throw A.wrapException(A.SassFormatException$(string$.compou + B.JSArray_methods.join$1(t4, ", ") + string$.x60_inst, compound.span, null));
  68460. $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__extensionStore, "_extensionStore").addExtension$4(t3.value, t5, node, $async$self._async_evaluate$_mediaQueries);
  68461. }
  68462. $async$returnValue = null;
  68463. // goto return
  68464. $async$goto = 1;
  68465. break;
  68466. case 1:
  68467. // return
  68468. return A._asyncReturn($async$returnValue, $async$completer);
  68469. }
  68470. });
  68471. return A._asyncStartSync($async$visitExtendRule$1, $async$completer);
  68472. },
  68473. visitAtRule$1(_, node) {
  68474. return this.visitAtRule$body$_EvaluateVisitor(0, node);
  68475. },
  68476. visitAtRule$body$_EvaluateVisitor(_, node) {
  68477. var $async$goto = 0,
  68478. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
  68479. $async$returnValue, $async$self = this, $name, t1, value, children, wasInKeyframes, wasInUnknownAtRule;
  68480. var $async$visitAtRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  68481. if ($async$errorCode === 1)
  68482. return A._asyncRethrow($async$result, $async$completer);
  68483. while (true)
  68484. switch ($async$goto) {
  68485. case 0:
  68486. // Function start
  68487. if ($async$self._async_evaluate$_declarationName != null)
  68488. throw A.wrapException($async$self._async_evaluate$_exception$2(string$.At_rul, node.span));
  68489. $async$goto = 3;
  68490. return A._asyncAwait($async$self._async_evaluate$_interpolationToValue$1(node.name), $async$visitAtRule$1);
  68491. case 3:
  68492. // returning from await.
  68493. $name = $async$result;
  68494. t1 = A.NullableExtension_andThen(node.value, new A._EvaluateVisitor_visitAtRule_closure2($async$self));
  68495. $async$goto = 4;
  68496. return A._asyncAwait(type$.Future_nullable_CssValue_String._is(t1) ? t1 : A._Future$value(t1, type$.nullable_CssValue_String), $async$visitAtRule$1);
  68497. case 4:
  68498. // returning from await.
  68499. value = $async$result;
  68500. children = node.children;
  68501. if (children == null) {
  68502. $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__parent, "__parent").addChild$1(A.ModifiableCssAtRule$($name, node.span, true, value));
  68503. $async$returnValue = null;
  68504. // goto return
  68505. $async$goto = 1;
  68506. break;
  68507. }
  68508. wasInKeyframes = $async$self._async_evaluate$_inKeyframes;
  68509. wasInUnknownAtRule = $async$self._async_evaluate$_inUnknownAtRule;
  68510. if (A.unvendor($name.value) === "keyframes")
  68511. $async$self._async_evaluate$_inKeyframes = true;
  68512. else
  68513. $async$self._async_evaluate$_inUnknownAtRule = true;
  68514. $async$goto = 5;
  68515. 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);
  68516. case 5:
  68517. // returning from await.
  68518. $async$self._async_evaluate$_inUnknownAtRule = wasInUnknownAtRule;
  68519. $async$self._async_evaluate$_inKeyframes = wasInKeyframes;
  68520. $async$returnValue = null;
  68521. // goto return
  68522. $async$goto = 1;
  68523. break;
  68524. case 1:
  68525. // return
  68526. return A._asyncReturn($async$returnValue, $async$completer);
  68527. }
  68528. });
  68529. return A._asyncStartSync($async$visitAtRule$1, $async$completer);
  68530. },
  68531. visitForRule$1(_, node) {
  68532. return this.visitForRule$body$_EvaluateVisitor(0, node);
  68533. },
  68534. visitForRule$body$_EvaluateVisitor(_, node) {
  68535. var $async$goto = 0,
  68536. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
  68537. $async$returnValue, $async$self = this, t1, t2, t3, fromNumber, t4, toNumber, from, to, direction;
  68538. var $async$visitForRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  68539. if ($async$errorCode === 1)
  68540. return A._asyncRethrow($async$result, $async$completer);
  68541. while (true)
  68542. switch ($async$goto) {
  68543. case 0:
  68544. // Function start
  68545. t1 = {};
  68546. t2 = node.from;
  68547. t3 = type$.SassNumber;
  68548. $async$goto = 3;
  68549. return A._asyncAwait($async$self._addExceptionSpanAsync$1$2(t2, new A._EvaluateVisitor_visitForRule_closure4($async$self, node), t3), $async$visitForRule$1);
  68550. case 3:
  68551. // returning from await.
  68552. fromNumber = $async$result;
  68553. t4 = node.to;
  68554. $async$goto = 4;
  68555. return A._asyncAwait($async$self._addExceptionSpanAsync$1$2(t4, new A._EvaluateVisitor_visitForRule_closure5($async$self, node), t3), $async$visitForRule$1);
  68556. case 4:
  68557. // returning from await.
  68558. toNumber = $async$result;
  68559. from = $async$self._async_evaluate$_addExceptionSpan$2(t2, new A._EvaluateVisitor_visitForRule_closure6(fromNumber));
  68560. to = t1.to = $async$self._async_evaluate$_addExceptionSpan$2(t4, new A._EvaluateVisitor_visitForRule_closure7(toNumber, fromNumber));
  68561. direction = from > to ? -1 : 1;
  68562. if (from === (!node.isExclusive ? t1.to = to + direction : to)) {
  68563. $async$returnValue = null;
  68564. // goto return
  68565. $async$goto = 1;
  68566. break;
  68567. }
  68568. $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);
  68569. // goto return
  68570. $async$goto = 1;
  68571. break;
  68572. case 1:
  68573. // return
  68574. return A._asyncReturn($async$returnValue, $async$completer);
  68575. }
  68576. });
  68577. return A._asyncStartSync($async$visitForRule$1, $async$completer);
  68578. },
  68579. visitForwardRule$1(_, node) {
  68580. return this.visitForwardRule$body$_EvaluateVisitor(0, node);
  68581. },
  68582. visitForwardRule$body$_EvaluateVisitor(_, node) {
  68583. var $async$goto = 0,
  68584. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
  68585. $async$returnValue, $async$self = this, newConfiguration, t4, _i, variable, $name, oldConfiguration, adjustedConfiguration, t1, t2, t3;
  68586. var $async$visitForwardRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  68587. if ($async$errorCode === 1)
  68588. return A._asyncRethrow($async$result, $async$completer);
  68589. while (true)
  68590. switch ($async$goto) {
  68591. case 0:
  68592. // Function start
  68593. oldConfiguration = $async$self._async_evaluate$_configuration;
  68594. adjustedConfiguration = oldConfiguration.throughForward$1(node);
  68595. t1 = node.configuration;
  68596. t2 = t1.length;
  68597. t3 = node.url;
  68598. $async$goto = t2 !== 0 ? 3 : 5;
  68599. break;
  68600. case 3:
  68601. // then
  68602. $async$goto = 6;
  68603. return A._asyncAwait($async$self._async_evaluate$_addForwardConfiguration$2(adjustedConfiguration, node), $async$visitForwardRule$1);
  68604. case 6:
  68605. // returning from await.
  68606. newConfiguration = $async$result;
  68607. $async$goto = 7;
  68608. 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);
  68609. case 7:
  68610. // returning from await.
  68611. t3 = type$.String;
  68612. t4 = A.LinkedHashSet_LinkedHashSet$_empty(t3);
  68613. for (_i = 0; _i < t2; ++_i) {
  68614. variable = t1[_i];
  68615. if (!variable.isGuarded)
  68616. t4.add$1(0, variable.name);
  68617. }
  68618. $async$self._async_evaluate$_removeUsedConfiguration$3$except(adjustedConfiguration, newConfiguration, t4);
  68619. t3 = A.LinkedHashSet_LinkedHashSet$_empty(t3);
  68620. for (_i = 0; _i < t2; ++_i)
  68621. t3.add$1(0, t1[_i].name);
  68622. 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) {
  68623. $name = t2[_i];
  68624. if (!t3.contains$1(0, $name))
  68625. if (!t1.get$isEmpty(t1))
  68626. t1.remove$1(0, $name);
  68627. }
  68628. $async$self._async_evaluate$_assertConfigurationIsEmpty$1(newConfiguration);
  68629. // goto join
  68630. $async$goto = 4;
  68631. break;
  68632. case 5:
  68633. // else
  68634. $async$self._async_evaluate$_configuration = adjustedConfiguration;
  68635. $async$goto = 8;
  68636. return A._asyncAwait($async$self._async_evaluate$_loadModule$4(t3, "@forward", node, new A._EvaluateVisitor_visitForwardRule_closure2($async$self, node)), $async$visitForwardRule$1);
  68637. case 8:
  68638. // returning from await.
  68639. $async$self._async_evaluate$_configuration = oldConfiguration;
  68640. case 4:
  68641. // join
  68642. $async$returnValue = null;
  68643. // goto return
  68644. $async$goto = 1;
  68645. break;
  68646. case 1:
  68647. // return
  68648. return A._asyncReturn($async$returnValue, $async$completer);
  68649. }
  68650. });
  68651. return A._asyncStartSync($async$visitForwardRule$1, $async$completer);
  68652. },
  68653. _async_evaluate$_addForwardConfiguration$2(configuration, node) {
  68654. return this._addForwardConfiguration$body$_EvaluateVisitor(configuration, node);
  68655. },
  68656. _addForwardConfiguration$body$_EvaluateVisitor(configuration, node) {
  68657. var $async$goto = 0,
  68658. $async$completer = A._makeAsyncAwaitCompleter(type$.Configuration),
  68659. $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;
  68660. var $async$_async_evaluate$_addForwardConfiguration$2 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  68661. if ($async$errorCode === 1)
  68662. return A._asyncRethrow($async$result, $async$completer);
  68663. while (true)
  68664. switch ($async$goto) {
  68665. case 0:
  68666. // Function start
  68667. t1 = configuration._configuration$_values;
  68668. newValues = A.LinkedHashMap_LinkedHashMap$of(new A.UnmodifiableMapView(t1, type$.UnmodifiableMapView_String_ConfiguredValue), type$.String, type$.ConfiguredValue);
  68669. t2 = node.configuration, t3 = t2.length, t4 = type$._Future_Value, t5 = type$.Future_Value, _i = 0;
  68670. case 3:
  68671. // for condition
  68672. if (!(_i < t3)) {
  68673. // goto after for
  68674. $async$goto = 5;
  68675. break;
  68676. }
  68677. variable = t2[_i];
  68678. if (variable.isGuarded) {
  68679. t6 = variable.name;
  68680. _0_0 = t1.get$isEmpty(t1) ? null : t1.remove$1(0, t6);
  68681. if (_0_0 != null) {
  68682. t7 = !_0_0.value.$eq(0, B.C__SassNull);
  68683. oldValue = _0_0;
  68684. } else {
  68685. oldValue = null;
  68686. t7 = false;
  68687. }
  68688. if (t7) {
  68689. newValues.$indexSet(0, t6, oldValue);
  68690. // goto for update
  68691. $async$goto = 4;
  68692. break;
  68693. }
  68694. }
  68695. t6 = variable.expression;
  68696. variableNodeWithSpan = $async$self._async_evaluate$_expressionNode$1(t6);
  68697. t6 = t6.accept$1($async$self);
  68698. if (!t5._is(t6)) {
  68699. t7 = new A._Future($.Zone__current, t4);
  68700. t7._state = 8;
  68701. t7._resultOrListeners = t6;
  68702. t6 = t7;
  68703. }
  68704. $async$temp1 = newValues;
  68705. $async$temp2 = variable.name;
  68706. $async$temp3 = A;
  68707. $async$goto = 6;
  68708. return A._asyncAwait(t6, $async$_async_evaluate$_addForwardConfiguration$2);
  68709. case 6:
  68710. // returning from await.
  68711. $async$temp1.$indexSet(0, $async$temp2, new $async$temp3.ConfiguredValue($async$self._async_evaluate$_withoutSlash$2($async$result, variableNodeWithSpan), variable.span, variableNodeWithSpan));
  68712. case 4:
  68713. // for update
  68714. ++_i;
  68715. // goto for condition
  68716. $async$goto = 3;
  68717. break;
  68718. case 5:
  68719. // after for
  68720. if (configuration instanceof A.ExplicitConfiguration || t1.get$isEmpty(t1)) {
  68721. $async$returnValue = new A.ExplicitConfiguration(node, newValues, null);
  68722. // goto return
  68723. $async$goto = 1;
  68724. break;
  68725. } else {
  68726. $async$returnValue = new A.Configuration(newValues, null);
  68727. // goto return
  68728. $async$goto = 1;
  68729. break;
  68730. }
  68731. case 1:
  68732. // return
  68733. return A._asyncReturn($async$returnValue, $async$completer);
  68734. }
  68735. });
  68736. return A._asyncStartSync($async$_async_evaluate$_addForwardConfiguration$2, $async$completer);
  68737. },
  68738. _async_evaluate$_registerCommentsForModule$1(module) {
  68739. var _this = this, _s5_ = "_root",
  68740. t1 = _this._async_evaluate$__root;
  68741. if (t1 == null)
  68742. return;
  68743. if (_this._async_evaluate$_assertInModule$2(t1, _s5_).children.get$length(0) === 0 || !module.get$transitivelyContainsCss())
  68744. return;
  68745. t1 = _this._async_evaluate$_preModuleComments;
  68746. if (t1 == null)
  68747. t1 = _this._async_evaluate$_preModuleComments = A.LinkedHashMap_LinkedHashMap$_empty(type$.Module_AsyncCallable, type$.List_CssComment);
  68748. 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));
  68749. _this._async_evaluate$_assertInModule$2(_this._async_evaluate$__root, _s5_).clearChildren$0();
  68750. _this._async_evaluate$__endOfImports = 0;
  68751. },
  68752. _async_evaluate$_removeUsedConfiguration$3$except(upstream, downstream, except) {
  68753. var t1, t2, t3, t4, _i, $name;
  68754. 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) {
  68755. $name = t2[_i];
  68756. if (except.contains$1(0, $name))
  68757. continue;
  68758. if (!t4.containsKey$1($name))
  68759. if (!t1.get$isEmpty(t1))
  68760. t1.remove$1(0, $name);
  68761. }
  68762. },
  68763. _async_evaluate$_assertConfigurationIsEmpty$2$nameInError(configuration, nameInError) {
  68764. var t1, _0_0, $name, value;
  68765. if (!(configuration instanceof A.ExplicitConfiguration))
  68766. return;
  68767. t1 = configuration._configuration$_values;
  68768. if (t1.get$isEmpty(t1))
  68769. return;
  68770. t1 = A.MapExtensions_get_pairs(new A.UnmodifiableMapView(t1, type$.UnmodifiableMapView_String_ConfiguredValue), type$.String, type$.ConfiguredValue);
  68771. _0_0 = t1.get$first(t1);
  68772. $name = _0_0._0;
  68773. value = _0_0._1;
  68774. t1 = nameInError ? "$" + $name + string$.x20was_n : string$.This_v;
  68775. throw A.wrapException(this._async_evaluate$_exception$2(t1, value.configurationSpan));
  68776. },
  68777. _async_evaluate$_assertConfigurationIsEmpty$1(configuration) {
  68778. return this._async_evaluate$_assertConfigurationIsEmpty$2$nameInError(configuration, false);
  68779. },
  68780. visitFunctionRule$1(_, node) {
  68781. return this.visitFunctionRule$body$_EvaluateVisitor(0, node);
  68782. },
  68783. visitFunctionRule$body$_EvaluateVisitor(_, node) {
  68784. var $async$goto = 0,
  68785. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
  68786. $async$returnValue, $async$self = this, t1, t2, t3, t4, index, t5;
  68787. var $async$visitFunctionRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  68788. if ($async$errorCode === 1)
  68789. return A._asyncRethrow($async$result, $async$completer);
  68790. while (true)
  68791. switch ($async$goto) {
  68792. case 0:
  68793. // Function start
  68794. t1 = $async$self._async_evaluate$_environment;
  68795. t2 = t1.closure$0();
  68796. t3 = $async$self._async_evaluate$_inDependency;
  68797. t4 = t1._async_environment$_functions;
  68798. index = t4.length - 1;
  68799. t5 = node.name;
  68800. t1._async_environment$_functionIndices.$indexSet(0, t5, index);
  68801. t4[index].$indexSet(0, t5, new A.UserDefinedCallable(node, t2, t3, type$.UserDefinedCallable_AsyncEnvironment));
  68802. $async$returnValue = null;
  68803. // goto return
  68804. $async$goto = 1;
  68805. break;
  68806. case 1:
  68807. // return
  68808. return A._asyncReturn($async$returnValue, $async$completer);
  68809. }
  68810. });
  68811. return A._asyncStartSync($async$visitFunctionRule$1, $async$completer);
  68812. },
  68813. visitIfRule$1(_, node) {
  68814. return this.visitIfRule$body$_EvaluateVisitor(0, node);
  68815. },
  68816. visitIfRule$body$_EvaluateVisitor(_, node) {
  68817. var $async$goto = 0,
  68818. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
  68819. $async$returnValue, $async$self = this, t1, t2, _i, clauseToCheck, clause;
  68820. var $async$visitIfRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  68821. if ($async$errorCode === 1)
  68822. return A._asyncRethrow($async$result, $async$completer);
  68823. while (true)
  68824. switch ($async$goto) {
  68825. case 0:
  68826. // Function start
  68827. clause = node.lastClause;
  68828. t1 = node.clauses, t2 = t1.length, _i = 0;
  68829. case 3:
  68830. // for condition
  68831. if (!(_i < t2)) {
  68832. // goto after for
  68833. $async$goto = 5;
  68834. break;
  68835. }
  68836. clauseToCheck = t1[_i];
  68837. $async$goto = 6;
  68838. return A._asyncAwait(clauseToCheck.expression.accept$1($async$self), $async$visitIfRule$1);
  68839. case 6:
  68840. // returning from await.
  68841. if ($async$result.get$isTruthy()) {
  68842. clause = clauseToCheck;
  68843. // goto after for
  68844. $async$goto = 5;
  68845. break;
  68846. }
  68847. case 4:
  68848. // for update
  68849. ++_i;
  68850. // goto for condition
  68851. $async$goto = 3;
  68852. break;
  68853. case 5:
  68854. // after for
  68855. t1 = A.NullableExtension_andThen(clause, new A._EvaluateVisitor_visitIfRule_closure0($async$self));
  68856. $async$goto = 7;
  68857. return A._asyncAwait(type$.Future_nullable_Value._is(t1) ? t1 : A._Future$value(t1, type$.nullable_Value), $async$visitIfRule$1);
  68858. case 7:
  68859. // returning from await.
  68860. $async$returnValue = $async$result;
  68861. // goto return
  68862. $async$goto = 1;
  68863. break;
  68864. case 1:
  68865. // return
  68866. return A._asyncReturn($async$returnValue, $async$completer);
  68867. }
  68868. });
  68869. return A._asyncStartSync($async$visitIfRule$1, $async$completer);
  68870. },
  68871. visitImportRule$1(_, node) {
  68872. return this.visitImportRule$body$_EvaluateVisitor(0, node);
  68873. },
  68874. visitImportRule$body$_EvaluateVisitor(_, node) {
  68875. var $async$goto = 0,
  68876. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
  68877. $async$returnValue, $async$self = this, t1, t2, t3, _i, $import;
  68878. var $async$visitImportRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  68879. if ($async$errorCode === 1)
  68880. return A._asyncRethrow($async$result, $async$completer);
  68881. while (true)
  68882. switch ($async$goto) {
  68883. case 0:
  68884. // Function start
  68885. t1 = node.imports, t2 = t1.length, t3 = type$.StaticImport, _i = 0;
  68886. case 3:
  68887. // for condition
  68888. if (!(_i < t2)) {
  68889. // goto after for
  68890. $async$goto = 5;
  68891. break;
  68892. }
  68893. $import = t1[_i];
  68894. $async$goto = $import instanceof A.DynamicImport ? 6 : 8;
  68895. break;
  68896. case 6:
  68897. // then
  68898. $async$goto = 9;
  68899. return A._asyncAwait($async$self._async_evaluate$_visitDynamicImport$1($import), $async$visitImportRule$1);
  68900. case 9:
  68901. // returning from await.
  68902. // goto join
  68903. $async$goto = 7;
  68904. break;
  68905. case 8:
  68906. // else
  68907. $async$goto = 10;
  68908. return A._asyncAwait($async$self._visitStaticImport$1(t3._as($import)), $async$visitImportRule$1);
  68909. case 10:
  68910. // returning from await.
  68911. case 7:
  68912. // join
  68913. case 4:
  68914. // for update
  68915. ++_i;
  68916. // goto for condition
  68917. $async$goto = 3;
  68918. break;
  68919. case 5:
  68920. // after for
  68921. $async$returnValue = null;
  68922. // goto return
  68923. $async$goto = 1;
  68924. break;
  68925. case 1:
  68926. // return
  68927. return A._asyncReturn($async$returnValue, $async$completer);
  68928. }
  68929. });
  68930. return A._asyncStartSync($async$visitImportRule$1, $async$completer);
  68931. },
  68932. _async_evaluate$_visitDynamicImport$1($import) {
  68933. return this._async_evaluate$_withStackFrame$1$3("@import", $import, new A._EvaluateVisitor__visitDynamicImport_closure0(this, $import), type$.void);
  68934. },
  68935. _async_evaluate$_loadStylesheet$4$baseUrl$forImport(url, span, baseUrl, forImport) {
  68936. return this._loadStylesheet$body$_EvaluateVisitor(url, span, baseUrl, forImport);
  68937. },
  68938. _async_evaluate$_loadStylesheet$3$baseUrl(url, span, baseUrl) {
  68939. return this._async_evaluate$_loadStylesheet$4$baseUrl$forImport(url, span, baseUrl, false);
  68940. },
  68941. _async_evaluate$_loadStylesheet$3$forImport(url, span, forImport) {
  68942. return this._async_evaluate$_loadStylesheet$4$baseUrl$forImport(url, span, null, forImport);
  68943. },
  68944. _loadStylesheet$body$_EvaluateVisitor(url, span, baseUrl, forImport) {
  68945. var $async$goto = 0,
  68946. $async$completer = A._makeAsyncAwaitCompleter(type$.Record_3_Stylesheet_and_nullable_AsyncImporter_importer_and_bool_isDependency),
  68947. $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;
  68948. var $async$_async_evaluate$_loadStylesheet$4$baseUrl$forImport = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  68949. if ($async$errorCode === 1) {
  68950. $async$errorStack.push($async$result);
  68951. $async$goto = $async$handler;
  68952. }
  68953. while (true)
  68954. switch ($async$goto) {
  68955. case 0:
  68956. // Function start
  68957. baseUrl = baseUrl;
  68958. $async$handler = 4;
  68959. $async$self._async_evaluate$_importSpan = span;
  68960. _0_0 = $async$self._async_evaluate$_importCache;
  68961. importCache = null;
  68962. $async$goto = _0_0 != null ? 7 : 8;
  68963. break;
  68964. case 7:
  68965. // then
  68966. importCache = _0_0;
  68967. if (baseUrl == null) {
  68968. t1 = $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__stylesheet, "_stylesheet").span;
  68969. baseUrl = t1.get$sourceUrl(t1);
  68970. }
  68971. $async$goto = 9;
  68972. 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);
  68973. case 9:
  68974. // returning from await.
  68975. _1_0 = $async$result;
  68976. importer = null;
  68977. canonicalUrl = null;
  68978. originalUrl = null;
  68979. $async$goto = type$.Record_3_nullable_Object_and_nullable_Object_and_nullable_Object_originalUrl._is(_1_0) ? 10 : 11;
  68980. break;
  68981. case 10:
  68982. // then
  68983. importer = _1_0._0;
  68984. canonicalUrl = _1_0._1;
  68985. originalUrl = _1_0._2;
  68986. if (canonicalUrl.get$scheme() === "")
  68987. 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);
  68988. $async$self._async_evaluate$_loadedUrls.add$1(0, canonicalUrl);
  68989. isDependency = $async$self._async_evaluate$_inDependency || !J.$eq$(importer, $async$self._async_evaluate$_importer);
  68990. $async$goto = 12;
  68991. return A._asyncAwait(importCache.importCanonical$3$originalUrl(importer, canonicalUrl, originalUrl), $async$_async_evaluate$_loadStylesheet$4$baseUrl$forImport);
  68992. case 12:
  68993. // returning from await.
  68994. _2_0 = $async$result;
  68995. stylesheet = null;
  68996. if (_2_0 != null) {
  68997. stylesheet = _2_0;
  68998. t1 = stylesheet;
  68999. t2 = importer;
  69000. $async$returnValue = new A._Record_3_importer_isDependency(t1, t2, isDependency);
  69001. $async$next = [1];
  69002. // goto finally
  69003. $async$goto = 5;
  69004. break;
  69005. }
  69006. case 11:
  69007. // join
  69008. case 8:
  69009. // join
  69010. t1 = B.JSString_methods.startsWith$1(url, "package:");
  69011. if (t1)
  69012. throw A.wrapException(string$.x22packa);
  69013. else
  69014. throw A.wrapException("Can't find stylesheet to import.");
  69015. $async$next.push(6);
  69016. // goto finally
  69017. $async$goto = 5;
  69018. break;
  69019. case 4:
  69020. // catch
  69021. $async$handler = 3;
  69022. $async$exception = $async$errorStack.pop();
  69023. t1 = A.unwrapException($async$exception);
  69024. if (t1 instanceof A.SassException)
  69025. throw $async$exception;
  69026. else if (t1 instanceof A.ArgumentError) {
  69027. error = t1;
  69028. stackTrace = A.getTraceFromException($async$exception);
  69029. A.throwWithTrace($async$self._async_evaluate$_exception$1(J.toString$0$(error)), error, stackTrace);
  69030. } else {
  69031. error0 = t1;
  69032. stackTrace0 = A.getTraceFromException($async$exception);
  69033. A.throwWithTrace($async$self._async_evaluate$_exception$1($async$self._async_evaluate$_getErrorMessage$1(error0)), error0, stackTrace0);
  69034. }
  69035. $async$next.push(6);
  69036. // goto finally
  69037. $async$goto = 5;
  69038. break;
  69039. case 3:
  69040. // uncaught
  69041. $async$next = [2];
  69042. case 5:
  69043. // finally
  69044. $async$handler = 2;
  69045. $async$self._async_evaluate$_importSpan = null;
  69046. // goto the next finally handler
  69047. $async$goto = $async$next.pop();
  69048. break;
  69049. case 6:
  69050. // after finally
  69051. case 1:
  69052. // return
  69053. return A._asyncReturn($async$returnValue, $async$completer);
  69054. case 2:
  69055. // rethrow
  69056. return A._asyncRethrow($async$errorStack.at(-1), $async$completer);
  69057. }
  69058. });
  69059. return A._asyncStartSync($async$_async_evaluate$_loadStylesheet$4$baseUrl$forImport, $async$completer);
  69060. },
  69061. _visitStaticImport$1($import) {
  69062. return this._visitStaticImport$body$_EvaluateVisitor($import);
  69063. },
  69064. _visitStaticImport$body$_EvaluateVisitor($import) {
  69065. var $async$goto = 0,
  69066. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  69067. $async$self = this, t1, t2, node, $async$temp1, $async$temp2;
  69068. var $async$_visitStaticImport$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  69069. if ($async$errorCode === 1)
  69070. return A._asyncRethrow($async$result, $async$completer);
  69071. while (true)
  69072. switch ($async$goto) {
  69073. case 0:
  69074. // Function start
  69075. $async$goto = 2;
  69076. return A._asyncAwait($async$self._async_evaluate$_interpolationToValue$1($import.url), $async$_visitStaticImport$1);
  69077. case 2:
  69078. // returning from await.
  69079. t1 = $async$result;
  69080. t2 = A.NullableExtension_andThen($import.modifiers, $async$self.get$_async_evaluate$_interpolationToValue());
  69081. $async$temp1 = A;
  69082. $async$temp2 = t1;
  69083. $async$goto = 3;
  69084. return A._asyncAwait(type$.Future_nullable_CssValue_String._is(t2) ? t2 : A._Future$value(t2, type$.nullable_CssValue_String), $async$_visitStaticImport$1);
  69085. case 3:
  69086. // returning from await.
  69087. node = new $async$temp1.ModifiableCssImport($async$temp2, $async$result, $import.span);
  69088. 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"))
  69089. $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__parent, "__parent").addChild$1(node);
  69090. 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)) {
  69091. $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__root, "_root").addChild$1(node);
  69092. $async$self._async_evaluate$__endOfImports = $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__endOfImports, "_endOfImports") + 1;
  69093. } else {
  69094. t1 = $async$self._async_evaluate$_outOfOrderImports;
  69095. (t1 == null ? $async$self._async_evaluate$_outOfOrderImports = A._setArrayType([], type$.JSArray_ModifiableCssImport) : t1).push(node);
  69096. }
  69097. // implicit return
  69098. return A._asyncReturn(null, $async$completer);
  69099. }
  69100. });
  69101. return A._asyncStartSync($async$_visitStaticImport$1, $async$completer);
  69102. },
  69103. _async_evaluate$_applyMixin$5(mixin, contentCallable, $arguments, nodeWithSpan, nodeWithSpanWithoutContent) {
  69104. return this._applyMixin$body$_EvaluateVisitor(mixin, contentCallable, $arguments, nodeWithSpan, nodeWithSpanWithoutContent);
  69105. },
  69106. _applyMixin$body$_EvaluateVisitor(mixin, contentCallable, $arguments, nodeWithSpan, nodeWithSpanWithoutContent) {
  69107. var $async$goto = 0,
  69108. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  69109. $async$self = this, t1, _0_0, t2, _1_8, t3;
  69110. var $async$_async_evaluate$_applyMixin$5 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  69111. if ($async$errorCode === 1)
  69112. return A._asyncRethrow($async$result, $async$completer);
  69113. while (true)
  69114. switch ($async$goto) {
  69115. case 0:
  69116. // Function start
  69117. if (mixin == null)
  69118. throw A.wrapException($async$self._async_evaluate$_exception$2("Undefined mixin.", nodeWithSpan.get$span(nodeWithSpan)));
  69119. t1 = type$.AsyncBuiltInCallable._is(mixin);
  69120. $async$goto = t1 && !mixin.get$acceptsContent() && contentCallable != null ? 3 : 4;
  69121. break;
  69122. case 3:
  69123. // then
  69124. $async$goto = 5;
  69125. return A._asyncAwait($async$self._async_evaluate$_evaluateArguments$1($arguments), $async$_async_evaluate$_applyMixin$5);
  69126. case 5:
  69127. // returning from await.
  69128. t1 = $async$result._values;
  69129. _0_0 = mixin.callbackFor$2(J.get$length$asx(t1[2]), new A.MapKeySet(t1[0], type$.MapKeySet_String));
  69130. 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));
  69131. case 4:
  69132. // join
  69133. $async$goto = t1 ? 6 : 7;
  69134. break;
  69135. case 6:
  69136. // then
  69137. $async$goto = 8;
  69138. 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);
  69139. case 8:
  69140. // returning from await.
  69141. // goto break $label0$0
  69142. $async$goto = 2;
  69143. break;
  69144. case 7:
  69145. // join
  69146. t1 = type$.UserDefinedCallable_AsyncEnvironment._is(mixin);
  69147. t2 = false;
  69148. if (t1) {
  69149. _1_8 = mixin.declaration;
  69150. t3 = _1_8;
  69151. if (t3 instanceof A.MixinRule)
  69152. t2 = !type$.MixinRule._as(_1_8).get$hasContent() && contentCallable != null;
  69153. }
  69154. if (t2)
  69155. 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));
  69156. $async$goto = t1 ? 9 : 10;
  69157. break;
  69158. case 9:
  69159. // then
  69160. $async$goto = 11;
  69161. 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);
  69162. case 11:
  69163. // returning from await.
  69164. // goto break $label0$0
  69165. $async$goto = 2;
  69166. break;
  69167. case 10:
  69168. // join
  69169. throw A.wrapException(A.UnsupportedError$("Unknown callable type " + mixin.toString$0(0) + "."));
  69170. case 2:
  69171. // break $label0$0
  69172. // implicit return
  69173. return A._asyncReturn(null, $async$completer);
  69174. }
  69175. });
  69176. return A._asyncStartSync($async$_async_evaluate$_applyMixin$5, $async$completer);
  69177. },
  69178. visitIncludeRule$1(_, node) {
  69179. return this.visitIncludeRule$body$_EvaluateVisitor(0, node);
  69180. },
  69181. visitIncludeRule$body$_EvaluateVisitor(_, node) {
  69182. var $async$goto = 0,
  69183. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
  69184. $async$returnValue, $async$self = this, mixin;
  69185. var $async$visitIncludeRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  69186. if ($async$errorCode === 1)
  69187. return A._asyncRethrow($async$result, $async$completer);
  69188. while (true)
  69189. switch ($async$goto) {
  69190. case 0:
  69191. // Function start
  69192. mixin = $async$self._async_evaluate$_addExceptionSpan$2(node, new A._EvaluateVisitor_visitIncludeRule_closure2($async$self, node));
  69193. if (B.JSString_methods.startsWith$1(node.originalName, "--") && mixin instanceof A.UserDefinedCallable && !B.JSString_methods.startsWith$1(mixin.declaration.originalName, "--"))
  69194. $async$self._async_evaluate$_warn$3(string$.Sassx20_m, node.get$nameSpan(), B.Deprecation_Kg6);
  69195. $async$goto = 3;
  69196. 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);
  69197. case 3:
  69198. // returning from await.
  69199. $async$returnValue = null;
  69200. // goto return
  69201. $async$goto = 1;
  69202. break;
  69203. case 1:
  69204. // return
  69205. return A._asyncReturn($async$returnValue, $async$completer);
  69206. }
  69207. });
  69208. return A._asyncStartSync($async$visitIncludeRule$1, $async$completer);
  69209. },
  69210. visitMixinRule$1(_, node) {
  69211. return this.visitMixinRule$body$_EvaluateVisitor(0, node);
  69212. },
  69213. visitMixinRule$body$_EvaluateVisitor(_, node) {
  69214. var $async$goto = 0,
  69215. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
  69216. $async$returnValue, $async$self = this, t1, t2, t3, t4, index, t5;
  69217. var $async$visitMixinRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  69218. if ($async$errorCode === 1)
  69219. return A._asyncRethrow($async$result, $async$completer);
  69220. while (true)
  69221. switch ($async$goto) {
  69222. case 0:
  69223. // Function start
  69224. t1 = $async$self._async_evaluate$_environment;
  69225. t2 = t1.closure$0();
  69226. t3 = $async$self._async_evaluate$_inDependency;
  69227. t4 = t1._async_environment$_mixins;
  69228. index = t4.length - 1;
  69229. t5 = node.name;
  69230. t1._async_environment$_mixinIndices.$indexSet(0, t5, index);
  69231. t4[index].$indexSet(0, t5, new A.UserDefinedCallable(node, t2, t3, type$.UserDefinedCallable_AsyncEnvironment));
  69232. $async$returnValue = null;
  69233. // goto return
  69234. $async$goto = 1;
  69235. break;
  69236. case 1:
  69237. // return
  69238. return A._asyncReturn($async$returnValue, $async$completer);
  69239. }
  69240. });
  69241. return A._asyncStartSync($async$visitMixinRule$1, $async$completer);
  69242. },
  69243. visitLoudComment$1(_, node) {
  69244. return this.visitLoudComment$body$_EvaluateVisitor(0, node);
  69245. },
  69246. visitLoudComment$body$_EvaluateVisitor(_, node) {
  69247. var $async$goto = 0,
  69248. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
  69249. $async$returnValue, $async$self = this, t1, text;
  69250. var $async$visitLoudComment$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  69251. if ($async$errorCode === 1)
  69252. return A._asyncRethrow($async$result, $async$completer);
  69253. while (true)
  69254. switch ($async$goto) {
  69255. case 0:
  69256. // Function start
  69257. if ($async$self._async_evaluate$_inFunction) {
  69258. $async$returnValue = null;
  69259. // goto return
  69260. $async$goto = 1;
  69261. break;
  69262. }
  69263. 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))
  69264. $async$self._async_evaluate$__endOfImports = $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__endOfImports, "_endOfImports") + 1;
  69265. t1 = node.text;
  69266. $async$goto = 3;
  69267. return A._asyncAwait($async$self._async_evaluate$_performInterpolation$1(t1), $async$visitLoudComment$1);
  69268. case 3:
  69269. // returning from await.
  69270. text = $async$result;
  69271. if (!B.JSString_methods.endsWith$1(text, "*/"))
  69272. text += " */";
  69273. $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__parent, "__parent").addChild$1(new A.ModifiableCssComment(text, t1.span));
  69274. $async$returnValue = null;
  69275. // goto return
  69276. $async$goto = 1;
  69277. break;
  69278. case 1:
  69279. // return
  69280. return A._asyncReturn($async$returnValue, $async$completer);
  69281. }
  69282. });
  69283. return A._asyncStartSync($async$visitLoudComment$1, $async$completer);
  69284. },
  69285. visitMediaRule$1(_, node) {
  69286. return this.visitMediaRule$body$_EvaluateVisitor(0, node);
  69287. },
  69288. visitMediaRule$body$_EvaluateVisitor(_, node) {
  69289. var $async$goto = 0,
  69290. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
  69291. $async$returnValue, $async$self = this, queries, mergedQueries, t1, mergedSources, t2, t3;
  69292. var $async$visitMediaRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  69293. if ($async$errorCode === 1)
  69294. return A._asyncRethrow($async$result, $async$completer);
  69295. while (true)
  69296. switch ($async$goto) {
  69297. case 0:
  69298. // Function start
  69299. if ($async$self._async_evaluate$_declarationName != null)
  69300. throw A.wrapException($async$self._async_evaluate$_exception$2(string$.Media_, node.span));
  69301. $async$goto = 3;
  69302. return A._asyncAwait($async$self._visitMediaQueries$1(node.query), $async$visitMediaRule$1);
  69303. case 3:
  69304. // returning from await.
  69305. queries = $async$result;
  69306. mergedQueries = A.NullableExtension_andThen($async$self._async_evaluate$_mediaQueries, new A._EvaluateVisitor_visitMediaRule_closure2($async$self, queries));
  69307. t1 = mergedQueries == null;
  69308. if (!t1 && J.get$isEmpty$asx(mergedQueries)) {
  69309. $async$returnValue = null;
  69310. // goto return
  69311. $async$goto = 1;
  69312. break;
  69313. }
  69314. if (t1)
  69315. mergedSources = B.Set_empty2;
  69316. else {
  69317. t2 = $async$self._async_evaluate$_mediaQuerySources;
  69318. t2.toString;
  69319. t2 = A.LinkedHashSet_LinkedHashSet$of(t2, type$.CssMediaQuery);
  69320. t3 = $async$self._async_evaluate$_mediaQueries;
  69321. t3.toString;
  69322. t2.addAll$1(0, t3);
  69323. t2.addAll$1(0, queries);
  69324. mergedSources = t2;
  69325. }
  69326. t1 = t1 ? queries : mergedQueries;
  69327. $async$goto = 4;
  69328. 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);
  69329. case 4:
  69330. // returning from await.
  69331. $async$returnValue = null;
  69332. // goto return
  69333. $async$goto = 1;
  69334. break;
  69335. case 1:
  69336. // return
  69337. return A._asyncReturn($async$returnValue, $async$completer);
  69338. }
  69339. });
  69340. return A._asyncStartSync($async$visitMediaRule$1, $async$completer);
  69341. },
  69342. _visitMediaQueries$1(interpolation) {
  69343. return this._visitMediaQueries$body$_EvaluateVisitor(interpolation);
  69344. },
  69345. _visitMediaQueries$body$_EvaluateVisitor(interpolation) {
  69346. var $async$goto = 0,
  69347. $async$completer = A._makeAsyncAwaitCompleter(type$.List_CssMediaQuery),
  69348. $async$returnValue, $async$self = this, _0_0, resolved, map;
  69349. var $async$_visitMediaQueries$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  69350. if ($async$errorCode === 1)
  69351. return A._asyncRethrow($async$result, $async$completer);
  69352. while (true)
  69353. switch ($async$goto) {
  69354. case 0:
  69355. // Function start
  69356. $async$goto = 3;
  69357. return A._asyncAwait($async$self._async_evaluate$_performInterpolationWithMap$2$warnForColor(interpolation, true), $async$_visitMediaQueries$1);
  69358. case 3:
  69359. // returning from await.
  69360. _0_0 = $async$result;
  69361. resolved = _0_0._0;
  69362. map = _0_0._1;
  69363. $async$returnValue = new A.MediaQueryParser(A.SpanScanner$(resolved, null), map).parse$0(0);
  69364. // goto return
  69365. $async$goto = 1;
  69366. break;
  69367. case 1:
  69368. // return
  69369. return A._asyncReturn($async$returnValue, $async$completer);
  69370. }
  69371. });
  69372. return A._asyncStartSync($async$_visitMediaQueries$1, $async$completer);
  69373. },
  69374. _async_evaluate$_mergeMediaQueries$2(queries1, queries2) {
  69375. var t1, t2, t3, t4, _0_0, t5, result,
  69376. queries = A._setArrayType([], type$.JSArray_CssMediaQuery);
  69377. for (t1 = J.get$iterator$ax(queries1), t2 = J.getInterceptor$ax(queries2); t1.moveNext$0();) {
  69378. t3 = t1.get$current(t1);
  69379. for (t4 = t2.get$iterator(queries2); t4.moveNext$0();) {
  69380. _0_0 = t3.merge$1(t4.get$current(t4));
  69381. if (B._SingletonCssMediaQueryMergeResult_0 === _0_0)
  69382. continue;
  69383. if (B._SingletonCssMediaQueryMergeResult_1 === _0_0)
  69384. return null;
  69385. t5 = _0_0 instanceof A.MediaQuerySuccessfulMergeResult;
  69386. result = t5 ? _0_0 : null;
  69387. if (t5)
  69388. queries.push(result.query);
  69389. }
  69390. }
  69391. return queries;
  69392. },
  69393. visitReturnRule$1(_, node) {
  69394. return this.visitReturnRule$body$_EvaluateVisitor(0, node);
  69395. },
  69396. visitReturnRule$body$_EvaluateVisitor(_, node) {
  69397. var $async$goto = 0,
  69398. $async$completer = A._makeAsyncAwaitCompleter(type$.Value),
  69399. $async$returnValue, $async$self = this, t1, t2;
  69400. var $async$visitReturnRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  69401. if ($async$errorCode === 1)
  69402. return A._asyncRethrow($async$result, $async$completer);
  69403. while (true)
  69404. switch ($async$goto) {
  69405. case 0:
  69406. // Function start
  69407. t1 = node.expression;
  69408. t2 = t1.accept$1($async$self);
  69409. $async$goto = 3;
  69410. return A._asyncAwait(type$.Future_Value._is(t2) ? t2 : A._Future$value(t2, type$.Value), $async$visitReturnRule$1);
  69411. case 3:
  69412. // returning from await.
  69413. $async$returnValue = $async$self._async_evaluate$_withoutSlash$2($async$result, t1);
  69414. // goto return
  69415. $async$goto = 1;
  69416. break;
  69417. case 1:
  69418. // return
  69419. return A._asyncReturn($async$returnValue, $async$completer);
  69420. }
  69421. });
  69422. return A._asyncStartSync($async$visitReturnRule$1, $async$completer);
  69423. },
  69424. visitSilentComment$1(_, node) {
  69425. return this.visitSilentComment$body$_EvaluateVisitor(0, node);
  69426. },
  69427. visitSilentComment$body$_EvaluateVisitor(_, node) {
  69428. var $async$goto = 0,
  69429. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
  69430. $async$returnValue;
  69431. var $async$visitSilentComment$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  69432. if ($async$errorCode === 1)
  69433. return A._asyncRethrow($async$result, $async$completer);
  69434. while (true)
  69435. switch ($async$goto) {
  69436. case 0:
  69437. // Function start
  69438. $async$returnValue = null;
  69439. // goto return
  69440. $async$goto = 1;
  69441. break;
  69442. case 1:
  69443. // return
  69444. return A._asyncReturn($async$returnValue, $async$completer);
  69445. }
  69446. });
  69447. return A._asyncStartSync($async$visitSilentComment$1, $async$completer);
  69448. },
  69449. visitStyleRule$1(_, node) {
  69450. return this.visitStyleRule$body$_EvaluateVisitor(0, node);
  69451. },
  69452. visitStyleRule$body$_EvaluateVisitor(_, node) {
  69453. var $async$goto = 0,
  69454. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
  69455. $async$returnValue, $async$self = this, t1, _0_0, selectorText, selectorMap, parsedSelector, _1_0, t2, t3, _i, _2_0, first, t4, rule, oldAtRootExcludingStyleRule;
  69456. var $async$visitStyleRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  69457. if ($async$errorCode === 1)
  69458. return A._asyncRethrow($async$result, $async$completer);
  69459. while (true)
  69460. switch ($async$goto) {
  69461. case 0:
  69462. // Function start
  69463. if ($async$self._async_evaluate$_declarationName != null)
  69464. throw A.wrapException($async$self._async_evaluate$_exception$2(string$.Style_n, node.span));
  69465. else if ($async$self._async_evaluate$_inKeyframes && $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__parent, "__parent") instanceof A.ModifiableCssKeyframeBlock)
  69466. throw A.wrapException($async$self._async_evaluate$_exception$2(string$.Style_k, node.span));
  69467. t1 = node.selector;
  69468. $async$goto = 3;
  69469. return A._asyncAwait($async$self._async_evaluate$_performInterpolationWithMap$2$warnForColor(t1, true), $async$visitStyleRule$1);
  69470. case 3:
  69471. // returning from await.
  69472. _0_0 = $async$result;
  69473. selectorText = _0_0._0;
  69474. selectorMap = _0_0._1;
  69475. $async$goto = $async$self._async_evaluate$_inKeyframes ? 4 : 5;
  69476. break;
  69477. case 4:
  69478. // then
  69479. $async$goto = 6;
  69480. 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);
  69481. case 6:
  69482. // returning from await.
  69483. $async$returnValue = null;
  69484. // goto return
  69485. $async$goto = 1;
  69486. break;
  69487. case 5:
  69488. // join
  69489. parsedSelector = A.SelectorList_SelectorList$parse(selectorText, true, selectorMap, $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__stylesheet, "_stylesheet").plainCss);
  69490. _1_0 = $async$self._async_evaluate$_atRootExcludingStyleRule ? null : $async$self._async_evaluate$_styleRuleIgnoringAtRoot;
  69491. $label0$0: {
  69492. if (_1_0 == null) {
  69493. t1 = true;
  69494. break $label0$0;
  69495. }
  69496. if (_1_0.fromPlainCss) {
  69497. t1 = false;
  69498. break $label0$0;
  69499. }
  69500. t1 = !($async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__stylesheet, "_stylesheet").plainCss && parsedSelector.accept$1(B.C__ContainsParentSelectorVisitor));
  69501. break $label0$0;
  69502. }
  69503. if (t1) {
  69504. if ($async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__stylesheet, "_stylesheet").plainCss)
  69505. for (t2 = parsedSelector.components, t3 = t2.length, _i = 0; _i < t3; ++_i) {
  69506. _2_0 = t2[_i].leadingCombinators;
  69507. if (_2_0.length >= 1) {
  69508. first = _2_0[0];
  69509. t4 = $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__stylesheet, "_stylesheet").plainCss;
  69510. } else {
  69511. first = null;
  69512. t4 = false;
  69513. }
  69514. if (t4)
  69515. throw A.wrapException($async$self._async_evaluate$_exception$2(string$.Top_lel, first.span));
  69516. }
  69517. t2 = $async$self._async_evaluate$_styleRuleIgnoringAtRoot;
  69518. t2 = t2 == null ? null : t2.originalSelector;
  69519. 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);
  69520. }
  69521. 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);
  69522. oldAtRootExcludingStyleRule = $async$self._async_evaluate$_atRootExcludingStyleRule;
  69523. t2 = $async$self._async_evaluate$_atRootExcludingStyleRule = false;
  69524. t1 = t1 ? new A._EvaluateVisitor_visitStyleRule_closure5() : null;
  69525. $async$goto = 7;
  69526. 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);
  69527. case 7:
  69528. // returning from await.
  69529. $async$self._async_evaluate$_atRootExcludingStyleRule = oldAtRootExcludingStyleRule;
  69530. $async$self._async_evaluate$_warnForBogusCombinators$1(rule);
  69531. if (($async$self._async_evaluate$_atRootExcludingStyleRule ? null : $async$self._async_evaluate$_styleRuleIgnoringAtRoot) == null) {
  69532. t1 = $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__parent, "__parent").children;
  69533. t1 = !t1.get$isEmpty(t1);
  69534. } else
  69535. t1 = t2;
  69536. if (t1) {
  69537. t1 = $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__parent, "__parent").children;
  69538. t1.get$last(t1).isGroupEnd = true;
  69539. }
  69540. $async$returnValue = null;
  69541. // goto return
  69542. $async$goto = 1;
  69543. break;
  69544. case 1:
  69545. // return
  69546. return A._asyncReturn($async$returnValue, $async$completer);
  69547. }
  69548. });
  69549. return A._asyncStartSync($async$visitStyleRule$1, $async$completer);
  69550. },
  69551. _async_evaluate$_warnForBogusCombinators$1(rule) {
  69552. var t1, t2, t3, t4, t5, _i, complex, visitor, t6, t7, t8, t9, _this = this, _null = null;
  69553. if (!rule.accept$1(B._IsInvisibleVisitor_false_false))
  69554. 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) {
  69555. complex = t1[_i];
  69556. if (!complex.accept$1(B._IsBogusVisitor_true))
  69557. continue;
  69558. if (complex.accept$1(B.C__IsUselessVisitor)) {
  69559. visitor = A._SerializeVisitor$(_null, true, _null, _null, true, false, _null, true);
  69560. complex.accept$1(visitor);
  69561. _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);
  69562. } else if (complex.leadingCombinators.length !== 0) {
  69563. if (!_this._async_evaluate$_assertInModule$2(_this._async_evaluate$__stylesheet, "_stylesheet").plainCss) {
  69564. visitor = A._SerializeVisitor$(_null, true, _null, _null, true, false, _null, true);
  69565. complex.accept$1(visitor);
  69566. _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);
  69567. }
  69568. } else {
  69569. visitor = A._SerializeVisitor$(_null, true, _null, _null, true, false, _null, true);
  69570. complex.accept$1(visitor);
  69571. t6 = B.JSString_methods.trim$0(visitor._serialize$_buffer.toString$0(0));
  69572. t7 = complex.accept$1(B._IsBogusVisitor_false) ? string$.x20It_wi : "";
  69573. t8 = A.SpanExtensions_trimRight(complex.span);
  69574. if (t5.get$length(0) === 0)
  69575. A.throwExpression(A.IterableElementError_noElement());
  69576. t9 = J.get$span$z(t5.$index(0, 0));
  69577. _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);
  69578. }
  69579. }
  69580. },
  69581. visitSupportsRule$1(_, node) {
  69582. return this.visitSupportsRule$body$_EvaluateVisitor(0, node);
  69583. },
  69584. visitSupportsRule$body$_EvaluateVisitor(_, node) {
  69585. var $async$goto = 0,
  69586. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
  69587. $async$returnValue, $async$self = this, t1, $async$temp1, $async$temp2;
  69588. var $async$visitSupportsRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  69589. if ($async$errorCode === 1)
  69590. return A._asyncRethrow($async$result, $async$completer);
  69591. while (true)
  69592. switch ($async$goto) {
  69593. case 0:
  69594. // Function start
  69595. if ($async$self._async_evaluate$_declarationName != null)
  69596. throw A.wrapException($async$self._async_evaluate$_exception$2(string$.Suppor, node.span));
  69597. t1 = node.condition;
  69598. $async$temp1 = A;
  69599. $async$temp2 = A;
  69600. $async$goto = 4;
  69601. return A._asyncAwait($async$self._async_evaluate$_visitSupportsCondition$1(t1), $async$visitSupportsRule$1);
  69602. case 4:
  69603. // returning from await.
  69604. $async$goto = 3;
  69605. 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);
  69606. case 3:
  69607. // returning from await.
  69608. $async$returnValue = null;
  69609. // goto return
  69610. $async$goto = 1;
  69611. break;
  69612. case 1:
  69613. // return
  69614. return A._asyncReturn($async$returnValue, $async$completer);
  69615. }
  69616. });
  69617. return A._asyncStartSync($async$visitSupportsRule$1, $async$completer);
  69618. },
  69619. _async_evaluate$_visitSupportsCondition$1(condition) {
  69620. return this._visitSupportsCondition$body$_EvaluateVisitor(condition);
  69621. },
  69622. _visitSupportsCondition$body$_EvaluateVisitor(condition) {
  69623. var $async$goto = 0,
  69624. $async$completer = A._makeAsyncAwaitCompleter(type$.String),
  69625. $async$returnValue, $async$self = this, t1, $async$temp1, $async$temp2;
  69626. var $async$_async_evaluate$_visitSupportsCondition$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  69627. if ($async$errorCode === 1)
  69628. return A._asyncRethrow($async$result, $async$completer);
  69629. while (true)
  69630. switch ($async$goto) {
  69631. case 0:
  69632. // Function start
  69633. $async$goto = condition instanceof A.SupportsOperation ? 4 : 5;
  69634. break;
  69635. case 4:
  69636. // then
  69637. t1 = condition.operator;
  69638. $async$temp1 = A;
  69639. $async$goto = 6;
  69640. return A._asyncAwait($async$self._async_evaluate$_parenthesize$2(condition.left, t1), $async$_async_evaluate$_visitSupportsCondition$1);
  69641. case 6:
  69642. // returning from await.
  69643. $async$temp1 = $async$temp1.S($async$result) + " " + t1 + " ";
  69644. $async$temp2 = A;
  69645. $async$goto = 7;
  69646. return A._asyncAwait($async$self._async_evaluate$_parenthesize$2(condition.right, t1), $async$_async_evaluate$_visitSupportsCondition$1);
  69647. case 7:
  69648. // returning from await.
  69649. t1 = $async$temp1 + $async$temp2.S($async$result);
  69650. // goto break $label0$0
  69651. $async$goto = 3;
  69652. break;
  69653. case 5:
  69654. // join
  69655. $async$goto = condition instanceof A.SupportsNegation ? 8 : 9;
  69656. break;
  69657. case 8:
  69658. // then
  69659. $async$temp1 = A;
  69660. $async$goto = 10;
  69661. return A._asyncAwait($async$self._async_evaluate$_parenthesize$1(condition.condition), $async$_async_evaluate$_visitSupportsCondition$1);
  69662. case 10:
  69663. // returning from await.
  69664. t1 = "not " + $async$temp1.S($async$result);
  69665. // goto break $label0$0
  69666. $async$goto = 3;
  69667. break;
  69668. case 9:
  69669. // join
  69670. $async$goto = condition instanceof A.SupportsInterpolation ? 11 : 12;
  69671. break;
  69672. case 11:
  69673. // then
  69674. $async$goto = 13;
  69675. return A._asyncAwait($async$self._evaluateToCss$2$quote(condition.expression, false), $async$_async_evaluate$_visitSupportsCondition$1);
  69676. case 13:
  69677. // returning from await.
  69678. t1 = $async$result;
  69679. // goto break $label0$0
  69680. $async$goto = 3;
  69681. break;
  69682. case 12:
  69683. // join
  69684. t1 = {};
  69685. t1.declaration = null;
  69686. $async$goto = condition instanceof A.SupportsDeclaration ? 14 : 15;
  69687. break;
  69688. case 14:
  69689. // then
  69690. t1.declaration = condition;
  69691. $async$goto = 16;
  69692. 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);
  69693. case 16:
  69694. // returning from await.
  69695. t1 = $async$result;
  69696. // goto break $label0$0
  69697. $async$goto = 3;
  69698. break;
  69699. case 15:
  69700. // join
  69701. $async$goto = condition instanceof A.SupportsFunction ? 17 : 18;
  69702. break;
  69703. case 17:
  69704. // then
  69705. $async$temp1 = A;
  69706. $async$goto = 19;
  69707. return A._asyncAwait($async$self._async_evaluate$_performInterpolation$1(condition.name), $async$_async_evaluate$_visitSupportsCondition$1);
  69708. case 19:
  69709. // returning from await.
  69710. $async$temp1 = $async$temp1.S($async$result) + "(";
  69711. $async$temp2 = A;
  69712. $async$goto = 20;
  69713. return A._asyncAwait($async$self._async_evaluate$_performInterpolation$1(condition.$arguments), $async$_async_evaluate$_visitSupportsCondition$1);
  69714. case 20:
  69715. // returning from await.
  69716. t1 = $async$temp1 + $async$temp2.S($async$result) + ")";
  69717. // goto break $label0$0
  69718. $async$goto = 3;
  69719. break;
  69720. case 18:
  69721. // join
  69722. $async$goto = condition instanceof A.SupportsAnything ? 21 : 22;
  69723. break;
  69724. case 21:
  69725. // then
  69726. $async$temp1 = A;
  69727. $async$goto = 23;
  69728. return A._asyncAwait($async$self._async_evaluate$_performInterpolation$1(condition.contents), $async$_async_evaluate$_visitSupportsCondition$1);
  69729. case 23:
  69730. // returning from await.
  69731. t1 = "(" + $async$temp1.S($async$result) + ")";
  69732. // goto break $label0$0
  69733. $async$goto = 3;
  69734. break;
  69735. case 22:
  69736. // join
  69737. t1 = A.throwExpression(A.ArgumentError$("Unknown supports condition type " + A.getRuntimeTypeOfDartObject(condition).toString$0(0) + ".", null));
  69738. case 3:
  69739. // break $label0$0
  69740. $async$returnValue = t1;
  69741. // goto return
  69742. $async$goto = 1;
  69743. break;
  69744. case 1:
  69745. // return
  69746. return A._asyncReturn($async$returnValue, $async$completer);
  69747. }
  69748. });
  69749. return A._asyncStartSync($async$_async_evaluate$_visitSupportsCondition$1, $async$completer);
  69750. },
  69751. _async_evaluate$_withSupportsDeclaration$1$1(callback, $T) {
  69752. return this._withSupportsDeclaration$body$_EvaluateVisitor(callback, $T, $T);
  69753. },
  69754. _withSupportsDeclaration$body$_EvaluateVisitor(callback, $T, $async$type) {
  69755. var $async$goto = 0,
  69756. $async$completer = A._makeAsyncAwaitCompleter($async$type),
  69757. $async$returnValue, $async$handler = 2, $async$errorStack = [], $async$next = [], $async$self = this, t1, oldInSupportsDeclaration;
  69758. var $async$_async_evaluate$_withSupportsDeclaration$1$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  69759. if ($async$errorCode === 1) {
  69760. $async$errorStack.push($async$result);
  69761. $async$goto = $async$handler;
  69762. }
  69763. while (true)
  69764. switch ($async$goto) {
  69765. case 0:
  69766. // Function start
  69767. oldInSupportsDeclaration = $async$self._async_evaluate$_inSupportsDeclaration;
  69768. $async$self._async_evaluate$_inSupportsDeclaration = true;
  69769. $async$handler = 3;
  69770. t1 = callback.call$0();
  69771. $async$goto = 6;
  69772. return A._asyncAwait($T._eval$1("Future<0>")._is(t1) ? t1 : A._Future$value(t1, $T), $async$_async_evaluate$_withSupportsDeclaration$1$1);
  69773. case 6:
  69774. // returning from await.
  69775. t1 = $async$result;
  69776. $async$returnValue = t1;
  69777. $async$next = [1];
  69778. // goto finally
  69779. $async$goto = 4;
  69780. break;
  69781. $async$next.push(5);
  69782. // goto finally
  69783. $async$goto = 4;
  69784. break;
  69785. case 3:
  69786. // uncaught
  69787. $async$next = [2];
  69788. case 4:
  69789. // finally
  69790. $async$handler = 2;
  69791. $async$self._async_evaluate$_inSupportsDeclaration = oldInSupportsDeclaration;
  69792. // goto the next finally handler
  69793. $async$goto = $async$next.pop();
  69794. break;
  69795. case 5:
  69796. // after finally
  69797. case 1:
  69798. // return
  69799. return A._asyncReturn($async$returnValue, $async$completer);
  69800. case 2:
  69801. // rethrow
  69802. return A._asyncRethrow($async$errorStack.at(-1), $async$completer);
  69803. }
  69804. });
  69805. return A._asyncStartSync($async$_async_evaluate$_withSupportsDeclaration$1$1, $async$completer);
  69806. },
  69807. _async_evaluate$_parenthesize$2(condition, operator) {
  69808. return this._parenthesize$body$_EvaluateVisitor(condition, operator);
  69809. },
  69810. _async_evaluate$_parenthesize$1(condition) {
  69811. return this._async_evaluate$_parenthesize$2(condition, null);
  69812. },
  69813. _parenthesize$body$_EvaluateVisitor(condition, operator) {
  69814. var $async$goto = 0,
  69815. $async$completer = A._makeAsyncAwaitCompleter(type$.String),
  69816. $async$returnValue, $async$self = this, t1, $async$temp1;
  69817. var $async$_async_evaluate$_parenthesize$2 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  69818. if ($async$errorCode === 1)
  69819. return A._asyncRethrow($async$result, $async$completer);
  69820. while (true)
  69821. switch ($async$goto) {
  69822. case 0:
  69823. // Function start
  69824. if (!(condition instanceof A.SupportsNegation))
  69825. if (condition instanceof A.SupportsOperation)
  69826. t1 = operator == null || operator !== condition.operator;
  69827. else
  69828. t1 = false;
  69829. else
  69830. t1 = true;
  69831. $async$goto = t1 ? 3 : 4;
  69832. break;
  69833. case 3:
  69834. // then
  69835. $async$temp1 = A;
  69836. $async$goto = 5;
  69837. return A._asyncAwait($async$self._async_evaluate$_visitSupportsCondition$1(condition), $async$_async_evaluate$_parenthesize$2);
  69838. case 5:
  69839. // returning from await.
  69840. $async$returnValue = "(" + $async$temp1.S($async$result) + ")";
  69841. // goto return
  69842. $async$goto = 1;
  69843. break;
  69844. case 4:
  69845. // join
  69846. $async$goto = 6;
  69847. return A._asyncAwait($async$self._async_evaluate$_visitSupportsCondition$1(condition), $async$_async_evaluate$_parenthesize$2);
  69848. case 6:
  69849. // returning from await.
  69850. $async$returnValue = $async$result;
  69851. // goto return
  69852. $async$goto = 1;
  69853. break;
  69854. case 1:
  69855. // return
  69856. return A._asyncReturn($async$returnValue, $async$completer);
  69857. }
  69858. });
  69859. return A._asyncStartSync($async$_async_evaluate$_parenthesize$2, $async$completer);
  69860. },
  69861. visitVariableDeclaration$1(_, node) {
  69862. return this.visitVariableDeclaration$body$_EvaluateVisitor(0, node);
  69863. },
  69864. visitVariableDeclaration$body$_EvaluateVisitor(_, node) {
  69865. var $async$goto = 0,
  69866. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
  69867. $async$returnValue, $async$self = this, t1, t2, _0_0, value, $async$temp1, $async$temp2, $async$temp3;
  69868. var $async$visitVariableDeclaration$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  69869. if ($async$errorCode === 1)
  69870. return A._asyncRethrow($async$result, $async$completer);
  69871. while (true)
  69872. switch ($async$goto) {
  69873. case 0:
  69874. // Function start
  69875. if (node.isGuarded) {
  69876. if (node.namespace == null && $async$self._async_evaluate$_environment._async_environment$_variables.length === 1) {
  69877. t1 = node.name;
  69878. $async$self._async_evaluate$_environment._async_environment$_configurableVariables.add$1(0, t1);
  69879. t2 = $async$self._async_evaluate$_configuration._configuration$_values;
  69880. _0_0 = t2.get$isEmpty(t2) ? null : t2.remove$1(0, t1);
  69881. t1 = {};
  69882. t1.override = null;
  69883. if (_0_0 != null) {
  69884. t1.override = _0_0;
  69885. t2 = !_0_0.value.$eq(0, B.C__SassNull);
  69886. } else
  69887. t2 = false;
  69888. if (t2) {
  69889. $async$self._async_evaluate$_addExceptionSpan$2(node, new A._EvaluateVisitor_visitVariableDeclaration_closure2(t1, $async$self, node));
  69890. $async$returnValue = null;
  69891. // goto return
  69892. $async$goto = 1;
  69893. break;
  69894. }
  69895. }
  69896. value = $async$self._async_evaluate$_addExceptionSpan$2(node, new A._EvaluateVisitor_visitVariableDeclaration_closure3($async$self, node));
  69897. if (value != null && !value.$eq(0, B.C__SassNull)) {
  69898. $async$returnValue = null;
  69899. // goto return
  69900. $async$goto = 1;
  69901. break;
  69902. }
  69903. }
  69904. if (node.isGlobal && !$async$self._async_evaluate$_environment.globalVariableExists$1(node.name)) {
  69905. 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.";
  69906. $async$self._async_evaluate$_warn$3(t1, node.span, B.Deprecation_Rg0);
  69907. }
  69908. t1 = node.expression;
  69909. t2 = t1.accept$1($async$self);
  69910. $async$temp1 = node;
  69911. $async$temp2 = A;
  69912. $async$temp3 = node;
  69913. $async$goto = 3;
  69914. return A._asyncAwait(type$.Future_Value._is(t2) ? t2 : A._Future$value(t2, type$.Value), $async$visitVariableDeclaration$1);
  69915. case 3:
  69916. // returning from await.
  69917. $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)));
  69918. $async$returnValue = null;
  69919. // goto return
  69920. $async$goto = 1;
  69921. break;
  69922. case 1:
  69923. // return
  69924. return A._asyncReturn($async$returnValue, $async$completer);
  69925. }
  69926. });
  69927. return A._asyncStartSync($async$visitVariableDeclaration$1, $async$completer);
  69928. },
  69929. visitUseRule$1(_, node) {
  69930. return this.visitUseRule$body$_EvaluateVisitor(0, node);
  69931. },
  69932. visitUseRule$body$_EvaluateVisitor(_, node) {
  69933. var $async$goto = 0,
  69934. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
  69935. $async$returnValue, $async$self = this, values, t3, t4, _i, variable, t5, variableNodeWithSpan, t6, configuration, t1, t2, $async$temp1, $async$temp2, $async$temp3;
  69936. var $async$visitUseRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  69937. if ($async$errorCode === 1)
  69938. return A._asyncRethrow($async$result, $async$completer);
  69939. while (true)
  69940. switch ($async$goto) {
  69941. case 0:
  69942. // Function start
  69943. t1 = node.configuration;
  69944. t2 = t1.length;
  69945. $async$goto = t2 !== 0 ? 3 : 5;
  69946. break;
  69947. case 3:
  69948. // then
  69949. values = A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.ConfiguredValue);
  69950. t3 = type$._Future_Value, t4 = type$.Future_Value, _i = 0;
  69951. case 6:
  69952. // for condition
  69953. if (!(_i < t2)) {
  69954. // goto after for
  69955. $async$goto = 8;
  69956. break;
  69957. }
  69958. variable = t1[_i];
  69959. t5 = variable.expression;
  69960. variableNodeWithSpan = $async$self._async_evaluate$_expressionNode$1(t5);
  69961. t5 = t5.accept$1($async$self);
  69962. if (!t4._is(t5)) {
  69963. t6 = new A._Future($.Zone__current, t3);
  69964. t6._state = 8;
  69965. t6._resultOrListeners = t5;
  69966. t5 = t6;
  69967. }
  69968. $async$temp1 = values;
  69969. $async$temp2 = variable.name;
  69970. $async$temp3 = A;
  69971. $async$goto = 9;
  69972. return A._asyncAwait(t5, $async$visitUseRule$1);
  69973. case 9:
  69974. // returning from await.
  69975. $async$temp1.$indexSet(0, $async$temp2, new $async$temp3.ConfiguredValue($async$self._async_evaluate$_withoutSlash$2($async$result, variableNodeWithSpan), variable.span, variableNodeWithSpan));
  69976. case 7:
  69977. // for update
  69978. ++_i;
  69979. // goto for condition
  69980. $async$goto = 6;
  69981. break;
  69982. case 8:
  69983. // after for
  69984. configuration = new A.ExplicitConfiguration(node, values, null);
  69985. // goto join
  69986. $async$goto = 4;
  69987. break;
  69988. case 5:
  69989. // else
  69990. configuration = B.Configuration_Map_empty_null;
  69991. case 4:
  69992. // join
  69993. $async$goto = 10;
  69994. 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);
  69995. case 10:
  69996. // returning from await.
  69997. $async$self._async_evaluate$_assertConfigurationIsEmpty$1(configuration);
  69998. $async$returnValue = null;
  69999. // goto return
  70000. $async$goto = 1;
  70001. break;
  70002. case 1:
  70003. // return
  70004. return A._asyncReturn($async$returnValue, $async$completer);
  70005. }
  70006. });
  70007. return A._asyncStartSync($async$visitUseRule$1, $async$completer);
  70008. },
  70009. visitWarnRule$1(_, node) {
  70010. return this.visitWarnRule$body$_EvaluateVisitor(0, node);
  70011. },
  70012. visitWarnRule$body$_EvaluateVisitor(_, node) {
  70013. var $async$goto = 0,
  70014. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
  70015. $async$returnValue, $async$self = this, value, t1, t2;
  70016. var $async$visitWarnRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  70017. if ($async$errorCode === 1)
  70018. return A._asyncRethrow($async$result, $async$completer);
  70019. while (true)
  70020. switch ($async$goto) {
  70021. case 0:
  70022. // Function start
  70023. $async$goto = 3;
  70024. return A._asyncAwait($async$self._addExceptionSpanAsync$1$2(node, new A._EvaluateVisitor_visitWarnRule_closure0($async$self, node), type$.Value), $async$visitWarnRule$1);
  70025. case 3:
  70026. // returning from await.
  70027. value = $async$result;
  70028. t1 = value instanceof A.SassString ? value._string$_text : $async$self._async_evaluate$_serialize$2(value, node.expression);
  70029. t2 = $async$self._async_evaluate$_stackTrace$1(node.span);
  70030. $async$self._async_evaluate$_logger.internalWarn$4$deprecation$span$trace(t1, null, null, t2);
  70031. $async$returnValue = null;
  70032. // goto return
  70033. $async$goto = 1;
  70034. break;
  70035. case 1:
  70036. // return
  70037. return A._asyncReturn($async$returnValue, $async$completer);
  70038. }
  70039. });
  70040. return A._asyncStartSync($async$visitWarnRule$1, $async$completer);
  70041. },
  70042. visitWhileRule$1(_, node) {
  70043. return this._async_evaluate$_environment.scope$1$3$semiGlobal$when(new A._EvaluateVisitor_visitWhileRule_closure0(this, node), true, node.hasDeclarations, type$.nullable_Value);
  70044. },
  70045. visitBinaryOperationExpression$1(_, node) {
  70046. var t1, _this = this;
  70047. if (_this._async_evaluate$_assertInModule$2(_this._async_evaluate$__stylesheet, "_stylesheet").plainCss) {
  70048. t1 = node.operator;
  70049. t1 = t1 !== B.BinaryOperator_Kyq && t1 !== B.BinaryOperator_Mh5;
  70050. } else
  70051. t1 = false;
  70052. if (t1)
  70053. throw A.wrapException(_this._async_evaluate$_exception$2("Operators aren't allowed in plain CSS.", node.get$operatorSpan()));
  70054. return _this._addExceptionSpanAsync$1$2(node, new A._EvaluateVisitor_visitBinaryOperationExpression_closure0(_this, node), type$.Value);
  70055. },
  70056. _async_evaluate$_slash$3(left, right, node) {
  70057. var t2, _1_1,
  70058. result = left.dividedBy$1(right),
  70059. _1_2_isSet = left instanceof A.SassNumber,
  70060. _1_2 = null, right0 = null,
  70061. t1 = false;
  70062. if (_1_2_isSet) {
  70063. t2 = type$.SassNumber;
  70064. t2._as(left);
  70065. if (right instanceof A.SassNumber) {
  70066. t2._as(right);
  70067. t1 = node.allowsSlash && this._async_evaluate$_operandAllowsSlash$1(node.left) && this._async_evaluate$_operandAllowsSlash$1(node.right);
  70068. right0 = right;
  70069. _1_2 = right0;
  70070. } else
  70071. _1_2 = right;
  70072. _1_1 = left;
  70073. } else {
  70074. _1_1 = left;
  70075. left = null;
  70076. }
  70077. if (t1)
  70078. return type$.SassNumber._as(result).withSlash$2(left, right0);
  70079. if (_1_1 instanceof A.SassNumber)
  70080. t1 = (_1_2_isSet ? _1_2 : right) instanceof A.SassNumber;
  70081. else
  70082. t1 = false;
  70083. if (t1) {
  70084. 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);
  70085. return result;
  70086. }
  70087. return result;
  70088. },
  70089. _async_evaluate$_operandAllowsSlash$1(node) {
  70090. var t1;
  70091. if (node instanceof A.FunctionExpression)
  70092. if (node.namespace == null) {
  70093. t1 = node.name;
  70094. t1 = B.Set_Pr3yj.contains$1(0, t1.toLowerCase()) && this._async_evaluate$_environment.getFunction$1(t1) == null;
  70095. } else
  70096. t1 = false;
  70097. else
  70098. t1 = true;
  70099. return t1;
  70100. },
  70101. visitValueExpression$1(_, node) {
  70102. return this.visitValueExpression$body$_EvaluateVisitor(0, node);
  70103. },
  70104. visitValueExpression$body$_EvaluateVisitor(_, node) {
  70105. var $async$goto = 0,
  70106. $async$completer = A._makeAsyncAwaitCompleter(type$.Value),
  70107. $async$returnValue;
  70108. var $async$visitValueExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  70109. if ($async$errorCode === 1)
  70110. return A._asyncRethrow($async$result, $async$completer);
  70111. while (true)
  70112. switch ($async$goto) {
  70113. case 0:
  70114. // Function start
  70115. $async$returnValue = node.value;
  70116. // goto return
  70117. $async$goto = 1;
  70118. break;
  70119. case 1:
  70120. // return
  70121. return A._asyncReturn($async$returnValue, $async$completer);
  70122. }
  70123. });
  70124. return A._asyncStartSync($async$visitValueExpression$1, $async$completer);
  70125. },
  70126. visitVariableExpression$1(_, node) {
  70127. return this.visitVariableExpression$body$_EvaluateVisitor(0, node);
  70128. },
  70129. visitVariableExpression$body$_EvaluateVisitor(_, node) {
  70130. var $async$goto = 0,
  70131. $async$completer = A._makeAsyncAwaitCompleter(type$.Value),
  70132. $async$returnValue, $async$self = this, result;
  70133. var $async$visitVariableExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  70134. if ($async$errorCode === 1)
  70135. return A._asyncRethrow($async$result, $async$completer);
  70136. while (true)
  70137. switch ($async$goto) {
  70138. case 0:
  70139. // Function start
  70140. result = $async$self._async_evaluate$_addExceptionSpan$2(node, new A._EvaluateVisitor_visitVariableExpression_closure0($async$self, node));
  70141. if (result != null) {
  70142. $async$returnValue = result;
  70143. // goto return
  70144. $async$goto = 1;
  70145. break;
  70146. }
  70147. throw A.wrapException($async$self._async_evaluate$_exception$2("Undefined variable.", node.span));
  70148. case 1:
  70149. // return
  70150. return A._asyncReturn($async$returnValue, $async$completer);
  70151. }
  70152. });
  70153. return A._asyncStartSync($async$visitVariableExpression$1, $async$completer);
  70154. },
  70155. visitUnaryOperationExpression$1(_, node) {
  70156. return this.visitUnaryOperationExpression$body$_EvaluateVisitor(0, node);
  70157. },
  70158. visitUnaryOperationExpression$body$_EvaluateVisitor(_, node) {
  70159. var $async$goto = 0,
  70160. $async$completer = A._makeAsyncAwaitCompleter(type$.Value),
  70161. $async$returnValue, $async$self = this, $async$temp1, $async$temp2, $async$temp3;
  70162. var $async$visitUnaryOperationExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  70163. if ($async$errorCode === 1)
  70164. return A._asyncRethrow($async$result, $async$completer);
  70165. while (true)
  70166. switch ($async$goto) {
  70167. case 0:
  70168. // Function start
  70169. $async$temp1 = node;
  70170. $async$temp2 = A;
  70171. $async$temp3 = node;
  70172. $async$goto = 3;
  70173. return A._asyncAwait(node.operand.accept$1($async$self), $async$visitUnaryOperationExpression$1);
  70174. case 3:
  70175. // returning from await.
  70176. $async$returnValue = $async$self._async_evaluate$_addExceptionSpan$2($async$temp1, new $async$temp2._EvaluateVisitor_visitUnaryOperationExpression_closure0($async$temp3, $async$result));
  70177. // goto return
  70178. $async$goto = 1;
  70179. break;
  70180. case 1:
  70181. // return
  70182. return A._asyncReturn($async$returnValue, $async$completer);
  70183. }
  70184. });
  70185. return A._asyncStartSync($async$visitUnaryOperationExpression$1, $async$completer);
  70186. },
  70187. visitBooleanExpression$1(_, node) {
  70188. return this.visitBooleanExpression$body$_EvaluateVisitor(0, node);
  70189. },
  70190. visitBooleanExpression$body$_EvaluateVisitor(_, node) {
  70191. var $async$goto = 0,
  70192. $async$completer = A._makeAsyncAwaitCompleter(type$.SassBoolean),
  70193. $async$returnValue;
  70194. var $async$visitBooleanExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  70195. if ($async$errorCode === 1)
  70196. return A._asyncRethrow($async$result, $async$completer);
  70197. while (true)
  70198. switch ($async$goto) {
  70199. case 0:
  70200. // Function start
  70201. $async$returnValue = node.value ? B.SassBoolean_true : B.SassBoolean_false;
  70202. // goto return
  70203. $async$goto = 1;
  70204. break;
  70205. case 1:
  70206. // return
  70207. return A._asyncReturn($async$returnValue, $async$completer);
  70208. }
  70209. });
  70210. return A._asyncStartSync($async$visitBooleanExpression$1, $async$completer);
  70211. },
  70212. visitIfExpression$1(_, node) {
  70213. return this.visitIfExpression$body$_EvaluateVisitor(0, node);
  70214. },
  70215. visitIfExpression$body$_EvaluateVisitor(_, node) {
  70216. var $async$goto = 0,
  70217. $async$completer = A._makeAsyncAwaitCompleter(type$.Value),
  70218. $async$returnValue, $async$self = this, condition, t1, ifTrue, ifFalse, result, _0_0, positional, named;
  70219. var $async$visitIfExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  70220. if ($async$errorCode === 1)
  70221. return A._asyncRethrow($async$result, $async$completer);
  70222. while (true)
  70223. switch ($async$goto) {
  70224. case 0:
  70225. // Function start
  70226. $async$goto = 3;
  70227. return A._asyncAwait($async$self._async_evaluate$_evaluateMacroArguments$1(node), $async$visitIfExpression$1);
  70228. case 3:
  70229. // returning from await.
  70230. _0_0 = $async$result;
  70231. positional = _0_0._0;
  70232. named = _0_0._1;
  70233. $async$self._async_evaluate$_verifyArguments$4(J.get$length$asx(positional), named, $.$get$IfExpression_declaration(), node);
  70234. condition = A.ListExtensions_elementAtOrNull(positional, 0);
  70235. if (condition == null) {
  70236. t1 = named.$index(0, "condition");
  70237. t1.toString;
  70238. condition = t1;
  70239. }
  70240. ifTrue = A.ListExtensions_elementAtOrNull(positional, 1);
  70241. if (ifTrue == null) {
  70242. t1 = named.$index(0, "if-true");
  70243. t1.toString;
  70244. ifTrue = t1;
  70245. }
  70246. ifFalse = A.ListExtensions_elementAtOrNull(positional, 2);
  70247. if (ifFalse == null) {
  70248. t1 = named.$index(0, "if-false");
  70249. t1.toString;
  70250. ifFalse = t1;
  70251. }
  70252. $async$goto = 4;
  70253. return A._asyncAwait(condition.accept$1($async$self), $async$visitIfExpression$1);
  70254. case 4:
  70255. // returning from await.
  70256. result = $async$result.get$isTruthy() ? ifTrue : ifFalse;
  70257. t1 = result.accept$1($async$self);
  70258. $async$goto = 5;
  70259. return A._asyncAwait(type$.Future_Value._is(t1) ? t1 : A._Future$value(t1, type$.Value), $async$visitIfExpression$1);
  70260. case 5:
  70261. // returning from await.
  70262. $async$returnValue = $async$self._async_evaluate$_withoutSlash$2($async$result, $async$self._async_evaluate$_expressionNode$1(result));
  70263. // goto return
  70264. $async$goto = 1;
  70265. break;
  70266. case 1:
  70267. // return
  70268. return A._asyncReturn($async$returnValue, $async$completer);
  70269. }
  70270. });
  70271. return A._asyncStartSync($async$visitIfExpression$1, $async$completer);
  70272. },
  70273. visitNullExpression$1(_, node) {
  70274. return this.visitNullExpression$body$_EvaluateVisitor(0, node);
  70275. },
  70276. visitNullExpression$body$_EvaluateVisitor(_, node) {
  70277. var $async$goto = 0,
  70278. $async$completer = A._makeAsyncAwaitCompleter(type$.Value),
  70279. $async$returnValue;
  70280. var $async$visitNullExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  70281. if ($async$errorCode === 1)
  70282. return A._asyncRethrow($async$result, $async$completer);
  70283. while (true)
  70284. switch ($async$goto) {
  70285. case 0:
  70286. // Function start
  70287. $async$returnValue = B.C__SassNull;
  70288. // goto return
  70289. $async$goto = 1;
  70290. break;
  70291. case 1:
  70292. // return
  70293. return A._asyncReturn($async$returnValue, $async$completer);
  70294. }
  70295. });
  70296. return A._asyncStartSync($async$visitNullExpression$1, $async$completer);
  70297. },
  70298. visitNumberExpression$1(_, node) {
  70299. return this.visitNumberExpression$body$_EvaluateVisitor(0, node);
  70300. },
  70301. visitNumberExpression$body$_EvaluateVisitor(_, node) {
  70302. var $async$goto = 0,
  70303. $async$completer = A._makeAsyncAwaitCompleter(type$.SassNumber),
  70304. $async$returnValue;
  70305. var $async$visitNumberExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  70306. if ($async$errorCode === 1)
  70307. return A._asyncRethrow($async$result, $async$completer);
  70308. while (true)
  70309. switch ($async$goto) {
  70310. case 0:
  70311. // Function start
  70312. $async$returnValue = A.SassNumber_SassNumber(node.value, node.unit);
  70313. // goto return
  70314. $async$goto = 1;
  70315. break;
  70316. case 1:
  70317. // return
  70318. return A._asyncReturn($async$returnValue, $async$completer);
  70319. }
  70320. });
  70321. return A._asyncStartSync($async$visitNumberExpression$1, $async$completer);
  70322. },
  70323. visitParenthesizedExpression$1(_, node) {
  70324. var _this = this;
  70325. 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);
  70326. },
  70327. visitColorExpression$1(_, node) {
  70328. return this.visitColorExpression$body$_EvaluateVisitor(0, node);
  70329. },
  70330. visitColorExpression$body$_EvaluateVisitor(_, node) {
  70331. var $async$goto = 0,
  70332. $async$completer = A._makeAsyncAwaitCompleter(type$.SassColor),
  70333. $async$returnValue;
  70334. var $async$visitColorExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  70335. if ($async$errorCode === 1)
  70336. return A._asyncRethrow($async$result, $async$completer);
  70337. while (true)
  70338. switch ($async$goto) {
  70339. case 0:
  70340. // Function start
  70341. $async$returnValue = node.value;
  70342. // goto return
  70343. $async$goto = 1;
  70344. break;
  70345. case 1:
  70346. // return
  70347. return A._asyncReturn($async$returnValue, $async$completer);
  70348. }
  70349. });
  70350. return A._asyncStartSync($async$visitColorExpression$1, $async$completer);
  70351. },
  70352. visitListExpression$1(_, node) {
  70353. return this.visitListExpression$body$_EvaluateVisitor(0, node);
  70354. },
  70355. visitListExpression$body$_EvaluateVisitor(_, node) {
  70356. var $async$goto = 0,
  70357. $async$completer = A._makeAsyncAwaitCompleter(type$.SassList),
  70358. $async$returnValue, $async$self = this, $async$temp1;
  70359. var $async$visitListExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  70360. if ($async$errorCode === 1)
  70361. return A._asyncRethrow($async$result, $async$completer);
  70362. while (true)
  70363. switch ($async$goto) {
  70364. case 0:
  70365. // Function start
  70366. $async$temp1 = A;
  70367. $async$goto = 3;
  70368. return A._asyncAwait(A.mapAsync(node.contents, new A._EvaluateVisitor_visitListExpression_closure0($async$self), type$.Expression, type$.Value), $async$visitListExpression$1);
  70369. case 3:
  70370. // returning from await.
  70371. $async$returnValue = $async$temp1.SassList$($async$result, node.separator, node.hasBrackets);
  70372. // goto return
  70373. $async$goto = 1;
  70374. break;
  70375. case 1:
  70376. // return
  70377. return A._asyncReturn($async$returnValue, $async$completer);
  70378. }
  70379. });
  70380. return A._asyncStartSync($async$visitListExpression$1, $async$completer);
  70381. },
  70382. visitMapExpression$1(_, node) {
  70383. return this.visitMapExpression$body$_EvaluateVisitor(0, node);
  70384. },
  70385. visitMapExpression$body$_EvaluateVisitor(_, node) {
  70386. var $async$goto = 0,
  70387. $async$completer = A._makeAsyncAwaitCompleter(type$.SassMap),
  70388. $async$returnValue, $async$self = this, t2, t3, _i, t4, key, keyValue, valueValue, oldValueSpan, t1, map, keyNodes;
  70389. var $async$visitMapExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  70390. if ($async$errorCode === 1)
  70391. return A._asyncRethrow($async$result, $async$completer);
  70392. while (true)
  70393. switch ($async$goto) {
  70394. case 0:
  70395. // Function start
  70396. t1 = type$.Value;
  70397. map = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
  70398. keyNodes = A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.AstNode);
  70399. t2 = node.pairs, t3 = t2.length, _i = 0;
  70400. case 3:
  70401. // for condition
  70402. if (!(_i < t3)) {
  70403. // goto after for
  70404. $async$goto = 5;
  70405. break;
  70406. }
  70407. t4 = t2[_i];
  70408. key = t4._0;
  70409. $async$goto = 6;
  70410. return A._asyncAwait(key.accept$1($async$self), $async$visitMapExpression$1);
  70411. case 6:
  70412. // returning from await.
  70413. keyValue = $async$result;
  70414. $async$goto = 7;
  70415. return A._asyncAwait(t4._1.accept$1($async$self), $async$visitMapExpression$1);
  70416. case 7:
  70417. // returning from await.
  70418. valueValue = $async$result;
  70419. if (map.containsKey$1(keyValue)) {
  70420. t1 = keyNodes.$index(0, keyValue);
  70421. oldValueSpan = t1 == null ? null : t1.get$span(t1);
  70422. t1 = key.get$span(key);
  70423. t2 = A.LinkedHashMap_LinkedHashMap$_empty(type$.FileSpan, type$.String);
  70424. if (oldValueSpan != null)
  70425. t2.$indexSet(0, oldValueSpan, "first key");
  70426. throw A.wrapException(A.MultiSpanSassRuntimeException$("Duplicate key.", t1, "second key", t2, $async$self._async_evaluate$_stackTrace$1(key.get$span(key)), null));
  70427. }
  70428. map.$indexSet(0, keyValue, valueValue);
  70429. keyNodes.$indexSet(0, keyValue, key);
  70430. case 4:
  70431. // for update
  70432. ++_i;
  70433. // goto for condition
  70434. $async$goto = 3;
  70435. break;
  70436. case 5:
  70437. // after for
  70438. $async$returnValue = new A.SassMap(A.ConstantMap_ConstantMap$from(map, t1, t1));
  70439. // goto return
  70440. $async$goto = 1;
  70441. break;
  70442. case 1:
  70443. // return
  70444. return A._asyncReturn($async$returnValue, $async$completer);
  70445. }
  70446. });
  70447. return A._asyncStartSync($async$visitMapExpression$1, $async$completer);
  70448. },
  70449. visitFunctionExpression$1(_, node) {
  70450. return this.visitFunctionExpression$body$_EvaluateVisitor(0, node);
  70451. },
  70452. visitFunctionExpression$body$_EvaluateVisitor(_, node) {
  70453. var $async$goto = 0,
  70454. $async$completer = A._makeAsyncAwaitCompleter(type$.Value),
  70455. $async$returnValue, $async$self = this, t2, _0_0, t3, t4, $name, oldInFunction, result, t1, $function;
  70456. var $async$visitFunctionExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  70457. if ($async$errorCode === 1)
  70458. return A._asyncRethrow($async$result, $async$completer);
  70459. while (true)
  70460. switch ($async$goto) {
  70461. case 0:
  70462. // Function start
  70463. t1 = {};
  70464. $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));
  70465. t1.$function = $function;
  70466. $async$goto = $function == null ? 3 : 5;
  70467. break;
  70468. case 3:
  70469. // then
  70470. if (node.namespace != null)
  70471. throw A.wrapException($async$self._async_evaluate$_exception$2("Undefined function.", node.span));
  70472. t2 = node.name;
  70473. _0_0 = t2.toLowerCase();
  70474. t3 = false;
  70475. if ("min" === _0_0 || "max" === _0_0 || "round" === _0_0 || "abs" === _0_0) {
  70476. t3 = node.$arguments;
  70477. t4 = t3.named;
  70478. t3 = t4.get$isEmpty(t4) && t3.rest == null && B.JSArray_methods.every$1(t3.positional, new A._EvaluateVisitor_visitFunctionExpression_closure3());
  70479. $name = _0_0;
  70480. } else
  70481. $name = null;
  70482. $async$goto = t3 ? 6 : 7;
  70483. break;
  70484. case 6:
  70485. // then
  70486. $async$goto = 8;
  70487. return A._asyncAwait($async$self._async_evaluate$_visitCalculation$2$inLegacySassFunction(node, $name), $async$visitFunctionExpression$1);
  70488. case 8:
  70489. // returning from await.
  70490. $async$returnValue = $async$result;
  70491. // goto return
  70492. $async$goto = 1;
  70493. break;
  70494. case 7:
  70495. // join
  70496. $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;
  70497. break;
  70498. case 9:
  70499. // then
  70500. $async$goto = 11;
  70501. return A._asyncAwait($async$self._async_evaluate$_visitCalculation$1(node), $async$visitFunctionExpression$1);
  70502. case 11:
  70503. // returning from await.
  70504. $async$returnValue = $async$result;
  70505. // goto return
  70506. $async$goto = 1;
  70507. break;
  70508. case 10:
  70509. // join
  70510. $function = $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__stylesheet, "_stylesheet").plainCss ? null : $async$self._async_evaluate$_builtInFunctions.$index(0, t2);
  70511. t2 = t1.$function = $function == null ? new A.PlainCssCallable(node.originalName) : $function;
  70512. // goto join
  70513. $async$goto = 4;
  70514. break;
  70515. case 5:
  70516. // else
  70517. t2 = $function;
  70518. case 4:
  70519. // join
  70520. if (B.JSString_methods.startsWith$1(node.originalName, "--") && t2 instanceof A.UserDefinedCallable && !B.JSString_methods.startsWith$1(t2.declaration.originalName, "--"))
  70521. $async$self._async_evaluate$_warn$3(string$.Sassx20_f_, node.get$nameSpan(), B.Deprecation_Kg6);
  70522. oldInFunction = $async$self._async_evaluate$_inFunction;
  70523. $async$self._async_evaluate$_inFunction = true;
  70524. $async$goto = 12;
  70525. 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);
  70526. case 12:
  70527. // returning from await.
  70528. result = $async$result;
  70529. $async$self._async_evaluate$_inFunction = oldInFunction;
  70530. $async$returnValue = result;
  70531. // goto return
  70532. $async$goto = 1;
  70533. break;
  70534. case 1:
  70535. // return
  70536. return A._asyncReturn($async$returnValue, $async$completer);
  70537. }
  70538. });
  70539. return A._asyncStartSync($async$visitFunctionExpression$1, $async$completer);
  70540. },
  70541. _async_evaluate$_visitCalculation$2$inLegacySassFunction(node, inLegacySassFunction) {
  70542. return this._visitCalculation$body$_EvaluateVisitor(node, inLegacySassFunction);
  70543. },
  70544. _async_evaluate$_visitCalculation$1(node) {
  70545. return this._async_evaluate$_visitCalculation$2$inLegacySassFunction(node, null);
  70546. },
  70547. _visitCalculation$body$_EvaluateVisitor(node, inLegacySassFunction) {
  70548. var $async$goto = 0,
  70549. $async$completer = A._makeAsyncAwaitCompleter(type$.Value),
  70550. $async$returnValue, $async$next = [], $async$self = this, $arguments, oldCallableNode, t1, _0_0, error, stackTrace, t4, _i, exception, t2, t3, $async$temp1;
  70551. var $async$_async_evaluate$_visitCalculation$2$inLegacySassFunction = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  70552. if ($async$errorCode === 1)
  70553. return A._asyncRethrow($async$result, $async$completer);
  70554. while (true)
  70555. switch ($async$goto) {
  70556. case 0:
  70557. // Function start
  70558. t2 = node.$arguments;
  70559. t3 = t2.named;
  70560. if (t3.get$isNotEmpty(t3))
  70561. throw A.wrapException($async$self._async_evaluate$_exception$2(string$.Keywor, node.span));
  70562. else if (t2.rest != null)
  70563. throw A.wrapException($async$self._async_evaluate$_exception$2(string$.Rest_a, node.span));
  70564. $async$self._async_evaluate$_checkCalculationArguments$1(node);
  70565. t3 = A._setArrayType([], type$.JSArray_Object);
  70566. t2 = t2.positional, t4 = t2.length, _i = 0;
  70567. case 3:
  70568. // for condition
  70569. if (!(_i < t4)) {
  70570. // goto after for
  70571. $async$goto = 5;
  70572. break;
  70573. }
  70574. $async$temp1 = t3;
  70575. $async$goto = 6;
  70576. return A._asyncAwait($async$self._async_evaluate$_visitCalculationExpression$2$inLegacySassFunction(t2[_i], inLegacySassFunction), $async$_async_evaluate$_visitCalculation$2$inLegacySassFunction);
  70577. case 6:
  70578. // returning from await.
  70579. $async$temp1.push($async$result);
  70580. case 4:
  70581. // for update
  70582. ++_i;
  70583. // goto for condition
  70584. $async$goto = 3;
  70585. break;
  70586. case 5:
  70587. // after for
  70588. $arguments = t3;
  70589. if ($async$self._async_evaluate$_inSupportsDeclaration) {
  70590. $async$returnValue = new A.SassCalculation(node.name, A.List_List$unmodifiable($arguments, type$.Object));
  70591. // goto return
  70592. $async$goto = 1;
  70593. break;
  70594. }
  70595. oldCallableNode = $async$self._async_evaluate$_callableNode;
  70596. $async$self._async_evaluate$_callableNode = node;
  70597. try {
  70598. t1 = null;
  70599. t3 = node.name;
  70600. _0_0 = t3.toLowerCase();
  70601. $label0$0: {
  70602. if ("calc" === _0_0) {
  70603. t1 = A.SassCalculation_calc(J.$index$asx($arguments, 0));
  70604. break $label0$0;
  70605. }
  70606. if ("sqrt" === _0_0) {
  70607. t1 = A.SassCalculation__singleArgument("sqrt", J.$index$asx($arguments, 0), A.number0__sqrt$closure(), true);
  70608. break $label0$0;
  70609. }
  70610. if ("sin" === _0_0) {
  70611. t1 = A.SassCalculation__singleArgument("sin", J.$index$asx($arguments, 0), A.number0__sin$closure(), false);
  70612. break $label0$0;
  70613. }
  70614. if ("cos" === _0_0) {
  70615. t1 = A.SassCalculation__singleArgument("cos", J.$index$asx($arguments, 0), A.number0__cos$closure(), false);
  70616. break $label0$0;
  70617. }
  70618. if ("tan" === _0_0) {
  70619. t1 = A.SassCalculation__singleArgument("tan", J.$index$asx($arguments, 0), A.number0__tan$closure(), false);
  70620. break $label0$0;
  70621. }
  70622. if ("asin" === _0_0) {
  70623. t1 = A.SassCalculation__singleArgument("asin", J.$index$asx($arguments, 0), A.number0__asin$closure(), true);
  70624. break $label0$0;
  70625. }
  70626. if ("acos" === _0_0) {
  70627. t1 = A.SassCalculation__singleArgument("acos", J.$index$asx($arguments, 0), A.number0__acos$closure(), true);
  70628. break $label0$0;
  70629. }
  70630. if ("atan" === _0_0) {
  70631. t1 = A.SassCalculation__singleArgument("atan", J.$index$asx($arguments, 0), A.number0__atan$closure(), true);
  70632. break $label0$0;
  70633. }
  70634. if ("abs" === _0_0) {
  70635. t1 = A.SassCalculation_abs(J.$index$asx($arguments, 0));
  70636. break $label0$0;
  70637. }
  70638. if ("exp" === _0_0) {
  70639. t1 = A.SassCalculation_exp(J.$index$asx($arguments, 0));
  70640. break $label0$0;
  70641. }
  70642. if ("sign" === _0_0) {
  70643. t1 = A.SassCalculation_sign(J.$index$asx($arguments, 0));
  70644. break $label0$0;
  70645. }
  70646. if ("min" === _0_0) {
  70647. t1 = A.SassCalculation_min($arguments);
  70648. break $label0$0;
  70649. }
  70650. if ("max" === _0_0) {
  70651. t1 = A.SassCalculation_max($arguments);
  70652. break $label0$0;
  70653. }
  70654. if ("hypot" === _0_0) {
  70655. t1 = A.SassCalculation_hypot($arguments);
  70656. break $label0$0;
  70657. }
  70658. if ("pow" === _0_0) {
  70659. t1 = A.SassCalculation_pow(J.$index$asx($arguments, 0), A.ListExtensions_elementAtOrNull($arguments, 1));
  70660. break $label0$0;
  70661. }
  70662. if ("atan2" === _0_0) {
  70663. t1 = A.SassCalculation_atan2(J.$index$asx($arguments, 0), A.ListExtensions_elementAtOrNull($arguments, 1));
  70664. break $label0$0;
  70665. }
  70666. if ("log" === _0_0) {
  70667. t1 = A.SassCalculation_log(J.$index$asx($arguments, 0), A.ListExtensions_elementAtOrNull($arguments, 1));
  70668. break $label0$0;
  70669. }
  70670. if ("mod" === _0_0) {
  70671. t1 = A.SassCalculation_mod(J.$index$asx($arguments, 0), A.ListExtensions_elementAtOrNull($arguments, 1));
  70672. break $label0$0;
  70673. }
  70674. if ("rem" === _0_0) {
  70675. t1 = A.SassCalculation_rem(J.$index$asx($arguments, 0), A.ListExtensions_elementAtOrNull($arguments, 1));
  70676. break $label0$0;
  70677. }
  70678. if ("round" === _0_0) {
  70679. 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));
  70680. break $label0$0;
  70681. }
  70682. if ("clamp" === _0_0) {
  70683. t1 = A.SassCalculation_clamp(J.$index$asx($arguments, 0), A.ListExtensions_elementAtOrNull($arguments, 1), A.ListExtensions_elementAtOrNull($arguments, 2));
  70684. break $label0$0;
  70685. }
  70686. if ("calc-size" === _0_0) {
  70687. t1 = A.SassCalculation_calcSize(J.$index$asx($arguments, 0), A.ListExtensions_elementAtOrNull($arguments, 1));
  70688. break $label0$0;
  70689. }
  70690. t3 = A.UnsupportedError$('Unknown calculation name "' + t3 + '".');
  70691. t1 = A.throwExpression(t3);
  70692. }
  70693. t1 = t1;
  70694. $async$returnValue = t1;
  70695. // goto return
  70696. $async$goto = 1;
  70697. break;
  70698. } catch (exception) {
  70699. t1 = A.unwrapException(exception);
  70700. if (t1 instanceof A.SassScriptException) {
  70701. error = t1;
  70702. stackTrace = A.getTraceFromException(exception);
  70703. if (B.JSString_methods.contains$1(error.message, "compatible"))
  70704. $async$self._async_evaluate$_verifyCompatibleNumbers$2($arguments, t2);
  70705. A.throwWithTrace($async$self._async_evaluate$_exception$2(error.message, node.span), error, stackTrace);
  70706. } else
  70707. throw exception;
  70708. } finally {
  70709. $async$self._async_evaluate$_callableNode = oldCallableNode;
  70710. }
  70711. case 1:
  70712. // return
  70713. return A._asyncReturn($async$returnValue, $async$completer);
  70714. }
  70715. });
  70716. return A._asyncStartSync($async$_async_evaluate$_visitCalculation$2$inLegacySassFunction, $async$completer);
  70717. },
  70718. _async_evaluate$_checkCalculationArguments$1(node) {
  70719. var t1, _0_0,
  70720. check = new A._EvaluateVisitor__checkCalculationArguments_check0(this, node);
  70721. $label0$0: {
  70722. t1 = node.name;
  70723. _0_0 = t1.toLowerCase();
  70724. 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) {
  70725. check.call$1(1);
  70726. break $label0$0;
  70727. }
  70728. if ("min" === _0_0 || "max" === _0_0 || "hypot" === _0_0) {
  70729. check.call$0();
  70730. break $label0$0;
  70731. }
  70732. if ("pow" === _0_0 || "atan2" === _0_0 || "log" === _0_0 || "mod" === _0_0 || "rem" === _0_0 || "calc-size" === _0_0) {
  70733. check.call$1(2);
  70734. break $label0$0;
  70735. }
  70736. if ("round" === _0_0 || "clamp" === _0_0) {
  70737. check.call$1(3);
  70738. break $label0$0;
  70739. }
  70740. throw A.wrapException(A.UnsupportedError$('Unknown calculation name "' + t1 + '".'));
  70741. }
  70742. },
  70743. _async_evaluate$_verifyCompatibleNumbers$2(args, nodesWithSpans) {
  70744. var i, t1, _0_0, arg, t2, number1, j, number2, t3, t4, t5, t6;
  70745. for (i = 0; t1 = args.length, i < t1; ++i) {
  70746. _0_0 = args[i];
  70747. if (_0_0 instanceof A.SassNumber) {
  70748. t1 = _0_0.get$hasComplexUnits();
  70749. arg = _0_0;
  70750. } else {
  70751. arg = null;
  70752. t1 = false;
  70753. }
  70754. if (t1) {
  70755. t1 = A.S(arg);
  70756. t2 = nodesWithSpans[i];
  70757. throw A.wrapException(this._async_evaluate$_exception$2("Number " + t1 + " isn't compatible with CSS calculations.", t2.get$span(t2)));
  70758. }
  70759. }
  70760. for (i = 0; i < t1 - 1; ++i) {
  70761. number1 = args[i];
  70762. if (!(number1 instanceof A.SassNumber))
  70763. continue;
  70764. for (j = i + 1; t1 = args.length, j < t1; ++j) {
  70765. number2 = args[j];
  70766. if (!(number2 instanceof A.SassNumber))
  70767. continue;
  70768. if (number1.hasPossiblyCompatibleUnits$1(number2))
  70769. continue;
  70770. t1 = number1.toString$0(0);
  70771. t2 = number2.toString$0(0);
  70772. t3 = nodesWithSpans[i];
  70773. t3 = t3.get$span(t3);
  70774. t4 = number1.toString$0(0);
  70775. t5 = nodesWithSpans[j];
  70776. t5 = A.LinkedHashMap_LinkedHashMap$_literal([t5.get$span(t5), number2.toString$0(0)], type$.FileSpan, type$.String);
  70777. t6 = nodesWithSpans[i];
  70778. throw A.wrapException(A.MultiSpanSassRuntimeException$(t1 + " and " + t2 + " are incompatible.", t3, t4, t5, this._async_evaluate$_stackTrace$1(t6.get$span(t6)), null));
  70779. }
  70780. }
  70781. },
  70782. _async_evaluate$_visitCalculationExpression$2$inLegacySassFunction(node, inLegacySassFunction) {
  70783. return this._visitCalculationExpression$body$_EvaluateVisitor(node, inLegacySassFunction);
  70784. },
  70785. _visitCalculationExpression$body$_EvaluateVisitor(node, inLegacySassFunction) {
  70786. var $async$goto = 0,
  70787. $async$completer = A._makeAsyncAwaitCompleter(type$.Object),
  70788. $async$returnValue, $async$self = this, result, t2, _0_0, _box_0, _1_0, t3, _i, i, t1, inner, $async$temp1;
  70789. var $async$_async_evaluate$_visitCalculationExpression$2$inLegacySassFunction = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  70790. if ($async$errorCode === 1)
  70791. return A._asyncRethrow($async$result, $async$completer);
  70792. while (true)
  70793. switch ($async$goto) {
  70794. case 0:
  70795. // Function start
  70796. t1 = node instanceof A.ParenthesizedExpression;
  70797. inner = t1 ? node.expression : null;
  70798. $async$goto = t1 ? 3 : 4;
  70799. break;
  70800. case 3:
  70801. // then
  70802. $async$goto = 5;
  70803. return A._asyncAwait($async$self._async_evaluate$_visitCalculationExpression$2$inLegacySassFunction(inner, inLegacySassFunction), $async$_async_evaluate$_visitCalculationExpression$2$inLegacySassFunction);
  70804. case 5:
  70805. // returning from await.
  70806. result = $async$result;
  70807. $async$returnValue = result instanceof A.SassString ? new A.SassString("(" + result._string$_text + ")", false) : result;
  70808. // goto return
  70809. $async$goto = 1;
  70810. break;
  70811. case 4:
  70812. // join
  70813. $async$goto = node instanceof A.StringExpression && node.accept$1(B.C_IsCalculationSafeVisitor) ? 6 : 7;
  70814. break;
  70815. case 6:
  70816. // then
  70817. t1 = node.text;
  70818. t2 = t1.get$asPlain();
  70819. _0_0 = t2 == null ? null : t2.toLowerCase();
  70820. if ("pi" === _0_0) {
  70821. t1 = A.SassNumber_SassNumber(3.141592653589793, null);
  70822. // goto break $label0$0
  70823. $async$goto = 8;
  70824. break;
  70825. }
  70826. if ("e" === _0_0) {
  70827. t1 = A.SassNumber_SassNumber(2.718281828459045, null);
  70828. // goto break $label0$0
  70829. $async$goto = 8;
  70830. break;
  70831. }
  70832. if ("infinity" === _0_0) {
  70833. t1 = A.SassNumber_SassNumber(1 / 0, null);
  70834. // goto break $label0$0
  70835. $async$goto = 8;
  70836. break;
  70837. }
  70838. if ("-infinity" === _0_0) {
  70839. t1 = A.SassNumber_SassNumber(-1 / 0, null);
  70840. // goto break $label0$0
  70841. $async$goto = 8;
  70842. break;
  70843. }
  70844. if ("nan" === _0_0) {
  70845. t1 = A.SassNumber_SassNumber(0 / 0, null);
  70846. // goto break $label0$0
  70847. $async$goto = 8;
  70848. break;
  70849. }
  70850. $async$temp1 = A;
  70851. $async$goto = 9;
  70852. return A._asyncAwait($async$self._async_evaluate$_performInterpolation$1(t1), $async$_async_evaluate$_visitCalculationExpression$2$inLegacySassFunction);
  70853. case 9:
  70854. // returning from await.
  70855. t1 = new $async$temp1.SassString($async$result, false);
  70856. // goto break $label0$0
  70857. $async$goto = 8;
  70858. break;
  70859. case 8:
  70860. // break $label0$0
  70861. $async$returnValue = t1;
  70862. // goto return
  70863. $async$goto = 1;
  70864. break;
  70865. case 7:
  70866. // join
  70867. _box_0 = {};
  70868. _box_0.right = _box_0.left = _box_0.operator = null;
  70869. t1 = node instanceof A.BinaryOperationExpression;
  70870. if (t1) {
  70871. _box_0.operator = node.operator;
  70872. _box_0.left = node.left;
  70873. _box_0.right = node.right;
  70874. }
  70875. $async$goto = t1 ? 10 : 11;
  70876. break;
  70877. case 10:
  70878. // then
  70879. $async$self._async_evaluate$_checkWhitespaceAroundCalculationOperator$1(node);
  70880. $async$goto = 12;
  70881. 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);
  70882. case 12:
  70883. // returning from await.
  70884. $async$returnValue = $async$result;
  70885. // goto return
  70886. $async$goto = 1;
  70887. break;
  70888. case 11:
  70889. // join
  70890. $async$goto = node instanceof A.NumberExpression || node instanceof A.VariableExpression || node instanceof A.FunctionExpression || node instanceof A.IfExpression ? 13 : 14;
  70891. break;
  70892. case 13:
  70893. // then
  70894. $async$goto = 15;
  70895. return A._asyncAwait(node.accept$1($async$self), $async$_async_evaluate$_visitCalculationExpression$2$inLegacySassFunction);
  70896. case 15:
  70897. // returning from await.
  70898. _1_0 = $async$result;
  70899. $label1$1: {
  70900. if (_1_0 instanceof A.SassNumber) {
  70901. t1 = _1_0;
  70902. break $label1$1;
  70903. }
  70904. if (_1_0 instanceof A.SassCalculation) {
  70905. t1 = _1_0;
  70906. break $label1$1;
  70907. }
  70908. if (_1_0 instanceof A.SassString) {
  70909. t1 = !_1_0._hasQuotes;
  70910. result = _1_0;
  70911. } else {
  70912. result = null;
  70913. t1 = false;
  70914. }
  70915. if (t1) {
  70916. t1 = result;
  70917. break $label1$1;
  70918. }
  70919. 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)));
  70920. }
  70921. $async$returnValue = t1;
  70922. // goto return
  70923. $async$goto = 1;
  70924. break;
  70925. case 14:
  70926. // join
  70927. $async$goto = node instanceof A.ListExpression && !node.hasBrackets && B.ListSeparator_qSL === node.separator && node.contents.length >= 2 ? 16 : 17;
  70928. break;
  70929. case 16:
  70930. // then
  70931. t1 = A._setArrayType([], type$.JSArray_Object);
  70932. t2 = node.contents, t3 = t2.length, _i = 0;
  70933. case 18:
  70934. // for condition
  70935. if (!(_i < t3)) {
  70936. // goto after for
  70937. $async$goto = 20;
  70938. break;
  70939. }
  70940. $async$temp1 = t1;
  70941. $async$goto = 21;
  70942. return A._asyncAwait($async$self._async_evaluate$_visitCalculationExpression$2$inLegacySassFunction(t2[_i], inLegacySassFunction), $async$_async_evaluate$_visitCalculationExpression$2$inLegacySassFunction);
  70943. case 21:
  70944. // returning from await.
  70945. $async$temp1.push($async$result);
  70946. case 19:
  70947. // for update
  70948. ++_i;
  70949. // goto for condition
  70950. $async$goto = 18;
  70951. break;
  70952. case 20:
  70953. // after for
  70954. $async$self._async_evaluate$_checkAdjacentCalculationValues$2(t1, node);
  70955. for (i = 0; i < t1.length; ++i) {
  70956. t3 = t1[i];
  70957. if (t3 instanceof A.CalculationOperation && t2[i] instanceof A.ParenthesizedExpression)
  70958. t1[i] = new A.SassString("(" + t3.toString$0(0) + ")", false);
  70959. }
  70960. $async$returnValue = new A.SassString(B.JSArray_methods.join$1(t1, " "), false);
  70961. // goto return
  70962. $async$goto = 1;
  70963. break;
  70964. case 17:
  70965. // join
  70966. throw A.wrapException($async$self._async_evaluate$_exception$2(string$.This_e, node.get$span(node)));
  70967. case 1:
  70968. // return
  70969. return A._asyncReturn($async$returnValue, $async$completer);
  70970. }
  70971. });
  70972. return A._asyncStartSync($async$_async_evaluate$_visitCalculationExpression$2$inLegacySassFunction, $async$completer);
  70973. },
  70974. _async_evaluate$_checkWhitespaceAroundCalculationOperator$1(node) {
  70975. var t2, t3, t4, textBetweenOperands, first, last,
  70976. t1 = node.operator;
  70977. if (t1 !== B.BinaryOperator_Swh && t1 !== B.BinaryOperator_QG1)
  70978. return;
  70979. t1 = node.left;
  70980. t2 = t1.get$span(t1);
  70981. t2 = t2.get$file(t2);
  70982. t3 = node.right;
  70983. t4 = t3.get$span(t3);
  70984. if (t2 !== t4.get$file(t4))
  70985. return;
  70986. t2 = t1.get$span(t1);
  70987. t2 = t2.get$end(t2);
  70988. t4 = t3.get$span(t3);
  70989. if (t2.offset >= t4.get$start(t4).offset)
  70990. return;
  70991. t2 = t1.get$span(t1);
  70992. t2 = t2.get$file(t2);
  70993. t1 = t1.get$span(t1);
  70994. t1 = t1.get$end(t1);
  70995. t3 = t3.get$span(t3);
  70996. textBetweenOperands = A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t2._decodedChars, t1.offset, t3.get$start(t3).offset), 0, null);
  70997. first = textBetweenOperands.charCodeAt(0);
  70998. last = textBetweenOperands.charCodeAt(textBetweenOperands.length - 1);
  70999. if (first === 32 || first === 9 || first === 10 || first === 13 || first === 12 || first === 47)
  71000. t1 = !(last === 32 || last === 9 || last === 10 || last === 13 || last === 12 || last === 47);
  71001. else
  71002. t1 = true;
  71003. if (t1)
  71004. throw A.wrapException(this._async_evaluate$_exception$2(string$.x22x2b__an, node.get$operatorSpan()));
  71005. },
  71006. _async_evaluate$_binaryOperatorToCalculationOperator$2(operator, node) {
  71007. var t1;
  71008. $label0$0: {
  71009. if (B.BinaryOperator_Swh === operator) {
  71010. t1 = B.CalculationOperator_F7i;
  71011. break $label0$0;
  71012. }
  71013. if (B.BinaryOperator_QG1 === operator) {
  71014. t1 = B.CalculationOperator_oum;
  71015. break $label0$0;
  71016. }
  71017. if (B.BinaryOperator_tht === operator) {
  71018. t1 = B.CalculationOperator_kkN;
  71019. break $label0$0;
  71020. }
  71021. if (B.BinaryOperator_Mh5 === operator) {
  71022. t1 = B.CalculationOperator_bo5;
  71023. break $label0$0;
  71024. }
  71025. t1 = A.throwExpression(this._async_evaluate$_exception$2(string$.This_o, node.get$operatorSpan()));
  71026. }
  71027. return t1;
  71028. },
  71029. _async_evaluate$_checkAdjacentCalculationValues$2(elements, node) {
  71030. var t1, i, t2, previous, current, previousNode, currentNode, _0_2;
  71031. for (t1 = elements.length, i = 1; i < t1; ++i) {
  71032. t2 = i - 1;
  71033. previous = elements[t2];
  71034. current = elements[i];
  71035. if (previous instanceof A.SassString || current instanceof A.SassString)
  71036. continue;
  71037. t1 = node.contents;
  71038. previousNode = t1[t2];
  71039. currentNode = t1[i];
  71040. if (currentNode instanceof A.UnaryOperationExpression) {
  71041. _0_2 = currentNode.operator;
  71042. if (B.UnaryOperator_UCP !== _0_2)
  71043. t1 = B.UnaryOperator_Rbl === _0_2;
  71044. else
  71045. t1 = true;
  71046. } else
  71047. t1 = false;
  71048. if (!t1)
  71049. t1 = currentNode instanceof A.NumberExpression && currentNode.value < 0;
  71050. else
  71051. t1 = true;
  71052. if (t1)
  71053. throw A.wrapException(this._async_evaluate$_exception$2(string$.x22x2b__an, A.FileSpanExtension_subspan(currentNode.get$span(currentNode), 0, 1)));
  71054. else
  71055. throw A.wrapException(this._async_evaluate$_exception$2("Missing math operator.", previousNode.get$span(previousNode).expand$1(0, currentNode.get$span(currentNode))));
  71056. }
  71057. },
  71058. visitInterpolatedFunctionExpression$1(_, node) {
  71059. return this.visitInterpolatedFunctionExpression$body$_EvaluateVisitor(0, node);
  71060. },
  71061. visitInterpolatedFunctionExpression$body$_EvaluateVisitor(_, node) {
  71062. var $async$goto = 0,
  71063. $async$completer = A._makeAsyncAwaitCompleter(type$.Value),
  71064. $async$returnValue, $async$self = this, result, t1, oldInFunction;
  71065. var $async$visitInterpolatedFunctionExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  71066. if ($async$errorCode === 1)
  71067. return A._asyncRethrow($async$result, $async$completer);
  71068. while (true)
  71069. switch ($async$goto) {
  71070. case 0:
  71071. // Function start
  71072. $async$goto = 3;
  71073. return A._asyncAwait($async$self._async_evaluate$_performInterpolation$1(node.name), $async$visitInterpolatedFunctionExpression$1);
  71074. case 3:
  71075. // returning from await.
  71076. t1 = $async$result;
  71077. oldInFunction = $async$self._async_evaluate$_inFunction;
  71078. $async$self._async_evaluate$_inFunction = true;
  71079. $async$goto = 4;
  71080. 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);
  71081. case 4:
  71082. // returning from await.
  71083. result = $async$result;
  71084. $async$self._async_evaluate$_inFunction = oldInFunction;
  71085. $async$returnValue = result;
  71086. // goto return
  71087. $async$goto = 1;
  71088. break;
  71089. case 1:
  71090. // return
  71091. return A._asyncReturn($async$returnValue, $async$completer);
  71092. }
  71093. });
  71094. return A._asyncStartSync($async$visitInterpolatedFunctionExpression$1, $async$completer);
  71095. },
  71096. _async_evaluate$_runUserDefinedCallable$1$4($arguments, callable, nodeWithSpan, run, $V) {
  71097. return this._runUserDefinedCallable$body$_EvaluateVisitor($arguments, callable, nodeWithSpan, run, $V, $V);
  71098. },
  71099. _runUserDefinedCallable$body$_EvaluateVisitor($arguments, callable, nodeWithSpan, run, $V, $async$type) {
  71100. var $async$goto = 0,
  71101. $async$completer = A._makeAsyncAwaitCompleter($async$type),
  71102. $async$returnValue, $async$self = this, oldInDependency, result, evaluated, $name;
  71103. var $async$_async_evaluate$_runUserDefinedCallable$1$4 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  71104. if ($async$errorCode === 1)
  71105. return A._asyncRethrow($async$result, $async$completer);
  71106. while (true)
  71107. switch ($async$goto) {
  71108. case 0:
  71109. // Function start
  71110. $async$goto = 3;
  71111. return A._asyncAwait($async$self._async_evaluate$_evaluateArguments$1($arguments), $async$_async_evaluate$_runUserDefinedCallable$1$4);
  71112. case 3:
  71113. // returning from await.
  71114. evaluated = $async$result;
  71115. $name = callable.declaration.name;
  71116. if ($name !== "@content")
  71117. $name += "()";
  71118. oldInDependency = $async$self._async_evaluate$_inDependency;
  71119. $async$self._async_evaluate$_inDependency = callable.inDependency;
  71120. $async$goto = 4;
  71121. 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);
  71122. case 4:
  71123. // returning from await.
  71124. result = $async$result;
  71125. $async$self._async_evaluate$_inDependency = oldInDependency;
  71126. $async$returnValue = result;
  71127. // goto return
  71128. $async$goto = 1;
  71129. break;
  71130. case 1:
  71131. // return
  71132. return A._asyncReturn($async$returnValue, $async$completer);
  71133. }
  71134. });
  71135. return A._asyncStartSync($async$_async_evaluate$_runUserDefinedCallable$1$4, $async$completer);
  71136. },
  71137. _async_evaluate$_runFunctionCallable$3($arguments, callable, nodeWithSpan) {
  71138. return this._runFunctionCallable$body$_EvaluateVisitor($arguments, callable, nodeWithSpan);
  71139. },
  71140. _runFunctionCallable$body$_EvaluateVisitor($arguments, callable, nodeWithSpan) {
  71141. var $async$goto = 0,
  71142. $async$completer = A._makeAsyncAwaitCompleter(type$.Value),
  71143. $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;
  71144. var $async$_async_evaluate$_runFunctionCallable$3 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  71145. if ($async$errorCode === 1) {
  71146. $async$errorStack.push($async$result);
  71147. $async$goto = $async$handler;
  71148. }
  71149. while (true)
  71150. switch ($async$goto) {
  71151. case 0:
  71152. // Function start
  71153. $async$goto = type$.AsyncBuiltInCallable._is(callable) ? 3 : 5;
  71154. break;
  71155. case 3:
  71156. // then
  71157. $async$goto = 6;
  71158. return A._asyncAwait($async$self._async_evaluate$_runBuiltInCallable$3($arguments, callable, nodeWithSpan), $async$_async_evaluate$_runFunctionCallable$3);
  71159. case 6:
  71160. // returning from await.
  71161. $async$returnValue = $async$self._async_evaluate$_withoutSlash$2($async$result, nodeWithSpan);
  71162. // goto return
  71163. $async$goto = 1;
  71164. break;
  71165. // goto join
  71166. $async$goto = 4;
  71167. break;
  71168. case 5:
  71169. // else
  71170. $async$goto = type$.UserDefinedCallable_AsyncEnvironment._is(callable) ? 7 : 9;
  71171. break;
  71172. case 7:
  71173. // then
  71174. $async$goto = 10;
  71175. 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);
  71176. case 10:
  71177. // returning from await.
  71178. $async$returnValue = $async$result;
  71179. // goto return
  71180. $async$goto = 1;
  71181. break;
  71182. // goto join
  71183. $async$goto = 8;
  71184. break;
  71185. case 9:
  71186. // else
  71187. $async$goto = callable instanceof A.PlainCssCallable ? 11 : 13;
  71188. break;
  71189. case 11:
  71190. // then
  71191. t1 = $arguments.named;
  71192. if (t1.get$isNotEmpty(t1) || $arguments.keywordRest != null)
  71193. throw A.wrapException($async$self._async_evaluate$_exception$2(string$.Plain_, nodeWithSpan.get$span(nodeWithSpan)));
  71194. buffer = new A.StringBuffer(callable.name + "(");
  71195. $async$handler = 15;
  71196. first = true;
  71197. t1 = $arguments.positional, t2 = t1.length, _i = 0;
  71198. case 18:
  71199. // for condition
  71200. if (!(_i < t2)) {
  71201. // goto after for
  71202. $async$goto = 20;
  71203. break;
  71204. }
  71205. argument = t1[_i];
  71206. if (first)
  71207. first = false;
  71208. else
  71209. buffer._contents += ", ";
  71210. t3 = buffer;
  71211. $async$temp1 = A;
  71212. $async$goto = 21;
  71213. return A._asyncAwait($async$self._evaluateToCss$1(argument), $async$_async_evaluate$_runFunctionCallable$3);
  71214. case 21:
  71215. // returning from await.
  71216. t4 = $async$temp1.S($async$result);
  71217. t3._contents += t4;
  71218. case 19:
  71219. // for update
  71220. ++_i;
  71221. // goto for condition
  71222. $async$goto = 18;
  71223. break;
  71224. case 20:
  71225. // after for
  71226. restArg = $arguments.rest;
  71227. $async$goto = restArg != null ? 22 : 23;
  71228. break;
  71229. case 22:
  71230. // then
  71231. $async$goto = 24;
  71232. return A._asyncAwait(restArg.accept$1($async$self), $async$_async_evaluate$_runFunctionCallable$3);
  71233. case 24:
  71234. // returning from await.
  71235. rest = $async$result;
  71236. if (!first)
  71237. buffer._contents += ", ";
  71238. t1 = buffer;
  71239. t2 = $async$self._async_evaluate$_serialize$2(rest, restArg);
  71240. t1._contents += t2;
  71241. case 23:
  71242. // join
  71243. $async$handler = 2;
  71244. // goto after finally
  71245. $async$goto = 17;
  71246. break;
  71247. case 15:
  71248. // catch
  71249. $async$handler = 14;
  71250. $async$exception = $async$errorStack.pop();
  71251. t1 = A.unwrapException($async$exception);
  71252. if (type$.SassRuntimeException._is(t1)) {
  71253. error = t1;
  71254. if (!B.JSString_methods.endsWith$1(error._span_exception$_message, "isn't a valid CSS value."))
  71255. throw $async$exception;
  71256. 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));
  71257. } else
  71258. throw $async$exception;
  71259. // goto after finally
  71260. $async$goto = 17;
  71261. break;
  71262. case 14:
  71263. // uncaught
  71264. // goto rethrow
  71265. $async$goto = 2;
  71266. break;
  71267. case 17:
  71268. // after finally
  71269. t1 = buffer;
  71270. t2 = A.Primitives_stringFromCharCode(41);
  71271. t1._contents += t2;
  71272. t2 = buffer._contents;
  71273. $async$returnValue = new A.SassString(t2.charCodeAt(0) == 0 ? t2 : t2, false);
  71274. // goto return
  71275. $async$goto = 1;
  71276. break;
  71277. // goto join
  71278. $async$goto = 12;
  71279. break;
  71280. case 13:
  71281. // else
  71282. throw A.wrapException(A.ArgumentError$("Unknown callable type " + J.get$runtimeType$(callable).toString$0(0) + ".", null));
  71283. case 12:
  71284. // join
  71285. case 8:
  71286. // join
  71287. case 4:
  71288. // join
  71289. case 1:
  71290. // return
  71291. return A._asyncReturn($async$returnValue, $async$completer);
  71292. case 2:
  71293. // rethrow
  71294. return A._asyncRethrow($async$errorStack.at(-1), $async$completer);
  71295. }
  71296. });
  71297. return A._asyncStartSync($async$_async_evaluate$_runFunctionCallable$3, $async$completer);
  71298. },
  71299. _async_evaluate$_runBuiltInCallable$3($arguments, callable, nodeWithSpan) {
  71300. return this._runBuiltInCallable$body$_EvaluateVisitor($arguments, callable, nodeWithSpan);
  71301. },
  71302. _runBuiltInCallable$body$_EvaluateVisitor($arguments, callable, nodeWithSpan) {
  71303. var $async$goto = 0,
  71304. $async$completer = A._makeAsyncAwaitCompleter(type$.Value),
  71305. $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;
  71306. var $async$_async_evaluate$_runBuiltInCallable$3 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  71307. if ($async$errorCode === 1) {
  71308. $async$errorStack.push($async$result);
  71309. $async$goto = $async$handler;
  71310. }
  71311. while (true)
  71312. switch ($async$goto) {
  71313. case 0:
  71314. // Function start
  71315. _box_0 = {};
  71316. $async$goto = 3;
  71317. return A._asyncAwait($async$self._async_evaluate$_evaluateArguments$1($arguments), $async$_async_evaluate$_runBuiltInCallable$3);
  71318. case 3:
  71319. // returning from await.
  71320. evaluated = $async$result;
  71321. oldCallableNode = $async$self._async_evaluate$_callableNode;
  71322. $async$self._async_evaluate$_callableNode = nodeWithSpan;
  71323. namedSet = new A.MapKeySet(evaluated._values[0], type$.MapKeySet_String);
  71324. _box_0.callback = _box_0.overload = null;
  71325. _0_0 = callable.callbackFor$2(J.get$length$asx(evaluated._values[2]), namedSet);
  71326. _box_0.overload = _0_0._0;
  71327. _box_0.callback = _0_0._1;
  71328. $async$self._async_evaluate$_addExceptionSpan$2(nodeWithSpan, new A._EvaluateVisitor__runBuiltInCallable_closure2(_box_0, evaluated, namedSet));
  71329. parameters = _box_0.overload.parameters;
  71330. i = J.get$length$asx(evaluated._values[2]), t1 = parameters.length, t2 = type$._Future_Value, t3 = type$.Future_Value;
  71331. case 4:
  71332. // for condition
  71333. if (!(i < t1)) {
  71334. // goto after for
  71335. $async$goto = 6;
  71336. break;
  71337. }
  71338. parameter = parameters[i];
  71339. t4 = evaluated._values[2];
  71340. t5 = evaluated._values[0].remove$1(0, parameter.name);
  71341. $async$goto = t5 == null ? 7 : 8;
  71342. break;
  71343. case 7:
  71344. // then
  71345. t5 = parameter.defaultValue;
  71346. t6 = t5.accept$1($async$self);
  71347. if (!t3._is(t6)) {
  71348. t7 = new A._Future($.Zone__current, t2);
  71349. t7._state = 8;
  71350. t7._resultOrListeners = t6;
  71351. t6 = t7;
  71352. }
  71353. $async$goto = 9;
  71354. return A._asyncAwait(t6, $async$_async_evaluate$_runBuiltInCallable$3);
  71355. case 9:
  71356. // returning from await.
  71357. t5 = $async$self._async_evaluate$_withoutSlash$2($async$result, t5);
  71358. case 8:
  71359. // join
  71360. J.add$1$ax(t4, t5);
  71361. case 5:
  71362. // for update
  71363. ++i;
  71364. // goto for condition
  71365. $async$goto = 4;
  71366. break;
  71367. case 6:
  71368. // after for
  71369. if (_box_0.overload.restParameter != null) {
  71370. if (J.get$length$asx(evaluated._values[2]) > t1) {
  71371. rest = J.sublist$1$ax(evaluated._values[2], t1);
  71372. J.removeRange$2$ax(evaluated._values[2], t1, J.get$length$asx(evaluated._values[2]));
  71373. } else
  71374. rest = B.List_empty8;
  71375. t1 = evaluated._values[0];
  71376. argumentList = A.SassArgumentList$(rest, t1, evaluated._values[4] === B.ListSeparator_undecided_null_undecided ? B.ListSeparator_qVN : evaluated._values[4]);
  71377. J.add$1$ax(evaluated._values[2], argumentList);
  71378. } else
  71379. argumentList = null;
  71380. result = null;
  71381. $async$handler = 11;
  71382. $async$goto = 14;
  71383. return A._asyncAwait($async$self._addExceptionSpanAsync$1$2(nodeWithSpan, new A._EvaluateVisitor__runBuiltInCallable_closure3(_box_0, evaluated), type$.Value), $async$_async_evaluate$_runBuiltInCallable$3);
  71384. case 14:
  71385. // returning from await.
  71386. result = $async$result;
  71387. $async$handler = 2;
  71388. // goto after finally
  71389. $async$goto = 13;
  71390. break;
  71391. case 11:
  71392. // catch
  71393. $async$handler = 10;
  71394. $async$exception = $async$errorStack.pop();
  71395. t1 = A.unwrapException($async$exception);
  71396. if (t1 instanceof A.SassException)
  71397. throw $async$exception;
  71398. else {
  71399. error = t1;
  71400. stackTrace = A.getTraceFromException($async$exception);
  71401. A.throwWithTrace($async$self._async_evaluate$_exception$2($async$self._async_evaluate$_getErrorMessage$1(error), nodeWithSpan.get$span(nodeWithSpan)), error, stackTrace);
  71402. }
  71403. // goto after finally
  71404. $async$goto = 13;
  71405. break;
  71406. case 10:
  71407. // uncaught
  71408. // goto rethrow
  71409. $async$goto = 2;
  71410. break;
  71411. case 13:
  71412. // after finally
  71413. $async$self._async_evaluate$_callableNode = oldCallableNode;
  71414. if (argumentList == null) {
  71415. $async$returnValue = result;
  71416. // goto return
  71417. $async$goto = 1;
  71418. break;
  71419. }
  71420. t1 = evaluated._values[0];
  71421. if (t1.get$isEmpty(t1)) {
  71422. $async$returnValue = result;
  71423. // goto return
  71424. $async$goto = 1;
  71425. break;
  71426. }
  71427. if (argumentList._wereKeywordsAccessed) {
  71428. $async$returnValue = result;
  71429. // goto return
  71430. $async$goto = 1;
  71431. break;
  71432. }
  71433. t1 = evaluated._values[0];
  71434. t1 = A.pluralize("parameter", J.get$length$asx(t1.get$keys(t1)), null);
  71435. t2 = evaluated._values[0];
  71436. 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));
  71437. case 1:
  71438. // return
  71439. return A._asyncReturn($async$returnValue, $async$completer);
  71440. case 2:
  71441. // rethrow
  71442. return A._asyncRethrow($async$errorStack.at(-1), $async$completer);
  71443. }
  71444. });
  71445. return A._asyncStartSync($async$_async_evaluate$_runBuiltInCallable$3, $async$completer);
  71446. },
  71447. _async_evaluate$_evaluateArguments$1($arguments) {
  71448. return this._evaluateArguments$body$_EvaluateVisitor($arguments);
  71449. },
  71450. _evaluateArguments$body$_EvaluateVisitor($arguments) {
  71451. var $async$goto = 0,
  71452. $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),
  71453. $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;
  71454. var $async$_async_evaluate$_evaluateArguments$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  71455. if ($async$errorCode === 1)
  71456. return A._asyncRethrow($async$result, $async$completer);
  71457. while (true)
  71458. switch ($async$goto) {
  71459. case 0:
  71460. // Function start
  71461. positional = A._setArrayType([], type$.JSArray_Value);
  71462. positionalNodes = A._setArrayType([], type$.JSArray_AstNode);
  71463. t1 = $arguments.positional, t2 = t1.length, t3 = type$._Future_Value, t4 = type$.Future_Value, _i = 0;
  71464. case 3:
  71465. // for condition
  71466. if (!(_i < t2)) {
  71467. // goto after for
  71468. $async$goto = 5;
  71469. break;
  71470. }
  71471. expression = t1[_i];
  71472. nodeForSpan = $async$self._async_evaluate$_expressionNode$1(expression);
  71473. t5 = expression.accept$1($async$self);
  71474. if (!t4._is(t5)) {
  71475. t6 = new A._Future($.Zone__current, t3);
  71476. t6._state = 8;
  71477. t6._resultOrListeners = t5;
  71478. t5 = t6;
  71479. }
  71480. $async$temp1 = positional;
  71481. $async$goto = 6;
  71482. return A._asyncAwait(t5, $async$_async_evaluate$_evaluateArguments$1);
  71483. case 6:
  71484. // returning from await.
  71485. $async$temp1.push($async$self._async_evaluate$_withoutSlash$2($async$result, nodeForSpan));
  71486. positionalNodes.push(nodeForSpan);
  71487. case 4:
  71488. // for update
  71489. ++_i;
  71490. // goto for condition
  71491. $async$goto = 3;
  71492. break;
  71493. case 5:
  71494. // after for
  71495. t1 = type$.String;
  71496. named = A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.Value);
  71497. t2 = type$.AstNode;
  71498. namedNodes = A.LinkedHashMap_LinkedHashMap$_empty(t1, t2);
  71499. t5 = A.MapExtensions_get_pairs($arguments.named, t1, type$.Expression), t5 = t5.get$iterator(t5);
  71500. case 7:
  71501. // for condition
  71502. if (!t5.moveNext$0()) {
  71503. // goto after for
  71504. $async$goto = 8;
  71505. break;
  71506. }
  71507. t6 = t5.get$current(t5);
  71508. $name = t6._0;
  71509. value = t6._1;
  71510. nodeForSpan = $async$self._async_evaluate$_expressionNode$1(value);
  71511. t6 = value.accept$1($async$self);
  71512. if (!t4._is(t6)) {
  71513. t7 = new A._Future($.Zone__current, t3);
  71514. t7._state = 8;
  71515. t7._resultOrListeners = t6;
  71516. t6 = t7;
  71517. }
  71518. $async$temp1 = named;
  71519. $async$temp2 = $name;
  71520. $async$goto = 9;
  71521. return A._asyncAwait(t6, $async$_async_evaluate$_evaluateArguments$1);
  71522. case 9:
  71523. // returning from await.
  71524. $async$temp1.$indexSet(0, $async$temp2, $async$self._async_evaluate$_withoutSlash$2($async$result, nodeForSpan));
  71525. namedNodes.$indexSet(0, $name, nodeForSpan);
  71526. // goto for condition
  71527. $async$goto = 7;
  71528. break;
  71529. case 8:
  71530. // after for
  71531. restArgs = $arguments.rest;
  71532. if (restArgs == null) {
  71533. $async$returnValue = new A._Record_5_named_namedNodes_positional_positionalNodes_separator([named, namedNodes, positional, positionalNodes, B.ListSeparator_undecided_null_undecided]);
  71534. // goto return
  71535. $async$goto = 1;
  71536. break;
  71537. }
  71538. $async$goto = 10;
  71539. return A._asyncAwait(restArgs.accept$1($async$self), $async$_async_evaluate$_evaluateArguments$1);
  71540. case 10:
  71541. // returning from await.
  71542. rest = $async$result;
  71543. restNodeForSpan = $async$self._async_evaluate$_expressionNode$1(restArgs);
  71544. if (rest instanceof A.SassMap) {
  71545. $async$self._async_evaluate$_addRestMap$4(named, rest, restArgs, new A._EvaluateVisitor__evaluateArguments_closure3());
  71546. t3 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t2);
  71547. for (t4 = rest._map$_contents, t4 = J.get$iterator$ax(t4.get$keys(t4)), t5 = type$.SassString; t4.moveNext$0();)
  71548. t3.$indexSet(0, t5._as(t4.get$current(t4))._string$_text, restNodeForSpan);
  71549. namedNodes.addAll$1(0, t3);
  71550. separator = B.ListSeparator_undecided_null_undecided;
  71551. } else if (rest instanceof A.SassList) {
  71552. t3 = rest._list$_contents;
  71553. 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>")));
  71554. B.JSArray_methods.addAll$1(positionalNodes, A.List_List$filled(t3.length, restNodeForSpan, false, t2));
  71555. separator = rest._separator;
  71556. if (rest instanceof A.SassArgumentList) {
  71557. rest._wereKeywordsAccessed = true;
  71558. rest._keywords.forEach$1(0, new A._EvaluateVisitor__evaluateArguments_closure5($async$self, named, restNodeForSpan, namedNodes));
  71559. }
  71560. } else {
  71561. positional.push($async$self._async_evaluate$_withoutSlash$2(rest, restNodeForSpan));
  71562. positionalNodes.push(restNodeForSpan);
  71563. separator = B.ListSeparator_undecided_null_undecided;
  71564. }
  71565. keywordRestArgs = $arguments.keywordRest;
  71566. if (keywordRestArgs == null) {
  71567. $async$returnValue = new A._Record_5_named_namedNodes_positional_positionalNodes_separator([named, namedNodes, positional, positionalNodes, separator]);
  71568. // goto return
  71569. $async$goto = 1;
  71570. break;
  71571. }
  71572. $async$goto = 11;
  71573. return A._asyncAwait(keywordRestArgs.accept$1($async$self), $async$_async_evaluate$_evaluateArguments$1);
  71574. case 11:
  71575. // returning from await.
  71576. keywordRest = $async$result;
  71577. keywordRestNodeForSpan = $async$self._async_evaluate$_expressionNode$1(keywordRestArgs);
  71578. if (keywordRest instanceof A.SassMap) {
  71579. $async$self._async_evaluate$_addRestMap$4(named, keywordRest, keywordRestArgs, new A._EvaluateVisitor__evaluateArguments_closure6());
  71580. t1 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t2);
  71581. for (t2 = keywordRest._map$_contents, t2 = J.get$iterator$ax(t2.get$keys(t2)), t3 = type$.SassString; t2.moveNext$0();)
  71582. t1.$indexSet(0, t3._as(t2.get$current(t2))._string$_text, keywordRestNodeForSpan);
  71583. namedNodes.addAll$1(0, t1);
  71584. $async$returnValue = new A._Record_5_named_namedNodes_positional_positionalNodes_separator([named, namedNodes, positional, positionalNodes, separator]);
  71585. // goto return
  71586. $async$goto = 1;
  71587. break;
  71588. } else
  71589. throw A.wrapException($async$self._async_evaluate$_exception$2(string$.Variabs + keywordRest.toString$0(0) + ").", keywordRestArgs.get$span(keywordRestArgs)));
  71590. case 1:
  71591. // return
  71592. return A._asyncReturn($async$returnValue, $async$completer);
  71593. }
  71594. });
  71595. return A._asyncStartSync($async$_async_evaluate$_evaluateArguments$1, $async$completer);
  71596. },
  71597. _async_evaluate$_evaluateMacroArguments$1(invocation) {
  71598. return this._evaluateMacroArguments$body$_EvaluateVisitor(invocation);
  71599. },
  71600. _evaluateMacroArguments$body$_EvaluateVisitor(invocation) {
  71601. var $async$goto = 0,
  71602. $async$completer = A._makeAsyncAwaitCompleter(type$.Record_2_List_Expression_and_Map_String_Expression),
  71603. $async$returnValue, $async$self = this, t2, positional, named, rest, restNodeForSpan, keywordRestArgs_, keywordRest, keywordRestNodeForSpan, t1, restArgs_;
  71604. var $async$_async_evaluate$_evaluateMacroArguments$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  71605. if ($async$errorCode === 1)
  71606. return A._asyncRethrow($async$result, $async$completer);
  71607. while (true)
  71608. switch ($async$goto) {
  71609. case 0:
  71610. // Function start
  71611. t1 = invocation.$arguments;
  71612. restArgs_ = t1.rest;
  71613. if (restArgs_ == null) {
  71614. $async$returnValue = new A._Record_2(t1.positional, t1.named);
  71615. // goto return
  71616. $async$goto = 1;
  71617. break;
  71618. }
  71619. t2 = t1.positional;
  71620. positional = A._setArrayType(t2.slice(0), A._arrayInstanceType(t2));
  71621. named = A.LinkedHashMap_LinkedHashMap$of(t1.named, type$.String, type$.Expression);
  71622. $async$goto = 3;
  71623. return A._asyncAwait(restArgs_.accept$1($async$self), $async$_async_evaluate$_evaluateMacroArguments$1);
  71624. case 3:
  71625. // returning from await.
  71626. rest = $async$result;
  71627. restNodeForSpan = $async$self._async_evaluate$_expressionNode$1(restArgs_);
  71628. if (rest instanceof A.SassMap)
  71629. $async$self._async_evaluate$_addRestMap$4(named, rest, invocation, new A._EvaluateVisitor__evaluateMacroArguments_closure3(restArgs_));
  71630. else if (rest instanceof A.SassList) {
  71631. t2 = rest._list$_contents;
  71632. 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>")));
  71633. if (rest instanceof A.SassArgumentList) {
  71634. rest._wereKeywordsAccessed = true;
  71635. rest._keywords.forEach$1(0, new A._EvaluateVisitor__evaluateMacroArguments_closure5($async$self, named, restNodeForSpan, restArgs_));
  71636. }
  71637. } else
  71638. positional.push(new A.ValueExpression($async$self._async_evaluate$_withoutSlash$2(rest, restNodeForSpan), restArgs_.get$span(restArgs_)));
  71639. keywordRestArgs_ = t1.keywordRest;
  71640. if (keywordRestArgs_ == null) {
  71641. $async$returnValue = new A._Record_2(positional, named);
  71642. // goto return
  71643. $async$goto = 1;
  71644. break;
  71645. }
  71646. $async$goto = 4;
  71647. return A._asyncAwait(keywordRestArgs_.accept$1($async$self), $async$_async_evaluate$_evaluateMacroArguments$1);
  71648. case 4:
  71649. // returning from await.
  71650. keywordRest = $async$result;
  71651. keywordRestNodeForSpan = $async$self._async_evaluate$_expressionNode$1(keywordRestArgs_);
  71652. if (keywordRest instanceof A.SassMap) {
  71653. $async$self._async_evaluate$_addRestMap$4(named, keywordRest, invocation, new A._EvaluateVisitor__evaluateMacroArguments_closure6($async$self, keywordRestNodeForSpan, keywordRestArgs_));
  71654. $async$returnValue = new A._Record_2(positional, named);
  71655. // goto return
  71656. $async$goto = 1;
  71657. break;
  71658. } else
  71659. throw A.wrapException($async$self._async_evaluate$_exception$2(string$.Variabs + keywordRest.toString$0(0) + ").", keywordRestArgs_.get$span(keywordRestArgs_)));
  71660. case 1:
  71661. // return
  71662. return A._asyncReturn($async$returnValue, $async$completer);
  71663. }
  71664. });
  71665. return A._asyncStartSync($async$_async_evaluate$_evaluateMacroArguments$1, $async$completer);
  71666. },
  71667. _async_evaluate$_addRestMap$1$4(values, map, nodeWithSpan, convert) {
  71668. map._map$_contents.forEach$1(0, new A._EvaluateVisitor__addRestMap_closure0(this, values, convert, this._async_evaluate$_expressionNode$1(nodeWithSpan), map, nodeWithSpan));
  71669. },
  71670. _async_evaluate$_addRestMap$4(values, map, nodeWithSpan, convert) {
  71671. convert.toString;
  71672. return this._async_evaluate$_addRestMap$1$4(values, map, nodeWithSpan, convert, type$.dynamic);
  71673. },
  71674. _async_evaluate$_verifyArguments$4(positional, named, parameters, nodeWithSpan) {
  71675. return this._async_evaluate$_addExceptionSpan$2(nodeWithSpan, new A._EvaluateVisitor__verifyArguments_closure0(parameters, positional, named));
  71676. },
  71677. visitSelectorExpression$1(_, node) {
  71678. return this.visitSelectorExpression$body$_EvaluateVisitor(0, node);
  71679. },
  71680. visitSelectorExpression$body$_EvaluateVisitor(_, node) {
  71681. var $async$goto = 0,
  71682. $async$completer = A._makeAsyncAwaitCompleter(type$.Value),
  71683. $async$returnValue, $async$self = this, t1;
  71684. var $async$visitSelectorExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  71685. if ($async$errorCode === 1)
  71686. return A._asyncRethrow($async$result, $async$completer);
  71687. while (true)
  71688. switch ($async$goto) {
  71689. case 0:
  71690. // Function start
  71691. t1 = $async$self._async_evaluate$_styleRuleIgnoringAtRoot;
  71692. t1 = t1 == null ? null : t1.originalSelector.get$asSassList();
  71693. $async$returnValue = t1 == null ? B.C__SassNull : t1;
  71694. // goto return
  71695. $async$goto = 1;
  71696. break;
  71697. case 1:
  71698. // return
  71699. return A._asyncReturn($async$returnValue, $async$completer);
  71700. }
  71701. });
  71702. return A._asyncStartSync($async$visitSelectorExpression$1, $async$completer);
  71703. },
  71704. visitStringExpression$1(_, node) {
  71705. return this.visitStringExpression$body$_EvaluateVisitor(0, node);
  71706. },
  71707. visitStringExpression$body$_EvaluateVisitor(_, node) {
  71708. var $async$goto = 0,
  71709. $async$completer = A._makeAsyncAwaitCompleter(type$.SassString),
  71710. $async$returnValue, $async$self = this, t1, t2, t3, _i, value, t4, _0_0, text, oldInSupportsDeclaration;
  71711. var $async$visitStringExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  71712. if ($async$errorCode === 1)
  71713. return A._asyncRethrow($async$result, $async$completer);
  71714. while (true)
  71715. switch ($async$goto) {
  71716. case 0:
  71717. // Function start
  71718. oldInSupportsDeclaration = $async$self._async_evaluate$_inSupportsDeclaration;
  71719. $async$self._async_evaluate$_inSupportsDeclaration = false;
  71720. t1 = A._setArrayType([], type$.JSArray_String);
  71721. t2 = node.text.contents, t3 = t2.length, _i = 0;
  71722. case 3:
  71723. // for condition
  71724. if (!(_i < t3)) {
  71725. // goto after for
  71726. $async$goto = 5;
  71727. break;
  71728. }
  71729. value = t2[_i];
  71730. if (typeof value == "string") {
  71731. t4 = value;
  71732. // goto break $label0$0
  71733. $async$goto = 6;
  71734. break;
  71735. }
  71736. $async$goto = value instanceof A.Expression ? 7 : 8;
  71737. break;
  71738. case 7:
  71739. // then
  71740. $async$goto = 9;
  71741. return A._asyncAwait(value.accept$1($async$self), $async$visitStringExpression$1);
  71742. case 9:
  71743. // returning from await.
  71744. _0_0 = $async$result;
  71745. $label1$1: {
  71746. if (_0_0 instanceof A.SassString) {
  71747. text = _0_0._string$_text;
  71748. t4 = text;
  71749. break $label1$1;
  71750. }
  71751. t4 = $async$self._async_evaluate$_serialize$3$quote(_0_0, value, false);
  71752. break $label1$1;
  71753. }
  71754. // goto break $label0$0
  71755. $async$goto = 6;
  71756. break;
  71757. case 8:
  71758. // join
  71759. t4 = A.throwExpression(A.UnsupportedError$("Unknown interpolation value " + A.S(value)));
  71760. case 6:
  71761. // break $label0$0
  71762. t1.push(t4);
  71763. case 4:
  71764. // for update
  71765. ++_i;
  71766. // goto for condition
  71767. $async$goto = 3;
  71768. break;
  71769. case 5:
  71770. // after for
  71771. t1 = B.JSArray_methods.join$0(t1);
  71772. $async$self._async_evaluate$_inSupportsDeclaration = oldInSupportsDeclaration;
  71773. $async$returnValue = new A.SassString(t1, node.hasQuotes);
  71774. // goto return
  71775. $async$goto = 1;
  71776. break;
  71777. case 1:
  71778. // return
  71779. return A._asyncReturn($async$returnValue, $async$completer);
  71780. }
  71781. });
  71782. return A._asyncStartSync($async$visitStringExpression$1, $async$completer);
  71783. },
  71784. visitSupportsExpression$1(_, expression) {
  71785. return this.visitSupportsExpression$body$_EvaluateVisitor(0, expression);
  71786. },
  71787. visitSupportsExpression$body$_EvaluateVisitor(_, expression) {
  71788. var $async$goto = 0,
  71789. $async$completer = A._makeAsyncAwaitCompleter(type$.SassString),
  71790. $async$returnValue, $async$self = this, $async$temp1;
  71791. var $async$visitSupportsExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  71792. if ($async$errorCode === 1)
  71793. return A._asyncRethrow($async$result, $async$completer);
  71794. while (true)
  71795. switch ($async$goto) {
  71796. case 0:
  71797. // Function start
  71798. $async$temp1 = A;
  71799. $async$goto = 3;
  71800. return A._asyncAwait($async$self._async_evaluate$_visitSupportsCondition$1(expression.condition), $async$visitSupportsExpression$1);
  71801. case 3:
  71802. // returning from await.
  71803. $async$returnValue = new $async$temp1.SassString($async$result, false);
  71804. // goto return
  71805. $async$goto = 1;
  71806. break;
  71807. case 1:
  71808. // return
  71809. return A._asyncReturn($async$returnValue, $async$completer);
  71810. }
  71811. });
  71812. return A._asyncStartSync($async$visitSupportsExpression$1, $async$completer);
  71813. },
  71814. visitCssAtRule$1(node) {
  71815. return this.visitCssAtRule$body$_EvaluateVisitor(node);
  71816. },
  71817. visitCssAtRule$body$_EvaluateVisitor(node) {
  71818. var $async$goto = 0,
  71819. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  71820. $async$returnValue, $async$self = this, wasInKeyframes, wasInUnknownAtRule, t1;
  71821. var $async$visitCssAtRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  71822. if ($async$errorCode === 1)
  71823. return A._asyncRethrow($async$result, $async$completer);
  71824. while (true)
  71825. switch ($async$goto) {
  71826. case 0:
  71827. // Function start
  71828. if ($async$self._async_evaluate$_declarationName != null)
  71829. throw A.wrapException($async$self._async_evaluate$_exception$2(string$.At_rul, node.span));
  71830. if (node.isChildless) {
  71831. $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__parent, "__parent").addChild$1(A.ModifiableCssAtRule$(node.name, node.span, true, node.value));
  71832. // goto return
  71833. $async$goto = 1;
  71834. break;
  71835. }
  71836. wasInKeyframes = $async$self._async_evaluate$_inKeyframes;
  71837. wasInUnknownAtRule = $async$self._async_evaluate$_inUnknownAtRule;
  71838. t1 = node.name;
  71839. if (A.unvendor(t1.value) === "keyframes")
  71840. $async$self._async_evaluate$_inKeyframes = true;
  71841. else
  71842. $async$self._async_evaluate$_inUnknownAtRule = true;
  71843. $async$goto = 3;
  71844. 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);
  71845. case 3:
  71846. // returning from await.
  71847. $async$self._async_evaluate$_inUnknownAtRule = wasInUnknownAtRule;
  71848. $async$self._async_evaluate$_inKeyframes = wasInKeyframes;
  71849. case 1:
  71850. // return
  71851. return A._asyncReturn($async$returnValue, $async$completer);
  71852. }
  71853. });
  71854. return A._asyncStartSync($async$visitCssAtRule$1, $async$completer);
  71855. },
  71856. visitCssComment$1(node) {
  71857. return this.visitCssComment$body$_EvaluateVisitor(node);
  71858. },
  71859. visitCssComment$body$_EvaluateVisitor(node) {
  71860. var $async$goto = 0,
  71861. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  71862. $async$self = this;
  71863. var $async$visitCssComment$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  71864. if ($async$errorCode === 1)
  71865. return A._asyncRethrow($async$result, $async$completer);
  71866. while (true)
  71867. switch ($async$goto) {
  71868. case 0:
  71869. // Function start
  71870. 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))
  71871. $async$self._async_evaluate$__endOfImports = $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__endOfImports, "_endOfImports") + 1;
  71872. $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__parent, "__parent").addChild$1(new A.ModifiableCssComment(node.text, node.span));
  71873. // implicit return
  71874. return A._asyncReturn(null, $async$completer);
  71875. }
  71876. });
  71877. return A._asyncStartSync($async$visitCssComment$1, $async$completer);
  71878. },
  71879. visitCssDeclaration$1(node) {
  71880. return this.visitCssDeclaration$body$_EvaluateVisitor(node);
  71881. },
  71882. visitCssDeclaration$body$_EvaluateVisitor(node) {
  71883. var $async$goto = 0,
  71884. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  71885. $async$self = this;
  71886. var $async$visitCssDeclaration$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  71887. if ($async$errorCode === 1)
  71888. return A._asyncRethrow($async$result, $async$completer);
  71889. while (true)
  71890. switch ($async$goto) {
  71891. case 0:
  71892. // Function start
  71893. $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));
  71894. // implicit return
  71895. return A._asyncReturn(null, $async$completer);
  71896. }
  71897. });
  71898. return A._asyncStartSync($async$visitCssDeclaration$1, $async$completer);
  71899. },
  71900. visitCssImport$1(node) {
  71901. return this.visitCssImport$body$_EvaluateVisitor(node);
  71902. },
  71903. visitCssImport$body$_EvaluateVisitor(node) {
  71904. var $async$goto = 0,
  71905. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  71906. $async$self = this, t1, modifiableNode;
  71907. var $async$visitCssImport$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  71908. if ($async$errorCode === 1)
  71909. return A._asyncRethrow($async$result, $async$completer);
  71910. while (true)
  71911. switch ($async$goto) {
  71912. case 0:
  71913. // Function start
  71914. modifiableNode = new A.ModifiableCssImport(node.url, node.modifiers, node.span);
  71915. 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"))
  71916. $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__parent, "__parent").addChild$1(modifiableNode);
  71917. 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)) {
  71918. $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__root, "_root").addChild$1(modifiableNode);
  71919. $async$self._async_evaluate$__endOfImports = $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__endOfImports, "_endOfImports") + 1;
  71920. } else {
  71921. t1 = $async$self._async_evaluate$_outOfOrderImports;
  71922. (t1 == null ? $async$self._async_evaluate$_outOfOrderImports = A._setArrayType([], type$.JSArray_ModifiableCssImport) : t1).push(modifiableNode);
  71923. }
  71924. // implicit return
  71925. return A._asyncReturn(null, $async$completer);
  71926. }
  71927. });
  71928. return A._asyncStartSync($async$visitCssImport$1, $async$completer);
  71929. },
  71930. visitCssKeyframeBlock$1(node) {
  71931. return this.visitCssKeyframeBlock$body$_EvaluateVisitor(node);
  71932. },
  71933. visitCssKeyframeBlock$body$_EvaluateVisitor(node) {
  71934. var $async$goto = 0,
  71935. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  71936. $async$self = this;
  71937. var $async$visitCssKeyframeBlock$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  71938. if ($async$errorCode === 1)
  71939. return A._asyncRethrow($async$result, $async$completer);
  71940. while (true)
  71941. switch ($async$goto) {
  71942. case 0:
  71943. // Function start
  71944. $async$goto = 2;
  71945. 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);
  71946. case 2:
  71947. // returning from await.
  71948. // implicit return
  71949. return A._asyncReturn(null, $async$completer);
  71950. }
  71951. });
  71952. return A._asyncStartSync($async$visitCssKeyframeBlock$1, $async$completer);
  71953. },
  71954. visitCssMediaRule$1(node) {
  71955. return this.visitCssMediaRule$body$_EvaluateVisitor(node);
  71956. },
  71957. visitCssMediaRule$body$_EvaluateVisitor(node) {
  71958. var $async$goto = 0,
  71959. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  71960. $async$returnValue, $async$self = this, mergedQueries, t1, mergedSources, t2, t3;
  71961. var $async$visitCssMediaRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  71962. if ($async$errorCode === 1)
  71963. return A._asyncRethrow($async$result, $async$completer);
  71964. while (true)
  71965. switch ($async$goto) {
  71966. case 0:
  71967. // Function start
  71968. if ($async$self._async_evaluate$_declarationName != null)
  71969. throw A.wrapException($async$self._async_evaluate$_exception$2(string$.Media_, node.span));
  71970. mergedQueries = A.NullableExtension_andThen($async$self._async_evaluate$_mediaQueries, new A._EvaluateVisitor_visitCssMediaRule_closure2($async$self, node));
  71971. t1 = mergedQueries == null;
  71972. if (!t1 && J.get$isEmpty$asx(mergedQueries)) {
  71973. // goto return
  71974. $async$goto = 1;
  71975. break;
  71976. }
  71977. if (t1)
  71978. mergedSources = B.Set_empty2;
  71979. else {
  71980. t2 = $async$self._async_evaluate$_mediaQuerySources;
  71981. t2.toString;
  71982. t2 = A.LinkedHashSet_LinkedHashSet$of(t2, type$.CssMediaQuery);
  71983. t3 = $async$self._async_evaluate$_mediaQueries;
  71984. t3.toString;
  71985. t2.addAll$1(0, t3);
  71986. t2.addAll$1(0, node.queries);
  71987. mergedSources = t2;
  71988. }
  71989. t1 = t1 ? node.queries : mergedQueries;
  71990. $async$goto = 3;
  71991. 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);
  71992. case 3:
  71993. // returning from await.
  71994. case 1:
  71995. // return
  71996. return A._asyncReturn($async$returnValue, $async$completer);
  71997. }
  71998. });
  71999. return A._asyncStartSync($async$visitCssMediaRule$1, $async$completer);
  72000. },
  72001. visitCssStyleRule$1(node) {
  72002. return this.visitCssStyleRule$body$_EvaluateVisitor(node);
  72003. },
  72004. visitCssStyleRule$body$_EvaluateVisitor(node) {
  72005. var $async$goto = 0,
  72006. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  72007. $async$self = this, t1, styleRule, _0_0, t2, t3, originalSelector, rule, oldAtRootExcludingStyleRule, _1_1, lastChild;
  72008. var $async$visitCssStyleRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  72009. if ($async$errorCode === 1)
  72010. return A._asyncRethrow($async$result, $async$completer);
  72011. while (true)
  72012. switch ($async$goto) {
  72013. case 0:
  72014. // Function start
  72015. if ($async$self._async_evaluate$_declarationName != null)
  72016. throw A.wrapException($async$self._async_evaluate$_exception$2(string$.Style_n, node.span));
  72017. else if ($async$self._async_evaluate$_inKeyframes && $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__parent, "__parent") instanceof A.ModifiableCssKeyframeBlock)
  72018. throw A.wrapException($async$self._async_evaluate$_exception$2(string$.Style_k, node.span));
  72019. t1 = $async$self._async_evaluate$_atRootExcludingStyleRule;
  72020. styleRule = t1 ? null : $async$self._async_evaluate$_styleRuleIgnoringAtRoot;
  72021. _0_0 = t1 ? null : $async$self._async_evaluate$_styleRuleIgnoringAtRoot;
  72022. $label0$0: {
  72023. if (_0_0 == null) {
  72024. t1 = true;
  72025. break $label0$0;
  72026. }
  72027. if (_0_0.fromPlainCss) {
  72028. t1 = false;
  72029. break $label0$0;
  72030. }
  72031. t1 = !(node.fromPlainCss && node._style_rule$_selector._box$_inner.value.accept$1(B.C__ContainsParentSelectorVisitor));
  72032. break $label0$0;
  72033. }
  72034. t2 = node._style_rule$_selector._box$_inner;
  72035. if (t1) {
  72036. t2 = t2.value;
  72037. t3 = styleRule == null ? null : styleRule.originalSelector;
  72038. originalSelector = t2.nestWithin$3$implicitParent$preserveParentSelectors(t3, !$async$self._async_evaluate$_atRootExcludingStyleRule, node.fromPlainCss);
  72039. } else
  72040. originalSelector = t2.value;
  72041. 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);
  72042. oldAtRootExcludingStyleRule = $async$self._async_evaluate$_atRootExcludingStyleRule;
  72043. $async$self._async_evaluate$_atRootExcludingStyleRule = false;
  72044. t1 = t1 ? new A._EvaluateVisitor_visitCssStyleRule_closure1() : null;
  72045. $async$goto = 2;
  72046. 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);
  72047. case 2:
  72048. // returning from await.
  72049. $async$self._async_evaluate$_atRootExcludingStyleRule = oldAtRootExcludingStyleRule;
  72050. t1 = $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__parent, "__parent").children._collection$_source;
  72051. t2 = J.getInterceptor$asx(t1);
  72052. _1_1 = t2.get$length(t1);
  72053. if (_1_1 >= 1) {
  72054. lastChild = t2.elementAt$1(t1, _1_1 - 1);
  72055. t1 = styleRule == null;
  72056. } else {
  72057. lastChild = null;
  72058. t1 = false;
  72059. }
  72060. if (t1)
  72061. lastChild.isGroupEnd = true;
  72062. // implicit return
  72063. return A._asyncReturn(null, $async$completer);
  72064. }
  72065. });
  72066. return A._asyncStartSync($async$visitCssStyleRule$1, $async$completer);
  72067. },
  72068. visitCssStylesheet$1(node) {
  72069. return this.visitCssStylesheet$body$_EvaluateVisitor(node);
  72070. },
  72071. visitCssStylesheet$body$_EvaluateVisitor(node) {
  72072. var $async$goto = 0,
  72073. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  72074. $async$self = this, t1;
  72075. var $async$visitCssStylesheet$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  72076. if ($async$errorCode === 1)
  72077. return A._asyncRethrow($async$result, $async$completer);
  72078. while (true)
  72079. switch ($async$goto) {
  72080. case 0:
  72081. // Function start
  72082. t1 = J.get$iterator$ax(node.get$children(node));
  72083. case 2:
  72084. // for condition
  72085. if (!t1.moveNext$0()) {
  72086. // goto after for
  72087. $async$goto = 3;
  72088. break;
  72089. }
  72090. $async$goto = 4;
  72091. return A._asyncAwait(t1.get$current(t1).accept$1($async$self), $async$visitCssStylesheet$1);
  72092. case 4:
  72093. // returning from await.
  72094. // goto for condition
  72095. $async$goto = 2;
  72096. break;
  72097. case 3:
  72098. // after for
  72099. // implicit return
  72100. return A._asyncReturn(null, $async$completer);
  72101. }
  72102. });
  72103. return A._asyncStartSync($async$visitCssStylesheet$1, $async$completer);
  72104. },
  72105. visitCssSupportsRule$1(node) {
  72106. return this.visitCssSupportsRule$body$_EvaluateVisitor(node);
  72107. },
  72108. visitCssSupportsRule$body$_EvaluateVisitor(node) {
  72109. var $async$goto = 0,
  72110. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  72111. $async$self = this;
  72112. var $async$visitCssSupportsRule$1 = 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. if ($async$self._async_evaluate$_declarationName != null)
  72120. throw A.wrapException($async$self._async_evaluate$_exception$2(string$.Suppor, node.span));
  72121. $async$goto = 2;
  72122. 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);
  72123. case 2:
  72124. // returning from await.
  72125. // implicit return
  72126. return A._asyncReturn(null, $async$completer);
  72127. }
  72128. });
  72129. return A._asyncStartSync($async$visitCssSupportsRule$1, $async$completer);
  72130. },
  72131. _async_evaluate$_handleReturn$1$2(list, callback) {
  72132. return this._handleReturn$body$_EvaluateVisitor(list, callback);
  72133. },
  72134. _async_evaluate$_handleReturn$2(list, callback) {
  72135. callback.toString;
  72136. return this._async_evaluate$_handleReturn$1$2(list, callback, type$.dynamic);
  72137. },
  72138. _handleReturn$body$_EvaluateVisitor(list, callback) {
  72139. var $async$goto = 0,
  72140. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
  72141. $async$returnValue, t1, _i, _0_0;
  72142. var $async$_async_evaluate$_handleReturn$1$2 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  72143. if ($async$errorCode === 1)
  72144. return A._asyncRethrow($async$result, $async$completer);
  72145. while (true)
  72146. switch ($async$goto) {
  72147. case 0:
  72148. // Function start
  72149. t1 = list.length, _i = 0;
  72150. case 3:
  72151. // for condition
  72152. if (!(_i < list.length)) {
  72153. // goto after for
  72154. $async$goto = 5;
  72155. break;
  72156. }
  72157. $async$goto = 6;
  72158. return A._asyncAwait(callback.call$1(list[_i]), $async$_async_evaluate$_handleReturn$1$2);
  72159. case 6:
  72160. // returning from await.
  72161. _0_0 = $async$result;
  72162. if (_0_0 != null) {
  72163. $async$returnValue = _0_0;
  72164. // goto return
  72165. $async$goto = 1;
  72166. break;
  72167. }
  72168. case 4:
  72169. // for update
  72170. list.length === t1 || (0, A.throwConcurrentModificationError)(list), ++_i;
  72171. // goto for condition
  72172. $async$goto = 3;
  72173. break;
  72174. case 5:
  72175. // after for
  72176. $async$returnValue = null;
  72177. // goto return
  72178. $async$goto = 1;
  72179. break;
  72180. case 1:
  72181. // return
  72182. return A._asyncReturn($async$returnValue, $async$completer);
  72183. }
  72184. });
  72185. return A._asyncStartSync($async$_async_evaluate$_handleReturn$1$2, $async$completer);
  72186. },
  72187. _async_evaluate$_withEnvironment$1$2(environment, callback, $T) {
  72188. return this._withEnvironment$body$_EvaluateVisitor(environment, callback, $T, $T);
  72189. },
  72190. _withEnvironment$body$_EvaluateVisitor(environment, callback, $T, $async$type) {
  72191. var $async$goto = 0,
  72192. $async$completer = A._makeAsyncAwaitCompleter($async$type),
  72193. $async$returnValue, $async$self = this, result, oldEnvironment;
  72194. var $async$_async_evaluate$_withEnvironment$1$2 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  72195. if ($async$errorCode === 1)
  72196. return A._asyncRethrow($async$result, $async$completer);
  72197. while (true)
  72198. switch ($async$goto) {
  72199. case 0:
  72200. // Function start
  72201. oldEnvironment = $async$self._async_evaluate$_environment;
  72202. $async$self._async_evaluate$_environment = environment;
  72203. $async$goto = 3;
  72204. return A._asyncAwait(callback.call$0(), $async$_async_evaluate$_withEnvironment$1$2);
  72205. case 3:
  72206. // returning from await.
  72207. result = $async$result;
  72208. $async$self._async_evaluate$_environment = oldEnvironment;
  72209. $async$returnValue = result;
  72210. // goto return
  72211. $async$goto = 1;
  72212. break;
  72213. case 1:
  72214. // return
  72215. return A._asyncReturn($async$returnValue, $async$completer);
  72216. }
  72217. });
  72218. return A._asyncStartSync($async$_async_evaluate$_withEnvironment$1$2, $async$completer);
  72219. },
  72220. _async_evaluate$_interpolationToValue$3$trim$warnForColor(interpolation, trim, warnForColor) {
  72221. return this._interpolationToValue$body$_EvaluateVisitor(interpolation, trim, warnForColor);
  72222. },
  72223. _async_evaluate$_interpolationToValue$1(interpolation) {
  72224. return this._async_evaluate$_interpolationToValue$3$trim$warnForColor(interpolation, false, false);
  72225. },
  72226. _async_evaluate$_interpolationToValue$2$warnForColor(interpolation, warnForColor) {
  72227. return this._async_evaluate$_interpolationToValue$3$trim$warnForColor(interpolation, false, warnForColor);
  72228. },
  72229. _interpolationToValue$body$_EvaluateVisitor(interpolation, trim, warnForColor) {
  72230. var $async$goto = 0,
  72231. $async$completer = A._makeAsyncAwaitCompleter(type$.CssValue_String),
  72232. $async$returnValue, $async$self = this, result, t1;
  72233. var $async$_async_evaluate$_interpolationToValue$3$trim$warnForColor = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  72234. if ($async$errorCode === 1)
  72235. return A._asyncRethrow($async$result, $async$completer);
  72236. while (true)
  72237. switch ($async$goto) {
  72238. case 0:
  72239. // Function start
  72240. $async$goto = 3;
  72241. return A._asyncAwait($async$self._async_evaluate$_performInterpolation$2$warnForColor(interpolation, warnForColor), $async$_async_evaluate$_interpolationToValue$3$trim$warnForColor);
  72242. case 3:
  72243. // returning from await.
  72244. result = $async$result;
  72245. t1 = trim ? A.trimAscii(result, true) : result;
  72246. $async$returnValue = new A.CssValue(t1, interpolation.span, type$.CssValue_String);
  72247. // goto return
  72248. $async$goto = 1;
  72249. break;
  72250. case 1:
  72251. // return
  72252. return A._asyncReturn($async$returnValue, $async$completer);
  72253. }
  72254. });
  72255. return A._asyncStartSync($async$_async_evaluate$_interpolationToValue$3$trim$warnForColor, $async$completer);
  72256. },
  72257. _async_evaluate$_performInterpolation$2$warnForColor(interpolation, warnForColor) {
  72258. return this._performInterpolation$body$_EvaluateVisitor(interpolation, warnForColor);
  72259. },
  72260. _async_evaluate$_performInterpolation$1(interpolation) {
  72261. return this._async_evaluate$_performInterpolation$2$warnForColor(interpolation, false);
  72262. },
  72263. _performInterpolation$body$_EvaluateVisitor(interpolation, warnForColor) {
  72264. var $async$goto = 0,
  72265. $async$completer = A._makeAsyncAwaitCompleter(type$.String),
  72266. $async$returnValue, $async$self = this;
  72267. var $async$_async_evaluate$_performInterpolation$2$warnForColor = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  72268. if ($async$errorCode === 1)
  72269. return A._asyncRethrow($async$result, $async$completer);
  72270. while (true)
  72271. switch ($async$goto) {
  72272. case 0:
  72273. // Function start
  72274. $async$goto = 3;
  72275. return A._asyncAwait($async$self._async_evaluate$_performInterpolationHelper$3$sourceMap$warnForColor(interpolation, false, warnForColor), $async$_async_evaluate$_performInterpolation$2$warnForColor);
  72276. case 3:
  72277. // returning from await.
  72278. $async$returnValue = $async$result._0;
  72279. // goto return
  72280. $async$goto = 1;
  72281. break;
  72282. case 1:
  72283. // return
  72284. return A._asyncReturn($async$returnValue, $async$completer);
  72285. }
  72286. });
  72287. return A._asyncStartSync($async$_async_evaluate$_performInterpolation$2$warnForColor, $async$completer);
  72288. },
  72289. _async_evaluate$_performInterpolationWithMap$2$warnForColor(interpolation, warnForColor) {
  72290. return this._performInterpolationWithMap$body$_EvaluateVisitor(interpolation, true);
  72291. },
  72292. _performInterpolationWithMap$body$_EvaluateVisitor(interpolation, warnForColor) {
  72293. var $async$goto = 0,
  72294. $async$completer = A._makeAsyncAwaitCompleter(type$.Record_2_String_and_InterpolationMap),
  72295. $async$returnValue, $async$self = this, _0_0, result, map;
  72296. var $async$_async_evaluate$_performInterpolationWithMap$2$warnForColor = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  72297. if ($async$errorCode === 1)
  72298. return A._asyncRethrow($async$result, $async$completer);
  72299. while (true)
  72300. switch ($async$goto) {
  72301. case 0:
  72302. // Function start
  72303. $async$goto = 3;
  72304. return A._asyncAwait($async$self._async_evaluate$_performInterpolationHelper$3$sourceMap$warnForColor(interpolation, true, true), $async$_async_evaluate$_performInterpolationWithMap$2$warnForColor);
  72305. case 3:
  72306. // returning from await.
  72307. _0_0 = $async$result;
  72308. result = _0_0._0;
  72309. map = _0_0._1;
  72310. map.toString;
  72311. $async$returnValue = new A._Record_2(result, map);
  72312. // goto return
  72313. $async$goto = 1;
  72314. break;
  72315. case 1:
  72316. // return
  72317. return A._asyncReturn($async$returnValue, $async$completer);
  72318. }
  72319. });
  72320. return A._asyncStartSync($async$_async_evaluate$_performInterpolationWithMap$2$warnForColor, $async$completer);
  72321. },
  72322. _async_evaluate$_performInterpolationHelper$3$sourceMap$warnForColor(interpolation, sourceMap, warnForColor) {
  72323. return this._performInterpolationHelper$body$_EvaluateVisitor(interpolation, sourceMap, warnForColor);
  72324. },
  72325. _performInterpolationHelper$body$_EvaluateVisitor(interpolation, sourceMap, warnForColor) {
  72326. var $async$goto = 0,
  72327. $async$completer = A._makeAsyncAwaitCompleter(type$.Record_2_String_and_nullable_InterpolationMap),
  72328. $async$returnValue, $async$self = this, t1, t2, t3, t4, t5, t6, first, _i, t7, value, result, result0, t8, targetLocations, oldInSupportsDeclaration;
  72329. var $async$_async_evaluate$_performInterpolationHelper$3$sourceMap$warnForColor = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  72330. if ($async$errorCode === 1)
  72331. return A._asyncRethrow($async$result, $async$completer);
  72332. while (true)
  72333. switch ($async$goto) {
  72334. case 0:
  72335. // Function start
  72336. targetLocations = sourceMap ? A._setArrayType([], type$.JSArray_SourceLocation) : null;
  72337. oldInSupportsDeclaration = $async$self._async_evaluate$_inSupportsDeclaration;
  72338. $async$self._async_evaluate$_inSupportsDeclaration = false;
  72339. t1 = interpolation.contents, t2 = t1.length, t3 = type$.Expression, t4 = targetLocations == null, t5 = interpolation.span, t6 = type$.Object, first = true, _i = 0, t7 = "";
  72340. case 3:
  72341. // for condition
  72342. if (!(_i < t2)) {
  72343. // goto after for
  72344. $async$goto = 5;
  72345. break;
  72346. }
  72347. value = t1[_i];
  72348. if (!first)
  72349. if (!t4)
  72350. targetLocations.push(A.SourceLocation$(t7.length, null, null, null));
  72351. if (typeof value == "string") {
  72352. t7 += value;
  72353. // goto for update
  72354. $async$goto = 4;
  72355. break;
  72356. }
  72357. t3._as(value);
  72358. $async$goto = 6;
  72359. return A._asyncAwait(value.accept$1($async$self), $async$_async_evaluate$_performInterpolationHelper$3$sourceMap$warnForColor);
  72360. case 6:
  72361. // returning from await.
  72362. result = $async$result;
  72363. if (warnForColor && $.$get$namesByColor().containsKey$1(result)) {
  72364. result0 = A.List_List$from([""], false, t6);
  72365. result0.$flags = 3;
  72366. t8 = $.$get$namesByColor();
  72367. $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));
  72368. }
  72369. t7 += $async$self._async_evaluate$_serialize$3$quote(result, value, false);
  72370. case 4:
  72371. // for update
  72372. ++_i, first = false;
  72373. // goto for condition
  72374. $async$goto = 3;
  72375. break;
  72376. case 5:
  72377. // after for
  72378. $async$self._async_evaluate$_inSupportsDeclaration = oldInSupportsDeclaration;
  72379. $async$returnValue = new A._Record_2(t7.charCodeAt(0) == 0 ? t7 : t7, A.NullableExtension_andThen(targetLocations, new A._EvaluateVisitor__performInterpolationHelper_closure0(interpolation)));
  72380. // goto return
  72381. $async$goto = 1;
  72382. break;
  72383. case 1:
  72384. // return
  72385. return A._asyncReturn($async$returnValue, $async$completer);
  72386. }
  72387. });
  72388. return A._asyncStartSync($async$_async_evaluate$_performInterpolationHelper$3$sourceMap$warnForColor, $async$completer);
  72389. },
  72390. _evaluateToCss$2$quote(expression, quote) {
  72391. return this._evaluateToCss$body$_EvaluateVisitor(expression, quote);
  72392. },
  72393. _evaluateToCss$1(expression) {
  72394. return this._evaluateToCss$2$quote(expression, true);
  72395. },
  72396. _evaluateToCss$body$_EvaluateVisitor(expression, quote) {
  72397. var $async$goto = 0,
  72398. $async$completer = A._makeAsyncAwaitCompleter(type$.String),
  72399. $async$returnValue, $async$self = this, t1;
  72400. var $async$_evaluateToCss$2$quote = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  72401. if ($async$errorCode === 1)
  72402. return A._asyncRethrow($async$result, $async$completer);
  72403. while (true)
  72404. switch ($async$goto) {
  72405. case 0:
  72406. // Function start
  72407. t1 = expression.accept$1($async$self);
  72408. $async$goto = 3;
  72409. return A._asyncAwait(type$.Future_Value._is(t1) ? t1 : A._Future$value(t1, type$.Value), $async$_evaluateToCss$2$quote);
  72410. case 3:
  72411. // returning from await.
  72412. $async$returnValue = $async$self._async_evaluate$_serialize$3$quote($async$result, expression, quote);
  72413. // goto return
  72414. $async$goto = 1;
  72415. break;
  72416. case 1:
  72417. // return
  72418. return A._asyncReturn($async$returnValue, $async$completer);
  72419. }
  72420. });
  72421. return A._asyncStartSync($async$_evaluateToCss$2$quote, $async$completer);
  72422. },
  72423. _async_evaluate$_serialize$3$quote(value, nodeWithSpan, quote) {
  72424. return this._async_evaluate$_addExceptionSpan$2(nodeWithSpan, new A._EvaluateVisitor__serialize_closure0(value, quote));
  72425. },
  72426. _async_evaluate$_serialize$2(value, nodeWithSpan) {
  72427. return this._async_evaluate$_serialize$3$quote(value, nodeWithSpan, true);
  72428. },
  72429. _async_evaluate$_expressionNode$1(expression) {
  72430. var t1;
  72431. if (expression instanceof A.VariableExpression) {
  72432. t1 = this._async_evaluate$_addExceptionSpan$2(expression, new A._EvaluateVisitor__expressionNode_closure0(this, expression));
  72433. return t1 == null ? expression : t1;
  72434. } else
  72435. return expression;
  72436. },
  72437. _async_evaluate$_withParent$2$4$scopeWhen$through(node, callback, scopeWhen, through, $S, $T) {
  72438. return this._withParent$body$_EvaluateVisitor(node, callback, scopeWhen, through, $S, $T, $T);
  72439. },
  72440. _async_evaluate$_withParent$2$2(node, callback, $S, $T) {
  72441. node.toString;
  72442. callback.toString;
  72443. return this._async_evaluate$_withParent$2$4$scopeWhen$through(node, callback, true, null, $S, $T);
  72444. },
  72445. _async_evaluate$_withParent$2$3$scopeWhen(node, callback, scopeWhen, $S, $T) {
  72446. node.toString;
  72447. callback.toString;
  72448. return this._async_evaluate$_withParent$2$4$scopeWhen$through(node, callback, scopeWhen, null, $S, $T);
  72449. },
  72450. _withParent$body$_EvaluateVisitor(node, callback, scopeWhen, through, $S, $T, $async$type) {
  72451. var $async$goto = 0,
  72452. $async$completer = A._makeAsyncAwaitCompleter($async$type),
  72453. $async$returnValue, $async$self = this, oldParent, result;
  72454. var $async$_async_evaluate$_withParent$2$4$scopeWhen$through = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  72455. if ($async$errorCode === 1)
  72456. return A._asyncRethrow($async$result, $async$completer);
  72457. while (true)
  72458. switch ($async$goto) {
  72459. case 0:
  72460. // Function start
  72461. $async$self._async_evaluate$_addChild$2$through(node, through);
  72462. oldParent = $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__parent, "__parent");
  72463. $async$self._async_evaluate$__parent = node;
  72464. $async$goto = 3;
  72465. return A._asyncAwait($async$self._async_evaluate$_environment.scope$1$2$when(callback, scopeWhen, $T), $async$_async_evaluate$_withParent$2$4$scopeWhen$through);
  72466. case 3:
  72467. // returning from await.
  72468. result = $async$result;
  72469. $async$self._async_evaluate$__parent = oldParent;
  72470. $async$returnValue = result;
  72471. // goto return
  72472. $async$goto = 1;
  72473. break;
  72474. case 1:
  72475. // return
  72476. return A._asyncReturn($async$returnValue, $async$completer);
  72477. }
  72478. });
  72479. return A._asyncStartSync($async$_async_evaluate$_withParent$2$4$scopeWhen$through, $async$completer);
  72480. },
  72481. _async_evaluate$_addChild$2$through(node, through) {
  72482. var _0_0, grandparent, t1,
  72483. $parent = this._async_evaluate$_assertInModule$2(this._async_evaluate$__parent, "__parent");
  72484. if (through != null) {
  72485. for (; through.call$1($parent); $parent = _0_0) {
  72486. _0_0 = $parent._parent;
  72487. if (_0_0 == null)
  72488. throw A.wrapException(A.ArgumentError$(string$.throug + node.toString$0(0) + ".", null));
  72489. }
  72490. if ($parent.get$hasFollowingSibling()) {
  72491. grandparent = $parent._parent;
  72492. t1 = grandparent.children;
  72493. if ($parent.equalsIgnoringChildren$1(t1.get$last(t1)))
  72494. $parent = type$.ModifiableCssParentNode._as(t1.get$last(t1));
  72495. else {
  72496. $parent = $parent.copyWithoutChildren$0();
  72497. grandparent.addChild$1($parent);
  72498. }
  72499. }
  72500. }
  72501. $parent.addChild$1(node);
  72502. },
  72503. _async_evaluate$_addChild$1(node) {
  72504. return this._async_evaluate$_addChild$2$through(node, null);
  72505. },
  72506. _async_evaluate$_withStyleRule$1$2(rule, callback, $T) {
  72507. return this._withStyleRule$body$_EvaluateVisitor(rule, callback, $T, $T);
  72508. },
  72509. _withStyleRule$body$_EvaluateVisitor(rule, callback, $T, $async$type) {
  72510. var $async$goto = 0,
  72511. $async$completer = A._makeAsyncAwaitCompleter($async$type),
  72512. $async$returnValue, $async$self = this, result, oldRule;
  72513. var $async$_async_evaluate$_withStyleRule$1$2 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  72514. if ($async$errorCode === 1)
  72515. return A._asyncRethrow($async$result, $async$completer);
  72516. while (true)
  72517. switch ($async$goto) {
  72518. case 0:
  72519. // Function start
  72520. oldRule = $async$self._async_evaluate$_styleRuleIgnoringAtRoot;
  72521. $async$self._async_evaluate$_styleRuleIgnoringAtRoot = rule;
  72522. $async$goto = 3;
  72523. return A._asyncAwait(callback.call$0(), $async$_async_evaluate$_withStyleRule$1$2);
  72524. case 3:
  72525. // returning from await.
  72526. result = $async$result;
  72527. $async$self._async_evaluate$_styleRuleIgnoringAtRoot = oldRule;
  72528. $async$returnValue = result;
  72529. // goto return
  72530. $async$goto = 1;
  72531. break;
  72532. case 1:
  72533. // return
  72534. return A._asyncReturn($async$returnValue, $async$completer);
  72535. }
  72536. });
  72537. return A._asyncStartSync($async$_async_evaluate$_withStyleRule$1$2, $async$completer);
  72538. },
  72539. _async_evaluate$_withMediaQueries$1$3(queries, sources, callback, $T) {
  72540. return this._withMediaQueries$body$_EvaluateVisitor(queries, sources, callback, $T, $T);
  72541. },
  72542. _withMediaQueries$body$_EvaluateVisitor(queries, sources, callback, $T, $async$type) {
  72543. var $async$goto = 0,
  72544. $async$completer = A._makeAsyncAwaitCompleter($async$type),
  72545. $async$returnValue, $async$self = this, result, oldMediaQueries, oldSources;
  72546. var $async$_async_evaluate$_withMediaQueries$1$3 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  72547. if ($async$errorCode === 1)
  72548. return A._asyncRethrow($async$result, $async$completer);
  72549. while (true)
  72550. switch ($async$goto) {
  72551. case 0:
  72552. // Function start
  72553. oldMediaQueries = $async$self._async_evaluate$_mediaQueries;
  72554. oldSources = $async$self._async_evaluate$_mediaQuerySources;
  72555. $async$self._async_evaluate$_mediaQueries = queries;
  72556. $async$self._async_evaluate$_mediaQuerySources = sources;
  72557. $async$goto = 3;
  72558. return A._asyncAwait(callback.call$0(), $async$_async_evaluate$_withMediaQueries$1$3);
  72559. case 3:
  72560. // returning from await.
  72561. result = $async$result;
  72562. $async$self._async_evaluate$_mediaQueries = oldMediaQueries;
  72563. $async$self._async_evaluate$_mediaQuerySources = oldSources;
  72564. $async$returnValue = result;
  72565. // goto return
  72566. $async$goto = 1;
  72567. break;
  72568. case 1:
  72569. // return
  72570. return A._asyncReturn($async$returnValue, $async$completer);
  72571. }
  72572. });
  72573. return A._asyncStartSync($async$_async_evaluate$_withMediaQueries$1$3, $async$completer);
  72574. },
  72575. _async_evaluate$_withStackFrame$1$3(member, nodeWithSpan, callback, $T) {
  72576. return this._withStackFrame$body$_EvaluateVisitor(member, nodeWithSpan, callback, $T, $T);
  72577. },
  72578. _withStackFrame$body$_EvaluateVisitor(member, nodeWithSpan, callback, $T, $async$type) {
  72579. var $async$goto = 0,
  72580. $async$completer = A._makeAsyncAwaitCompleter($async$type),
  72581. $async$returnValue, $async$self = this, oldMember, result, t1;
  72582. var $async$_async_evaluate$_withStackFrame$1$3 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  72583. if ($async$errorCode === 1)
  72584. return A._asyncRethrow($async$result, $async$completer);
  72585. while (true)
  72586. switch ($async$goto) {
  72587. case 0:
  72588. // Function start
  72589. t1 = $async$self._async_evaluate$_stack;
  72590. t1.push(new A._Record_2($async$self._async_evaluate$_member, nodeWithSpan));
  72591. oldMember = $async$self._async_evaluate$_member;
  72592. $async$self._async_evaluate$_member = member;
  72593. $async$goto = 3;
  72594. return A._asyncAwait(callback.call$0(), $async$_async_evaluate$_withStackFrame$1$3);
  72595. case 3:
  72596. // returning from await.
  72597. result = $async$result;
  72598. $async$self._async_evaluate$_member = oldMember;
  72599. t1.pop();
  72600. $async$returnValue = result;
  72601. // goto return
  72602. $async$goto = 1;
  72603. break;
  72604. case 1:
  72605. // return
  72606. return A._asyncReturn($async$returnValue, $async$completer);
  72607. }
  72608. });
  72609. return A._asyncStartSync($async$_async_evaluate$_withStackFrame$1$3, $async$completer);
  72610. },
  72611. _async_evaluate$_withoutSlash$2(value, nodeForSpan) {
  72612. var t1;
  72613. if (value instanceof A.SassNumber)
  72614. t1 = value.asSlash != null;
  72615. else
  72616. t1 = false;
  72617. if (t1)
  72618. 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);
  72619. return value.withoutSlash$0();
  72620. },
  72621. _async_evaluate$_stackFrame$2(member, span) {
  72622. return A.frameForSpan(span, member, A.NullableExtension_andThen(span.get$sourceUrl(span), new A._EvaluateVisitor__stackFrame_closure0(this)));
  72623. },
  72624. _async_evaluate$_stackTrace$1(span) {
  72625. var t2, t3, _i, t4, nodeWithSpan, _this = this,
  72626. t1 = A._setArrayType([], type$.JSArray_Frame);
  72627. for (t2 = _this._async_evaluate$_stack, t3 = t2.length, _i = 0; _i < t2.length; t2.length === t3 || (0, A.throwConcurrentModificationError)(t2), ++_i) {
  72628. t4 = t2[_i];
  72629. nodeWithSpan = t4._1;
  72630. t1.push(_this._async_evaluate$_stackFrame$2(t4._0, nodeWithSpan.get$span(nodeWithSpan)));
  72631. }
  72632. if (span != null)
  72633. t1.push(_this._async_evaluate$_stackFrame$2(_this._async_evaluate$_member, span));
  72634. return A.Trace$(new A.ReversedListIterable(t1, type$.ReversedListIterable_Frame), null);
  72635. },
  72636. _async_evaluate$_stackTrace$0() {
  72637. return this._async_evaluate$_stackTrace$1(null);
  72638. },
  72639. _async_evaluate$_warn$3(message, span, deprecation) {
  72640. var trace, t1, _this = this;
  72641. if (_this._async_evaluate$_quietDeps && _this._async_evaluate$_inDependency)
  72642. return;
  72643. if (!_this._async_evaluate$_warningsEmitted.add$1(0, new A._Record_2(message, span)))
  72644. return;
  72645. trace = _this._async_evaluate$_stackTrace$1(span);
  72646. t1 = _this._async_evaluate$_logger;
  72647. if (deprecation == null)
  72648. t1.internalWarn$4$deprecation$span$trace(message, null, span, trace);
  72649. else
  72650. A.WarnForDeprecation_warnForDeprecation(t1, deprecation, message, span, trace);
  72651. },
  72652. _async_evaluate$_warn$2(message, span) {
  72653. return this._async_evaluate$_warn$3(message, span, null);
  72654. },
  72655. _async_evaluate$_exception$2(message, span) {
  72656. var t1, t2;
  72657. if (span == null) {
  72658. t1 = B.JSArray_methods.get$last(this._async_evaluate$_stack)._1;
  72659. t1 = t1.get$span(t1);
  72660. } else
  72661. t1 = span;
  72662. t2 = this._async_evaluate$_stackTrace$1(span);
  72663. return new A.SassRuntimeException(t2, B.Set_empty, message, t1);
  72664. },
  72665. _async_evaluate$_exception$1(message) {
  72666. return this._async_evaluate$_exception$2(message, null);
  72667. },
  72668. _async_evaluate$_multiSpanException$3(message, primaryLabel, secondaryLabels) {
  72669. var t1 = B.JSArray_methods.get$last(this._async_evaluate$_stack)._1;
  72670. return A.MultiSpanSassRuntimeException$(message, t1.get$span(t1), primaryLabel, secondaryLabels, this._async_evaluate$_stackTrace$0(), null);
  72671. },
  72672. _async_evaluate$_addExceptionSpan$1$2(nodeWithSpan, callback) {
  72673. var error, stackTrace, t1, exception,
  72674. addStackFrame = true;
  72675. try {
  72676. t1 = callback.call$0();
  72677. return t1;
  72678. } catch (exception) {
  72679. t1 = A.unwrapException(exception);
  72680. if (t1 instanceof A.SassScriptException) {
  72681. error = t1;
  72682. stackTrace = A.getTraceFromException(exception);
  72683. t1 = error.withSpan$1(nodeWithSpan.get$span(nodeWithSpan));
  72684. A.throwWithTrace(t1.withTrace$1(this._async_evaluate$_stackTrace$1(addStackFrame ? nodeWithSpan.get$span(nodeWithSpan) : null)), error, stackTrace);
  72685. } else
  72686. throw exception;
  72687. }
  72688. },
  72689. _async_evaluate$_addExceptionSpan$2(nodeWithSpan, callback) {
  72690. callback.toString;
  72691. return this._async_evaluate$_addExceptionSpan$1$2(nodeWithSpan, callback, type$.dynamic);
  72692. },
  72693. _addExceptionSpanAsync$1$3$addStackFrame(nodeWithSpan, callback, addStackFrame, $T) {
  72694. return this._addExceptionSpanAsync$body$_EvaluateVisitor(nodeWithSpan, callback, addStackFrame, $T, $T);
  72695. },
  72696. _addExceptionSpanAsync$1$2(nodeWithSpan, callback, $T) {
  72697. callback.toString;
  72698. return this._addExceptionSpanAsync$1$3$addStackFrame(nodeWithSpan, callback, true, $T);
  72699. },
  72700. _addExceptionSpanAsync$body$_EvaluateVisitor(nodeWithSpan, callback, addStackFrame, $T, $async$type) {
  72701. var $async$goto = 0,
  72702. $async$completer = A._makeAsyncAwaitCompleter($async$type),
  72703. $async$returnValue, $async$handler = 2, $async$errorStack = [], $async$self = this, error, stackTrace, t1, exception, $async$exception;
  72704. var $async$_addExceptionSpanAsync$1$3$addStackFrame = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  72705. if ($async$errorCode === 1) {
  72706. $async$errorStack.push($async$result);
  72707. $async$goto = $async$handler;
  72708. }
  72709. while (true)
  72710. switch ($async$goto) {
  72711. case 0:
  72712. // Function start
  72713. $async$handler = 4;
  72714. t1 = callback.call$0();
  72715. $async$goto = 7;
  72716. return A._asyncAwait($T._eval$1("Future<0>")._is(t1) ? t1 : A._Future$value(t1, $T), $async$_addExceptionSpanAsync$1$3$addStackFrame);
  72717. case 7:
  72718. // returning from await.
  72719. t1 = $async$result;
  72720. $async$returnValue = t1;
  72721. // goto return
  72722. $async$goto = 1;
  72723. break;
  72724. $async$handler = 2;
  72725. // goto after finally
  72726. $async$goto = 6;
  72727. break;
  72728. case 4:
  72729. // catch
  72730. $async$handler = 3;
  72731. $async$exception = $async$errorStack.pop();
  72732. t1 = A.unwrapException($async$exception);
  72733. if (t1 instanceof A.SassScriptException) {
  72734. error = t1;
  72735. stackTrace = A.getTraceFromException($async$exception);
  72736. t1 = error.withSpan$1(nodeWithSpan.get$span(nodeWithSpan));
  72737. A.throwWithTrace(t1.withTrace$1($async$self._async_evaluate$_stackTrace$1(addStackFrame ? nodeWithSpan.get$span(nodeWithSpan) : null)), error, stackTrace);
  72738. } else
  72739. throw $async$exception;
  72740. // goto after finally
  72741. $async$goto = 6;
  72742. break;
  72743. case 3:
  72744. // uncaught
  72745. // goto rethrow
  72746. $async$goto = 2;
  72747. break;
  72748. case 6:
  72749. // after finally
  72750. case 1:
  72751. // return
  72752. return A._asyncReturn($async$returnValue, $async$completer);
  72753. case 2:
  72754. // rethrow
  72755. return A._asyncRethrow($async$errorStack.at(-1), $async$completer);
  72756. }
  72757. });
  72758. return A._asyncStartSync($async$_addExceptionSpanAsync$1$3$addStackFrame, $async$completer);
  72759. },
  72760. _async_evaluate$_addExceptionTrace$1$1(callback, $T) {
  72761. return this._addExceptionTrace$body$_EvaluateVisitor(callback, $T, $T);
  72762. },
  72763. _addExceptionTrace$body$_EvaluateVisitor(callback, $T, $async$type) {
  72764. var $async$goto = 0,
  72765. $async$completer = A._makeAsyncAwaitCompleter($async$type),
  72766. $async$returnValue, $async$handler = 2, $async$errorStack = [], $async$self = this, error, stackTrace, t1, exception, t2, $async$exception;
  72767. var $async$_async_evaluate$_addExceptionTrace$1$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  72768. if ($async$errorCode === 1) {
  72769. $async$errorStack.push($async$result);
  72770. $async$goto = $async$handler;
  72771. }
  72772. while (true)
  72773. switch ($async$goto) {
  72774. case 0:
  72775. // Function start
  72776. $async$handler = 4;
  72777. t1 = callback.call$0();
  72778. $async$goto = 7;
  72779. return A._asyncAwait($T._eval$1("Future<0>")._is(t1) ? t1 : A._Future$value(t1, $T), $async$_async_evaluate$_addExceptionTrace$1$1);
  72780. case 7:
  72781. // returning from await.
  72782. t1 = $async$result;
  72783. $async$returnValue = t1;
  72784. // goto return
  72785. $async$goto = 1;
  72786. break;
  72787. $async$handler = 2;
  72788. // goto after finally
  72789. $async$goto = 6;
  72790. break;
  72791. case 4:
  72792. // catch
  72793. $async$handler = 3;
  72794. $async$exception = $async$errorStack.pop();
  72795. t1 = A.unwrapException($async$exception);
  72796. if (type$.SassRuntimeException._is(t1))
  72797. throw $async$exception;
  72798. else if (t1 instanceof A.SassException) {
  72799. error = t1;
  72800. stackTrace = A.getTraceFromException($async$exception);
  72801. t1 = error;
  72802. t2 = J.getInterceptor$z(t1);
  72803. A.throwWithTrace(error.withTrace$1($async$self._async_evaluate$_stackTrace$1(A.SourceSpanException.prototype.get$span.call(t2, t1))), error, stackTrace);
  72804. } else
  72805. throw $async$exception;
  72806. // goto after finally
  72807. $async$goto = 6;
  72808. break;
  72809. case 3:
  72810. // uncaught
  72811. // goto rethrow
  72812. $async$goto = 2;
  72813. break;
  72814. case 6:
  72815. // after finally
  72816. case 1:
  72817. // return
  72818. return A._asyncReturn($async$returnValue, $async$completer);
  72819. case 2:
  72820. // rethrow
  72821. return A._asyncRethrow($async$errorStack.at(-1), $async$completer);
  72822. }
  72823. });
  72824. return A._asyncStartSync($async$_async_evaluate$_addExceptionTrace$1$1, $async$completer);
  72825. },
  72826. _async_evaluate$_addErrorSpan$1$2(nodeWithSpan, callback, $T) {
  72827. return this._addErrorSpan$body$_EvaluateVisitor(nodeWithSpan, callback, $T, $T);
  72828. },
  72829. _addErrorSpan$body$_EvaluateVisitor(nodeWithSpan, callback, $T, $async$type) {
  72830. var $async$goto = 0,
  72831. $async$completer = A._makeAsyncAwaitCompleter($async$type),
  72832. $async$returnValue, $async$handler = 2, $async$errorStack = [], $async$self = this, error, stackTrace, t1, exception, t2, t3, $async$exception;
  72833. var $async$_async_evaluate$_addErrorSpan$1$2 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  72834. if ($async$errorCode === 1) {
  72835. $async$errorStack.push($async$result);
  72836. $async$goto = $async$handler;
  72837. }
  72838. while (true)
  72839. switch ($async$goto) {
  72840. case 0:
  72841. // Function start
  72842. $async$handler = 4;
  72843. $async$goto = 7;
  72844. return A._asyncAwait(callback.call$0(), $async$_async_evaluate$_addErrorSpan$1$2);
  72845. case 7:
  72846. // returning from await.
  72847. t1 = $async$result;
  72848. $async$returnValue = t1;
  72849. // goto return
  72850. $async$goto = 1;
  72851. break;
  72852. $async$handler = 2;
  72853. // goto after finally
  72854. $async$goto = 6;
  72855. break;
  72856. case 4:
  72857. // catch
  72858. $async$handler = 3;
  72859. $async$exception = $async$errorStack.pop();
  72860. t1 = A.unwrapException($async$exception);
  72861. if (type$.SassRuntimeException._is(t1)) {
  72862. error = t1;
  72863. stackTrace = A.getTraceFromException($async$exception);
  72864. if (!B.JSString_methods.startsWith$1(J.get$span$z(error).get$text(), "@error"))
  72865. throw $async$exception;
  72866. t1 = error._span_exception$_message;
  72867. t2 = nodeWithSpan.get$span(nodeWithSpan);
  72868. t3 = $async$self._async_evaluate$_stackTrace$0();
  72869. A.throwWithTrace(new A.SassRuntimeException(t3, B.Set_empty, t1, t2), error, stackTrace);
  72870. } else
  72871. throw $async$exception;
  72872. // goto after finally
  72873. $async$goto = 6;
  72874. break;
  72875. case 3:
  72876. // uncaught
  72877. // goto rethrow
  72878. $async$goto = 2;
  72879. break;
  72880. case 6:
  72881. // after finally
  72882. case 1:
  72883. // return
  72884. return A._asyncReturn($async$returnValue, $async$completer);
  72885. case 2:
  72886. // rethrow
  72887. return A._asyncRethrow($async$errorStack.at(-1), $async$completer);
  72888. }
  72889. });
  72890. return A._asyncStartSync($async$_async_evaluate$_addErrorSpan$1$2, $async$completer);
  72891. },
  72892. _async_evaluate$_getErrorMessage$1(error) {
  72893. var t1, exception;
  72894. if (type$.Error._is(error))
  72895. return error.toString$0(0);
  72896. try {
  72897. t1 = A._asString(J.get$message$x(error));
  72898. return t1;
  72899. } catch (exception) {
  72900. t1 = J.toString$0$(error);
  72901. return t1;
  72902. }
  72903. }
  72904. };
  72905. A._EvaluateVisitor_closure12.prototype = {
  72906. call$1($arguments) {
  72907. var module, t2,
  72908. t1 = J.getInterceptor$asx($arguments),
  72909. variable = t1.$index($arguments, 0).assertString$1("name");
  72910. t1 = t1.$index($arguments, 1).get$realNull();
  72911. module = t1 == null ? null : t1.assertString$1("module");
  72912. t1 = this.$this._async_evaluate$_environment;
  72913. t2 = A.stringReplaceAllUnchecked(variable._string$_text, "_", "-");
  72914. return t1.globalVariableExists$2$namespace(t2, module == null ? null : module._string$_text) ? B.SassBoolean_true : B.SassBoolean_false;
  72915. },
  72916. $signature: 12
  72917. };
  72918. A._EvaluateVisitor_closure13.prototype = {
  72919. call$1($arguments) {
  72920. var variable = J.$index$asx($arguments, 0).assertString$1("name"),
  72921. t1 = this.$this._async_evaluate$_environment;
  72922. return t1.getVariable$1(A.stringReplaceAllUnchecked(variable._string$_text, "_", "-")) != null ? B.SassBoolean_true : B.SassBoolean_false;
  72923. },
  72924. $signature: 12
  72925. };
  72926. A._EvaluateVisitor_closure14.prototype = {
  72927. call$1($arguments) {
  72928. var module, t2, t3, t4,
  72929. t1 = J.getInterceptor$asx($arguments),
  72930. variable = t1.$index($arguments, 0).assertString$1("name");
  72931. t1 = t1.$index($arguments, 1).get$realNull();
  72932. module = t1 == null ? null : t1.assertString$1("module");
  72933. t1 = this.$this;
  72934. t2 = t1._async_evaluate$_environment;
  72935. t3 = variable._string$_text;
  72936. t4 = A.stringReplaceAllUnchecked(t3, "_", "-");
  72937. 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;
  72938. },
  72939. $signature: 12
  72940. };
  72941. A._EvaluateVisitor_closure15.prototype = {
  72942. call$1($arguments) {
  72943. var module, t2,
  72944. t1 = J.getInterceptor$asx($arguments),
  72945. variable = t1.$index($arguments, 0).assertString$1("name");
  72946. t1 = t1.$index($arguments, 1).get$realNull();
  72947. module = t1 == null ? null : t1.assertString$1("module");
  72948. t1 = this.$this._async_evaluate$_environment;
  72949. t2 = A.stringReplaceAllUnchecked(variable._string$_text, "_", "-");
  72950. return t1.getMixin$2$namespace(t2, module == null ? null : module._string$_text) != null ? B.SassBoolean_true : B.SassBoolean_false;
  72951. },
  72952. $signature: 12
  72953. };
  72954. A._EvaluateVisitor_closure16.prototype = {
  72955. call$1($arguments) {
  72956. var t1 = this.$this._async_evaluate$_environment;
  72957. if (!t1._async_environment$_inMixin)
  72958. throw A.wrapException(A.SassScriptException$(string$.conten, null));
  72959. return t1._async_environment$_content != null ? B.SassBoolean_true : B.SassBoolean_false;
  72960. },
  72961. $signature: 12
  72962. };
  72963. A._EvaluateVisitor_closure17.prototype = {
  72964. call$1($arguments) {
  72965. var t2, t3, t4,
  72966. t1 = J.$index$asx($arguments, 0).assertString$1("module")._string$_text,
  72967. module = this.$this._async_evaluate$_environment._async_environment$_modules.$index(0, t1);
  72968. if (module == null)
  72969. throw A.wrapException('There is no module with namespace "' + t1 + '".');
  72970. t1 = type$.Value;
  72971. t2 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
  72972. for (t3 = A.MapExtensions_get_pairs(module.get$variables(), type$.String, t1), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
  72973. t4 = t3.get$current(t3);
  72974. t2.$indexSet(0, new A.SassString(t4._0, true), t4._1);
  72975. }
  72976. return new A.SassMap(A.ConstantMap_ConstantMap$from(t2, t1, t1));
  72977. },
  72978. $signature: 33
  72979. };
  72980. A._EvaluateVisitor_closure18.prototype = {
  72981. call$1($arguments) {
  72982. var t3, t4, t5,
  72983. t1 = this.$this,
  72984. t2 = J.$index$asx($arguments, 0).assertString$1("module")._string$_text,
  72985. module = t1._async_evaluate$_environment._async_environment$_modules.$index(0, t2);
  72986. if (module == null)
  72987. throw A.wrapException('There is no module with namespace "' + t2 + '".');
  72988. t2 = type$.Value;
  72989. t3 = A.LinkedHashMap_LinkedHashMap$_empty(t2, t2);
  72990. 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();) {
  72991. t5 = t4.get$current(t4);
  72992. t3.$indexSet(0, new A.SassString(t5._0, true), new A.SassFunction(t5._1, t1));
  72993. }
  72994. return new A.SassMap(A.ConstantMap_ConstantMap$from(t3, t2, t2));
  72995. },
  72996. $signature: 33
  72997. };
  72998. A._EvaluateVisitor_closure19.prototype = {
  72999. call$1($arguments) {
  73000. var t3, t4, t5,
  73001. t1 = this.$this,
  73002. t2 = J.$index$asx($arguments, 0).assertString$1("module")._string$_text,
  73003. module = t1._async_evaluate$_environment._async_environment$_modules.$index(0, t2);
  73004. if (module == null)
  73005. throw A.wrapException('There is no module with namespace "' + t2 + '".');
  73006. t2 = type$.Value;
  73007. t3 = A.LinkedHashMap_LinkedHashMap$_empty(t2, t2);
  73008. 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();) {
  73009. t5 = t4.get$current(t4);
  73010. t3.$indexSet(0, new A.SassString(t5._0, true), new A.SassMixin(t5._1, t1));
  73011. }
  73012. return new A.SassMap(A.ConstantMap_ConstantMap$from(t3, t2, t2));
  73013. },
  73014. $signature: 33
  73015. };
  73016. A._EvaluateVisitor_closure20.prototype = {
  73017. call$1($arguments) {
  73018. var module, t2, callable,
  73019. t1 = J.getInterceptor$asx($arguments),
  73020. $name = t1.$index($arguments, 0).assertString$1("name"),
  73021. css = t1.$index($arguments, 1).get$isTruthy();
  73022. t1 = t1.$index($arguments, 2).get$realNull();
  73023. module = t1 == null ? null : t1.assertString$1("module");
  73024. if (css) {
  73025. if (module != null)
  73026. throw A.wrapException(string$.x24css_a);
  73027. return new A.SassFunction(new A.PlainCssCallable($name._string$_text), this.$this._async_evaluate$_compileContext);
  73028. }
  73029. t1 = this.$this;
  73030. t2 = t1._async_evaluate$_callableNode;
  73031. t2.toString;
  73032. callable = t1._async_evaluate$_addExceptionSpan$2(t2, new A._EvaluateVisitor__closure6(t1, $name, module));
  73033. if (callable == null)
  73034. throw A.wrapException("Function not found: " + $name.toString$0(0));
  73035. return new A.SassFunction(callable, t1._async_evaluate$_compileContext);
  73036. },
  73037. $signature: 167
  73038. };
  73039. A._EvaluateVisitor__closure6.prototype = {
  73040. call$0() {
  73041. var local,
  73042. normalizedName = A.stringReplaceAllUnchecked(this.name._string$_text, "_", "-"),
  73043. t1 = this.module,
  73044. namespace = t1 == null ? null : t1._string$_text;
  73045. t1 = this.$this;
  73046. local = t1._async_evaluate$_environment.getFunction$2$namespace(normalizedName, namespace);
  73047. if (local != null || namespace != null)
  73048. return local;
  73049. return t1._async_evaluate$_builtInFunctions.$index(0, normalizedName);
  73050. },
  73051. $signature: 93
  73052. };
  73053. A._EvaluateVisitor_closure21.prototype = {
  73054. call$1($arguments) {
  73055. var module, t2, callable,
  73056. t1 = J.getInterceptor$asx($arguments),
  73057. $name = t1.$index($arguments, 0).assertString$1("name");
  73058. t1 = t1.$index($arguments, 1).get$realNull();
  73059. module = t1 == null ? null : t1.assertString$1("module");
  73060. t1 = this.$this;
  73061. t2 = t1._async_evaluate$_callableNode;
  73062. t2.toString;
  73063. callable = t1._async_evaluate$_addExceptionSpan$2(t2, new A._EvaluateVisitor__closure5(t1, $name, module));
  73064. if (callable == null)
  73065. throw A.wrapException("Mixin not found: " + $name.toString$0(0));
  73066. return new A.SassMixin(callable, t1._async_evaluate$_compileContext);
  73067. },
  73068. $signature: 168
  73069. };
  73070. A._EvaluateVisitor__closure5.prototype = {
  73071. call$0() {
  73072. var t1 = this.$this._async_evaluate$_environment,
  73073. t2 = A.stringReplaceAllUnchecked(this.name._string$_text, "_", "-"),
  73074. t3 = this.module;
  73075. return t1.getMixin$2$namespace(t2, t3 == null ? null : t3._string$_text);
  73076. },
  73077. $signature: 93
  73078. };
  73079. A._EvaluateVisitor_closure22.prototype = {
  73080. call$1($arguments) {
  73081. return this.$call$body$_EvaluateVisitor_closure1($arguments);
  73082. },
  73083. $call$body$_EvaluateVisitor_closure1($arguments) {
  73084. var $async$goto = 0,
  73085. $async$completer = A._makeAsyncAwaitCompleter(type$.Value),
  73086. $async$returnValue, $async$self = this, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, invocation, callableNode, t1, $function, args;
  73087. var $async$call$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  73088. if ($async$errorCode === 1)
  73089. return A._asyncRethrow($async$result, $async$completer);
  73090. while (true)
  73091. switch ($async$goto) {
  73092. case 0:
  73093. // Function start
  73094. t1 = J.getInterceptor$asx($arguments);
  73095. $function = t1.$index($arguments, 0);
  73096. args = type$.SassArgumentList._as(t1.$index($arguments, 1));
  73097. t1 = $async$self.$this;
  73098. t2 = t1._async_evaluate$_callableNode;
  73099. t2.toString;
  73100. t3 = A._setArrayType([], type$.JSArray_Expression);
  73101. t4 = type$.String;
  73102. t5 = type$.Expression;
  73103. t6 = t2.get$span(t2);
  73104. t7 = t2.get$span(t2);
  73105. args._wereKeywordsAccessed = true;
  73106. t8 = args._keywords;
  73107. if (t8.get$isEmpty(t8))
  73108. t2 = null;
  73109. else {
  73110. t9 = type$.Value;
  73111. t10 = A.LinkedHashMap_LinkedHashMap$_empty(t9, t9);
  73112. for (args._wereKeywordsAccessed = true, t8 = A.MapExtensions_get_pairs(t8, t4, t9), t8 = t8.get$iterator(t8); t8.moveNext$0();) {
  73113. t11 = t8.get$current(t8);
  73114. t10.$indexSet(0, new A.SassString(t11._0, false), t11._1);
  73115. }
  73116. t2 = new A.ValueExpression(new A.SassMap(A.ConstantMap_ConstantMap$from(t10, t9, t9)), t2.get$span(t2));
  73117. }
  73118. 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);
  73119. $async$goto = $function instanceof A.SassString ? 3 : 4;
  73120. break;
  73121. case 3:
  73122. // then
  73123. A.warnForDeprecation(string$.Passina + $function.toString$0(0) + "))", B.Deprecation_dAn);
  73124. callableNode = t1._async_evaluate$_callableNode;
  73125. t2 = $function._string$_text;
  73126. t3 = callableNode.get$span(callableNode);
  73127. t1 = t1.visitFunctionExpression$1(0, new A.FunctionExpression(null, A.stringReplaceAllUnchecked(t2, "_", "-"), t2, invocation, t3));
  73128. $async$goto = 5;
  73129. return A._asyncAwait(type$.Future_Value._is(t1) ? t1 : A._Future$value(t1, type$.Value), $async$call$1);
  73130. case 5:
  73131. // returning from await.
  73132. $async$returnValue = $async$result;
  73133. // goto return
  73134. $async$goto = 1;
  73135. break;
  73136. case 4:
  73137. // join
  73138. t2 = $function.assertFunction$1("function").assertCompileContext$1(t1._async_evaluate$_compileContext);
  73139. t3 = t1._async_evaluate$_callableNode;
  73140. t3.toString;
  73141. $async$goto = 6;
  73142. return A._asyncAwait(t1._async_evaluate$_runFunctionCallable$3(invocation, t2.callable, t3), $async$call$1);
  73143. case 6:
  73144. // returning from await.
  73145. t3 = $async$result;
  73146. $async$returnValue = t3;
  73147. // goto return
  73148. $async$goto = 1;
  73149. break;
  73150. case 1:
  73151. // return
  73152. return A._asyncReturn($async$returnValue, $async$completer);
  73153. }
  73154. });
  73155. return A._asyncStartSync($async$call$1, $async$completer);
  73156. },
  73157. $signature: 187
  73158. };
  73159. A._EvaluateVisitor_closure23.prototype = {
  73160. call$1($arguments) {
  73161. return this.$call$body$_EvaluateVisitor_closure0($arguments);
  73162. },
  73163. $call$body$_EvaluateVisitor_closure0($arguments) {
  73164. var $async$goto = 0,
  73165. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  73166. $async$self = this, withMap, t2, values, configuration, t3, t1, url;
  73167. var $async$call$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  73168. if ($async$errorCode === 1)
  73169. return A._asyncRethrow($async$result, $async$completer);
  73170. while (true)
  73171. switch ($async$goto) {
  73172. case 0:
  73173. // Function start
  73174. t1 = J.getInterceptor$asx($arguments);
  73175. url = A.Uri_parse(t1.$index($arguments, 0).assertString$1("url")._string$_text);
  73176. t1 = t1.$index($arguments, 1).get$realNull();
  73177. withMap = t1 == null ? null : t1.assertMap$1("with")._map$_contents;
  73178. t1 = $async$self.$this;
  73179. t2 = t1._async_evaluate$_callableNode;
  73180. t2.toString;
  73181. if (withMap != null) {
  73182. values = A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.ConfiguredValue);
  73183. withMap.forEach$1(0, new A._EvaluateVisitor__closure3(values, t2.get$span(t2), t2));
  73184. configuration = new A.ExplicitConfiguration(t2, values, null);
  73185. } else
  73186. configuration = B.Configuration_Map_empty_null;
  73187. t3 = t2.get$span(t2);
  73188. $async$goto = 2;
  73189. 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);
  73190. case 2:
  73191. // returning from await.
  73192. t1._async_evaluate$_assertConfigurationIsEmpty$2$nameInError(configuration, true);
  73193. // implicit return
  73194. return A._asyncReturn(null, $async$completer);
  73195. }
  73196. });
  73197. return A._asyncStartSync($async$call$1, $async$completer);
  73198. },
  73199. $signature: 169
  73200. };
  73201. A._EvaluateVisitor__closure3.prototype = {
  73202. call$2(variable, value) {
  73203. var t1 = variable.assertString$1("with key"),
  73204. $name = A.stringReplaceAllUnchecked(t1._string$_text, "_", "-");
  73205. t1 = this.values;
  73206. if (t1.containsKey$1($name))
  73207. throw A.wrapException("The variable $" + $name + " was configured twice.");
  73208. t1.$indexSet(0, $name, new A.ConfiguredValue(value, this.span, this.callableNode));
  73209. },
  73210. $signature: 95
  73211. };
  73212. A._EvaluateVisitor__closure4.prototype = {
  73213. call$2(module, _) {
  73214. var t1 = this.$this;
  73215. return t1._async_evaluate$_combineCss$2$clone(module, true).accept$1(t1);
  73216. },
  73217. $signature: 360
  73218. };
  73219. A._EvaluateVisitor_closure24.prototype = {
  73220. call$1($arguments) {
  73221. return this.$call$body$_EvaluateVisitor_closure($arguments);
  73222. },
  73223. $call$body$_EvaluateVisitor_closure($arguments) {
  73224. var $async$goto = 0,
  73225. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  73226. $async$self = this, callableNode, t2, t3, t4, t5, t1, mixin, args;
  73227. var $async$call$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  73228. if ($async$errorCode === 1)
  73229. return A._asyncRethrow($async$result, $async$completer);
  73230. while (true)
  73231. switch ($async$goto) {
  73232. case 0:
  73233. // Function start
  73234. t1 = J.getInterceptor$asx($arguments);
  73235. mixin = t1.$index($arguments, 0);
  73236. args = type$.SassArgumentList._as(t1.$index($arguments, 1));
  73237. t1 = $async$self.$this;
  73238. callableNode = t1._async_evaluate$_callableNode;
  73239. t2 = callableNode.get$span(callableNode);
  73240. t3 = callableNode.get$span(callableNode);
  73241. t4 = type$.Expression;
  73242. t5 = A.List_List$unmodifiable(B.List_empty9, t4);
  73243. t4 = A.ConstantMap_ConstantMap$from(B.Map_empty4, type$.String, t4);
  73244. $async$goto = 2;
  73245. 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);
  73246. case 2:
  73247. // returning from await.
  73248. // implicit return
  73249. return A._asyncReturn(null, $async$completer);
  73250. }
  73251. });
  73252. return A._asyncStartSync($async$call$1, $async$completer);
  73253. },
  73254. $signature: 169
  73255. };
  73256. A._EvaluateVisitor_run_closure0.prototype = {
  73257. call$0() {
  73258. var $async$goto = 0,
  73259. $async$completer = A._makeAsyncAwaitCompleter(type$.Record_2_Set_Uri_loadedUrls_and_CssStylesheet_stylesheet),
  73260. $async$returnValue, $async$self = this, module, t1, t2, _0_0, url;
  73261. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  73262. if ($async$errorCode === 1)
  73263. return A._asyncRethrow($async$result, $async$completer);
  73264. while (true)
  73265. switch ($async$goto) {
  73266. case 0:
  73267. // Function start
  73268. t1 = $async$self.node;
  73269. t2 = t1.span;
  73270. _0_0 = t2.get$sourceUrl(t2);
  73271. url = null;
  73272. if (_0_0 != null) {
  73273. url = _0_0;
  73274. t2 = $async$self.$this;
  73275. t2._async_evaluate$_activeModules.$indexSet(0, url, null);
  73276. t2._async_evaluate$_loadedUrls.add$1(0, url);
  73277. }
  73278. t2 = $async$self.$this;
  73279. $async$goto = 3;
  73280. 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);
  73281. case 3:
  73282. // returning from await.
  73283. module = $async$result;
  73284. $async$returnValue = new A._Record_2_loadedUrls_stylesheet(t2._async_evaluate$_loadedUrls, t2._async_evaluate$_combineCss$1(module));
  73285. // goto return
  73286. $async$goto = 1;
  73287. break;
  73288. case 1:
  73289. // return
  73290. return A._asyncReturn($async$returnValue, $async$completer);
  73291. }
  73292. });
  73293. return A._asyncStartSync($async$call$0, $async$completer);
  73294. },
  73295. $signature: 361
  73296. };
  73297. A._EvaluateVisitor_run__closure0.prototype = {
  73298. call$0() {
  73299. return this.$this._async_evaluate$_execute$2(this.importer, this.node);
  73300. },
  73301. $signature: 367
  73302. };
  73303. A._EvaluateVisitor__loadModule_closure1.prototype = {
  73304. call$0() {
  73305. return this.callback.call$2(this._box_0.builtInModule, false);
  73306. },
  73307. $signature: 0
  73308. };
  73309. A._EvaluateVisitor__loadModule_closure2.prototype = {
  73310. call$0() {
  73311. return this.$call$body$_EvaluateVisitor__loadModule_closure();
  73312. },
  73313. $call$body$_EvaluateVisitor__loadModule_closure() {
  73314. var $async$goto = 0,
  73315. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  73316. $async$handler = 1, $async$errorStack = [], $async$next = [], $async$self = this, canonicalUrl, oldInDependency, isDependency, t4, message, t1, stylesheet, importer, t2, t3, _1_0, $async$temp1;
  73317. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  73318. if ($async$errorCode === 1) {
  73319. $async$errorStack.push($async$result);
  73320. $async$goto = $async$handler;
  73321. }
  73322. while (true)
  73323. switch ($async$goto) {
  73324. case 0:
  73325. // Function start
  73326. t1 = {};
  73327. stylesheet = null;
  73328. importer = null;
  73329. t2 = $async$self.$this;
  73330. t3 = $async$self.nodeWithSpan;
  73331. $async$goto = 2;
  73332. 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);
  73333. case 2:
  73334. // returning from await.
  73335. _1_0 = $async$result;
  73336. stylesheet = _1_0._0;
  73337. importer = _1_0._1;
  73338. isDependency = _1_0._2;
  73339. t4 = stylesheet.span;
  73340. canonicalUrl = t4.get$sourceUrl(t4);
  73341. if (canonicalUrl != null) {
  73342. t4 = t2._async_evaluate$_activeModules;
  73343. if (t4.containsKey$1(canonicalUrl)) {
  73344. message = $async$self.namesInErrors ? "Module loop: " + $.$get$context().prettyUri$1(canonicalUrl) + " is already being loaded." : string$.Modulel;
  73345. t1 = A.NullableExtension_andThen(t4.$index(0, canonicalUrl), new A._EvaluateVisitor__loadModule__closure1(t2, message));
  73346. throw A.wrapException(t1 == null ? t2._async_evaluate$_exception$1(message) : t1);
  73347. } else
  73348. t4.$indexSet(0, canonicalUrl, t3);
  73349. }
  73350. t4 = t2._async_evaluate$_modules.containsKey$1(canonicalUrl);
  73351. oldInDependency = t2._async_evaluate$_inDependency;
  73352. t2._async_evaluate$_inDependency = isDependency;
  73353. t1.module = null;
  73354. $async$handler = 3;
  73355. $async$temp1 = t1;
  73356. $async$goto = 6;
  73357. return A._asyncAwait(t2._async_evaluate$_execute$5$configuration$namesInErrors$nodeWithSpan(importer, stylesheet, $async$self.configuration, $async$self.namesInErrors, t3), $async$call$0);
  73358. case 6:
  73359. // returning from await.
  73360. $async$temp1.module = $async$result;
  73361. $async$next.push(5);
  73362. // goto finally
  73363. $async$goto = 4;
  73364. break;
  73365. case 3:
  73366. // uncaught
  73367. $async$next = [1];
  73368. case 4:
  73369. // finally
  73370. $async$handler = 1;
  73371. t2._async_evaluate$_activeModules.remove$1(0, canonicalUrl);
  73372. t2._async_evaluate$_inDependency = oldInDependency;
  73373. // goto the next finally handler
  73374. $async$goto = $async$next.pop();
  73375. break;
  73376. case 5:
  73377. // after finally
  73378. $async$goto = 7;
  73379. 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);
  73380. case 7:
  73381. // returning from await.
  73382. // implicit return
  73383. return A._asyncReturn(null, $async$completer);
  73384. case 1:
  73385. // rethrow
  73386. return A._asyncRethrow($async$errorStack.at(-1), $async$completer);
  73387. }
  73388. });
  73389. return A._asyncStartSync($async$call$0, $async$completer);
  73390. },
  73391. $signature: 2
  73392. };
  73393. A._EvaluateVisitor__loadModule__closure1.prototype = {
  73394. call$1(previousLoad) {
  73395. 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));
  73396. },
  73397. $signature: 105
  73398. };
  73399. A._EvaluateVisitor__loadModule__closure2.prototype = {
  73400. call$0() {
  73401. return this.callback.call$2(this._box_1.module, this.firstLoad);
  73402. },
  73403. $signature: 0
  73404. };
  73405. A._EvaluateVisitor__execute_closure0.prototype = {
  73406. call$0() {
  73407. var $async$goto = 0,
  73408. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  73409. $async$self = this, t3, t4, t5, t6, t1, oldImporter, oldStylesheet, oldRoot, oldPreModuleComments, oldParent, oldEndOfImports, oldOutOfOrderImports, oldExtensionStore, t2, oldStyleRule, oldMediaQueries, oldDeclarationName, oldInUnknownAtRule, oldInKeyframes, oldConfiguration;
  73410. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  73411. if ($async$errorCode === 1)
  73412. return A._asyncRethrow($async$result, $async$completer);
  73413. while (true)
  73414. switch ($async$goto) {
  73415. case 0:
  73416. // Function start
  73417. t1 = $async$self.$this;
  73418. oldImporter = t1._async_evaluate$_importer;
  73419. oldStylesheet = t1._async_evaluate$__stylesheet;
  73420. oldRoot = t1._async_evaluate$__root;
  73421. oldPreModuleComments = t1._async_evaluate$_preModuleComments;
  73422. oldParent = t1._async_evaluate$__parent;
  73423. oldEndOfImports = t1._async_evaluate$__endOfImports;
  73424. oldOutOfOrderImports = t1._async_evaluate$_outOfOrderImports;
  73425. oldExtensionStore = t1._async_evaluate$__extensionStore;
  73426. t2 = t1._async_evaluate$_atRootExcludingStyleRule;
  73427. oldStyleRule = t2 ? null : t1._async_evaluate$_styleRuleIgnoringAtRoot;
  73428. oldMediaQueries = t1._async_evaluate$_mediaQueries;
  73429. oldDeclarationName = t1._async_evaluate$_declarationName;
  73430. oldInUnknownAtRule = t1._async_evaluate$_inUnknownAtRule;
  73431. oldInKeyframes = t1._async_evaluate$_inKeyframes;
  73432. oldConfiguration = t1._async_evaluate$_configuration;
  73433. t1._async_evaluate$_importer = $async$self.importer;
  73434. t3 = t1._async_evaluate$__stylesheet = $async$self.stylesheet;
  73435. t4 = t3.span;
  73436. t5 = t1._async_evaluate$__parent = t1._async_evaluate$__root = A.ModifiableCssStylesheet$(t4);
  73437. t1._async_evaluate$__endOfImports = 0;
  73438. t1._async_evaluate$_outOfOrderImports = null;
  73439. t1._async_evaluate$__extensionStore = $async$self.extensionStore;
  73440. t1._async_evaluate$_declarationName = t1._async_evaluate$_mediaQueries = t1._async_evaluate$_styleRuleIgnoringAtRoot = null;
  73441. t1._async_evaluate$_inKeyframes = t1._async_evaluate$_atRootExcludingStyleRule = t1._async_evaluate$_inUnknownAtRule = false;
  73442. t6 = $async$self.configuration;
  73443. if (t6 != null)
  73444. t1._async_evaluate$_configuration = t6;
  73445. $async$goto = 2;
  73446. return A._asyncAwait(t1.visitStylesheet$1(0, t3), $async$call$0);
  73447. case 2:
  73448. // returning from await.
  73449. t3 = t1._async_evaluate$_outOfOrderImports == null ? t5 : new A.CssStylesheet(new A.UnmodifiableListView(t1._async_evaluate$_addOutOfOrderImports$0(), type$.UnmodifiableListView_CssNode), t4);
  73450. $async$self.css.__late_helper$_value = t3;
  73451. $async$self.preModuleComments.__late_helper$_value = t1._async_evaluate$_preModuleComments;
  73452. t1._async_evaluate$_importer = oldImporter;
  73453. t1._async_evaluate$__stylesheet = oldStylesheet;
  73454. t1._async_evaluate$__root = oldRoot;
  73455. t1._async_evaluate$_preModuleComments = oldPreModuleComments;
  73456. t1._async_evaluate$__parent = oldParent;
  73457. t1._async_evaluate$__endOfImports = oldEndOfImports;
  73458. t1._async_evaluate$_outOfOrderImports = oldOutOfOrderImports;
  73459. t1._async_evaluate$__extensionStore = oldExtensionStore;
  73460. t1._async_evaluate$_styleRuleIgnoringAtRoot = oldStyleRule;
  73461. t1._async_evaluate$_mediaQueries = oldMediaQueries;
  73462. t1._async_evaluate$_declarationName = oldDeclarationName;
  73463. t1._async_evaluate$_inUnknownAtRule = oldInUnknownAtRule;
  73464. t1._async_evaluate$_atRootExcludingStyleRule = t2;
  73465. t1._async_evaluate$_inKeyframes = oldInKeyframes;
  73466. t1._async_evaluate$_configuration = oldConfiguration;
  73467. // implicit return
  73468. return A._asyncReturn(null, $async$completer);
  73469. }
  73470. });
  73471. return A._asyncStartSync($async$call$0, $async$completer);
  73472. },
  73473. $signature: 2
  73474. };
  73475. A._EvaluateVisitor__combineCss_closure1.prototype = {
  73476. call$1(module) {
  73477. return module.get$transitivelyContainsCss();
  73478. },
  73479. $signature: 103
  73480. };
  73481. A._EvaluateVisitor__combineCss_closure2.prototype = {
  73482. call$1(target) {
  73483. return !this.selectors.contains$1(0, target);
  73484. },
  73485. $signature: 14
  73486. };
  73487. A._EvaluateVisitor__combineCss_visitModule0.prototype = {
  73488. call$1(module) {
  73489. var t1, t2, t3, t4, _i, upstream, _1_0, statements, index, _this = this;
  73490. if (!_this.seen.add$1(0, module))
  73491. return;
  73492. if (_this.clone)
  73493. module = module.cloneCss$0();
  73494. 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) {
  73495. upstream = t1[_i];
  73496. if (upstream.get$transitivelyContainsCss()) {
  73497. _1_0 = module.get$preModuleComments().$index(0, upstream);
  73498. if (_1_0 != null)
  73499. B.JSArray_methods.addAll$1(t3.length === 0 ? t4 : t3, _1_0);
  73500. _this.call$1(upstream);
  73501. }
  73502. }
  73503. _this.sorted.addFirst$1(module);
  73504. t1 = module.get$css(module);
  73505. statements = t1.get$children(t1);
  73506. index = _this.$this._async_evaluate$_indexAfterImports$1(statements);
  73507. t1 = J.getInterceptor$ax(statements);
  73508. B.JSArray_methods.addAll$1(t4, t1.getRange$2(statements, 0, index));
  73509. B.JSArray_methods.addAll$1(t3, t1.getRange$2(statements, index, t1.get$length(statements)));
  73510. },
  73511. $signature: 389
  73512. };
  73513. A._EvaluateVisitor__extendModules_closure1.prototype = {
  73514. call$1(target) {
  73515. return !this.originalSelectors.contains$1(0, target);
  73516. },
  73517. $signature: 14
  73518. };
  73519. A._EvaluateVisitor__extendModules_closure2.prototype = {
  73520. call$0() {
  73521. return A._setArrayType([], type$.JSArray_ExtensionStore);
  73522. },
  73523. $signature: 141
  73524. };
  73525. A._EvaluateVisitor_visitAtRootRule_closure1.prototype = {
  73526. call$0() {
  73527. var $async$goto = 0,
  73528. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  73529. $async$self = this, t1, t2, t3, _i;
  73530. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  73531. if ($async$errorCode === 1)
  73532. return A._asyncRethrow($async$result, $async$completer);
  73533. while (true)
  73534. switch ($async$goto) {
  73535. case 0:
  73536. // Function start
  73537. t1 = $async$self.node.children, t2 = t1.length, t3 = $async$self.$this, _i = 0;
  73538. case 2:
  73539. // for condition
  73540. if (!(_i < t2)) {
  73541. // goto after for
  73542. $async$goto = 4;
  73543. break;
  73544. }
  73545. $async$goto = 5;
  73546. return A._asyncAwait(t1[_i].accept$1(t3), $async$call$0);
  73547. case 5:
  73548. // returning from await.
  73549. case 3:
  73550. // for update
  73551. ++_i;
  73552. // goto for condition
  73553. $async$goto = 2;
  73554. break;
  73555. case 4:
  73556. // after for
  73557. // implicit return
  73558. return A._asyncReturn(null, $async$completer);
  73559. }
  73560. });
  73561. return A._asyncStartSync($async$call$0, $async$completer);
  73562. },
  73563. $signature: 2
  73564. };
  73565. A._EvaluateVisitor_visitAtRootRule_closure2.prototype = {
  73566. call$0() {
  73567. var $async$goto = 0,
  73568. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  73569. $async$self = this, t1, t2, t3, _i;
  73570. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  73571. if ($async$errorCode === 1)
  73572. return A._asyncRethrow($async$result, $async$completer);
  73573. while (true)
  73574. switch ($async$goto) {
  73575. case 0:
  73576. // Function start
  73577. t1 = $async$self.node.children, t2 = t1.length, t3 = $async$self.$this, _i = 0;
  73578. case 2:
  73579. // for condition
  73580. if (!(_i < t2)) {
  73581. // goto after for
  73582. $async$goto = 4;
  73583. break;
  73584. }
  73585. $async$goto = 5;
  73586. return A._asyncAwait(t1[_i].accept$1(t3), $async$call$0);
  73587. case 5:
  73588. // returning from await.
  73589. case 3:
  73590. // for update
  73591. ++_i;
  73592. // goto for condition
  73593. $async$goto = 2;
  73594. break;
  73595. case 4:
  73596. // after for
  73597. // implicit return
  73598. return A._asyncReturn(null, $async$completer);
  73599. }
  73600. });
  73601. return A._asyncStartSync($async$call$0, $async$completer);
  73602. },
  73603. $signature: 32
  73604. };
  73605. A._EvaluateVisitor__scopeForAtRoot_closure5.prototype = {
  73606. call$1(callback) {
  73607. return this.$call$body$_EvaluateVisitor__scopeForAtRoot_closure2(callback);
  73608. },
  73609. $call$body$_EvaluateVisitor__scopeForAtRoot_closure2(callback) {
  73610. var $async$goto = 0,
  73611. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  73612. $async$self = this, t1, oldParent;
  73613. var $async$call$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  73614. if ($async$errorCode === 1)
  73615. return A._asyncRethrow($async$result, $async$completer);
  73616. while (true)
  73617. switch ($async$goto) {
  73618. case 0:
  73619. // Function start
  73620. t1 = $async$self.$this;
  73621. oldParent = t1._async_evaluate$_assertInModule$2(t1._async_evaluate$__parent, "__parent");
  73622. t1._async_evaluate$__parent = $async$self.newParent;
  73623. $async$goto = 2;
  73624. return A._asyncAwait(t1._async_evaluate$_environment.scope$1$2$when(callback, $async$self.node.hasDeclarations, type$.void), $async$call$1);
  73625. case 2:
  73626. // returning from await.
  73627. t1._async_evaluate$__parent = oldParent;
  73628. // implicit return
  73629. return A._asyncReturn(null, $async$completer);
  73630. }
  73631. });
  73632. return A._asyncStartSync($async$call$1, $async$completer);
  73633. },
  73634. $signature: 40
  73635. };
  73636. A._EvaluateVisitor__scopeForAtRoot_closure6.prototype = {
  73637. call$1(callback) {
  73638. return this.$call$body$_EvaluateVisitor__scopeForAtRoot_closure1(callback);
  73639. },
  73640. $call$body$_EvaluateVisitor__scopeForAtRoot_closure1(callback) {
  73641. var $async$goto = 0,
  73642. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  73643. $async$self = this, t1, oldAtRootExcludingStyleRule;
  73644. var $async$call$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  73645. if ($async$errorCode === 1)
  73646. return A._asyncRethrow($async$result, $async$completer);
  73647. while (true)
  73648. switch ($async$goto) {
  73649. case 0:
  73650. // Function start
  73651. t1 = $async$self.$this;
  73652. oldAtRootExcludingStyleRule = t1._async_evaluate$_atRootExcludingStyleRule;
  73653. t1._async_evaluate$_atRootExcludingStyleRule = true;
  73654. $async$goto = 2;
  73655. return A._asyncAwait($async$self.innerScope.call$1(callback), $async$call$1);
  73656. case 2:
  73657. // returning from await.
  73658. t1._async_evaluate$_atRootExcludingStyleRule = oldAtRootExcludingStyleRule;
  73659. // implicit return
  73660. return A._asyncReturn(null, $async$completer);
  73661. }
  73662. });
  73663. return A._asyncStartSync($async$call$1, $async$completer);
  73664. },
  73665. $signature: 40
  73666. };
  73667. A._EvaluateVisitor__scopeForAtRoot_closure7.prototype = {
  73668. call$1(callback) {
  73669. return this.$this._async_evaluate$_withMediaQueries$1$3(null, null, new A._EvaluateVisitor__scopeForAtRoot__closure0(this.innerScope, callback), type$.Null);
  73670. },
  73671. $signature: 40
  73672. };
  73673. A._EvaluateVisitor__scopeForAtRoot__closure0.prototype = {
  73674. call$0() {
  73675. return this.innerScope.call$1(this.callback);
  73676. },
  73677. $signature: 2
  73678. };
  73679. A._EvaluateVisitor__scopeForAtRoot_closure8.prototype = {
  73680. call$1(callback) {
  73681. return this.$call$body$_EvaluateVisitor__scopeForAtRoot_closure0(callback);
  73682. },
  73683. $call$body$_EvaluateVisitor__scopeForAtRoot_closure0(callback) {
  73684. var $async$goto = 0,
  73685. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  73686. $async$self = this, t1, wasInKeyframes;
  73687. var $async$call$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  73688. if ($async$errorCode === 1)
  73689. return A._asyncRethrow($async$result, $async$completer);
  73690. while (true)
  73691. switch ($async$goto) {
  73692. case 0:
  73693. // Function start
  73694. t1 = $async$self.$this;
  73695. wasInKeyframes = t1._async_evaluate$_inKeyframes;
  73696. t1._async_evaluate$_inKeyframes = false;
  73697. $async$goto = 2;
  73698. return A._asyncAwait($async$self.innerScope.call$1(callback), $async$call$1);
  73699. case 2:
  73700. // returning from await.
  73701. t1._async_evaluate$_inKeyframes = wasInKeyframes;
  73702. // implicit return
  73703. return A._asyncReturn(null, $async$completer);
  73704. }
  73705. });
  73706. return A._asyncStartSync($async$call$1, $async$completer);
  73707. },
  73708. $signature: 40
  73709. };
  73710. A._EvaluateVisitor__scopeForAtRoot_closure9.prototype = {
  73711. call$1($parent) {
  73712. return $parent instanceof A.ModifiableCssAtRule;
  73713. },
  73714. $signature: 172
  73715. };
  73716. A._EvaluateVisitor__scopeForAtRoot_closure10.prototype = {
  73717. call$1(callback) {
  73718. return this.$call$body$_EvaluateVisitor__scopeForAtRoot_closure(callback);
  73719. },
  73720. $call$body$_EvaluateVisitor__scopeForAtRoot_closure(callback) {
  73721. var $async$goto = 0,
  73722. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  73723. $async$self = this, t1, wasInUnknownAtRule;
  73724. var $async$call$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  73725. if ($async$errorCode === 1)
  73726. return A._asyncRethrow($async$result, $async$completer);
  73727. while (true)
  73728. switch ($async$goto) {
  73729. case 0:
  73730. // Function start
  73731. t1 = $async$self.$this;
  73732. wasInUnknownAtRule = t1._async_evaluate$_inUnknownAtRule;
  73733. t1._async_evaluate$_inUnknownAtRule = false;
  73734. $async$goto = 2;
  73735. return A._asyncAwait($async$self.innerScope.call$1(callback), $async$call$1);
  73736. case 2:
  73737. // returning from await.
  73738. t1._async_evaluate$_inUnknownAtRule = wasInUnknownAtRule;
  73739. // implicit return
  73740. return A._asyncReturn(null, $async$completer);
  73741. }
  73742. });
  73743. return A._asyncStartSync($async$call$1, $async$completer);
  73744. },
  73745. $signature: 40
  73746. };
  73747. A._EvaluateVisitor_visitContentRule_closure0.prototype = {
  73748. call$0() {
  73749. var $async$goto = 0,
  73750. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  73751. $async$returnValue, $async$self = this, t1, t2, t3, _i;
  73752. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  73753. if ($async$errorCode === 1)
  73754. return A._asyncRethrow($async$result, $async$completer);
  73755. while (true)
  73756. switch ($async$goto) {
  73757. case 0:
  73758. // Function start
  73759. t1 = $async$self.content.declaration.children, t2 = t1.length, t3 = $async$self.$this, _i = 0;
  73760. case 3:
  73761. // for condition
  73762. if (!(_i < t2)) {
  73763. // goto after for
  73764. $async$goto = 5;
  73765. break;
  73766. }
  73767. $async$goto = 6;
  73768. return A._asyncAwait(t1[_i].accept$1(t3), $async$call$0);
  73769. case 6:
  73770. // returning from await.
  73771. case 4:
  73772. // for update
  73773. ++_i;
  73774. // goto for condition
  73775. $async$goto = 3;
  73776. break;
  73777. case 5:
  73778. // after for
  73779. $async$returnValue = null;
  73780. // goto return
  73781. $async$goto = 1;
  73782. break;
  73783. case 1:
  73784. // return
  73785. return A._asyncReturn($async$returnValue, $async$completer);
  73786. }
  73787. });
  73788. return A._asyncStartSync($async$call$0, $async$completer);
  73789. },
  73790. $signature: 2
  73791. };
  73792. A._EvaluateVisitor_visitDeclaration_closure0.prototype = {
  73793. call$0() {
  73794. var $async$goto = 0,
  73795. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  73796. $async$self = this, t1, t2, t3, _i;
  73797. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  73798. if ($async$errorCode === 1)
  73799. return A._asyncRethrow($async$result, $async$completer);
  73800. while (true)
  73801. switch ($async$goto) {
  73802. case 0:
  73803. // Function start
  73804. t1 = $async$self._box_0.children, t2 = t1.length, t3 = $async$self.$this, _i = 0;
  73805. case 2:
  73806. // for condition
  73807. if (!(_i < t2)) {
  73808. // goto after for
  73809. $async$goto = 4;
  73810. break;
  73811. }
  73812. $async$goto = 5;
  73813. return A._asyncAwait(t1[_i].accept$1(t3), $async$call$0);
  73814. case 5:
  73815. // returning from await.
  73816. case 3:
  73817. // for update
  73818. ++_i;
  73819. // goto for condition
  73820. $async$goto = 2;
  73821. break;
  73822. case 4:
  73823. // after for
  73824. // implicit return
  73825. return A._asyncReturn(null, $async$completer);
  73826. }
  73827. });
  73828. return A._asyncStartSync($async$call$0, $async$completer);
  73829. },
  73830. $signature: 2
  73831. };
  73832. A._EvaluateVisitor_visitEachRule_closure2.prototype = {
  73833. call$1(value) {
  73834. var t1 = this.$this,
  73835. t2 = this.nodeWithSpan;
  73836. return t1._async_evaluate$_environment.setLocalVariable$3(this._box_0.variable, t1._async_evaluate$_withoutSlash$2(value, t2), t2);
  73837. },
  73838. $signature: 62
  73839. };
  73840. A._EvaluateVisitor_visitEachRule_closure3.prototype = {
  73841. call$1(value) {
  73842. return this.$this._async_evaluate$_setMultipleVariables$3(this._box_1.variables, value, this.nodeWithSpan);
  73843. },
  73844. $signature: 62
  73845. };
  73846. A._EvaluateVisitor_visitEachRule_closure4.prototype = {
  73847. call$0() {
  73848. var _this = this,
  73849. t1 = _this.$this;
  73850. return t1._async_evaluate$_handleReturn$2(_this.list.get$asList(), new A._EvaluateVisitor_visitEachRule__closure0(t1, _this.setVariables, _this.node));
  73851. },
  73852. $signature: 79
  73853. };
  73854. A._EvaluateVisitor_visitEachRule__closure0.prototype = {
  73855. call$1(element) {
  73856. var t1;
  73857. this.setVariables.call$1(element);
  73858. t1 = this.$this;
  73859. return t1._async_evaluate$_handleReturn$2(this.node.children, new A._EvaluateVisitor_visitEachRule___closure0(t1));
  73860. },
  73861. $signature: 674
  73862. };
  73863. A._EvaluateVisitor_visitEachRule___closure0.prototype = {
  73864. call$1(child) {
  73865. return child.accept$1(this.$this);
  73866. },
  73867. $signature: 106
  73868. };
  73869. A._EvaluateVisitor_visitAtRule_closure2.prototype = {
  73870. call$1(value) {
  73871. return this.$this._async_evaluate$_interpolationToValue$3$trim$warnForColor(value, true, true);
  73872. },
  73873. $signature: 424
  73874. };
  73875. A._EvaluateVisitor_visitAtRule_closure3.prototype = {
  73876. call$0() {
  73877. var $async$goto = 0,
  73878. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  73879. $async$self = this, t2, t3, _i, t1, styleRule;
  73880. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  73881. if ($async$errorCode === 1)
  73882. return A._asyncRethrow($async$result, $async$completer);
  73883. while (true)
  73884. switch ($async$goto) {
  73885. case 0:
  73886. // Function start
  73887. t1 = $async$self.$this;
  73888. styleRule = t1._async_evaluate$_atRootExcludingStyleRule ? null : t1._async_evaluate$_styleRuleIgnoringAtRoot;
  73889. $async$goto = styleRule == null || t1._async_evaluate$_inKeyframes || J.$eq$($async$self.name.value, "font-face") ? 2 : 4;
  73890. break;
  73891. case 2:
  73892. // then
  73893. t2 = $async$self.children, t3 = t2.length, _i = 0;
  73894. case 5:
  73895. // for condition
  73896. if (!(_i < t3)) {
  73897. // goto after for
  73898. $async$goto = 7;
  73899. break;
  73900. }
  73901. $async$goto = 8;
  73902. return A._asyncAwait(t2[_i].accept$1(t1), $async$call$0);
  73903. case 8:
  73904. // returning from await.
  73905. case 6:
  73906. // for update
  73907. ++_i;
  73908. // goto for condition
  73909. $async$goto = 5;
  73910. break;
  73911. case 7:
  73912. // after for
  73913. // goto join
  73914. $async$goto = 3;
  73915. break;
  73916. case 4:
  73917. // else
  73918. $async$goto = 9;
  73919. 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);
  73920. case 9:
  73921. // returning from await.
  73922. case 3:
  73923. // join
  73924. // implicit return
  73925. return A._asyncReturn(null, $async$completer);
  73926. }
  73927. });
  73928. return A._asyncStartSync($async$call$0, $async$completer);
  73929. },
  73930. $signature: 2
  73931. };
  73932. A._EvaluateVisitor_visitAtRule__closure0.prototype = {
  73933. call$0() {
  73934. var $async$goto = 0,
  73935. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  73936. $async$self = this, t1, t2, t3, _i;
  73937. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  73938. if ($async$errorCode === 1)
  73939. return A._asyncRethrow($async$result, $async$completer);
  73940. while (true)
  73941. switch ($async$goto) {
  73942. case 0:
  73943. // Function start
  73944. t1 = $async$self.children, t2 = t1.length, t3 = $async$self.$this, _i = 0;
  73945. case 2:
  73946. // for condition
  73947. if (!(_i < t2)) {
  73948. // goto after for
  73949. $async$goto = 4;
  73950. break;
  73951. }
  73952. $async$goto = 5;
  73953. return A._asyncAwait(t1[_i].accept$1(t3), $async$call$0);
  73954. case 5:
  73955. // returning from await.
  73956. case 3:
  73957. // for update
  73958. ++_i;
  73959. // goto for condition
  73960. $async$goto = 2;
  73961. break;
  73962. case 4:
  73963. // after for
  73964. // implicit return
  73965. return A._asyncReturn(null, $async$completer);
  73966. }
  73967. });
  73968. return A._asyncStartSync($async$call$0, $async$completer);
  73969. },
  73970. $signature: 2
  73971. };
  73972. A._EvaluateVisitor_visitAtRule_closure4.prototype = {
  73973. call$1(node) {
  73974. return node instanceof A.ModifiableCssStyleRule;
  73975. },
  73976. $signature: 7
  73977. };
  73978. A._EvaluateVisitor_visitForRule_closure4.prototype = {
  73979. call$0() {
  73980. var $async$goto = 0,
  73981. $async$completer = A._makeAsyncAwaitCompleter(type$.SassNumber),
  73982. $async$returnValue, $async$self = this;
  73983. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  73984. if ($async$errorCode === 1)
  73985. return A._asyncRethrow($async$result, $async$completer);
  73986. while (true)
  73987. switch ($async$goto) {
  73988. case 0:
  73989. // Function start
  73990. $async$goto = 3;
  73991. return A._asyncAwait($async$self.node.from.accept$1($async$self.$this), $async$call$0);
  73992. case 3:
  73993. // returning from await.
  73994. $async$returnValue = $async$result.assertNumber$0();
  73995. // goto return
  73996. $async$goto = 1;
  73997. break;
  73998. case 1:
  73999. // return
  74000. return A._asyncReturn($async$returnValue, $async$completer);
  74001. }
  74002. });
  74003. return A._asyncStartSync($async$call$0, $async$completer);
  74004. },
  74005. $signature: 176
  74006. };
  74007. A._EvaluateVisitor_visitForRule_closure5.prototype = {
  74008. call$0() {
  74009. var $async$goto = 0,
  74010. $async$completer = A._makeAsyncAwaitCompleter(type$.SassNumber),
  74011. $async$returnValue, $async$self = this;
  74012. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  74013. if ($async$errorCode === 1)
  74014. return A._asyncRethrow($async$result, $async$completer);
  74015. while (true)
  74016. switch ($async$goto) {
  74017. case 0:
  74018. // Function start
  74019. $async$goto = 3;
  74020. return A._asyncAwait($async$self.node.to.accept$1($async$self.$this), $async$call$0);
  74021. case 3:
  74022. // returning from await.
  74023. $async$returnValue = $async$result.assertNumber$0();
  74024. // goto return
  74025. $async$goto = 1;
  74026. break;
  74027. case 1:
  74028. // return
  74029. return A._asyncReturn($async$returnValue, $async$completer);
  74030. }
  74031. });
  74032. return A._asyncStartSync($async$call$0, $async$completer);
  74033. },
  74034. $signature: 176
  74035. };
  74036. A._EvaluateVisitor_visitForRule_closure6.prototype = {
  74037. call$0() {
  74038. return this.fromNumber.assertInt$0();
  74039. },
  74040. $signature: 10
  74041. };
  74042. A._EvaluateVisitor_visitForRule_closure7.prototype = {
  74043. call$0() {
  74044. var t1 = this.fromNumber;
  74045. return this.toNumber.coerce$2(t1.get$numeratorUnits(t1), t1.get$denominatorUnits(t1)).assertInt$0();
  74046. },
  74047. $signature: 10
  74048. };
  74049. A._EvaluateVisitor_visitForRule_closure8.prototype = {
  74050. call$0() {
  74051. var $async$goto = 0,
  74052. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
  74053. $async$returnValue, $async$self = this, i, t3, t4, t5, t6, t7, t8, _0_0, t1, t2, nodeWithSpan;
  74054. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  74055. if ($async$errorCode === 1)
  74056. return A._asyncRethrow($async$result, $async$completer);
  74057. while (true)
  74058. switch ($async$goto) {
  74059. case 0:
  74060. // Function start
  74061. t1 = $async$self.$this;
  74062. t2 = $async$self.node;
  74063. nodeWithSpan = t1._async_evaluate$_expressionNode$1(t2.from);
  74064. i = $async$self.from, t3 = $async$self._box_0, t4 = $async$self.direction, t5 = t2.variable, t6 = $async$self.fromNumber, t2 = t2.children;
  74065. case 3:
  74066. // for condition
  74067. if (!(i !== t3.to)) {
  74068. // goto after for
  74069. $async$goto = 5;
  74070. break;
  74071. }
  74072. t7 = t1._async_evaluate$_environment;
  74073. t8 = t6.get$numeratorUnits(t6);
  74074. t7.setLocalVariable$3(t5, A.SassNumber_SassNumber$withUnits(i, t6.get$denominatorUnits(t6), t8), nodeWithSpan);
  74075. $async$goto = 6;
  74076. return A._asyncAwait(t1._async_evaluate$_handleReturn$2(t2, new A._EvaluateVisitor_visitForRule__closure0(t1)), $async$call$0);
  74077. case 6:
  74078. // returning from await.
  74079. _0_0 = $async$result;
  74080. if (_0_0 != null) {
  74081. $async$returnValue = _0_0;
  74082. // goto return
  74083. $async$goto = 1;
  74084. break;
  74085. }
  74086. case 4:
  74087. // for update
  74088. i += t4;
  74089. // goto for condition
  74090. $async$goto = 3;
  74091. break;
  74092. case 5:
  74093. // after for
  74094. $async$returnValue = null;
  74095. // goto return
  74096. $async$goto = 1;
  74097. break;
  74098. case 1:
  74099. // return
  74100. return A._asyncReturn($async$returnValue, $async$completer);
  74101. }
  74102. });
  74103. return A._asyncStartSync($async$call$0, $async$completer);
  74104. },
  74105. $signature: 79
  74106. };
  74107. A._EvaluateVisitor_visitForRule__closure0.prototype = {
  74108. call$1(child) {
  74109. return child.accept$1(this.$this);
  74110. },
  74111. $signature: 106
  74112. };
  74113. A._EvaluateVisitor_visitForwardRule_closure1.prototype = {
  74114. call$2(module, firstLoad) {
  74115. if (firstLoad)
  74116. this.$this._async_evaluate$_registerCommentsForModule$1(module);
  74117. this.$this._async_evaluate$_environment.forwardModule$2(module, this.node);
  74118. },
  74119. $signature: 122
  74120. };
  74121. A._EvaluateVisitor_visitForwardRule_closure2.prototype = {
  74122. call$2(module, firstLoad) {
  74123. if (firstLoad)
  74124. this.$this._async_evaluate$_registerCommentsForModule$1(module);
  74125. this.$this._async_evaluate$_environment.forwardModule$2(module, this.node);
  74126. },
  74127. $signature: 122
  74128. };
  74129. A._EvaluateVisitor__registerCommentsForModule_closure0.prototype = {
  74130. call$0() {
  74131. return A._setArrayType([], type$.JSArray_CssComment);
  74132. },
  74133. $signature: 177
  74134. };
  74135. A._EvaluateVisitor_visitIfRule_closure0.prototype = {
  74136. call$1(clause) {
  74137. var t1 = this.$this;
  74138. return t1._async_evaluate$_environment.scope$1$3$semiGlobal$when(new A._EvaluateVisitor_visitIfRule__closure0(t1, clause), true, clause.hasDeclarations, type$.nullable_Value);
  74139. },
  74140. $signature: 447
  74141. };
  74142. A._EvaluateVisitor_visitIfRule__closure0.prototype = {
  74143. call$0() {
  74144. var t1 = this.$this;
  74145. return t1._async_evaluate$_handleReturn$2(this.clause.children, new A._EvaluateVisitor_visitIfRule___closure0(t1));
  74146. },
  74147. $signature: 79
  74148. };
  74149. A._EvaluateVisitor_visitIfRule___closure0.prototype = {
  74150. call$1(child) {
  74151. return child.accept$1(this.$this);
  74152. },
  74153. $signature: 106
  74154. };
  74155. A._EvaluateVisitor__visitDynamicImport_closure0.prototype = {
  74156. call$0() {
  74157. return this.$call$body$_EvaluateVisitor__visitDynamicImport_closure();
  74158. },
  74159. $call$body$_EvaluateVisitor__visitDynamicImport_closure() {
  74160. var $async$goto = 0,
  74161. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  74162. $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;
  74163. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  74164. if ($async$errorCode === 1)
  74165. return A._asyncRethrow($async$result, $async$completer);
  74166. while (true)
  74167. switch ($async$goto) {
  74168. case 0:
  74169. // Function start
  74170. _box_0 = {};
  74171. _box_0.isDependency = _box_0.importer = _box_0.stylesheet = null;
  74172. t1 = $async$self.$this;
  74173. t2 = $async$self.$import;
  74174. $async$goto = 3;
  74175. return A._asyncAwait(t1._async_evaluate$_loadStylesheet$3$forImport(t2.urlString, t2.span, true), $async$call$0);
  74176. case 3:
  74177. // returning from await.
  74178. _0_0 = $async$result;
  74179. stylesheet = _box_0.stylesheet = _0_0._0;
  74180. importer = _0_0._1;
  74181. _box_0.importer = importer;
  74182. isDependency = _0_0._2;
  74183. _box_0.isDependency = isDependency;
  74184. t3 = stylesheet.span;
  74185. url = t3.get$sourceUrl(t3);
  74186. if (url != null) {
  74187. t3 = t1._async_evaluate$_activeModules;
  74188. if (t3.containsKey$1(url)) {
  74189. t2 = A.NullableExtension_andThen(t3.$index(0, url), new A._EvaluateVisitor__visitDynamicImport__closure3(t1));
  74190. throw A.wrapException(t2 == null ? t1._async_evaluate$_exception$1("This file is already being loaded.") : t2);
  74191. }
  74192. t3.$indexSet(0, url, t2);
  74193. }
  74194. t2 = stylesheet._uses;
  74195. t3 = type$.UnmodifiableListView_UseRule;
  74196. $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;
  74197. break;
  74198. case 4:
  74199. // then
  74200. oldImporter = t1._async_evaluate$_importer;
  74201. oldStylesheet = t1._async_evaluate$_assertInModule$2(t1._async_evaluate$__stylesheet, "_stylesheet");
  74202. oldInDependency = t1._async_evaluate$_inDependency;
  74203. t1._async_evaluate$_importer = importer;
  74204. t1._async_evaluate$__stylesheet = stylesheet;
  74205. t1._async_evaluate$_inDependency = isDependency;
  74206. $async$goto = 6;
  74207. return A._asyncAwait(t1.visitStylesheet$1(0, stylesheet), $async$call$0);
  74208. case 6:
  74209. // returning from await.
  74210. t1._async_evaluate$_importer = oldImporter;
  74211. t1._async_evaluate$__stylesheet = oldStylesheet;
  74212. t1._async_evaluate$_inDependency = oldInDependency;
  74213. t1._async_evaluate$_activeModules.remove$1(0, url);
  74214. // goto return
  74215. $async$goto = 1;
  74216. break;
  74217. case 5:
  74218. // join
  74219. t2 = new A.UnmodifiableListView(t2, t3);
  74220. if (!t2.any$1(t2, new A._EvaluateVisitor__visitDynamicImport__closure4())) {
  74221. t2 = new A.UnmodifiableListView(stylesheet._forwards, type$.UnmodifiableListView_ForwardRule);
  74222. loadsUserDefinedModules = t2.any$1(t2, new A._EvaluateVisitor__visitDynamicImport__closure5());
  74223. } else
  74224. loadsUserDefinedModules = true;
  74225. children = A._Cell$();
  74226. t2 = t1._async_evaluate$_environment;
  74227. t3 = type$.String;
  74228. t4 = type$.Module_AsyncCallable;
  74229. t5 = type$.AstNode;
  74230. t6 = A._setArrayType([], type$.JSArray_Module_AsyncCallable);
  74231. t7 = t2._async_environment$_variables;
  74232. t7 = A._setArrayType(t7.slice(0), A._arrayInstanceType(t7));
  74233. t8 = t2._async_environment$_variableNodes;
  74234. t8 = A._setArrayType(t8.slice(0), A._arrayInstanceType(t8));
  74235. t9 = t2._async_environment$_functions;
  74236. t9 = A._setArrayType(t9.slice(0), A._arrayInstanceType(t9));
  74237. t10 = t2._async_environment$_mixins;
  74238. t10 = A._setArrayType(t10.slice(0), A._arrayInstanceType(t10));
  74239. 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, t2._async_environment$_configurableVariables);
  74240. $async$goto = 7;
  74241. 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);
  74242. case 7:
  74243. // returning from await.
  74244. module = environment.toDummyModule$0();
  74245. t1._async_evaluate$_environment.importForwards$1(module);
  74246. $async$goto = loadsUserDefinedModules ? 8 : 9;
  74247. break;
  74248. case 8:
  74249. // then
  74250. $async$goto = module.transitivelyContainsCss ? 10 : 11;
  74251. break;
  74252. case 10:
  74253. // then
  74254. $async$goto = 12;
  74255. return A._asyncAwait(t1._async_evaluate$_combineCss$2$clone(module, module.transitivelyContainsExtensions).accept$1(t1), $async$call$0);
  74256. case 12:
  74257. // returning from await.
  74258. case 11:
  74259. // join
  74260. visitor = new A._ImportedCssVisitor0(t1);
  74261. for (t2 = J.get$iterator$ax(children._readLocal$0()); t2.moveNext$0();)
  74262. t2.get$current(t2).accept$1(visitor);
  74263. case 9:
  74264. // join
  74265. t1._async_evaluate$_activeModules.remove$1(0, url);
  74266. case 1:
  74267. // return
  74268. return A._asyncReturn($async$returnValue, $async$completer);
  74269. }
  74270. });
  74271. return A._asyncStartSync($async$call$0, $async$completer);
  74272. },
  74273. $signature: 32
  74274. };
  74275. A._EvaluateVisitor__visitDynamicImport__closure3.prototype = {
  74276. call$1(previousLoad) {
  74277. 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));
  74278. },
  74279. $signature: 105
  74280. };
  74281. A._EvaluateVisitor__visitDynamicImport__closure4.prototype = {
  74282. call$1(rule) {
  74283. return rule.url.get$scheme() !== "sass";
  74284. },
  74285. $signature: 178
  74286. };
  74287. A._EvaluateVisitor__visitDynamicImport__closure5.prototype = {
  74288. call$1(rule) {
  74289. return rule.url.get$scheme() !== "sass";
  74290. },
  74291. $signature: 179
  74292. };
  74293. A._EvaluateVisitor__visitDynamicImport__closure6.prototype = {
  74294. call$0() {
  74295. var $async$goto = 0,
  74296. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  74297. $async$self = this, t3, t4, t1, oldImporter, oldStylesheet, oldRoot, oldParent, oldEndOfImports, oldOutOfOrderImports, oldConfiguration, oldInDependency, t2;
  74298. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  74299. if ($async$errorCode === 1)
  74300. return A._asyncRethrow($async$result, $async$completer);
  74301. while (true)
  74302. switch ($async$goto) {
  74303. case 0:
  74304. // Function start
  74305. t1 = $async$self.$this;
  74306. oldImporter = t1._async_evaluate$_importer;
  74307. oldStylesheet = t1._async_evaluate$_assertInModule$2(t1._async_evaluate$__stylesheet, "_stylesheet");
  74308. oldRoot = t1._async_evaluate$_assertInModule$2(t1._async_evaluate$__root, "_root");
  74309. oldParent = t1._async_evaluate$_assertInModule$2(t1._async_evaluate$__parent, "__parent");
  74310. oldEndOfImports = t1._async_evaluate$_assertInModule$2(t1._async_evaluate$__endOfImports, "_endOfImports");
  74311. oldOutOfOrderImports = t1._async_evaluate$_outOfOrderImports;
  74312. oldConfiguration = t1._async_evaluate$_configuration;
  74313. oldInDependency = t1._async_evaluate$_inDependency;
  74314. t2 = $async$self._box_0;
  74315. t1._async_evaluate$_importer = t2.importer;
  74316. t3 = t2.stylesheet;
  74317. t1._async_evaluate$__stylesheet = t3;
  74318. t4 = $async$self.loadsUserDefinedModules;
  74319. if (t4) {
  74320. t3 = A.ModifiableCssStylesheet$(t3.span);
  74321. t1._async_evaluate$__root = t3;
  74322. t1._async_evaluate$__parent = t1._async_evaluate$_assertInModule$2(t3, "_root");
  74323. t1._async_evaluate$__endOfImports = 0;
  74324. t1._async_evaluate$_outOfOrderImports = null;
  74325. }
  74326. t1._async_evaluate$_inDependency = t2.isDependency;
  74327. t3 = new A.UnmodifiableListView(t2.stylesheet._forwards, type$.UnmodifiableListView_ForwardRule);
  74328. if (!t3.get$isEmpty(t3))
  74329. t1._async_evaluate$_configuration = $async$self.environment.toImplicitConfiguration$0();
  74330. $async$goto = 2;
  74331. return A._asyncAwait(t1.visitStylesheet$1(0, t2.stylesheet), $async$call$0);
  74332. case 2:
  74333. // returning from await.
  74334. t2 = t4 ? t1._async_evaluate$_addOutOfOrderImports$0() : A._setArrayType([], type$.JSArray_ModifiableCssNode);
  74335. $async$self.children.__late_helper$_value = t2;
  74336. t1._async_evaluate$_importer = oldImporter;
  74337. t1._async_evaluate$__stylesheet = oldStylesheet;
  74338. if (t4) {
  74339. t1._async_evaluate$__root = oldRoot;
  74340. t1._async_evaluate$__parent = oldParent;
  74341. t1._async_evaluate$__endOfImports = oldEndOfImports;
  74342. t1._async_evaluate$_outOfOrderImports = oldOutOfOrderImports;
  74343. }
  74344. t1._async_evaluate$_configuration = oldConfiguration;
  74345. t1._async_evaluate$_inDependency = oldInDependency;
  74346. // implicit return
  74347. return A._asyncReturn(null, $async$completer);
  74348. }
  74349. });
  74350. return A._asyncStartSync($async$call$0, $async$completer);
  74351. },
  74352. $signature: 2
  74353. };
  74354. A._EvaluateVisitor__applyMixin_closure1.prototype = {
  74355. call$0() {
  74356. var $async$goto = 0,
  74357. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  74358. $async$self = this, t1;
  74359. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  74360. if ($async$errorCode === 1)
  74361. return A._asyncRethrow($async$result, $async$completer);
  74362. while (true)
  74363. switch ($async$goto) {
  74364. case 0:
  74365. // Function start
  74366. t1 = $async$self.$this;
  74367. $async$goto = 2;
  74368. 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);
  74369. case 2:
  74370. // returning from await.
  74371. // implicit return
  74372. return A._asyncReturn(null, $async$completer);
  74373. }
  74374. });
  74375. return A._asyncStartSync($async$call$0, $async$completer);
  74376. },
  74377. $signature: 32
  74378. };
  74379. A._EvaluateVisitor__applyMixin__closure2.prototype = {
  74380. call$0() {
  74381. var $async$goto = 0,
  74382. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  74383. $async$self = this;
  74384. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  74385. if ($async$errorCode === 1)
  74386. return A._asyncRethrow($async$result, $async$completer);
  74387. while (true)
  74388. switch ($async$goto) {
  74389. case 0:
  74390. // Function start
  74391. $async$goto = 2;
  74392. return A._asyncAwait($async$self.$this._async_evaluate$_runBuiltInCallable$3($async$self.$arguments, $async$self.mixin, $async$self.nodeWithSpanWithoutContent), $async$call$0);
  74393. case 2:
  74394. // returning from await.
  74395. // implicit return
  74396. return A._asyncReturn(null, $async$completer);
  74397. }
  74398. });
  74399. return A._asyncStartSync($async$call$0, $async$completer);
  74400. },
  74401. $signature: 32
  74402. };
  74403. A._EvaluateVisitor__applyMixin_closure2.prototype = {
  74404. call$0() {
  74405. var $async$goto = 0,
  74406. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  74407. $async$self = this, t1;
  74408. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  74409. if ($async$errorCode === 1)
  74410. return A._asyncRethrow($async$result, $async$completer);
  74411. while (true)
  74412. switch ($async$goto) {
  74413. case 0:
  74414. // Function start
  74415. t1 = $async$self.$this;
  74416. $async$goto = 2;
  74417. 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);
  74418. case 2:
  74419. // returning from await.
  74420. // implicit return
  74421. return A._asyncReturn(null, $async$completer);
  74422. }
  74423. });
  74424. return A._asyncStartSync($async$call$0, $async$completer);
  74425. },
  74426. $signature: 2
  74427. };
  74428. A._EvaluateVisitor__applyMixin__closure1.prototype = {
  74429. call$0() {
  74430. var $async$goto = 0,
  74431. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  74432. $async$self = this, t1;
  74433. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  74434. if ($async$errorCode === 1)
  74435. return A._asyncRethrow($async$result, $async$completer);
  74436. while (true)
  74437. switch ($async$goto) {
  74438. case 0:
  74439. // Function start
  74440. t1 = $async$self.$this;
  74441. $async$goto = 2;
  74442. return A._asyncAwait(t1._async_evaluate$_environment.asMixin$1(new A._EvaluateVisitor__applyMixin___closure0(t1, $async$self.mixin, $async$self.nodeWithSpanWithoutContent)), $async$call$0);
  74443. case 2:
  74444. // returning from await.
  74445. // implicit return
  74446. return A._asyncReturn(null, $async$completer);
  74447. }
  74448. });
  74449. return A._asyncStartSync($async$call$0, $async$completer);
  74450. },
  74451. $signature: 32
  74452. };
  74453. A._EvaluateVisitor__applyMixin___closure0.prototype = {
  74454. call$0() {
  74455. var $async$goto = 0,
  74456. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  74457. $async$self = this, t1, t2, t3, t4, t5, _i;
  74458. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  74459. if ($async$errorCode === 1)
  74460. return A._asyncRethrow($async$result, $async$completer);
  74461. while (true)
  74462. switch ($async$goto) {
  74463. case 0:
  74464. // Function start
  74465. t1 = $async$self.mixin.declaration.children, t2 = t1.length, t3 = $async$self.$this, t4 = $async$self.nodeWithSpanWithoutContent, t5 = type$.nullable_Value, _i = 0;
  74466. case 2:
  74467. // for condition
  74468. if (!(_i < t2)) {
  74469. // goto after for
  74470. $async$goto = 4;
  74471. break;
  74472. }
  74473. $async$goto = 5;
  74474. return A._asyncAwait(t3._async_evaluate$_addErrorSpan$1$2(t4, new A._EvaluateVisitor__applyMixin____closure0(t3, t1[_i]), t5), $async$call$0);
  74475. case 5:
  74476. // returning from await.
  74477. case 3:
  74478. // for update
  74479. ++_i;
  74480. // goto for condition
  74481. $async$goto = 2;
  74482. break;
  74483. case 4:
  74484. // after for
  74485. // implicit return
  74486. return A._asyncReturn(null, $async$completer);
  74487. }
  74488. });
  74489. return A._asyncStartSync($async$call$0, $async$completer);
  74490. },
  74491. $signature: 32
  74492. };
  74493. A._EvaluateVisitor__applyMixin____closure0.prototype = {
  74494. call$0() {
  74495. return this.statement.accept$1(this.$this);
  74496. },
  74497. $signature: 79
  74498. };
  74499. A._EvaluateVisitor_visitIncludeRule_closure2.prototype = {
  74500. call$0() {
  74501. var t1 = this.node;
  74502. return this.$this._async_evaluate$_environment.getMixin$2$namespace(t1.name, t1.namespace);
  74503. },
  74504. $signature: 93
  74505. };
  74506. A._EvaluateVisitor_visitIncludeRule_closure3.prototype = {
  74507. call$1($content) {
  74508. var t1 = this.$this;
  74509. return new A.UserDefinedCallable($content, t1._async_evaluate$_environment.closure$0(), t1._async_evaluate$_inDependency, type$.UserDefinedCallable_AsyncEnvironment);
  74510. },
  74511. $signature: 456
  74512. };
  74513. A._EvaluateVisitor_visitIncludeRule_closure4.prototype = {
  74514. call$0() {
  74515. return this.node.get$spanWithoutContent();
  74516. },
  74517. $signature: 28
  74518. };
  74519. A._EvaluateVisitor_visitMediaRule_closure2.prototype = {
  74520. call$1(mediaQueries) {
  74521. return this.$this._async_evaluate$_mergeMediaQueries$2(mediaQueries, this.queries);
  74522. },
  74523. $signature: 101
  74524. };
  74525. A._EvaluateVisitor_visitMediaRule_closure3.prototype = {
  74526. call$0() {
  74527. var $async$goto = 0,
  74528. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  74529. $async$self = this, t1, t2;
  74530. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  74531. if ($async$errorCode === 1)
  74532. return A._asyncRethrow($async$result, $async$completer);
  74533. while (true)
  74534. switch ($async$goto) {
  74535. case 0:
  74536. // Function start
  74537. t1 = $async$self.$this;
  74538. t2 = $async$self.mergedQueries;
  74539. if (t2 == null)
  74540. t2 = $async$self.queries;
  74541. $async$goto = 2;
  74542. 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);
  74543. case 2:
  74544. // returning from await.
  74545. // implicit return
  74546. return A._asyncReturn(null, $async$completer);
  74547. }
  74548. });
  74549. return A._asyncStartSync($async$call$0, $async$completer);
  74550. },
  74551. $signature: 2
  74552. };
  74553. A._EvaluateVisitor_visitMediaRule__closure0.prototype = {
  74554. call$0() {
  74555. var $async$goto = 0,
  74556. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  74557. $async$self = this, t2, t3, _i, t1, _0_0;
  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. _0_0 = t1._async_evaluate$_atRootExcludingStyleRule ? null : t1._async_evaluate$_styleRuleIgnoringAtRoot;
  74567. $async$goto = _0_0 != null ? 2 : 4;
  74568. break;
  74569. case 2:
  74570. // then
  74571. $async$goto = 5;
  74572. 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);
  74573. case 5:
  74574. // returning from await.
  74575. // goto join
  74576. $async$goto = 3;
  74577. break;
  74578. case 4:
  74579. // else
  74580. t2 = $async$self.node.children, t3 = t2.length, _i = 0;
  74581. case 6:
  74582. // for condition
  74583. if (!(_i < t3)) {
  74584. // goto after for
  74585. $async$goto = 8;
  74586. break;
  74587. }
  74588. $async$goto = 9;
  74589. return A._asyncAwait(t2[_i].accept$1(t1), $async$call$0);
  74590. case 9:
  74591. // returning from await.
  74592. case 7:
  74593. // for update
  74594. ++_i;
  74595. // goto for condition
  74596. $async$goto = 6;
  74597. break;
  74598. case 8:
  74599. // after for
  74600. case 3:
  74601. // join
  74602. // implicit return
  74603. return A._asyncReturn(null, $async$completer);
  74604. }
  74605. });
  74606. return A._asyncStartSync($async$call$0, $async$completer);
  74607. },
  74608. $signature: 2
  74609. };
  74610. A._EvaluateVisitor_visitMediaRule___closure0.prototype = {
  74611. call$0() {
  74612. var $async$goto = 0,
  74613. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  74614. $async$self = this, t1, t2, t3, _i;
  74615. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  74616. if ($async$errorCode === 1)
  74617. return A._asyncRethrow($async$result, $async$completer);
  74618. while (true)
  74619. switch ($async$goto) {
  74620. case 0:
  74621. // Function start
  74622. t1 = $async$self.node.children, t2 = t1.length, t3 = $async$self.$this, _i = 0;
  74623. case 2:
  74624. // for condition
  74625. if (!(_i < t2)) {
  74626. // goto after for
  74627. $async$goto = 4;
  74628. break;
  74629. }
  74630. $async$goto = 5;
  74631. return A._asyncAwait(t1[_i].accept$1(t3), $async$call$0);
  74632. case 5:
  74633. // returning from await.
  74634. case 3:
  74635. // for update
  74636. ++_i;
  74637. // goto for condition
  74638. $async$goto = 2;
  74639. break;
  74640. case 4:
  74641. // after for
  74642. // implicit return
  74643. return A._asyncReturn(null, $async$completer);
  74644. }
  74645. });
  74646. return A._asyncStartSync($async$call$0, $async$completer);
  74647. },
  74648. $signature: 2
  74649. };
  74650. A._EvaluateVisitor_visitMediaRule_closure4.prototype = {
  74651. call$1(node) {
  74652. var t1;
  74653. if (!(node instanceof A.ModifiableCssStyleRule)) {
  74654. t1 = this.mergedSources;
  74655. t1 = t1.get$isNotEmpty(t1) && node instanceof A.ModifiableCssMediaRule && B.JSArray_methods.every$1(node.queries, t1.get$contains(t1));
  74656. } else
  74657. t1 = true;
  74658. return t1;
  74659. },
  74660. $signature: 7
  74661. };
  74662. A._EvaluateVisitor_visitStyleRule_closure3.prototype = {
  74663. call$0() {
  74664. var $async$goto = 0,
  74665. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  74666. $async$self = this, t1, t2, t3, _i;
  74667. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  74668. if ($async$errorCode === 1)
  74669. return A._asyncRethrow($async$result, $async$completer);
  74670. while (true)
  74671. switch ($async$goto) {
  74672. case 0:
  74673. // Function start
  74674. t1 = $async$self.node.children, t2 = t1.length, t3 = $async$self.$this, _i = 0;
  74675. case 2:
  74676. // for condition
  74677. if (!(_i < t2)) {
  74678. // goto after for
  74679. $async$goto = 4;
  74680. break;
  74681. }
  74682. $async$goto = 5;
  74683. return A._asyncAwait(t1[_i].accept$1(t3), $async$call$0);
  74684. case 5:
  74685. // returning from await.
  74686. case 3:
  74687. // for update
  74688. ++_i;
  74689. // goto for condition
  74690. $async$goto = 2;
  74691. break;
  74692. case 4:
  74693. // after for
  74694. // implicit return
  74695. return A._asyncReturn(null, $async$completer);
  74696. }
  74697. });
  74698. return A._asyncStartSync($async$call$0, $async$completer);
  74699. },
  74700. $signature: 2
  74701. };
  74702. A._EvaluateVisitor_visitStyleRule_closure4.prototype = {
  74703. call$1(node) {
  74704. return node instanceof A.ModifiableCssStyleRule;
  74705. },
  74706. $signature: 7
  74707. };
  74708. A._EvaluateVisitor_visitStyleRule_closure6.prototype = {
  74709. call$0() {
  74710. var $async$goto = 0,
  74711. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  74712. $async$self = this, t1;
  74713. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  74714. if ($async$errorCode === 1)
  74715. return A._asyncRethrow($async$result, $async$completer);
  74716. while (true)
  74717. switch ($async$goto) {
  74718. case 0:
  74719. // Function start
  74720. t1 = $async$self.$this;
  74721. $async$goto = 2;
  74722. 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);
  74723. case 2:
  74724. // returning from await.
  74725. // implicit return
  74726. return A._asyncReturn(null, $async$completer);
  74727. }
  74728. });
  74729. return A._asyncStartSync($async$call$0, $async$completer);
  74730. },
  74731. $signature: 2
  74732. };
  74733. A._EvaluateVisitor_visitStyleRule__closure0.prototype = {
  74734. call$0() {
  74735. var $async$goto = 0,
  74736. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  74737. $async$self = this, t1, t2, t3, _i;
  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.node.children, t2 = t1.length, t3 = $async$self.$this, _i = 0;
  74746. case 2:
  74747. // for condition
  74748. if (!(_i < t2)) {
  74749. // goto after for
  74750. $async$goto = 4;
  74751. break;
  74752. }
  74753. $async$goto = 5;
  74754. return A._asyncAwait(t1[_i].accept$1(t3), $async$call$0);
  74755. case 5:
  74756. // returning from await.
  74757. case 3:
  74758. // for update
  74759. ++_i;
  74760. // goto for condition
  74761. $async$goto = 2;
  74762. break;
  74763. case 4:
  74764. // after for
  74765. // implicit return
  74766. return A._asyncReturn(null, $async$completer);
  74767. }
  74768. });
  74769. return A._asyncStartSync($async$call$0, $async$completer);
  74770. },
  74771. $signature: 2
  74772. };
  74773. A._EvaluateVisitor_visitStyleRule_closure5.prototype = {
  74774. call$1(node) {
  74775. return node instanceof A.ModifiableCssStyleRule;
  74776. },
  74777. $signature: 7
  74778. };
  74779. A._EvaluateVisitor__warnForBogusCombinators_closure0.prototype = {
  74780. call$1(child) {
  74781. return child instanceof A.ModifiableCssComment;
  74782. },
  74783. $signature: 7
  74784. };
  74785. A._EvaluateVisitor_visitSupportsRule_closure1.prototype = {
  74786. call$0() {
  74787. var $async$goto = 0,
  74788. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  74789. $async$self = this, t2, t3, _i, t1, _0_0;
  74790. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  74791. if ($async$errorCode === 1)
  74792. return A._asyncRethrow($async$result, $async$completer);
  74793. while (true)
  74794. switch ($async$goto) {
  74795. case 0:
  74796. // Function start
  74797. t1 = $async$self.$this;
  74798. _0_0 = t1._async_evaluate$_atRootExcludingStyleRule ? null : t1._async_evaluate$_styleRuleIgnoringAtRoot;
  74799. $async$goto = _0_0 != null ? 2 : 4;
  74800. break;
  74801. case 2:
  74802. // then
  74803. $async$goto = 5;
  74804. 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);
  74805. case 5:
  74806. // returning from await.
  74807. // goto join
  74808. $async$goto = 3;
  74809. break;
  74810. case 4:
  74811. // else
  74812. t2 = $async$self.node.children, t3 = t2.length, _i = 0;
  74813. case 6:
  74814. // for condition
  74815. if (!(_i < t3)) {
  74816. // goto after for
  74817. $async$goto = 8;
  74818. break;
  74819. }
  74820. $async$goto = 9;
  74821. return A._asyncAwait(t2[_i].accept$1(t1), $async$call$0);
  74822. case 9:
  74823. // returning from await.
  74824. case 7:
  74825. // for update
  74826. ++_i;
  74827. // goto for condition
  74828. $async$goto = 6;
  74829. break;
  74830. case 8:
  74831. // after for
  74832. case 3:
  74833. // join
  74834. // implicit return
  74835. return A._asyncReturn(null, $async$completer);
  74836. }
  74837. });
  74838. return A._asyncStartSync($async$call$0, $async$completer);
  74839. },
  74840. $signature: 2
  74841. };
  74842. A._EvaluateVisitor_visitSupportsRule__closure0.prototype = {
  74843. call$0() {
  74844. var $async$goto = 0,
  74845. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  74846. $async$self = this, t1, t2, t3, _i;
  74847. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  74848. if ($async$errorCode === 1)
  74849. return A._asyncRethrow($async$result, $async$completer);
  74850. while (true)
  74851. switch ($async$goto) {
  74852. case 0:
  74853. // Function start
  74854. t1 = $async$self.node.children, t2 = t1.length, t3 = $async$self.$this, _i = 0;
  74855. case 2:
  74856. // for condition
  74857. if (!(_i < t2)) {
  74858. // goto after for
  74859. $async$goto = 4;
  74860. break;
  74861. }
  74862. $async$goto = 5;
  74863. return A._asyncAwait(t1[_i].accept$1(t3), $async$call$0);
  74864. case 5:
  74865. // returning from await.
  74866. case 3:
  74867. // for update
  74868. ++_i;
  74869. // goto for condition
  74870. $async$goto = 2;
  74871. break;
  74872. case 4:
  74873. // after for
  74874. // implicit return
  74875. return A._asyncReturn(null, $async$completer);
  74876. }
  74877. });
  74878. return A._asyncStartSync($async$call$0, $async$completer);
  74879. },
  74880. $signature: 2
  74881. };
  74882. A._EvaluateVisitor_visitSupportsRule_closure2.prototype = {
  74883. call$1(node) {
  74884. return node instanceof A.ModifiableCssStyleRule;
  74885. },
  74886. $signature: 7
  74887. };
  74888. A._EvaluateVisitor__visitSupportsCondition_closure0.prototype = {
  74889. call$0() {
  74890. var $async$goto = 0,
  74891. $async$completer = A._makeAsyncAwaitCompleter(type$.String),
  74892. $async$returnValue, $async$self = this, t1, t2, t3, t4, $async$temp1, $async$temp2;
  74893. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  74894. if ($async$errorCode === 1)
  74895. return A._asyncRethrow($async$result, $async$completer);
  74896. while (true)
  74897. switch ($async$goto) {
  74898. case 0:
  74899. // Function start
  74900. t1 = $async$self.$this;
  74901. t2 = $async$self._box_0;
  74902. $async$temp1 = A;
  74903. $async$goto = 3;
  74904. return A._asyncAwait(t1._evaluateToCss$1(t2.declaration.name), $async$call$0);
  74905. case 3:
  74906. // returning from await.
  74907. t3 = $async$temp1.S($async$result);
  74908. t4 = t2.declaration.get$isCustomProperty() ? "" : " ";
  74909. $async$temp1 = "(" + t3 + ":" + t4;
  74910. $async$temp2 = A;
  74911. $async$goto = 4;
  74912. return A._asyncAwait(t1._evaluateToCss$1(t2.declaration.value), $async$call$0);
  74913. case 4:
  74914. // returning from await.
  74915. $async$returnValue = $async$temp1 + $async$temp2.S($async$result) + ")";
  74916. // goto return
  74917. $async$goto = 1;
  74918. break;
  74919. case 1:
  74920. // return
  74921. return A._asyncReturn($async$returnValue, $async$completer);
  74922. }
  74923. });
  74924. return A._asyncStartSync($async$call$0, $async$completer);
  74925. },
  74926. $signature: 181
  74927. };
  74928. A._EvaluateVisitor_visitVariableDeclaration_closure2.prototype = {
  74929. call$0() {
  74930. var t1 = this.$this._async_evaluate$_environment,
  74931. t2 = this._box_0.override;
  74932. t1.setVariable$4$global(this.node.name, t2.value, t2.assignmentNode, true);
  74933. },
  74934. $signature: 1
  74935. };
  74936. A._EvaluateVisitor_visitVariableDeclaration_closure3.prototype = {
  74937. call$0() {
  74938. var t1 = this.node;
  74939. return this.$this._async_evaluate$_environment.getVariable$2$namespace(t1.name, t1.namespace);
  74940. },
  74941. $signature: 42
  74942. };
  74943. A._EvaluateVisitor_visitVariableDeclaration_closure4.prototype = {
  74944. call$0() {
  74945. var t1 = this.$this,
  74946. t2 = this.node;
  74947. t1._async_evaluate$_environment.setVariable$5$global$namespace(t2.name, this.value, t1._async_evaluate$_expressionNode$1(t2.expression), t2.isGlobal, t2.namespace);
  74948. },
  74949. $signature: 1
  74950. };
  74951. A._EvaluateVisitor_visitUseRule_closure0.prototype = {
  74952. call$2(module, firstLoad) {
  74953. var t1, t2, t3, _0_0, t4, t5, span;
  74954. if (firstLoad)
  74955. this.$this._async_evaluate$_registerCommentsForModule$1(module);
  74956. t1 = this.$this._async_evaluate$_environment;
  74957. t2 = this.node;
  74958. t3 = t2.namespace;
  74959. if (t3 == null) {
  74960. t1._async_environment$_globalModules.$indexSet(0, module, t2);
  74961. t1._async_environment$_allModules.push(module);
  74962. _0_0 = A.IterableExtension_firstWhereOrNull(J.get$keys$z(B.JSArray_methods.get$first(t1._async_environment$_variables)), module.get$variables().get$containsKey());
  74963. if (_0_0 != null)
  74964. A.throwExpression(A.SassScriptException$(string$.This_ma + _0_0 + '".', null));
  74965. } else {
  74966. t4 = t1._async_environment$_modules;
  74967. if (t4.containsKey$1(t3)) {
  74968. t5 = t1._async_environment$_namespaceNodes.$index(0, t3);
  74969. span = t5 == null ? null : t5.span;
  74970. t5 = A.LinkedHashMap_LinkedHashMap$_empty(type$.FileSpan, type$.String);
  74971. if (span != null)
  74972. t5.$indexSet(0, span, "original @use");
  74973. A.throwExpression(A.MultiSpanSassScriptException$(string$.There_ + t3 + '".', "new @use", t5));
  74974. }
  74975. t4.$indexSet(0, t3, module);
  74976. t1._async_environment$_namespaceNodes.$indexSet(0, t3, t2);
  74977. t1._async_environment$_allModules.push(module);
  74978. }
  74979. },
  74980. $signature: 122
  74981. };
  74982. A._EvaluateVisitor_visitWarnRule_closure0.prototype = {
  74983. call$0() {
  74984. return this.node.expression.accept$1(this.$this);
  74985. },
  74986. $signature: 70
  74987. };
  74988. A._EvaluateVisitor_visitWhileRule_closure0.prototype = {
  74989. call$0() {
  74990. var $async$goto = 0,
  74991. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
  74992. $async$returnValue, $async$self = this, t1, t2, t3, _0_0;
  74993. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  74994. if ($async$errorCode === 1)
  74995. return A._asyncRethrow($async$result, $async$completer);
  74996. while (true)
  74997. switch ($async$goto) {
  74998. case 0:
  74999. // Function start
  75000. t1 = $async$self.node, t2 = t1.condition, t3 = $async$self.$this, t1 = t1.children;
  75001. case 3:
  75002. // for condition
  75003. $async$goto = 5;
  75004. return A._asyncAwait(t2.accept$1(t3), $async$call$0);
  75005. case 5:
  75006. // returning from await.
  75007. if (!$async$result.get$isTruthy()) {
  75008. // goto after for
  75009. $async$goto = 4;
  75010. break;
  75011. }
  75012. $async$goto = 6;
  75013. return A._asyncAwait(t3._async_evaluate$_handleReturn$2(t1, new A._EvaluateVisitor_visitWhileRule__closure0(t3)), $async$call$0);
  75014. case 6:
  75015. // returning from await.
  75016. _0_0 = $async$result;
  75017. if (_0_0 != null) {
  75018. $async$returnValue = _0_0;
  75019. // goto return
  75020. $async$goto = 1;
  75021. break;
  75022. }
  75023. // goto for condition
  75024. $async$goto = 3;
  75025. break;
  75026. case 4:
  75027. // after for
  75028. $async$returnValue = null;
  75029. // goto return
  75030. $async$goto = 1;
  75031. break;
  75032. case 1:
  75033. // return
  75034. return A._asyncReturn($async$returnValue, $async$completer);
  75035. }
  75036. });
  75037. return A._asyncStartSync($async$call$0, $async$completer);
  75038. },
  75039. $signature: 79
  75040. };
  75041. A._EvaluateVisitor_visitWhileRule__closure0.prototype = {
  75042. call$1(child) {
  75043. return child.accept$1(this.$this);
  75044. },
  75045. $signature: 106
  75046. };
  75047. A._EvaluateVisitor_visitBinaryOperationExpression_closure0.prototype = {
  75048. call$0() {
  75049. var $async$goto = 0,
  75050. $async$completer = A._makeAsyncAwaitCompleter(type$.Value),
  75051. $async$returnValue, $async$self = this, t3, t1, t2, left, $async$temp1, $async$temp2;
  75052. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  75053. if ($async$errorCode === 1)
  75054. return A._asyncRethrow($async$result, $async$completer);
  75055. while (true)
  75056. switch ($async$goto) {
  75057. case 0:
  75058. // Function start
  75059. t1 = $async$self.node;
  75060. t2 = $async$self.$this;
  75061. $async$goto = 3;
  75062. return A._asyncAwait(t1.left.accept$1(t2), $async$call$0);
  75063. case 3:
  75064. // returning from await.
  75065. left = $async$result;
  75066. case 4:
  75067. // switch
  75068. switch (t1.operator) {
  75069. case B.BinaryOperator_Kyq:
  75070. // goto case
  75071. $async$goto = 6;
  75072. break;
  75073. case B.BinaryOperator_tKu:
  75074. // goto case
  75075. $async$goto = 7;
  75076. break;
  75077. case B.BinaryOperator_uke:
  75078. // goto case
  75079. $async$goto = 8;
  75080. break;
  75081. case B.BinaryOperator_r84:
  75082. // goto case
  75083. $async$goto = 9;
  75084. break;
  75085. case B.BinaryOperator_qGq:
  75086. // goto case
  75087. $async$goto = 10;
  75088. break;
  75089. case B.BinaryOperator_o8O:
  75090. // goto case
  75091. $async$goto = 11;
  75092. break;
  75093. case B.BinaryOperator_JiR:
  75094. // goto case
  75095. $async$goto = 12;
  75096. break;
  75097. case B.BinaryOperator_qHy:
  75098. // goto case
  75099. $async$goto = 13;
  75100. break;
  75101. case B.BinaryOperator_FPG:
  75102. // goto case
  75103. $async$goto = 14;
  75104. break;
  75105. case B.BinaryOperator_Swh:
  75106. // goto case
  75107. $async$goto = 15;
  75108. break;
  75109. case B.BinaryOperator_QG1:
  75110. // goto case
  75111. $async$goto = 16;
  75112. break;
  75113. case B.BinaryOperator_tht:
  75114. // goto case
  75115. $async$goto = 17;
  75116. break;
  75117. case B.BinaryOperator_Mh5:
  75118. // goto case
  75119. $async$goto = 18;
  75120. break;
  75121. case B.BinaryOperator_s7T:
  75122. // goto case
  75123. $async$goto = 19;
  75124. break;
  75125. default:
  75126. // goto default
  75127. $async$goto = 20;
  75128. break;
  75129. }
  75130. break;
  75131. case 6:
  75132. // case
  75133. t1 = t1.right.accept$1(t2);
  75134. $async$goto = 21;
  75135. return A._asyncAwait(type$.Future_Value._is(t1) ? t1 : A._Future$value(t1, type$.Value), $async$call$0);
  75136. case 21:
  75137. // returning from await.
  75138. t1 = $async$result;
  75139. t1 = new A.SassString(A.serializeValue(left, false, true) + "=" + A.serializeValue(t1, false, true), false);
  75140. // goto after switch
  75141. $async$goto = 5;
  75142. break;
  75143. case 7:
  75144. // case
  75145. $async$goto = left.get$isTruthy() ? 22 : 24;
  75146. break;
  75147. case 22:
  75148. // then
  75149. t1 = left;
  75150. // goto join
  75151. $async$goto = 23;
  75152. break;
  75153. case 24:
  75154. // else
  75155. t1 = t1.right.accept$1(t2);
  75156. $async$goto = 25;
  75157. return A._asyncAwait(type$.Future_Value._is(t1) ? t1 : A._Future$value(t1, type$.Value), $async$call$0);
  75158. case 25:
  75159. // returning from await.
  75160. t1 = $async$result;
  75161. case 23:
  75162. // join
  75163. // goto after switch
  75164. $async$goto = 5;
  75165. break;
  75166. case 8:
  75167. // case
  75168. $async$goto = left.get$isTruthy() ? 26 : 28;
  75169. break;
  75170. case 26:
  75171. // then
  75172. t1 = t1.right.accept$1(t2);
  75173. $async$goto = 29;
  75174. return A._asyncAwait(type$.Future_Value._is(t1) ? t1 : A._Future$value(t1, type$.Value), $async$call$0);
  75175. case 29:
  75176. // returning from await.
  75177. t1 = $async$result;
  75178. // goto join
  75179. $async$goto = 27;
  75180. break;
  75181. case 28:
  75182. // else
  75183. t1 = left;
  75184. case 27:
  75185. // join
  75186. // goto after switch
  75187. $async$goto = 5;
  75188. break;
  75189. case 9:
  75190. // case
  75191. $async$temp1 = left;
  75192. $async$goto = 30;
  75193. return A._asyncAwait(t1.right.accept$1(t2), $async$call$0);
  75194. case 30:
  75195. // returning from await.
  75196. t1 = $async$temp1.$eq(0, $async$result) ? B.SassBoolean_true : B.SassBoolean_false;
  75197. // goto after switch
  75198. $async$goto = 5;
  75199. break;
  75200. case 10:
  75201. // case
  75202. $async$temp1 = left;
  75203. $async$goto = 31;
  75204. return A._asyncAwait(t1.right.accept$1(t2), $async$call$0);
  75205. case 31:
  75206. // returning from await.
  75207. t1 = !$async$temp1.$eq(0, $async$result) ? B.SassBoolean_true : B.SassBoolean_false;
  75208. // goto after switch
  75209. $async$goto = 5;
  75210. break;
  75211. case 11:
  75212. // case
  75213. t1 = t1.right.accept$1(t2);
  75214. $async$temp1 = left;
  75215. $async$goto = 32;
  75216. return A._asyncAwait(type$.Future_Value._is(t1) ? t1 : A._Future$value(t1, type$.Value), $async$call$0);
  75217. case 32:
  75218. // returning from await.
  75219. t1 = $async$temp1.greaterThan$1($async$result);
  75220. // goto after switch
  75221. $async$goto = 5;
  75222. break;
  75223. case 12:
  75224. // case
  75225. t1 = t1.right.accept$1(t2);
  75226. $async$temp1 = left;
  75227. $async$goto = 33;
  75228. return A._asyncAwait(type$.Future_Value._is(t1) ? t1 : A._Future$value(t1, type$.Value), $async$call$0);
  75229. case 33:
  75230. // returning from await.
  75231. t1 = $async$temp1.greaterThanOrEquals$1($async$result);
  75232. // goto after switch
  75233. $async$goto = 5;
  75234. break;
  75235. case 13:
  75236. // case
  75237. t1 = t1.right.accept$1(t2);
  75238. $async$temp1 = left;
  75239. $async$goto = 34;
  75240. return A._asyncAwait(type$.Future_Value._is(t1) ? t1 : A._Future$value(t1, type$.Value), $async$call$0);
  75241. case 34:
  75242. // returning from await.
  75243. t1 = $async$temp1.lessThan$1($async$result);
  75244. // goto after switch
  75245. $async$goto = 5;
  75246. break;
  75247. case 14:
  75248. // case
  75249. t1 = t1.right.accept$1(t2);
  75250. $async$temp1 = left;
  75251. $async$goto = 35;
  75252. return A._asyncAwait(type$.Future_Value._is(t1) ? t1 : A._Future$value(t1, type$.Value), $async$call$0);
  75253. case 35:
  75254. // returning from await.
  75255. t1 = $async$temp1.lessThanOrEquals$1($async$result);
  75256. // goto after switch
  75257. $async$goto = 5;
  75258. break;
  75259. case 15:
  75260. // case
  75261. t1 = t1.right.accept$1(t2);
  75262. $async$temp1 = left;
  75263. $async$goto = 36;
  75264. return A._asyncAwait(type$.Future_Value._is(t1) ? t1 : A._Future$value(t1, type$.Value), $async$call$0);
  75265. case 36:
  75266. // returning from await.
  75267. t1 = $async$temp1.plus$1($async$result);
  75268. // goto after switch
  75269. $async$goto = 5;
  75270. break;
  75271. case 16:
  75272. // case
  75273. t1 = t1.right.accept$1(t2);
  75274. $async$temp1 = left;
  75275. $async$goto = 37;
  75276. return A._asyncAwait(type$.Future_Value._is(t1) ? t1 : A._Future$value(t1, type$.Value), $async$call$0);
  75277. case 37:
  75278. // returning from await.
  75279. t1 = $async$temp1.minus$1($async$result);
  75280. // goto after switch
  75281. $async$goto = 5;
  75282. break;
  75283. case 17:
  75284. // case
  75285. t1 = t1.right.accept$1(t2);
  75286. $async$temp1 = left;
  75287. $async$goto = 38;
  75288. return A._asyncAwait(type$.Future_Value._is(t1) ? t1 : A._Future$value(t1, type$.Value), $async$call$0);
  75289. case 38:
  75290. // returning from await.
  75291. t1 = $async$temp1.times$1($async$result);
  75292. // goto after switch
  75293. $async$goto = 5;
  75294. break;
  75295. case 18:
  75296. // case
  75297. t3 = t1.right.accept$1(t2);
  75298. $async$temp1 = t2;
  75299. $async$temp2 = left;
  75300. $async$goto = 39;
  75301. return A._asyncAwait(type$.Future_Value._is(t3) ? t3 : A._Future$value(t3, type$.Value), $async$call$0);
  75302. case 39:
  75303. // returning from await.
  75304. t1 = $async$temp1._async_evaluate$_slash$3($async$temp2, $async$result, t1);
  75305. // goto after switch
  75306. $async$goto = 5;
  75307. break;
  75308. case 19:
  75309. // case
  75310. t1 = t1.right.accept$1(t2);
  75311. $async$temp1 = left;
  75312. $async$goto = 40;
  75313. return A._asyncAwait(type$.Future_Value._is(t1) ? t1 : A._Future$value(t1, type$.Value), $async$call$0);
  75314. case 40:
  75315. // returning from await.
  75316. t1 = $async$temp1.modulo$1($async$result);
  75317. // goto after switch
  75318. $async$goto = 5;
  75319. break;
  75320. case 20:
  75321. // default
  75322. t1 = null;
  75323. case 5:
  75324. // after switch
  75325. $async$returnValue = t1;
  75326. // goto return
  75327. $async$goto = 1;
  75328. break;
  75329. case 1:
  75330. // return
  75331. return A._asyncReturn($async$returnValue, $async$completer);
  75332. }
  75333. });
  75334. return A._asyncStartSync($async$call$0, $async$completer);
  75335. },
  75336. $signature: 70
  75337. };
  75338. A._EvaluateVisitor__slash_recommendation0.prototype = {
  75339. call$1(expression) {
  75340. var t1;
  75341. $label0$0: {
  75342. if (expression instanceof A.BinaryOperationExpression && B.BinaryOperator_Mh5 === expression.operator) {
  75343. t1 = "math.div(" + A.S(this.call$1(expression.left)) + ", " + A.S(this.call$1(expression.right)) + ")";
  75344. break $label0$0;
  75345. }
  75346. if (expression instanceof A.ParenthesizedExpression) {
  75347. t1 = expression.expression.toString$0(0);
  75348. break $label0$0;
  75349. }
  75350. t1 = expression.toString$0(0);
  75351. break $label0$0;
  75352. }
  75353. return t1;
  75354. },
  75355. $signature: 133
  75356. };
  75357. A._EvaluateVisitor_visitVariableExpression_closure0.prototype = {
  75358. call$0() {
  75359. var t1 = this.node;
  75360. return this.$this._async_evaluate$_environment.getVariable$2$namespace(t1.name, t1.namespace);
  75361. },
  75362. $signature: 42
  75363. };
  75364. A._EvaluateVisitor_visitUnaryOperationExpression_closure0.prototype = {
  75365. call$0() {
  75366. var t1, _this = this;
  75367. switch (_this.node.operator) {
  75368. case B.UnaryOperator_Rbl:
  75369. t1 = _this.operand.unaryPlus$0();
  75370. break;
  75371. case B.UnaryOperator_UCP:
  75372. t1 = _this.operand.unaryMinus$0();
  75373. break;
  75374. case B.UnaryOperator_lZV:
  75375. t1 = new A.SassString("/" + A.serializeValue(_this.operand, false, true), false);
  75376. break;
  75377. case B.UnaryOperator_not_not_not:
  75378. t1 = _this.operand.unaryNot$0();
  75379. break;
  75380. default:
  75381. t1 = null;
  75382. }
  75383. return t1;
  75384. },
  75385. $signature: 34
  75386. };
  75387. A._EvaluateVisitor_visitListExpression_closure0.prototype = {
  75388. call$1(expression) {
  75389. return expression.accept$1(this.$this);
  75390. },
  75391. $signature: 486
  75392. };
  75393. A._EvaluateVisitor_visitFunctionExpression_closure2.prototype = {
  75394. call$0() {
  75395. var t1 = this.node;
  75396. return this.$this._async_evaluate$_environment.getFunction$2$namespace(t1.name, t1.namespace);
  75397. },
  75398. $signature: 93
  75399. };
  75400. A._EvaluateVisitor_visitFunctionExpression_closure3.prototype = {
  75401. call$1(argument) {
  75402. return argument.accept$1(B.C_IsCalculationSafeVisitor);
  75403. },
  75404. $signature: 121
  75405. };
  75406. A._EvaluateVisitor_visitFunctionExpression_closure4.prototype = {
  75407. call$0() {
  75408. var t1 = this.node;
  75409. return this.$this._async_evaluate$_runFunctionCallable$3(t1.$arguments, this._box_0.$function, t1);
  75410. },
  75411. $signature: 70
  75412. };
  75413. A._EvaluateVisitor__visitCalculation_closure0.prototype = {
  75414. call$2(message, deprecation) {
  75415. return this.$this._async_evaluate$_warn$3(message, this.node.span, deprecation);
  75416. },
  75417. call$1(message) {
  75418. return this.call$2(message, null);
  75419. },
  75420. $signature: 87
  75421. };
  75422. A._EvaluateVisitor__checkCalculationArguments_check0.prototype = {
  75423. call$1(maxArgs) {
  75424. var t1 = this.node,
  75425. t2 = t1.$arguments.positional.length;
  75426. if (t2 === 0)
  75427. throw A.wrapException(this.$this._async_evaluate$_exception$2("Missing argument.", t1.span));
  75428. else if (maxArgs != null && t2 > maxArgs)
  75429. 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));
  75430. },
  75431. call$0() {
  75432. return this.call$1(null);
  75433. },
  75434. $signature: 85
  75435. };
  75436. A._EvaluateVisitor__visitCalculationExpression_closure0.prototype = {
  75437. call$0() {
  75438. var $async$goto = 0,
  75439. $async$completer = A._makeAsyncAwaitCompleter(type$.Object),
  75440. $async$returnValue, $async$self = this, t1, t2, t3, t4, $async$temp1, $async$temp2, $async$temp3;
  75441. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  75442. if ($async$errorCode === 1)
  75443. return A._asyncRethrow($async$result, $async$completer);
  75444. while (true)
  75445. switch ($async$goto) {
  75446. case 0:
  75447. // Function start
  75448. t1 = $async$self.$this;
  75449. t2 = $async$self._box_0;
  75450. t3 = $async$self.node;
  75451. t4 = $async$self.inLegacySassFunction;
  75452. $async$temp1 = A;
  75453. $async$temp2 = t1._async_evaluate$_binaryOperatorToCalculationOperator$2(t2.operator, t3);
  75454. $async$goto = 3;
  75455. return A._asyncAwait(t1._async_evaluate$_visitCalculationExpression$2$inLegacySassFunction(t2.left, t4), $async$call$0);
  75456. case 3:
  75457. // returning from await.
  75458. $async$temp3 = $async$result;
  75459. $async$goto = 4;
  75460. return A._asyncAwait(t1._async_evaluate$_visitCalculationExpression$2$inLegacySassFunction(t2.right, t4), $async$call$0);
  75461. case 4:
  75462. // returning from await.
  75463. $async$returnValue = $async$temp1.SassCalculation_operateInternal($async$temp2, $async$temp3, $async$result, t4, !t1._async_evaluate$_inSupportsDeclaration, new A._EvaluateVisitor__visitCalculationExpression__closure0(t1, t3));
  75464. // goto return
  75465. $async$goto = 1;
  75466. break;
  75467. case 1:
  75468. // return
  75469. return A._asyncReturn($async$returnValue, $async$completer);
  75470. }
  75471. });
  75472. return A._asyncStartSync($async$call$0, $async$completer);
  75473. },
  75474. $signature: 183
  75475. };
  75476. A._EvaluateVisitor__visitCalculationExpression__closure0.prototype = {
  75477. call$2(message, deprecation) {
  75478. return this.$this._async_evaluate$_warn$3(message, this.node.get$span(0), deprecation);
  75479. },
  75480. call$1(message) {
  75481. return this.call$2(message, null);
  75482. },
  75483. $signature: 87
  75484. };
  75485. A._EvaluateVisitor_visitInterpolatedFunctionExpression_closure0.prototype = {
  75486. call$0() {
  75487. var t1 = this.node;
  75488. return this.$this._async_evaluate$_runFunctionCallable$3(t1.$arguments, this.$function, t1);
  75489. },
  75490. $signature: 70
  75491. };
  75492. A._EvaluateVisitor__runUserDefinedCallable_closure0.prototype = {
  75493. call$0() {
  75494. var _this = this,
  75495. t1 = _this.$this,
  75496. t2 = _this.callable,
  75497. t3 = _this.V;
  75498. 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);
  75499. },
  75500. $signature() {
  75501. return this.V._eval$1("Future<0>()");
  75502. }
  75503. };
  75504. A._EvaluateVisitor__runUserDefinedCallable__closure0.prototype = {
  75505. call$0() {
  75506. var _this = this,
  75507. t1 = _this.$this,
  75508. t2 = _this.V;
  75509. return t1._async_evaluate$_environment.scope$1$1(new A._EvaluateVisitor__runUserDefinedCallable___closure0(t1, _this.evaluated, _this.callable, _this.nodeWithSpan, _this.run, t2), t2);
  75510. },
  75511. $signature() {
  75512. return this.V._eval$1("Future<0>()");
  75513. }
  75514. };
  75515. A._EvaluateVisitor__runUserDefinedCallable___closure0.prototype = {
  75516. call$0() {
  75517. return this.$call$body$_EvaluateVisitor__runUserDefinedCallable___closure(this.V);
  75518. },
  75519. $call$body$_EvaluateVisitor__runUserDefinedCallable___closure($async$type) {
  75520. var $async$goto = 0,
  75521. $async$completer = A._makeAsyncAwaitCompleter($async$type),
  75522. $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;
  75523. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  75524. if ($async$errorCode === 1)
  75525. return A._asyncRethrow($async$result, $async$completer);
  75526. while (true)
  75527. switch ($async$goto) {
  75528. case 0:
  75529. // Function start
  75530. t1 = $async$self.$this;
  75531. t2 = $async$self.evaluated._values;
  75532. t3 = $async$self.callable.declaration.parameters;
  75533. t4 = $async$self.nodeWithSpan;
  75534. t1._async_evaluate$_verifyArguments$4(J.get$length$asx(t2[2]), t2[0], t3, t4);
  75535. parameters = t3.parameters;
  75536. t5 = parameters.length;
  75537. minLength = Math.min(J.get$length$asx(t2[2]), t5);
  75538. for (i = 0; i < minLength; ++i)
  75539. t1._async_evaluate$_environment.setLocalVariable$3(parameters[i].name, J.$index$asx(t2[2], i), J.$index$asx(t2[3], i));
  75540. i = J.get$length$asx(t2[2]);
  75541. case 3:
  75542. // for condition
  75543. if (!(i < t5)) {
  75544. // goto after for
  75545. $async$goto = 5;
  75546. break;
  75547. }
  75548. parameter = parameters[i];
  75549. t6 = parameter.name;
  75550. value = t2[0].remove$1(0, t6);
  75551. $async$goto = value == null ? 6 : 7;
  75552. break;
  75553. case 6:
  75554. // then
  75555. t7 = parameter.defaultValue;
  75556. $async$temp1 = t1;
  75557. $async$goto = 8;
  75558. return A._asyncAwait(t7.accept$1(t1), $async$call$0);
  75559. case 8:
  75560. // returning from await.
  75561. value = $async$temp1._async_evaluate$_withoutSlash$2($async$result, t1._async_evaluate$_expressionNode$1(t7));
  75562. case 7:
  75563. // join
  75564. t7 = t1._async_evaluate$_environment;
  75565. t8 = t2[1].$index(0, t6);
  75566. if (t8 == null) {
  75567. t8 = parameter.defaultValue;
  75568. t8.toString;
  75569. t8 = t1._async_evaluate$_expressionNode$1(t8);
  75570. }
  75571. t7.setLocalVariable$3(t6, value, t8);
  75572. case 4:
  75573. // for update
  75574. ++i;
  75575. // goto for condition
  75576. $async$goto = 3;
  75577. break;
  75578. case 5:
  75579. // after for
  75580. restParameter = t3.restParameter;
  75581. if (restParameter != null) {
  75582. rest = J.get$length$asx(t2[2]) > t5 ? J.sublist$1$ax(t2[2], t5) : B.List_empty8;
  75583. t5 = t2[0];
  75584. t6 = t2[4];
  75585. argumentList = A.SassArgumentList$(rest, t5, t6 === B.ListSeparator_undecided_null_undecided ? B.ListSeparator_qVN : t6);
  75586. t1._async_evaluate$_environment.setLocalVariable$3(restParameter, argumentList, t4);
  75587. } else
  75588. argumentList = null;
  75589. $async$goto = 9;
  75590. return A._asyncAwait($async$self.run.call$0(), $async$call$0);
  75591. case 9:
  75592. // returning from await.
  75593. result = $async$result;
  75594. if (argumentList == null) {
  75595. $async$returnValue = result;
  75596. // goto return
  75597. $async$goto = 1;
  75598. break;
  75599. }
  75600. t5 = t2[0];
  75601. if (t5.get$isEmpty(t5)) {
  75602. $async$returnValue = result;
  75603. // goto return
  75604. $async$goto = 1;
  75605. break;
  75606. }
  75607. if (argumentList._wereKeywordsAccessed) {
  75608. $async$returnValue = result;
  75609. // goto return
  75610. $async$goto = 1;
  75611. break;
  75612. }
  75613. t5 = t2[0];
  75614. parameterWord = A.pluralize("parameter", J.get$length$asx(t5.get$keys(t5)), null);
  75615. t2 = t2[0];
  75616. 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));
  75617. case 1:
  75618. // return
  75619. return A._asyncReturn($async$returnValue, $async$completer);
  75620. }
  75621. });
  75622. return A._asyncStartSync($async$call$0, $async$completer);
  75623. },
  75624. $signature() {
  75625. return this.V._eval$1("Future<0>()");
  75626. }
  75627. };
  75628. A._EvaluateVisitor__runUserDefinedCallable____closure0.prototype = {
  75629. call$1($name) {
  75630. return "$" + $name;
  75631. },
  75632. $signature: 6
  75633. };
  75634. A._EvaluateVisitor__runFunctionCallable_closure0.prototype = {
  75635. call$0() {
  75636. var $async$goto = 0,
  75637. $async$completer = A._makeAsyncAwaitCompleter(type$.Value),
  75638. $async$returnValue, $async$self = this, t1, t2, t3, t4, _i, $returnValue;
  75639. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  75640. if ($async$errorCode === 1)
  75641. return A._asyncRethrow($async$result, $async$completer);
  75642. while (true)
  75643. switch ($async$goto) {
  75644. case 0:
  75645. // Function start
  75646. t1 = $async$self.callable.declaration, t2 = t1.children, t3 = t2.length, t4 = $async$self.$this, _i = 0;
  75647. case 3:
  75648. // for condition
  75649. if (!(_i < t3)) {
  75650. // goto after for
  75651. $async$goto = 5;
  75652. break;
  75653. }
  75654. $async$goto = 6;
  75655. return A._asyncAwait(t2[_i].accept$1(t4), $async$call$0);
  75656. case 6:
  75657. // returning from await.
  75658. $returnValue = $async$result;
  75659. if ($returnValue instanceof A.Value) {
  75660. $async$returnValue = $returnValue;
  75661. // goto return
  75662. $async$goto = 1;
  75663. break;
  75664. }
  75665. case 4:
  75666. // for update
  75667. ++_i;
  75668. // goto for condition
  75669. $async$goto = 3;
  75670. break;
  75671. case 5:
  75672. // after for
  75673. throw A.wrapException(t4._async_evaluate$_exception$2("Function finished without @return.", t1.span));
  75674. case 1:
  75675. // return
  75676. return A._asyncReturn($async$returnValue, $async$completer);
  75677. }
  75678. });
  75679. return A._asyncStartSync($async$call$0, $async$completer);
  75680. },
  75681. $signature: 70
  75682. };
  75683. A._EvaluateVisitor__runBuiltInCallable_closure2.prototype = {
  75684. call$0() {
  75685. return this._box_0.overload.verify$2(J.get$length$asx(this.evaluated._values[2]), this.namedSet);
  75686. },
  75687. $signature: 0
  75688. };
  75689. A._EvaluateVisitor__runBuiltInCallable_closure3.prototype = {
  75690. call$0() {
  75691. return this._box_0.callback.call$1(this.evaluated._values[2]);
  75692. },
  75693. $signature: 524
  75694. };
  75695. A._EvaluateVisitor__runBuiltInCallable_closure4.prototype = {
  75696. call$1($name) {
  75697. return "$" + $name;
  75698. },
  75699. $signature: 6
  75700. };
  75701. A._EvaluateVisitor__evaluateArguments_closure3.prototype = {
  75702. call$1(value) {
  75703. return value;
  75704. },
  75705. $signature: 41
  75706. };
  75707. A._EvaluateVisitor__evaluateArguments_closure4.prototype = {
  75708. call$1(value) {
  75709. return this.$this._async_evaluate$_withoutSlash$2(value, this.restNodeForSpan);
  75710. },
  75711. $signature: 41
  75712. };
  75713. A._EvaluateVisitor__evaluateArguments_closure5.prototype = {
  75714. call$2(key, value) {
  75715. var _this = this,
  75716. t1 = _this.restNodeForSpan;
  75717. _this.named.$indexSet(0, key, _this.$this._async_evaluate$_withoutSlash$2(value, t1));
  75718. _this.namedNodes.$indexSet(0, key, t1);
  75719. },
  75720. $signature: 84
  75721. };
  75722. A._EvaluateVisitor__evaluateArguments_closure6.prototype = {
  75723. call$1(value) {
  75724. return value;
  75725. },
  75726. $signature: 41
  75727. };
  75728. A._EvaluateVisitor__evaluateMacroArguments_closure3.prototype = {
  75729. call$1(value) {
  75730. var t1 = this.restArgs;
  75731. return new A.ValueExpression(value, t1.get$span(t1));
  75732. },
  75733. $signature: 63
  75734. };
  75735. A._EvaluateVisitor__evaluateMacroArguments_closure4.prototype = {
  75736. call$1(value) {
  75737. var t1 = this.restArgs;
  75738. return new A.ValueExpression(this.$this._async_evaluate$_withoutSlash$2(value, this.restNodeForSpan), t1.get$span(t1));
  75739. },
  75740. $signature: 63
  75741. };
  75742. A._EvaluateVisitor__evaluateMacroArguments_closure5.prototype = {
  75743. call$2(key, value) {
  75744. var _this = this,
  75745. t1 = _this.restArgs;
  75746. _this.named.$indexSet(0, key, new A.ValueExpression(_this.$this._async_evaluate$_withoutSlash$2(value, _this.restNodeForSpan), t1.get$span(t1)));
  75747. },
  75748. $signature: 84
  75749. };
  75750. A._EvaluateVisitor__evaluateMacroArguments_closure6.prototype = {
  75751. call$1(value) {
  75752. var t1 = this.keywordRestArgs;
  75753. return new A.ValueExpression(this.$this._async_evaluate$_withoutSlash$2(value, this.keywordRestNodeForSpan), t1.get$span(t1));
  75754. },
  75755. $signature: 63
  75756. };
  75757. A._EvaluateVisitor__addRestMap_closure0.prototype = {
  75758. call$2(key, value) {
  75759. var t2, _this = this,
  75760. t1 = _this.$this;
  75761. if (key instanceof A.SassString)
  75762. _this.values.$indexSet(0, key._string$_text, _this.convert.call$1(t1._async_evaluate$_withoutSlash$2(value, _this.expressionNode)));
  75763. else {
  75764. t2 = _this.nodeWithSpan;
  75765. 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)));
  75766. }
  75767. },
  75768. $signature: 95
  75769. };
  75770. A._EvaluateVisitor__verifyArguments_closure0.prototype = {
  75771. call$0() {
  75772. return this.parameters.verify$2(this.positional, new A.MapKeySet(this.named, type$.MapKeySet_String));
  75773. },
  75774. $signature: 0
  75775. };
  75776. A._EvaluateVisitor_visitCssAtRule_closure1.prototype = {
  75777. call$0() {
  75778. var $async$goto = 0,
  75779. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  75780. $async$self = this, t1, t2, t3, t4;
  75781. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  75782. if ($async$errorCode === 1)
  75783. return A._asyncRethrow($async$result, $async$completer);
  75784. while (true)
  75785. switch ($async$goto) {
  75786. case 0:
  75787. // Function start
  75788. 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");
  75789. case 2:
  75790. // for condition
  75791. if (!t1.moveNext$0()) {
  75792. // goto after for
  75793. $async$goto = 3;
  75794. break;
  75795. }
  75796. t4 = t1.__internal$_current;
  75797. $async$goto = 4;
  75798. return A._asyncAwait((t4 == null ? t2._as(t4) : t4).accept$1(t3), $async$call$0);
  75799. case 4:
  75800. // returning from await.
  75801. // goto for condition
  75802. $async$goto = 2;
  75803. break;
  75804. case 3:
  75805. // after for
  75806. // implicit return
  75807. return A._asyncReturn(null, $async$completer);
  75808. }
  75809. });
  75810. return A._asyncStartSync($async$call$0, $async$completer);
  75811. },
  75812. $signature: 2
  75813. };
  75814. A._EvaluateVisitor_visitCssAtRule_closure2.prototype = {
  75815. call$1(node) {
  75816. return node instanceof A.ModifiableCssStyleRule;
  75817. },
  75818. $signature: 7
  75819. };
  75820. A._EvaluateVisitor_visitCssKeyframeBlock_closure1.prototype = {
  75821. call$0() {
  75822. var $async$goto = 0,
  75823. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  75824. $async$self = this, t1, t2, t3, t4;
  75825. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  75826. if ($async$errorCode === 1)
  75827. return A._asyncRethrow($async$result, $async$completer);
  75828. while (true)
  75829. switch ($async$goto) {
  75830. case 0:
  75831. // Function start
  75832. 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");
  75833. case 2:
  75834. // for condition
  75835. if (!t1.moveNext$0()) {
  75836. // goto after for
  75837. $async$goto = 3;
  75838. break;
  75839. }
  75840. t4 = t1.__internal$_current;
  75841. $async$goto = 4;
  75842. return A._asyncAwait((t4 == null ? t2._as(t4) : t4).accept$1(t3), $async$call$0);
  75843. case 4:
  75844. // returning from await.
  75845. // goto for condition
  75846. $async$goto = 2;
  75847. break;
  75848. case 3:
  75849. // after for
  75850. // implicit return
  75851. return A._asyncReturn(null, $async$completer);
  75852. }
  75853. });
  75854. return A._asyncStartSync($async$call$0, $async$completer);
  75855. },
  75856. $signature: 2
  75857. };
  75858. A._EvaluateVisitor_visitCssKeyframeBlock_closure2.prototype = {
  75859. call$1(node) {
  75860. return node instanceof A.ModifiableCssStyleRule;
  75861. },
  75862. $signature: 7
  75863. };
  75864. A._EvaluateVisitor_visitCssMediaRule_closure2.prototype = {
  75865. call$1(mediaQueries) {
  75866. return this.$this._async_evaluate$_mergeMediaQueries$2(mediaQueries, this.node.queries);
  75867. },
  75868. $signature: 101
  75869. };
  75870. A._EvaluateVisitor_visitCssMediaRule_closure3.prototype = {
  75871. call$0() {
  75872. var $async$goto = 0,
  75873. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  75874. $async$self = this, t1, t2;
  75875. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  75876. if ($async$errorCode === 1)
  75877. return A._asyncRethrow($async$result, $async$completer);
  75878. while (true)
  75879. switch ($async$goto) {
  75880. case 0:
  75881. // Function start
  75882. t1 = $async$self.$this;
  75883. t2 = $async$self.mergedQueries;
  75884. if (t2 == null)
  75885. t2 = $async$self.node.queries;
  75886. $async$goto = 2;
  75887. 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);
  75888. case 2:
  75889. // returning from await.
  75890. // implicit return
  75891. return A._asyncReturn(null, $async$completer);
  75892. }
  75893. });
  75894. return A._asyncStartSync($async$call$0, $async$completer);
  75895. },
  75896. $signature: 2
  75897. };
  75898. A._EvaluateVisitor_visitCssMediaRule__closure0.prototype = {
  75899. call$0() {
  75900. var $async$goto = 0,
  75901. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  75902. $async$self = this, t2, t3, t4, t1, _0_0;
  75903. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  75904. if ($async$errorCode === 1)
  75905. return A._asyncRethrow($async$result, $async$completer);
  75906. while (true)
  75907. switch ($async$goto) {
  75908. case 0:
  75909. // Function start
  75910. t1 = $async$self.$this;
  75911. _0_0 = t1._async_evaluate$_atRootExcludingStyleRule ? null : t1._async_evaluate$_styleRuleIgnoringAtRoot;
  75912. $async$goto = _0_0 != null ? 2 : 4;
  75913. break;
  75914. case 2:
  75915. // then
  75916. $async$goto = 5;
  75917. 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);
  75918. case 5:
  75919. // returning from await.
  75920. // goto join
  75921. $async$goto = 3;
  75922. break;
  75923. case 4:
  75924. // else
  75925. 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");
  75926. case 6:
  75927. // for condition
  75928. if (!t2.moveNext$0()) {
  75929. // goto after for
  75930. $async$goto = 7;
  75931. break;
  75932. }
  75933. t4 = t2.__internal$_current;
  75934. $async$goto = 8;
  75935. return A._asyncAwait((t4 == null ? t3._as(t4) : t4).accept$1(t1), $async$call$0);
  75936. case 8:
  75937. // returning from await.
  75938. // goto for condition
  75939. $async$goto = 6;
  75940. break;
  75941. case 7:
  75942. // after for
  75943. case 3:
  75944. // join
  75945. // implicit return
  75946. return A._asyncReturn(null, $async$completer);
  75947. }
  75948. });
  75949. return A._asyncStartSync($async$call$0, $async$completer);
  75950. },
  75951. $signature: 2
  75952. };
  75953. A._EvaluateVisitor_visitCssMediaRule___closure0.prototype = {
  75954. call$0() {
  75955. var $async$goto = 0,
  75956. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  75957. $async$self = this, t1, t2, t3, t4;
  75958. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  75959. if ($async$errorCode === 1)
  75960. return A._asyncRethrow($async$result, $async$completer);
  75961. while (true)
  75962. switch ($async$goto) {
  75963. case 0:
  75964. // Function start
  75965. 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");
  75966. case 2:
  75967. // for condition
  75968. if (!t1.moveNext$0()) {
  75969. // goto after for
  75970. $async$goto = 3;
  75971. break;
  75972. }
  75973. t4 = t1.__internal$_current;
  75974. $async$goto = 4;
  75975. return A._asyncAwait((t4 == null ? t2._as(t4) : t4).accept$1(t3), $async$call$0);
  75976. case 4:
  75977. // returning from await.
  75978. // goto for condition
  75979. $async$goto = 2;
  75980. break;
  75981. case 3:
  75982. // after for
  75983. // implicit return
  75984. return A._asyncReturn(null, $async$completer);
  75985. }
  75986. });
  75987. return A._asyncStartSync($async$call$0, $async$completer);
  75988. },
  75989. $signature: 2
  75990. };
  75991. A._EvaluateVisitor_visitCssMediaRule_closure4.prototype = {
  75992. call$1(node) {
  75993. var t1;
  75994. if (!(node instanceof A.ModifiableCssStyleRule)) {
  75995. t1 = this.mergedSources;
  75996. t1 = t1.get$isNotEmpty(t1) && node instanceof A.ModifiableCssMediaRule && B.JSArray_methods.every$1(node.queries, t1.get$contains(t1));
  75997. } else
  75998. t1 = true;
  75999. return t1;
  76000. },
  76001. $signature: 7
  76002. };
  76003. A._EvaluateVisitor_visitCssStyleRule_closure2.prototype = {
  76004. call$0() {
  76005. var $async$goto = 0,
  76006. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  76007. $async$self = this, t1;
  76008. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  76009. if ($async$errorCode === 1)
  76010. return A._asyncRethrow($async$result, $async$completer);
  76011. while (true)
  76012. switch ($async$goto) {
  76013. case 0:
  76014. // Function start
  76015. t1 = $async$self.$this;
  76016. $async$goto = 2;
  76017. 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);
  76018. case 2:
  76019. // returning from await.
  76020. // implicit return
  76021. return A._asyncReturn(null, $async$completer);
  76022. }
  76023. });
  76024. return A._asyncStartSync($async$call$0, $async$completer);
  76025. },
  76026. $signature: 2
  76027. };
  76028. A._EvaluateVisitor_visitCssStyleRule__closure0.prototype = {
  76029. call$0() {
  76030. var $async$goto = 0,
  76031. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  76032. $async$self = this, t1, t2, t3, t4;
  76033. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  76034. if ($async$errorCode === 1)
  76035. return A._asyncRethrow($async$result, $async$completer);
  76036. while (true)
  76037. switch ($async$goto) {
  76038. case 0:
  76039. // Function start
  76040. 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");
  76041. case 2:
  76042. // for condition
  76043. if (!t1.moveNext$0()) {
  76044. // goto after for
  76045. $async$goto = 3;
  76046. break;
  76047. }
  76048. t4 = t1.__internal$_current;
  76049. $async$goto = 4;
  76050. return A._asyncAwait((t4 == null ? t2._as(t4) : t4).accept$1(t3), $async$call$0);
  76051. case 4:
  76052. // returning from await.
  76053. // goto for condition
  76054. $async$goto = 2;
  76055. break;
  76056. case 3:
  76057. // after for
  76058. // implicit return
  76059. return A._asyncReturn(null, $async$completer);
  76060. }
  76061. });
  76062. return A._asyncStartSync($async$call$0, $async$completer);
  76063. },
  76064. $signature: 2
  76065. };
  76066. A._EvaluateVisitor_visitCssStyleRule_closure1.prototype = {
  76067. call$1(node) {
  76068. return node instanceof A.ModifiableCssStyleRule;
  76069. },
  76070. $signature: 7
  76071. };
  76072. A._EvaluateVisitor_visitCssSupportsRule_closure1.prototype = {
  76073. call$0() {
  76074. var $async$goto = 0,
  76075. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  76076. $async$self = this, t2, t3, t4, t1, _0_0;
  76077. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  76078. if ($async$errorCode === 1)
  76079. return A._asyncRethrow($async$result, $async$completer);
  76080. while (true)
  76081. switch ($async$goto) {
  76082. case 0:
  76083. // Function start
  76084. t1 = $async$self.$this;
  76085. _0_0 = t1._async_evaluate$_atRootExcludingStyleRule ? null : t1._async_evaluate$_styleRuleIgnoringAtRoot;
  76086. $async$goto = _0_0 != null ? 2 : 4;
  76087. break;
  76088. case 2:
  76089. // then
  76090. $async$goto = 5;
  76091. 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);
  76092. case 5:
  76093. // returning from await.
  76094. // goto join
  76095. $async$goto = 3;
  76096. break;
  76097. case 4:
  76098. // else
  76099. 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");
  76100. case 6:
  76101. // for condition
  76102. if (!t2.moveNext$0()) {
  76103. // goto after for
  76104. $async$goto = 7;
  76105. break;
  76106. }
  76107. t4 = t2.__internal$_current;
  76108. $async$goto = 8;
  76109. return A._asyncAwait((t4 == null ? t3._as(t4) : t4).accept$1(t1), $async$call$0);
  76110. case 8:
  76111. // returning from await.
  76112. // goto for condition
  76113. $async$goto = 6;
  76114. break;
  76115. case 7:
  76116. // after for
  76117. case 3:
  76118. // join
  76119. // implicit return
  76120. return A._asyncReturn(null, $async$completer);
  76121. }
  76122. });
  76123. return A._asyncStartSync($async$call$0, $async$completer);
  76124. },
  76125. $signature: 2
  76126. };
  76127. A._EvaluateVisitor_visitCssSupportsRule__closure0.prototype = {
  76128. call$0() {
  76129. var $async$goto = 0,
  76130. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  76131. $async$self = this, t1, t2, t3, t4;
  76132. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  76133. if ($async$errorCode === 1)
  76134. return A._asyncRethrow($async$result, $async$completer);
  76135. while (true)
  76136. switch ($async$goto) {
  76137. case 0:
  76138. // Function start
  76139. 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");
  76140. case 2:
  76141. // for condition
  76142. if (!t1.moveNext$0()) {
  76143. // goto after for
  76144. $async$goto = 3;
  76145. break;
  76146. }
  76147. t4 = t1.__internal$_current;
  76148. $async$goto = 4;
  76149. return A._asyncAwait((t4 == null ? t2._as(t4) : t4).accept$1(t3), $async$call$0);
  76150. case 4:
  76151. // returning from await.
  76152. // goto for condition
  76153. $async$goto = 2;
  76154. break;
  76155. case 3:
  76156. // after for
  76157. // implicit return
  76158. return A._asyncReturn(null, $async$completer);
  76159. }
  76160. });
  76161. return A._asyncStartSync($async$call$0, $async$completer);
  76162. },
  76163. $signature: 2
  76164. };
  76165. A._EvaluateVisitor_visitCssSupportsRule_closure2.prototype = {
  76166. call$1(node) {
  76167. return node instanceof A.ModifiableCssStyleRule;
  76168. },
  76169. $signature: 7
  76170. };
  76171. A._EvaluateVisitor__performInterpolationHelper_closure0.prototype = {
  76172. call$1(targetLocations) {
  76173. return A.InterpolationMap$(this.interpolation, targetLocations);
  76174. },
  76175. $signature: 184
  76176. };
  76177. A._EvaluateVisitor__serialize_closure0.prototype = {
  76178. call$0() {
  76179. return A.serializeValue(this.value, false, this.quote);
  76180. },
  76181. $signature: 27
  76182. };
  76183. A._EvaluateVisitor__expressionNode_closure0.prototype = {
  76184. call$0() {
  76185. var t1 = this.expression;
  76186. return this.$this._async_evaluate$_environment.getVariableNode$2$namespace(t1.name, t1.namespace);
  76187. },
  76188. $signature: 142
  76189. };
  76190. A._EvaluateVisitor__withoutSlash_recommendation0.prototype = {
  76191. call$1(number) {
  76192. var before, after, t1,
  76193. _1_0 = number.asSlash;
  76194. $label0$0: {
  76195. if (type$.Record_2_nullable_Object_and_nullable_Object._is(_1_0)) {
  76196. before = _1_0._0;
  76197. after = _1_0._1;
  76198. t1 = "math.div(" + A.S(this.call$1(before)) + ", " + A.S(this.call$1(after)) + ")";
  76199. break $label0$0;
  76200. }
  76201. t1 = A.serializeValue(number, true, true);
  76202. break $label0$0;
  76203. }
  76204. return t1;
  76205. },
  76206. $signature: 186
  76207. };
  76208. A._EvaluateVisitor__stackFrame_closure0.prototype = {
  76209. call$1(url) {
  76210. var t1 = this.$this._async_evaluate$_importCache;
  76211. t1 = t1 == null ? null : t1.humanize$1(url);
  76212. return t1 == null ? url : t1;
  76213. },
  76214. $signature: 48
  76215. };
  76216. A._ImportedCssVisitor0.prototype = {
  76217. visitCssAtRule$1(node) {
  76218. var t1 = node.isChildless ? null : new A._ImportedCssVisitor_visitCssAtRule_closure0();
  76219. this._async_evaluate$_visitor._async_evaluate$_addChild$2$through(node, t1);
  76220. },
  76221. visitCssComment$1(node) {
  76222. return this._async_evaluate$_visitor._async_evaluate$_addChild$1(node);
  76223. },
  76224. visitCssDeclaration$1(node) {
  76225. },
  76226. visitCssImport$1(node) {
  76227. var t2,
  76228. _s13_ = "_endOfImports",
  76229. t1 = this._async_evaluate$_visitor;
  76230. if (t1._async_evaluate$_assertInModule$2(t1._async_evaluate$__parent, "__parent") !== t1._async_evaluate$_assertInModule$2(t1._async_evaluate$__root, "_root"))
  76231. t1._async_evaluate$_addChild$1(node);
  76232. 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)) {
  76233. t1._async_evaluate$_addChild$1(node);
  76234. t1._async_evaluate$__endOfImports = t1._async_evaluate$_assertInModule$2(t1._async_evaluate$__endOfImports, _s13_) + 1;
  76235. } else {
  76236. t2 = t1._async_evaluate$_outOfOrderImports;
  76237. (t2 == null ? t1._async_evaluate$_outOfOrderImports = A._setArrayType([], type$.JSArray_ModifiableCssImport) : t2).push(node);
  76238. }
  76239. },
  76240. visitCssKeyframeBlock$1(node) {
  76241. },
  76242. visitCssMediaRule$1(node) {
  76243. var t1 = this._async_evaluate$_visitor,
  76244. mediaQueries = t1._async_evaluate$_mediaQueries;
  76245. t1._async_evaluate$_addChild$2$through(node, new A._ImportedCssVisitor_visitCssMediaRule_closure0(mediaQueries == null || t1._async_evaluate$_mergeMediaQueries$2(mediaQueries, node.queries) != null));
  76246. },
  76247. visitCssStyleRule$1(node) {
  76248. return this._async_evaluate$_visitor._async_evaluate$_addChild$2$through(node, new A._ImportedCssVisitor_visitCssStyleRule_closure0());
  76249. },
  76250. visitCssStylesheet$1(node) {
  76251. var t1, t2, t3;
  76252. 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();) {
  76253. t3 = t1.__internal$_current;
  76254. (t3 == null ? t2._as(t3) : t3).accept$1(this);
  76255. }
  76256. },
  76257. visitCssSupportsRule$1(node) {
  76258. return this._async_evaluate$_visitor._async_evaluate$_addChild$2$through(node, new A._ImportedCssVisitor_visitCssSupportsRule_closure0());
  76259. }
  76260. };
  76261. A._ImportedCssVisitor_visitCssAtRule_closure0.prototype = {
  76262. call$1(node) {
  76263. return node instanceof A.ModifiableCssStyleRule;
  76264. },
  76265. $signature: 7
  76266. };
  76267. A._ImportedCssVisitor_visitCssMediaRule_closure0.prototype = {
  76268. call$1(node) {
  76269. var t1;
  76270. if (!(node instanceof A.ModifiableCssStyleRule))
  76271. t1 = this.hasBeenMerged && node instanceof A.ModifiableCssMediaRule;
  76272. else
  76273. t1 = true;
  76274. return t1;
  76275. },
  76276. $signature: 7
  76277. };
  76278. A._ImportedCssVisitor_visitCssStyleRule_closure0.prototype = {
  76279. call$1(node) {
  76280. return node instanceof A.ModifiableCssStyleRule;
  76281. },
  76282. $signature: 7
  76283. };
  76284. A._ImportedCssVisitor_visitCssSupportsRule_closure0.prototype = {
  76285. call$1(node) {
  76286. return node instanceof A.ModifiableCssStyleRule;
  76287. },
  76288. $signature: 7
  76289. };
  76290. A._EvaluationContext0.prototype = {
  76291. get$currentCallableSpan() {
  76292. var _0_0 = this._async_evaluate$_visitor._async_evaluate$_callableNode;
  76293. if (_0_0 != null)
  76294. return _0_0.get$span(_0_0);
  76295. throw A.wrapException(A.StateError$(string$.No_Sasc));
  76296. },
  76297. warn$2(_, message, deprecation) {
  76298. var t1 = this._async_evaluate$_visitor,
  76299. t2 = t1._async_evaluate$_importSpan;
  76300. if (t2 == null) {
  76301. t2 = t1._async_evaluate$_callableNode;
  76302. t2 = t2 == null ? null : t2.get$span(t2);
  76303. }
  76304. t1._async_evaluate$_warn$3(message, t2 == null ? this._async_evaluate$_defaultWarnNodeWithSpan.span : t2, deprecation);
  76305. },
  76306. $isEvaluationContext: 1
  76307. };
  76308. A._CloneCssVisitor.prototype = {
  76309. visitCssAtRule$1(node) {
  76310. var t1 = node.isChildless,
  76311. rule = A.ModifiableCssAtRule$(node.name, node.span, t1, node.value);
  76312. return t1 ? rule : this._visitChildren$2(rule, node);
  76313. },
  76314. visitCssComment$1(node) {
  76315. return new A.ModifiableCssComment(node.text, node.span);
  76316. },
  76317. visitCssDeclaration$1(node) {
  76318. return A.ModifiableCssDeclaration$(node.name, node.value, node.span, null, node.parsedAsCustomProperty, null, node.valueSpanForMap);
  76319. },
  76320. visitCssImport$1(node) {
  76321. return new A.ModifiableCssImport(node.url, node.modifiers, node.span);
  76322. },
  76323. visitCssKeyframeBlock$1(node) {
  76324. return this._visitChildren$2(A.ModifiableCssKeyframeBlock$(node.selector, node.span), node);
  76325. },
  76326. visitCssMediaRule$1(node) {
  76327. return this._visitChildren$2(A.ModifiableCssMediaRule$(node.queries, node.span), node);
  76328. },
  76329. visitCssStyleRule$1(node) {
  76330. var _0_0 = this._oldToNewSelectors.$index(0, node._style_rule$_selector._box$_inner.value);
  76331. if (_0_0 != null)
  76332. return this._visitChildren$2(A.ModifiableCssStyleRule$(_0_0, node.span, false, node.originalSelector), node);
  76333. else
  76334. throw A.wrapException(A.StateError$(string$.The_Ex));
  76335. },
  76336. visitCssStylesheet$1(node) {
  76337. return this._visitChildren$2(A.ModifiableCssStylesheet$(node.get$span(node)), node);
  76338. },
  76339. visitCssSupportsRule$1(node) {
  76340. return this._visitChildren$2(A.ModifiableCssSupportsRule$(node.condition, node.span), node);
  76341. },
  76342. _visitChildren$1$2(newParent, oldParent) {
  76343. var t1, t2, newChild;
  76344. for (t1 = J.get$iterator$ax(oldParent.get$children(oldParent)); t1.moveNext$0();) {
  76345. t2 = t1.get$current(t1);
  76346. newChild = t2.accept$1(this);
  76347. newChild.isGroupEnd = t2.get$isGroupEnd();
  76348. newParent.addChild$1(newChild);
  76349. }
  76350. return newParent;
  76351. },
  76352. _visitChildren$2(newParent, oldParent) {
  76353. newParent.toString;
  76354. return this._visitChildren$1$2(newParent, oldParent, type$.ModifiableCssParentNode);
  76355. }
  76356. };
  76357. A.Evaluator.prototype = {};
  76358. A._EvaluateVisitor.prototype = {
  76359. _EvaluateVisitor$6$functions$importCache$logger$nodeImporter$quietDeps$sourceMap(functions, importCache, logger, nodeImporter, quietDeps, sourceMap) {
  76360. var t2, metaModule, t3, _i, module, $function, t4, _this = this,
  76361. _s20_ = "$name, $module: null",
  76362. _s9_ = "sass:meta",
  76363. _s7_ = "$module",
  76364. t1 = type$.JSArray_BuiltInCallable,
  76365. 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),
  76366. 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);
  76367. t1 = type$.BuiltInCallable;
  76368. t2 = A.List_List$_of($.$get$moduleFunctions(), t1);
  76369. B.JSArray_methods.addAll$1(t2, metaFunctions);
  76370. metaModule = A.BuiltInModule$("meta", t2, metaMixins, null, t1);
  76371. t1 = A.List_List$_of($.$get$coreModules(), type$.BuiltInModule_Callable);
  76372. t1.push(metaModule);
  76373. t2 = t1.length;
  76374. t3 = _this._builtInModules;
  76375. _i = 0;
  76376. for (; _i < t1.length; t1.length === t2 || (0, A.throwConcurrentModificationError)(t1), ++_i) {
  76377. module = t1[_i];
  76378. t3.$indexSet(0, module.url, module);
  76379. }
  76380. t1 = type$.JSArray_Callable;
  76381. t2 = A._setArrayType([], t1);
  76382. B.JSArray_methods.addAll$1(t2, $.$get$globalFunctions());
  76383. t1 = A._setArrayType([], t1);
  76384. for (_i = 0; _i < 11; ++_i)
  76385. t1.push(metaFunctions[_i].withDeprecationWarning$1("meta"));
  76386. B.JSArray_methods.addAll$1(t2, t1);
  76387. for (t1 = t2.length, t3 = _this._builtInFunctions, _i = 0; _i < t2.length; t2.length === t1 || (0, A.throwConcurrentModificationError)(t2), ++_i) {
  76388. $function = t2[_i];
  76389. t4 = $function.get$name($function);
  76390. t3.$indexSet(0, A.stringReplaceAllUnchecked(t4, "_", "-"), $function);
  76391. }
  76392. },
  76393. run$2(_, importer, node) {
  76394. var error, stackTrace, t1, exception;
  76395. try {
  76396. t1 = type$.nullable_Object;
  76397. 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);
  76398. return t1;
  76399. } catch (exception) {
  76400. t1 = A.unwrapException(exception);
  76401. if (t1 instanceof A.SassException) {
  76402. error = t1;
  76403. stackTrace = A.getTraceFromException(exception);
  76404. A.throwWithTrace(error.withLoadedUrls$1(this._loadedUrls), error, stackTrace);
  76405. } else
  76406. throw exception;
  76407. }
  76408. },
  76409. runExpression$2(importer, expression) {
  76410. var t1 = type$.nullable_Object;
  76411. 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);
  76412. },
  76413. runStatement$2(importer, statement) {
  76414. var t1 = type$.nullable_Object;
  76415. 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);
  76416. },
  76417. _assertInModule$1$2(value, $name) {
  76418. if (value != null)
  76419. return value;
  76420. throw A.wrapException(A.StateError$("Can't access " + $name + " outside of a module."));
  76421. },
  76422. _assertInModule$2(value, $name) {
  76423. return this._assertInModule$1$2(value, $name, type$.dynamic);
  76424. },
  76425. _withFakeStylesheet$1$3(importer, nodeWithSpan, callback) {
  76426. var t1, _this = this,
  76427. oldImporter = _this._importer;
  76428. _this._importer = importer;
  76429. _this.__stylesheet = A.Stylesheet$(B.List_empty15, nodeWithSpan.get$span(nodeWithSpan));
  76430. try {
  76431. t1 = callback.call$0();
  76432. return t1;
  76433. } finally {
  76434. _this._importer = oldImporter;
  76435. _this.__stylesheet = null;
  76436. }
  76437. },
  76438. _withFakeStylesheet$3(importer, nodeWithSpan, callback) {
  76439. callback.toString;
  76440. return this._withFakeStylesheet$1$3(importer, nodeWithSpan, callback, type$.dynamic);
  76441. },
  76442. _loadModule$7$baseUrl$configuration$namesInErrors(url, stackFrame, nodeWithSpan, callback, baseUrl, configuration, namesInErrors) {
  76443. var t2, _this = this,
  76444. _0_0 = _this._builtInModules.$index(0, url),
  76445. t1 = {};
  76446. t1.builtInModule = null;
  76447. if (_0_0 != null) {
  76448. t1.builtInModule = _0_0;
  76449. if (configuration instanceof A.ExplicitConfiguration) {
  76450. t1 = namesInErrors ? "Built-in module " + url.toString$0(0) + " can't be configured." : "Built-in modules can't be configured.";
  76451. t2 = configuration.nodeWithSpan;
  76452. throw A.wrapException(_this._evaluate$_exception$2(t1, t2.get$span(t2)));
  76453. }
  76454. _this._addExceptionSpan$2(nodeWithSpan, new A._EvaluateVisitor__loadModule_closure(t1, callback));
  76455. return;
  76456. }
  76457. _this._withStackFrame$3(stackFrame, nodeWithSpan, new A._EvaluateVisitor__loadModule_closure0(_this, url, nodeWithSpan, baseUrl, namesInErrors, configuration, callback));
  76458. },
  76459. _loadModule$5$configuration(url, stackFrame, nodeWithSpan, callback, configuration) {
  76460. callback.toString;
  76461. return this._loadModule$7$baseUrl$configuration$namesInErrors(url, stackFrame, nodeWithSpan, callback, null, configuration, false);
  76462. },
  76463. _loadModule$4(url, stackFrame, nodeWithSpan, callback) {
  76464. callback.toString;
  76465. return this._loadModule$7$baseUrl$configuration$namesInErrors(url, stackFrame, nodeWithSpan, callback, null, null, false);
  76466. },
  76467. _execute$5$configuration$namesInErrors$nodeWithSpan(importer, stylesheet, configuration, namesInErrors, nodeWithSpan) {
  76468. var currentConfiguration, t2, _0_0, t3, message, existingSpan, configurationSpan, environment, css, preModuleComments, extensionStore, module, _this = this,
  76469. t1 = stylesheet.span,
  76470. url = t1.get$sourceUrl(t1);
  76471. t1 = configuration == null;
  76472. currentConfiguration = t1 ? _this._configuration : configuration;
  76473. t2 = _this._modules;
  76474. _0_0 = t2.$index(0, url);
  76475. if (_0_0 != null) {
  76476. t2 = _this._moduleConfigurations.$index(0, url);
  76477. t3 = t2.__originalConfiguration;
  76478. t2 = t3 == null ? t2 : t3;
  76479. t3 = currentConfiguration.__originalConfiguration;
  76480. if (t2 !== (t3 == null ? currentConfiguration : t3) && currentConfiguration instanceof A.ExplicitConfiguration && _0_0.couldHaveBeenConfigured$1(new A.MapKeySet(new A.UnmodifiableMapView(currentConfiguration._configuration$_values, type$.UnmodifiableMapView_String_ConfiguredValue), type$.MapKeySet_String))) {
  76481. if (namesInErrors) {
  76482. t2 = $.$get$context();
  76483. url.toString;
  76484. message = t2.prettyUri$1(url) + string$.x20was_a;
  76485. } else
  76486. message = string$.This_mw;
  76487. t2 = _this._moduleNodes.$index(0, url);
  76488. existingSpan = t2 == null ? null : t2.get$span(t2);
  76489. if (t1) {
  76490. t1 = currentConfiguration.nodeWithSpan;
  76491. configurationSpan = t1.get$span(t1);
  76492. } else
  76493. configurationSpan = null;
  76494. t1 = A.LinkedHashMap_LinkedHashMap$_empty(type$.FileSpan, type$.String);
  76495. if (existingSpan != null)
  76496. t1.$indexSet(0, existingSpan, "original load");
  76497. if (configurationSpan != null)
  76498. t1.$indexSet(0, configurationSpan, "configuration");
  76499. throw A.wrapException(t1.get$isEmpty(0) ? _this._evaluate$_exception$1(message) : _this._multiSpanException$3(message, "new load", t1));
  76500. }
  76501. return _0_0;
  76502. }
  76503. environment = A.Environment$();
  76504. css = A._Cell$();
  76505. preModuleComments = A._Cell$();
  76506. extensionStore = A.ExtensionStore$();
  76507. _this._withEnvironment$2(environment, new A._EvaluateVisitor__execute_closure(_this, importer, stylesheet, extensionStore, configuration, css, preModuleComments));
  76508. t1 = css._readLocal$0();
  76509. t3 = preModuleComments._readLocal$0();
  76510. module = environment.toModule$3(t1, t3 == null ? B.Map_empty : t3, extensionStore);
  76511. if (url != null) {
  76512. t2.$indexSet(0, url, module);
  76513. _this._moduleConfigurations.$indexSet(0, url, currentConfiguration);
  76514. if (nodeWithSpan != null)
  76515. _this._moduleNodes.$indexSet(0, url, nodeWithSpan);
  76516. }
  76517. return module;
  76518. },
  76519. _execute$2(importer, stylesheet) {
  76520. return this._execute$5$configuration$namesInErrors$nodeWithSpan(importer, stylesheet, null, false, null);
  76521. },
  76522. _addOutOfOrderImports$0() {
  76523. var t1, t2, _this = this, _s5_ = "_root",
  76524. _s13_ = "_endOfImports",
  76525. _0_0 = _this._outOfOrderImports;
  76526. $label0$0: {
  76527. if (_0_0 == null) {
  76528. t1 = _this._assertInModule$2(_this.__root, _s5_).children;
  76529. break $label0$0;
  76530. }
  76531. t1 = _this._assertInModule$2(_this.__root, _s5_).children;
  76532. 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);
  76533. B.JSArray_methods.addAll$1(t1, _0_0);
  76534. t2 = _this._assertInModule$2(_this.__root, _s5_).children;
  76535. B.JSArray_methods.addAll$1(t1, A.SubListIterable$(t2, _this._assertInModule$2(_this.__endOfImports, _s13_), null, t2.$ti._eval$1("ListBase.E")));
  76536. break $label0$0;
  76537. }
  76538. return t1;
  76539. },
  76540. _combineCss$2$clone(root, clone) {
  76541. var selectors, _0_0, t1, imports, css, sorted, t2;
  76542. if (!B.JSArray_methods.any$1(root.get$upstream(), new A._EvaluateVisitor__combineCss_closure())) {
  76543. selectors = root.get$extensionStore().get$simpleSelectors();
  76544. _0_0 = A.IterableExtension_get_firstOrNull(root.get$extensionStore().extensionsWhereTarget$1(new A._EvaluateVisitor__combineCss_closure0(selectors)));
  76545. if (_0_0 != null)
  76546. this._throwForUnsatisfiedExtension$1(_0_0);
  76547. return root.get$css(root);
  76548. }
  76549. t1 = type$.JSArray_CssNode;
  76550. imports = A._setArrayType([], t1);
  76551. css = A._setArrayType([], t1);
  76552. t1 = type$.Module_Callable;
  76553. sorted = A.ListQueue$(t1);
  76554. new A._EvaluateVisitor__combineCss_visitModule(this, A.LinkedHashSet_LinkedHashSet$_empty(t1), clone, css, imports, sorted).call$1(root);
  76555. if (root.get$transitivelyContainsExtensions())
  76556. this._extendModules$1(sorted);
  76557. t1 = B.JSArray_methods.$add(imports, css);
  76558. t2 = root.get$css(root);
  76559. return new A.CssStylesheet(new A.UnmodifiableListView(t1, type$.UnmodifiableListView_CssNode), t2.get$span(t2));
  76560. },
  76561. _combineCss$1(root) {
  76562. return this._combineCss$2$clone(root, false);
  76563. },
  76564. _extendModules$1(sortedModules) {
  76565. var t1, t2, t3, originalSelectors, $self, t4, t5, _i, upstream, _0_0,
  76566. downstreamExtensionStores = A.LinkedHashMap_LinkedHashMap$_empty(type$.Uri, type$.List_ExtensionStore),
  76567. unsatisfiedExtensions = new A._LinkedIdentityHashSet(type$._LinkedIdentityHashSet_Extension);
  76568. for (t1 = A._ListQueueIterator$(sortedModules, sortedModules.$ti._precomputed1), t2 = t1.$ti._precomputed1; t1.moveNext$0();) {
  76569. t3 = t1._collection$_current;
  76570. if (t3 == null)
  76571. t3 = t2._as(t3);
  76572. originalSelectors = t3.get$extensionStore().get$simpleSelectors().toSet$0(0);
  76573. unsatisfiedExtensions.addAll$1(0, t3.get$extensionStore().extensionsWhereTarget$1(new A._EvaluateVisitor__extendModules_closure(originalSelectors)));
  76574. $self = downstreamExtensionStores.$index(0, t3.get$url(t3));
  76575. t4 = t3.get$extensionStore().get$addExtensions();
  76576. if ($self != null)
  76577. t4.call$1($self);
  76578. t4 = t3.get$extensionStore();
  76579. if (t4.get$isEmpty(t4))
  76580. continue;
  76581. for (t4 = t3.get$upstream(), t5 = t4.length, _i = 0; _i < t4.length; t4.length === t5 || (0, A.throwConcurrentModificationError)(t4), ++_i) {
  76582. upstream = t4[_i];
  76583. _0_0 = upstream.get$url(upstream);
  76584. if (_0_0 != null)
  76585. J.add$1$ax(downstreamExtensionStores.putIfAbsent$2(_0_0, new A._EvaluateVisitor__extendModules_closure0()), t3.get$extensionStore());
  76586. }
  76587. unsatisfiedExtensions.removeAll$1(t3.get$extensionStore().extensionsWhereTarget$1(originalSelectors.get$contains(originalSelectors)));
  76588. }
  76589. if (unsatisfiedExtensions._collection$_length !== 0)
  76590. this._throwForUnsatisfiedExtension$1(unsatisfiedExtensions.get$first(0));
  76591. },
  76592. _throwForUnsatisfiedExtension$1(extension) {
  76593. throw A.wrapException(A.SassException$(string$.The_ta + extension.target.toString$0(0) + ' !optional" to avoid this error.', extension.span, null));
  76594. },
  76595. _indexAfterImports$1(statements) {
  76596. var t1, lastImport, i, _0_0;
  76597. for (t1 = J.getInterceptor$asx(statements), lastImport = -1, i = 0; i < t1.get$length(statements); ++i) {
  76598. $label0$0: {
  76599. _0_0 = t1.$index(statements, i);
  76600. if (_0_0 instanceof A.ModifiableCssImport)
  76601. break $label0$0;
  76602. if (_0_0 instanceof A.ModifiableCssComment)
  76603. continue;
  76604. break;
  76605. }
  76606. lastImport = i;
  76607. }
  76608. return lastImport + 1;
  76609. },
  76610. visitStylesheet$1(_, node) {
  76611. var t1, t2, warning, _i, $name, span;
  76612. 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();) {
  76613. warning = t1.__internal$_current;
  76614. if (warning == null)
  76615. warning = t2._as(warning);
  76616. this._warn$3(warning._1, warning._2, warning._0);
  76617. }
  76618. for (t1 = node.children, t2 = t1.length, _i = 0; _i < t2; ++_i)
  76619. t1[_i].accept$1(this);
  76620. for (t1 = A.MapExtensions_get_pairs(node.globalVariables, type$.String, type$.FileSpan), t1 = t1.get$iterator(t1); t1.moveNext$0();) {
  76621. t2 = t1.get$current(t1);
  76622. $name = t2._0;
  76623. span = t2._1;
  76624. this.visitVariableDeclaration$1(0, new A.VariableDeclaration(null, $name, new A.NullExpression(span), true, false, span));
  76625. }
  76626. return null;
  76627. },
  76628. visitAtRootRule$1(_, node) {
  76629. var t1, _2_0, root, first, rest, innerCopy, outerCopy, _i, copy, _this = this, _null = null,
  76630. _s8_ = "__parent",
  76631. _0_0 = node.query,
  76632. 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,
  76633. $parent = _this._assertInModule$2(_this.__parent, _s8_),
  76634. included = A._setArrayType([], type$.JSArray_ModifiableCssParentNode);
  76635. for (t1 = type$.CssStylesheet; !t1._is($parent); $parent = _2_0) {
  76636. if (!query.excludes$1($parent))
  76637. included.push($parent);
  76638. _2_0 = $parent._parent;
  76639. if (_2_0 == null)
  76640. throw A.wrapException(A.StateError$(string$.CssNod));
  76641. }
  76642. root = _this._trimIncluded$1(included);
  76643. if (root === _this._assertInModule$2(_this.__parent, _s8_)) {
  76644. _this._environment.scope$1$2$when(new A._EvaluateVisitor_visitAtRootRule_closure(_this, node), node.hasDeclarations, type$.Null);
  76645. return _null;
  76646. }
  76647. if (included.length >= 1) {
  76648. first = included[0];
  76649. rest = B.JSArray_methods.sublist$1(included, 1);
  76650. innerCopy = first.copyWithoutChildren$0();
  76651. for (t1 = rest.length, outerCopy = innerCopy, _i = 0; _i < rest.length; rest.length === t1 || (0, A.throwConcurrentModificationError)(rest), ++_i, outerCopy = copy) {
  76652. copy = rest[_i].copyWithoutChildren$0();
  76653. copy.addChild$1(outerCopy);
  76654. }
  76655. root.addChild$1(outerCopy);
  76656. } else
  76657. innerCopy = root;
  76658. _this._scopeForAtRoot$4(node, innerCopy, query, included).call$1(new A._EvaluateVisitor_visitAtRootRule_closure0(_this, node));
  76659. return _null;
  76660. },
  76661. _trimIncluded$1(nodes) {
  76662. var $parent, t1, innermostContiguous, i, t2, _0_0, _1_0, root, _this = this, _null = null, _s5_ = "_root",
  76663. _s22_ = " to be an ancestor of ";
  76664. if (nodes.length === 0)
  76665. return _this._assertInModule$2(_this.__root, _s5_);
  76666. $parent = _this._assertInModule$2(_this.__parent, "__parent");
  76667. for (t1 = nodes.length, innermostContiguous = _null, i = 0; i < t1; ++i, $parent = _1_0) {
  76668. for (; t2 = nodes[i], $parent !== t2; innermostContiguous = _null, $parent = _0_0) {
  76669. _0_0 = $parent._parent;
  76670. if (_0_0 == null)
  76671. throw A.wrapException(A.ArgumentError$("Expected " + t2.toString$0(0) + _s22_ + _this.toString$0(0) + ".", _null));
  76672. }
  76673. if (innermostContiguous == null)
  76674. innermostContiguous = i;
  76675. _1_0 = $parent._parent;
  76676. if (_1_0 == null)
  76677. throw A.wrapException(A.ArgumentError$("Expected " + t2.toString$0(0) + _s22_ + _this.toString$0(0) + ".", _null));
  76678. }
  76679. if ($parent !== _this._assertInModule$2(_this.__root, _s5_))
  76680. return _this._assertInModule$2(_this.__root, _s5_);
  76681. innermostContiguous.toString;
  76682. root = nodes[innermostContiguous];
  76683. B.JSArray_methods.removeRange$2(nodes, innermostContiguous, nodes.length);
  76684. return root;
  76685. },
  76686. _scopeForAtRoot$4(node, newParent, query, included) {
  76687. var _this = this,
  76688. scope = new A._EvaluateVisitor__scopeForAtRoot_closure(_this, newParent, node),
  76689. t1 = query._all || query._at_root_query$_rule;
  76690. if (t1 !== query.include)
  76691. scope = new A._EvaluateVisitor__scopeForAtRoot_closure0(_this, scope);
  76692. if (_this._mediaQueries != null && query.excludesName$1("media"))
  76693. scope = new A._EvaluateVisitor__scopeForAtRoot_closure1(_this, scope);
  76694. if (_this._inKeyframes && query.excludesName$1("keyframes"))
  76695. scope = new A._EvaluateVisitor__scopeForAtRoot_closure2(_this, scope);
  76696. return _this._inUnknownAtRule && !B.JSArray_methods.any$1(included, new A._EvaluateVisitor__scopeForAtRoot_closure3()) ? new A._EvaluateVisitor__scopeForAtRoot_closure4(_this, scope) : scope;
  76697. },
  76698. visitContentBlock$1(_, node) {
  76699. return A.throwExpression(A.UnsupportedError$(string$.Evalua));
  76700. },
  76701. visitContentRule$1(_, node) {
  76702. var $content = this._environment._content;
  76703. if ($content == null)
  76704. return null;
  76705. this._runUserDefinedCallable$1$4(node.$arguments, $content, node, new A._EvaluateVisitor_visitContentRule_closure(this, $content), type$.Null);
  76706. return null;
  76707. },
  76708. visitDebugRule$1(_, node) {
  76709. var value = node.expression.accept$1(this),
  76710. t1 = value instanceof A.SassString ? value._string$_text : A.serializeValue(value, true, true);
  76711. this._logger.debug$2(0, t1, node.span);
  76712. return null;
  76713. },
  76714. visitDeclaration$1(_, node) {
  76715. var siblings, interleavedRules, t1, t2, t3, t4, t5, t6, rule, rule0, $name, _1_0, _2_0, value, _3_0, oldDeclarationName, _this = this, _null = null,
  76716. _s8_ = "__parent";
  76717. if ((_this._atRootExcludingStyleRule ? _null : _this._styleRuleIgnoringAtRoot) == null && !_this._inUnknownAtRule && !_this._inKeyframes)
  76718. throw A.wrapException(_this._evaluate$_exception$2(string$.Declarm, node.span));
  76719. if (_this._declarationName != null && B.JSString_methods.startsWith$1(node.name.get$initialPlain(), "--"))
  76720. throw A.wrapException(_this._evaluate$_exception$2(string$.Declarw, node.span));
  76721. siblings = _this._assertInModule$2(_this.__parent, _s8_)._parent.children;
  76722. interleavedRules = A._setArrayType([], type$.JSArray_CssStyleRule);
  76723. if (siblings.get$last(siblings) !== _this._assertInModule$2(_this.__parent, _s8_))
  76724. t1 = !(_this._quietDeps && _this._inDependency);
  76725. else
  76726. t1 = false;
  76727. if (t1)
  76728. 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();) {
  76729. t6 = t1.__internal$_current;
  76730. rule = t6 == null ? t2._as(t6) : t6;
  76731. $label0$1: {
  76732. if (rule instanceof A.ModifiableCssComment)
  76733. continue;
  76734. t6 = rule instanceof A.ModifiableCssStyleRule;
  76735. rule0 = t6 ? rule : _null;
  76736. if (t6) {
  76737. interleavedRules.push(rule0);
  76738. break $label0$1;
  76739. }
  76740. _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);
  76741. B.JSArray_methods.clear$0(interleavedRules);
  76742. break $label0$1;
  76743. }
  76744. }
  76745. t1 = node.name;
  76746. $name = _this._interpolationToValue$2$warnForColor(t1, true);
  76747. _1_0 = _this._declarationName;
  76748. if (_1_0 != null)
  76749. $name = new A.CssValue(_1_0 + "-" + A.S($name.value), $name.span, type$.CssValue_String);
  76750. _2_0 = node.value;
  76751. if (_2_0 != null) {
  76752. value = _2_0.accept$1(_this);
  76753. if (!value.get$isBlank() || value.get$asList().length === 0 || J.startsWith$1$s($name.value, "--")) {
  76754. t2 = _this._assertInModule$2(_this.__parent, _s8_);
  76755. t3 = _2_0.get$span(_2_0);
  76756. t4 = node.span;
  76757. t1 = B.JSString_methods.startsWith$1(t1.get$initialPlain(), "--");
  76758. t5 = interleavedRules.length === 0 ? _null : _this._evaluate$_stackTrace$1(t4);
  76759. if (_this._sourceMap) {
  76760. t6 = A.NullableExtension_andThen(_2_0, _this.get$_expressionNode());
  76761. t6 = t6 == null ? _null : J.get$span$z(t6);
  76762. } else
  76763. t6 = _null;
  76764. t2.addChild$1(A.ModifiableCssDeclaration$($name, new A.CssValue(value, t3, type$.CssValue_Value), t4, interleavedRules, t1, t5, t6));
  76765. }
  76766. }
  76767. _3_0 = node.children;
  76768. t1 = {};
  76769. t1.children = null;
  76770. if (_3_0 != null) {
  76771. t1.children = _3_0;
  76772. oldDeclarationName = _this._declarationName;
  76773. _this._declarationName = $name.value;
  76774. _this._environment.scope$1$2$when(new A._EvaluateVisitor_visitDeclaration_closure(t1, _this), node.hasDeclarations, type$.Null);
  76775. _this._declarationName = oldDeclarationName;
  76776. }
  76777. return _null;
  76778. },
  76779. visitEachRule$1(_, node) {
  76780. var _this = this,
  76781. t1 = node.list,
  76782. list = t1.accept$1(_this),
  76783. nodeWithSpan = _this._expressionNode$1(t1),
  76784. _0_0 = node.variables;
  76785. $label0$0: {
  76786. t1 = {};
  76787. t1.variable = null;
  76788. if (_0_0.length === 1) {
  76789. t1.variable = _0_0[0];
  76790. t1 = new A._EvaluateVisitor_visitEachRule_closure(t1, _this, nodeWithSpan);
  76791. break $label0$0;
  76792. }
  76793. t1 = {};
  76794. t1.variables = null;
  76795. t1.variables = _0_0;
  76796. t1 = new A._EvaluateVisitor_visitEachRule_closure0(t1, _this, nodeWithSpan);
  76797. break $label0$0;
  76798. }
  76799. return _this._environment.scope$1$2$semiGlobal(new A._EvaluateVisitor_visitEachRule_closure1(_this, list, t1, node), true, type$.nullable_Value);
  76800. },
  76801. _setMultipleVariables$3(variables, value, nodeWithSpan) {
  76802. var i,
  76803. list = value.get$asList(),
  76804. t1 = variables.length,
  76805. minLength = Math.min(t1, list.length);
  76806. for (i = 0; i < minLength; ++i)
  76807. this._environment.setLocalVariable$3(variables[i], this._withoutSlash$2(list[i], nodeWithSpan), nodeWithSpan);
  76808. for (i = minLength; i < t1; ++i)
  76809. this._environment.setLocalVariable$3(variables[i], B.C__SassNull, nodeWithSpan);
  76810. },
  76811. visitErrorRule$1(_, node) {
  76812. throw A.wrapException(this._evaluate$_exception$2(node.expression.accept$1(this).toString$0(0), node.span));
  76813. },
  76814. visitExtendRule$1(_, node) {
  76815. var t1, t2, t3, t4, t5, _i, complex, visitor, t6, t7, _0_0, compound, _this = this, _null = null,
  76816. styleRule = _this._atRootExcludingStyleRule ? _null : _this._styleRuleIgnoringAtRoot;
  76817. if (styleRule == null || _this._declarationName != null)
  76818. throw A.wrapException(_this._evaluate$_exception$2(string$.x40exten, node.span));
  76819. for (t1 = styleRule.originalSelector.components, t2 = t1.length, t3 = node.span, t4 = type$.SourceSpan, t5 = type$.String, _i = 0; _i < t2; ++_i) {
  76820. complex = t1[_i];
  76821. if (!complex.accept$1(B._IsBogusVisitor_true))
  76822. continue;
  76823. visitor = A._SerializeVisitor$(_null, true, _null, _null, true, false, _null, true);
  76824. complex.accept$1(visitor);
  76825. t6 = B.JSString_methods.trim$0(visitor._serialize$_buffer.toString$0(0));
  76826. t7 = complex.accept$1(B.C__IsUselessVisitor) ? "can't" : "shouldn't";
  76827. _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);
  76828. }
  76829. _0_0 = _this._performInterpolationWithMap$2$warnForColor(node.selector, true);
  76830. 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) {
  76831. complex = t1[_i];
  76832. compound = complex.get$singleCompound();
  76833. if (compound == null)
  76834. throw A.wrapException(A.SassFormatException$("complex selectors may not be extended.", complex.span, _null));
  76835. t4 = compound.components;
  76836. t5 = t4.length === 1 ? B.JSArray_methods.get$first(t4) : _null;
  76837. if (t5 == null)
  76838. throw A.wrapException(A.SassFormatException$(string$.compou + B.JSArray_methods.join$1(t4, ", ") + string$.x60_inst, compound.span, _null));
  76839. _this._assertInModule$2(_this.__extensionStore, "_extensionStore").addExtension$4(t3.value, t5, node, _this._mediaQueries);
  76840. }
  76841. return _null;
  76842. },
  76843. visitAtRule$1(_, node) {
  76844. var $name, value, children, wasInKeyframes, wasInUnknownAtRule, _this = this;
  76845. if (_this._declarationName != null)
  76846. throw A.wrapException(_this._evaluate$_exception$2(string$.At_rul, node.span));
  76847. $name = _this._interpolationToValue$1(node.name);
  76848. value = A.NullableExtension_andThen(node.value, new A._EvaluateVisitor_visitAtRule_closure(_this));
  76849. children = node.children;
  76850. if (children == null) {
  76851. _this._assertInModule$2(_this.__parent, "__parent").addChild$1(A.ModifiableCssAtRule$($name, node.span, true, value));
  76852. return null;
  76853. }
  76854. wasInKeyframes = _this._inKeyframes;
  76855. wasInUnknownAtRule = _this._inUnknownAtRule;
  76856. if (A.unvendor($name.value) === "keyframes")
  76857. _this._inKeyframes = true;
  76858. else
  76859. _this._inUnknownAtRule = true;
  76860. _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);
  76861. _this._inUnknownAtRule = wasInUnknownAtRule;
  76862. _this._inKeyframes = wasInKeyframes;
  76863. return null;
  76864. },
  76865. visitForRule$1(_, node) {
  76866. var _this = this, t1 = {},
  76867. t2 = node.from,
  76868. fromNumber = _this._addExceptionSpan$2(t2, new A._EvaluateVisitor_visitForRule_closure(_this, node)),
  76869. t3 = node.to,
  76870. toNumber = _this._addExceptionSpan$2(t3, new A._EvaluateVisitor_visitForRule_closure0(_this, node)),
  76871. from = _this._addExceptionSpan$2(t2, new A._EvaluateVisitor_visitForRule_closure1(fromNumber)),
  76872. to = t1.to = _this._addExceptionSpan$2(t3, new A._EvaluateVisitor_visitForRule_closure2(toNumber, fromNumber)),
  76873. direction = from > to ? -1 : 1;
  76874. if (from === (!node.isExclusive ? t1.to = to + direction : to))
  76875. return null;
  76876. return _this._environment.scope$1$2$semiGlobal(new A._EvaluateVisitor_visitForRule_closure3(t1, _this, node, from, direction, fromNumber), true, type$.nullable_Value);
  76877. },
  76878. visitForwardRule$1(_, node) {
  76879. var newConfiguration, t4, _i, variable, $name, _this = this,
  76880. _s8_ = "@forward",
  76881. oldConfiguration = _this._configuration,
  76882. adjustedConfiguration = oldConfiguration.throughForward$1(node),
  76883. t1 = node.configuration,
  76884. t2 = t1.length,
  76885. t3 = node.url;
  76886. if (t2 !== 0) {
  76887. newConfiguration = _this._addForwardConfiguration$2(adjustedConfiguration, node);
  76888. _this._loadModule$5$configuration(t3, _s8_, node, new A._EvaluateVisitor_visitForwardRule_closure(_this, node), newConfiguration);
  76889. t3 = type$.String;
  76890. t4 = A.LinkedHashSet_LinkedHashSet$_empty(t3);
  76891. for (_i = 0; _i < t2; ++_i) {
  76892. variable = t1[_i];
  76893. if (!variable.isGuarded)
  76894. t4.add$1(0, variable.name);
  76895. }
  76896. _this._removeUsedConfiguration$3$except(adjustedConfiguration, newConfiguration, t4);
  76897. t3 = A.LinkedHashSet_LinkedHashSet$_empty(t3);
  76898. for (_i = 0; _i < t2; ++_i)
  76899. t3.add$1(0, t1[_i].name);
  76900. 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) {
  76901. $name = t2[_i];
  76902. if (!t3.contains$1(0, $name))
  76903. if (!t1.get$isEmpty(t1))
  76904. t1.remove$1(0, $name);
  76905. }
  76906. _this._assertConfigurationIsEmpty$1(newConfiguration);
  76907. } else {
  76908. _this._configuration = adjustedConfiguration;
  76909. _this._loadModule$4(t3, _s8_, node, new A._EvaluateVisitor_visitForwardRule_closure0(_this, node));
  76910. _this._configuration = oldConfiguration;
  76911. }
  76912. return null;
  76913. },
  76914. _addForwardConfiguration$2(configuration, node) {
  76915. var t2, t3, _i, variable, t4, _0_0, t5, oldValue, variableNodeWithSpan, _null = null,
  76916. t1 = configuration._configuration$_values,
  76917. newValues = A.LinkedHashMap_LinkedHashMap$of(new A.UnmodifiableMapView(t1, type$.UnmodifiableMapView_String_ConfiguredValue), type$.String, type$.ConfiguredValue);
  76918. for (t2 = node.configuration, t3 = t2.length, _i = 0; _i < t3; ++_i) {
  76919. variable = t2[_i];
  76920. if (variable.isGuarded) {
  76921. t4 = variable.name;
  76922. _0_0 = t1.get$isEmpty(t1) ? _null : t1.remove$1(0, t4);
  76923. if (_0_0 != null) {
  76924. t5 = !_0_0.value.$eq(0, B.C__SassNull);
  76925. oldValue = _0_0;
  76926. } else {
  76927. oldValue = _null;
  76928. t5 = false;
  76929. }
  76930. if (t5) {
  76931. newValues.$indexSet(0, t4, oldValue);
  76932. continue;
  76933. }
  76934. }
  76935. t4 = variable.expression;
  76936. variableNodeWithSpan = this._expressionNode$1(t4);
  76937. newValues.$indexSet(0, variable.name, new A.ConfiguredValue(this._withoutSlash$2(t4.accept$1(this), variableNodeWithSpan), variable.span, variableNodeWithSpan));
  76938. }
  76939. if (configuration instanceof A.ExplicitConfiguration || t1.get$isEmpty(t1))
  76940. return new A.ExplicitConfiguration(node, newValues, _null);
  76941. else
  76942. return new A.Configuration(newValues, _null);
  76943. },
  76944. _registerCommentsForModule$1(module) {
  76945. var _this = this, _s5_ = "_root",
  76946. t1 = _this.__root;
  76947. if (t1 == null)
  76948. return;
  76949. if (_this._assertInModule$2(t1, _s5_).children.get$length(0) === 0 || !module.get$transitivelyContainsCss())
  76950. return;
  76951. t1 = _this._preModuleComments;
  76952. if (t1 == null)
  76953. t1 = _this._preModuleComments = A.LinkedHashMap_LinkedHashMap$_empty(type$.Module_Callable, type$.List_CssComment);
  76954. 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));
  76955. _this._assertInModule$2(_this.__root, _s5_).clearChildren$0();
  76956. _this.__endOfImports = 0;
  76957. },
  76958. _removeUsedConfiguration$3$except(upstream, downstream, except) {
  76959. var t1, t2, t3, t4, _i, $name;
  76960. 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) {
  76961. $name = t2[_i];
  76962. if (except.contains$1(0, $name))
  76963. continue;
  76964. if (!t4.containsKey$1($name))
  76965. if (!t1.get$isEmpty(t1))
  76966. t1.remove$1(0, $name);
  76967. }
  76968. },
  76969. _assertConfigurationIsEmpty$2$nameInError(configuration, nameInError) {
  76970. var t1, _0_0, $name, value;
  76971. if (!(configuration instanceof A.ExplicitConfiguration))
  76972. return;
  76973. t1 = configuration._configuration$_values;
  76974. if (t1.get$isEmpty(t1))
  76975. return;
  76976. t1 = A.MapExtensions_get_pairs(new A.UnmodifiableMapView(t1, type$.UnmodifiableMapView_String_ConfiguredValue), type$.String, type$.ConfiguredValue);
  76977. _0_0 = t1.get$first(t1);
  76978. $name = _0_0._0;
  76979. value = _0_0._1;
  76980. t1 = nameInError ? "$" + $name + string$.x20was_n : string$.This_v;
  76981. throw A.wrapException(this._evaluate$_exception$2(t1, value.configurationSpan));
  76982. },
  76983. _assertConfigurationIsEmpty$1(configuration) {
  76984. return this._assertConfigurationIsEmpty$2$nameInError(configuration, false);
  76985. },
  76986. visitFunctionRule$1(_, node) {
  76987. var t1 = this._environment,
  76988. t2 = t1.closure$0(),
  76989. t3 = this._inDependency,
  76990. t4 = t1._functions,
  76991. index = t4.length - 1,
  76992. t5 = node.name;
  76993. t1._functionIndices.$indexSet(0, t5, index);
  76994. t4[index].$indexSet(0, t5, new A.UserDefinedCallable(node, t2, t3, type$.UserDefinedCallable_Environment));
  76995. return null;
  76996. },
  76997. visitIfRule$1(_, node) {
  76998. var t1, t2, _i, clauseToCheck,
  76999. clause = node.lastClause;
  77000. for (t1 = node.clauses, t2 = t1.length, _i = 0; _i < t2; ++_i) {
  77001. clauseToCheck = t1[_i];
  77002. if (clauseToCheck.expression.accept$1(this).get$isTruthy()) {
  77003. clause = clauseToCheck;
  77004. break;
  77005. }
  77006. }
  77007. return A.NullableExtension_andThen(clause, new A._EvaluateVisitor_visitIfRule_closure(this));
  77008. },
  77009. visitImportRule$1(_, node) {
  77010. var t1, t2, t3, t4, t5, t6, _i, $import, t7, _0_0, $self, t8, _this = this,
  77011. _s8_ = "__parent",
  77012. _s5_ = "_root",
  77013. _s13_ = "_endOfImports";
  77014. 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) {
  77015. $import = t1[_i];
  77016. if ($import instanceof A.DynamicImport)
  77017. _this._visitDynamicImport$1($import);
  77018. else {
  77019. t5._as($import);
  77020. t7 = $import.url;
  77021. _0_0 = _this._performInterpolationHelper$3$sourceMap$warnForColor(t7, false, false);
  77022. $self = $import.modifiers;
  77023. t8 = $self == null ? null : t4.call$1($self);
  77024. node = new A.ModifiableCssImport(new A.CssValue(_0_0._0, t7.span, t3), t8, $import.span);
  77025. if (_this._assertInModule$2(_this.__parent, _s8_) !== _this._assertInModule$2(_this.__root, _s5_))
  77026. _this._assertInModule$2(_this.__parent, _s8_).addChild$1(node);
  77027. else if (_this._assertInModule$2(_this.__endOfImports, _s13_) === J.get$length$asx(_this._assertInModule$2(_this.__root, _s5_).children._collection$_source)) {
  77028. t7 = _this._assertInModule$2(_this.__root, _s5_);
  77029. node._parent = t7;
  77030. t7 = t7._children;
  77031. node._indexInParent = t7.length;
  77032. t7.push(node);
  77033. _this.__endOfImports = _this._assertInModule$2(_this.__endOfImports, _s13_) + 1;
  77034. } else {
  77035. t7 = _this._outOfOrderImports;
  77036. (t7 == null ? _this._outOfOrderImports = A._setArrayType([], t6) : t7).push(node);
  77037. }
  77038. }
  77039. }
  77040. return null;
  77041. },
  77042. _visitDynamicImport$1($import) {
  77043. return this._withStackFrame$3("@import", $import, new A._EvaluateVisitor__visitDynamicImport_closure(this, $import));
  77044. },
  77045. _loadStylesheet$4$baseUrl$forImport(url, span, baseUrl, forImport) {
  77046. var _0_0, importCache, _1_0, importer, canonicalUrl, originalUrl, isDependency, _2_0, stylesheet, error, stackTrace, error0, stackTrace0, t1, t2, exception, _this = this;
  77047. baseUrl = baseUrl;
  77048. try {
  77049. _this._importSpan = span;
  77050. _0_0 = _this._evaluate$_importCache;
  77051. importCache = null;
  77052. if (_0_0 != null) {
  77053. importCache = _0_0;
  77054. if (baseUrl == null) {
  77055. t1 = _this._assertInModule$2(_this.__stylesheet, "_stylesheet").span;
  77056. baseUrl = t1.get$sourceUrl(t1);
  77057. }
  77058. _1_0 = J.canonicalize$4$baseImporter$baseUrl$forImport$x(importCache, A.Uri_parse(url), _this._importer, baseUrl, forImport);
  77059. importer = null;
  77060. canonicalUrl = null;
  77061. originalUrl = null;
  77062. if (type$.Record_3_nullable_Object_and_nullable_Object_and_nullable_Object_originalUrl._is(_1_0)) {
  77063. importer = _1_0._0;
  77064. canonicalUrl = _1_0._1;
  77065. originalUrl = _1_0._2;
  77066. if (canonicalUrl.get$scheme() === "")
  77067. A.WarnForDeprecation_warnForDeprecation(_this._logger, B.Deprecation_746, "Importer " + A.S(importer) + " canonicalized " + url + " to " + A.S(canonicalUrl) + string$.x2e_Rela, null, null);
  77068. _this._loadedUrls.add$1(0, canonicalUrl);
  77069. isDependency = _this._inDependency || !J.$eq$(importer, _this._importer);
  77070. _2_0 = importCache.importCanonical$3$originalUrl(importer, canonicalUrl, originalUrl);
  77071. stylesheet = null;
  77072. if (_2_0 != null) {
  77073. stylesheet = _2_0;
  77074. t1 = stylesheet;
  77075. t2 = importer;
  77076. return new A._Record_3_importer_isDependency(t1, t2, isDependency);
  77077. }
  77078. }
  77079. }
  77080. t1 = B.JSString_methods.startsWith$1(url, "package:");
  77081. if (t1)
  77082. throw A.wrapException(string$.x22packa);
  77083. else
  77084. throw A.wrapException("Can't find stylesheet to import.");
  77085. } catch (exception) {
  77086. t1 = A.unwrapException(exception);
  77087. if (t1 instanceof A.SassException)
  77088. throw exception;
  77089. else if (t1 instanceof A.ArgumentError) {
  77090. error = t1;
  77091. stackTrace = A.getTraceFromException(exception);
  77092. A.throwWithTrace(_this._evaluate$_exception$1(J.toString$0$(error)), error, stackTrace);
  77093. } else {
  77094. error0 = t1;
  77095. stackTrace0 = A.getTraceFromException(exception);
  77096. A.throwWithTrace(_this._evaluate$_exception$1(_this._getErrorMessage$1(error0)), error0, stackTrace0);
  77097. }
  77098. } finally {
  77099. _this._importSpan = null;
  77100. }
  77101. },
  77102. _loadStylesheet$3$baseUrl(url, span, baseUrl) {
  77103. return this._loadStylesheet$4$baseUrl$forImport(url, span, baseUrl, false);
  77104. },
  77105. _loadStylesheet$3$forImport(url, span, forImport) {
  77106. return this._loadStylesheet$4$baseUrl$forImport(url, span, null, forImport);
  77107. },
  77108. _applyMixin$5(mixin, contentCallable, $arguments, nodeWithSpan, nodeWithSpanWithoutContent) {
  77109. var t1, _0_0, t2, _1_8, t3, _this = this,
  77110. _s37_ = "Mixin doesn't accept a content block.",
  77111. _s10_ = "invocation";
  77112. $label0$0: {
  77113. if (mixin == null)
  77114. throw A.wrapException(_this._evaluate$_exception$2("Undefined mixin.", nodeWithSpan.get$span(nodeWithSpan)));
  77115. t1 = mixin instanceof A.BuiltInCallable;
  77116. if (t1 && !mixin.acceptsContent && contentCallable != null) {
  77117. t1 = _this._evaluateArguments$1($arguments)._values;
  77118. _0_0 = mixin.callbackFor$2(t1[2].length, new A.MapKeySet(t1[0], type$.MapKeySet_String));
  77119. 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));
  77120. }
  77121. if (t1) {
  77122. _this._environment.withContent$2(contentCallable, new A._EvaluateVisitor__applyMixin_closure(_this, $arguments, mixin, nodeWithSpanWithoutContent));
  77123. break $label0$0;
  77124. }
  77125. t1 = type$.UserDefinedCallable_Environment._is(mixin);
  77126. t2 = false;
  77127. if (t1) {
  77128. _1_8 = mixin.declaration;
  77129. t3 = _1_8;
  77130. if (t3 instanceof A.MixinRule)
  77131. t2 = !type$.MixinRule._as(_1_8).get$hasContent() && contentCallable != null;
  77132. }
  77133. if (t2)
  77134. 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));
  77135. if (t1) {
  77136. _this._runUserDefinedCallable$1$4($arguments, mixin, nodeWithSpanWithoutContent, new A._EvaluateVisitor__applyMixin_closure0(_this, contentCallable, mixin, nodeWithSpanWithoutContent), type$.Null);
  77137. break $label0$0;
  77138. }
  77139. throw A.wrapException(A.UnsupportedError$("Unknown callable type " + mixin.toString$0(0) + "."));
  77140. }
  77141. },
  77142. visitIncludeRule$1(_, node) {
  77143. var _this = this,
  77144. mixin = _this._addExceptionSpan$2(node, new A._EvaluateVisitor_visitIncludeRule_closure(_this, node));
  77145. if (B.JSString_methods.startsWith$1(node.originalName, "--") && mixin instanceof A.UserDefinedCallable && !B.JSString_methods.startsWith$1(mixin.declaration.originalName, "--"))
  77146. _this._warn$3(string$.Sassx20_m, node.get$nameSpan(), B.Deprecation_Kg6);
  77147. _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)));
  77148. return null;
  77149. },
  77150. visitMixinRule$1(_, node) {
  77151. var t1 = this._environment,
  77152. t2 = t1.closure$0(),
  77153. t3 = this._inDependency,
  77154. t4 = t1._mixins,
  77155. index = t4.length - 1,
  77156. t5 = node.name;
  77157. t1._mixinIndices.$indexSet(0, t5, index);
  77158. t4[index].$indexSet(0, t5, new A.UserDefinedCallable(node, t2, t3, type$.UserDefinedCallable_Environment));
  77159. return null;
  77160. },
  77161. visitLoudComment$1(_, node) {
  77162. var t1, text, _this = this,
  77163. _s8_ = "__parent",
  77164. _s13_ = "_endOfImports";
  77165. if (_this._inFunction)
  77166. return null;
  77167. 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))
  77168. _this.__endOfImports = _this._assertInModule$2(_this.__endOfImports, _s13_) + 1;
  77169. t1 = node.text;
  77170. text = _this._performInterpolation$1(t1);
  77171. if (!B.JSString_methods.endsWith$1(text, "*/"))
  77172. text += " */";
  77173. _this._assertInModule$2(_this.__parent, _s8_).addChild$1(new A.ModifiableCssComment(text, t1.span));
  77174. return null;
  77175. },
  77176. visitMediaRule$1(_, node) {
  77177. var _0_0, queries, mergedQueries, t1, mergedSources, t2, t3, _this = this;
  77178. if (_this._declarationName != null)
  77179. throw A.wrapException(_this._evaluate$_exception$2(string$.Media_, node.span));
  77180. _0_0 = _this._performInterpolationWithMap$2$warnForColor(node.query, true);
  77181. queries = new A.MediaQueryParser(A.SpanScanner$(_0_0._0, null), _0_0._1).parse$0(0);
  77182. mergedQueries = A.NullableExtension_andThen(_this._mediaQueries, new A._EvaluateVisitor_visitMediaRule_closure(_this, queries));
  77183. t1 = mergedQueries == null;
  77184. if (!t1 && J.get$isEmpty$asx(mergedQueries))
  77185. return null;
  77186. if (t1)
  77187. mergedSources = B.Set_empty2;
  77188. else {
  77189. t2 = _this._mediaQuerySources;
  77190. t2.toString;
  77191. t2 = A.LinkedHashSet_LinkedHashSet$of(t2, type$.CssMediaQuery);
  77192. t3 = _this._mediaQueries;
  77193. t3.toString;
  77194. t2.addAll$1(0, t3);
  77195. t2.addAll$1(0, queries);
  77196. mergedSources = t2;
  77197. }
  77198. t1 = t1 ? queries : mergedQueries;
  77199. _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);
  77200. return null;
  77201. },
  77202. _mergeMediaQueries$2(queries1, queries2) {
  77203. var t1, t2, t3, t4, _0_0, t5, result,
  77204. queries = A._setArrayType([], type$.JSArray_CssMediaQuery);
  77205. for (t1 = J.get$iterator$ax(queries1), t2 = J.getInterceptor$ax(queries2); t1.moveNext$0();) {
  77206. t3 = t1.get$current(t1);
  77207. for (t4 = t2.get$iterator(queries2); t4.moveNext$0();) {
  77208. _0_0 = t3.merge$1(t4.get$current(t4));
  77209. if (B._SingletonCssMediaQueryMergeResult_0 === _0_0)
  77210. continue;
  77211. if (B._SingletonCssMediaQueryMergeResult_1 === _0_0)
  77212. return null;
  77213. t5 = _0_0 instanceof A.MediaQuerySuccessfulMergeResult;
  77214. result = t5 ? _0_0 : null;
  77215. if (t5)
  77216. queries.push(result.query);
  77217. }
  77218. }
  77219. return queries;
  77220. },
  77221. visitReturnRule$1(_, node) {
  77222. var t1 = node.expression;
  77223. return this._withoutSlash$2(t1.accept$1(this), t1);
  77224. },
  77225. visitSilentComment$1(_, node) {
  77226. return null;
  77227. },
  77228. visitStyleRule$1(_, node) {
  77229. var t1, _0_0, selectorText, selectorMap, parsedSelector, _1_0, t2, t3, _i, _2_0, first, t4, rule, oldAtRootExcludingStyleRule, _this = this, _null = null,
  77230. _s8_ = "__parent",
  77231. _s11_ = "_stylesheet";
  77232. if (_this._declarationName != null)
  77233. throw A.wrapException(_this._evaluate$_exception$2(string$.Style_n, node.span));
  77234. else if (_this._inKeyframes && _this._assertInModule$2(_this.__parent, _s8_) instanceof A.ModifiableCssKeyframeBlock)
  77235. throw A.wrapException(_this._evaluate$_exception$2(string$.Style_k, node.span));
  77236. t1 = node.selector;
  77237. _0_0 = _this._performInterpolationWithMap$2$warnForColor(t1, true);
  77238. selectorText = _0_0._0;
  77239. selectorMap = _0_0._1;
  77240. if (_this._inKeyframes) {
  77241. _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);
  77242. return _null;
  77243. }
  77244. parsedSelector = A.SelectorList_SelectorList$parse(selectorText, true, selectorMap, _this._assertInModule$2(_this.__stylesheet, _s11_).plainCss);
  77245. _1_0 = _this._atRootExcludingStyleRule ? _null : _this._styleRuleIgnoringAtRoot;
  77246. $label0$0: {
  77247. if (_1_0 == null) {
  77248. t1 = true;
  77249. break $label0$0;
  77250. }
  77251. if (_1_0.fromPlainCss) {
  77252. t1 = false;
  77253. break $label0$0;
  77254. }
  77255. t1 = !(_this._assertInModule$2(_this.__stylesheet, _s11_).plainCss && parsedSelector.accept$1(B.C__ContainsParentSelectorVisitor));
  77256. break $label0$0;
  77257. }
  77258. if (t1) {
  77259. if (_this._assertInModule$2(_this.__stylesheet, _s11_).plainCss)
  77260. for (t2 = parsedSelector.components, t3 = t2.length, _i = 0; _i < t3; ++_i) {
  77261. _2_0 = t2[_i].leadingCombinators;
  77262. if (_2_0.length >= 1) {
  77263. first = _2_0[0];
  77264. t4 = _this._assertInModule$2(_this.__stylesheet, _s11_).plainCss;
  77265. } else {
  77266. first = _null;
  77267. t4 = false;
  77268. }
  77269. if (t4)
  77270. throw A.wrapException(_this._evaluate$_exception$2(string$.Top_lel, first.span));
  77271. }
  77272. t2 = _this._styleRuleIgnoringAtRoot;
  77273. t2 = t2 == null ? _null : t2.originalSelector;
  77274. parsedSelector = parsedSelector.nestWithin$3$implicitParent$preserveParentSelectors(t2, !_this._atRootExcludingStyleRule, _this._assertInModule$2(_this.__stylesheet, _s11_).plainCss);
  77275. }
  77276. rule = A.ModifiableCssStyleRule$(_this._assertInModule$2(_this.__extensionStore, "_extensionStore").addSelector$2(parsedSelector, _this._mediaQueries), node.span, _this._assertInModule$2(_this.__stylesheet, _s11_).plainCss, parsedSelector);
  77277. oldAtRootExcludingStyleRule = _this._atRootExcludingStyleRule;
  77278. t2 = _this._atRootExcludingStyleRule = false;
  77279. t1 = t1 ? new A._EvaluateVisitor_visitStyleRule_closure1() : _null;
  77280. _this._withParent$2$4$scopeWhen$through(rule, new A._EvaluateVisitor_visitStyleRule_closure2(_this, rule, node), node.hasDeclarations, t1, type$.ModifiableCssStyleRule, type$.Null);
  77281. _this._atRootExcludingStyleRule = oldAtRootExcludingStyleRule;
  77282. _this._warnForBogusCombinators$1(rule);
  77283. if ((_this._atRootExcludingStyleRule ? _null : _this._styleRuleIgnoringAtRoot) == null) {
  77284. t1 = _this._assertInModule$2(_this.__parent, _s8_).children;
  77285. t1 = !t1.get$isEmpty(t1);
  77286. } else
  77287. t1 = t2;
  77288. if (t1) {
  77289. t1 = _this._assertInModule$2(_this.__parent, _s8_).children;
  77290. t1.get$last(t1).isGroupEnd = true;
  77291. }
  77292. return _null;
  77293. },
  77294. _warnForBogusCombinators$1(rule) {
  77295. var t1, t2, t3, t4, t5, _i, complex, visitor, t6, t7, t8, t9, _this = this, _null = null;
  77296. if (!rule.accept$1(B._IsInvisibleVisitor_false_false))
  77297. 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) {
  77298. complex = t1[_i];
  77299. if (!complex.accept$1(B._IsBogusVisitor_true))
  77300. continue;
  77301. if (complex.accept$1(B.C__IsUselessVisitor)) {
  77302. visitor = A._SerializeVisitor$(_null, true, _null, _null, true, false, _null, true);
  77303. complex.accept$1(visitor);
  77304. _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);
  77305. } else if (complex.leadingCombinators.length !== 0) {
  77306. if (!_this._assertInModule$2(_this.__stylesheet, "_stylesheet").plainCss) {
  77307. visitor = A._SerializeVisitor$(_null, true, _null, _null, true, false, _null, true);
  77308. complex.accept$1(visitor);
  77309. _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);
  77310. }
  77311. } else {
  77312. visitor = A._SerializeVisitor$(_null, true, _null, _null, true, false, _null, true);
  77313. complex.accept$1(visitor);
  77314. t6 = B.JSString_methods.trim$0(visitor._serialize$_buffer.toString$0(0));
  77315. t7 = complex.accept$1(B._IsBogusVisitor_false) ? string$.x20It_wi : "";
  77316. t8 = A.SpanExtensions_trimRight(complex.span);
  77317. if (t5.get$length(0) === 0)
  77318. A.throwExpression(A.IterableElementError_noElement());
  77319. t9 = J.get$span$z(t5.$index(0, 0));
  77320. _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);
  77321. }
  77322. }
  77323. },
  77324. visitSupportsRule$1(_, node) {
  77325. var t1, _this = this;
  77326. if (_this._declarationName != null)
  77327. throw A.wrapException(_this._evaluate$_exception$2(string$.Suppor, node.span));
  77328. t1 = node.condition;
  77329. _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);
  77330. return null;
  77331. },
  77332. _visitSupportsCondition$1(condition) {
  77333. var t1, _this = this;
  77334. $label0$0: {
  77335. if (condition instanceof A.SupportsOperation) {
  77336. t1 = condition.operator;
  77337. t1 = _this._evaluate$_parenthesize$2(condition.left, t1) + " " + t1 + " " + _this._evaluate$_parenthesize$2(condition.right, t1);
  77338. break $label0$0;
  77339. }
  77340. if (condition instanceof A.SupportsNegation) {
  77341. t1 = "not " + _this._evaluate$_parenthesize$1(condition.condition);
  77342. break $label0$0;
  77343. }
  77344. if (condition instanceof A.SupportsInterpolation) {
  77345. t1 = condition.expression;
  77346. t1 = _this._evaluate$_serialize$3$quote(t1.accept$1(_this), t1, false);
  77347. break $label0$0;
  77348. }
  77349. t1 = {};
  77350. t1.declaration = null;
  77351. if (condition instanceof A.SupportsDeclaration) {
  77352. t1.declaration = condition;
  77353. t1 = _this._withSupportsDeclaration$1(new A._EvaluateVisitor__visitSupportsCondition_closure(t1, _this));
  77354. break $label0$0;
  77355. }
  77356. if (condition instanceof A.SupportsFunction) {
  77357. t1 = _this._performInterpolation$1(condition.name) + "(" + _this._performInterpolation$1(condition.$arguments) + ")";
  77358. break $label0$0;
  77359. }
  77360. if (condition instanceof A.SupportsAnything) {
  77361. t1 = "(" + _this._performInterpolation$1(condition.contents) + ")";
  77362. break $label0$0;
  77363. }
  77364. t1 = A.throwExpression(A.ArgumentError$("Unknown supports condition type " + A.getRuntimeTypeOfDartObject(condition).toString$0(0) + ".", null));
  77365. }
  77366. return t1;
  77367. },
  77368. _withSupportsDeclaration$1$1(callback) {
  77369. var t1,
  77370. oldInSupportsDeclaration = this._inSupportsDeclaration;
  77371. this._inSupportsDeclaration = true;
  77372. try {
  77373. t1 = callback.call$0();
  77374. return t1;
  77375. } finally {
  77376. this._inSupportsDeclaration = oldInSupportsDeclaration;
  77377. }
  77378. },
  77379. _withSupportsDeclaration$1(callback) {
  77380. callback.toString;
  77381. return this._withSupportsDeclaration$1$1(callback, type$.dynamic);
  77382. },
  77383. _evaluate$_parenthesize$2(condition, operator) {
  77384. var t1;
  77385. if (!(condition instanceof A.SupportsNegation))
  77386. if (condition instanceof A.SupportsOperation)
  77387. t1 = operator == null || operator !== condition.operator;
  77388. else
  77389. t1 = false;
  77390. else
  77391. t1 = true;
  77392. if (t1)
  77393. return "(" + this._visitSupportsCondition$1(condition) + ")";
  77394. return this._visitSupportsCondition$1(condition);
  77395. },
  77396. _evaluate$_parenthesize$1(condition) {
  77397. return this._evaluate$_parenthesize$2(condition, null);
  77398. },
  77399. visitVariableDeclaration$1(_, node) {
  77400. var t1, t2, _0_0, value, _this = this, _null = null;
  77401. if (node.isGuarded) {
  77402. if (node.namespace == null && _this._environment._variables.length === 1) {
  77403. t1 = node.name;
  77404. _this._environment._configurableVariables.add$1(0, t1);
  77405. t2 = _this._configuration._configuration$_values;
  77406. _0_0 = t2.get$isEmpty(t2) ? _null : t2.remove$1(0, t1);
  77407. t1 = {};
  77408. t1.override = null;
  77409. if (_0_0 != null) {
  77410. t1.override = _0_0;
  77411. t2 = !_0_0.value.$eq(0, B.C__SassNull);
  77412. } else
  77413. t2 = false;
  77414. if (t2) {
  77415. _this._addExceptionSpan$2(node, new A._EvaluateVisitor_visitVariableDeclaration_closure(t1, _this, node));
  77416. return _null;
  77417. }
  77418. }
  77419. value = _this._addExceptionSpan$2(node, new A._EvaluateVisitor_visitVariableDeclaration_closure0(_this, node));
  77420. if (value != null && !value.$eq(0, B.C__SassNull))
  77421. return _null;
  77422. }
  77423. if (node.isGlobal && !_this._environment.globalVariableExists$1(node.name)) {
  77424. t1 = _this._environment._variables.length === 1 ? string$.As_of_S : string$.As_of_R + A.declarationName(node.span) + ": null` at the stylesheet root.";
  77425. _this._warn$3(t1, node.span, B.Deprecation_Rg0);
  77426. }
  77427. t1 = node.expression;
  77428. _this._addExceptionSpan$2(node, new A._EvaluateVisitor_visitVariableDeclaration_closure1(_this, node, _this._withoutSlash$2(t1.accept$1(_this), t1)));
  77429. return _null;
  77430. },
  77431. visitUseRule$1(_, node) {
  77432. var values, _i, variable, t3, variableNodeWithSpan, configuration, _this = this,
  77433. t1 = node.configuration,
  77434. t2 = t1.length;
  77435. if (t2 !== 0) {
  77436. values = A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.ConfiguredValue);
  77437. for (_i = 0; _i < t2; ++_i) {
  77438. variable = t1[_i];
  77439. t3 = variable.expression;
  77440. variableNodeWithSpan = _this._expressionNode$1(t3);
  77441. values.$indexSet(0, variable.name, new A.ConfiguredValue(_this._withoutSlash$2(t3.accept$1(_this), variableNodeWithSpan), variable.span, variableNodeWithSpan));
  77442. }
  77443. configuration = new A.ExplicitConfiguration(node, values, null);
  77444. } else
  77445. configuration = B.Configuration_Map_empty_null;
  77446. _this._loadModule$5$configuration(node.url, "@use", node, new A._EvaluateVisitor_visitUseRule_closure(_this, node), configuration);
  77447. _this._assertConfigurationIsEmpty$1(configuration);
  77448. return null;
  77449. },
  77450. visitWarnRule$1(_, node) {
  77451. var _this = this,
  77452. value = _this._addExceptionSpan$2(node, new A._EvaluateVisitor_visitWarnRule_closure(_this, node)),
  77453. t1 = value instanceof A.SassString ? value._string$_text : _this._evaluate$_serialize$2(value, node.expression),
  77454. t2 = _this._evaluate$_stackTrace$1(node.span);
  77455. _this._logger.internalWarn$4$deprecation$span$trace(t1, null, null, t2);
  77456. return null;
  77457. },
  77458. visitWhileRule$1(_, node) {
  77459. return this._environment.scope$1$3$semiGlobal$when(new A._EvaluateVisitor_visitWhileRule_closure(this, node), true, node.hasDeclarations, type$.nullable_Value);
  77460. },
  77461. visitBinaryOperationExpression$1(_, node) {
  77462. var t1, _this = this;
  77463. if (_this._assertInModule$2(_this.__stylesheet, "_stylesheet").plainCss) {
  77464. t1 = node.operator;
  77465. t1 = t1 !== B.BinaryOperator_Kyq && t1 !== B.BinaryOperator_Mh5;
  77466. } else
  77467. t1 = false;
  77468. if (t1)
  77469. throw A.wrapException(_this._evaluate$_exception$2("Operators aren't allowed in plain CSS.", node.get$operatorSpan()));
  77470. return _this._addExceptionSpan$2(node, new A._EvaluateVisitor_visitBinaryOperationExpression_closure(_this, node));
  77471. },
  77472. _slash$3(left, right, node) {
  77473. var t2, _1_1,
  77474. result = left.dividedBy$1(right),
  77475. _1_2_isSet = left instanceof A.SassNumber,
  77476. _1_2 = null, right0 = null,
  77477. t1 = false;
  77478. if (_1_2_isSet) {
  77479. t2 = type$.SassNumber;
  77480. t2._as(left);
  77481. if (right instanceof A.SassNumber) {
  77482. t2._as(right);
  77483. t1 = node.allowsSlash && this._operandAllowsSlash$1(node.left) && this._operandAllowsSlash$1(node.right);
  77484. right0 = right;
  77485. _1_2 = right0;
  77486. } else
  77487. _1_2 = right;
  77488. _1_1 = left;
  77489. } else {
  77490. _1_1 = left;
  77491. left = null;
  77492. }
  77493. if (t1)
  77494. return type$.SassNumber._as(result).withSlash$2(left, right0);
  77495. if (_1_1 instanceof A.SassNumber)
  77496. t1 = (_1_2_isSet ? _1_2 : right) instanceof A.SassNumber;
  77497. else
  77498. t1 = false;
  77499. if (t1) {
  77500. 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);
  77501. return result;
  77502. }
  77503. return result;
  77504. },
  77505. _operandAllowsSlash$1(node) {
  77506. var t1;
  77507. if (node instanceof A.FunctionExpression)
  77508. if (node.namespace == null) {
  77509. t1 = node.name;
  77510. t1 = B.Set_Pr3yj.contains$1(0, t1.toLowerCase()) && this._environment.getFunction$1(t1) == null;
  77511. } else
  77512. t1 = false;
  77513. else
  77514. t1 = true;
  77515. return t1;
  77516. },
  77517. visitValueExpression$1(_, node) {
  77518. return node.value;
  77519. },
  77520. visitVariableExpression$1(_, node) {
  77521. var result = this._addExceptionSpan$2(node, new A._EvaluateVisitor_visitVariableExpression_closure(this, node));
  77522. if (result != null)
  77523. return result;
  77524. throw A.wrapException(this._evaluate$_exception$2("Undefined variable.", node.span));
  77525. },
  77526. visitUnaryOperationExpression$1(_, node) {
  77527. return this._addExceptionSpan$2(node, new A._EvaluateVisitor_visitUnaryOperationExpression_closure(node, node.operand.accept$1(this)));
  77528. },
  77529. visitBooleanExpression$1(_, node) {
  77530. return node.value ? B.SassBoolean_true : B.SassBoolean_false;
  77531. },
  77532. visitIfExpression$1(_, node) {
  77533. var condition, t1, ifTrue, ifFalse, result, _this = this,
  77534. _0_0 = _this._evaluateMacroArguments$1(node),
  77535. positional = _0_0._0,
  77536. named = _0_0._1;
  77537. _this._verifyArguments$4(positional.length, named, $.$get$IfExpression_declaration(), node);
  77538. condition = A.ListExtensions_elementAtOrNull(positional, 0);
  77539. if (condition == null) {
  77540. t1 = named.$index(0, "condition");
  77541. t1.toString;
  77542. condition = t1;
  77543. }
  77544. ifTrue = A.ListExtensions_elementAtOrNull(positional, 1);
  77545. if (ifTrue == null) {
  77546. t1 = named.$index(0, "if-true");
  77547. t1.toString;
  77548. ifTrue = t1;
  77549. }
  77550. ifFalse = A.ListExtensions_elementAtOrNull(positional, 2);
  77551. if (ifFalse == null) {
  77552. t1 = named.$index(0, "if-false");
  77553. t1.toString;
  77554. ifFalse = t1;
  77555. }
  77556. result = condition.accept$1(_this).get$isTruthy() ? ifTrue : ifFalse;
  77557. return _this._withoutSlash$2(result.accept$1(_this), _this._expressionNode$1(result));
  77558. },
  77559. visitNullExpression$1(_, node) {
  77560. return B.C__SassNull;
  77561. },
  77562. visitNumberExpression$1(_, node) {
  77563. return A.SassNumber_SassNumber(node.value, node.unit);
  77564. },
  77565. visitParenthesizedExpression$1(_, node) {
  77566. var _this = this;
  77567. 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);
  77568. },
  77569. visitColorExpression$1(_, node) {
  77570. return node.value;
  77571. },
  77572. visitListExpression$1(_, node) {
  77573. var t1 = node.contents;
  77574. 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);
  77575. },
  77576. visitMapExpression$1(_, node) {
  77577. var t2, t3, _i, t4, key, keyValue, valueValue, oldValueSpan,
  77578. t1 = type$.Value,
  77579. map = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1),
  77580. keyNodes = A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.AstNode);
  77581. for (t2 = node.pairs, t3 = t2.length, _i = 0; _i < t3; ++_i) {
  77582. t4 = t2[_i];
  77583. key = t4._0;
  77584. keyValue = key.accept$1(this);
  77585. valueValue = t4._1.accept$1(this);
  77586. if (map.containsKey$1(keyValue)) {
  77587. t1 = keyNodes.$index(0, keyValue);
  77588. oldValueSpan = t1 == null ? null : t1.get$span(t1);
  77589. t1 = key.get$span(key);
  77590. t2 = A.LinkedHashMap_LinkedHashMap$_empty(type$.FileSpan, type$.String);
  77591. if (oldValueSpan != null)
  77592. t2.$indexSet(0, oldValueSpan, "first key");
  77593. throw A.wrapException(A.MultiSpanSassRuntimeException$("Duplicate key.", t1, "second key", t2, this._evaluate$_stackTrace$1(key.get$span(key)), null));
  77594. }
  77595. map.$indexSet(0, keyValue, valueValue);
  77596. keyNodes.$indexSet(0, keyValue, key);
  77597. }
  77598. return new A.SassMap(A.ConstantMap_ConstantMap$from(map, t1, t1));
  77599. },
  77600. visitFunctionExpression$1(_, node) {
  77601. var t2, _0_0, t3, t4, $name, oldInFunction, result, _this = this,
  77602. _s11_ = "_stylesheet",
  77603. t1 = {},
  77604. $function = _this._assertInModule$2(_this.__stylesheet, _s11_).plainCss ? null : _this._addExceptionSpan$2(node, new A._EvaluateVisitor_visitFunctionExpression_closure(_this, node));
  77605. t1.$function = $function;
  77606. if ($function == null) {
  77607. if (node.namespace != null)
  77608. throw A.wrapException(_this._evaluate$_exception$2("Undefined function.", node.span));
  77609. t2 = node.name;
  77610. _0_0 = t2.toLowerCase();
  77611. t3 = false;
  77612. if ("min" === _0_0 || "max" === _0_0 || "round" === _0_0 || "abs" === _0_0) {
  77613. t3 = node.$arguments;
  77614. t4 = t3.named;
  77615. t3 = t4.get$isEmpty(t4) && t3.rest == null && B.JSArray_methods.every$1(t3.positional, new A._EvaluateVisitor_visitFunctionExpression_closure0());
  77616. $name = _0_0;
  77617. } else
  77618. $name = null;
  77619. if (t3)
  77620. return _this._visitCalculation$2$inLegacySassFunction(node, $name);
  77621. 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)
  77622. return _this._visitCalculation$1(node);
  77623. $function = _this._assertInModule$2(_this.__stylesheet, _s11_).plainCss ? null : _this._builtInFunctions.$index(0, t2);
  77624. t2 = t1.$function = $function == null ? new A.PlainCssCallable(node.originalName) : $function;
  77625. } else
  77626. t2 = $function;
  77627. if (B.JSString_methods.startsWith$1(node.originalName, "--") && t2 instanceof A.UserDefinedCallable && !B.JSString_methods.startsWith$1(t2.declaration.originalName, "--"))
  77628. _this._warn$3(string$.Sassx20_f_, node.get$nameSpan(), B.Deprecation_Kg6);
  77629. oldInFunction = _this._inFunction;
  77630. _this._inFunction = true;
  77631. result = _this._addErrorSpan$2(node, new A._EvaluateVisitor_visitFunctionExpression_closure1(t1, _this, node));
  77632. _this._inFunction = oldInFunction;
  77633. return result;
  77634. },
  77635. _visitCalculation$2$inLegacySassFunction(node, inLegacySassFunction) {
  77636. var $arguments, oldCallableNode, t1, _0_0, error, stackTrace, t4, _i, exception, _this = this,
  77637. t2 = node.$arguments,
  77638. t3 = t2.named;
  77639. if (t3.get$isNotEmpty(t3))
  77640. throw A.wrapException(_this._evaluate$_exception$2(string$.Keywor, node.span));
  77641. else if (t2.rest != null)
  77642. throw A.wrapException(_this._evaluate$_exception$2(string$.Rest_a, node.span));
  77643. _this._checkCalculationArguments$1(node);
  77644. t3 = A._setArrayType([], type$.JSArray_Object);
  77645. for (t2 = t2.positional, t4 = t2.length, _i = 0; _i < t4; ++_i)
  77646. t3.push(_this._visitCalculationExpression$2$inLegacySassFunction(t2[_i], inLegacySassFunction));
  77647. $arguments = t3;
  77648. if (_this._inSupportsDeclaration)
  77649. return new A.SassCalculation(node.name, A.List_List$unmodifiable($arguments, type$.Object));
  77650. oldCallableNode = _this._callableNode;
  77651. _this._callableNode = node;
  77652. try {
  77653. t1 = null;
  77654. t3 = node.name;
  77655. _0_0 = t3.toLowerCase();
  77656. $label0$0: {
  77657. if ("calc" === _0_0) {
  77658. t1 = A.SassCalculation_calc(J.$index$asx($arguments, 0));
  77659. break $label0$0;
  77660. }
  77661. if ("sqrt" === _0_0) {
  77662. t1 = A.SassCalculation__singleArgument("sqrt", J.$index$asx($arguments, 0), A.number0__sqrt$closure(), true);
  77663. break $label0$0;
  77664. }
  77665. if ("sin" === _0_0) {
  77666. t1 = A.SassCalculation__singleArgument("sin", J.$index$asx($arguments, 0), A.number0__sin$closure(), false);
  77667. break $label0$0;
  77668. }
  77669. if ("cos" === _0_0) {
  77670. t1 = A.SassCalculation__singleArgument("cos", J.$index$asx($arguments, 0), A.number0__cos$closure(), false);
  77671. break $label0$0;
  77672. }
  77673. if ("tan" === _0_0) {
  77674. t1 = A.SassCalculation__singleArgument("tan", J.$index$asx($arguments, 0), A.number0__tan$closure(), false);
  77675. break $label0$0;
  77676. }
  77677. if ("asin" === _0_0) {
  77678. t1 = A.SassCalculation__singleArgument("asin", J.$index$asx($arguments, 0), A.number0__asin$closure(), true);
  77679. break $label0$0;
  77680. }
  77681. if ("acos" === _0_0) {
  77682. t1 = A.SassCalculation__singleArgument("acos", J.$index$asx($arguments, 0), A.number0__acos$closure(), true);
  77683. break $label0$0;
  77684. }
  77685. if ("atan" === _0_0) {
  77686. t1 = A.SassCalculation__singleArgument("atan", J.$index$asx($arguments, 0), A.number0__atan$closure(), true);
  77687. break $label0$0;
  77688. }
  77689. if ("abs" === _0_0) {
  77690. t1 = A.SassCalculation_abs(J.$index$asx($arguments, 0));
  77691. break $label0$0;
  77692. }
  77693. if ("exp" === _0_0) {
  77694. t1 = A.SassCalculation_exp(J.$index$asx($arguments, 0));
  77695. break $label0$0;
  77696. }
  77697. if ("sign" === _0_0) {
  77698. t1 = A.SassCalculation_sign(J.$index$asx($arguments, 0));
  77699. break $label0$0;
  77700. }
  77701. if ("min" === _0_0) {
  77702. t1 = A.SassCalculation_min($arguments);
  77703. break $label0$0;
  77704. }
  77705. if ("max" === _0_0) {
  77706. t1 = A.SassCalculation_max($arguments);
  77707. break $label0$0;
  77708. }
  77709. if ("hypot" === _0_0) {
  77710. t1 = A.SassCalculation_hypot($arguments);
  77711. break $label0$0;
  77712. }
  77713. if ("pow" === _0_0) {
  77714. t1 = A.SassCalculation_pow(J.$index$asx($arguments, 0), A.ListExtensions_elementAtOrNull($arguments, 1));
  77715. break $label0$0;
  77716. }
  77717. if ("atan2" === _0_0) {
  77718. t1 = A.SassCalculation_atan2(J.$index$asx($arguments, 0), A.ListExtensions_elementAtOrNull($arguments, 1));
  77719. break $label0$0;
  77720. }
  77721. if ("log" === _0_0) {
  77722. t1 = A.SassCalculation_log(J.$index$asx($arguments, 0), A.ListExtensions_elementAtOrNull($arguments, 1));
  77723. break $label0$0;
  77724. }
  77725. if ("mod" === _0_0) {
  77726. t1 = A.SassCalculation_mod(J.$index$asx($arguments, 0), A.ListExtensions_elementAtOrNull($arguments, 1));
  77727. break $label0$0;
  77728. }
  77729. if ("rem" === _0_0) {
  77730. t1 = A.SassCalculation_rem(J.$index$asx($arguments, 0), A.ListExtensions_elementAtOrNull($arguments, 1));
  77731. break $label0$0;
  77732. }
  77733. if ("round" === _0_0) {
  77734. 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));
  77735. break $label0$0;
  77736. }
  77737. if ("clamp" === _0_0) {
  77738. t1 = A.SassCalculation_clamp(J.$index$asx($arguments, 0), A.ListExtensions_elementAtOrNull($arguments, 1), A.ListExtensions_elementAtOrNull($arguments, 2));
  77739. break $label0$0;
  77740. }
  77741. if ("calc-size" === _0_0) {
  77742. t1 = A.SassCalculation_calcSize(J.$index$asx($arguments, 0), A.ListExtensions_elementAtOrNull($arguments, 1));
  77743. break $label0$0;
  77744. }
  77745. t3 = A.UnsupportedError$('Unknown calculation name "' + t3 + '".');
  77746. t1 = A.throwExpression(t3);
  77747. }
  77748. t1 = t1;
  77749. return t1;
  77750. } catch (exception) {
  77751. t1 = A.unwrapException(exception);
  77752. if (t1 instanceof A.SassScriptException) {
  77753. error = t1;
  77754. stackTrace = A.getTraceFromException(exception);
  77755. if (B.JSString_methods.contains$1(error.message, "compatible"))
  77756. _this._verifyCompatibleNumbers$2($arguments, t2);
  77757. A.throwWithTrace(_this._evaluate$_exception$2(error.message, node.span), error, stackTrace);
  77758. } else
  77759. throw exception;
  77760. } finally {
  77761. _this._callableNode = oldCallableNode;
  77762. }
  77763. },
  77764. _visitCalculation$1(node) {
  77765. return this._visitCalculation$2$inLegacySassFunction(node, null);
  77766. },
  77767. _checkCalculationArguments$1(node) {
  77768. var t1, _0_0,
  77769. check = new A._EvaluateVisitor__checkCalculationArguments_check(this, node);
  77770. $label0$0: {
  77771. t1 = node.name;
  77772. _0_0 = t1.toLowerCase();
  77773. 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) {
  77774. check.call$1(1);
  77775. break $label0$0;
  77776. }
  77777. if ("min" === _0_0 || "max" === _0_0 || "hypot" === _0_0) {
  77778. check.call$0();
  77779. break $label0$0;
  77780. }
  77781. if ("pow" === _0_0 || "atan2" === _0_0 || "log" === _0_0 || "mod" === _0_0 || "rem" === _0_0 || "calc-size" === _0_0) {
  77782. check.call$1(2);
  77783. break $label0$0;
  77784. }
  77785. if ("round" === _0_0 || "clamp" === _0_0) {
  77786. check.call$1(3);
  77787. break $label0$0;
  77788. }
  77789. throw A.wrapException(A.UnsupportedError$('Unknown calculation name "' + t1 + '".'));
  77790. }
  77791. },
  77792. _verifyCompatibleNumbers$2(args, nodesWithSpans) {
  77793. var i, t1, _0_0, arg, t2, number1, j, number2, t3, t4, t5, t6;
  77794. for (i = 0; t1 = args.length, i < t1; ++i) {
  77795. _0_0 = args[i];
  77796. if (_0_0 instanceof A.SassNumber) {
  77797. t1 = _0_0.get$hasComplexUnits();
  77798. arg = _0_0;
  77799. } else {
  77800. arg = null;
  77801. t1 = false;
  77802. }
  77803. if (t1) {
  77804. t1 = A.S(arg);
  77805. t2 = nodesWithSpans[i];
  77806. throw A.wrapException(this._evaluate$_exception$2("Number " + t1 + " isn't compatible with CSS calculations.", t2.get$span(t2)));
  77807. }
  77808. }
  77809. for (i = 0; i < t1 - 1; ++i) {
  77810. number1 = args[i];
  77811. if (!(number1 instanceof A.SassNumber))
  77812. continue;
  77813. for (j = i + 1; t1 = args.length, j < t1; ++j) {
  77814. number2 = args[j];
  77815. if (!(number2 instanceof A.SassNumber))
  77816. continue;
  77817. if (number1.hasPossiblyCompatibleUnits$1(number2))
  77818. continue;
  77819. t1 = number1.toString$0(0);
  77820. t2 = number2.toString$0(0);
  77821. t3 = nodesWithSpans[i];
  77822. t3 = t3.get$span(t3);
  77823. t4 = number1.toString$0(0);
  77824. t5 = nodesWithSpans[j];
  77825. t5 = A.LinkedHashMap_LinkedHashMap$_literal([t5.get$span(t5), number2.toString$0(0)], type$.FileSpan, type$.String);
  77826. t6 = nodesWithSpans[i];
  77827. throw A.wrapException(A.MultiSpanSassRuntimeException$(t1 + " and " + t2 + " are incompatible.", t3, t4, t5, this._evaluate$_stackTrace$1(t6.get$span(t6)), null));
  77828. }
  77829. }
  77830. },
  77831. _visitCalculationExpression$2$inLegacySassFunction(node, inLegacySassFunction) {
  77832. var result, t2, _0_0, _box_0, _1_0, t3, _i, i, _this = this, _null = null,
  77833. t1 = node instanceof A.ParenthesizedExpression,
  77834. inner = t1 ? node.expression : _null;
  77835. if (t1) {
  77836. result = _this._visitCalculationExpression$2$inLegacySassFunction(inner, inLegacySassFunction);
  77837. return result instanceof A.SassString ? new A.SassString("(" + result._string$_text + ")", false) : result;
  77838. }
  77839. if (node instanceof A.StringExpression && node.accept$1(B.C_IsCalculationSafeVisitor)) {
  77840. t1 = node.text;
  77841. t2 = t1.get$asPlain();
  77842. _0_0 = t2 == null ? _null : t2.toLowerCase();
  77843. $label0$0: {
  77844. if ("pi" === _0_0) {
  77845. t1 = A.SassNumber_SassNumber(3.141592653589793, _null);
  77846. break $label0$0;
  77847. }
  77848. if ("e" === _0_0) {
  77849. t1 = A.SassNumber_SassNumber(2.718281828459045, _null);
  77850. break $label0$0;
  77851. }
  77852. if ("infinity" === _0_0) {
  77853. t1 = A.SassNumber_SassNumber(1 / 0, _null);
  77854. break $label0$0;
  77855. }
  77856. if ("-infinity" === _0_0) {
  77857. t1 = A.SassNumber_SassNumber(-1 / 0, _null);
  77858. break $label0$0;
  77859. }
  77860. if ("nan" === _0_0) {
  77861. t1 = A.SassNumber_SassNumber(0 / 0, _null);
  77862. break $label0$0;
  77863. }
  77864. t1 = new A.SassString(_this._performInterpolation$1(t1), false);
  77865. break $label0$0;
  77866. }
  77867. return t1;
  77868. }
  77869. _box_0 = {};
  77870. _box_0.right = _box_0.left = _box_0.operator = null;
  77871. t1 = node instanceof A.BinaryOperationExpression;
  77872. if (t1) {
  77873. _box_0.operator = node.operator;
  77874. _box_0.left = node.left;
  77875. _box_0.right = node.right;
  77876. }
  77877. if (t1) {
  77878. _this._checkWhitespaceAroundCalculationOperator$1(node);
  77879. return _this._addExceptionSpan$2(node, new A._EvaluateVisitor__visitCalculationExpression_closure(_box_0, _this, node, inLegacySassFunction));
  77880. }
  77881. if (node instanceof A.NumberExpression || node instanceof A.VariableExpression || node instanceof A.FunctionExpression || node instanceof A.IfExpression) {
  77882. _1_0 = node.accept$1(_this);
  77883. $label1$1: {
  77884. if (_1_0 instanceof A.SassNumber) {
  77885. t1 = _1_0;
  77886. break $label1$1;
  77887. }
  77888. if (_1_0 instanceof A.SassCalculation) {
  77889. t1 = _1_0;
  77890. break $label1$1;
  77891. }
  77892. if (_1_0 instanceof A.SassString) {
  77893. t1 = !_1_0._hasQuotes;
  77894. result = _1_0;
  77895. } else {
  77896. result = _null;
  77897. t1 = false;
  77898. }
  77899. if (t1) {
  77900. t1 = result;
  77901. break $label1$1;
  77902. }
  77903. t1 = A.throwExpression(_this._evaluate$_exception$2("Value " + _1_0.toString$0(0) + " can't be used in a calculation.", node.get$span(node)));
  77904. }
  77905. return t1;
  77906. }
  77907. if (node instanceof A.ListExpression && !node.hasBrackets && B.ListSeparator_qSL === node.separator && node.contents.length >= 2) {
  77908. t1 = A._setArrayType([], type$.JSArray_Object);
  77909. for (t2 = node.contents, t3 = t2.length, _i = 0; _i < t3; ++_i)
  77910. t1.push(_this._visitCalculationExpression$2$inLegacySassFunction(t2[_i], inLegacySassFunction));
  77911. _this._checkAdjacentCalculationValues$2(t1, node);
  77912. for (i = 0; i < t1.length; ++i) {
  77913. t3 = t1[i];
  77914. if (t3 instanceof A.CalculationOperation && t2[i] instanceof A.ParenthesizedExpression)
  77915. t1[i] = new A.SassString("(" + t3.toString$0(0) + ")", false);
  77916. }
  77917. return new A.SassString(B.JSArray_methods.join$1(t1, " "), false);
  77918. }
  77919. throw A.wrapException(_this._evaluate$_exception$2(string$.This_e, node.get$span(node)));
  77920. },
  77921. _checkWhitespaceAroundCalculationOperator$1(node) {
  77922. var t2, t3, t4, textBetweenOperands, first, last,
  77923. t1 = node.operator;
  77924. if (t1 !== B.BinaryOperator_Swh && t1 !== B.BinaryOperator_QG1)
  77925. return;
  77926. t1 = node.left;
  77927. t2 = t1.get$span(t1);
  77928. t2 = t2.get$file(t2);
  77929. t3 = node.right;
  77930. t4 = t3.get$span(t3);
  77931. if (t2 !== t4.get$file(t4))
  77932. return;
  77933. t2 = t1.get$span(t1);
  77934. t2 = t2.get$end(t2);
  77935. t4 = t3.get$span(t3);
  77936. if (t2.offset >= t4.get$start(t4).offset)
  77937. return;
  77938. t2 = t1.get$span(t1);
  77939. t2 = t2.get$file(t2);
  77940. t1 = t1.get$span(t1);
  77941. t1 = t1.get$end(t1);
  77942. t3 = t3.get$span(t3);
  77943. textBetweenOperands = A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t2._decodedChars, t1.offset, t3.get$start(t3).offset), 0, null);
  77944. first = textBetweenOperands.charCodeAt(0);
  77945. last = textBetweenOperands.charCodeAt(textBetweenOperands.length - 1);
  77946. if (first === 32 || first === 9 || first === 10 || first === 13 || first === 12 || first === 47)
  77947. t1 = !(last === 32 || last === 9 || last === 10 || last === 13 || last === 12 || last === 47);
  77948. else
  77949. t1 = true;
  77950. if (t1)
  77951. throw A.wrapException(this._evaluate$_exception$2(string$.x22x2b__an, node.get$operatorSpan()));
  77952. },
  77953. _binaryOperatorToCalculationOperator$2(operator, node) {
  77954. var t1;
  77955. $label0$0: {
  77956. if (B.BinaryOperator_Swh === operator) {
  77957. t1 = B.CalculationOperator_F7i;
  77958. break $label0$0;
  77959. }
  77960. if (B.BinaryOperator_QG1 === operator) {
  77961. t1 = B.CalculationOperator_oum;
  77962. break $label0$0;
  77963. }
  77964. if (B.BinaryOperator_tht === operator) {
  77965. t1 = B.CalculationOperator_kkN;
  77966. break $label0$0;
  77967. }
  77968. if (B.BinaryOperator_Mh5 === operator) {
  77969. t1 = B.CalculationOperator_bo5;
  77970. break $label0$0;
  77971. }
  77972. t1 = A.throwExpression(this._evaluate$_exception$2(string$.This_o, node.get$operatorSpan()));
  77973. }
  77974. return t1;
  77975. },
  77976. _checkAdjacentCalculationValues$2(elements, node) {
  77977. var t1, i, t2, previous, current, previousNode, currentNode, _0_2;
  77978. for (t1 = elements.length, i = 1; i < t1; ++i) {
  77979. t2 = i - 1;
  77980. previous = elements[t2];
  77981. current = elements[i];
  77982. if (previous instanceof A.SassString || current instanceof A.SassString)
  77983. continue;
  77984. t1 = node.contents;
  77985. previousNode = t1[t2];
  77986. currentNode = t1[i];
  77987. if (currentNode instanceof A.UnaryOperationExpression) {
  77988. _0_2 = currentNode.operator;
  77989. if (B.UnaryOperator_UCP !== _0_2)
  77990. t1 = B.UnaryOperator_Rbl === _0_2;
  77991. else
  77992. t1 = true;
  77993. } else
  77994. t1 = false;
  77995. if (!t1)
  77996. t1 = currentNode instanceof A.NumberExpression && currentNode.value < 0;
  77997. else
  77998. t1 = true;
  77999. if (t1)
  78000. throw A.wrapException(this._evaluate$_exception$2(string$.x22x2b__an, A.FileSpanExtension_subspan(currentNode.get$span(currentNode), 0, 1)));
  78001. else
  78002. throw A.wrapException(this._evaluate$_exception$2("Missing math operator.", previousNode.get$span(previousNode).expand$1(0, currentNode.get$span(currentNode))));
  78003. }
  78004. },
  78005. visitInterpolatedFunctionExpression$1(_, node) {
  78006. var result, _this = this,
  78007. t1 = _this._performInterpolation$1(node.name),
  78008. oldInFunction = _this._inFunction;
  78009. _this._inFunction = true;
  78010. result = _this._addErrorSpan$2(node, new A._EvaluateVisitor_visitInterpolatedFunctionExpression_closure(_this, node, new A.PlainCssCallable(t1)));
  78011. _this._inFunction = oldInFunction;
  78012. return result;
  78013. },
  78014. _runUserDefinedCallable$1$4($arguments, callable, nodeWithSpan, run, $V) {
  78015. var oldInDependency, result, _this = this,
  78016. evaluated = _this._evaluateArguments$1($arguments),
  78017. $name = callable.declaration.name;
  78018. if ($name !== "@content")
  78019. $name += "()";
  78020. oldInDependency = _this._inDependency;
  78021. _this._inDependency = callable.inDependency;
  78022. result = _this._withStackFrame$3($name, nodeWithSpan, new A._EvaluateVisitor__runUserDefinedCallable_closure(_this, callable, evaluated, nodeWithSpan, run, $V));
  78023. _this._inDependency = oldInDependency;
  78024. return result;
  78025. },
  78026. _runFunctionCallable$3($arguments, callable, nodeWithSpan) {
  78027. var buffer, first, argument, restArg, rest, error, t1, t2, _i, t3, t4, exception, _this = this;
  78028. if (callable instanceof A.BuiltInCallable)
  78029. return _this._withoutSlash$2(_this._runBuiltInCallable$3($arguments, callable, nodeWithSpan), nodeWithSpan);
  78030. else if (type$.UserDefinedCallable_Environment._is(callable))
  78031. return _this._runUserDefinedCallable$1$4($arguments, callable, nodeWithSpan, new A._EvaluateVisitor__runFunctionCallable_closure(_this, callable), type$.Value);
  78032. else if (callable instanceof A.PlainCssCallable) {
  78033. t1 = $arguments.named;
  78034. if (t1.get$isNotEmpty(t1) || $arguments.keywordRest != null)
  78035. throw A.wrapException(_this._evaluate$_exception$2(string$.Plain_, nodeWithSpan.get$span(nodeWithSpan)));
  78036. buffer = new A.StringBuffer(callable.name + "(");
  78037. try {
  78038. first = true;
  78039. for (t1 = $arguments.positional, t2 = t1.length, _i = 0; _i < t2; ++_i) {
  78040. argument = t1[_i];
  78041. if (first)
  78042. first = false;
  78043. else
  78044. buffer._contents += ", ";
  78045. t3 = buffer;
  78046. t4 = argument;
  78047. t4 = _this._evaluate$_serialize$3$quote(t4.accept$1(_this), t4, true);
  78048. t3._contents += t4;
  78049. }
  78050. restArg = $arguments.rest;
  78051. if (restArg != null) {
  78052. rest = restArg.accept$1(_this);
  78053. if (!first)
  78054. buffer._contents += ", ";
  78055. t1 = buffer;
  78056. t2 = _this._evaluate$_serialize$2(rest, restArg);
  78057. t1._contents += t2;
  78058. }
  78059. } catch (exception) {
  78060. t1 = A.unwrapException(exception);
  78061. if (type$.SassRuntimeException._is(t1)) {
  78062. error = t1;
  78063. if (!B.JSString_methods.endsWith$1(error._span_exception$_message, "isn't a valid CSS value."))
  78064. throw exception;
  78065. 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));
  78066. } else
  78067. throw exception;
  78068. }
  78069. t1 = buffer;
  78070. t2 = A.Primitives_stringFromCharCode(41);
  78071. t1._contents += t2;
  78072. t2 = buffer._contents;
  78073. return new A.SassString(t2.charCodeAt(0) == 0 ? t2 : t2, false);
  78074. } else
  78075. throw A.wrapException(A.ArgumentError$("Unknown callable type " + J.get$runtimeType$(callable).toString$0(0) + ".", null));
  78076. },
  78077. _runBuiltInCallable$3($arguments, callable, nodeWithSpan) {
  78078. var result, error, stackTrace, namedSet, _0_0, parameters, i, t1, parameter, t2, t3, rest, argumentList, exception, _this = this, _box_0 = {},
  78079. evaluated = _this._evaluateArguments$1($arguments),
  78080. oldCallableNode = _this._callableNode;
  78081. _this._callableNode = nodeWithSpan;
  78082. namedSet = new A.MapKeySet(evaluated._values[0], type$.MapKeySet_String);
  78083. _box_0.callback = _box_0.overload = null;
  78084. _0_0 = callable.callbackFor$2(evaluated._values[2].length, namedSet);
  78085. _box_0.overload = _0_0._0;
  78086. _box_0.callback = _0_0._1;
  78087. _this._addExceptionSpan$2(nodeWithSpan, new A._EvaluateVisitor__runBuiltInCallable_closure(_box_0, evaluated, namedSet));
  78088. parameters = _box_0.overload.parameters;
  78089. for (i = evaluated._values[2].length, t1 = parameters.length; i < t1; ++i) {
  78090. parameter = parameters[i];
  78091. t2 = evaluated._values[2];
  78092. t3 = evaluated._values[0].remove$1(0, parameter.name);
  78093. if (t3 == null) {
  78094. t3 = parameter.defaultValue;
  78095. t3 = _this._withoutSlash$2(t3.accept$1(_this), t3);
  78096. }
  78097. t2.push(t3);
  78098. }
  78099. if (_box_0.overload.restParameter != null) {
  78100. if (evaluated._values[2].length > t1) {
  78101. rest = B.JSArray_methods.sublist$1(evaluated._values[2], t1);
  78102. B.JSArray_methods.removeRange$2(evaluated._values[2], t1, evaluated._values[2].length);
  78103. } else
  78104. rest = B.List_empty8;
  78105. t1 = evaluated._values[0];
  78106. argumentList = A.SassArgumentList$(rest, t1, evaluated._values[4] === B.ListSeparator_undecided_null_undecided ? B.ListSeparator_qVN : evaluated._values[4]);
  78107. evaluated._values[2].push(argumentList);
  78108. } else
  78109. argumentList = null;
  78110. result = null;
  78111. try {
  78112. result = _this._addExceptionSpan$2(nodeWithSpan, new A._EvaluateVisitor__runBuiltInCallable_closure0(_box_0, evaluated));
  78113. } catch (exception) {
  78114. t1 = A.unwrapException(exception);
  78115. if (t1 instanceof A.SassException)
  78116. throw exception;
  78117. else {
  78118. error = t1;
  78119. stackTrace = A.getTraceFromException(exception);
  78120. A.throwWithTrace(_this._evaluate$_exception$2(_this._getErrorMessage$1(error), nodeWithSpan.get$span(nodeWithSpan)), error, stackTrace);
  78121. }
  78122. }
  78123. _this._callableNode = oldCallableNode;
  78124. if (argumentList == null)
  78125. return result;
  78126. if (evaluated._values[0].__js_helper$_length === 0)
  78127. return result;
  78128. if (argumentList._wereKeywordsAccessed)
  78129. return result;
  78130. 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));
  78131. },
  78132. _evaluateArguments$1($arguments) {
  78133. var t1, t2, _i, expression, nodeForSpan, named, namedNodes, t3, t4, $name, value, restArgs, rest, restNodeForSpan, t5, separator, keywordRestArgs, keywordRest, keywordRestNodeForSpan, _this = this,
  78134. positional = A._setArrayType([], type$.JSArray_Value),
  78135. positionalNodes = A._setArrayType([], type$.JSArray_AstNode);
  78136. for (t1 = $arguments.positional, t2 = t1.length, _i = 0; _i < t2; ++_i) {
  78137. expression = t1[_i];
  78138. nodeForSpan = _this._expressionNode$1(expression);
  78139. positional.push(_this._withoutSlash$2(expression.accept$1(_this), nodeForSpan));
  78140. positionalNodes.push(nodeForSpan);
  78141. }
  78142. t1 = type$.String;
  78143. named = A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.Value);
  78144. t2 = type$.AstNode;
  78145. namedNodes = A.LinkedHashMap_LinkedHashMap$_empty(t1, t2);
  78146. for (t3 = A.MapExtensions_get_pairs($arguments.named, t1, type$.Expression), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
  78147. t4 = t3.get$current(t3);
  78148. $name = t4._0;
  78149. value = t4._1;
  78150. nodeForSpan = _this._expressionNode$1(value);
  78151. named.$indexSet(0, $name, _this._withoutSlash$2(value.accept$1(_this), nodeForSpan));
  78152. namedNodes.$indexSet(0, $name, nodeForSpan);
  78153. }
  78154. restArgs = $arguments.rest;
  78155. if (restArgs == null)
  78156. return new A._Record_5_named_namedNodes_positional_positionalNodes_separator([named, namedNodes, positional, positionalNodes, B.ListSeparator_undecided_null_undecided]);
  78157. rest = restArgs.accept$1(_this);
  78158. restNodeForSpan = _this._expressionNode$1(restArgs);
  78159. if (rest instanceof A.SassMap) {
  78160. _this._addRestMap$4(named, rest, restArgs, new A._EvaluateVisitor__evaluateArguments_closure());
  78161. t3 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t2);
  78162. for (t4 = rest._map$_contents, t4 = J.get$iterator$ax(t4.get$keys(t4)), t5 = type$.SassString; t4.moveNext$0();)
  78163. t3.$indexSet(0, t5._as(t4.get$current(t4))._string$_text, restNodeForSpan);
  78164. namedNodes.addAll$1(0, t3);
  78165. separator = B.ListSeparator_undecided_null_undecided;
  78166. } else if (rest instanceof A.SassList) {
  78167. t3 = rest._list$_contents;
  78168. 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>")));
  78169. B.JSArray_methods.addAll$1(positionalNodes, A.List_List$filled(t3.length, restNodeForSpan, false, t2));
  78170. separator = rest._separator;
  78171. if (rest instanceof A.SassArgumentList) {
  78172. rest._wereKeywordsAccessed = true;
  78173. rest._keywords.forEach$1(0, new A._EvaluateVisitor__evaluateArguments_closure1(_this, named, restNodeForSpan, namedNodes));
  78174. }
  78175. } else {
  78176. positional.push(_this._withoutSlash$2(rest, restNodeForSpan));
  78177. positionalNodes.push(restNodeForSpan);
  78178. separator = B.ListSeparator_undecided_null_undecided;
  78179. }
  78180. keywordRestArgs = $arguments.keywordRest;
  78181. if (keywordRestArgs == null)
  78182. return new A._Record_5_named_namedNodes_positional_positionalNodes_separator([named, namedNodes, positional, positionalNodes, separator]);
  78183. keywordRest = keywordRestArgs.accept$1(_this);
  78184. keywordRestNodeForSpan = _this._expressionNode$1(keywordRestArgs);
  78185. if (keywordRest instanceof A.SassMap) {
  78186. _this._addRestMap$4(named, keywordRest, keywordRestArgs, new A._EvaluateVisitor__evaluateArguments_closure2());
  78187. t1 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t2);
  78188. for (t2 = keywordRest._map$_contents, t2 = J.get$iterator$ax(t2.get$keys(t2)), t3 = type$.SassString; t2.moveNext$0();)
  78189. t1.$indexSet(0, t3._as(t2.get$current(t2))._string$_text, keywordRestNodeForSpan);
  78190. namedNodes.addAll$1(0, t1);
  78191. return new A._Record_5_named_namedNodes_positional_positionalNodes_separator([named, namedNodes, positional, positionalNodes, separator]);
  78192. } else
  78193. throw A.wrapException(_this._evaluate$_exception$2(string$.Variabs + keywordRest.toString$0(0) + ").", keywordRestArgs.get$span(keywordRestArgs)));
  78194. },
  78195. _evaluateMacroArguments$1(invocation) {
  78196. var t2, positional, named, rest, restNodeForSpan, keywordRestArgs_, keywordRest, keywordRestNodeForSpan, _this = this,
  78197. t1 = invocation.$arguments,
  78198. restArgs_ = t1.rest;
  78199. if (restArgs_ == null)
  78200. return new A._Record_2(t1.positional, t1.named);
  78201. t2 = t1.positional;
  78202. positional = A._setArrayType(t2.slice(0), A._arrayInstanceType(t2));
  78203. named = A.LinkedHashMap_LinkedHashMap$of(t1.named, type$.String, type$.Expression);
  78204. rest = restArgs_.accept$1(_this);
  78205. restNodeForSpan = _this._expressionNode$1(restArgs_);
  78206. if (rest instanceof A.SassMap)
  78207. _this._addRestMap$4(named, rest, invocation, new A._EvaluateVisitor__evaluateMacroArguments_closure(restArgs_));
  78208. else if (rest instanceof A.SassList) {
  78209. t2 = rest._list$_contents;
  78210. 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>")));
  78211. if (rest instanceof A.SassArgumentList) {
  78212. rest._wereKeywordsAccessed = true;
  78213. rest._keywords.forEach$1(0, new A._EvaluateVisitor__evaluateMacroArguments_closure1(_this, named, restNodeForSpan, restArgs_));
  78214. }
  78215. } else
  78216. positional.push(new A.ValueExpression(_this._withoutSlash$2(rest, restNodeForSpan), restArgs_.get$span(restArgs_)));
  78217. keywordRestArgs_ = t1.keywordRest;
  78218. if (keywordRestArgs_ == null)
  78219. return new A._Record_2(positional, named);
  78220. keywordRest = keywordRestArgs_.accept$1(_this);
  78221. keywordRestNodeForSpan = _this._expressionNode$1(keywordRestArgs_);
  78222. if (keywordRest instanceof A.SassMap) {
  78223. _this._addRestMap$4(named, keywordRest, invocation, new A._EvaluateVisitor__evaluateMacroArguments_closure2(_this, keywordRestNodeForSpan, keywordRestArgs_));
  78224. return new A._Record_2(positional, named);
  78225. } else
  78226. throw A.wrapException(_this._evaluate$_exception$2(string$.Variabs + keywordRest.toString$0(0) + ").", keywordRestArgs_.get$span(keywordRestArgs_)));
  78227. },
  78228. _addRestMap$1$4(values, map, nodeWithSpan, convert) {
  78229. map._map$_contents.forEach$1(0, new A._EvaluateVisitor__addRestMap_closure(this, values, convert, this._expressionNode$1(nodeWithSpan), map, nodeWithSpan));
  78230. },
  78231. _addRestMap$4(values, map, nodeWithSpan, convert) {
  78232. convert.toString;
  78233. return this._addRestMap$1$4(values, map, nodeWithSpan, convert, type$.dynamic);
  78234. },
  78235. _verifyArguments$4(positional, named, parameters, nodeWithSpan) {
  78236. return this._addExceptionSpan$2(nodeWithSpan, new A._EvaluateVisitor__verifyArguments_closure(parameters, positional, named));
  78237. },
  78238. visitSelectorExpression$1(_, node) {
  78239. var t1 = this._styleRuleIgnoringAtRoot;
  78240. t1 = t1 == null ? null : t1.originalSelector.get$asSassList();
  78241. return t1 == null ? B.C__SassNull : t1;
  78242. },
  78243. visitStringExpression$1(_, node) {
  78244. var t1, t2, t3, _i, value, t4, _0_0, text, _this = this,
  78245. oldInSupportsDeclaration = _this._inSupportsDeclaration;
  78246. _this._inSupportsDeclaration = false;
  78247. t1 = A._setArrayType([], type$.JSArray_String);
  78248. for (t2 = node.text.contents, t3 = t2.length, _i = 0; _i < t3; ++_i) {
  78249. value = t2[_i];
  78250. $label0$0: {
  78251. if (typeof value == "string") {
  78252. t4 = value;
  78253. break $label0$0;
  78254. }
  78255. if (value instanceof A.Expression) {
  78256. _0_0 = value.accept$1(_this);
  78257. $label1$1: {
  78258. if (_0_0 instanceof A.SassString) {
  78259. text = _0_0._string$_text;
  78260. t4 = text;
  78261. break $label1$1;
  78262. }
  78263. t4 = _this._evaluate$_serialize$3$quote(_0_0, value, false);
  78264. break $label1$1;
  78265. }
  78266. break $label0$0;
  78267. }
  78268. t4 = A.throwExpression(A.UnsupportedError$("Unknown interpolation value " + A.S(value)));
  78269. }
  78270. t1.push(t4);
  78271. }
  78272. t1 = B.JSArray_methods.join$0(t1);
  78273. _this._inSupportsDeclaration = oldInSupportsDeclaration;
  78274. return new A.SassString(t1, node.hasQuotes);
  78275. },
  78276. visitSupportsExpression$1(_, expression) {
  78277. return new A.SassString(this._visitSupportsCondition$1(expression.condition), false);
  78278. },
  78279. visitCssAtRule$1(node) {
  78280. var wasInKeyframes, wasInUnknownAtRule, t1, _this = this;
  78281. if (_this._declarationName != null)
  78282. throw A.wrapException(_this._evaluate$_exception$2(string$.At_rul, node.span));
  78283. if (node.isChildless) {
  78284. _this._assertInModule$2(_this.__parent, "__parent").addChild$1(A.ModifiableCssAtRule$(node.name, node.span, true, node.value));
  78285. return;
  78286. }
  78287. wasInKeyframes = _this._inKeyframes;
  78288. wasInUnknownAtRule = _this._inUnknownAtRule;
  78289. t1 = node.name;
  78290. if (A.unvendor(t1.value) === "keyframes")
  78291. _this._inKeyframes = true;
  78292. else
  78293. _this._inUnknownAtRule = true;
  78294. _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);
  78295. _this._inUnknownAtRule = wasInUnknownAtRule;
  78296. _this._inKeyframes = wasInKeyframes;
  78297. },
  78298. visitCssComment$1(node) {
  78299. var _this = this,
  78300. _s8_ = "__parent",
  78301. _s13_ = "_endOfImports";
  78302. 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))
  78303. _this.__endOfImports = _this._assertInModule$2(_this.__endOfImports, _s13_) + 1;
  78304. _this._assertInModule$2(_this.__parent, _s8_).addChild$1(new A.ModifiableCssComment(node.text, node.span));
  78305. },
  78306. visitCssDeclaration$1(node) {
  78307. this._assertInModule$2(this.__parent, "__parent").addChild$1(A.ModifiableCssDeclaration$(node.name, node.value, node.span, null, node.parsedAsCustomProperty, null, node.valueSpanForMap));
  78308. },
  78309. visitCssImport$1(node) {
  78310. var t1, _this = this,
  78311. _s8_ = "__parent",
  78312. _s5_ = "_root",
  78313. _s13_ = "_endOfImports",
  78314. modifiableNode = new A.ModifiableCssImport(node.url, node.modifiers, node.span);
  78315. if (_this._assertInModule$2(_this.__parent, _s8_) !== _this._assertInModule$2(_this.__root, _s5_))
  78316. _this._assertInModule$2(_this.__parent, _s8_).addChild$1(modifiableNode);
  78317. else if (_this._assertInModule$2(_this.__endOfImports, _s13_) === J.get$length$asx(_this._assertInModule$2(_this.__root, _s5_).children._collection$_source)) {
  78318. _this._assertInModule$2(_this.__root, _s5_).addChild$1(modifiableNode);
  78319. _this.__endOfImports = _this._assertInModule$2(_this.__endOfImports, _s13_) + 1;
  78320. } else {
  78321. t1 = _this._outOfOrderImports;
  78322. (t1 == null ? _this._outOfOrderImports = A._setArrayType([], type$.JSArray_ModifiableCssImport) : t1).push(modifiableNode);
  78323. }
  78324. },
  78325. visitCssKeyframeBlock$1(node) {
  78326. 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);
  78327. },
  78328. visitCssMediaRule$1(node) {
  78329. var mergedQueries, t1, mergedSources, t2, t3, _this = this;
  78330. if (_this._declarationName != null)
  78331. throw A.wrapException(_this._evaluate$_exception$2(string$.Media_, node.span));
  78332. mergedQueries = A.NullableExtension_andThen(_this._mediaQueries, new A._EvaluateVisitor_visitCssMediaRule_closure(_this, node));
  78333. t1 = mergedQueries == null;
  78334. if (!t1 && J.get$isEmpty$asx(mergedQueries))
  78335. return;
  78336. if (t1)
  78337. mergedSources = B.Set_empty2;
  78338. else {
  78339. t2 = _this._mediaQuerySources;
  78340. t2.toString;
  78341. t2 = A.LinkedHashSet_LinkedHashSet$of(t2, type$.CssMediaQuery);
  78342. t3 = _this._mediaQueries;
  78343. t3.toString;
  78344. t2.addAll$1(0, t3);
  78345. t2.addAll$1(0, node.queries);
  78346. mergedSources = t2;
  78347. }
  78348. t1 = t1 ? node.queries : mergedQueries;
  78349. _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);
  78350. },
  78351. visitCssStyleRule$1(node) {
  78352. var t1, styleRule, _0_0, t2, t3, originalSelector, rule, oldAtRootExcludingStyleRule, _1_1, lastChild, _this = this, _null = null,
  78353. _s8_ = "__parent";
  78354. if (_this._declarationName != null)
  78355. throw A.wrapException(_this._evaluate$_exception$2(string$.Style_n, node.span));
  78356. else if (_this._inKeyframes && _this._assertInModule$2(_this.__parent, _s8_) instanceof A.ModifiableCssKeyframeBlock)
  78357. throw A.wrapException(_this._evaluate$_exception$2(string$.Style_k, node.span));
  78358. t1 = _this._atRootExcludingStyleRule;
  78359. styleRule = t1 ? _null : _this._styleRuleIgnoringAtRoot;
  78360. _0_0 = t1 ? _null : _this._styleRuleIgnoringAtRoot;
  78361. $label0$0: {
  78362. if (_0_0 == null) {
  78363. t1 = true;
  78364. break $label0$0;
  78365. }
  78366. if (_0_0.fromPlainCss) {
  78367. t1 = false;
  78368. break $label0$0;
  78369. }
  78370. t1 = !(node.fromPlainCss && node._style_rule$_selector._box$_inner.value.accept$1(B.C__ContainsParentSelectorVisitor));
  78371. break $label0$0;
  78372. }
  78373. t2 = node._style_rule$_selector._box$_inner;
  78374. if (t1) {
  78375. t2 = t2.value;
  78376. t3 = styleRule == null ? _null : styleRule.originalSelector;
  78377. originalSelector = t2.nestWithin$3$implicitParent$preserveParentSelectors(t3, !_this._atRootExcludingStyleRule, node.fromPlainCss);
  78378. } else
  78379. originalSelector = t2.value;
  78380. rule = A.ModifiableCssStyleRule$(_this._assertInModule$2(_this.__extensionStore, "_extensionStore").addSelector$2(originalSelector, _this._mediaQueries), node.span, node.fromPlainCss, originalSelector);
  78381. oldAtRootExcludingStyleRule = _this._atRootExcludingStyleRule;
  78382. _this._atRootExcludingStyleRule = false;
  78383. t1 = t1 ? new A._EvaluateVisitor_visitCssStyleRule_closure() : _null;
  78384. _this._withParent$2$4$scopeWhen$through(rule, new A._EvaluateVisitor_visitCssStyleRule_closure0(_this, rule, node), false, t1, type$.ModifiableCssStyleRule, type$.Null);
  78385. _this._atRootExcludingStyleRule = oldAtRootExcludingStyleRule;
  78386. t1 = _this._assertInModule$2(_this.__parent, _s8_).children._collection$_source;
  78387. t2 = J.getInterceptor$asx(t1);
  78388. _1_1 = t2.get$length(t1);
  78389. if (_1_1 >= 1) {
  78390. lastChild = t2.elementAt$1(t1, _1_1 - 1);
  78391. t1 = styleRule == null;
  78392. } else {
  78393. lastChild = _null;
  78394. t1 = false;
  78395. }
  78396. if (t1)
  78397. lastChild.isGroupEnd = true;
  78398. },
  78399. visitCssStylesheet$1(node) {
  78400. var t1;
  78401. for (t1 = J.get$iterator$ax(node.get$children(node)); t1.moveNext$0();)
  78402. t1.get$current(t1).accept$1(this);
  78403. },
  78404. visitCssSupportsRule$1(node) {
  78405. var _this = this;
  78406. if (_this._declarationName != null)
  78407. throw A.wrapException(_this._evaluate$_exception$2(string$.Suppor, node.span));
  78408. _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);
  78409. },
  78410. _handleReturn$1$2(list, callback) {
  78411. var t1, _i, _0_0;
  78412. for (t1 = list.length, _i = 0; _i < list.length; list.length === t1 || (0, A.throwConcurrentModificationError)(list), ++_i) {
  78413. _0_0 = callback.call$1(list[_i]);
  78414. if (_0_0 != null)
  78415. return _0_0;
  78416. }
  78417. return null;
  78418. },
  78419. _handleReturn$2(list, callback) {
  78420. callback.toString;
  78421. return this._handleReturn$1$2(list, callback, type$.dynamic);
  78422. },
  78423. _withEnvironment$1$2(environment, callback) {
  78424. var result,
  78425. oldEnvironment = this._environment;
  78426. this._environment = environment;
  78427. result = callback.call$0();
  78428. this._environment = oldEnvironment;
  78429. return result;
  78430. },
  78431. _withEnvironment$2(environment, callback) {
  78432. callback.toString;
  78433. return this._withEnvironment$1$2(environment, callback, type$.dynamic);
  78434. },
  78435. _interpolationToValue$3$trim$warnForColor(interpolation, trim, warnForColor) {
  78436. var result = this._performInterpolation$2$warnForColor(interpolation, warnForColor),
  78437. t1 = trim ? A.trimAscii(result, true) : result;
  78438. return new A.CssValue(t1, interpolation.span, type$.CssValue_String);
  78439. },
  78440. _interpolationToValue$1(interpolation) {
  78441. return this._interpolationToValue$3$trim$warnForColor(interpolation, false, false);
  78442. },
  78443. _interpolationToValue$2$warnForColor(interpolation, warnForColor) {
  78444. return this._interpolationToValue$3$trim$warnForColor(interpolation, false, warnForColor);
  78445. },
  78446. _performInterpolation$2$warnForColor(interpolation, warnForColor) {
  78447. return this._performInterpolationHelper$3$sourceMap$warnForColor(interpolation, false, warnForColor)._0;
  78448. },
  78449. _performInterpolation$1(interpolation) {
  78450. return this._performInterpolation$2$warnForColor(interpolation, false);
  78451. },
  78452. _performInterpolationWithMap$2$warnForColor(interpolation, warnForColor) {
  78453. var _0_0 = this._performInterpolationHelper$3$sourceMap$warnForColor(interpolation, true, true),
  78454. map = _0_0._1;
  78455. map.toString;
  78456. return new A._Record_2(_0_0._0, map);
  78457. },
  78458. _performInterpolationHelper$3$sourceMap$warnForColor(interpolation, sourceMap, warnForColor) {
  78459. var t1, t2, t3, t4, t5, t6, first, _i, t7, value, result, result0, t8, _this = this, _null = null,
  78460. targetLocations = sourceMap ? A._setArrayType([], type$.JSArray_SourceLocation) : _null,
  78461. oldInSupportsDeclaration = _this._inSupportsDeclaration;
  78462. _this._inSupportsDeclaration = false;
  78463. 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) {
  78464. value = t1[_i];
  78465. if (!first)
  78466. if (!t4)
  78467. targetLocations.push(A.SourceLocation$(t7.length, _null, _null, _null));
  78468. if (typeof value == "string") {
  78469. t7 += value;
  78470. continue;
  78471. }
  78472. t3._as(value);
  78473. result = value.accept$1(_this);
  78474. if (warnForColor && $.$get$namesByColor().containsKey$1(result)) {
  78475. result0 = A.List_List$from([""], false, t6);
  78476. result0.$flags = 3;
  78477. t8 = $.$get$namesByColor();
  78478. _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));
  78479. }
  78480. t7 += _this._evaluate$_serialize$3$quote(result, value, false);
  78481. }
  78482. _this._inSupportsDeclaration = oldInSupportsDeclaration;
  78483. return new A._Record_2(t7.charCodeAt(0) == 0 ? t7 : t7, A.NullableExtension_andThen(targetLocations, new A._EvaluateVisitor__performInterpolationHelper_closure(interpolation)));
  78484. },
  78485. _evaluate$_serialize$3$quote(value, nodeWithSpan, quote) {
  78486. return this._addExceptionSpan$2(nodeWithSpan, new A._EvaluateVisitor__serialize_closure(value, quote));
  78487. },
  78488. _evaluate$_serialize$2(value, nodeWithSpan) {
  78489. return this._evaluate$_serialize$3$quote(value, nodeWithSpan, true);
  78490. },
  78491. _expressionNode$1(expression) {
  78492. var t1;
  78493. if (expression instanceof A.VariableExpression) {
  78494. t1 = this._addExceptionSpan$2(expression, new A._EvaluateVisitor__expressionNode_closure(this, expression));
  78495. return t1 == null ? expression : t1;
  78496. } else
  78497. return expression;
  78498. },
  78499. _withParent$2$4$scopeWhen$through(node, callback, scopeWhen, through, $S, $T) {
  78500. var oldParent, result, _this = this;
  78501. _this._addChild$2$through(node, through);
  78502. oldParent = _this._assertInModule$2(_this.__parent, "__parent");
  78503. _this.__parent = node;
  78504. result = _this._environment.scope$1$2$when(callback, scopeWhen, $T);
  78505. _this.__parent = oldParent;
  78506. return result;
  78507. },
  78508. _withParent$2$3$scopeWhen(node, callback, scopeWhen, $S, $T) {
  78509. node.toString;
  78510. callback.toString;
  78511. return this._withParent$2$4$scopeWhen$through(node, callback, scopeWhen, null, $S, $T);
  78512. },
  78513. _withParent$2$2(node, callback, $S, $T) {
  78514. node.toString;
  78515. callback.toString;
  78516. return this._withParent$2$4$scopeWhen$through(node, callback, true, null, $S, $T);
  78517. },
  78518. _addChild$2$through(node, through) {
  78519. var _0_0, grandparent, t1,
  78520. $parent = this._assertInModule$2(this.__parent, "__parent");
  78521. if (through != null) {
  78522. for (; through.call$1($parent); $parent = _0_0) {
  78523. _0_0 = $parent._parent;
  78524. if (_0_0 == null)
  78525. throw A.wrapException(A.ArgumentError$(string$.throug + node.toString$0(0) + ".", null));
  78526. }
  78527. if ($parent.get$hasFollowingSibling()) {
  78528. grandparent = $parent._parent;
  78529. t1 = grandparent.children;
  78530. if ($parent.equalsIgnoringChildren$1(t1.get$last(t1)))
  78531. $parent = type$.ModifiableCssParentNode._as(t1.get$last(t1));
  78532. else {
  78533. $parent = $parent.copyWithoutChildren$0();
  78534. grandparent.addChild$1($parent);
  78535. }
  78536. }
  78537. }
  78538. $parent.addChild$1(node);
  78539. },
  78540. _addChild$1(node) {
  78541. return this._addChild$2$through(node, null);
  78542. },
  78543. _withStyleRule$1$2(rule, callback) {
  78544. var result,
  78545. oldRule = this._styleRuleIgnoringAtRoot;
  78546. this._styleRuleIgnoringAtRoot = rule;
  78547. result = callback.call$0();
  78548. this._styleRuleIgnoringAtRoot = oldRule;
  78549. return result;
  78550. },
  78551. _withStyleRule$2(rule, callback) {
  78552. callback.toString;
  78553. return this._withStyleRule$1$2(rule, callback, type$.dynamic);
  78554. },
  78555. _withMediaQueries$1$3(queries, sources, callback) {
  78556. var result, _this = this,
  78557. oldMediaQueries = _this._mediaQueries,
  78558. oldSources = _this._mediaQuerySources;
  78559. _this._mediaQueries = queries;
  78560. _this._mediaQuerySources = sources;
  78561. result = callback.call$0();
  78562. _this._mediaQueries = oldMediaQueries;
  78563. _this._mediaQuerySources = oldSources;
  78564. return result;
  78565. },
  78566. _withMediaQueries$3(queries, sources, callback) {
  78567. callback.toString;
  78568. return this._withMediaQueries$1$3(queries, sources, callback, type$.dynamic);
  78569. },
  78570. _withStackFrame$1$3(member, nodeWithSpan, callback) {
  78571. var oldMember, result, _this = this,
  78572. t1 = _this._stack;
  78573. t1.push(new A._Record_2(_this._member, nodeWithSpan));
  78574. oldMember = _this._member;
  78575. _this._member = member;
  78576. result = callback.call$0();
  78577. _this._member = oldMember;
  78578. t1.pop();
  78579. return result;
  78580. },
  78581. _withStackFrame$3(member, nodeWithSpan, callback) {
  78582. callback.toString;
  78583. return this._withStackFrame$1$3(member, nodeWithSpan, callback, type$.dynamic);
  78584. },
  78585. _withoutSlash$2(value, nodeForSpan) {
  78586. var t1;
  78587. if (value instanceof A.SassNumber)
  78588. t1 = value.asSlash != null;
  78589. else
  78590. t1 = false;
  78591. if (t1)
  78592. 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);
  78593. return value.withoutSlash$0();
  78594. },
  78595. _stackFrame$2(member, span) {
  78596. return A.frameForSpan(span, member, A.NullableExtension_andThen(span.get$sourceUrl(span), new A._EvaluateVisitor__stackFrame_closure(this)));
  78597. },
  78598. _evaluate$_stackTrace$1(span) {
  78599. var t2, t3, _i, t4, nodeWithSpan, _this = this,
  78600. t1 = A._setArrayType([], type$.JSArray_Frame);
  78601. for (t2 = _this._stack, t3 = t2.length, _i = 0; _i < t2.length; t2.length === t3 || (0, A.throwConcurrentModificationError)(t2), ++_i) {
  78602. t4 = t2[_i];
  78603. nodeWithSpan = t4._1;
  78604. t1.push(_this._stackFrame$2(t4._0, nodeWithSpan.get$span(nodeWithSpan)));
  78605. }
  78606. if (span != null)
  78607. t1.push(_this._stackFrame$2(_this._member, span));
  78608. return A.Trace$(new A.ReversedListIterable(t1, type$.ReversedListIterable_Frame), null);
  78609. },
  78610. _evaluate$_stackTrace$0() {
  78611. return this._evaluate$_stackTrace$1(null);
  78612. },
  78613. _warn$3(message, span, deprecation) {
  78614. var trace, t1, _this = this;
  78615. if (_this._quietDeps && _this._inDependency)
  78616. return;
  78617. if (!_this._warningsEmitted.add$1(0, new A._Record_2(message, span)))
  78618. return;
  78619. trace = _this._evaluate$_stackTrace$1(span);
  78620. t1 = _this._logger;
  78621. if (deprecation == null)
  78622. t1.internalWarn$4$deprecation$span$trace(message, null, span, trace);
  78623. else
  78624. A.WarnForDeprecation_warnForDeprecation(t1, deprecation, message, span, trace);
  78625. },
  78626. _warn$2(message, span) {
  78627. return this._warn$3(message, span, null);
  78628. },
  78629. _evaluate$_exception$2(message, span) {
  78630. var t1, t2;
  78631. if (span == null) {
  78632. t1 = B.JSArray_methods.get$last(this._stack)._1;
  78633. t1 = t1.get$span(t1);
  78634. } else
  78635. t1 = span;
  78636. t2 = this._evaluate$_stackTrace$1(span);
  78637. return new A.SassRuntimeException(t2, B.Set_empty, message, t1);
  78638. },
  78639. _evaluate$_exception$1(message) {
  78640. return this._evaluate$_exception$2(message, null);
  78641. },
  78642. _multiSpanException$3(message, primaryLabel, secondaryLabels) {
  78643. var t1 = B.JSArray_methods.get$last(this._stack)._1;
  78644. return A.MultiSpanSassRuntimeException$(message, t1.get$span(t1), primaryLabel, secondaryLabels, this._evaluate$_stackTrace$0(), null);
  78645. },
  78646. _addExceptionSpan$1$3$addStackFrame(nodeWithSpan, callback, addStackFrame) {
  78647. var error, stackTrace, t1, exception;
  78648. try {
  78649. t1 = callback.call$0();
  78650. return t1;
  78651. } catch (exception) {
  78652. t1 = A.unwrapException(exception);
  78653. if (t1 instanceof A.SassScriptException) {
  78654. error = t1;
  78655. stackTrace = A.getTraceFromException(exception);
  78656. t1 = error.withSpan$1(nodeWithSpan.get$span(nodeWithSpan));
  78657. A.throwWithTrace(t1.withTrace$1(this._evaluate$_stackTrace$1(addStackFrame ? nodeWithSpan.get$span(nodeWithSpan) : null)), error, stackTrace);
  78658. } else
  78659. throw exception;
  78660. }
  78661. },
  78662. _addExceptionSpan$2(nodeWithSpan, callback) {
  78663. callback.toString;
  78664. return this._addExceptionSpan$1$3$addStackFrame(nodeWithSpan, callback, true, type$.dynamic);
  78665. },
  78666. _addExceptionSpan$3$addStackFrame(nodeWithSpan, callback, addStackFrame) {
  78667. callback.toString;
  78668. return this._addExceptionSpan$1$3$addStackFrame(nodeWithSpan, callback, addStackFrame, type$.dynamic);
  78669. },
  78670. _addExceptionTrace$1$1(callback) {
  78671. var error, stackTrace, t1, exception, t2;
  78672. try {
  78673. t1 = callback.call$0();
  78674. return t1;
  78675. } catch (exception) {
  78676. t1 = A.unwrapException(exception);
  78677. if (type$.SassRuntimeException._is(t1))
  78678. throw exception;
  78679. else if (t1 instanceof A.SassException) {
  78680. error = t1;
  78681. stackTrace = A.getTraceFromException(exception);
  78682. t1 = error;
  78683. t2 = J.getInterceptor$z(t1);
  78684. A.throwWithTrace(error.withTrace$1(this._evaluate$_stackTrace$1(A.SourceSpanException.prototype.get$span.call(t2, t1))), error, stackTrace);
  78685. } else
  78686. throw exception;
  78687. }
  78688. },
  78689. _addExceptionTrace$1(callback) {
  78690. callback.toString;
  78691. return this._addExceptionTrace$1$1(callback, type$.dynamic);
  78692. },
  78693. _addErrorSpan$1$2(nodeWithSpan, callback) {
  78694. var error, stackTrace, t1, exception, t2, t3;
  78695. try {
  78696. t1 = callback.call$0();
  78697. return t1;
  78698. } catch (exception) {
  78699. t1 = A.unwrapException(exception);
  78700. if (type$.SassRuntimeException._is(t1)) {
  78701. error = t1;
  78702. stackTrace = A.getTraceFromException(exception);
  78703. if (!B.JSString_methods.startsWith$1(J.get$span$z(error).get$text(), "@error"))
  78704. throw exception;
  78705. t1 = error._span_exception$_message;
  78706. t2 = nodeWithSpan.get$span(nodeWithSpan);
  78707. t3 = this._evaluate$_stackTrace$0();
  78708. A.throwWithTrace(new A.SassRuntimeException(t3, B.Set_empty, t1, t2), error, stackTrace);
  78709. } else
  78710. throw exception;
  78711. }
  78712. },
  78713. _addErrorSpan$2(nodeWithSpan, callback) {
  78714. callback.toString;
  78715. return this._addErrorSpan$1$2(nodeWithSpan, callback, type$.dynamic);
  78716. },
  78717. _getErrorMessage$1(error) {
  78718. var t1, exception;
  78719. if (type$.Error._is(error))
  78720. return error.toString$0(0);
  78721. try {
  78722. t1 = A._asString(J.get$message$x(error));
  78723. return t1;
  78724. } catch (exception) {
  78725. t1 = J.toString$0$(error);
  78726. return t1;
  78727. }
  78728. }
  78729. };
  78730. A._EvaluateVisitor_closure.prototype = {
  78731. call$1($arguments) {
  78732. var module, t2,
  78733. t1 = J.getInterceptor$asx($arguments),
  78734. variable = t1.$index($arguments, 0).assertString$1("name");
  78735. t1 = t1.$index($arguments, 1).get$realNull();
  78736. module = t1 == null ? null : t1.assertString$1("module");
  78737. t1 = this.$this._environment;
  78738. t2 = A.stringReplaceAllUnchecked(variable._string$_text, "_", "-");
  78739. return t1.globalVariableExists$2$namespace(t2, module == null ? null : module._string$_text) ? B.SassBoolean_true : B.SassBoolean_false;
  78740. },
  78741. $signature: 12
  78742. };
  78743. A._EvaluateVisitor_closure0.prototype = {
  78744. call$1($arguments) {
  78745. var variable = J.$index$asx($arguments, 0).assertString$1("name"),
  78746. t1 = this.$this._environment;
  78747. return t1.getVariable$1(A.stringReplaceAllUnchecked(variable._string$_text, "_", "-")) != null ? B.SassBoolean_true : B.SassBoolean_false;
  78748. },
  78749. $signature: 12
  78750. };
  78751. A._EvaluateVisitor_closure1.prototype = {
  78752. call$1($arguments) {
  78753. var module, t2, t3, t4,
  78754. t1 = J.getInterceptor$asx($arguments),
  78755. variable = t1.$index($arguments, 0).assertString$1("name");
  78756. t1 = t1.$index($arguments, 1).get$realNull();
  78757. module = t1 == null ? null : t1.assertString$1("module");
  78758. t1 = this.$this;
  78759. t2 = t1._environment;
  78760. t3 = variable._string$_text;
  78761. t4 = A.stringReplaceAllUnchecked(t3, "_", "-");
  78762. return t2.getFunction$2$namespace(t4, module == null ? null : module._string$_text) != null || t1._builtInFunctions.containsKey$1(t3) ? B.SassBoolean_true : B.SassBoolean_false;
  78763. },
  78764. $signature: 12
  78765. };
  78766. A._EvaluateVisitor_closure2.prototype = {
  78767. call$1($arguments) {
  78768. var module, t2,
  78769. t1 = J.getInterceptor$asx($arguments),
  78770. variable = t1.$index($arguments, 0).assertString$1("name");
  78771. t1 = t1.$index($arguments, 1).get$realNull();
  78772. module = t1 == null ? null : t1.assertString$1("module");
  78773. t1 = this.$this._environment;
  78774. t2 = A.stringReplaceAllUnchecked(variable._string$_text, "_", "-");
  78775. return t1.getMixin$2$namespace(t2, module == null ? null : module._string$_text) != null ? B.SassBoolean_true : B.SassBoolean_false;
  78776. },
  78777. $signature: 12
  78778. };
  78779. A._EvaluateVisitor_closure3.prototype = {
  78780. call$1($arguments) {
  78781. var t1 = this.$this._environment;
  78782. if (!t1._inMixin)
  78783. throw A.wrapException(A.SassScriptException$(string$.conten, null));
  78784. return t1._content != null ? B.SassBoolean_true : B.SassBoolean_false;
  78785. },
  78786. $signature: 12
  78787. };
  78788. A._EvaluateVisitor_closure4.prototype = {
  78789. call$1($arguments) {
  78790. var t2, t3, t4,
  78791. t1 = J.$index$asx($arguments, 0).assertString$1("module")._string$_text,
  78792. module = this.$this._environment._environment$_modules.$index(0, t1);
  78793. if (module == null)
  78794. throw A.wrapException('There is no module with namespace "' + t1 + '".');
  78795. t1 = type$.Value;
  78796. t2 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
  78797. for (t3 = A.MapExtensions_get_pairs(module.get$variables(), type$.String, t1), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
  78798. t4 = t3.get$current(t3);
  78799. t2.$indexSet(0, new A.SassString(t4._0, true), t4._1);
  78800. }
  78801. return new A.SassMap(A.ConstantMap_ConstantMap$from(t2, t1, t1));
  78802. },
  78803. $signature: 33
  78804. };
  78805. A._EvaluateVisitor_closure5.prototype = {
  78806. call$1($arguments) {
  78807. var t3, t4, t5,
  78808. t1 = this.$this,
  78809. t2 = J.$index$asx($arguments, 0).assertString$1("module")._string$_text,
  78810. module = t1._environment._environment$_modules.$index(0, t2);
  78811. if (module == null)
  78812. throw A.wrapException('There is no module with namespace "' + t2 + '".');
  78813. t2 = type$.Value;
  78814. t3 = A.LinkedHashMap_LinkedHashMap$_empty(t2, t2);
  78815. 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();) {
  78816. t5 = t4.get$current(t4);
  78817. t3.$indexSet(0, new A.SassString(t5._0, true), new A.SassFunction(t5._1, t1));
  78818. }
  78819. return new A.SassMap(A.ConstantMap_ConstantMap$from(t3, t2, t2));
  78820. },
  78821. $signature: 33
  78822. };
  78823. A._EvaluateVisitor_closure6.prototype = {
  78824. call$1($arguments) {
  78825. var t3, t4, t5,
  78826. t1 = this.$this,
  78827. t2 = J.$index$asx($arguments, 0).assertString$1("module")._string$_text,
  78828. module = t1._environment._environment$_modules.$index(0, t2);
  78829. if (module == null)
  78830. throw A.wrapException('There is no module with namespace "' + t2 + '".');
  78831. t2 = type$.Value;
  78832. t3 = A.LinkedHashMap_LinkedHashMap$_empty(t2, t2);
  78833. for (t4 = A.MapExtensions_get_pairs(module.get$mixins(), type$.String, type$.Callable), t4 = t4.get$iterator(t4), t1 = t1._compileContext; t4.moveNext$0();) {
  78834. t5 = t4.get$current(t4);
  78835. t3.$indexSet(0, new A.SassString(t5._0, true), new A.SassMixin(t5._1, t1));
  78836. }
  78837. return new A.SassMap(A.ConstantMap_ConstantMap$from(t3, t2, t2));
  78838. },
  78839. $signature: 33
  78840. };
  78841. A._EvaluateVisitor_closure7.prototype = {
  78842. call$1($arguments) {
  78843. var module, t2, callable,
  78844. t1 = J.getInterceptor$asx($arguments),
  78845. $name = t1.$index($arguments, 0).assertString$1("name"),
  78846. css = t1.$index($arguments, 1).get$isTruthy();
  78847. t1 = t1.$index($arguments, 2).get$realNull();
  78848. module = t1 == null ? null : t1.assertString$1("module");
  78849. if (css) {
  78850. if (module != null)
  78851. throw A.wrapException(string$.x24css_a);
  78852. return new A.SassFunction(new A.PlainCssCallable($name._string$_text), this.$this._compileContext);
  78853. }
  78854. t1 = this.$this;
  78855. t2 = t1._callableNode;
  78856. t2.toString;
  78857. callable = t1._addExceptionSpan$2(t2, new A._EvaluateVisitor__closure2(t1, $name, module));
  78858. if (callable == null)
  78859. throw A.wrapException("Function not found: " + $name.toString$0(0));
  78860. return new A.SassFunction(callable, t1._compileContext);
  78861. },
  78862. $signature: 167
  78863. };
  78864. A._EvaluateVisitor__closure2.prototype = {
  78865. call$0() {
  78866. var local,
  78867. normalizedName = A.stringReplaceAllUnchecked(this.name._string$_text, "_", "-"),
  78868. t1 = this.module,
  78869. namespace = t1 == null ? null : t1._string$_text;
  78870. t1 = this.$this;
  78871. local = t1._environment.getFunction$2$namespace(normalizedName, namespace);
  78872. if (local != null || namespace != null)
  78873. return local;
  78874. return t1._builtInFunctions.$index(0, normalizedName);
  78875. },
  78876. $signature: 81
  78877. };
  78878. A._EvaluateVisitor_closure8.prototype = {
  78879. call$1($arguments) {
  78880. var module, t2, callable,
  78881. t1 = J.getInterceptor$asx($arguments),
  78882. $name = t1.$index($arguments, 0).assertString$1("name");
  78883. t1 = t1.$index($arguments, 1).get$realNull();
  78884. module = t1 == null ? null : t1.assertString$1("module");
  78885. t1 = this.$this;
  78886. t2 = t1._callableNode;
  78887. t2.toString;
  78888. callable = t1._addExceptionSpan$2(t2, new A._EvaluateVisitor__closure1(t1, $name, module));
  78889. if (callable == null)
  78890. throw A.wrapException("Mixin not found: " + $name.toString$0(0));
  78891. return new A.SassMixin(callable, t1._compileContext);
  78892. },
  78893. $signature: 168
  78894. };
  78895. A._EvaluateVisitor__closure1.prototype = {
  78896. call$0() {
  78897. var t1 = this.$this._environment,
  78898. t2 = A.stringReplaceAllUnchecked(this.name._string$_text, "_", "-"),
  78899. t3 = this.module;
  78900. return t1.getMixin$2$namespace(t2, t3 == null ? null : t3._string$_text);
  78901. },
  78902. $signature: 81
  78903. };
  78904. A._EvaluateVisitor_closure9.prototype = {
  78905. call$1($arguments) {
  78906. var t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, invocation, callableNode, callable,
  78907. t1 = J.getInterceptor$asx($arguments),
  78908. $function = t1.$index($arguments, 0),
  78909. args = type$.SassArgumentList._as(t1.$index($arguments, 1));
  78910. t1 = this.$this;
  78911. t2 = t1._callableNode;
  78912. t2.toString;
  78913. t3 = A._setArrayType([], type$.JSArray_Expression);
  78914. t4 = type$.String;
  78915. t5 = type$.Expression;
  78916. t6 = t2.get$span(t2);
  78917. t7 = t2.get$span(t2);
  78918. args._wereKeywordsAccessed = true;
  78919. t8 = args._keywords;
  78920. if (t8.get$isEmpty(t8))
  78921. t2 = null;
  78922. else {
  78923. t9 = type$.Value;
  78924. t10 = A.LinkedHashMap_LinkedHashMap$_empty(t9, t9);
  78925. for (args._wereKeywordsAccessed = true, t8 = A.MapExtensions_get_pairs(t8, t4, t9), t8 = t8.get$iterator(t8); t8.moveNext$0();) {
  78926. t11 = t8.get$current(t8);
  78927. t10.$indexSet(0, new A.SassString(t11._0, false), t11._1);
  78928. }
  78929. t2 = new A.ValueExpression(new A.SassMap(A.ConstantMap_ConstantMap$from(t10, t9, t9)), t2.get$span(t2));
  78930. }
  78931. 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);
  78932. if ($function instanceof A.SassString) {
  78933. A.warnForDeprecation(string$.Passina + $function.toString$0(0) + "))", B.Deprecation_dAn);
  78934. callableNode = t1._callableNode;
  78935. t2 = $function._string$_text;
  78936. t3 = callableNode.get$span(callableNode);
  78937. return t1.visitFunctionExpression$1(0, new A.FunctionExpression(null, A.stringReplaceAllUnchecked(t2, "_", "-"), t2, invocation, t3));
  78938. }
  78939. callable = $function.assertFunction$1("function").assertCompileContext$1(t1._compileContext).callable;
  78940. if (type$.Callable._is(callable)) {
  78941. t2 = t1._callableNode;
  78942. t2.toString;
  78943. return t1._runFunctionCallable$3(invocation, callable, t2);
  78944. } else
  78945. throw A.wrapException(A.SassScriptException$("The function " + callable.get$name(callable) + string$.x20is_as, null));
  78946. },
  78947. $signature: 4
  78948. };
  78949. A._EvaluateVisitor_closure10.prototype = {
  78950. call$1($arguments) {
  78951. var withMap, t2, values, configuration, t3,
  78952. t1 = J.getInterceptor$asx($arguments),
  78953. url = A.Uri_parse(t1.$index($arguments, 0).assertString$1("url")._string$_text);
  78954. t1 = t1.$index($arguments, 1).get$realNull();
  78955. withMap = t1 == null ? null : t1.assertMap$1("with")._map$_contents;
  78956. t1 = this.$this;
  78957. t2 = t1._callableNode;
  78958. t2.toString;
  78959. if (withMap != null) {
  78960. values = A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.ConfiguredValue);
  78961. withMap.forEach$1(0, new A._EvaluateVisitor__closure(values, t2.get$span(t2), t2));
  78962. configuration = new A.ExplicitConfiguration(t2, values, null);
  78963. } else
  78964. configuration = B.Configuration_Map_empty_null;
  78965. t3 = t2.get$span(t2);
  78966. t1._loadModule$7$baseUrl$configuration$namesInErrors(url, "load-css()", t2, new A._EvaluateVisitor__closure0(t1), t3.get$sourceUrl(t3), configuration, true);
  78967. t1._assertConfigurationIsEmpty$2$nameInError(configuration, true);
  78968. },
  78969. $signature: 188
  78970. };
  78971. A._EvaluateVisitor__closure.prototype = {
  78972. call$2(variable, value) {
  78973. var t1 = variable.assertString$1("with key"),
  78974. $name = A.stringReplaceAllUnchecked(t1._string$_text, "_", "-");
  78975. t1 = this.values;
  78976. if (t1.containsKey$1($name))
  78977. throw A.wrapException("The variable $" + $name + " was configured twice.");
  78978. t1.$indexSet(0, $name, new A.ConfiguredValue(value, this.span, this.callableNode));
  78979. },
  78980. $signature: 95
  78981. };
  78982. A._EvaluateVisitor__closure0.prototype = {
  78983. call$2(module, _) {
  78984. var t1 = this.$this;
  78985. return t1._combineCss$2$clone(module, true).accept$1(t1);
  78986. },
  78987. $signature: 82
  78988. };
  78989. A._EvaluateVisitor_closure11.prototype = {
  78990. call$1($arguments) {
  78991. var callableNode, t2, t3, t4, t5, callable, $content,
  78992. t1 = J.getInterceptor$asx($arguments),
  78993. mixin = t1.$index($arguments, 0),
  78994. args = type$.SassArgumentList._as(t1.$index($arguments, 1));
  78995. t1 = this.$this;
  78996. callableNode = t1._callableNode;
  78997. t2 = callableNode.get$span(callableNode);
  78998. t3 = callableNode.get$span(callableNode);
  78999. t4 = type$.Expression;
  79000. t5 = A.List_List$unmodifiable(B.List_empty9, t4);
  79001. t4 = A.ConstantMap_ConstantMap$from(B.Map_empty4, type$.String, t4);
  79002. callable = mixin.assertMixin$1("mixin").assertCompileContext$1(t1._compileContext).callable;
  79003. $content = t1._environment._content;
  79004. if (type$.Callable._is(callable))
  79005. t1._applyMixin$5(callable, $content, new A.ArgumentList(t5, t4, new A.ValueExpression(args, t3), null, t2), callableNode, callableNode);
  79006. else
  79007. throw A.wrapException(A.SassScriptException$("The mixin " + callable.get$name(callable) + string$.x20is_as, null));
  79008. },
  79009. $signature: 188
  79010. };
  79011. A._EvaluateVisitor_run_closure.prototype = {
  79012. call$0() {
  79013. var module, _this = this,
  79014. t1 = _this.node,
  79015. t2 = t1.span,
  79016. _0_0 = t2.get$sourceUrl(t2),
  79017. url = null;
  79018. if (_0_0 != null) {
  79019. url = _0_0;
  79020. t2 = _this.$this;
  79021. t2._activeModules.$indexSet(0, url, null);
  79022. t2._loadedUrls.add$1(0, url);
  79023. }
  79024. t2 = _this.$this;
  79025. module = t2._addExceptionTrace$1(new A._EvaluateVisitor_run__closure(t2, _this.importer, t1));
  79026. return new A._Record_2_loadedUrls_stylesheet(t2._loadedUrls, t2._combineCss$1(module));
  79027. },
  79028. $signature: 569
  79029. };
  79030. A._EvaluateVisitor_run__closure.prototype = {
  79031. call$0() {
  79032. return this.$this._execute$2(this.importer, this.node);
  79033. },
  79034. $signature: 570
  79035. };
  79036. A._EvaluateVisitor_runExpression_closure.prototype = {
  79037. call$0() {
  79038. var t1 = this.$this,
  79039. t2 = this.expression;
  79040. return t1._withFakeStylesheet$3(this.importer, t2, new A._EvaluateVisitor_runExpression__closure(t1, t2));
  79041. },
  79042. $signature: 34
  79043. };
  79044. A._EvaluateVisitor_runExpression__closure.prototype = {
  79045. call$0() {
  79046. var t1 = this.$this;
  79047. return t1._addExceptionTrace$1(new A._EvaluateVisitor_runExpression___closure(t1, this.expression));
  79048. },
  79049. $signature: 34
  79050. };
  79051. A._EvaluateVisitor_runExpression___closure.prototype = {
  79052. call$0() {
  79053. return this.expression.accept$1(this.$this);
  79054. },
  79055. $signature: 34
  79056. };
  79057. A._EvaluateVisitor_runStatement_closure.prototype = {
  79058. call$0() {
  79059. var t1 = this.$this,
  79060. t2 = this.statement;
  79061. return t1._withFakeStylesheet$3(this.importer, t2, new A._EvaluateVisitor_runStatement__closure(t1, t2));
  79062. },
  79063. $signature: 0
  79064. };
  79065. A._EvaluateVisitor_runStatement__closure.prototype = {
  79066. call$0() {
  79067. var t1 = this.$this;
  79068. return t1._addExceptionTrace$1(new A._EvaluateVisitor_runStatement___closure(t1, this.statement));
  79069. },
  79070. $signature: 0
  79071. };
  79072. A._EvaluateVisitor_runStatement___closure.prototype = {
  79073. call$0() {
  79074. return this.statement.accept$1(this.$this);
  79075. },
  79076. $signature: 0
  79077. };
  79078. A._EvaluateVisitor__loadModule_closure.prototype = {
  79079. call$0() {
  79080. return this.callback.call$2(this._box_0.builtInModule, false);
  79081. },
  79082. $signature: 0
  79083. };
  79084. A._EvaluateVisitor__loadModule_closure0.prototype = {
  79085. call$0() {
  79086. var canonicalUrl, oldInDependency, t4, message, _this = this, t1 = {}, stylesheet = null, importer = null,
  79087. t2 = _this.$this,
  79088. t3 = _this.nodeWithSpan,
  79089. _1_0 = t2._loadStylesheet$3$baseUrl(_this.url.toString$0(0), t3.get$span(t3), _this.baseUrl);
  79090. stylesheet = _1_0._0;
  79091. importer = _1_0._1;
  79092. t4 = stylesheet.span;
  79093. canonicalUrl = t4.get$sourceUrl(t4);
  79094. if (canonicalUrl != null) {
  79095. t4 = t2._activeModules;
  79096. if (t4.containsKey$1(canonicalUrl)) {
  79097. message = _this.namesInErrors ? "Module loop: " + $.$get$context().prettyUri$1(canonicalUrl) + " is already being loaded." : string$.Modulel;
  79098. t1 = A.NullableExtension_andThen(t4.$index(0, canonicalUrl), new A._EvaluateVisitor__loadModule__closure(t2, message));
  79099. throw A.wrapException(t1 == null ? t2._evaluate$_exception$1(message) : t1);
  79100. } else
  79101. t4.$indexSet(0, canonicalUrl, t3);
  79102. }
  79103. t4 = t2._modules.containsKey$1(canonicalUrl);
  79104. oldInDependency = t2._inDependency;
  79105. t2._inDependency = _1_0._2;
  79106. t1.module = null;
  79107. try {
  79108. t1.module = t2._execute$5$configuration$namesInErrors$nodeWithSpan(importer, stylesheet, _this.configuration, _this.namesInErrors, t3);
  79109. } finally {
  79110. t2._activeModules.remove$1(0, canonicalUrl);
  79111. t2._inDependency = oldInDependency;
  79112. }
  79113. t2._addExceptionSpan$3$addStackFrame(t3, new A._EvaluateVisitor__loadModule__closure0(t1, _this.callback, !t4), false);
  79114. },
  79115. $signature: 1
  79116. };
  79117. A._EvaluateVisitor__loadModule__closure.prototype = {
  79118. call$1(previousLoad) {
  79119. return this.$this._multiSpanException$3(this.message, "new load", A.LinkedHashMap_LinkedHashMap$_literal([previousLoad.get$span(previousLoad), "original load"], type$.FileSpan, type$.String));
  79120. },
  79121. $signature: 105
  79122. };
  79123. A._EvaluateVisitor__loadModule__closure0.prototype = {
  79124. call$0() {
  79125. return this.callback.call$2(this._box_1.module, this.firstLoad);
  79126. },
  79127. $signature: 0
  79128. };
  79129. A._EvaluateVisitor__execute_closure.prototype = {
  79130. call$0() {
  79131. var t3, t4, t5, t6, _this = this,
  79132. t1 = _this.$this,
  79133. oldImporter = t1._importer,
  79134. oldStylesheet = t1.__stylesheet,
  79135. oldRoot = t1.__root,
  79136. oldPreModuleComments = t1._preModuleComments,
  79137. oldParent = t1.__parent,
  79138. oldEndOfImports = t1.__endOfImports,
  79139. oldOutOfOrderImports = t1._outOfOrderImports,
  79140. oldExtensionStore = t1.__extensionStore,
  79141. t2 = t1._atRootExcludingStyleRule,
  79142. oldStyleRule = t2 ? null : t1._styleRuleIgnoringAtRoot,
  79143. oldMediaQueries = t1._mediaQueries,
  79144. oldDeclarationName = t1._declarationName,
  79145. oldInUnknownAtRule = t1._inUnknownAtRule,
  79146. oldInKeyframes = t1._inKeyframes,
  79147. oldConfiguration = t1._configuration;
  79148. t1._importer = _this.importer;
  79149. t3 = t1.__stylesheet = _this.stylesheet;
  79150. t4 = t3.span;
  79151. t5 = t1.__parent = t1.__root = A.ModifiableCssStylesheet$(t4);
  79152. t1.__endOfImports = 0;
  79153. t1._outOfOrderImports = null;
  79154. t1.__extensionStore = _this.extensionStore;
  79155. t1._declarationName = t1._mediaQueries = t1._styleRuleIgnoringAtRoot = null;
  79156. t1._inKeyframes = t1._atRootExcludingStyleRule = t1._inUnknownAtRule = false;
  79157. t6 = _this.configuration;
  79158. if (t6 != null)
  79159. t1._configuration = t6;
  79160. t1.visitStylesheet$1(0, t3);
  79161. t3 = t1._outOfOrderImports == null ? t5 : new A.CssStylesheet(new A.UnmodifiableListView(t1._addOutOfOrderImports$0(), type$.UnmodifiableListView_CssNode), t4);
  79162. _this.css.__late_helper$_value = t3;
  79163. _this.preModuleComments.__late_helper$_value = t1._preModuleComments;
  79164. t1._importer = oldImporter;
  79165. t1.__stylesheet = oldStylesheet;
  79166. t1.__root = oldRoot;
  79167. t1._preModuleComments = oldPreModuleComments;
  79168. t1.__parent = oldParent;
  79169. t1.__endOfImports = oldEndOfImports;
  79170. t1._outOfOrderImports = oldOutOfOrderImports;
  79171. t1.__extensionStore = oldExtensionStore;
  79172. t1._styleRuleIgnoringAtRoot = oldStyleRule;
  79173. t1._mediaQueries = oldMediaQueries;
  79174. t1._declarationName = oldDeclarationName;
  79175. t1._inUnknownAtRule = oldInUnknownAtRule;
  79176. t1._atRootExcludingStyleRule = t2;
  79177. t1._inKeyframes = oldInKeyframes;
  79178. t1._configuration = oldConfiguration;
  79179. },
  79180. $signature: 1
  79181. };
  79182. A._EvaluateVisitor__combineCss_closure.prototype = {
  79183. call$1(module) {
  79184. return module.get$transitivelyContainsCss();
  79185. },
  79186. $signature: 88
  79187. };
  79188. A._EvaluateVisitor__combineCss_closure0.prototype = {
  79189. call$1(target) {
  79190. return !this.selectors.contains$1(0, target);
  79191. },
  79192. $signature: 14
  79193. };
  79194. A._EvaluateVisitor__combineCss_visitModule.prototype = {
  79195. call$1(module) {
  79196. var t1, t2, t3, t4, _i, upstream, _1_0, statements, index, _this = this;
  79197. if (!_this.seen.add$1(0, module))
  79198. return;
  79199. if (_this.clone)
  79200. module = module.cloneCss$0();
  79201. 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) {
  79202. upstream = t1[_i];
  79203. if (upstream.get$transitivelyContainsCss()) {
  79204. _1_0 = module.get$preModuleComments().$index(0, upstream);
  79205. if (_1_0 != null)
  79206. B.JSArray_methods.addAll$1(t3.length === 0 ? t4 : t3, _1_0);
  79207. _this.call$1(upstream);
  79208. }
  79209. }
  79210. _this.sorted.addFirst$1(module);
  79211. t1 = module.get$css(module);
  79212. statements = t1.get$children(t1);
  79213. index = _this.$this._indexAfterImports$1(statements);
  79214. t1 = J.getInterceptor$ax(statements);
  79215. B.JSArray_methods.addAll$1(t4, t1.getRange$2(statements, 0, index));
  79216. B.JSArray_methods.addAll$1(t3, t1.getRange$2(statements, index, t1.get$length(statements)));
  79217. },
  79218. $signature: 579
  79219. };
  79220. A._EvaluateVisitor__extendModules_closure.prototype = {
  79221. call$1(target) {
  79222. return !this.originalSelectors.contains$1(0, target);
  79223. },
  79224. $signature: 14
  79225. };
  79226. A._EvaluateVisitor__extendModules_closure0.prototype = {
  79227. call$0() {
  79228. return A._setArrayType([], type$.JSArray_ExtensionStore);
  79229. },
  79230. $signature: 141
  79231. };
  79232. A._EvaluateVisitor_visitAtRootRule_closure.prototype = {
  79233. call$0() {
  79234. var t1, t2, t3, _i;
  79235. for (t1 = this.node.children, t2 = t1.length, t3 = this.$this, _i = 0; _i < t2; ++_i)
  79236. t1[_i].accept$1(t3);
  79237. },
  79238. $signature: 1
  79239. };
  79240. A._EvaluateVisitor_visitAtRootRule_closure0.prototype = {
  79241. call$0() {
  79242. var t1, t2, t3, _i;
  79243. for (t1 = this.node.children, t2 = t1.length, t3 = this.$this, _i = 0; _i < t2; ++_i)
  79244. t1[_i].accept$1(t3);
  79245. },
  79246. $signature: 0
  79247. };
  79248. A._EvaluateVisitor__scopeForAtRoot_closure.prototype = {
  79249. call$1(callback) {
  79250. var t1 = this.$this,
  79251. oldParent = t1._assertInModule$2(t1.__parent, "__parent");
  79252. t1.__parent = this.newParent;
  79253. t1._environment.scope$1$2$when(callback, this.node.hasDeclarations, type$.void);
  79254. t1.__parent = oldParent;
  79255. },
  79256. $signature: 37
  79257. };
  79258. A._EvaluateVisitor__scopeForAtRoot_closure0.prototype = {
  79259. call$1(callback) {
  79260. var t1 = this.$this,
  79261. oldAtRootExcludingStyleRule = t1._atRootExcludingStyleRule;
  79262. t1._atRootExcludingStyleRule = true;
  79263. this.innerScope.call$1(callback);
  79264. t1._atRootExcludingStyleRule = oldAtRootExcludingStyleRule;
  79265. },
  79266. $signature: 37
  79267. };
  79268. A._EvaluateVisitor__scopeForAtRoot_closure1.prototype = {
  79269. call$1(callback) {
  79270. return this.$this._withMediaQueries$3(null, null, new A._EvaluateVisitor__scopeForAtRoot__closure(this.innerScope, callback));
  79271. },
  79272. $signature: 37
  79273. };
  79274. A._EvaluateVisitor__scopeForAtRoot__closure.prototype = {
  79275. call$0() {
  79276. return this.innerScope.call$1(this.callback);
  79277. },
  79278. $signature: 1
  79279. };
  79280. A._EvaluateVisitor__scopeForAtRoot_closure2.prototype = {
  79281. call$1(callback) {
  79282. var t1 = this.$this,
  79283. wasInKeyframes = t1._inKeyframes;
  79284. t1._inKeyframes = false;
  79285. this.innerScope.call$1(callback);
  79286. t1._inKeyframes = wasInKeyframes;
  79287. },
  79288. $signature: 37
  79289. };
  79290. A._EvaluateVisitor__scopeForAtRoot_closure3.prototype = {
  79291. call$1($parent) {
  79292. return $parent instanceof A.ModifiableCssAtRule;
  79293. },
  79294. $signature: 172
  79295. };
  79296. A._EvaluateVisitor__scopeForAtRoot_closure4.prototype = {
  79297. call$1(callback) {
  79298. var t1 = this.$this,
  79299. wasInUnknownAtRule = t1._inUnknownAtRule;
  79300. t1._inUnknownAtRule = false;
  79301. this.innerScope.call$1(callback);
  79302. t1._inUnknownAtRule = wasInUnknownAtRule;
  79303. },
  79304. $signature: 37
  79305. };
  79306. A._EvaluateVisitor_visitContentRule_closure.prototype = {
  79307. call$0() {
  79308. var t1, t2, t3, _i;
  79309. for (t1 = this.content.declaration.children, t2 = t1.length, t3 = this.$this, _i = 0; _i < t2; ++_i)
  79310. t1[_i].accept$1(t3);
  79311. return null;
  79312. },
  79313. $signature: 1
  79314. };
  79315. A._EvaluateVisitor_visitDeclaration_closure.prototype = {
  79316. call$0() {
  79317. var t1, t2, t3, _i;
  79318. for (t1 = this._box_0.children, t2 = t1.length, t3 = this.$this, _i = 0; _i < t2; ++_i)
  79319. t1[_i].accept$1(t3);
  79320. },
  79321. $signature: 1
  79322. };
  79323. A._EvaluateVisitor_visitEachRule_closure.prototype = {
  79324. call$1(value) {
  79325. var t1 = this.$this,
  79326. t2 = this.nodeWithSpan;
  79327. return t1._environment.setLocalVariable$3(this._box_0.variable, t1._withoutSlash$2(value, t2), t2);
  79328. },
  79329. $signature: 62
  79330. };
  79331. A._EvaluateVisitor_visitEachRule_closure0.prototype = {
  79332. call$1(value) {
  79333. return this.$this._setMultipleVariables$3(this._box_1.variables, value, this.nodeWithSpan);
  79334. },
  79335. $signature: 62
  79336. };
  79337. A._EvaluateVisitor_visitEachRule_closure1.prototype = {
  79338. call$0() {
  79339. var _this = this,
  79340. t1 = _this.$this;
  79341. return t1._handleReturn$2(_this.list.get$asList(), new A._EvaluateVisitor_visitEachRule__closure(t1, _this.setVariables, _this.node));
  79342. },
  79343. $signature: 42
  79344. };
  79345. A._EvaluateVisitor_visitEachRule__closure.prototype = {
  79346. call$1(element) {
  79347. var t1;
  79348. this.setVariables.call$1(element);
  79349. t1 = this.$this;
  79350. return t1._handleReturn$2(this.node.children, new A._EvaluateVisitor_visitEachRule___closure(t1));
  79351. },
  79352. $signature: 581
  79353. };
  79354. A._EvaluateVisitor_visitEachRule___closure.prototype = {
  79355. call$1(child) {
  79356. return child.accept$1(this.$this);
  79357. },
  79358. $signature: 83
  79359. };
  79360. A._EvaluateVisitor_visitAtRule_closure.prototype = {
  79361. call$1(value) {
  79362. return this.$this._interpolationToValue$3$trim$warnForColor(value, true, true);
  79363. },
  79364. $signature: 583
  79365. };
  79366. A._EvaluateVisitor_visitAtRule_closure0.prototype = {
  79367. call$0() {
  79368. var t2, t3, _i, _this = this,
  79369. t1 = _this.$this,
  79370. styleRule = t1._atRootExcludingStyleRule ? null : t1._styleRuleIgnoringAtRoot;
  79371. if (styleRule == null || t1._inKeyframes || J.$eq$(_this.name.value, "font-face"))
  79372. for (t2 = _this.children, t3 = t2.length, _i = 0; _i < t3; ++_i)
  79373. t2[_i].accept$1(t1);
  79374. else
  79375. 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);
  79376. },
  79377. $signature: 1
  79378. };
  79379. A._EvaluateVisitor_visitAtRule__closure.prototype = {
  79380. call$0() {
  79381. var t1, t2, t3, _i;
  79382. for (t1 = this.children, t2 = t1.length, t3 = this.$this, _i = 0; _i < t2; ++_i)
  79383. t1[_i].accept$1(t3);
  79384. },
  79385. $signature: 1
  79386. };
  79387. A._EvaluateVisitor_visitAtRule_closure1.prototype = {
  79388. call$1(node) {
  79389. return node instanceof A.ModifiableCssStyleRule;
  79390. },
  79391. $signature: 7
  79392. };
  79393. A._EvaluateVisitor_visitForRule_closure.prototype = {
  79394. call$0() {
  79395. return this.node.from.accept$1(this.$this).assertNumber$0();
  79396. },
  79397. $signature: 189
  79398. };
  79399. A._EvaluateVisitor_visitForRule_closure0.prototype = {
  79400. call$0() {
  79401. return this.node.to.accept$1(this.$this).assertNumber$0();
  79402. },
  79403. $signature: 189
  79404. };
  79405. A._EvaluateVisitor_visitForRule_closure1.prototype = {
  79406. call$0() {
  79407. return this.fromNumber.assertInt$0();
  79408. },
  79409. $signature: 10
  79410. };
  79411. A._EvaluateVisitor_visitForRule_closure2.prototype = {
  79412. call$0() {
  79413. var t1 = this.fromNumber;
  79414. return this.toNumber.coerce$2(t1.get$numeratorUnits(t1), t1.get$denominatorUnits(t1)).assertInt$0();
  79415. },
  79416. $signature: 10
  79417. };
  79418. A._EvaluateVisitor_visitForRule_closure3.prototype = {
  79419. call$0() {
  79420. var i, t3, t4, t5, t6, t7, t8, _0_0, _this = this,
  79421. t1 = _this.$this,
  79422. t2 = _this.node,
  79423. nodeWithSpan = t1._expressionNode$1(t2.from);
  79424. 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) {
  79425. t7 = t1._environment;
  79426. t8 = t6.get$numeratorUnits(t6);
  79427. t7.setLocalVariable$3(t5, A.SassNumber_SassNumber$withUnits(i, t6.get$denominatorUnits(t6), t8), nodeWithSpan);
  79428. _0_0 = t1._handleReturn$2(t2, new A._EvaluateVisitor_visitForRule__closure(t1));
  79429. if (_0_0 != null)
  79430. return _0_0;
  79431. }
  79432. return null;
  79433. },
  79434. $signature: 42
  79435. };
  79436. A._EvaluateVisitor_visitForRule__closure.prototype = {
  79437. call$1(child) {
  79438. return child.accept$1(this.$this);
  79439. },
  79440. $signature: 83
  79441. };
  79442. A._EvaluateVisitor_visitForwardRule_closure.prototype = {
  79443. call$2(module, firstLoad) {
  79444. if (firstLoad)
  79445. this.$this._registerCommentsForModule$1(module);
  79446. this.$this._environment.forwardModule$2(module, this.node);
  79447. },
  79448. $signature: 82
  79449. };
  79450. A._EvaluateVisitor_visitForwardRule_closure0.prototype = {
  79451. call$2(module, firstLoad) {
  79452. if (firstLoad)
  79453. this.$this._registerCommentsForModule$1(module);
  79454. this.$this._environment.forwardModule$2(module, this.node);
  79455. },
  79456. $signature: 82
  79457. };
  79458. A._EvaluateVisitor__registerCommentsForModule_closure.prototype = {
  79459. call$0() {
  79460. return A._setArrayType([], type$.JSArray_CssComment);
  79461. },
  79462. $signature: 177
  79463. };
  79464. A._EvaluateVisitor_visitIfRule_closure.prototype = {
  79465. call$1(clause) {
  79466. var t1 = this.$this;
  79467. return t1._environment.scope$1$3$semiGlobal$when(new A._EvaluateVisitor_visitIfRule__closure(t1, clause), true, clause.hasDeclarations, type$.nullable_Value);
  79468. },
  79469. $signature: 611
  79470. };
  79471. A._EvaluateVisitor_visitIfRule__closure.prototype = {
  79472. call$0() {
  79473. var t1 = this.$this;
  79474. return t1._handleReturn$2(this.clause.children, new A._EvaluateVisitor_visitIfRule___closure(t1));
  79475. },
  79476. $signature: 42
  79477. };
  79478. A._EvaluateVisitor_visitIfRule___closure.prototype = {
  79479. call$1(child) {
  79480. return child.accept$1(this.$this);
  79481. },
  79482. $signature: 83
  79483. };
  79484. A._EvaluateVisitor__visitDynamicImport_closure.prototype = {
  79485. call$0() {
  79486. 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 = {};
  79487. _box_0.isDependency = _box_0.importer = _box_0.stylesheet = null;
  79488. t1 = this.$this;
  79489. t2 = this.$import;
  79490. _0_0 = t1._loadStylesheet$3$forImport(t2.urlString, t2.span, true);
  79491. stylesheet = _box_0.stylesheet = _0_0._0;
  79492. importer = _0_0._1;
  79493. _box_0.importer = importer;
  79494. isDependency = _0_0._2;
  79495. _box_0.isDependency = isDependency;
  79496. t3 = stylesheet.span;
  79497. url = t3.get$sourceUrl(t3);
  79498. if (url != null) {
  79499. t3 = t1._activeModules;
  79500. if (t3.containsKey$1(url)) {
  79501. t2 = A.NullableExtension_andThen(t3.$index(0, url), new A._EvaluateVisitor__visitDynamicImport__closure(t1));
  79502. throw A.wrapException(t2 == null ? t1._evaluate$_exception$1("This file is already being loaded.") : t2);
  79503. }
  79504. t3.$indexSet(0, url, t2);
  79505. }
  79506. t2 = stylesheet._uses;
  79507. t3 = type$.UnmodifiableListView_UseRule;
  79508. if (new A.UnmodifiableListView(t2, t3).get$length(0) === 0 && new A.UnmodifiableListView(stylesheet._forwards, type$.UnmodifiableListView_ForwardRule).get$length(0) === 0) {
  79509. oldImporter = t1._importer;
  79510. oldStylesheet = t1._assertInModule$2(t1.__stylesheet, "_stylesheet");
  79511. oldInDependency = t1._inDependency;
  79512. t1._importer = importer;
  79513. t1.__stylesheet = stylesheet;
  79514. t1._inDependency = isDependency;
  79515. t1.visitStylesheet$1(0, stylesheet);
  79516. t1._importer = oldImporter;
  79517. t1.__stylesheet = oldStylesheet;
  79518. t1._inDependency = oldInDependency;
  79519. t1._activeModules.remove$1(0, url);
  79520. return;
  79521. }
  79522. t2 = new A.UnmodifiableListView(t2, t3);
  79523. if (!t2.any$1(t2, new A._EvaluateVisitor__visitDynamicImport__closure0())) {
  79524. t2 = new A.UnmodifiableListView(stylesheet._forwards, type$.UnmodifiableListView_ForwardRule);
  79525. loadsUserDefinedModules = t2.any$1(t2, new A._EvaluateVisitor__visitDynamicImport__closure1());
  79526. } else
  79527. loadsUserDefinedModules = true;
  79528. children = A._Cell$();
  79529. t2 = t1._environment;
  79530. t3 = type$.String;
  79531. t4 = type$.Module_Callable;
  79532. t5 = type$.AstNode;
  79533. t6 = A._setArrayType([], type$.JSArray_Module_Callable);
  79534. t7 = t2._variables;
  79535. t7 = A._setArrayType(t7.slice(0), A._arrayInstanceType(t7));
  79536. t8 = t2._variableNodes;
  79537. t8 = A._setArrayType(t8.slice(0), A._arrayInstanceType(t8));
  79538. t9 = t2._functions;
  79539. t9 = A._setArrayType(t9.slice(0), A._arrayInstanceType(t9));
  79540. t10 = t2._mixins;
  79541. t10 = A._setArrayType(t10.slice(0), A._arrayInstanceType(t10));
  79542. 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, t2._configurableVariables);
  79543. t1._withEnvironment$2(environment, new A._EvaluateVisitor__visitDynamicImport__closure2(_box_0, t1, loadsUserDefinedModules, environment, children));
  79544. module = environment.toDummyModule$0();
  79545. t1._environment.importForwards$1(module);
  79546. if (loadsUserDefinedModules) {
  79547. if (module.transitivelyContainsCss)
  79548. t1._combineCss$2$clone(module, module.transitivelyContainsExtensions).accept$1(t1);
  79549. visitor = new A._ImportedCssVisitor(t1);
  79550. for (t2 = J.get$iterator$ax(children._readLocal$0()); t2.moveNext$0();)
  79551. t2.get$current(t2).accept$1(visitor);
  79552. }
  79553. t1._activeModules.remove$1(0, url);
  79554. },
  79555. $signature: 0
  79556. };
  79557. A._EvaluateVisitor__visitDynamicImport__closure.prototype = {
  79558. call$1(previousLoad) {
  79559. 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));
  79560. },
  79561. $signature: 105
  79562. };
  79563. A._EvaluateVisitor__visitDynamicImport__closure0.prototype = {
  79564. call$1(rule) {
  79565. return rule.url.get$scheme() !== "sass";
  79566. },
  79567. $signature: 178
  79568. };
  79569. A._EvaluateVisitor__visitDynamicImport__closure1.prototype = {
  79570. call$1(rule) {
  79571. return rule.url.get$scheme() !== "sass";
  79572. },
  79573. $signature: 179
  79574. };
  79575. A._EvaluateVisitor__visitDynamicImport__closure2.prototype = {
  79576. call$0() {
  79577. var t3, t4, _this = this,
  79578. t1 = _this.$this,
  79579. oldImporter = t1._importer,
  79580. oldStylesheet = t1._assertInModule$2(t1.__stylesheet, "_stylesheet"),
  79581. oldRoot = t1._assertInModule$2(t1.__root, "_root"),
  79582. oldParent = t1._assertInModule$2(t1.__parent, "__parent"),
  79583. oldEndOfImports = t1._assertInModule$2(t1.__endOfImports, "_endOfImports"),
  79584. oldOutOfOrderImports = t1._outOfOrderImports,
  79585. oldConfiguration = t1._configuration,
  79586. oldInDependency = t1._inDependency,
  79587. t2 = _this._box_0;
  79588. t1._importer = t2.importer;
  79589. t3 = t2.stylesheet;
  79590. t1.__stylesheet = t3;
  79591. t4 = _this.loadsUserDefinedModules;
  79592. if (t4) {
  79593. t3 = A.ModifiableCssStylesheet$(t3.span);
  79594. t1.__root = t3;
  79595. t1.__parent = t1._assertInModule$2(t3, "_root");
  79596. t1.__endOfImports = 0;
  79597. t1._outOfOrderImports = null;
  79598. }
  79599. t1._inDependency = t2.isDependency;
  79600. t3 = new A.UnmodifiableListView(t2.stylesheet._forwards, type$.UnmodifiableListView_ForwardRule);
  79601. if (!t3.get$isEmpty(t3))
  79602. t1._configuration = _this.environment.toImplicitConfiguration$0();
  79603. t1.visitStylesheet$1(0, t2.stylesheet);
  79604. t2 = t4 ? t1._addOutOfOrderImports$0() : A._setArrayType([], type$.JSArray_ModifiableCssNode);
  79605. _this.children.__late_helper$_value = t2;
  79606. t1._importer = oldImporter;
  79607. t1.__stylesheet = oldStylesheet;
  79608. if (t4) {
  79609. t1.__root = oldRoot;
  79610. t1.__parent = oldParent;
  79611. t1.__endOfImports = oldEndOfImports;
  79612. t1._outOfOrderImports = oldOutOfOrderImports;
  79613. }
  79614. t1._configuration = oldConfiguration;
  79615. t1._inDependency = oldInDependency;
  79616. },
  79617. $signature: 1
  79618. };
  79619. A._EvaluateVisitor__applyMixin_closure.prototype = {
  79620. call$0() {
  79621. var _this = this,
  79622. t1 = _this.$this;
  79623. t1._environment.asMixin$1(new A._EvaluateVisitor__applyMixin__closure0(t1, _this.$arguments, _this.mixin, _this.nodeWithSpanWithoutContent));
  79624. },
  79625. $signature: 0
  79626. };
  79627. A._EvaluateVisitor__applyMixin__closure0.prototype = {
  79628. call$0() {
  79629. var _this = this;
  79630. _this.$this._runBuiltInCallable$3(_this.$arguments, _this.mixin, _this.nodeWithSpanWithoutContent);
  79631. },
  79632. $signature: 0
  79633. };
  79634. A._EvaluateVisitor__applyMixin_closure0.prototype = {
  79635. call$0() {
  79636. var _this = this,
  79637. t1 = _this.$this;
  79638. t1._environment.withContent$2(_this.contentCallable, new A._EvaluateVisitor__applyMixin__closure(t1, _this.mixin, _this.nodeWithSpanWithoutContent));
  79639. },
  79640. $signature: 1
  79641. };
  79642. A._EvaluateVisitor__applyMixin__closure.prototype = {
  79643. call$0() {
  79644. var t1 = this.$this;
  79645. t1._environment.asMixin$1(new A._EvaluateVisitor__applyMixin___closure(t1, this.mixin, this.nodeWithSpanWithoutContent));
  79646. },
  79647. $signature: 0
  79648. };
  79649. A._EvaluateVisitor__applyMixin___closure.prototype = {
  79650. call$0() {
  79651. var t1, t2, t3, t4, _i;
  79652. for (t1 = this.mixin.declaration.children, t2 = t1.length, t3 = this.$this, t4 = this.nodeWithSpanWithoutContent, _i = 0; _i < t2; ++_i)
  79653. t3._addErrorSpan$2(t4, new A._EvaluateVisitor__applyMixin____closure(t3, t1[_i]));
  79654. },
  79655. $signature: 0
  79656. };
  79657. A._EvaluateVisitor__applyMixin____closure.prototype = {
  79658. call$0() {
  79659. return this.statement.accept$1(this.$this);
  79660. },
  79661. $signature: 42
  79662. };
  79663. A._EvaluateVisitor_visitIncludeRule_closure.prototype = {
  79664. call$0() {
  79665. var t1 = this.node;
  79666. return this.$this._environment.getMixin$2$namespace(t1.name, t1.namespace);
  79667. },
  79668. $signature: 81
  79669. };
  79670. A._EvaluateVisitor_visitIncludeRule_closure0.prototype = {
  79671. call$1($content) {
  79672. var t1 = this.$this;
  79673. return new A.UserDefinedCallable($content, t1._environment.closure$0(), t1._inDependency, type$.UserDefinedCallable_Environment);
  79674. },
  79675. $signature: 632
  79676. };
  79677. A._EvaluateVisitor_visitIncludeRule_closure1.prototype = {
  79678. call$0() {
  79679. return this.node.get$spanWithoutContent();
  79680. },
  79681. $signature: 28
  79682. };
  79683. A._EvaluateVisitor_visitMediaRule_closure.prototype = {
  79684. call$1(mediaQueries) {
  79685. return this.$this._mergeMediaQueries$2(mediaQueries, this.queries);
  79686. },
  79687. $signature: 101
  79688. };
  79689. A._EvaluateVisitor_visitMediaRule_closure0.prototype = {
  79690. call$0() {
  79691. var _this = this,
  79692. t1 = _this.$this,
  79693. t2 = _this.mergedQueries;
  79694. if (t2 == null)
  79695. t2 = _this.queries;
  79696. t1._withMediaQueries$3(t2, _this.mergedSources, new A._EvaluateVisitor_visitMediaRule__closure(t1, _this.node));
  79697. },
  79698. $signature: 1
  79699. };
  79700. A._EvaluateVisitor_visitMediaRule__closure.prototype = {
  79701. call$0() {
  79702. var t2, t3, _i,
  79703. t1 = this.$this,
  79704. _0_0 = t1._atRootExcludingStyleRule ? null : t1._styleRuleIgnoringAtRoot;
  79705. if (_0_0 != null)
  79706. 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);
  79707. else
  79708. for (t2 = this.node.children, t3 = t2.length, _i = 0; _i < t3; ++_i)
  79709. t2[_i].accept$1(t1);
  79710. },
  79711. $signature: 1
  79712. };
  79713. A._EvaluateVisitor_visitMediaRule___closure.prototype = {
  79714. call$0() {
  79715. var t1, t2, t3, _i;
  79716. for (t1 = this.node.children, t2 = t1.length, t3 = this.$this, _i = 0; _i < t2; ++_i)
  79717. t1[_i].accept$1(t3);
  79718. },
  79719. $signature: 1
  79720. };
  79721. A._EvaluateVisitor_visitMediaRule_closure1.prototype = {
  79722. call$1(node) {
  79723. var t1;
  79724. if (!(node instanceof A.ModifiableCssStyleRule)) {
  79725. t1 = this.mergedSources;
  79726. t1 = t1.get$isNotEmpty(t1) && node instanceof A.ModifiableCssMediaRule && B.JSArray_methods.every$1(node.queries, t1.get$contains(t1));
  79727. } else
  79728. t1 = true;
  79729. return t1;
  79730. },
  79731. $signature: 7
  79732. };
  79733. A._EvaluateVisitor_visitStyleRule_closure.prototype = {
  79734. call$0() {
  79735. var t1, t2, t3, _i;
  79736. for (t1 = this.node.children, t2 = t1.length, t3 = this.$this, _i = 0; _i < t2; ++_i)
  79737. t1[_i].accept$1(t3);
  79738. },
  79739. $signature: 1
  79740. };
  79741. A._EvaluateVisitor_visitStyleRule_closure0.prototype = {
  79742. call$1(node) {
  79743. return node instanceof A.ModifiableCssStyleRule;
  79744. },
  79745. $signature: 7
  79746. };
  79747. A._EvaluateVisitor_visitStyleRule_closure2.prototype = {
  79748. call$0() {
  79749. var t1 = this.$this;
  79750. t1._withStyleRule$2(this.rule, new A._EvaluateVisitor_visitStyleRule__closure(t1, this.node));
  79751. },
  79752. $signature: 1
  79753. };
  79754. A._EvaluateVisitor_visitStyleRule__closure.prototype = {
  79755. call$0() {
  79756. var t1, t2, t3, _i;
  79757. for (t1 = this.node.children, t2 = t1.length, t3 = this.$this, _i = 0; _i < t2; ++_i)
  79758. t1[_i].accept$1(t3);
  79759. },
  79760. $signature: 1
  79761. };
  79762. A._EvaluateVisitor_visitStyleRule_closure1.prototype = {
  79763. call$1(node) {
  79764. return node instanceof A.ModifiableCssStyleRule;
  79765. },
  79766. $signature: 7
  79767. };
  79768. A._EvaluateVisitor__warnForBogusCombinators_closure.prototype = {
  79769. call$1(child) {
  79770. return child instanceof A.ModifiableCssComment;
  79771. },
  79772. $signature: 7
  79773. };
  79774. A._EvaluateVisitor_visitSupportsRule_closure.prototype = {
  79775. call$0() {
  79776. var t2, t3, _i,
  79777. t1 = this.$this,
  79778. _0_0 = t1._atRootExcludingStyleRule ? null : t1._styleRuleIgnoringAtRoot;
  79779. if (_0_0 != null)
  79780. 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);
  79781. else
  79782. for (t2 = this.node.children, t3 = t2.length, _i = 0; _i < t3; ++_i)
  79783. t2[_i].accept$1(t1);
  79784. },
  79785. $signature: 1
  79786. };
  79787. A._EvaluateVisitor_visitSupportsRule__closure.prototype = {
  79788. call$0() {
  79789. var t1, t2, t3, _i;
  79790. for (t1 = this.node.children, t2 = t1.length, t3 = this.$this, _i = 0; _i < t2; ++_i)
  79791. t1[_i].accept$1(t3);
  79792. },
  79793. $signature: 1
  79794. };
  79795. A._EvaluateVisitor_visitSupportsRule_closure0.prototype = {
  79796. call$1(node) {
  79797. return node instanceof A.ModifiableCssStyleRule;
  79798. },
  79799. $signature: 7
  79800. };
  79801. A._EvaluateVisitor__visitSupportsCondition_closure.prototype = {
  79802. call$0() {
  79803. var t4,
  79804. t1 = this.$this,
  79805. t2 = this._box_0,
  79806. t3 = t2.declaration.name;
  79807. t3 = t1._evaluate$_serialize$3$quote(t3.accept$1(t1), t3, true);
  79808. t4 = t2.declaration.get$isCustomProperty() ? "" : " ";
  79809. t2 = t2.declaration.value;
  79810. return "(" + t3 + ":" + t4 + t1._evaluate$_serialize$3$quote(t2.accept$1(t1), t2, true) + ")";
  79811. },
  79812. $signature: 27
  79813. };
  79814. A._EvaluateVisitor_visitVariableDeclaration_closure.prototype = {
  79815. call$0() {
  79816. var t1 = this.$this._environment,
  79817. t2 = this._box_0.override;
  79818. t1.setVariable$4$global(this.node.name, t2.value, t2.assignmentNode, true);
  79819. },
  79820. $signature: 1
  79821. };
  79822. A._EvaluateVisitor_visitVariableDeclaration_closure0.prototype = {
  79823. call$0() {
  79824. var t1 = this.node;
  79825. return this.$this._environment.getVariable$2$namespace(t1.name, t1.namespace);
  79826. },
  79827. $signature: 42
  79828. };
  79829. A._EvaluateVisitor_visitVariableDeclaration_closure1.prototype = {
  79830. call$0() {
  79831. var t1 = this.$this,
  79832. t2 = this.node;
  79833. t1._environment.setVariable$5$global$namespace(t2.name, this.value, t1._expressionNode$1(t2.expression), t2.isGlobal, t2.namespace);
  79834. },
  79835. $signature: 1
  79836. };
  79837. A._EvaluateVisitor_visitUseRule_closure.prototype = {
  79838. call$2(module, firstLoad) {
  79839. var t1, t2, t3, _0_0, t4, t5, span;
  79840. if (firstLoad)
  79841. this.$this._registerCommentsForModule$1(module);
  79842. t1 = this.$this._environment;
  79843. t2 = this.node;
  79844. t3 = t2.namespace;
  79845. if (t3 == null) {
  79846. t1._globalModules.$indexSet(0, module, t2);
  79847. t1._allModules.push(module);
  79848. _0_0 = A.IterableExtension_firstWhereOrNull(J.get$keys$z(B.JSArray_methods.get$first(t1._variables)), module.get$variables().get$containsKey());
  79849. if (_0_0 != null)
  79850. A.throwExpression(A.SassScriptException$(string$.This_ma + _0_0 + '".', null));
  79851. } else {
  79852. t4 = t1._environment$_modules;
  79853. if (t4.containsKey$1(t3)) {
  79854. t5 = t1._namespaceNodes.$index(0, t3);
  79855. span = t5 == null ? null : t5.span;
  79856. t5 = A.LinkedHashMap_LinkedHashMap$_empty(type$.FileSpan, type$.String);
  79857. if (span != null)
  79858. t5.$indexSet(0, span, "original @use");
  79859. A.throwExpression(A.MultiSpanSassScriptException$(string$.There_ + t3 + '".', "new @use", t5));
  79860. }
  79861. t4.$indexSet(0, t3, module);
  79862. t1._namespaceNodes.$indexSet(0, t3, t2);
  79863. t1._allModules.push(module);
  79864. }
  79865. },
  79866. $signature: 82
  79867. };
  79868. A._EvaluateVisitor_visitWarnRule_closure.prototype = {
  79869. call$0() {
  79870. return this.node.expression.accept$1(this.$this);
  79871. },
  79872. $signature: 34
  79873. };
  79874. A._EvaluateVisitor_visitWhileRule_closure.prototype = {
  79875. call$0() {
  79876. var t1, t2, t3, _0_0;
  79877. for (t1 = this.node, t2 = t1.condition, t3 = this.$this, t1 = t1.children; t2.accept$1(t3).get$isTruthy();) {
  79878. _0_0 = t3._handleReturn$2(t1, new A._EvaluateVisitor_visitWhileRule__closure(t3));
  79879. if (_0_0 != null)
  79880. return _0_0;
  79881. }
  79882. return null;
  79883. },
  79884. $signature: 42
  79885. };
  79886. A._EvaluateVisitor_visitWhileRule__closure.prototype = {
  79887. call$1(child) {
  79888. return child.accept$1(this.$this);
  79889. },
  79890. $signature: 83
  79891. };
  79892. A._EvaluateVisitor_visitBinaryOperationExpression_closure.prototype = {
  79893. call$0() {
  79894. var t1 = this.node,
  79895. t2 = this.$this,
  79896. left = t1.left.accept$1(t2);
  79897. switch (t1.operator) {
  79898. case B.BinaryOperator_Kyq:
  79899. t1 = t1.right.accept$1(t2);
  79900. t1 = new A.SassString(A.serializeValue(left, false, true) + "=" + A.serializeValue(t1, false, true), false);
  79901. break;
  79902. case B.BinaryOperator_tKu:
  79903. t1 = left.get$isTruthy() ? left : t1.right.accept$1(t2);
  79904. break;
  79905. case B.BinaryOperator_uke:
  79906. t1 = left.get$isTruthy() ? t1.right.accept$1(t2) : left;
  79907. break;
  79908. case B.BinaryOperator_r84:
  79909. t1 = left.$eq(0, t1.right.accept$1(t2)) ? B.SassBoolean_true : B.SassBoolean_false;
  79910. break;
  79911. case B.BinaryOperator_qGq:
  79912. t1 = !left.$eq(0, t1.right.accept$1(t2)) ? B.SassBoolean_true : B.SassBoolean_false;
  79913. break;
  79914. case B.BinaryOperator_o8O:
  79915. t1 = left.greaterThan$1(t1.right.accept$1(t2));
  79916. break;
  79917. case B.BinaryOperator_JiR:
  79918. t1 = left.greaterThanOrEquals$1(t1.right.accept$1(t2));
  79919. break;
  79920. case B.BinaryOperator_qHy:
  79921. t1 = left.lessThan$1(t1.right.accept$1(t2));
  79922. break;
  79923. case B.BinaryOperator_FPG:
  79924. t1 = left.lessThanOrEquals$1(t1.right.accept$1(t2));
  79925. break;
  79926. case B.BinaryOperator_Swh:
  79927. t1 = left.plus$1(t1.right.accept$1(t2));
  79928. break;
  79929. case B.BinaryOperator_QG1:
  79930. t1 = left.minus$1(t1.right.accept$1(t2));
  79931. break;
  79932. case B.BinaryOperator_tht:
  79933. t1 = left.times$1(t1.right.accept$1(t2));
  79934. break;
  79935. case B.BinaryOperator_Mh5:
  79936. t1 = t2._slash$3(left, t1.right.accept$1(t2), t1);
  79937. break;
  79938. case B.BinaryOperator_s7T:
  79939. t1 = left.modulo$1(t1.right.accept$1(t2));
  79940. break;
  79941. default:
  79942. t1 = null;
  79943. }
  79944. return t1;
  79945. },
  79946. $signature: 34
  79947. };
  79948. A._EvaluateVisitor__slash_recommendation.prototype = {
  79949. call$1(expression) {
  79950. var t1;
  79951. $label0$0: {
  79952. if (expression instanceof A.BinaryOperationExpression && B.BinaryOperator_Mh5 === expression.operator) {
  79953. t1 = "math.div(" + A.S(this.call$1(expression.left)) + ", " + A.S(this.call$1(expression.right)) + ")";
  79954. break $label0$0;
  79955. }
  79956. if (expression instanceof A.ParenthesizedExpression) {
  79957. t1 = expression.expression.toString$0(0);
  79958. break $label0$0;
  79959. }
  79960. t1 = expression.toString$0(0);
  79961. break $label0$0;
  79962. }
  79963. return t1;
  79964. },
  79965. $signature: 133
  79966. };
  79967. A._EvaluateVisitor_visitVariableExpression_closure.prototype = {
  79968. call$0() {
  79969. var t1 = this.node;
  79970. return this.$this._environment.getVariable$2$namespace(t1.name, t1.namespace);
  79971. },
  79972. $signature: 42
  79973. };
  79974. A._EvaluateVisitor_visitUnaryOperationExpression_closure.prototype = {
  79975. call$0() {
  79976. var t1, _this = this;
  79977. switch (_this.node.operator) {
  79978. case B.UnaryOperator_Rbl:
  79979. t1 = _this.operand.unaryPlus$0();
  79980. break;
  79981. case B.UnaryOperator_UCP:
  79982. t1 = _this.operand.unaryMinus$0();
  79983. break;
  79984. case B.UnaryOperator_lZV:
  79985. t1 = new A.SassString("/" + A.serializeValue(_this.operand, false, true), false);
  79986. break;
  79987. case B.UnaryOperator_not_not_not:
  79988. t1 = _this.operand.unaryNot$0();
  79989. break;
  79990. default:
  79991. t1 = null;
  79992. }
  79993. return t1;
  79994. },
  79995. $signature: 34
  79996. };
  79997. A._EvaluateVisitor_visitListExpression_closure.prototype = {
  79998. call$1(expression) {
  79999. return expression.accept$1(this.$this);
  80000. },
  80001. $signature: 647
  80002. };
  80003. A._EvaluateVisitor_visitFunctionExpression_closure.prototype = {
  80004. call$0() {
  80005. var t1 = this.node;
  80006. return this.$this._environment.getFunction$2$namespace(t1.name, t1.namespace);
  80007. },
  80008. $signature: 81
  80009. };
  80010. A._EvaluateVisitor_visitFunctionExpression_closure0.prototype = {
  80011. call$1(argument) {
  80012. return argument.accept$1(B.C_IsCalculationSafeVisitor);
  80013. },
  80014. $signature: 121
  80015. };
  80016. A._EvaluateVisitor_visitFunctionExpression_closure1.prototype = {
  80017. call$0() {
  80018. var t1 = this.node;
  80019. return this.$this._runFunctionCallable$3(t1.$arguments, this._box_0.$function, t1);
  80020. },
  80021. $signature: 34
  80022. };
  80023. A._EvaluateVisitor__visitCalculation_closure.prototype = {
  80024. call$2(message, deprecation) {
  80025. return this.$this._warn$3(message, this.node.span, deprecation);
  80026. },
  80027. call$1(message) {
  80028. return this.call$2(message, null);
  80029. },
  80030. $signature: 87
  80031. };
  80032. A._EvaluateVisitor__checkCalculationArguments_check.prototype = {
  80033. call$1(maxArgs) {
  80034. var t1 = this.node,
  80035. t2 = t1.$arguments.positional.length;
  80036. if (t2 === 0)
  80037. throw A.wrapException(this.$this._evaluate$_exception$2("Missing argument.", t1.span));
  80038. else if (maxArgs != null && t2 > maxArgs)
  80039. 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));
  80040. },
  80041. call$0() {
  80042. return this.call$1(null);
  80043. },
  80044. $signature: 85
  80045. };
  80046. A._EvaluateVisitor__visitCalculationExpression_closure.prototype = {
  80047. call$0() {
  80048. var _this = this,
  80049. t1 = _this.$this,
  80050. t2 = _this._box_0,
  80051. t3 = _this.node,
  80052. t4 = _this.inLegacySassFunction;
  80053. 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));
  80054. },
  80055. $signature: 91
  80056. };
  80057. A._EvaluateVisitor__visitCalculationExpression__closure.prototype = {
  80058. call$2(message, deprecation) {
  80059. return this.$this._warn$3(message, this.node.get$span(0), deprecation);
  80060. },
  80061. call$1(message) {
  80062. return this.call$2(message, null);
  80063. },
  80064. $signature: 87
  80065. };
  80066. A._EvaluateVisitor_visitInterpolatedFunctionExpression_closure.prototype = {
  80067. call$0() {
  80068. var t1 = this.node;
  80069. return this.$this._runFunctionCallable$3(t1.$arguments, this.$function, t1);
  80070. },
  80071. $signature: 34
  80072. };
  80073. A._EvaluateVisitor__runUserDefinedCallable_closure.prototype = {
  80074. call$0() {
  80075. var _this = this,
  80076. t1 = _this.$this,
  80077. t2 = _this.callable;
  80078. return t1._withEnvironment$2(t2.environment.closure$0(), new A._EvaluateVisitor__runUserDefinedCallable__closure(t1, _this.evaluated, t2, _this.nodeWithSpan, _this.run, _this.V));
  80079. },
  80080. $signature() {
  80081. return this.V._eval$1("0()");
  80082. }
  80083. };
  80084. A._EvaluateVisitor__runUserDefinedCallable__closure.prototype = {
  80085. call$0() {
  80086. var _this = this,
  80087. t1 = _this.$this,
  80088. t2 = _this.V;
  80089. return t1._environment.scope$1$1(new A._EvaluateVisitor__runUserDefinedCallable___closure(t1, _this.evaluated, _this.callable, _this.nodeWithSpan, _this.run, t2), t2);
  80090. },
  80091. $signature() {
  80092. return this.V._eval$1("0()");
  80093. }
  80094. };
  80095. A._EvaluateVisitor__runUserDefinedCallable___closure.prototype = {
  80096. call$0() {
  80097. var parameters, t5, minLength, i, parameter, t6, value, t7, t8, restParameter, rest, argumentList, result, parameterWord, _this = this,
  80098. t1 = _this.$this,
  80099. t2 = _this.evaluated._values,
  80100. t3 = _this.callable.declaration.parameters,
  80101. t4 = _this.nodeWithSpan;
  80102. t1._verifyArguments$4(t2[2].length, t2[0], t3, t4);
  80103. parameters = t3.parameters;
  80104. t5 = parameters.length;
  80105. minLength = Math.min(t2[2].length, t5);
  80106. for (i = 0; i < minLength; ++i)
  80107. t1._environment.setLocalVariable$3(parameters[i].name, t2[2][i], t2[3][i]);
  80108. for (i = t2[2].length; i < t5; ++i) {
  80109. parameter = parameters[i];
  80110. t6 = parameter.name;
  80111. value = t2[0].remove$1(0, t6);
  80112. if (value == null) {
  80113. t7 = parameter.defaultValue;
  80114. value = t1._withoutSlash$2(t7.accept$1(t1), t1._expressionNode$1(t7));
  80115. }
  80116. t7 = t1._environment;
  80117. t8 = t2[1].$index(0, t6);
  80118. if (t8 == null) {
  80119. t8 = parameter.defaultValue;
  80120. t8.toString;
  80121. t8 = t1._expressionNode$1(t8);
  80122. }
  80123. t7.setLocalVariable$3(t6, value, t8);
  80124. }
  80125. restParameter = t3.restParameter;
  80126. if (restParameter != null) {
  80127. t6 = t2[2];
  80128. rest = t6.length > t5 ? B.JSArray_methods.sublist$1(t6, t5) : B.List_empty8;
  80129. t5 = t2[0];
  80130. t6 = t2[4];
  80131. argumentList = A.SassArgumentList$(rest, t5, t6 === B.ListSeparator_undecided_null_undecided ? B.ListSeparator_qVN : t6);
  80132. t1._environment.setLocalVariable$3(restParameter, argumentList, t4);
  80133. } else
  80134. argumentList = null;
  80135. result = _this.run.call$0();
  80136. if (argumentList == null)
  80137. return result;
  80138. t5 = t2[0].__js_helper$_length;
  80139. if (t5 === 0)
  80140. return result;
  80141. if (argumentList._wereKeywordsAccessed)
  80142. return result;
  80143. parameterWord = A.pluralize("parameter", t5, null);
  80144. t2 = t2[0];
  80145. t5 = A._instanceType(t2)._eval$1("LinkedHashMapKeysIterable<1>");
  80146. 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));
  80147. },
  80148. $signature() {
  80149. return this.V._eval$1("0()");
  80150. }
  80151. };
  80152. A._EvaluateVisitor__runUserDefinedCallable____closure.prototype = {
  80153. call$1($name) {
  80154. return "$" + $name;
  80155. },
  80156. $signature: 6
  80157. };
  80158. A._EvaluateVisitor__runFunctionCallable_closure.prototype = {
  80159. call$0() {
  80160. var t1, t2, t3, t4, _i, $returnValue;
  80161. for (t1 = this.callable.declaration, t2 = t1.children, t3 = t2.length, t4 = this.$this, _i = 0; _i < t3; ++_i) {
  80162. $returnValue = t2[_i].accept$1(t4);
  80163. if ($returnValue instanceof A.Value)
  80164. return $returnValue;
  80165. }
  80166. throw A.wrapException(t4._evaluate$_exception$2("Function finished without @return.", t1.span));
  80167. },
  80168. $signature: 34
  80169. };
  80170. A._EvaluateVisitor__runBuiltInCallable_closure.prototype = {
  80171. call$0() {
  80172. return this._box_0.overload.verify$2(this.evaluated._values[2].length, this.namedSet);
  80173. },
  80174. $signature: 0
  80175. };
  80176. A._EvaluateVisitor__runBuiltInCallable_closure0.prototype = {
  80177. call$0() {
  80178. return this._box_0.callback.call$1(this.evaluated._values[2]);
  80179. },
  80180. $signature: 34
  80181. };
  80182. A._EvaluateVisitor__runBuiltInCallable_closure1.prototype = {
  80183. call$1($name) {
  80184. return "$" + $name;
  80185. },
  80186. $signature: 6
  80187. };
  80188. A._EvaluateVisitor__evaluateArguments_closure.prototype = {
  80189. call$1(value) {
  80190. return value;
  80191. },
  80192. $signature: 41
  80193. };
  80194. A._EvaluateVisitor__evaluateArguments_closure0.prototype = {
  80195. call$1(value) {
  80196. return this.$this._withoutSlash$2(value, this.restNodeForSpan);
  80197. },
  80198. $signature: 41
  80199. };
  80200. A._EvaluateVisitor__evaluateArguments_closure1.prototype = {
  80201. call$2(key, value) {
  80202. var _this = this,
  80203. t1 = _this.restNodeForSpan;
  80204. _this.named.$indexSet(0, key, _this.$this._withoutSlash$2(value, t1));
  80205. _this.namedNodes.$indexSet(0, key, t1);
  80206. },
  80207. $signature: 84
  80208. };
  80209. A._EvaluateVisitor__evaluateArguments_closure2.prototype = {
  80210. call$1(value) {
  80211. return value;
  80212. },
  80213. $signature: 41
  80214. };
  80215. A._EvaluateVisitor__evaluateMacroArguments_closure.prototype = {
  80216. call$1(value) {
  80217. var t1 = this.restArgs;
  80218. return new A.ValueExpression(value, t1.get$span(t1));
  80219. },
  80220. $signature: 63
  80221. };
  80222. A._EvaluateVisitor__evaluateMacroArguments_closure0.prototype = {
  80223. call$1(value) {
  80224. var t1 = this.restArgs;
  80225. return new A.ValueExpression(this.$this._withoutSlash$2(value, this.restNodeForSpan), t1.get$span(t1));
  80226. },
  80227. $signature: 63
  80228. };
  80229. A._EvaluateVisitor__evaluateMacroArguments_closure1.prototype = {
  80230. call$2(key, value) {
  80231. var _this = this,
  80232. t1 = _this.restArgs;
  80233. _this.named.$indexSet(0, key, new A.ValueExpression(_this.$this._withoutSlash$2(value, _this.restNodeForSpan), t1.get$span(t1)));
  80234. },
  80235. $signature: 84
  80236. };
  80237. A._EvaluateVisitor__evaluateMacroArguments_closure2.prototype = {
  80238. call$1(value) {
  80239. var t1 = this.keywordRestArgs;
  80240. return new A.ValueExpression(this.$this._withoutSlash$2(value, this.keywordRestNodeForSpan), t1.get$span(t1));
  80241. },
  80242. $signature: 63
  80243. };
  80244. A._EvaluateVisitor__addRestMap_closure.prototype = {
  80245. call$2(key, value) {
  80246. var t2, _this = this,
  80247. t1 = _this.$this;
  80248. if (key instanceof A.SassString)
  80249. _this.values.$indexSet(0, key._string$_text, _this.convert.call$1(t1._withoutSlash$2(value, _this.expressionNode)));
  80250. else {
  80251. t2 = _this.nodeWithSpan;
  80252. 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)));
  80253. }
  80254. },
  80255. $signature: 95
  80256. };
  80257. A._EvaluateVisitor__verifyArguments_closure.prototype = {
  80258. call$0() {
  80259. return this.parameters.verify$2(this.positional, new A.MapKeySet(this.named, type$.MapKeySet_String));
  80260. },
  80261. $signature: 0
  80262. };
  80263. A._EvaluateVisitor_visitCssAtRule_closure.prototype = {
  80264. call$0() {
  80265. var t1, t2, t3, t4;
  80266. 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();) {
  80267. t4 = t1.__internal$_current;
  80268. (t4 == null ? t2._as(t4) : t4).accept$1(t3);
  80269. }
  80270. },
  80271. $signature: 1
  80272. };
  80273. A._EvaluateVisitor_visitCssAtRule_closure0.prototype = {
  80274. call$1(node) {
  80275. return node instanceof A.ModifiableCssStyleRule;
  80276. },
  80277. $signature: 7
  80278. };
  80279. A._EvaluateVisitor_visitCssKeyframeBlock_closure.prototype = {
  80280. call$0() {
  80281. var t1, t2, t3, t4;
  80282. 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();) {
  80283. t4 = t1.__internal$_current;
  80284. (t4 == null ? t2._as(t4) : t4).accept$1(t3);
  80285. }
  80286. },
  80287. $signature: 1
  80288. };
  80289. A._EvaluateVisitor_visitCssKeyframeBlock_closure0.prototype = {
  80290. call$1(node) {
  80291. return node instanceof A.ModifiableCssStyleRule;
  80292. },
  80293. $signature: 7
  80294. };
  80295. A._EvaluateVisitor_visitCssMediaRule_closure.prototype = {
  80296. call$1(mediaQueries) {
  80297. return this.$this._mergeMediaQueries$2(mediaQueries, this.node.queries);
  80298. },
  80299. $signature: 101
  80300. };
  80301. A._EvaluateVisitor_visitCssMediaRule_closure0.prototype = {
  80302. call$0() {
  80303. var _this = this,
  80304. t1 = _this.$this,
  80305. t2 = _this.mergedQueries;
  80306. if (t2 == null)
  80307. t2 = _this.node.queries;
  80308. t1._withMediaQueries$3(t2, _this.mergedSources, new A._EvaluateVisitor_visitCssMediaRule__closure(t1, _this.node));
  80309. },
  80310. $signature: 1
  80311. };
  80312. A._EvaluateVisitor_visitCssMediaRule__closure.prototype = {
  80313. call$0() {
  80314. var t2, t3, t4,
  80315. t1 = this.$this,
  80316. _0_0 = t1._atRootExcludingStyleRule ? null : t1._styleRuleIgnoringAtRoot;
  80317. if (_0_0 != null)
  80318. 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);
  80319. else
  80320. 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();) {
  80321. t4 = t2.__internal$_current;
  80322. (t4 == null ? t3._as(t4) : t4).accept$1(t1);
  80323. }
  80324. },
  80325. $signature: 1
  80326. };
  80327. A._EvaluateVisitor_visitCssMediaRule___closure.prototype = {
  80328. call$0() {
  80329. var t1, t2, t3, t4;
  80330. 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();) {
  80331. t4 = t1.__internal$_current;
  80332. (t4 == null ? t2._as(t4) : t4).accept$1(t3);
  80333. }
  80334. },
  80335. $signature: 1
  80336. };
  80337. A._EvaluateVisitor_visitCssMediaRule_closure1.prototype = {
  80338. call$1(node) {
  80339. var t1;
  80340. if (!(node instanceof A.ModifiableCssStyleRule)) {
  80341. t1 = this.mergedSources;
  80342. t1 = t1.get$isNotEmpty(t1) && node instanceof A.ModifiableCssMediaRule && B.JSArray_methods.every$1(node.queries, t1.get$contains(t1));
  80343. } else
  80344. t1 = true;
  80345. return t1;
  80346. },
  80347. $signature: 7
  80348. };
  80349. A._EvaluateVisitor_visitCssStyleRule_closure0.prototype = {
  80350. call$0() {
  80351. var t1 = this.$this;
  80352. t1._withStyleRule$2(this.rule, new A._EvaluateVisitor_visitCssStyleRule__closure(t1, this.node));
  80353. },
  80354. $signature: 1
  80355. };
  80356. A._EvaluateVisitor_visitCssStyleRule__closure.prototype = {
  80357. call$0() {
  80358. var t1, t2, t3, t4;
  80359. 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();) {
  80360. t4 = t1.__internal$_current;
  80361. (t4 == null ? t2._as(t4) : t4).accept$1(t3);
  80362. }
  80363. },
  80364. $signature: 1
  80365. };
  80366. A._EvaluateVisitor_visitCssStyleRule_closure.prototype = {
  80367. call$1(node) {
  80368. return node instanceof A.ModifiableCssStyleRule;
  80369. },
  80370. $signature: 7
  80371. };
  80372. A._EvaluateVisitor_visitCssSupportsRule_closure.prototype = {
  80373. call$0() {
  80374. var t2, t3, t4,
  80375. t1 = this.$this,
  80376. _0_0 = t1._atRootExcludingStyleRule ? null : t1._styleRuleIgnoringAtRoot;
  80377. if (_0_0 != null)
  80378. 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);
  80379. else
  80380. 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();) {
  80381. t4 = t2.__internal$_current;
  80382. (t4 == null ? t3._as(t4) : t4).accept$1(t1);
  80383. }
  80384. },
  80385. $signature: 1
  80386. };
  80387. A._EvaluateVisitor_visitCssSupportsRule__closure.prototype = {
  80388. call$0() {
  80389. var t1, t2, t3, t4;
  80390. 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();) {
  80391. t4 = t1.__internal$_current;
  80392. (t4 == null ? t2._as(t4) : t4).accept$1(t3);
  80393. }
  80394. },
  80395. $signature: 1
  80396. };
  80397. A._EvaluateVisitor_visitCssSupportsRule_closure0.prototype = {
  80398. call$1(node) {
  80399. return node instanceof A.ModifiableCssStyleRule;
  80400. },
  80401. $signature: 7
  80402. };
  80403. A._EvaluateVisitor__performInterpolationHelper_closure.prototype = {
  80404. call$1(targetLocations) {
  80405. return A.InterpolationMap$(this.interpolation, targetLocations);
  80406. },
  80407. $signature: 184
  80408. };
  80409. A._EvaluateVisitor__serialize_closure.prototype = {
  80410. call$0() {
  80411. return A.serializeValue(this.value, false, this.quote);
  80412. },
  80413. $signature: 27
  80414. };
  80415. A._EvaluateVisitor__expressionNode_closure.prototype = {
  80416. call$0() {
  80417. var t1 = this.expression;
  80418. return this.$this._environment.getVariableNode$2$namespace(t1.name, t1.namespace);
  80419. },
  80420. $signature: 142
  80421. };
  80422. A._EvaluateVisitor__withoutSlash_recommendation.prototype = {
  80423. call$1(number) {
  80424. var before, after, t1,
  80425. _1_0 = number.asSlash;
  80426. $label0$0: {
  80427. if (type$.Record_2_nullable_Object_and_nullable_Object._is(_1_0)) {
  80428. before = _1_0._0;
  80429. after = _1_0._1;
  80430. t1 = "math.div(" + A.S(this.call$1(before)) + ", " + A.S(this.call$1(after)) + ")";
  80431. break $label0$0;
  80432. }
  80433. t1 = A.serializeValue(number, true, true);
  80434. break $label0$0;
  80435. }
  80436. return t1;
  80437. },
  80438. $signature: 186
  80439. };
  80440. A._EvaluateVisitor__stackFrame_closure.prototype = {
  80441. call$1(url) {
  80442. var t1 = this.$this._evaluate$_importCache;
  80443. t1 = t1 == null ? null : t1.humanize$1(url);
  80444. return t1 == null ? url : t1;
  80445. },
  80446. $signature: 48
  80447. };
  80448. A._ImportedCssVisitor.prototype = {
  80449. visitCssAtRule$1(node) {
  80450. var t1 = node.isChildless ? null : new A._ImportedCssVisitor_visitCssAtRule_closure();
  80451. this._visitor._addChild$2$through(node, t1);
  80452. },
  80453. visitCssComment$1(node) {
  80454. return this._visitor._addChild$1(node);
  80455. },
  80456. visitCssDeclaration$1(node) {
  80457. },
  80458. visitCssImport$1(node) {
  80459. var t2,
  80460. _s13_ = "_endOfImports",
  80461. t1 = this._visitor;
  80462. if (t1._assertInModule$2(t1.__parent, "__parent") !== t1._assertInModule$2(t1.__root, "_root"))
  80463. t1._addChild$1(node);
  80464. else if (t1._assertInModule$2(t1.__endOfImports, _s13_) === J.get$length$asx(t1._assertInModule$2(t1.__root, "_root").children._collection$_source)) {
  80465. t1._addChild$1(node);
  80466. t1.__endOfImports = t1._assertInModule$2(t1.__endOfImports, _s13_) + 1;
  80467. } else {
  80468. t2 = t1._outOfOrderImports;
  80469. (t2 == null ? t1._outOfOrderImports = A._setArrayType([], type$.JSArray_ModifiableCssImport) : t2).push(node);
  80470. }
  80471. },
  80472. visitCssKeyframeBlock$1(node) {
  80473. },
  80474. visitCssMediaRule$1(node) {
  80475. var t1 = this._visitor,
  80476. mediaQueries = t1._mediaQueries;
  80477. t1._addChild$2$through(node, new A._ImportedCssVisitor_visitCssMediaRule_closure(mediaQueries == null || t1._mergeMediaQueries$2(mediaQueries, node.queries) != null));
  80478. },
  80479. visitCssStyleRule$1(node) {
  80480. return this._visitor._addChild$2$through(node, new A._ImportedCssVisitor_visitCssStyleRule_closure());
  80481. },
  80482. visitCssStylesheet$1(node) {
  80483. var t1, t2, t3;
  80484. 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();) {
  80485. t3 = t1.__internal$_current;
  80486. (t3 == null ? t2._as(t3) : t3).accept$1(this);
  80487. }
  80488. },
  80489. visitCssSupportsRule$1(node) {
  80490. return this._visitor._addChild$2$through(node, new A._ImportedCssVisitor_visitCssSupportsRule_closure());
  80491. }
  80492. };
  80493. A._ImportedCssVisitor_visitCssAtRule_closure.prototype = {
  80494. call$1(node) {
  80495. return node instanceof A.ModifiableCssStyleRule;
  80496. },
  80497. $signature: 7
  80498. };
  80499. A._ImportedCssVisitor_visitCssMediaRule_closure.prototype = {
  80500. call$1(node) {
  80501. var t1;
  80502. if (!(node instanceof A.ModifiableCssStyleRule))
  80503. t1 = this.hasBeenMerged && node instanceof A.ModifiableCssMediaRule;
  80504. else
  80505. t1 = true;
  80506. return t1;
  80507. },
  80508. $signature: 7
  80509. };
  80510. A._ImportedCssVisitor_visitCssStyleRule_closure.prototype = {
  80511. call$1(node) {
  80512. return node instanceof A.ModifiableCssStyleRule;
  80513. },
  80514. $signature: 7
  80515. };
  80516. A._ImportedCssVisitor_visitCssSupportsRule_closure.prototype = {
  80517. call$1(node) {
  80518. return node instanceof A.ModifiableCssStyleRule;
  80519. },
  80520. $signature: 7
  80521. };
  80522. A._EvaluationContext.prototype = {
  80523. get$currentCallableSpan() {
  80524. var _0_0 = this._visitor._callableNode;
  80525. if (_0_0 != null)
  80526. return _0_0.get$span(_0_0);
  80527. throw A.wrapException(A.StateError$(string$.No_Sasc));
  80528. },
  80529. warn$2(_, message, deprecation) {
  80530. var t1 = this._visitor,
  80531. t2 = t1._importSpan;
  80532. if (t2 == null) {
  80533. t2 = t1._callableNode;
  80534. t2 = t2 == null ? null : t2.get$span(t2);
  80535. }
  80536. if (t2 == null) {
  80537. t2 = this._defaultWarnNodeWithSpan;
  80538. t2 = t2.get$span(t2);
  80539. }
  80540. t1._warn$3(message, t2, deprecation);
  80541. },
  80542. $isEvaluationContext: 1
  80543. };
  80544. A.EveryCssVisitor.prototype = {
  80545. visitCssAtRule$1(node) {
  80546. var t1 = node.children;
  80547. return t1.every$1(t1, new A.EveryCssVisitor_visitCssAtRule_closure(this));
  80548. },
  80549. visitCssComment$1(node) {
  80550. return false;
  80551. },
  80552. visitCssDeclaration$1(node) {
  80553. return false;
  80554. },
  80555. visitCssImport$1(node) {
  80556. return false;
  80557. },
  80558. visitCssKeyframeBlock$1(node) {
  80559. var t1 = node.children;
  80560. return t1.every$1(t1, new A.EveryCssVisitor_visitCssKeyframeBlock_closure(this));
  80561. },
  80562. visitCssMediaRule$1(node) {
  80563. var t1 = node.children;
  80564. return t1.every$1(t1, new A.EveryCssVisitor_visitCssMediaRule_closure(this));
  80565. },
  80566. visitCssStyleRule$1(node) {
  80567. var t1 = node.children;
  80568. return t1.every$1(t1, new A.EveryCssVisitor_visitCssStyleRule_closure(this));
  80569. },
  80570. visitCssStylesheet$1(node) {
  80571. return J.every$1$ax(node.get$children(node), new A.EveryCssVisitor_visitCssStylesheet_closure(this));
  80572. },
  80573. visitCssSupportsRule$1(node) {
  80574. var t1 = node.children;
  80575. return t1.every$1(t1, new A.EveryCssVisitor_visitCssSupportsRule_closure(this));
  80576. }
  80577. };
  80578. A.EveryCssVisitor_visitCssAtRule_closure.prototype = {
  80579. call$1(child) {
  80580. return child.accept$1(this.$this);
  80581. },
  80582. $signature: 7
  80583. };
  80584. A.EveryCssVisitor_visitCssKeyframeBlock_closure.prototype = {
  80585. call$1(child) {
  80586. return child.accept$1(this.$this);
  80587. },
  80588. $signature: 7
  80589. };
  80590. A.EveryCssVisitor_visitCssMediaRule_closure.prototype = {
  80591. call$1(child) {
  80592. return child.accept$1(this.$this);
  80593. },
  80594. $signature: 7
  80595. };
  80596. A.EveryCssVisitor_visitCssStyleRule_closure.prototype = {
  80597. call$1(child) {
  80598. return child.accept$1(this.$this);
  80599. },
  80600. $signature: 7
  80601. };
  80602. A.EveryCssVisitor_visitCssStylesheet_closure.prototype = {
  80603. call$1(child) {
  80604. return child.accept$1(this.$this);
  80605. },
  80606. $signature: 7
  80607. };
  80608. A.EveryCssVisitor_visitCssSupportsRule_closure.prototype = {
  80609. call$1(child) {
  80610. return child.accept$1(this.$this);
  80611. },
  80612. $signature: 7
  80613. };
  80614. A._MakeExpressionCalculationSafe.prototype = {
  80615. visitBinaryOperationExpression$1(_, node) {
  80616. var t1, t2, t3, t4;
  80617. if (node.operator === B.BinaryOperator_s7T) {
  80618. t1 = A._setArrayType([node], type$.JSArray_Expression);
  80619. t2 = node.get$span(0);
  80620. t3 = type$.Expression;
  80621. t1 = A.List_List$unmodifiable(t1, t3);
  80622. t3 = A.ConstantMap_ConstantMap$from(B.Map_empty4, type$.String, t3);
  80623. t4 = node.get$span(0);
  80624. t1 = new A.FunctionExpression("math", A.stringReplaceAllUnchecked("max", "_", "-"), "max", new A.ArgumentList(t1, t3, null, null, t2), t4);
  80625. } else
  80626. t1 = this.super$ReplaceExpressionVisitor$visitBinaryOperationExpression(0, node);
  80627. return t1;
  80628. },
  80629. visitInterpolatedFunctionExpression$1(_, node) {
  80630. return node;
  80631. },
  80632. visitUnaryOperationExpression$1(_, node) {
  80633. var t1,
  80634. _0_0 = node.operator;
  80635. $label0$0: {
  80636. if (B.UnaryOperator_Rbl === _0_0) {
  80637. t1 = node.operand;
  80638. break $label0$0;
  80639. }
  80640. if (B.UnaryOperator_UCP === _0_0) {
  80641. t1 = new A.BinaryOperationExpression(B.BinaryOperator_tht, new A.NumberExpression(-1, null, node.span), node.operand, false);
  80642. break $label0$0;
  80643. }
  80644. t1 = this.super$ReplaceExpressionVisitor$visitUnaryOperationExpression(0, node);
  80645. break $label0$0;
  80646. }
  80647. return t1;
  80648. }
  80649. };
  80650. A.__MakeExpressionCalculationSafe_Object_ReplaceExpressionVisitor.prototype = {};
  80651. A._FindDependenciesVisitor.prototype = {
  80652. visitEachRule$1(_, node) {
  80653. },
  80654. visitForRule$1(_, node) {
  80655. },
  80656. visitIfRule$1(_, node) {
  80657. },
  80658. visitWhileRule$1(_, node) {
  80659. },
  80660. visitUseRule$1(_, node) {
  80661. var t1 = node.url;
  80662. if (t1.get$scheme() !== "sass")
  80663. this._find_dependencies$_uses.add$1(0, t1);
  80664. else if (t1.toString$0(0) === "sass:meta")
  80665. this._metaNamespaces.add$1(0, node.namespace);
  80666. },
  80667. visitForwardRule$1(_, node) {
  80668. var t1 = node.url;
  80669. if (t1.get$scheme() !== "sass")
  80670. this._find_dependencies$_forwards.add$1(0, t1);
  80671. },
  80672. visitImportRule$1(_, node) {
  80673. var t1, t2, t3, _i, $import;
  80674. for (t1 = node.imports, t2 = t1.length, t3 = this._imports, _i = 0; _i < t2; ++_i) {
  80675. $import = t1[_i];
  80676. if ($import instanceof A.DynamicImport)
  80677. t3.add$1(0, A.Uri_parse($import.urlString));
  80678. }
  80679. },
  80680. visitIncludeRule$1(_, node) {
  80681. var url, _0_0, _0_4_isSet, _0_7, t1, _0_4, _0_7_isSet, url0, exception;
  80682. if (node.name !== "load-css")
  80683. return;
  80684. if (!this._metaNamespaces.contains$1(0, node.namespace))
  80685. return;
  80686. _0_0 = node.$arguments.positional;
  80687. url = null;
  80688. _0_4_isSet = _0_0.length === 1;
  80689. _0_7 = null;
  80690. t1 = false;
  80691. if (_0_4_isSet) {
  80692. _0_4 = _0_0[0];
  80693. _0_7_isSet = _0_4 instanceof A.StringExpression;
  80694. if (_0_7_isSet) {
  80695. type$.StringExpression._as(_0_4);
  80696. _0_7 = _0_4.text.get$asPlain();
  80697. t1 = _0_7;
  80698. t1 = t1 != null;
  80699. }
  80700. } else {
  80701. _0_4 = null;
  80702. _0_7_isSet = false;
  80703. }
  80704. if (t1) {
  80705. if (_0_7_isSet)
  80706. url0 = _0_7;
  80707. else {
  80708. t1 = _0_4_isSet ? _0_4 : _0_0[0];
  80709. _0_7 = type$.StringExpression._as(t1).text.get$asPlain();
  80710. url0 = _0_7;
  80711. }
  80712. url = url0 == null ? A._asString(url0) : url0;
  80713. try {
  80714. this._metaLoadCss.add$1(0, A.Uri_parse(url));
  80715. } catch (exception) {
  80716. if (!type$.FormatException._is(A.unwrapException(exception)))
  80717. throw exception;
  80718. }
  80719. }
  80720. }
  80721. };
  80722. A.DependencyReport.prototype = {};
  80723. A.__FindDependenciesVisitor_Object_RecursiveStatementVisitor.prototype = {};
  80724. A.IsCalculationSafeVisitor.prototype = {
  80725. visitBinaryOperationExpression$1(_, node) {
  80726. return B.Set_oQTdo.contains$1(0, node.operator) && node.left.accept$1(this) && node.right.accept$1(this);
  80727. },
  80728. visitBooleanExpression$1(_, node) {
  80729. return false;
  80730. },
  80731. visitColorExpression$1(_, node) {
  80732. return false;
  80733. },
  80734. visitFunctionExpression$1(_, node) {
  80735. return true;
  80736. },
  80737. visitInterpolatedFunctionExpression$1(_, node) {
  80738. return true;
  80739. },
  80740. visitIfExpression$1(_, node) {
  80741. return true;
  80742. },
  80743. visitListExpression$1(_, node) {
  80744. var t1 = false;
  80745. if (node.separator === B.ListSeparator_qSL)
  80746. if (!node.hasBrackets) {
  80747. t1 = node.contents;
  80748. t1 = t1.length > 1 && B.JSArray_methods.every$1(t1, new A.IsCalculationSafeVisitor_visitListExpression_closure(this));
  80749. }
  80750. return t1;
  80751. },
  80752. visitMapExpression$1(_, node) {
  80753. return false;
  80754. },
  80755. visitNullExpression$1(_, node) {
  80756. return false;
  80757. },
  80758. visitNumberExpression$1(_, node) {
  80759. return true;
  80760. },
  80761. visitParenthesizedExpression$1(_, node) {
  80762. return node.expression.accept$1(this);
  80763. },
  80764. visitSelectorExpression$1(_, node) {
  80765. return false;
  80766. },
  80767. visitStringExpression$1(_, node) {
  80768. var text, t1, t2;
  80769. if (node.hasQuotes)
  80770. return false;
  80771. text = node.text.get$initialPlain();
  80772. t1 = false;
  80773. if (!B.JSString_methods.startsWith$1(text, "!"))
  80774. if (!B.JSString_methods.startsWith$1(text, "#")) {
  80775. t2 = text.length;
  80776. if ((1 >= t2 ? null : text.charCodeAt(1)) !== 43)
  80777. t1 = (3 >= t2 ? null : text.charCodeAt(3)) !== 40;
  80778. }
  80779. return t1;
  80780. },
  80781. visitSupportsExpression$1(_, node) {
  80782. return false;
  80783. },
  80784. visitUnaryOperationExpression$1(_, node) {
  80785. return false;
  80786. },
  80787. visitValueExpression$1(_, node) {
  80788. return false;
  80789. },
  80790. visitVariableExpression$1(_, node) {
  80791. return true;
  80792. }
  80793. };
  80794. A.IsCalculationSafeVisitor_visitListExpression_closure.prototype = {
  80795. call$1(expression) {
  80796. return expression.accept$1(this.$this);
  80797. },
  80798. $signature: 121
  80799. };
  80800. A.RecursiveStatementVisitor.prototype = {
  80801. visitAtRootRule$1(_, node) {
  80802. this.visitChildren$1(node.children);
  80803. },
  80804. visitAtRule$1(_, node) {
  80805. return A.NullableExtension_andThen(node.children, this.get$visitChildren());
  80806. },
  80807. visitContentBlock$1(_, node) {
  80808. return null;
  80809. },
  80810. visitContentRule$1(_, node) {
  80811. },
  80812. visitDebugRule$1(_, node) {
  80813. },
  80814. visitDeclaration$1(_, node) {
  80815. return A.NullableExtension_andThen(node.children, this.get$visitChildren());
  80816. },
  80817. visitEachRule$1(_, node) {
  80818. return this.visitChildren$1(node.children);
  80819. },
  80820. visitErrorRule$1(_, node) {
  80821. },
  80822. visitExtendRule$1(_, node) {
  80823. },
  80824. visitForRule$1(_, node) {
  80825. return this.visitChildren$1(node.children);
  80826. },
  80827. visitForwardRule$1(_, node) {
  80828. },
  80829. visitFunctionRule$1(_, node) {
  80830. return null;
  80831. },
  80832. visitIfRule$1(_, node) {
  80833. var t1, t2, _i, t3, t4, _i0, _0_0;
  80834. for (t1 = node.clauses, t2 = t1.length, _i = 0; _i < t2; ++_i)
  80835. for (t3 = t1[_i].children, t4 = t3.length, _i0 = 0; _i0 < t4; ++_i0)
  80836. t3[_i0].accept$1(this);
  80837. _0_0 = node.lastClause;
  80838. if (_0_0 != null)
  80839. for (t1 = _0_0.children, t2 = t1.length, _i = 0; _i < t2; ++_i)
  80840. t1[_i].accept$1(this);
  80841. },
  80842. visitImportRule$1(_, node) {
  80843. },
  80844. visitIncludeRule$1(_, node) {
  80845. return A.NullableExtension_andThen(node.content, this.get$visitContentBlock(this));
  80846. },
  80847. visitLoudComment$1(_, node) {
  80848. },
  80849. visitMediaRule$1(_, node) {
  80850. return this.visitChildren$1(node.children);
  80851. },
  80852. visitMixinRule$1(_, node) {
  80853. return null;
  80854. },
  80855. visitReturnRule$1(_, node) {
  80856. },
  80857. visitSilentComment$1(_, node) {
  80858. },
  80859. visitStyleRule$1(_, node) {
  80860. return this.visitChildren$1(node.children);
  80861. },
  80862. visitStylesheet$1(_, node) {
  80863. return this.visitChildren$1(node.children);
  80864. },
  80865. visitSupportsRule$1(_, node) {
  80866. return this.visitChildren$1(node.children);
  80867. },
  80868. visitUseRule$1(_, node) {
  80869. },
  80870. visitVariableDeclaration$1(_, node) {
  80871. },
  80872. visitWarnRule$1(_, node) {
  80873. },
  80874. visitWhileRule$1(_, node) {
  80875. return this.visitChildren$1(node.children);
  80876. },
  80877. visitChildren$1(children) {
  80878. var t1;
  80879. for (t1 = J.get$iterator$ax(children); t1.moveNext$0();)
  80880. t1.get$current(t1).accept$1(this);
  80881. }
  80882. };
  80883. A.ReplaceExpressionVisitor.prototype = {
  80884. visitBinaryOperationExpression$1(_, node) {
  80885. return new A.BinaryOperationExpression(node.operator, node.left.accept$1(this), node.right.accept$1(this), false);
  80886. },
  80887. visitBooleanExpression$1(_, node) {
  80888. return node;
  80889. },
  80890. visitColorExpression$1(_, node) {
  80891. return node;
  80892. },
  80893. visitFunctionExpression$1(_, node) {
  80894. var t1 = node.originalName,
  80895. t2 = this.visitArgumentList$1(node.$arguments);
  80896. return new A.FunctionExpression(node.namespace, A.stringReplaceAllUnchecked(t1, "_", "-"), t1, t2, node.span);
  80897. },
  80898. visitInterpolatedFunctionExpression$1(_, node) {
  80899. return new A.InterpolatedFunctionExpression(this.visitInterpolation$1(node.name), this.visitArgumentList$1(node.$arguments), node.span);
  80900. },
  80901. visitIfExpression$1(_, node) {
  80902. return new A.IfExpression(this.visitArgumentList$1(node.$arguments), node.span);
  80903. },
  80904. visitListExpression$1(_, node) {
  80905. var t1 = node.contents;
  80906. 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);
  80907. },
  80908. visitMapExpression$1(_, node) {
  80909. var t2, t3, _i, t4,
  80910. t1 = A._setArrayType([], type$.JSArray_Record_2_Expression_and_Expression);
  80911. for (t2 = node.pairs, t3 = t2.length, _i = 0; _i < t3; ++_i) {
  80912. t4 = t2[_i];
  80913. t1.push(new A._Record_2(t4._0.accept$1(this), t4._1.accept$1(this)));
  80914. }
  80915. return new A.MapExpression(A.List_List$unmodifiable(t1, type$.Record_2_Expression_and_Expression), node.span);
  80916. },
  80917. visitNullExpression$1(_, node) {
  80918. return node;
  80919. },
  80920. visitNumberExpression$1(_, node) {
  80921. return node;
  80922. },
  80923. visitParenthesizedExpression$1(_, node) {
  80924. return new A.ParenthesizedExpression(node.expression.accept$1(this), node.span);
  80925. },
  80926. visitSelectorExpression$1(_, node) {
  80927. return node;
  80928. },
  80929. visitStringExpression$1(_, node) {
  80930. return new A.StringExpression(this.visitInterpolation$1(node.text), node.hasQuotes);
  80931. },
  80932. visitSupportsExpression$1(_, node) {
  80933. return new A.SupportsExpression(this.visitSupportsCondition$1(node.condition));
  80934. },
  80935. visitUnaryOperationExpression$1(_, node) {
  80936. return new A.UnaryOperationExpression(node.operator, node.operand.accept$1(this), node.span);
  80937. },
  80938. visitValueExpression$1(_, node) {
  80939. return node;
  80940. },
  80941. visitVariableExpression$1(_, node) {
  80942. return node;
  80943. },
  80944. visitArgumentList$1(invocation) {
  80945. var t5, t6, _this = this,
  80946. t1 = invocation.positional,
  80947. t2 = type$.String,
  80948. t3 = type$.Expression,
  80949. t4 = A.LinkedHashMap_LinkedHashMap$_empty(t2, t3);
  80950. for (t5 = A.MapExtensions_get_pairs(invocation.named, t2, t3), t5 = t5.get$iterator(t5); t5.moveNext$0();) {
  80951. t6 = t5.get$current(t5);
  80952. t4.$indexSet(0, t6._0, t6._1.accept$1(_this));
  80953. }
  80954. t5 = invocation.rest;
  80955. t5 = t5 == null ? null : t5.accept$1(_this);
  80956. t6 = invocation.keywordRest;
  80957. t6 = t6 == null ? null : t6.accept$1(_this);
  80958. 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);
  80959. },
  80960. visitSupportsCondition$1(condition) {
  80961. var _this = this;
  80962. if (condition instanceof A.SupportsOperation)
  80963. return A.SupportsOperation$(_this.visitSupportsCondition$1(condition.left), _this.visitSupportsCondition$1(condition.right), condition.operator, condition.span);
  80964. else if (condition instanceof A.SupportsNegation)
  80965. return new A.SupportsNegation(_this.visitSupportsCondition$1(condition.condition), condition.span);
  80966. else if (condition instanceof A.SupportsInterpolation)
  80967. return new A.SupportsInterpolation(condition.expression.accept$1(_this), condition.span);
  80968. else if (condition instanceof A.SupportsDeclaration)
  80969. return new A.SupportsDeclaration(condition.name.accept$1(_this), condition.value.accept$1(_this), condition.span);
  80970. else
  80971. throw A.wrapException(A.SassException$("BUG: Unknown SupportsCondition " + condition.toString$0(0) + ".", condition.get$span(condition), null));
  80972. },
  80973. visitInterpolation$1(interpolation) {
  80974. var t1 = interpolation.contents;
  80975. 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);
  80976. }
  80977. };
  80978. A.ReplaceExpressionVisitor_visitListExpression_closure.prototype = {
  80979. call$1(item) {
  80980. return item.accept$1(this.$this);
  80981. },
  80982. $signature: 190
  80983. };
  80984. A.ReplaceExpressionVisitor_visitArgumentList_closure.prototype = {
  80985. call$1(expression) {
  80986. return expression.accept$1(this.$this);
  80987. },
  80988. $signature: 190
  80989. };
  80990. A.ReplaceExpressionVisitor_visitInterpolation_closure.prototype = {
  80991. call$1(node) {
  80992. return node instanceof A.Expression ? node.accept$1(this.$this) : node;
  80993. },
  80994. $signature: 78
  80995. };
  80996. A.SelectorSearchVisitor.prototype = {
  80997. visitAttributeSelector$1(attribute) {
  80998. return null;
  80999. },
  81000. visitClassSelector$1(klass) {
  81001. return null;
  81002. },
  81003. visitIDSelector$1(id) {
  81004. return null;
  81005. },
  81006. visitParentSelector$1(placeholder) {
  81007. return null;
  81008. },
  81009. visitPlaceholderSelector$1(placeholder) {
  81010. return null;
  81011. },
  81012. visitTypeSelector$1(type) {
  81013. return null;
  81014. },
  81015. visitUniversalSelector$1(universal) {
  81016. return null;
  81017. },
  81018. visitComplexSelector$1(complex) {
  81019. return A.IterableExtension_search(complex.components, new A.SelectorSearchVisitor_visitComplexSelector_closure(this));
  81020. },
  81021. visitCompoundSelector$1(compound) {
  81022. return A.IterableExtension_search(compound.components, new A.SelectorSearchVisitor_visitCompoundSelector_closure(this));
  81023. },
  81024. visitPseudoSelector$1(pseudo) {
  81025. return A.NullableExtension_andThen(pseudo.selector, this.get$visitSelectorList());
  81026. },
  81027. visitSelectorList$1(list) {
  81028. return A.IterableExtension_search(list.components, this.get$visitComplexSelector());
  81029. }
  81030. };
  81031. A.SelectorSearchVisitor_visitComplexSelector_closure.prototype = {
  81032. call$1(component) {
  81033. return this.$this.visitCompoundSelector$1(component.selector);
  81034. },
  81035. $signature() {
  81036. return A._instanceType(this.$this)._eval$1("SelectorSearchVisitor.T?(ComplexSelectorComponent)");
  81037. }
  81038. };
  81039. A.SelectorSearchVisitor_visitCompoundSelector_closure.prototype = {
  81040. call$1(simple) {
  81041. return simple.accept$1(this.$this);
  81042. },
  81043. $signature() {
  81044. return A._instanceType(this.$this)._eval$1("SelectorSearchVisitor.T?(SimpleSelector)");
  81045. }
  81046. };
  81047. A.serialize_closure.prototype = {
  81048. call$1(codeUnit) {
  81049. return codeUnit > 127;
  81050. },
  81051. $signature: 47
  81052. };
  81053. A._SerializeVisitor.prototype = {
  81054. visitCssStylesheet$1(node) {
  81055. var t1, t2, t3, t4, t5, t6, previous, previous0, t7, _this = this;
  81056. 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();) {
  81057. previous0 = t1.get$current(t1);
  81058. if (t2)
  81059. t7 = t3 ? previous0.accept$1(B._IsInvisibleVisitor_true_true) : previous0.accept$1(B._IsInvisibleVisitor_true_false);
  81060. else
  81061. t7 = false;
  81062. if (t7)
  81063. continue;
  81064. if (previous != null) {
  81065. if (t5._is(previous) ? previous.get$isChildless() : !(previous instanceof A.ModifiableCssComment))
  81066. t6.writeCharCode$1(59);
  81067. if (_this._isTrailingComment$2(previous0, previous)) {
  81068. if (t4)
  81069. t6.writeCharCode$1(32);
  81070. } else {
  81071. if (t4)
  81072. t6.write$1(0, "\n");
  81073. if (previous.get$isGroupEnd())
  81074. if (t4)
  81075. t6.write$1(0, "\n");
  81076. }
  81077. }
  81078. previous0.accept$1(_this);
  81079. previous = previous0;
  81080. }
  81081. if (previous != null)
  81082. t1 = (t5._is(previous) ? previous.get$isChildless() : !(previous instanceof A.ModifiableCssComment)) && t4;
  81083. else
  81084. t1 = false;
  81085. if (t1)
  81086. t6.writeCharCode$1(59);
  81087. },
  81088. visitCssComment$1(node) {
  81089. this._serialize$_buffer.forSpan$2(node.span, new A._SerializeVisitor_visitCssComment_closure(this, node));
  81090. },
  81091. visitCssAtRule$1(node) {
  81092. var t1, _this = this;
  81093. _this._writeIndentation$0();
  81094. t1 = _this._serialize$_buffer;
  81095. t1.forSpan$2(node.span, new A._SerializeVisitor_visitCssAtRule_closure(_this, node));
  81096. if (!node.isChildless) {
  81097. if (_this._style !== B.OutputStyle_1)
  81098. t1.writeCharCode$1(32);
  81099. _this._serialize$_visitChildren$1(node);
  81100. }
  81101. },
  81102. visitCssMediaRule$1(node) {
  81103. var t1, _this = this;
  81104. _this._writeIndentation$0();
  81105. t1 = _this._serialize$_buffer;
  81106. t1.forSpan$2(node.span, new A._SerializeVisitor_visitCssMediaRule_closure(_this, node));
  81107. if (_this._style !== B.OutputStyle_1)
  81108. t1.writeCharCode$1(32);
  81109. _this._serialize$_visitChildren$1(node);
  81110. },
  81111. visitCssImport$1(node) {
  81112. this._writeIndentation$0();
  81113. this._serialize$_buffer.forSpan$2(node.span, new A._SerializeVisitor_visitCssImport_closure(this, node));
  81114. },
  81115. _writeImportUrl$1(url) {
  81116. var urlContents, maybeQuote, _this = this;
  81117. if (_this._style !== B.OutputStyle_1 || url.charCodeAt(0) !== 117) {
  81118. _this._serialize$_buffer.write$1(0, url);
  81119. return;
  81120. }
  81121. urlContents = B.JSString_methods.substring$2(url, 4, url.length - 1);
  81122. maybeQuote = urlContents.charCodeAt(0);
  81123. if (maybeQuote === 39 || maybeQuote === 34)
  81124. _this._serialize$_buffer.write$1(0, urlContents);
  81125. else
  81126. _this._visitQuotedString$1(urlContents);
  81127. },
  81128. visitCssKeyframeBlock$1(node) {
  81129. var t1, _this = this;
  81130. _this._writeIndentation$0();
  81131. t1 = _this._serialize$_buffer;
  81132. t1.forSpan$2(node.selector.span, new A._SerializeVisitor_visitCssKeyframeBlock_closure(_this, node));
  81133. if (_this._style !== B.OutputStyle_1)
  81134. t1.writeCharCode$1(32);
  81135. _this._serialize$_visitChildren$1(node);
  81136. },
  81137. _visitMediaQuery$1(query) {
  81138. var t1, _1_0, _2_0, condition, operator, t2, _this = this,
  81139. _0_0 = query.modifier;
  81140. if (_0_0 != null) {
  81141. t1 = _this._serialize$_buffer;
  81142. t1.write$1(0, _0_0);
  81143. t1.writeCharCode$1(32);
  81144. }
  81145. _1_0 = query.type;
  81146. if (_1_0 != null) {
  81147. t1 = _this._serialize$_buffer;
  81148. t1.write$1(0, _1_0);
  81149. if (query.conditions.length !== 0)
  81150. t1.write$1(0, " and ");
  81151. }
  81152. _2_0 = query.conditions;
  81153. if (_2_0.length === 1)
  81154. t1 = B.JSString_methods.startsWith$1(_2_0[0], "(not ");
  81155. else
  81156. t1 = false;
  81157. if (t1) {
  81158. t1 = _this._serialize$_buffer;
  81159. t1.write$1(0, "not ");
  81160. condition = B.JSArray_methods.get$first(_2_0);
  81161. t1.write$1(0, B.JSString_methods.substring$2(condition, 5, condition.length - 1));
  81162. } else {
  81163. operator = query.conjunction ? "and" : "or";
  81164. t1 = _this._style === B.OutputStyle_1 ? operator + " " : " " + operator + " ";
  81165. t2 = _this._serialize$_buffer;
  81166. _this._writeBetween$3(_2_0, t1, t2.get$write(t2));
  81167. }
  81168. },
  81169. visitCssStyleRule$1(node) {
  81170. var t1, _this = this;
  81171. _this._writeIndentation$0();
  81172. t1 = _this._serialize$_buffer;
  81173. t1.forSpan$2(node._style_rule$_selector._box$_inner.value.span, new A._SerializeVisitor_visitCssStyleRule_closure(_this, node));
  81174. if (_this._style !== B.OutputStyle_1)
  81175. t1.writeCharCode$1(32);
  81176. _this._serialize$_visitChildren$1(node);
  81177. },
  81178. visitCssSupportsRule$1(node) {
  81179. var t1, _this = this;
  81180. _this._writeIndentation$0();
  81181. t1 = _this._serialize$_buffer;
  81182. t1.forSpan$2(node.span, new A._SerializeVisitor_visitCssSupportsRule_closure(_this, node));
  81183. if (_this._style !== B.OutputStyle_1)
  81184. t1.writeCharCode$1(32);
  81185. _this._serialize$_visitChildren$1(node);
  81186. },
  81187. visitCssDeclaration$1(node) {
  81188. var error, stackTrace, error0, stackTrace0, t3, declSpecificities, t4, t5, t6, t7, _i, rule, ruleSpecificities, exception, _this = this,
  81189. t1 = node.interleavedRules,
  81190. t2 = t1.length;
  81191. if (t2 !== 0) {
  81192. t3 = node._parent;
  81193. t3.toString;
  81194. declSpecificities = _this._specificities$1(t3);
  81195. for (t3 = _this._serialize$_logger, t4 = node.span, t5 = type$.SourceSpan, t6 = type$.String, t7 = node.trace, _i = 0; _i < t2; ++_i) {
  81196. rule = t1[_i];
  81197. ruleSpecificities = _this._specificities$1(rule);
  81198. if (!declSpecificities.any$1(0, ruleSpecificities.get$contains(ruleSpecificities)))
  81199. continue;
  81200. 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);
  81201. }
  81202. }
  81203. _this._writeIndentation$0();
  81204. t1 = node.name;
  81205. _this._serialize$_write$1(t1);
  81206. t2 = _this._serialize$_buffer;
  81207. t2.writeCharCode$1(58);
  81208. if (J.startsWith$1$s(t1.value, "--") && node.parsedAsCustomProperty)
  81209. t2.forSpan$2(node.value.span, new A._SerializeVisitor_visitCssDeclaration_closure(_this, node));
  81210. else {
  81211. if (_this._style !== B.OutputStyle_1)
  81212. t2.writeCharCode$1(32);
  81213. try {
  81214. t2.forSpan$2(node.valueSpanForMap, new A._SerializeVisitor_visitCssDeclaration_closure0(_this, node));
  81215. } catch (exception) {
  81216. t1 = A.unwrapException(exception);
  81217. if (t1 instanceof A.MultiSpanSassScriptException) {
  81218. error = t1;
  81219. stackTrace = A.getTraceFromException(exception);
  81220. A.throwWithTrace(A.MultiSpanSassException$(error.message, node.value.span, error.primaryLabel, error.secondarySpans, null), error, stackTrace);
  81221. } else if (t1 instanceof A.SassScriptException) {
  81222. error0 = t1;
  81223. stackTrace0 = A.getTraceFromException(exception);
  81224. t1 = error0.message;
  81225. A.throwWithTrace(new A.SassException(B.Set_empty, t1, node.value.span), error0, stackTrace0);
  81226. } else
  81227. throw exception;
  81228. }
  81229. }
  81230. },
  81231. _specificities$1(node) {
  81232. var $parent, t2, t3, _i,
  81233. t1 = this.get$_specificities();
  81234. if (node instanceof A.ModifiableCssStyleRule) {
  81235. t1 = A.NullableExtension_andThen(node._parent, t1);
  81236. $parent = t1 == null ? null : A.IterableIntegerExtension_get_max(t1);
  81237. if ($parent == null)
  81238. $parent = 0;
  81239. t1 = A.LinkedHashSet_LinkedHashSet$_empty(type$.int);
  81240. for (t2 = node._style_rule$_selector._box$_inner.value.components, t3 = t2.length, _i = 0; _i < t3; ++_i)
  81241. t1.add$1(0, $parent + t2[_i].get$specificity());
  81242. return t1;
  81243. } else {
  81244. t1 = A.NullableExtension_andThen(node.get$parent(node), t1);
  81245. return t1 == null ? B.Set_WDSXk : t1;
  81246. }
  81247. },
  81248. _writeFoldedValue$1(node) {
  81249. var t1, t2, next, t3,
  81250. scanner = A.StringScanner$(type$.SassString._as(node.value.value)._string$_text, null, null);
  81251. for (t1 = scanner.string.length, t2 = this._serialize$_buffer; scanner._string_scanner$_position !== t1;) {
  81252. next = scanner.readChar$0();
  81253. if (next !== 10) {
  81254. t2.writeCharCode$1(next);
  81255. continue;
  81256. }
  81257. t2.writeCharCode$1(32);
  81258. while (true) {
  81259. t3 = scanner.peekChar$0();
  81260. if (!(t3 === 32 || t3 === 9 || t3 === 10 || t3 === 13 || t3 === 12))
  81261. break;
  81262. scanner.readChar$0();
  81263. }
  81264. }
  81265. },
  81266. _writeReindentedValue$1(node) {
  81267. var _0_0, t1, _this = this,
  81268. value = type$.SassString._as(node.value.value)._string$_text;
  81269. $label0$0: {
  81270. _0_0 = _this._minimumIndentation$1(value);
  81271. if (_0_0 == null) {
  81272. _this._serialize$_buffer.write$1(0, value);
  81273. break $label0$0;
  81274. }
  81275. if (-1 === _0_0) {
  81276. t1 = _this._serialize$_buffer;
  81277. t1.write$1(0, A.trimAsciiRight(value, true));
  81278. t1.writeCharCode$1(32);
  81279. break $label0$0;
  81280. }
  81281. t1 = node.name.span;
  81282. t1 = t1.get$start(t1);
  81283. _this._writeWithIndent$2(value, Math.min(_0_0, t1.file.getColumn$1(t1.offset)));
  81284. }
  81285. },
  81286. _minimumIndentation$1(text) {
  81287. var character, t2, min, next, min0,
  81288. scanner = A.LineScanner$(text),
  81289. t1 = scanner.string.length;
  81290. while (true) {
  81291. if (scanner._string_scanner$_position !== t1) {
  81292. character = scanner.super$StringScanner$readChar();
  81293. scanner._adjustLineAndColumn$1(character);
  81294. t2 = character !== 10;
  81295. } else
  81296. t2 = false;
  81297. if (!t2)
  81298. break;
  81299. }
  81300. if (scanner._string_scanner$_position === t1)
  81301. return scanner.peekChar$1(-1) === 10 ? -1 : null;
  81302. for (min = null; scanner._string_scanner$_position !== t1;) {
  81303. for (; scanner._string_scanner$_position !== t1;) {
  81304. next = scanner.peekChar$0();
  81305. if (next !== 32 && next !== 9)
  81306. break;
  81307. scanner._adjustLineAndColumn$1(scanner.super$StringScanner$readChar());
  81308. }
  81309. if (scanner._string_scanner$_position === t1 || scanner.scanChar$1(10))
  81310. continue;
  81311. min0 = scanner._line_scanner$_column;
  81312. min = min == null ? min0 : Math.min(min, min0);
  81313. while (true) {
  81314. if (scanner._string_scanner$_position !== t1) {
  81315. character = scanner.super$StringScanner$readChar();
  81316. scanner._adjustLineAndColumn$1(character);
  81317. t2 = character !== 10;
  81318. } else
  81319. t2 = false;
  81320. if (!t2)
  81321. break;
  81322. }
  81323. }
  81324. return min == null ? -1 : min;
  81325. },
  81326. _writeWithIndent$2(text, minimumIndentation) {
  81327. var t1, t2, t3, character, lineStart, newlines, end,
  81328. scanner = A.LineScanner$(text);
  81329. for (t1 = scanner.string, t2 = t1.length, t3 = this._serialize$_buffer; scanner._string_scanner$_position !== t2;) {
  81330. character = scanner.super$StringScanner$readChar();
  81331. scanner._adjustLineAndColumn$1(character);
  81332. if (character === 10)
  81333. break;
  81334. t3.writeCharCode$1(character);
  81335. }
  81336. for (; true;) {
  81337. lineStart = scanner._string_scanner$_position;
  81338. for (newlines = 1; true;) {
  81339. if (scanner._string_scanner$_position === t2) {
  81340. t3.writeCharCode$1(32);
  81341. return;
  81342. }
  81343. $label0$2: {
  81344. character = scanner.super$StringScanner$readChar();
  81345. scanner._adjustLineAndColumn$1(character);
  81346. if (32 === character || 9 === character)
  81347. continue;
  81348. if (10 === character) {
  81349. lineStart = scanner._string_scanner$_position;
  81350. ++newlines;
  81351. break $label0$2;
  81352. }
  81353. break;
  81354. }
  81355. }
  81356. this._writeTimes$2(10, newlines);
  81357. this._writeIndentation$0();
  81358. end = scanner._string_scanner$_position;
  81359. t3.write$1(0, B.JSString_methods.substring$2(t1, lineStart + minimumIndentation, end));
  81360. for (; true;) {
  81361. if (scanner._string_scanner$_position === t2)
  81362. return;
  81363. character = scanner.super$StringScanner$readChar();
  81364. scanner._adjustLineAndColumn$1(character);
  81365. if (character === 10)
  81366. break;
  81367. t3.writeCharCode$1(character);
  81368. }
  81369. }
  81370. },
  81371. visitCalculation$1(value) {
  81372. var t2, _this = this,
  81373. t1 = _this._serialize$_buffer;
  81374. t1.write$1(0, value.name);
  81375. t1.writeCharCode$1(40);
  81376. t2 = _this._style === B.OutputStyle_1 ? "," : ", ";
  81377. _this._writeBetween$3(value.$arguments, t2, _this.get$_writeCalculationValue());
  81378. t1.writeCharCode$1(41);
  81379. },
  81380. _writeCalculationValue$1(value) {
  81381. var _2_4_isSet, _2_4, t1, _0_0, _1_0, first, rest, left, right, operator, parenthesizeLeft, operatorWhitespace, parenthesizeRight, t2, _this = this, _null = null;
  81382. $label1$1: {
  81383. _2_4_isSet = value instanceof A.SassNumber;
  81384. if (_2_4_isSet) {
  81385. _2_4 = value.get$hasComplexUnits();
  81386. t1 = _2_4;
  81387. t1 = t1 && !_this._inspect;
  81388. } else {
  81389. _2_4 = _null;
  81390. t1 = false;
  81391. }
  81392. if (t1)
  81393. throw A.wrapException(A.SassScriptException$(value.toString$0(0) + " isn't a valid CSS value.", _null));
  81394. if (_2_4_isSet && !isFinite(value._number$_value)) {
  81395. $label0$0: {
  81396. _0_0 = value._number$_value;
  81397. if (1 / 0 === _0_0) {
  81398. _this._serialize$_buffer.write$1(0, "infinity");
  81399. break $label0$0;
  81400. }
  81401. if (-1 / 0 === _0_0) {
  81402. _this._serialize$_buffer.write$1(0, "-infinity");
  81403. break $label0$0;
  81404. }
  81405. if (isNaN(_0_0))
  81406. _this._serialize$_buffer.write$1(0, "NaN");
  81407. }
  81408. _this._writeCalculationUnits$2(value.get$numeratorUnits(value), value.get$denominatorUnits(value));
  81409. break $label1$1;
  81410. }
  81411. if (_2_4_isSet)
  81412. t1 = _2_4;
  81413. else
  81414. t1 = false;
  81415. if (t1) {
  81416. _this._writeNumber$1(value._number$_value);
  81417. _1_0 = value.get$numeratorUnits(value);
  81418. if (_1_0.length >= 1) {
  81419. first = _1_0[0];
  81420. rest = B.JSArray_methods.sublist$1(_1_0, 1);
  81421. _this._serialize$_buffer.write$1(0, first);
  81422. _this._writeCalculationUnits$2(rest, value.get$denominatorUnits(value));
  81423. } else
  81424. _this._writeCalculationUnits$2(A._setArrayType([], type$.JSArray_String), value.get$denominatorUnits(value));
  81425. break $label1$1;
  81426. }
  81427. if (value instanceof A.Value) {
  81428. value.accept$1(_this);
  81429. break $label1$1;
  81430. }
  81431. t1 = value instanceof A.CalculationOperation;
  81432. left = _null;
  81433. right = _null;
  81434. if (t1) {
  81435. operator = value._operator;
  81436. left = value._left;
  81437. right = value._right;
  81438. right = right;
  81439. } else
  81440. operator = _null;
  81441. if (t1) {
  81442. parenthesizeLeft = left instanceof A.CalculationOperation && left._operator.precedence < operator.precedence;
  81443. if (parenthesizeLeft)
  81444. _this._serialize$_buffer.writeCharCode$1(40);
  81445. _this._writeCalculationValue$1(left);
  81446. if (parenthesizeLeft)
  81447. _this._serialize$_buffer.writeCharCode$1(41);
  81448. operatorWhitespace = _this._style !== B.OutputStyle_1 || operator.precedence === 1;
  81449. if (operatorWhitespace)
  81450. _this._serialize$_buffer.writeCharCode$1(32);
  81451. t1 = _this._serialize$_buffer;
  81452. t1.write$1(0, operator.operator);
  81453. if (operatorWhitespace)
  81454. t1.writeCharCode$1(32);
  81455. if (!(right instanceof A.CalculationOperation && _this._parenthesizeCalculationRhs$2(operator, right._operator))) {
  81456. parenthesizeRight = false;
  81457. if (operator === B.CalculationOperator_bo5) {
  81458. if (right instanceof A.SassNumber)
  81459. t2 = isFinite(right._number$_value) ? right.get$hasComplexUnits() : right.get$hasUnits();
  81460. else
  81461. t2 = parenthesizeRight;
  81462. parenthesizeRight = t2;
  81463. }
  81464. } else
  81465. parenthesizeRight = true;
  81466. if (parenthesizeRight)
  81467. t1.writeCharCode$1(40);
  81468. _this._writeCalculationValue$1(right);
  81469. if (parenthesizeRight)
  81470. t1.writeCharCode$1(41);
  81471. }
  81472. }
  81473. },
  81474. _writeCalculationUnits$2(numeratorUnits, denominatorUnits) {
  81475. var t1, t2, t3, t4;
  81476. for (t1 = J.get$iterator$ax(numeratorUnits), t2 = this._serialize$_buffer, t3 = this._style !== B.OutputStyle_1; t1.moveNext$0();) {
  81477. t4 = t1.get$current(t1);
  81478. if (t3)
  81479. t2.writeCharCode$1(32);
  81480. t2.writeCharCode$1(42);
  81481. if (t3)
  81482. t2.writeCharCode$1(32);
  81483. t2.writeCharCode$1(49);
  81484. t2.write$1(0, t4);
  81485. }
  81486. for (t1 = J.get$iterator$ax(denominatorUnits); t1.moveNext$0();) {
  81487. t4 = t1.get$current(t1);
  81488. if (t3)
  81489. t2.writeCharCode$1(32);
  81490. t2.writeCharCode$1(47);
  81491. if (t3)
  81492. t2.writeCharCode$1(32);
  81493. t2.writeCharCode$1(49);
  81494. t2.write$1(0, t4);
  81495. }
  81496. },
  81497. _parenthesizeCalculationRhs$2(outer, right) {
  81498. var t1;
  81499. $label0$0: {
  81500. if (B.CalculationOperator_bo5 === outer) {
  81501. t1 = true;
  81502. break $label0$0;
  81503. }
  81504. if (B.CalculationOperator_F7i === outer) {
  81505. t1 = false;
  81506. break $label0$0;
  81507. }
  81508. t1 = right === B.CalculationOperator_F7i || right === B.CalculationOperator_oum;
  81509. break $label0$0;
  81510. }
  81511. return t1;
  81512. },
  81513. visitColor$1(value) {
  81514. 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;
  81515. $label0$0: {
  81516. _0_0 = value._space;
  81517. _0_2 = B.RgbColorSpace_i0P === _0_0;
  81518. _0_6 = _null;
  81519. t1 = true;
  81520. if (!_0_2) {
  81521. _0_4 = B.HslColorSpace_JQ2 === _0_0;
  81522. _0_6_isSet = !_0_4;
  81523. if (_0_6_isSet) {
  81524. _0_6 = B.HwbColorSpace_guQ === _0_0;
  81525. t1 = _0_6;
  81526. }
  81527. } else {
  81528. _0_4 = _null;
  81529. _0_6_isSet = false;
  81530. }
  81531. if (t1 && value.channel0OrNull != null && value.channel1OrNull != null && value.channel2OrNull != null && value.alphaOrNull != null) {
  81532. _this._writeLegacyColor$1(value);
  81533. break $label0$0;
  81534. }
  81535. if (_0_2) {
  81536. t1 = _this._serialize$_buffer;
  81537. t1.write$1(0, "rgb(");
  81538. _this._writeChannel$1(value.channel0OrNull);
  81539. t1.writeCharCode$1(32);
  81540. _this._writeChannel$1(value.channel1OrNull);
  81541. t1.writeCharCode$1(32);
  81542. _this._writeChannel$1(value.channel2OrNull);
  81543. _this._maybeWriteSlashAlpha$1(value);
  81544. t1.writeCharCode$1(41);
  81545. break $label0$0;
  81546. }
  81547. if (!_0_4)
  81548. t1 = _0_6_isSet ? _0_6 : B.HwbColorSpace_guQ === _0_0;
  81549. else
  81550. t1 = true;
  81551. if (t1) {
  81552. t1 = _this._serialize$_buffer;
  81553. t1.write$1(0, _0_0);
  81554. t1.writeCharCode$1(40);
  81555. t2 = _this._style === B.OutputStyle_1 ? _null : "deg";
  81556. _this._writeChannel$2(value.channel0OrNull, t2);
  81557. t1.writeCharCode$1(32);
  81558. _this._writeChannel$2(value.channel1OrNull, "%");
  81559. t1.writeCharCode$1(32);
  81560. _this._writeChannel$2(value.channel2OrNull, "%");
  81561. _this._maybeWriteSlashAlpha$1(value);
  81562. t1.writeCharCode$1(41);
  81563. break $label0$0;
  81564. }
  81565. _0_10_isSet = B.LabColorSpace_2nT !== _0_0;
  81566. if (_0_10_isSet) {
  81567. _0_10 = B.LchColorSpace_Bpv === _0_0;
  81568. t1 = _0_10;
  81569. } else {
  81570. _0_10 = _null;
  81571. t1 = true;
  81572. }
  81573. t2 = false;
  81574. if (t1)
  81575. if (!_this._inspect) {
  81576. t1 = value.channel0OrNull;
  81577. if (t1 == null)
  81578. t1 = 0;
  81579. if (t1 > 0 || A.fuzzyEquals(t1, 0))
  81580. t1 = t1 < 100 || A.fuzzyEquals(t1, 100);
  81581. else
  81582. t1 = false;
  81583. t1 = !t1 && value.channel1OrNull != null && value.channel2OrNull != null;
  81584. } else
  81585. t1 = t2;
  81586. else
  81587. t1 = t2;
  81588. _0_12_isSet = !t1;
  81589. _0_14 = _null;
  81590. if (_0_12_isSet) {
  81591. _0_12 = B.OklabColorSpace_540 === _0_0;
  81592. t1 = false;
  81593. _0_14_isSet = !_0_12;
  81594. if (_0_14_isSet) {
  81595. _0_14 = B.OklchColorSpace_9Gj === _0_0;
  81596. t2 = _0_14;
  81597. } else
  81598. t2 = true;
  81599. t3 = false;
  81600. if (t2)
  81601. if (!_this._inspect) {
  81602. t2 = value.channel0OrNull;
  81603. if (t2 == null)
  81604. t2 = 0;
  81605. if (t2 > 0 || A.fuzzyEquals(t2, 0))
  81606. t2 = t2 < 1 || A.fuzzyEquals(t2, 1);
  81607. else
  81608. t2 = false;
  81609. t2 = !t2 && value.channel1OrNull != null && value.channel2OrNull != null;
  81610. } else
  81611. t2 = t3;
  81612. else
  81613. t2 = t3;
  81614. if (!t2) {
  81615. if (_0_10_isSet) {
  81616. t2 = _0_10;
  81617. _0_10_isSet0 = _0_10_isSet;
  81618. } else {
  81619. _0_10 = B.LchColorSpace_Bpv === _0_0;
  81620. t2 = _0_10;
  81621. _0_10_isSet0 = true;
  81622. }
  81623. if (!t2)
  81624. if (_0_14_isSet)
  81625. t2 = _0_14;
  81626. else {
  81627. _0_14 = B.OklchColorSpace_9Gj === _0_0;
  81628. t2 = _0_14;
  81629. _0_14_isSet = true;
  81630. }
  81631. else
  81632. t2 = true;
  81633. if (t2)
  81634. if (!_this._inspect) {
  81635. t1 = value.channel1OrNull;
  81636. t2 = t1 == null;
  81637. if (t2)
  81638. t1 = 0;
  81639. t1 = t1 < 0 && !A.fuzzyEquals(t1, 0) && value.channel0OrNull != null && !t2;
  81640. }
  81641. } else {
  81642. _0_10_isSet0 = _0_10_isSet;
  81643. t1 = true;
  81644. }
  81645. } else {
  81646. _0_12 = _null;
  81647. _0_10_isSet0 = _0_10_isSet;
  81648. _0_14_isSet = false;
  81649. t1 = true;
  81650. }
  81651. if (t1) {
  81652. t1 = _this._serialize$_buffer;
  81653. t1.write$1(0, "color-mix(in ");
  81654. t1.write$1(0, _0_0);
  81655. t2 = _this._style === B.OutputStyle_1;
  81656. t1.write$1(0, t2 ? "," : ", ");
  81657. _this._writeColorFunction$1(value.toSpace$1(B.XyzD65ColorSpace_WiJ));
  81658. if (!t2)
  81659. t1.writeCharCode$1(32);
  81660. t1.write$1(0, "100%");
  81661. t1.write$1(0, t2 ? "," : ", ");
  81662. t1.write$1(0, t2 ? "red" : "black");
  81663. t1.writeCharCode$1(41);
  81664. break $label0$0;
  81665. }
  81666. t1 = true;
  81667. if (_0_10_isSet)
  81668. if (!(_0_12_isSet ? _0_12 : B.OklabColorSpace_540 === _0_0))
  81669. if (!(_0_10_isSet0 ? _0_10 : B.LchColorSpace_Bpv === _0_0))
  81670. t1 = _0_14_isSet ? _0_14 : B.OklchColorSpace_9Gj === _0_0;
  81671. if (t1) {
  81672. t1 = _this._serialize$_buffer;
  81673. t1.write$1(0, _0_0);
  81674. t1.writeCharCode$1(40);
  81675. t2 = _0_0._channels;
  81676. polar = t2[2].isPolarAngle;
  81677. t3 = false;
  81678. if (!_this._inspect) {
  81679. t4 = value.channel0OrNull;
  81680. if (t4 == null)
  81681. t4 = 0;
  81682. if (t4 > 0 || A.fuzzyEquals(t4, 0))
  81683. t4 = t4 < 100 || A.fuzzyEquals(t4, 100);
  81684. else
  81685. t4 = false;
  81686. if (t4) {
  81687. if (polar) {
  81688. t3 = value.channel1OrNull;
  81689. if (t3 == null)
  81690. t3 = 0;
  81691. t3 = t3 < 0 && !A.fuzzyEquals(t3, 0);
  81692. }
  81693. } else
  81694. t3 = true;
  81695. }
  81696. if (t3) {
  81697. t1.write$1(0, "from ");
  81698. t1.write$1(0, _this._style === B.OutputStyle_1 ? "red" : "black");
  81699. t1.writeCharCode$1(32);
  81700. }
  81701. t3 = _this._style !== B.OutputStyle_1;
  81702. t4 = t3 && value.channel0OrNull != null;
  81703. t5 = value.channel0OrNull;
  81704. if (t4) {
  81705. t2 = type$.LinearChannel._as(t2[0]);
  81706. _this._writeNumber$1((t5 == null ? 0 : t5) * 100 / t2.max);
  81707. t1.writeCharCode$1(37);
  81708. } else
  81709. _this._writeChannel$1(t5);
  81710. t1.writeCharCode$1(32);
  81711. _this._writeChannel$1(value.channel1OrNull);
  81712. t1.writeCharCode$1(32);
  81713. t2 = polar && t3 ? "deg" : _null;
  81714. _this._writeChannel$2(value.channel2OrNull, t2);
  81715. _this._maybeWriteSlashAlpha$1(value);
  81716. t1.writeCharCode$1(41);
  81717. break $label0$0;
  81718. }
  81719. _this._writeColorFunction$1(value);
  81720. }
  81721. },
  81722. _writeChannel$2(channel, unit) {
  81723. var _this = this;
  81724. if (channel == null)
  81725. _this._serialize$_buffer.write$1(0, "none");
  81726. else if (isFinite(channel)) {
  81727. _this._writeNumber$1(channel);
  81728. if (unit != null)
  81729. _this._serialize$_buffer.write$1(0, unit);
  81730. } else
  81731. _this.visitNumber$1(A.SassNumber_SassNumber(channel, unit));
  81732. },
  81733. _writeChannel$1(channel) {
  81734. return this._writeChannel$2(channel, null);
  81735. },
  81736. _writeLegacyColor$1(color) {
  81737. var rgb, t3, red, green, blue, hsl, hue, saturation, lightness, hwb, _0_0, format, _1_0, _this = this,
  81738. t1 = color.alphaOrNull,
  81739. t2 = t1 == null,
  81740. opaque = A.fuzzyEquals(t2 ? 0 : t1, 1);
  81741. if (!color.get$isInGamut() && !_this._inspect) {
  81742. _this._writeHsl$1(color);
  81743. return;
  81744. }
  81745. if (_this._style === B.OutputStyle_1) {
  81746. rgb = color.toSpace$1(B.RgbColorSpace_i0P);
  81747. if (opaque && _this._tryIntegerRgb$1(rgb))
  81748. return;
  81749. t3 = rgb.channel0OrNull;
  81750. red = _this._writeNumberToString$1(t3 == null ? 0 : t3);
  81751. t3 = rgb.channel1OrNull;
  81752. green = _this._writeNumberToString$1(t3 == null ? 0 : t3);
  81753. t3 = rgb.channel2OrNull;
  81754. blue = _this._writeNumberToString$1(t3 == null ? 0 : t3);
  81755. hsl = color.toSpace$1(B.HslColorSpace_JQ2);
  81756. t3 = hsl.channel0OrNull;
  81757. hue = _this._writeNumberToString$1(t3 == null ? 0 : t3);
  81758. t3 = hsl.channel1OrNull;
  81759. saturation = _this._writeNumberToString$1(t3 == null ? 0 : t3);
  81760. t3 = hsl.channel2OrNull;
  81761. lightness = _this._writeNumberToString$1(t3 == null ? 0 : t3);
  81762. t3 = _this._serialize$_buffer;
  81763. if (red.length + green.length + blue.length <= hue.length + saturation.length + lightness.length + 2) {
  81764. t3.write$1(0, opaque ? "rgb(" : "rgba(");
  81765. t3.write$1(0, red);
  81766. t3.writeCharCode$1(44);
  81767. t3.write$1(0, green);
  81768. t3.writeCharCode$1(44);
  81769. t3.write$1(0, blue);
  81770. } else {
  81771. t3.write$1(0, opaque ? "hsl(" : "hsla(");
  81772. t3.write$1(0, hue);
  81773. t3.writeCharCode$1(44);
  81774. t3.write$1(0, saturation);
  81775. t3.write$1(0, "%,");
  81776. t3.write$1(0, lightness);
  81777. t3.writeCharCode$1(37);
  81778. }
  81779. if (!opaque) {
  81780. t3.writeCharCode$1(44);
  81781. _this._writeNumber$1(t2 ? 0 : t1);
  81782. }
  81783. t3.writeCharCode$1(41);
  81784. return;
  81785. }
  81786. t3 = color._space;
  81787. if (t3 === B.HslColorSpace_JQ2) {
  81788. _this._writeHsl$1(color);
  81789. return;
  81790. } else if (_this._inspect && t3 === B.HwbColorSpace_guQ) {
  81791. t3 = _this._serialize$_buffer;
  81792. t3.write$1(0, "hwb(");
  81793. hwb = color.toSpace$1(B.HwbColorSpace_guQ);
  81794. _this._writeNumber$1(hwb.channel$1(0, "hue"));
  81795. t3.writeCharCode$1(32);
  81796. _this._writeNumber$1(hwb.channel$1(0, "whiteness"));
  81797. t3.writeCharCode$1(37);
  81798. t3.writeCharCode$1(32);
  81799. _this._writeNumber$1(hwb.channel$1(0, "blackness"));
  81800. t3.writeCharCode$1(37);
  81801. if (!A.fuzzyEquals(t2 ? 0 : t1, 1)) {
  81802. t3.write$1(0, " / ");
  81803. _this._writeNumber$1(t2 ? 0 : t1);
  81804. }
  81805. t3.writeCharCode$1(41);
  81806. return;
  81807. }
  81808. _0_0 = color.format;
  81809. if (B.C__ColorFormatEnum === _0_0) {
  81810. _this._writeRgb$1(color);
  81811. return;
  81812. }
  81813. t1 = _0_0 instanceof A.SpanColorFormat;
  81814. format = t1 ? _0_0 : null;
  81815. if (t1) {
  81816. t1 = format._color$_span;
  81817. _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));
  81818. return;
  81819. }
  81820. if (opaque) {
  81821. rgb = color.toSpace$1(B.RgbColorSpace_i0P);
  81822. _1_0 = $.$get$namesByColor().$index(0, rgb);
  81823. if (_1_0 != null) {
  81824. _this._serialize$_buffer.write$1(0, _1_0);
  81825. return;
  81826. }
  81827. if (_this._canUseHex$1(rgb)) {
  81828. _this._serialize$_buffer.writeCharCode$1(35);
  81829. t1 = rgb.channel0OrNull;
  81830. _this._writeHexComponent$1(B.JSNumber_methods.round$0(t1 == null ? 0 : t1));
  81831. t1 = rgb.channel1OrNull;
  81832. _this._writeHexComponent$1(B.JSNumber_methods.round$0(t1 == null ? 0 : t1));
  81833. t1 = rgb.channel2OrNull;
  81834. _this._writeHexComponent$1(B.JSNumber_methods.round$0(t1 == null ? 0 : t1));
  81835. return;
  81836. }
  81837. }
  81838. if (t3 === B.HwbColorSpace_guQ)
  81839. _this._writeHsl$1(color);
  81840. else
  81841. _this._writeRgb$1(color);
  81842. },
  81843. _tryIntegerRgb$1(rgb) {
  81844. var t1, redInt, greenInt, blueInt, shortHex, _0_0, t2, t3, $name, _this = this;
  81845. if (!_this._canUseHex$1(rgb))
  81846. return false;
  81847. t1 = rgb.channel0OrNull;
  81848. redInt = B.JSNumber_methods.round$0(t1 == null ? 0 : t1);
  81849. t1 = rgb.channel1OrNull;
  81850. greenInt = B.JSNumber_methods.round$0(t1 == null ? 0 : t1);
  81851. t1 = rgb.channel2OrNull;
  81852. blueInt = B.JSNumber_methods.round$0(t1 == null ? 0 : t1);
  81853. t1 = redInt & 15;
  81854. 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);
  81855. _0_0 = $.$get$namesByColor().$index(0, rgb);
  81856. t2 = false;
  81857. if (_0_0 != null) {
  81858. t3 = _0_0.length;
  81859. t2 = t3 <= (shortHex ? 4 : 7);
  81860. $name = _0_0;
  81861. } else
  81862. $name = null;
  81863. if (t2)
  81864. _this._serialize$_buffer.write$1(0, $name);
  81865. else {
  81866. t2 = _this._serialize$_buffer;
  81867. if (shortHex) {
  81868. t2.writeCharCode$1(35);
  81869. t2.writeCharCode$1(A.hexCharFor(t1));
  81870. t2.writeCharCode$1(A.hexCharFor(greenInt & 15));
  81871. t2.writeCharCode$1(A.hexCharFor(blueInt & 15));
  81872. } else {
  81873. t2.writeCharCode$1(35);
  81874. _this._writeHexComponent$1(redInt);
  81875. _this._writeHexComponent$1(greenInt);
  81876. _this._writeHexComponent$1(blueInt);
  81877. }
  81878. }
  81879. return true;
  81880. },
  81881. _canUseHex$1(rgb) {
  81882. var t2,
  81883. t1 = rgb.channel0OrNull;
  81884. if (t1 == null)
  81885. t1 = 0;
  81886. if (A.fuzzyIsInt(t1))
  81887. t1 = (t1 > 0 || A.fuzzyEquals(t1, 0)) && t1 < 256 && !A.fuzzyEquals(t1, 256);
  81888. else
  81889. t1 = false;
  81890. t2 = false;
  81891. if (t1) {
  81892. t1 = rgb.channel1OrNull;
  81893. if (t1 == null)
  81894. t1 = 0;
  81895. if (A.fuzzyIsInt(t1))
  81896. t1 = (t1 > 0 || A.fuzzyEquals(t1, 0)) && t1 < 256 && !A.fuzzyEquals(t1, 256);
  81897. else
  81898. t1 = false;
  81899. if (t1) {
  81900. t1 = rgb.channel2OrNull;
  81901. if (t1 == null)
  81902. t1 = 0;
  81903. if (A.fuzzyIsInt(t1))
  81904. t1 = (t1 > 0 || A.fuzzyEquals(t1, 0)) && t1 < 256 && !A.fuzzyEquals(t1, 256);
  81905. else
  81906. t1 = t2;
  81907. } else
  81908. t1 = t2;
  81909. } else
  81910. t1 = t2;
  81911. return t1;
  81912. },
  81913. _writeRgb$1(color) {
  81914. var t4, _this = this,
  81915. t1 = color.alphaOrNull,
  81916. t2 = t1 == null,
  81917. opaque = A.fuzzyEquals(t2 ? 0 : t1, 1),
  81918. rgb = color.toSpace$1(B.RgbColorSpace_i0P),
  81919. t3 = _this._serialize$_buffer;
  81920. t3.write$1(0, opaque ? "rgb(" : "rgba(");
  81921. _this._writeNumber$1(rgb.channel$1(0, "red"));
  81922. t4 = _this._style === B.OutputStyle_1;
  81923. t3.write$1(0, t4 ? "," : ", ");
  81924. _this._writeNumber$1(rgb.channel$1(0, "green"));
  81925. t3.write$1(0, t4 ? "," : ", ");
  81926. _this._writeNumber$1(rgb.channel$1(0, "blue"));
  81927. if (!opaque) {
  81928. t3.write$1(0, t4 ? "," : ", ");
  81929. _this._writeNumber$1(t2 ? 0 : t1);
  81930. }
  81931. t3.writeCharCode$1(41);
  81932. },
  81933. _writeHsl$1(color) {
  81934. var t4, _this = this,
  81935. t1 = color.alphaOrNull,
  81936. t2 = t1 == null,
  81937. opaque = A.fuzzyEquals(t2 ? 0 : t1, 1),
  81938. hsl = color.toSpace$1(B.HslColorSpace_JQ2),
  81939. t3 = _this._serialize$_buffer;
  81940. t3.write$1(0, opaque ? "hsl(" : "hsla(");
  81941. _this._writeChannel$1(hsl.channel$1(0, "hue"));
  81942. t4 = _this._style === B.OutputStyle_1;
  81943. t3.write$1(0, t4 ? "," : ", ");
  81944. _this._writeChannel$2(hsl.channel$1(0, "saturation"), "%");
  81945. t3.write$1(0, t4 ? "," : ", ");
  81946. _this._writeChannel$2(hsl.channel$1(0, "lightness"), "%");
  81947. if (!opaque) {
  81948. t3.write$1(0, t4 ? "," : ", ");
  81949. _this._writeNumber$1(t2 ? 0 : t1);
  81950. }
  81951. t3.writeCharCode$1(41);
  81952. },
  81953. _writeColorFunction$1(color) {
  81954. var _this = this,
  81955. t1 = _this._serialize$_buffer;
  81956. t1.write$1(0, "color(");
  81957. t1.write$1(0, color._space);
  81958. t1.writeCharCode$1(32);
  81959. _this._writeBetween$3(color.get$channelsOrNull(), " ", _this.get$_writeChannel());
  81960. _this._maybeWriteSlashAlpha$1(color);
  81961. t1.writeCharCode$1(41);
  81962. },
  81963. _writeHexComponent$1(color) {
  81964. var t1 = this._serialize$_buffer;
  81965. t1.writeCharCode$1(A.hexCharFor(B.JSInt_methods._shrOtherPositive$1(color, 4)));
  81966. t1.writeCharCode$1(A.hexCharFor(color & 15));
  81967. },
  81968. _maybeWriteSlashAlpha$1(color) {
  81969. var t2, t3, _this = this,
  81970. t1 = color.alphaOrNull;
  81971. if (A.fuzzyEquals(t1 == null ? 0 : t1, 1))
  81972. return;
  81973. t2 = _this._style !== B.OutputStyle_1;
  81974. if (t2)
  81975. _this._serialize$_buffer.writeCharCode$1(32);
  81976. t3 = _this._serialize$_buffer;
  81977. t3.writeCharCode$1(47);
  81978. if (t2)
  81979. t3.writeCharCode$1(32);
  81980. _this._writeChannel$1(t1);
  81981. },
  81982. visitList$1(value) {
  81983. var t2, singleton, t3, t4, t5, _this = this,
  81984. t1 = value._hasBrackets;
  81985. if (t1)
  81986. _this._serialize$_buffer.writeCharCode$1(91);
  81987. else if (value._list$_contents.length === 0) {
  81988. if (!_this._inspect)
  81989. throw A.wrapException(A.SassScriptException$("() isn't a valid CSS value.", null));
  81990. _this._serialize$_buffer.write$1(0, "()");
  81991. return;
  81992. }
  81993. t2 = _this._inspect;
  81994. singleton = false;
  81995. if (t2)
  81996. if (value._list$_contents.length === 1) {
  81997. t3 = value._separator;
  81998. t3 = t3 === B.ListSeparator_qVN || t3 === B.ListSeparator_bRz;
  81999. singleton = t3;
  82000. }
  82001. if (singleton && !t1)
  82002. _this._serialize$_buffer.writeCharCode$1(40);
  82003. t3 = value._list$_contents;
  82004. t3 = t2 ? t3 : new A.WhereIterable(t3, new A._SerializeVisitor_visitList_closure(), A._arrayInstanceType(t3)._eval$1("WhereIterable<1>"));
  82005. t4 = value._separator;
  82006. t5 = _this._separatorString$1(t4);
  82007. _this._writeBetween$3(t3, t5, t2 ? new A._SerializeVisitor_visitList_closure0(_this, value) : new A._SerializeVisitor_visitList_closure1(_this));
  82008. if (singleton) {
  82009. t2 = _this._serialize$_buffer;
  82010. t2.write$1(0, t4.separator);
  82011. if (!t1)
  82012. t2.writeCharCode$1(41);
  82013. }
  82014. if (t1)
  82015. _this._serialize$_buffer.writeCharCode$1(93);
  82016. },
  82017. _separatorString$1(separator) {
  82018. var t1;
  82019. $label0$0: {
  82020. if (B.ListSeparator_qVN === separator) {
  82021. t1 = this._style === B.OutputStyle_1 ? "," : ", ";
  82022. break $label0$0;
  82023. }
  82024. if (B.ListSeparator_bRz === separator) {
  82025. t1 = this._style === B.OutputStyle_1 ? "/" : " / ";
  82026. break $label0$0;
  82027. }
  82028. if (B.ListSeparator_qSL === separator) {
  82029. t1 = " ";
  82030. break $label0$0;
  82031. }
  82032. t1 = "";
  82033. break $label0$0;
  82034. }
  82035. return t1;
  82036. },
  82037. _elementNeedsParens$2(separator, value) {
  82038. var t1;
  82039. $label1$1: {
  82040. if (value instanceof A.SassList && value._list$_contents.length > 1 && !value._hasBrackets) {
  82041. $label0$0: {
  82042. if (B.ListSeparator_qVN === separator) {
  82043. t1 = value._separator === B.ListSeparator_qVN;
  82044. break $label0$0;
  82045. }
  82046. if (B.ListSeparator_bRz === separator) {
  82047. t1 = value._separator;
  82048. t1 = t1 === B.ListSeparator_qVN || t1 === B.ListSeparator_bRz;
  82049. break $label0$0;
  82050. }
  82051. t1 = value._separator !== B.ListSeparator_undecided_null_undecided;
  82052. break $label0$0;
  82053. }
  82054. break $label1$1;
  82055. }
  82056. t1 = false;
  82057. break $label1$1;
  82058. }
  82059. return t1;
  82060. },
  82061. visitMap$1(map) {
  82062. var t1, t2, _this = this;
  82063. if (!_this._inspect)
  82064. throw A.wrapException(A.SassScriptException$(map.toString$0(0) + " isn't a valid CSS value.", null));
  82065. t1 = _this._serialize$_buffer;
  82066. t1.writeCharCode$1(40);
  82067. t2 = map._map$_contents;
  82068. _this._writeBetween$3(t2.get$entries(t2), ", ", new A._SerializeVisitor_visitMap_closure(_this));
  82069. t1.writeCharCode$1(41);
  82070. },
  82071. _writeMapElement$1(value) {
  82072. var needsParens = value instanceof A.SassList && value._separator === B.ListSeparator_qVN && !value._hasBrackets;
  82073. if (needsParens)
  82074. this._serialize$_buffer.writeCharCode$1(40);
  82075. value.accept$1(this);
  82076. if (needsParens)
  82077. this._serialize$_buffer.writeCharCode$1(41);
  82078. },
  82079. visitNumber$1(value) {
  82080. var before, after, t1, _1_0, _this = this,
  82081. _0_0 = value.asSlash;
  82082. if (type$.Record_2_nullable_Object_and_nullable_Object._is(_0_0)) {
  82083. before = _0_0._0;
  82084. after = _0_0._1;
  82085. _this.visitNumber$1(before);
  82086. _this._serialize$_buffer.writeCharCode$1(47);
  82087. _this.visitNumber$1(after);
  82088. return;
  82089. }
  82090. t1 = value._number$_value;
  82091. if (!isFinite(t1)) {
  82092. _this.visitCalculation$1(new A.SassCalculation("calc", A.List_List$unmodifiable(A._setArrayType([value], type$.JSArray_Object), type$.Object)));
  82093. return;
  82094. }
  82095. if (value.get$hasComplexUnits()) {
  82096. if (!_this._inspect)
  82097. throw A.wrapException(A.SassScriptException$(value.toString$0(0) + " isn't a valid CSS value.", null));
  82098. _this.visitCalculation$1(new A.SassCalculation("calc", A.List_List$unmodifiable(A._setArrayType([value], type$.JSArray_Object), type$.Object)));
  82099. } else {
  82100. _this._writeNumber$1(t1);
  82101. _1_0 = value.get$numeratorUnits(value);
  82102. if (_1_0.length === 1)
  82103. _this._serialize$_buffer.write$1(0, _1_0[0]);
  82104. }
  82105. },
  82106. _writeNumberToString$1(number) {
  82107. var t1 = new A.StringBuffer("");
  82108. this._writeNumber$2(number, new A.NoSourceMapBuffer(t1));
  82109. t1 = t1._contents;
  82110. return t1.charCodeAt(0) == 0 ? t1 : t1;
  82111. },
  82112. _writeNumber$2(number, buffer) {
  82113. var _0_0, text, _this = this;
  82114. if (buffer == null)
  82115. buffer = _this._serialize$_buffer;
  82116. _0_0 = A.fuzzyAsInt(number);
  82117. if (_0_0 != null) {
  82118. buffer.write$1(0, _this._removeExponent$1(B.JSInt_methods.toString$0(_0_0)));
  82119. return;
  82120. }
  82121. text = _this._removeExponent$1(B.JSNumber_methods.toString$0(number));
  82122. if (text.length < 12) {
  82123. buffer.write$1(0, _this._style === B.OutputStyle_1 && text.charCodeAt(0) === 48 ? B.JSString_methods.substring$1(text, 1) : text);
  82124. return;
  82125. }
  82126. _this._writeRounded$2(text, buffer);
  82127. },
  82128. _writeNumber$1(number) {
  82129. return this._writeNumber$2(number, null);
  82130. },
  82131. _removeExponent$1(text) {
  82132. var buffer, t2, t3, additionalZeroes,
  82133. negative = text.charCodeAt(0) === 45,
  82134. exponent = A._Cell$(),
  82135. t1 = text.length,
  82136. i = 0;
  82137. while (true) {
  82138. if (!(i < t1)) {
  82139. buffer = null;
  82140. break;
  82141. }
  82142. c$0: {
  82143. if (text.charCodeAt(i) !== 101)
  82144. break c$0;
  82145. buffer = new A.StringBuffer("");
  82146. t2 = buffer._contents = "" + A.Primitives_stringFromCharCode(text.charCodeAt(0));
  82147. if (negative) {
  82148. t2 += A.Primitives_stringFromCharCode(text.charCodeAt(1));
  82149. buffer._contents = t2;
  82150. if (i > 3)
  82151. buffer._contents = t2 + B.JSString_methods.substring$2(text, 3, i);
  82152. } else if (i > 2)
  82153. buffer._contents = t2 + B.JSString_methods.substring$2(text, 2, i);
  82154. exponent.__late_helper$_value = A.int_parse(B.JSString_methods.substring$2(text, i + 1, t1), null);
  82155. break;
  82156. }
  82157. ++i;
  82158. }
  82159. if (buffer == null)
  82160. return text;
  82161. if (exponent._readLocal$0() > 0) {
  82162. t1 = exponent._readLocal$0();
  82163. t2 = buffer._contents;
  82164. t3 = negative ? 1 : 0;
  82165. additionalZeroes = t1 - (t2.length - 1 - t3);
  82166. for (t1 = t2, i = 0; i < additionalZeroes; ++i) {
  82167. t1 = A.Primitives_stringFromCharCode(48);
  82168. t1 = buffer._contents += t1;
  82169. }
  82170. return t1.charCodeAt(0) == 0 ? t1 : t1;
  82171. } else {
  82172. negative = text.charCodeAt(0) === 45;
  82173. t1 = (negative ? "" + A.Primitives_stringFromCharCode(45) : "") + "0.";
  82174. i = -1;
  82175. while (true) {
  82176. t2 = exponent.__late_helper$_value;
  82177. if (t2 === exponent)
  82178. A.throwExpression(A.LateError$localNI(""));
  82179. if (!(i > t2))
  82180. break;
  82181. t1 += A.Primitives_stringFromCharCode(48);
  82182. --i;
  82183. }
  82184. if (negative) {
  82185. t2 = buffer._contents;
  82186. t2 = B.JSString_methods.substring$1(t2.charCodeAt(0) == 0 ? t2 : t2, 1);
  82187. } else
  82188. t2 = buffer;
  82189. t2 = t1 + A.S(t2);
  82190. return t2.charCodeAt(0) == 0 ? t2 : t2;
  82191. }
  82192. },
  82193. _writeRounded$2(text, buffer) {
  82194. var t1, digits, negative, textIndex, digitsIndex, textIndex0, codeUnit, digitsIndex0, indexAfterPrecision, digitsIndex1, newDigit, writtenIndex;
  82195. if (B.JSString_methods.endsWith$1(text, ".0")) {
  82196. buffer.write$1(0, B.JSString_methods.substring$2(text, 0, text.length - 2));
  82197. return;
  82198. }
  82199. t1 = text.length;
  82200. digits = new Uint8Array(t1 + 1);
  82201. negative = text.charCodeAt(0) === 45;
  82202. textIndex = negative ? 1 : 0;
  82203. for (digitsIndex = 1; true; textIndex = textIndex0, digitsIndex = digitsIndex0) {
  82204. if (textIndex === t1) {
  82205. buffer.write$1(0, text);
  82206. return;
  82207. }
  82208. textIndex0 = textIndex + 1;
  82209. codeUnit = text.charCodeAt(textIndex);
  82210. if (codeUnit === 46) {
  82211. textIndex = textIndex0;
  82212. break;
  82213. }
  82214. digitsIndex0 = digitsIndex + 1;
  82215. digits[digitsIndex] = codeUnit - 48;
  82216. }
  82217. indexAfterPrecision = textIndex + 10;
  82218. if (indexAfterPrecision >= t1) {
  82219. buffer.write$1(0, text);
  82220. return;
  82221. }
  82222. for (digitsIndex0 = digitsIndex; textIndex < indexAfterPrecision; textIndex = textIndex0, digitsIndex0 = digitsIndex1) {
  82223. digitsIndex1 = digitsIndex0 + 1;
  82224. textIndex0 = textIndex + 1;
  82225. digits[digitsIndex0] = text.charCodeAt(textIndex) - 48;
  82226. }
  82227. if (text.charCodeAt(textIndex) - 48 >= 5)
  82228. for (; true; digitsIndex0 = digitsIndex1) {
  82229. digitsIndex1 = digitsIndex0 - 1;
  82230. newDigit = digits[digitsIndex1] + 1;
  82231. digits[digitsIndex1] = newDigit;
  82232. if (newDigit !== 10)
  82233. break;
  82234. }
  82235. for (; digitsIndex0 < digitsIndex; ++digitsIndex0)
  82236. digits[digitsIndex0] = 0;
  82237. while (true) {
  82238. t1 = digitsIndex0 > digitsIndex;
  82239. if (!(t1 && digits[digitsIndex0 - 1] === 0))
  82240. break;
  82241. --digitsIndex0;
  82242. }
  82243. if (digitsIndex0 === 2 && digits[0] === 0 && digits[1] === 0) {
  82244. buffer.writeCharCode$1(48);
  82245. return;
  82246. }
  82247. if (negative)
  82248. buffer.writeCharCode$1(45);
  82249. if (digits[0] === 0)
  82250. writtenIndex = this._style === B.OutputStyle_1 && digits[1] === 0 ? 2 : 1;
  82251. else
  82252. writtenIndex = 0;
  82253. for (; writtenIndex < digitsIndex; ++writtenIndex)
  82254. buffer.writeCharCode$1(48 + digits[writtenIndex]);
  82255. if (t1) {
  82256. buffer.writeCharCode$1(46);
  82257. for (; writtenIndex < digitsIndex0; ++writtenIndex)
  82258. buffer.writeCharCode$1(48 + digits[writtenIndex]);
  82259. }
  82260. },
  82261. _visitQuotedString$2$forceDoubleQuote(string, forceDoubleQuote) {
  82262. var t1, includesSingleQuote, includesDoubleQuote, i, char, _1_2, _1_4, _0_0, quote, _this = this,
  82263. buffer = forceDoubleQuote ? _this._serialize$_buffer : new A.StringBuffer("");
  82264. if (forceDoubleQuote)
  82265. buffer.writeCharCode$1(34);
  82266. for (t1 = string.length, includesSingleQuote = false, includesDoubleQuote = false, i = 0; i < t1; ++i) {
  82267. char = string.charCodeAt(i);
  82268. _1_2 = 39 === char;
  82269. if (_1_2 && forceDoubleQuote) {
  82270. buffer.writeCharCode$1(39);
  82271. continue;
  82272. }
  82273. if (_1_2 && includesDoubleQuote) {
  82274. _this._visitQuotedString$2$forceDoubleQuote(string, true);
  82275. return;
  82276. }
  82277. if (_1_2) {
  82278. buffer.writeCharCode$1(39);
  82279. includesSingleQuote = true;
  82280. continue;
  82281. }
  82282. _1_4 = 34 === char;
  82283. if (_1_4 && forceDoubleQuote) {
  82284. buffer.writeCharCode$1(92);
  82285. buffer.writeCharCode$1(34);
  82286. continue;
  82287. }
  82288. if (_1_4 && includesSingleQuote) {
  82289. _this._visitQuotedString$2$forceDoubleQuote(string, true);
  82290. return;
  82291. }
  82292. if (_1_4) {
  82293. buffer.writeCharCode$1(34);
  82294. includesDoubleQuote = true;
  82295. continue;
  82296. }
  82297. 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) {
  82298. _this._writeEscape$4(buffer, char, string, i);
  82299. continue;
  82300. }
  82301. if (92 === char) {
  82302. buffer.writeCharCode$1(92);
  82303. buffer.writeCharCode$1(92);
  82304. continue;
  82305. }
  82306. _0_0 = _this._tryPrivateUseCharacter$4(buffer, char, string, i);
  82307. if (_0_0 != null)
  82308. i = _0_0;
  82309. else
  82310. buffer.writeCharCode$1(char);
  82311. }
  82312. if (forceDoubleQuote)
  82313. buffer.writeCharCode$1(34);
  82314. else {
  82315. quote = includesDoubleQuote ? 39 : 34;
  82316. t1 = _this._serialize$_buffer;
  82317. t1.writeCharCode$1(quote);
  82318. t1.write$1(0, buffer);
  82319. t1.writeCharCode$1(quote);
  82320. }
  82321. },
  82322. _visitQuotedString$1(string) {
  82323. return this._visitQuotedString$2$forceDoubleQuote(string, false);
  82324. },
  82325. _visitUnquotedString$1(string) {
  82326. var t1, t2, afterNewline, i, _1_0, _0_0;
  82327. for (t1 = string.length, t2 = this._serialize$_buffer, afterNewline = false, i = 0; i < t1; ++i) {
  82328. _1_0 = string.charCodeAt(i);
  82329. if (10 === _1_0) {
  82330. t2.writeCharCode$1(32);
  82331. afterNewline = true;
  82332. continue;
  82333. }
  82334. if (32 === _1_0) {
  82335. if (!afterNewline)
  82336. t2.writeCharCode$1(32);
  82337. continue;
  82338. }
  82339. _0_0 = this._tryPrivateUseCharacter$4(t2, _1_0, string, i);
  82340. if (_0_0 != null)
  82341. i = _0_0;
  82342. else
  82343. t2.writeCharCode$1(_1_0);
  82344. afterNewline = false;
  82345. }
  82346. },
  82347. _tryPrivateUseCharacter$4(buffer, codeUnit, string, i) {
  82348. var t1;
  82349. if (this._style === B.OutputStyle_1)
  82350. return null;
  82351. if (codeUnit >= 57344 && codeUnit <= 63743) {
  82352. this._writeEscape$4(buffer, codeUnit, string, i);
  82353. return i;
  82354. }
  82355. if (codeUnit >>> 7 === 439 && string.length > i + 1) {
  82356. t1 = i + 1;
  82357. this._writeEscape$4(buffer, 65536 + ((codeUnit & 1023) << 10) + (string.charCodeAt(t1) & 1023), string, t1);
  82358. return t1;
  82359. }
  82360. return null;
  82361. },
  82362. _writeEscape$4(buffer, character, string, i) {
  82363. var t1, next;
  82364. buffer.writeCharCode$1(92);
  82365. buffer.write$1(0, B.JSInt_methods.toRadixString$1(character, 16));
  82366. t1 = i + 1;
  82367. if (string.length === t1)
  82368. return;
  82369. next = string.charCodeAt(t1);
  82370. if (A.CharacterExtension_get_isHex(next) || 32 === next || 9 === next)
  82371. buffer.writeCharCode$1(32);
  82372. },
  82373. visitAttributeSelector$1(attribute) {
  82374. var _0_0, t2,
  82375. t1 = this._serialize$_buffer;
  82376. t1.writeCharCode$1(91);
  82377. t1.write$1(0, attribute.name);
  82378. _0_0 = attribute.value;
  82379. if (_0_0 != null) {
  82380. t1.write$1(0, attribute.op);
  82381. if (A.Parser_isIdentifier(_0_0) && !B.JSString_methods.startsWith$1(_0_0, "--")) {
  82382. t1.write$1(0, _0_0);
  82383. t2 = attribute.modifier;
  82384. if (t2 != null)
  82385. t1.writeCharCode$1(32);
  82386. } else {
  82387. this._visitQuotedString$1(_0_0);
  82388. t2 = attribute.modifier;
  82389. if (t2 != null)
  82390. if (this._style !== B.OutputStyle_1)
  82391. t1.writeCharCode$1(32);
  82392. }
  82393. A.NullableExtension_andThen(t2, t1.get$write(t1));
  82394. }
  82395. t1.writeCharCode$1(93);
  82396. },
  82397. visitClassSelector$1(klass) {
  82398. var t1 = this._serialize$_buffer;
  82399. t1.writeCharCode$1(46);
  82400. t1.write$1(0, klass.name);
  82401. },
  82402. visitComplexSelector$1(complex) {
  82403. var t2, t3, t4, t5, t6, i, component, t7, t8, t9, _this = this,
  82404. t1 = complex.leadingCombinators;
  82405. _this._writeCombinators$1(t1);
  82406. if (t1.length >= 1 && complex.components.length >= 1)
  82407. if (_this._style !== B.OutputStyle_1)
  82408. _this._serialize$_buffer.writeCharCode$1(32);
  82409. 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) {
  82410. component = t1[i];
  82411. _this.visitCompoundSelector$1(component.selector);
  82412. t7 = component.combinators;
  82413. t8 = t7.length === 0;
  82414. if (!t8)
  82415. if (t6)
  82416. t4.writeCharCode$1(32);
  82417. t9 = t5 ? "" : " ";
  82418. _this._writeBetween$3(t7, t9, t4.get$write(t4));
  82419. if (i !== t3)
  82420. t7 = !t5 || t8;
  82421. else
  82422. t7 = false;
  82423. if (t7)
  82424. t4.writeCharCode$1(32);
  82425. }
  82426. },
  82427. _writeCombinators$1(combinators) {
  82428. var t1 = this._style === B.OutputStyle_1 ? "" : " ",
  82429. t2 = this._serialize$_buffer;
  82430. return this._writeBetween$3(combinators, t1, t2.get$write(t2));
  82431. },
  82432. visitCompoundSelector$1(compound) {
  82433. var t2, t3, _i,
  82434. t1 = this._serialize$_buffer,
  82435. start = t1.get$length(t1);
  82436. for (t2 = compound.components, t3 = t2.length, _i = 0; _i < t3; ++_i)
  82437. t2[_i].accept$1(this);
  82438. if (t1.get$length(t1) === start)
  82439. t1.writeCharCode$1(42);
  82440. },
  82441. visitIDSelector$1(id) {
  82442. var t1 = this._serialize$_buffer;
  82443. t1.writeCharCode$1(35);
  82444. t1.write$1(0, id.name);
  82445. },
  82446. visitSelectorList$1(list) {
  82447. var t1, t2, t3, first, t4, _this = this,
  82448. complexes = list.components;
  82449. 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();) {
  82450. t4 = t1.get$current(t1);
  82451. if (first)
  82452. first = false;
  82453. else {
  82454. t3.writeCharCode$1(44);
  82455. if (t4.lineBreak) {
  82456. if (t2)
  82457. t3.write$1(0, "\n");
  82458. _this._writeIndentation$0();
  82459. } else if (t2)
  82460. t3.writeCharCode$1(32);
  82461. }
  82462. _this.visitComplexSelector$1(t4);
  82463. }
  82464. },
  82465. visitParentSelector$1($parent) {
  82466. var t1 = this._serialize$_buffer;
  82467. t1.writeCharCode$1(38);
  82468. A.NullableExtension_andThen($parent.suffix, t1.get$write(t1));
  82469. },
  82470. visitPlaceholderSelector$1(placeholder) {
  82471. var t1 = this._serialize$_buffer;
  82472. t1.writeCharCode$1(37);
  82473. t1.write$1(0, placeholder.name);
  82474. },
  82475. visitPseudoSelector$1(pseudo) {
  82476. var _0_4, t3,
  82477. t1 = pseudo.name,
  82478. t2 = false;
  82479. if ("not" === t1) {
  82480. _0_4 = pseudo.selector;
  82481. if (_0_4 instanceof A.SelectorList)
  82482. t2 = (_0_4 == null ? type$.SelectorList._as(_0_4) : _0_4).accept$1(B._IsInvisibleVisitor_true);
  82483. }
  82484. if (t2)
  82485. return;
  82486. t2 = this._serialize$_buffer;
  82487. t2.writeCharCode$1(58);
  82488. if (!pseudo.isSyntacticClass)
  82489. t2.writeCharCode$1(58);
  82490. t2.write$1(0, t1);
  82491. t1 = pseudo.argument;
  82492. t3 = t1 == null;
  82493. if (t3 && pseudo.selector == null)
  82494. return;
  82495. t2.writeCharCode$1(40);
  82496. if (!t3) {
  82497. t2.write$1(0, t1);
  82498. if (pseudo.selector != null)
  82499. t2.writeCharCode$1(32);
  82500. }
  82501. A.NullableExtension_andThen(pseudo.selector, this.get$visitSelectorList());
  82502. t2.writeCharCode$1(41);
  82503. },
  82504. visitTypeSelector$1(type) {
  82505. this._serialize$_buffer.write$1(0, type.name);
  82506. },
  82507. visitUniversalSelector$1(universal) {
  82508. var t2,
  82509. t1 = universal.namespace;
  82510. if (t1 != null) {
  82511. t2 = this._serialize$_buffer;
  82512. t2.write$1(0, t1);
  82513. t2.writeCharCode$1(124);
  82514. }
  82515. this._serialize$_buffer.writeCharCode$1(42);
  82516. },
  82517. _serialize$_write$1(value) {
  82518. return this._serialize$_buffer.forSpan$2(value.span, new A._SerializeVisitor__write_closure(this, value));
  82519. },
  82520. _serialize$_visitChildren$1($parent) {
  82521. var t2, t3, t4, t5, t6, t7, prePrevious, previous, t8, previous0, t9, savedIndentation, _this = this,
  82522. t1 = _this._serialize$_buffer;
  82523. t1.writeCharCode$1(123);
  82524. 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();) {
  82525. t8 = t2.__internal$_current;
  82526. previous0 = t8 == null ? t3._as(t8) : t8;
  82527. if (t7)
  82528. t8 = t4 ? previous0.accept$1(B._IsInvisibleVisitor_true_true) : previous0.accept$1(B._IsInvisibleVisitor_true_false);
  82529. else
  82530. t8 = false;
  82531. if (t8)
  82532. continue;
  82533. t8 = previous == null;
  82534. t9 = t8 ? null : t6.call$1(previous);
  82535. if (t9 == null ? false : t9)
  82536. t1.writeCharCode$1(59);
  82537. if (_this._isTrailingComment$2(previous0, t8 ? $parent : previous)) {
  82538. if (t5)
  82539. t1.writeCharCode$1(32);
  82540. savedIndentation = _this._indentation;
  82541. _this._indentation = 0;
  82542. new A._SerializeVisitor__visitChildren_closure(_this, previous0).call$0();
  82543. _this._indentation = savedIndentation;
  82544. } else {
  82545. if (t5)
  82546. t1.write$1(0, "\n");
  82547. ++_this._indentation;
  82548. new A._SerializeVisitor__visitChildren_closure0(_this, previous0).call$0();
  82549. --_this._indentation;
  82550. }
  82551. prePrevious = previous;
  82552. previous = previous0;
  82553. }
  82554. if (previous != null) {
  82555. if ((type$.CssParentNode._is(previous) ? previous.get$isChildless() : !(previous instanceof A.ModifiableCssComment)) && t5)
  82556. t1.writeCharCode$1(59);
  82557. if (prePrevious == null && _this._isTrailingComment$2(previous, $parent)) {
  82558. if (t5)
  82559. t1.writeCharCode$1(32);
  82560. } else {
  82561. _this._writeLineFeed$0();
  82562. _this._writeIndentation$0();
  82563. }
  82564. }
  82565. t1.writeCharCode$1(125);
  82566. },
  82567. _requiresSemicolon$1(node) {
  82568. return type$.CssParentNode._is(node) ? node.get$isChildless() : !(node instanceof A.ModifiableCssComment);
  82569. },
  82570. _isTrailingComment$2(node, previous) {
  82571. var t1, t2, t3, t4, searchFrom, endOffset, t5, span;
  82572. if (this._style === B.OutputStyle_1)
  82573. return false;
  82574. if (!(node instanceof A.ModifiableCssComment))
  82575. return false;
  82576. t1 = node.span;
  82577. t2 = t1.file;
  82578. t3 = t2.url;
  82579. t4 = previous.get$span(previous);
  82580. if (!J.$eq$(t3, t4.get$sourceUrl(t4)))
  82581. return false;
  82582. t4 = previous.get$span(previous);
  82583. 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)) {
  82584. t1 = A.FileLocation$_(t2, t1._file$_start);
  82585. t1 = t1.file.getLine$1(t1.offset);
  82586. t2 = previous.get$span(previous);
  82587. t2 = t2.get$end(t2);
  82588. return t1 === t2.file.getLine$1(t2.offset);
  82589. }
  82590. t1 = t1._file$_start;
  82591. t3 = A.FileLocation$_(t2, t1);
  82592. t4 = previous.get$span(previous);
  82593. searchFrom = t3.offset - t4.get$start(t4).offset - 1;
  82594. if (searchFrom < 0)
  82595. return false;
  82596. endOffset = Math.max(0, B.JSString_methods.lastIndexOf$2(previous.get$span(previous).get$text(), "{", searchFrom));
  82597. t3 = previous.get$span(previous);
  82598. t3 = t3.get$file(t3);
  82599. t4 = previous.get$span(previous);
  82600. t4 = t4.get$start(t4);
  82601. t5 = previous.get$span(previous);
  82602. span = t3.span$2(0, t4.offset, t5.get$start(t5).offset + endOffset);
  82603. t1 = A.FileLocation$_(t2, t1);
  82604. t1 = t1.file.getLine$1(t1.offset);
  82605. t2 = A.FileLocation$_(span.file, span._end);
  82606. return t1 === t2.file.getLine$1(t2.offset);
  82607. },
  82608. _writeLineFeed$0() {
  82609. if (this._style !== B.OutputStyle_1)
  82610. this._serialize$_buffer.write$1(0, "\n");
  82611. },
  82612. _writeIndentation$0() {
  82613. var _this = this;
  82614. if (_this._style === B.OutputStyle_1)
  82615. return;
  82616. _this._writeTimes$2(_this._indentCharacter, _this._indentation * _this._indentWidth);
  82617. },
  82618. _writeTimes$2(char, times) {
  82619. var t1, i;
  82620. for (t1 = this._serialize$_buffer, i = 0; i < times; ++i)
  82621. t1.writeCharCode$1(char);
  82622. },
  82623. _writeBetween$1$3(iterable, text, callback) {
  82624. var t1, t2, first, value;
  82625. for (t1 = J.get$iterator$ax(iterable), t2 = this._serialize$_buffer, first = true; t1.moveNext$0();) {
  82626. value = t1.get$current(t1);
  82627. if (first)
  82628. first = false;
  82629. else
  82630. t2.write$1(0, text);
  82631. callback.call$1(value);
  82632. }
  82633. },
  82634. _writeBetween$3(iterable, text, callback) {
  82635. callback.toString;
  82636. return this._writeBetween$1$3(iterable, text, callback, type$.dynamic);
  82637. }
  82638. };
  82639. A._SerializeVisitor_visitCssComment_closure.prototype = {
  82640. call$0() {
  82641. var t2, t3, _0_0, minimumIndentation,
  82642. t1 = this.$this;
  82643. if (t1._style === B.OutputStyle_1 && this.node.text.charCodeAt(2) !== 33)
  82644. return;
  82645. t2 = this.node;
  82646. t3 = t2.text;
  82647. if (B.JSString_methods.startsWith$1(t3, A.RegExp_RegExp("/\\*# source(Mapping)?URL=", false)))
  82648. return;
  82649. _0_0 = t1._minimumIndentation$1(t3);
  82650. if (_0_0 != null) {
  82651. t2 = t2.span;
  82652. t2 = A.FileLocation$_(t2.file, t2._file$_start);
  82653. minimumIndentation = Math.min(_0_0, t2.file.getColumn$1(t2.offset));
  82654. t1._writeIndentation$0();
  82655. t1._writeWithIndent$2(t3, minimumIndentation);
  82656. } else {
  82657. t1._writeIndentation$0();
  82658. t1._serialize$_buffer.write$1(0, t3);
  82659. }
  82660. },
  82661. $signature: 1
  82662. };
  82663. A._SerializeVisitor_visitCssAtRule_closure.prototype = {
  82664. call$0() {
  82665. var t3, _0_0,
  82666. t1 = this.$this,
  82667. t2 = t1._serialize$_buffer;
  82668. t2.writeCharCode$1(64);
  82669. t3 = this.node;
  82670. t1._serialize$_write$1(t3.name);
  82671. _0_0 = t3.value;
  82672. if (_0_0 != null) {
  82673. t2.writeCharCode$1(32);
  82674. t1._serialize$_write$1(_0_0);
  82675. }
  82676. },
  82677. $signature: 1
  82678. };
  82679. A._SerializeVisitor_visitCssMediaRule_closure.prototype = {
  82680. call$0() {
  82681. var t3, firstQuery, t4, t5,
  82682. t1 = this.$this,
  82683. t2 = t1._serialize$_buffer;
  82684. t2.write$1(0, "@media");
  82685. t3 = this.node.queries;
  82686. firstQuery = B.JSArray_methods.get$first(t3);
  82687. t4 = t1._style === B.OutputStyle_1;
  82688. t5 = true;
  82689. if (t4)
  82690. if (firstQuery.modifier == null)
  82691. if (firstQuery.type == null) {
  82692. t5 = firstQuery.conditions;
  82693. t5 = t5.length === 1 && J.startsWith$1$s(B.JSArray_methods.get$first(t5), "(not ");
  82694. }
  82695. if (t5)
  82696. t2.writeCharCode$1(32);
  82697. t2 = t4 ? "," : ", ";
  82698. t1._writeBetween$3(t3, t2, t1.get$_visitMediaQuery());
  82699. },
  82700. $signature: 1
  82701. };
  82702. A._SerializeVisitor_visitCssImport_closure.prototype = {
  82703. call$0() {
  82704. var t3, t4, _0_0,
  82705. t1 = this.$this,
  82706. t2 = t1._serialize$_buffer;
  82707. t2.write$1(0, "@import");
  82708. t3 = t1._style !== B.OutputStyle_1;
  82709. if (t3)
  82710. t2.writeCharCode$1(32);
  82711. t4 = this.node;
  82712. t2.forSpan$2(t4.url.span, new A._SerializeVisitor_visitCssImport__closure(t1, t4));
  82713. _0_0 = t4.modifiers;
  82714. if (_0_0 != null) {
  82715. if (t3)
  82716. t2.writeCharCode$1(32);
  82717. t2.write$1(0, _0_0);
  82718. }
  82719. },
  82720. $signature: 1
  82721. };
  82722. A._SerializeVisitor_visitCssImport__closure.prototype = {
  82723. call$0() {
  82724. return this.$this._writeImportUrl$1(this.node.url.value);
  82725. },
  82726. $signature: 0
  82727. };
  82728. A._SerializeVisitor_visitCssKeyframeBlock_closure.prototype = {
  82729. call$0() {
  82730. var t1 = this.$this,
  82731. t2 = t1._style === B.OutputStyle_1 ? "," : ", ",
  82732. t3 = t1._serialize$_buffer;
  82733. return t1._writeBetween$3(this.node.selector.value, t2, t3.get$write(t3));
  82734. },
  82735. $signature: 0
  82736. };
  82737. A._SerializeVisitor_visitCssStyleRule_closure.prototype = {
  82738. call$0() {
  82739. return this.$this.visitSelectorList$1(this.node._style_rule$_selector._box$_inner.value);
  82740. },
  82741. $signature: 0
  82742. };
  82743. A._SerializeVisitor_visitCssSupportsRule_closure.prototype = {
  82744. call$0() {
  82745. var t1 = this.$this,
  82746. t2 = t1._serialize$_buffer;
  82747. t2.write$1(0, "@supports");
  82748. if (!(t1._style === B.OutputStyle_1 && J.codeUnitAt$1$s(this.node.condition.value, 0) === 40))
  82749. t2.writeCharCode$1(32);
  82750. t1._serialize$_write$1(this.node.condition);
  82751. },
  82752. $signature: 1
  82753. };
  82754. A._SerializeVisitor_visitCssDeclaration_closure.prototype = {
  82755. call$0() {
  82756. var t1 = this.$this,
  82757. t2 = this.node;
  82758. if (t1._style === B.OutputStyle_1)
  82759. t1._writeFoldedValue$1(t2);
  82760. else
  82761. t1._writeReindentedValue$1(t2);
  82762. },
  82763. $signature: 1
  82764. };
  82765. A._SerializeVisitor_visitCssDeclaration_closure0.prototype = {
  82766. call$0() {
  82767. return this.node.value.value.accept$1(this.$this);
  82768. },
  82769. $signature: 0
  82770. };
  82771. A._SerializeVisitor_visitList_closure.prototype = {
  82772. call$1(element) {
  82773. return !element.get$isBlank();
  82774. },
  82775. $signature: 67
  82776. };
  82777. A._SerializeVisitor_visitList_closure0.prototype = {
  82778. call$1(element) {
  82779. var t1 = this.$this,
  82780. needsParens = t1._elementNeedsParens$2(this.value._separator, element);
  82781. if (needsParens)
  82782. t1._serialize$_buffer.writeCharCode$1(40);
  82783. element.accept$1(t1);
  82784. if (needsParens)
  82785. t1._serialize$_buffer.writeCharCode$1(41);
  82786. },
  82787. $signature: 62
  82788. };
  82789. A._SerializeVisitor_visitList_closure1.prototype = {
  82790. call$1(element) {
  82791. element.accept$1(this.$this);
  82792. },
  82793. $signature: 62
  82794. };
  82795. A._SerializeVisitor_visitMap_closure.prototype = {
  82796. call$1(entry) {
  82797. var t1 = this.$this;
  82798. t1._writeMapElement$1(entry.key);
  82799. t1._serialize$_buffer.write$1(0, ": ");
  82800. t1._writeMapElement$1(entry.value);
  82801. },
  82802. $signature: 280
  82803. };
  82804. A._SerializeVisitor_visitSelectorList_closure.prototype = {
  82805. call$1(complex) {
  82806. return !complex.accept$1(B._IsInvisibleVisitor_true);
  82807. },
  82808. $signature: 19
  82809. };
  82810. A._SerializeVisitor__write_closure.prototype = {
  82811. call$0() {
  82812. return this.$this._serialize$_buffer.write$1(0, this.value.value);
  82813. },
  82814. $signature: 0
  82815. };
  82816. A._SerializeVisitor__visitChildren_closure.prototype = {
  82817. call$0() {
  82818. return this.child.accept$1(this.$this);
  82819. },
  82820. $signature: 0
  82821. };
  82822. A._SerializeVisitor__visitChildren_closure0.prototype = {
  82823. call$0() {
  82824. this.child.accept$1(this.$this);
  82825. },
  82826. $signature: 0
  82827. };
  82828. A.OutputStyle.prototype = {
  82829. _enumToString$0() {
  82830. return "OutputStyle." + this._name;
  82831. }
  82832. };
  82833. A.LineFeed.prototype = {
  82834. _enumToString$0() {
  82835. return "LineFeed." + this._name;
  82836. },
  82837. toString$0(_) {
  82838. return "lf";
  82839. }
  82840. };
  82841. A.StatementSearchVisitor.prototype = {
  82842. visitAtRootRule$1(_, node) {
  82843. return this.visitChildren$1(node.children);
  82844. },
  82845. visitAtRule$1(_, node) {
  82846. return A.NullableExtension_andThen(node.children, this.get$visitChildren());
  82847. },
  82848. visitContentBlock$1(_, node) {
  82849. return this.visitChildren$1(node.children);
  82850. },
  82851. visitContentRule$1(_, node) {
  82852. return null;
  82853. },
  82854. visitDebugRule$1(_, node) {
  82855. return null;
  82856. },
  82857. visitDeclaration$1(_, node) {
  82858. return A.NullableExtension_andThen(node.children, this.get$visitChildren());
  82859. },
  82860. visitEachRule$1(_, node) {
  82861. return this.visitChildren$1(node.children);
  82862. },
  82863. visitErrorRule$1(_, node) {
  82864. return null;
  82865. },
  82866. visitExtendRule$1(_, node) {
  82867. return null;
  82868. },
  82869. visitForRule$1(_, node) {
  82870. return this.visitChildren$1(node.children);
  82871. },
  82872. visitForwardRule$1(_, node) {
  82873. return null;
  82874. },
  82875. visitFunctionRule$1(_, node) {
  82876. return this.visitChildren$1(node.children);
  82877. },
  82878. visitIfRule$1(_, node) {
  82879. var t1 = A.IterableExtension_search(node.clauses, new A.StatementSearchVisitor_visitIfRule_closure(this));
  82880. return t1 == null ? A.NullableExtension_andThen(node.lastClause, new A.StatementSearchVisitor_visitIfRule_closure0(this)) : t1;
  82881. },
  82882. visitImportRule$1(_, node) {
  82883. return null;
  82884. },
  82885. visitIncludeRule$1(_, node) {
  82886. return A.NullableExtension_andThen(node.content, this.get$visitContentBlock(this));
  82887. },
  82888. visitLoudComment$1(_, node) {
  82889. return null;
  82890. },
  82891. visitMediaRule$1(_, node) {
  82892. return this.visitChildren$1(node.children);
  82893. },
  82894. visitMixinRule$1(_, node) {
  82895. return this.visitChildren$1(node.children);
  82896. },
  82897. visitReturnRule$1(_, node) {
  82898. return null;
  82899. },
  82900. visitSilentComment$1(_, node) {
  82901. return null;
  82902. },
  82903. visitStyleRule$1(_, node) {
  82904. return this.visitChildren$1(node.children);
  82905. },
  82906. visitStylesheet$1(_, node) {
  82907. return this.visitChildren$1(node.children);
  82908. },
  82909. visitSupportsRule$1(_, node) {
  82910. return this.visitChildren$1(node.children);
  82911. },
  82912. visitUseRule$1(_, node) {
  82913. return null;
  82914. },
  82915. visitVariableDeclaration$1(_, node) {
  82916. return null;
  82917. },
  82918. visitWarnRule$1(_, node) {
  82919. return null;
  82920. },
  82921. visitWhileRule$1(_, node) {
  82922. return this.visitChildren$1(node.children);
  82923. },
  82924. visitChildren$1(children) {
  82925. return A.IterableExtension_search(children, new A.StatementSearchVisitor_visitChildren_closure(this));
  82926. }
  82927. };
  82928. A.StatementSearchVisitor_visitIfRule_closure.prototype = {
  82929. call$1(clause) {
  82930. return A.IterableExtension_search(clause.children, new A.StatementSearchVisitor_visitIfRule__closure0(this.$this));
  82931. },
  82932. $signature() {
  82933. return A._instanceType(this.$this)._eval$1("StatementSearchVisitor.T?(IfClause)");
  82934. }
  82935. };
  82936. A.StatementSearchVisitor_visitIfRule__closure0.prototype = {
  82937. call$1(child) {
  82938. return child.accept$1(this.$this);
  82939. },
  82940. $signature() {
  82941. return A._instanceType(this.$this)._eval$1("StatementSearchVisitor.T?(Statement)");
  82942. }
  82943. };
  82944. A.StatementSearchVisitor_visitIfRule_closure0.prototype = {
  82945. call$1(lastClause) {
  82946. return A.IterableExtension_search(lastClause.children, new A.StatementSearchVisitor_visitIfRule__closure(this.$this));
  82947. },
  82948. $signature() {
  82949. return A._instanceType(this.$this)._eval$1("StatementSearchVisitor.T?(ElseClause)");
  82950. }
  82951. };
  82952. A.StatementSearchVisitor_visitIfRule__closure.prototype = {
  82953. call$1(child) {
  82954. return child.accept$1(this.$this);
  82955. },
  82956. $signature() {
  82957. return A._instanceType(this.$this)._eval$1("StatementSearchVisitor.T?(Statement)");
  82958. }
  82959. };
  82960. A.StatementSearchVisitor_visitChildren_closure.prototype = {
  82961. call$1(child) {
  82962. return child.accept$1(this.$this);
  82963. },
  82964. $signature() {
  82965. return A._instanceType(this.$this)._eval$1("StatementSearchVisitor.T?(Statement)");
  82966. }
  82967. };
  82968. A.Entry.prototype = {
  82969. compareTo$1(_, other) {
  82970. var t1, t2,
  82971. res = this.target.compareTo$1(0, other.target);
  82972. if (res !== 0)
  82973. return res;
  82974. t1 = this.source;
  82975. t2 = other.source;
  82976. res = B.JSString_methods.compareTo$1(J.toString$0$(t1.file.url), J.toString$0$(t2.file.url));
  82977. if (res !== 0)
  82978. return res;
  82979. return t1.compareTo$1(0, t2);
  82980. },
  82981. $isComparable: 1
  82982. };
  82983. A.Mapping.prototype = {};
  82984. A.SingleMapping.prototype = {
  82985. toJson$1$includeSourceContents(includeSourceContents) {
  82986. 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,
  82987. buff = new A.StringBuffer("");
  82988. 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) {
  82989. entry = t1[_i];
  82990. nextLine = entry.line;
  82991. if (nextLine > line) {
  82992. for (i = line; i < nextLine; ++i)
  82993. buff._contents += ";";
  82994. line = nextLine;
  82995. column = 0;
  82996. first = true;
  82997. }
  82998. for (t3 = J.get$iterator$ax(entry.entries); t3.moveNext$0(); column = column0, first = false) {
  82999. t4 = t3.get$current(t3);
  83000. if (!first)
  83001. buff._contents += ",";
  83002. column0 = t4.column;
  83003. t5 = A.encodeVlq(column0 - column);
  83004. t5 = A.StringBuffer__writeAll(buff._contents, t5, "");
  83005. buff._contents = t5;
  83006. newUrlId = t4.sourceUrlId;
  83007. t5 = A.StringBuffer__writeAll(t5, A.encodeVlq(newUrlId - srcUrlId), "");
  83008. buff._contents = t5;
  83009. srcLine0 = t4.sourceLine;
  83010. t5 = A.StringBuffer__writeAll(t5, A.encodeVlq(srcLine0 - srcLine), "");
  83011. buff._contents = t5;
  83012. srcColumn0 = t4.sourceColumn;
  83013. t5 = A.StringBuffer__writeAll(t5, A.encodeVlq(srcColumn0 - srcColumn), "");
  83014. buff._contents = t5;
  83015. srcNameId0 = t4.sourceNameId;
  83016. if (srcNameId0 == null) {
  83017. srcUrlId = newUrlId;
  83018. srcColumn = srcColumn0;
  83019. srcLine = srcLine0;
  83020. continue;
  83021. }
  83022. buff._contents = A.StringBuffer__writeAll(t5, A.encodeVlq(srcNameId0 - srcNameId), "");
  83023. srcNameId = srcNameId0;
  83024. srcUrlId = newUrlId;
  83025. srcColumn = srcColumn0;
  83026. srcLine = srcLine0;
  83027. }
  83028. }
  83029. t1 = _this.sourceRoot;
  83030. if (t1 == null)
  83031. t1 = "";
  83032. t2 = buff._contents;
  83033. 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);
  83034. t1 = _this.targetUrl;
  83035. if (t1 != null)
  83036. result.$indexSet(0, "file", t1);
  83037. if (includeSourceContents) {
  83038. t1 = _this.files;
  83039. t2 = A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,String?>");
  83040. t1 = A.List_List$_of(new A.MappedListIterable(t1, new A.SingleMapping_toJson_closure(), t2), t2._eval$1("ListIterable.E"));
  83041. result.$indexSet(0, "sourcesContent", t1);
  83042. }
  83043. _this.extensions.forEach$1(0, new A.SingleMapping_toJson_closure0(result));
  83044. return result;
  83045. },
  83046. toJson$0() {
  83047. return this.toJson$1$includeSourceContents(false);
  83048. },
  83049. toString$0(_) {
  83050. var _this = this,
  83051. 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) + "]";
  83052. return t1.charCodeAt(0) == 0 ? t1 : t1;
  83053. }
  83054. };
  83055. A.SingleMapping_SingleMapping$fromEntries_closure.prototype = {
  83056. call$0() {
  83057. return this.urls.__js_helper$_length;
  83058. },
  83059. $signature: 10
  83060. };
  83061. A.SingleMapping_SingleMapping$fromEntries_closure0.prototype = {
  83062. call$0() {
  83063. return this.sourceEntry.source.file;
  83064. },
  83065. $signature: 281
  83066. };
  83067. A.SingleMapping_SingleMapping$fromEntries_closure1.prototype = {
  83068. call$1(i) {
  83069. return this.files.$index(0, i);
  83070. },
  83071. $signature: 282
  83072. };
  83073. A.SingleMapping_toJson_closure.prototype = {
  83074. call$1(file) {
  83075. return file == null ? null : A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(file._decodedChars, 0, null), 0, null);
  83076. },
  83077. $signature: 283
  83078. };
  83079. A.SingleMapping_toJson_closure0.prototype = {
  83080. call$2($name, value) {
  83081. this.result.$indexSet(0, $name, value);
  83082. return value;
  83083. },
  83084. $signature: 139
  83085. };
  83086. A.TargetLineEntry.prototype = {
  83087. toString$0(_) {
  83088. return A.getRuntimeTypeOfDartObject(this).toString$0(0) + ": " + this.line + " " + A.S(this.entries);
  83089. }
  83090. };
  83091. A.TargetEntry.prototype = {
  83092. toString$0(_) {
  83093. var _this = this;
  83094. return A.getRuntimeTypeOfDartObject(_this).toString$0(0) + ": (" + _this.column + ", " + _this.sourceUrlId + ", " + _this.sourceLine + ", " + _this.sourceColumn + ", " + A.S(_this.sourceNameId) + ")";
  83095. }
  83096. };
  83097. A.SourceFile.prototype = {
  83098. get$length(_) {
  83099. return this._decodedChars.length;
  83100. },
  83101. get$lines() {
  83102. return this._lineStarts.length;
  83103. },
  83104. SourceFile$decoded$2$url(decodedChars, url) {
  83105. var t1, t2, t3, i, c, j;
  83106. for (t1 = this._decodedChars, t2 = t1.length, t3 = this._lineStarts, i = 0; i < t2; ++i) {
  83107. c = t1[i];
  83108. if (c === 13) {
  83109. j = i + 1;
  83110. if (j >= t2 || t1[j] !== 10)
  83111. c = 10;
  83112. }
  83113. if (c === 10)
  83114. t3.push(i + 1);
  83115. }
  83116. },
  83117. span$2(_, start, end) {
  83118. return A._FileSpan$(this, start, end == null ? this._decodedChars.length : end);
  83119. },
  83120. span$1(_, start) {
  83121. return this.span$2(0, start, null);
  83122. },
  83123. getLine$1(offset) {
  83124. var t1, _this = this;
  83125. if (offset < 0)
  83126. throw A.wrapException(A.RangeError$("Offset may not be negative, was " + offset + "."));
  83127. else if (offset > _this._decodedChars.length)
  83128. throw A.wrapException(A.RangeError$("Offset " + offset + string$.x20must_n + _this.get$length(0) + "."));
  83129. t1 = _this._lineStarts;
  83130. if (offset < B.JSArray_methods.get$first(t1))
  83131. return -1;
  83132. if (offset >= B.JSArray_methods.get$last(t1))
  83133. return t1.length - 1;
  83134. if (_this._isNearCachedLine$1(offset)) {
  83135. t1 = _this._cachedLine;
  83136. t1.toString;
  83137. return t1;
  83138. }
  83139. return _this._cachedLine = _this._binarySearch$1(offset) - 1;
  83140. },
  83141. _isNearCachedLine$1(offset) {
  83142. var t2, t3,
  83143. t1 = this._cachedLine;
  83144. if (t1 == null)
  83145. return false;
  83146. t2 = this._lineStarts;
  83147. if (offset < t2[t1])
  83148. return false;
  83149. t3 = t2.length;
  83150. if (t1 >= t3 - 1 || offset < t2[t1 + 1])
  83151. return true;
  83152. if (t1 >= t3 - 2 || offset < t2[t1 + 2]) {
  83153. this._cachedLine = t1 + 1;
  83154. return true;
  83155. }
  83156. return false;
  83157. },
  83158. _binarySearch$1(offset) {
  83159. var min, half,
  83160. t1 = this._lineStarts,
  83161. max = t1.length - 1;
  83162. for (min = 0; min < max;) {
  83163. half = min + B.JSInt_methods._tdivFast$1(max - min, 2);
  83164. if (t1[half] > offset)
  83165. max = half;
  83166. else
  83167. min = half + 1;
  83168. }
  83169. return max;
  83170. },
  83171. getColumn$1(offset) {
  83172. var line, lineStart, _this = this;
  83173. if (offset < 0)
  83174. throw A.wrapException(A.RangeError$("Offset may not be negative, was " + offset + "."));
  83175. else if (offset > _this._decodedChars.length)
  83176. throw A.wrapException(A.RangeError$("Offset " + offset + " must be not be greater than the number of characters in the file, " + _this.get$length(0) + "."));
  83177. line = _this.getLine$1(offset);
  83178. lineStart = _this._lineStarts[line];
  83179. if (lineStart > offset)
  83180. throw A.wrapException(A.RangeError$("Line " + line + " comes after offset " + offset + "."));
  83181. return offset - lineStart;
  83182. },
  83183. getOffset$1(line) {
  83184. var t1, t2, result, t3;
  83185. if (line < 0)
  83186. throw A.wrapException(A.RangeError$("Line may not be negative, was " + line + "."));
  83187. else {
  83188. t1 = this._lineStarts;
  83189. t2 = t1.length;
  83190. if (line >= t2)
  83191. throw A.wrapException(A.RangeError$("Line " + line + " must be less than the number of lines in the file, " + this.get$lines() + "."));
  83192. }
  83193. result = t1[line];
  83194. if (result <= this._decodedChars.length) {
  83195. t3 = line + 1;
  83196. t1 = t3 < t2 && result >= t1[t3];
  83197. } else
  83198. t1 = true;
  83199. if (t1)
  83200. throw A.wrapException(A.RangeError$("Line " + line + " doesn't have 0 columns."));
  83201. return result;
  83202. }
  83203. };
  83204. A.FileLocation.prototype = {
  83205. get$sourceUrl(_) {
  83206. return this.file.url;
  83207. },
  83208. get$line() {
  83209. return this.file.getLine$1(this.offset);
  83210. },
  83211. get$column() {
  83212. return this.file.getColumn$1(this.offset);
  83213. },
  83214. FileLocation$_$2(file, offset) {
  83215. var t2,
  83216. t1 = this.offset;
  83217. if (t1 < 0)
  83218. throw A.wrapException(A.RangeError$("Offset may not be negative, was " + t1 + "."));
  83219. else {
  83220. t2 = this.file;
  83221. if (t1 > t2._decodedChars.length)
  83222. throw A.wrapException(A.RangeError$("Offset " + t1 + string$.x20must_n + t2.get$length(0) + "."));
  83223. }
  83224. },
  83225. pointSpan$0() {
  83226. var t1 = this.offset;
  83227. return A._FileSpan$(this.file, t1, t1);
  83228. },
  83229. get$offset() {
  83230. return this.offset;
  83231. }
  83232. };
  83233. A._FileSpan.prototype = {
  83234. get$sourceUrl(_) {
  83235. return this.file.url;
  83236. },
  83237. get$length(_) {
  83238. return this._end - this._file$_start;
  83239. },
  83240. get$start(_) {
  83241. return A.FileLocation$_(this.file, this._file$_start);
  83242. },
  83243. get$end(_) {
  83244. return A.FileLocation$_(this.file, this._end);
  83245. },
  83246. get$text() {
  83247. return A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(this.file._decodedChars, this._file$_start, this._end), 0, null);
  83248. },
  83249. get$context(_) {
  83250. var _this = this,
  83251. t1 = _this.file,
  83252. endOffset = _this._end,
  83253. endLine = t1.getLine$1(endOffset);
  83254. if (t1.getColumn$1(endOffset) === 0 && endLine !== 0) {
  83255. if (endOffset - _this._file$_start === 0)
  83256. 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);
  83257. } else
  83258. endOffset = endLine === t1._lineStarts.length - 1 ? t1._decodedChars.length : t1.getOffset$1(endLine + 1);
  83259. return A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t1._decodedChars, t1.getOffset$1(t1.getLine$1(_this._file$_start)), endOffset), 0, null);
  83260. },
  83261. _FileSpan$3(file, _start, _end) {
  83262. var t3,
  83263. t1 = this._end,
  83264. t2 = this._file$_start;
  83265. if (t1 < t2)
  83266. throw A.wrapException(A.ArgumentError$("End " + t1 + " must come after start " + t2 + ".", null));
  83267. else {
  83268. t3 = this.file;
  83269. if (t1 > t3._decodedChars.length)
  83270. throw A.wrapException(A.RangeError$("End " + t1 + string$.x20must_n + t3.get$length(0) + "."));
  83271. else if (t2 < 0)
  83272. throw A.wrapException(A.RangeError$("Start may not be negative, was " + t2 + "."));
  83273. }
  83274. },
  83275. compareTo$1(_, other) {
  83276. var result;
  83277. if (!(other instanceof A._FileSpan))
  83278. return this.super$SourceSpanMixin$compareTo(0, other);
  83279. result = B.JSInt_methods.compareTo$1(this._file$_start, other._file$_start);
  83280. return result === 0 ? B.JSInt_methods.compareTo$1(this._end, other._end) : result;
  83281. },
  83282. $eq(_, other) {
  83283. var _this = this;
  83284. if (other == null)
  83285. return false;
  83286. if (!type$.FileSpan._is(other))
  83287. return _this.super$SourceSpanMixin$$eq(0, other);
  83288. if (!(other instanceof A._FileSpan))
  83289. return _this.super$SourceSpanMixin$$eq(0, other) && J.$eq$(_this.file.url, other.get$sourceUrl(other));
  83290. return _this._file$_start === other._file$_start && _this._end === other._end && J.$eq$(_this.file.url, other.file.url);
  83291. },
  83292. get$hashCode(_) {
  83293. return A.Object_hash(this._file$_start, this._end, this.file.url, B.C_SentinelValue);
  83294. },
  83295. expand$1(_, other) {
  83296. var t2, t3, _this = this,
  83297. t1 = _this.file;
  83298. if (!J.$eq$(t1.url, other.get$sourceUrl(other)))
  83299. throw A.wrapException(A.ArgumentError$('Source URLs "' + A.S(_this.get$sourceUrl(0)) + '" and "' + A.S(other.get$sourceUrl(other)) + "\" don't match.", null));
  83300. t2 = _this._file$_start;
  83301. t3 = _this._end;
  83302. if (other instanceof A._FileSpan)
  83303. return A._FileSpan$(t1, Math.min(t2, other._file$_start), Math.max(t3, other._end));
  83304. else
  83305. return A._FileSpan$(t1, Math.min(t2, other.get$start(other).offset), Math.max(t3, other.get$end(other).offset));
  83306. },
  83307. $isFileSpan: 1,
  83308. $isSourceSpanWithContext: 1,
  83309. get$file(receiver) {
  83310. return this.file;
  83311. }
  83312. };
  83313. A.Highlighter.prototype = {
  83314. highlight$0() {
  83315. var t2, highlightsByColumn, t3, t4, i, line, lastLine, t5, t6, t7, t8, t9, t10, t11, index, primaryIdx, primary, _i, highlight, _this = this, _null = null,
  83316. t1 = _this._lines;
  83317. _this._writeFileStart$1(B.JSArray_methods.get$first(t1).url);
  83318. t2 = _this._maxMultilineSpans;
  83319. highlightsByColumn = A.List_List$filled(t2, _null, false, type$.nullable__Highlight);
  83320. for (t3 = _this._highlighter$_buffer, t2 = t2 !== 0, t4 = _this._primaryColor, i = 0; i < t1.length; ++i) {
  83321. line = t1[i];
  83322. if (i > 0) {
  83323. lastLine = t1[i - 1];
  83324. t5 = line.url;
  83325. if (!J.$eq$(lastLine.url, t5)) {
  83326. _this._writeSidebar$1$end($._glyphs.get$upEnd());
  83327. t3._contents += "\n";
  83328. _this._writeFileStart$1(t5);
  83329. } else if (lastLine.number + 1 !== line.number) {
  83330. _this._writeSidebar$1$text("...");
  83331. t3._contents += "\n";
  83332. }
  83333. }
  83334. 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();) {
  83335. t10 = t7.__internal$_current;
  83336. if (t10 == null)
  83337. t10 = t6._as(t10);
  83338. t11 = t10.span;
  83339. 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()))) {
  83340. index = B.JSArray_methods.indexOf$1(highlightsByColumn, _null);
  83341. if (index < 0)
  83342. A.throwExpression(A.ArgumentError$(A.S(highlightsByColumn) + " contains no null elements.", _null));
  83343. highlightsByColumn[index] = t10;
  83344. }
  83345. }
  83346. _this._writeSidebar$1$line(t8);
  83347. t3._contents += " ";
  83348. _this._writeMultilineHighlights$2(line, highlightsByColumn);
  83349. if (t2)
  83350. t3._contents += " ";
  83351. primaryIdx = B.JSArray_methods.indexWhere$1(t5, new A.Highlighter_highlight_closure());
  83352. primary = primaryIdx === -1 ? _null : t5[primaryIdx];
  83353. t6 = primary != null;
  83354. if (t6) {
  83355. t7 = primary.span;
  83356. t10 = t7.get$start(t7).get$line() === t8 ? t7.get$start(t7).get$column() : 0;
  83357. _this._writeHighlightedText$4$color(t9, t10, t7.get$end(t7).get$line() === t8 ? t7.get$end(t7).get$column() : t9.length, t4);
  83358. } else
  83359. _this._writeText$1(t9);
  83360. t3._contents += "\n";
  83361. if (t6)
  83362. _this._writeIndicator$3(line, primary, highlightsByColumn);
  83363. for (t6 = t5.length, _i = 0; _i < t5.length; t5.length === t6 || (0, A.throwConcurrentModificationError)(t5), ++_i) {
  83364. highlight = t5[_i];
  83365. if (highlight.isPrimary)
  83366. continue;
  83367. _this._writeIndicator$3(line, highlight, highlightsByColumn);
  83368. }
  83369. }
  83370. _this._writeSidebar$1$end($._glyphs.get$upEnd());
  83371. t1 = t3._contents;
  83372. return t1.charCodeAt(0) == 0 ? t1 : t1;
  83373. },
  83374. _writeFileStart$1(url) {
  83375. var _this = this,
  83376. t1 = !_this._multipleFiles || !type$.Uri._is(url),
  83377. t2 = $._glyphs;
  83378. if (t1)
  83379. _this._writeSidebar$1$end(t2.get$downEnd());
  83380. else {
  83381. _this._writeSidebar$1$end(t2.get$topLeftCorner());
  83382. _this._colorize$2$color(new A.Highlighter__writeFileStart_closure(_this), "\x1b[34m");
  83383. t1 = _this._highlighter$_buffer;
  83384. t2 = " " + $.$get$context().prettyUri$1(url);
  83385. t1._contents += t2;
  83386. }
  83387. _this._highlighter$_buffer._contents += "\n";
  83388. },
  83389. _writeMultilineHighlights$3$current(line, highlightsByColumn, current) {
  83390. var t1, currentColor, t2, t3, t4, t5, foundCurrent, _i, highlight, t6, startLine, t7, endLine, _this = this, _box_0 = {};
  83391. _box_0.openedOnThisLine = false;
  83392. _box_0.openedOnThisLineColor = null;
  83393. t1 = current == null;
  83394. if (t1)
  83395. currentColor = null;
  83396. else
  83397. currentColor = current.isPrimary ? _this._primaryColor : _this._secondaryColor;
  83398. for (t2 = highlightsByColumn.length, t3 = _this._secondaryColor, t1 = !t1, t4 = _this._primaryColor, t5 = _this._highlighter$_buffer, foundCurrent = false, _i = 0; _i < t2; ++_i) {
  83399. highlight = highlightsByColumn[_i];
  83400. t6 = highlight == null;
  83401. if (t6)
  83402. startLine = null;
  83403. else {
  83404. t7 = highlight.span;
  83405. startLine = t7.get$start(t7).get$line();
  83406. }
  83407. if (t6)
  83408. endLine = null;
  83409. else {
  83410. t7 = highlight.span;
  83411. endLine = t7.get$end(t7).get$line();
  83412. }
  83413. if (t1 && highlight === current) {
  83414. _this._colorize$2$color(new A.Highlighter__writeMultilineHighlights_closure(_this, startLine, line), currentColor);
  83415. foundCurrent = true;
  83416. } else if (foundCurrent)
  83417. _this._colorize$2$color(new A.Highlighter__writeMultilineHighlights_closure0(_this, highlight), currentColor);
  83418. else if (t6)
  83419. if (_box_0.openedOnThisLine)
  83420. _this._colorize$2$color(new A.Highlighter__writeMultilineHighlights_closure1(_this), _box_0.openedOnThisLineColor);
  83421. else
  83422. t5._contents += " ";
  83423. else {
  83424. t6 = highlight.isPrimary ? t4 : t3;
  83425. _this._colorize$2$color(new A.Highlighter__writeMultilineHighlights_closure2(_box_0, _this, current, startLine, line, highlight, endLine), t6);
  83426. }
  83427. }
  83428. },
  83429. _writeMultilineHighlights$2(line, highlightsByColumn) {
  83430. return this._writeMultilineHighlights$3$current(line, highlightsByColumn, null);
  83431. },
  83432. _writeHighlightedText$4$color(text, startColumn, endColumn, color) {
  83433. var _this = this;
  83434. _this._writeText$1(B.JSString_methods.substring$2(text, 0, startColumn));
  83435. _this._colorize$2$color(new A.Highlighter__writeHighlightedText_closure(_this, text, startColumn, endColumn), color);
  83436. _this._writeText$1(B.JSString_methods.substring$2(text, endColumn, text.length));
  83437. },
  83438. _writeIndicator$3(line, highlight, highlightsByColumn) {
  83439. var t2, coversWholeLine, _this = this,
  83440. color = highlight.isPrimary ? _this._primaryColor : _this._secondaryColor,
  83441. t1 = highlight.span;
  83442. if (t1.get$start(t1).get$line() === t1.get$end(t1).get$line()) {
  83443. _this._writeSidebar$0();
  83444. t1 = _this._highlighter$_buffer;
  83445. t1._contents += " ";
  83446. _this._writeMultilineHighlights$3$current(line, highlightsByColumn, highlight);
  83447. if (highlightsByColumn.length !== 0)
  83448. t1._contents += " ";
  83449. _this._writeLabel$3(highlight, highlightsByColumn, _this._colorize$2$color(new A.Highlighter__writeIndicator_closure(_this, line, highlight), color));
  83450. } else {
  83451. t2 = line.number;
  83452. if (t1.get$start(t1).get$line() === t2) {
  83453. if (B.JSArray_methods.contains$1(highlightsByColumn, highlight))
  83454. return;
  83455. A.replaceFirstNull(highlightsByColumn, highlight);
  83456. _this._writeSidebar$0();
  83457. t1 = _this._highlighter$_buffer;
  83458. t1._contents += " ";
  83459. _this._writeMultilineHighlights$3$current(line, highlightsByColumn, highlight);
  83460. _this._colorize$2$color(new A.Highlighter__writeIndicator_closure0(_this, line, highlight), color);
  83461. t1._contents += "\n";
  83462. } else if (t1.get$end(t1).get$line() === t2) {
  83463. coversWholeLine = t1.get$end(t1).get$column() === line.text.length;
  83464. if (coversWholeLine && highlight.label == null) {
  83465. A.replaceWithNull(highlightsByColumn, highlight);
  83466. return;
  83467. }
  83468. _this._writeSidebar$0();
  83469. _this._highlighter$_buffer._contents += " ";
  83470. _this._writeMultilineHighlights$3$current(line, highlightsByColumn, highlight);
  83471. _this._writeLabel$3(highlight, highlightsByColumn, _this._colorize$2$color(new A.Highlighter__writeIndicator_closure1(_this, coversWholeLine, line, highlight), color));
  83472. A.replaceWithNull(highlightsByColumn, highlight);
  83473. }
  83474. }
  83475. },
  83476. _writeArrow$3$beginning(line, column, beginning) {
  83477. var t2,
  83478. t1 = beginning ? 0 : 1,
  83479. tabs = this._countTabs$1(B.JSString_methods.substring$2(line.text, 0, column + t1));
  83480. t1 = this._highlighter$_buffer;
  83481. t2 = B.JSString_methods.$mul($._glyphs.get$horizontalLine(), 1 + column + tabs * 3);
  83482. t1._contents = (t1._contents += t2) + "^";
  83483. },
  83484. _writeArrow$2(line, column) {
  83485. return this._writeArrow$3$beginning(line, column, true);
  83486. },
  83487. _writeLabel$3(highlight, highlightsByColumn, underlineLength) {
  83488. var lines, color, t1, t2, t3, t4, t5, t6, _i, columnHighlight, _this = this,
  83489. label = highlight.label;
  83490. if (label == null) {
  83491. _this._highlighter$_buffer._contents += "\n";
  83492. return;
  83493. }
  83494. lines = A._setArrayType(label.split("\n"), type$.JSArray_String);
  83495. color = highlight.isPrimary ? _this._primaryColor : _this._secondaryColor;
  83496. _this._colorize$2$color(new A.Highlighter__writeLabel_closure(_this, lines), color);
  83497. t1 = _this._highlighter$_buffer;
  83498. t1._contents += "\n";
  83499. 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();) {
  83500. t5 = t2.__internal$_current;
  83501. if (t5 == null)
  83502. t5 = t3._as(t5);
  83503. _this._writeSidebar$0();
  83504. t6 = t1._contents += " ";
  83505. for (_i = 0; _i < t4; ++_i) {
  83506. columnHighlight = highlightsByColumn[_i];
  83507. if (columnHighlight == null || columnHighlight === highlight) {
  83508. t6 += " ";
  83509. t1._contents = t6;
  83510. } else {
  83511. t6 = $._glyphs.get$verticalLine();
  83512. t6 = t1._contents += t6;
  83513. }
  83514. }
  83515. t6 = B.JSString_methods.$mul(" ", underlineLength);
  83516. t1._contents += t6;
  83517. _this._colorize$2$color(new A.Highlighter__writeLabel_closure0(_this, t5), color);
  83518. t1._contents += "\n";
  83519. }
  83520. },
  83521. _writeText$1(text) {
  83522. var t1, t2, t3, t4;
  83523. 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();) {
  83524. t4 = t1.__internal$_current;
  83525. if (t4 == null)
  83526. t4 = t2._as(t4);
  83527. if (t4 === 9) {
  83528. t4 = B.JSString_methods.$mul(" ", 4);
  83529. t3._contents += t4;
  83530. } else {
  83531. t4 = A.Primitives_stringFromCharCode(t4);
  83532. t3._contents += t4;
  83533. }
  83534. }
  83535. },
  83536. _writeSidebar$3$end$line$text(end, line, text) {
  83537. var t1 = {};
  83538. t1.text = text;
  83539. if (line != null)
  83540. t1.text = B.JSInt_methods.toString$0(line + 1);
  83541. this._colorize$2$color(new A.Highlighter__writeSidebar_closure(t1, this, end), "\x1b[34m");
  83542. },
  83543. _writeSidebar$1$end(end) {
  83544. return this._writeSidebar$3$end$line$text(end, null, null);
  83545. },
  83546. _writeSidebar$1$text(text) {
  83547. return this._writeSidebar$3$end$line$text(null, null, text);
  83548. },
  83549. _writeSidebar$1$line(line) {
  83550. return this._writeSidebar$3$end$line$text(null, line, null);
  83551. },
  83552. _writeSidebar$0() {
  83553. return this._writeSidebar$3$end$line$text(null, null, null);
  83554. },
  83555. _countTabs$1(text) {
  83556. var t1, t2, count, t3;
  83557. 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();) {
  83558. t3 = t1.__internal$_current;
  83559. if ((t3 == null ? t2._as(t3) : t3) === 9)
  83560. ++count;
  83561. }
  83562. return count;
  83563. },
  83564. _isOnlyWhitespace$1(text) {
  83565. var t1, t2, t3;
  83566. 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();) {
  83567. t3 = t1.__internal$_current;
  83568. if (t3 == null)
  83569. t3 = t2._as(t3);
  83570. if (t3 !== 32 && t3 !== 9)
  83571. return false;
  83572. }
  83573. return true;
  83574. },
  83575. _colorize$1$2$color(callback, color) {
  83576. var result,
  83577. t1 = this._primaryColor != null;
  83578. if (t1 && color != null)
  83579. this._highlighter$_buffer._contents += color;
  83580. result = callback.call$0();
  83581. if (t1 && color != null)
  83582. this._highlighter$_buffer._contents += "\x1b[0m";
  83583. return result;
  83584. },
  83585. _colorize$2$color(callback, color) {
  83586. callback.toString;
  83587. return this._colorize$1$2$color(callback, color, type$.dynamic);
  83588. }
  83589. };
  83590. A.Highlighter_closure.prototype = {
  83591. call$0() {
  83592. var t1 = this.color,
  83593. t2 = J.getInterceptor$(t1);
  83594. if (t2.$eq(t1, true))
  83595. return "\x1b[31m";
  83596. if (t2.$eq(t1, false))
  83597. return null;
  83598. return A._asStringQ(t1);
  83599. },
  83600. $signature: 45
  83601. };
  83602. A.Highlighter$__closure.prototype = {
  83603. call$1(line) {
  83604. var t1 = line.highlights;
  83605. return new A.WhereIterable(t1, new A.Highlighter$___closure(), A._arrayInstanceType(t1)._eval$1("WhereIterable<1>")).get$length(0);
  83606. },
  83607. $signature: 284
  83608. };
  83609. A.Highlighter$___closure.prototype = {
  83610. call$1(highlight) {
  83611. var t1 = highlight.span;
  83612. return t1.get$start(t1).get$line() !== t1.get$end(t1).get$line();
  83613. },
  83614. $signature: 120
  83615. };
  83616. A.Highlighter$__closure0.prototype = {
  83617. call$1(line) {
  83618. return line.url;
  83619. },
  83620. $signature: 286
  83621. };
  83622. A.Highlighter__collateLines_closure.prototype = {
  83623. call$1(highlight) {
  83624. var t1 = highlight.span;
  83625. t1 = t1.get$sourceUrl(t1);
  83626. return t1 == null ? new A.Object() : t1;
  83627. },
  83628. $signature: 287
  83629. };
  83630. A.Highlighter__collateLines_closure0.prototype = {
  83631. call$2(highlight1, highlight2) {
  83632. return highlight1.span.compareTo$1(0, highlight2.span);
  83633. },
  83634. $signature: 288
  83635. };
  83636. A.Highlighter__collateLines_closure1.prototype = {
  83637. call$1(entry) {
  83638. var t1, t2, t3, t4, context, t5, linesBeforeSpan, lineNumber, _i, line, activeHighlights, flags, highlightIndex, oldHighlightLength, t6, t7,
  83639. url = entry.key,
  83640. highlightsForFile = entry.value,
  83641. lines = A._setArrayType([], type$.JSArray__Line);
  83642. for (t1 = J.getInterceptor$ax(highlightsForFile), t2 = t1.get$iterator(highlightsForFile), t3 = type$.JSArray__Highlight; t2.moveNext$0();) {
  83643. t4 = t2.get$current(t2).span;
  83644. context = t4.get$context(t4);
  83645. t5 = A.findLineStart(context, t4.get$text(), t4.get$start(t4).get$column());
  83646. t5.toString;
  83647. linesBeforeSpan = B.JSString_methods.allMatches$1("\n", B.JSString_methods.substring$2(context, 0, t5)).get$length(0);
  83648. lineNumber = t4.get$start(t4).get$line() - linesBeforeSpan;
  83649. for (t4 = context.split("\n"), t5 = t4.length, _i = 0; _i < t5; ++_i) {
  83650. line = t4[_i];
  83651. if (lines.length === 0 || lineNumber > B.JSArray_methods.get$last(lines).number)
  83652. lines.push(new A._Line(line, lineNumber, url, A._setArrayType([], t3)));
  83653. ++lineNumber;
  83654. }
  83655. }
  83656. activeHighlights = A._setArrayType([], t3);
  83657. for (t2 = lines.length, flags = activeHighlights.$flags | 0, highlightIndex = 0, _i = 0; _i < lines.length; lines.length === t2 || (0, A.throwConcurrentModificationError)(lines), ++_i) {
  83658. line = lines[_i];
  83659. flags & 1 && A.throwUnsupportedOperation(activeHighlights, 16);
  83660. B.JSArray_methods._removeWhere$2(activeHighlights, new A.Highlighter__collateLines__closure(line), true);
  83661. oldHighlightLength = activeHighlights.length;
  83662. 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();) {
  83663. t6 = t3.__internal$_current;
  83664. if (t6 == null)
  83665. t6 = t4._as(t6);
  83666. t7 = t6.span;
  83667. if (t7.get$start(t7).get$line() > t5)
  83668. break;
  83669. activeHighlights.push(t6);
  83670. }
  83671. highlightIndex += activeHighlights.length - oldHighlightLength;
  83672. B.JSArray_methods.addAll$1(line.highlights, activeHighlights);
  83673. }
  83674. return lines;
  83675. },
  83676. $signature: 289
  83677. };
  83678. A.Highlighter__collateLines__closure.prototype = {
  83679. call$1(highlight) {
  83680. var t1 = highlight.span;
  83681. return t1.get$end(t1).get$line() < this.line.number;
  83682. },
  83683. $signature: 120
  83684. };
  83685. A.Highlighter_highlight_closure.prototype = {
  83686. call$1(highlight) {
  83687. return highlight.isPrimary;
  83688. },
  83689. $signature: 120
  83690. };
  83691. A.Highlighter__writeFileStart_closure.prototype = {
  83692. call$0() {
  83693. var t1 = this.$this._highlighter$_buffer,
  83694. t2 = B.JSString_methods.$mul($._glyphs.get$horizontalLine(), 2) + ">";
  83695. t1._contents += t2;
  83696. return null;
  83697. },
  83698. $signature: 0
  83699. };
  83700. A.Highlighter__writeMultilineHighlights_closure.prototype = {
  83701. call$0() {
  83702. var t1 = this.$this._highlighter$_buffer,
  83703. t2 = $._glyphs;
  83704. t2 = this.startLine === this.line.number ? t2.get$topLeftCorner() : t2.get$bottomLeftCorner();
  83705. t1._contents += t2;
  83706. },
  83707. $signature: 1
  83708. };
  83709. A.Highlighter__writeMultilineHighlights_closure0.prototype = {
  83710. call$0() {
  83711. var t1 = this.$this._highlighter$_buffer,
  83712. t2 = $._glyphs;
  83713. t2 = this.highlight == null ? t2.get$horizontalLine() : t2.get$cross();
  83714. t1._contents += t2;
  83715. },
  83716. $signature: 1
  83717. };
  83718. A.Highlighter__writeMultilineHighlights_closure1.prototype = {
  83719. call$0() {
  83720. var t1 = this.$this._highlighter$_buffer,
  83721. t2 = $._glyphs.get$horizontalLine();
  83722. t1._contents += t2;
  83723. return null;
  83724. },
  83725. $signature: 0
  83726. };
  83727. A.Highlighter__writeMultilineHighlights_closure2.prototype = {
  83728. call$0() {
  83729. var _this = this,
  83730. t1 = _this._box_0,
  83731. t2 = t1.openedOnThisLine,
  83732. t3 = $._glyphs,
  83733. vertical = t2 ? t3.get$cross() : t3.get$verticalLine();
  83734. if (_this.current != null)
  83735. _this.$this._highlighter$_buffer._contents += vertical;
  83736. else {
  83737. t2 = _this.line;
  83738. t3 = t2.number;
  83739. if (_this.startLine === t3) {
  83740. t2 = _this.$this;
  83741. t2._colorize$2$color(new A.Highlighter__writeMultilineHighlights__closure(t1, t2), t1.openedOnThisLineColor);
  83742. t1.openedOnThisLine = true;
  83743. if (t1.openedOnThisLineColor == null)
  83744. t1.openedOnThisLineColor = _this.highlight.isPrimary ? t2._primaryColor : t2._secondaryColor;
  83745. } else {
  83746. if (_this.endLine === t3) {
  83747. t3 = _this.highlight.span;
  83748. t2 = t3.get$end(t3).get$column() === t2.text.length;
  83749. } else
  83750. t2 = false;
  83751. t3 = _this.$this;
  83752. if (t2) {
  83753. t1 = t3._highlighter$_buffer;
  83754. t2 = _this.highlight.label == null ? $._glyphs.glyphOrAscii$2("\u2514", "\\") : vertical;
  83755. t1._contents += t2;
  83756. } else
  83757. t3._colorize$2$color(new A.Highlighter__writeMultilineHighlights__closure0(t3, vertical), t1.openedOnThisLineColor);
  83758. }
  83759. }
  83760. },
  83761. $signature: 1
  83762. };
  83763. A.Highlighter__writeMultilineHighlights__closure.prototype = {
  83764. call$0() {
  83765. var t1 = this.$this._highlighter$_buffer,
  83766. t2 = this._box_0.openedOnThisLine ? "\u252c" : "\u250c";
  83767. t2 = $._glyphs.glyphOrAscii$2(t2, "/");
  83768. t1._contents += t2;
  83769. },
  83770. $signature: 1
  83771. };
  83772. A.Highlighter__writeMultilineHighlights__closure0.prototype = {
  83773. call$0() {
  83774. this.$this._highlighter$_buffer._contents += this.vertical;
  83775. },
  83776. $signature: 1
  83777. };
  83778. A.Highlighter__writeHighlightedText_closure.prototype = {
  83779. call$0() {
  83780. var _this = this;
  83781. return _this.$this._writeText$1(B.JSString_methods.substring$2(_this.text, _this.startColumn, _this.endColumn));
  83782. },
  83783. $signature: 0
  83784. };
  83785. A.Highlighter__writeIndicator_closure.prototype = {
  83786. call$0() {
  83787. var startColumn, endColumn, tabsBefore, tabsInside,
  83788. t1 = this.$this,
  83789. t2 = t1._highlighter$_buffer,
  83790. t3 = t2._contents,
  83791. t4 = this.highlight,
  83792. t5 = t4.span;
  83793. t4 = t4.isPrimary ? "^" : $._glyphs.get$horizontalLineBold();
  83794. startColumn = t5.get$start(t5).get$column();
  83795. endColumn = t5.get$end(t5).get$column();
  83796. t5 = this.line.text;
  83797. tabsBefore = t1._countTabs$1(B.JSString_methods.substring$2(t5, 0, startColumn));
  83798. tabsInside = t1._countTabs$1(B.JSString_methods.substring$2(t5, startColumn, endColumn));
  83799. startColumn += tabsBefore * 3;
  83800. t5 = B.JSString_methods.$mul(" ", startColumn);
  83801. t2._contents += t5;
  83802. t4 = B.JSString_methods.$mul(t4, Math.max(endColumn + (tabsBefore + tabsInside) * 3 - startColumn, 1));
  83803. return (t2._contents += t4).length - t3.length;
  83804. },
  83805. $signature: 10
  83806. };
  83807. A.Highlighter__writeIndicator_closure0.prototype = {
  83808. call$0() {
  83809. var t1 = this.highlight.span;
  83810. return this.$this._writeArrow$2(this.line, t1.get$start(t1).get$column());
  83811. },
  83812. $signature: 0
  83813. };
  83814. A.Highlighter__writeIndicator_closure1.prototype = {
  83815. call$0() {
  83816. var t4, _this = this,
  83817. t1 = _this.$this,
  83818. t2 = t1._highlighter$_buffer,
  83819. t3 = t2._contents;
  83820. if (_this.coversWholeLine) {
  83821. t1 = B.JSString_methods.$mul($._glyphs.get$horizontalLine(), 3);
  83822. t2._contents += t1;
  83823. } else {
  83824. t4 = _this.highlight.span;
  83825. t1._writeArrow$3$beginning(_this.line, Math.max(t4.get$end(t4).get$column() - 1, 0), false);
  83826. }
  83827. return t2._contents.length - t3.length;
  83828. },
  83829. $signature: 10
  83830. };
  83831. A.Highlighter__writeLabel_closure.prototype = {
  83832. call$0() {
  83833. var t1 = this.$this._highlighter$_buffer,
  83834. t2 = " " + A.S(B.JSArray_methods.get$first(this.lines));
  83835. t1._contents += t2;
  83836. return null;
  83837. },
  83838. $signature: 0
  83839. };
  83840. A.Highlighter__writeLabel_closure0.prototype = {
  83841. call$0() {
  83842. this.$this._highlighter$_buffer._contents += " " + this.text;
  83843. return null;
  83844. },
  83845. $signature: 0
  83846. };
  83847. A.Highlighter__writeSidebar_closure.prototype = {
  83848. call$0() {
  83849. var t1 = this.$this,
  83850. t2 = t1._highlighter$_buffer,
  83851. t3 = this._box_0.text;
  83852. if (t3 == null)
  83853. t3 = "";
  83854. t1 = B.JSString_methods.padRight$1(t3, t1._paddingBeforeSidebar);
  83855. t2._contents += t1;
  83856. t1 = this.end;
  83857. if (t1 == null)
  83858. t1 = $._glyphs.get$verticalLine();
  83859. t2._contents += t1;
  83860. },
  83861. $signature: 1
  83862. };
  83863. A._Highlight.prototype = {
  83864. toString$0(_) {
  83865. var t1 = this.isPrimary ? "" + "primary " : "",
  83866. t2 = this.span;
  83867. 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());
  83868. t1 = this.label;
  83869. t1 = t1 != null ? t2 + (" (" + t1 + ")") : t2;
  83870. return t1.charCodeAt(0) == 0 ? t1 : t1;
  83871. }
  83872. };
  83873. A._Highlight_closure.prototype = {
  83874. call$0() {
  83875. var t1, t2, t3, t4,
  83876. newSpan = this.span;
  83877. if (!(type$.SourceSpanWithContext._is(newSpan) && A.findLineStart(newSpan.get$context(newSpan), newSpan.get$text(), newSpan.get$start(newSpan).get$column()) != null)) {
  83878. t1 = A.SourceLocation$(newSpan.get$start(newSpan).get$offset(), 0, 0, newSpan.get$sourceUrl(newSpan));
  83879. t2 = newSpan.get$end(newSpan).get$offset();
  83880. t3 = newSpan.get$sourceUrl(newSpan);
  83881. t4 = A.countCodeUnits(newSpan.get$text(), 10);
  83882. newSpan = A.SourceSpanWithContext$(t1, A.SourceLocation$(t2, A._Highlight__lastLineLength(newSpan.get$text()), t4, t3), newSpan.get$text(), newSpan.get$text());
  83883. }
  83884. return A._Highlight__normalizeEndOfLine(A._Highlight__normalizeTrailingNewline(A._Highlight__normalizeNewlines(newSpan)));
  83885. },
  83886. $signature: 290
  83887. };
  83888. A._Line.prototype = {
  83889. toString$0(_) {
  83890. return "" + this.number + ': "' + this.text + '" (' + B.JSArray_methods.join$1(this.highlights, ", ") + ")";
  83891. }
  83892. };
  83893. A.SourceLocation.prototype = {
  83894. distance$1(other) {
  83895. var t1 = this.sourceUrl;
  83896. if (!J.$eq$(t1, other.get$sourceUrl(other)))
  83897. throw A.wrapException(A.ArgumentError$('Source URLs "' + A.S(t1) + '" and "' + A.S(other.get$sourceUrl(other)) + "\" don't match.", null));
  83898. return Math.abs(this.offset - other.get$offset());
  83899. },
  83900. compareTo$1(_, other) {
  83901. var t1 = this.sourceUrl;
  83902. if (!J.$eq$(t1, other.get$sourceUrl(other)))
  83903. throw A.wrapException(A.ArgumentError$('Source URLs "' + A.S(t1) + '" and "' + A.S(other.get$sourceUrl(other)) + "\" don't match.", null));
  83904. return this.offset - other.get$offset();
  83905. },
  83906. $eq(_, other) {
  83907. if (other == null)
  83908. return false;
  83909. return type$.SourceLocation._is(other) && J.$eq$(this.sourceUrl, other.get$sourceUrl(other)) && this.offset === other.get$offset();
  83910. },
  83911. get$hashCode(_) {
  83912. var t1 = this.sourceUrl;
  83913. t1 = t1 == null ? null : t1.get$hashCode(t1);
  83914. if (t1 == null)
  83915. t1 = 0;
  83916. return t1 + this.offset;
  83917. },
  83918. toString$0(_) {
  83919. var _this = this,
  83920. t1 = A.getRuntimeTypeOfDartObject(_this).toString$0(0),
  83921. source = _this.sourceUrl;
  83922. return "<" + t1 + ": " + _this.offset + " " + (A.S(source == null ? "unknown source" : source) + ":" + (_this.line + 1) + ":" + (_this.column + 1)) + ">";
  83923. },
  83924. $isComparable: 1,
  83925. get$sourceUrl(receiver) {
  83926. return this.sourceUrl;
  83927. },
  83928. get$offset() {
  83929. return this.offset;
  83930. },
  83931. get$line() {
  83932. return this.line;
  83933. },
  83934. get$column() {
  83935. return this.column;
  83936. }
  83937. };
  83938. A.SourceLocationMixin.prototype = {
  83939. distance$1(other) {
  83940. if (!J.$eq$(this.file.url, other.get$sourceUrl(other)))
  83941. throw A.wrapException(A.ArgumentError$('Source URLs "' + A.S(this.get$sourceUrl(0)) + '" and "' + A.S(other.get$sourceUrl(other)) + "\" don't match.", null));
  83942. return Math.abs(this.offset - other.get$offset());
  83943. },
  83944. compareTo$1(_, other) {
  83945. if (!J.$eq$(this.file.url, other.get$sourceUrl(other)))
  83946. throw A.wrapException(A.ArgumentError$('Source URLs "' + A.S(this.get$sourceUrl(0)) + '" and "' + A.S(other.get$sourceUrl(other)) + "\" don't match.", null));
  83947. return this.offset - other.get$offset();
  83948. },
  83949. $eq(_, other) {
  83950. if (other == null)
  83951. return false;
  83952. return type$.SourceLocation._is(other) && J.$eq$(this.file.url, other.get$sourceUrl(other)) && this.offset === other.get$offset();
  83953. },
  83954. get$hashCode(_) {
  83955. var t1 = this.file.url;
  83956. t1 = t1 == null ? null : t1.get$hashCode(t1);
  83957. if (t1 == null)
  83958. t1 = 0;
  83959. return t1 + this.offset;
  83960. },
  83961. toString$0(_) {
  83962. var t1 = A.getRuntimeTypeOfDartObject(this).toString$0(0),
  83963. t2 = this.offset,
  83964. t3 = this.file,
  83965. source = t3.url;
  83966. return "<" + t1 + ": " + t2 + " " + (A.S(source == null ? "unknown source" : source) + ":" + (t3.getLine$1(t2) + 1) + ":" + (t3.getColumn$1(t2) + 1)) + ">";
  83967. },
  83968. $isComparable: 1,
  83969. $isSourceLocation: 1
  83970. };
  83971. A.SourceSpanBase.prototype = {
  83972. SourceSpanBase$3(start, end, text) {
  83973. var t3,
  83974. t1 = this.end,
  83975. t2 = this.start;
  83976. if (!J.$eq$(t1.get$sourceUrl(t1), t2.get$sourceUrl(t2)))
  83977. throw A.wrapException(A.ArgumentError$('Source URLs "' + A.S(t2.get$sourceUrl(t2)) + '" and "' + A.S(t1.get$sourceUrl(t1)) + "\" don't match.", null));
  83978. else if (t1.get$offset() < t2.get$offset())
  83979. throw A.wrapException(A.ArgumentError$("End " + t1.toString$0(0) + " must come after start " + t2.toString$0(0) + ".", null));
  83980. else {
  83981. t3 = this.text;
  83982. if (t3.length !== t2.distance$1(t1))
  83983. throw A.wrapException(A.ArgumentError$('Text "' + t3 + '" must be ' + t2.distance$1(t1) + " characters long.", null));
  83984. }
  83985. },
  83986. get$start(receiver) {
  83987. return this.start;
  83988. },
  83989. get$end(receiver) {
  83990. return this.end;
  83991. },
  83992. get$text() {
  83993. return this.text;
  83994. }
  83995. };
  83996. A.SourceSpanException.prototype = {
  83997. get$message(_) {
  83998. return this._span_exception$_message;
  83999. },
  84000. get$span(_) {
  84001. return this._span;
  84002. },
  84003. toString$1$color(_, color) {
  84004. var _this = this;
  84005. _this.get$span(_this);
  84006. return "Error on " + _this.get$span(_this).message$2$color(0, _this._span_exception$_message, color);
  84007. },
  84008. toString$0(_) {
  84009. return this.toString$1$color(0, null);
  84010. },
  84011. $isException: 1
  84012. };
  84013. A.SourceSpanFormatException.prototype = {$isFormatException: 1,
  84014. get$source() {
  84015. return this.source;
  84016. }
  84017. };
  84018. A.MultiSourceSpanException.prototype = {
  84019. toString$0(_) {
  84020. var _this = this;
  84021. return "Error on " + A.SourceSpanExtension_messageMultiple(_this._span, _this._span_exception$_message, _this.primaryLabel, _this.secondarySpans, false, null, null);
  84022. },
  84023. get$primaryLabel() {
  84024. return this.primaryLabel;
  84025. },
  84026. get$secondarySpans() {
  84027. return this.secondarySpans;
  84028. }
  84029. };
  84030. A.MultiSourceSpanFormatException.prototype = {$isFormatException: 1};
  84031. A.SourceSpanMixin.prototype = {
  84032. get$sourceUrl(_) {
  84033. var t1 = this.get$start(this);
  84034. return t1.get$sourceUrl(t1);
  84035. },
  84036. get$length(_) {
  84037. var _this = this;
  84038. return _this.get$end(_this).get$offset() - _this.get$start(_this).get$offset();
  84039. },
  84040. compareTo$1(_, other) {
  84041. var _this = this,
  84042. result = _this.get$start(_this).compareTo$1(0, other.get$start(other));
  84043. return result === 0 ? _this.get$end(_this).compareTo$1(0, other.get$end(other)) : result;
  84044. },
  84045. message$2$color(_, message, color) {
  84046. var t2, t3, highlight, _this = this,
  84047. t1 = "" + ("line " + (_this.get$start(_this).get$line() + 1) + ", column " + (_this.get$start(_this).get$column() + 1));
  84048. if (_this.get$sourceUrl(_this) != null) {
  84049. t2 = _this.get$sourceUrl(_this);
  84050. t3 = $.$get$context();
  84051. t2.toString;
  84052. t2 = t1 + (" of " + t3.prettyUri$1(t2));
  84053. t1 = t2;
  84054. }
  84055. t1 += ": " + message;
  84056. highlight = _this.highlight$1$color(color);
  84057. if (highlight.length !== 0)
  84058. t1 = t1 + "\n" + highlight;
  84059. return t1.charCodeAt(0) == 0 ? t1 : t1;
  84060. },
  84061. message$1(_, message) {
  84062. return this.message$2$color(0, message, null);
  84063. },
  84064. highlight$1$color(color) {
  84065. var _this = this;
  84066. if (!type$.SourceSpanWithContext._is(_this) && _this.get$length(_this) === 0)
  84067. return "";
  84068. return A.Highlighter$(_this, color).highlight$0();
  84069. },
  84070. $eq(_, other) {
  84071. var _this = this;
  84072. if (other == null)
  84073. return false;
  84074. 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));
  84075. },
  84076. get$hashCode(_) {
  84077. var _this = this;
  84078. return A.Object_hash(_this.get$start(_this), _this.get$end(_this), B.C_SentinelValue, B.C_SentinelValue);
  84079. },
  84080. toString$0(_) {
  84081. var _this = this;
  84082. 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() + '">';
  84083. },
  84084. $isComparable: 1,
  84085. $isSourceSpan: 1
  84086. };
  84087. A.SourceSpanWithContext.prototype = {
  84088. get$context(_) {
  84089. return this._context;
  84090. }
  84091. };
  84092. A.Chain.prototype = {
  84093. toTrace$0() {
  84094. var t1 = this.traces;
  84095. return A.Trace$(new A.ExpandIterable(t1, new A.Chain_toTrace_closure(), A._arrayInstanceType(t1)._eval$1("ExpandIterable<1,Frame>")), null);
  84096. },
  84097. toString$0(_) {
  84098. var t1 = this.traces,
  84099. t2 = A._arrayInstanceType(t1);
  84100. 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_____);
  84101. },
  84102. $isStackTrace: 1
  84103. };
  84104. A.Chain_Chain$parse_closure.prototype = {
  84105. call$1(line) {
  84106. return line.length !== 0;
  84107. },
  84108. $signature: 5
  84109. };
  84110. A.Chain_toTrace_closure.prototype = {
  84111. call$1(trace) {
  84112. return trace.get$frames();
  84113. },
  84114. $signature: 291
  84115. };
  84116. A.Chain_toString_closure0.prototype = {
  84117. call$1(trace) {
  84118. var t1 = trace.get$frames();
  84119. return new A.MappedListIterable(t1, new A.Chain_toString__closure0(), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,int>")).fold$2(0, 0, B.CONSTANT);
  84120. },
  84121. $signature: 292
  84122. };
  84123. A.Chain_toString__closure0.prototype = {
  84124. call$1(frame) {
  84125. return frame.get$location().length;
  84126. },
  84127. $signature: 192
  84128. };
  84129. A.Chain_toString_closure.prototype = {
  84130. call$1(trace) {
  84131. var t1 = trace.get$frames();
  84132. return new A.MappedListIterable(t1, new A.Chain_toString__closure(this.longest), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,String>")).join$0(0);
  84133. },
  84134. $signature: 294
  84135. };
  84136. A.Chain_toString__closure.prototype = {
  84137. call$1(frame) {
  84138. return B.JSString_methods.padRight$1(frame.get$location(), this.longest) + " " + A.S(frame.get$member()) + "\n";
  84139. },
  84140. $signature: 193
  84141. };
  84142. A.Frame.prototype = {
  84143. get$isCore() {
  84144. return this.uri.get$scheme() === "dart";
  84145. },
  84146. get$library() {
  84147. var t1 = this.uri;
  84148. if (t1.get$scheme() === "data")
  84149. return "data:...";
  84150. return $.$get$context().prettyUri$1(t1);
  84151. },
  84152. get$$package() {
  84153. var t1 = this.uri;
  84154. if (t1.get$scheme() !== "package")
  84155. return null;
  84156. return B.JSArray_methods.get$first(t1.get$path(t1).split("/"));
  84157. },
  84158. get$location() {
  84159. var t2, _this = this,
  84160. t1 = _this.line;
  84161. if (t1 == null)
  84162. return _this.get$library();
  84163. t2 = _this.column;
  84164. if (t2 == null)
  84165. return _this.get$library() + " " + A.S(t1);
  84166. return _this.get$library() + " " + A.S(t1) + ":" + A.S(t2);
  84167. },
  84168. toString$0(_) {
  84169. return this.get$location() + " in " + A.S(this.member);
  84170. },
  84171. get$uri() {
  84172. return this.uri;
  84173. },
  84174. get$line() {
  84175. return this.line;
  84176. },
  84177. get$column() {
  84178. return this.column;
  84179. },
  84180. get$member() {
  84181. return this.member;
  84182. }
  84183. };
  84184. A.Frame_Frame$parseVM_closure.prototype = {
  84185. call$0() {
  84186. var match, t2, t3, member, uri, lineAndColumn, line, _null = null,
  84187. t1 = this.frame;
  84188. if (t1 === "...")
  84189. return new A.Frame(A._Uri__Uri(_null, _null, _null, _null), _null, _null, "...");
  84190. match = $.$get$_vmFrame().firstMatch$1(t1);
  84191. if (match == null)
  84192. return new A.UnparsedFrame(A._Uri__Uri(_null, "unparsed", _null, _null), t1);
  84193. t1 = match._match;
  84194. t2 = t1[1];
  84195. t2.toString;
  84196. t3 = $.$get$_asyncBody();
  84197. t2 = A.stringReplaceAllUnchecked(t2, t3, "<async>");
  84198. member = A.stringReplaceAllUnchecked(t2, "<anonymous closure>", "<fn>");
  84199. t2 = t1[2];
  84200. t3 = t2;
  84201. t3.toString;
  84202. if (B.JSString_methods.startsWith$1(t3, "<data:"))
  84203. uri = A.Uri_Uri$dataFromString("", _null, _null);
  84204. else {
  84205. t2 = t2;
  84206. t2.toString;
  84207. uri = A.Uri_parse(t2);
  84208. }
  84209. lineAndColumn = t1[3].split(":");
  84210. t1 = lineAndColumn.length;
  84211. line = t1 > 1 ? A.int_parse(lineAndColumn[1], _null) : _null;
  84212. return new A.Frame(uri, line, t1 > 2 ? A.int_parse(lineAndColumn[2], _null) : _null, member);
  84213. },
  84214. $signature: 77
  84215. };
  84216. A.Frame_Frame$parseV8_closure.prototype = {
  84217. call$0() {
  84218. var member, uri, t2, functionOffset, t3, _s4_ = "<fn>",
  84219. t1 = this.frame,
  84220. match = $.$get$_v8WasmFrame().firstMatch$1(t1);
  84221. if (match != null) {
  84222. member = match.namedGroup$1("member");
  84223. t1 = match.namedGroup$1("uri");
  84224. t1.toString;
  84225. uri = A.Frame__uriOrPathToUri(t1);
  84226. t1 = match.namedGroup$1("index");
  84227. t1.toString;
  84228. t2 = match.namedGroup$1("offset");
  84229. t2.toString;
  84230. functionOffset = A.int_parse(t2, 16);
  84231. if (!(member == null))
  84232. t1 = member;
  84233. return new A.Frame(uri, 1, functionOffset + 1, t1);
  84234. }
  84235. match = $.$get$_v8JsFrame().firstMatch$1(t1);
  84236. if (match != null) {
  84237. t1 = new A.Frame_Frame$parseV8_closure_parseJsLocation(t1);
  84238. t2 = match._match;
  84239. t3 = t2[2];
  84240. if (t3 != null) {
  84241. t3 = t3;
  84242. t3.toString;
  84243. t2 = t2[1];
  84244. t2.toString;
  84245. t2 = A.stringReplaceAllUnchecked(t2, "<anonymous>", _s4_);
  84246. t2 = A.stringReplaceAllUnchecked(t2, "Anonymous function", _s4_);
  84247. return t1.call$2(t3, A.stringReplaceAllUnchecked(t2, "(anonymous function)", _s4_));
  84248. } else {
  84249. t2 = t2[3];
  84250. t2.toString;
  84251. return t1.call$2(t2, _s4_);
  84252. }
  84253. }
  84254. return new A.UnparsedFrame(A._Uri__Uri(null, "unparsed", null, null), t1);
  84255. },
  84256. $signature: 77
  84257. };
  84258. A.Frame_Frame$parseV8_closure_parseJsLocation.prototype = {
  84259. call$2($location, member) {
  84260. var t2, urlMatch, uri, line, columnMatch, _null = null,
  84261. t1 = $.$get$_v8EvalLocation(),
  84262. evalMatch = t1.firstMatch$1($location);
  84263. for (; evalMatch != null; $location = t2) {
  84264. t2 = evalMatch._match[1];
  84265. t2.toString;
  84266. evalMatch = t1.firstMatch$1(t2);
  84267. }
  84268. if ($location === "native")
  84269. return new A.Frame(A.Uri_parse("native"), _null, _null, member);
  84270. urlMatch = $.$get$_v8JsUrlLocation().firstMatch$1($location);
  84271. if (urlMatch == null)
  84272. return new A.UnparsedFrame(A._Uri__Uri(_null, "unparsed", _null, _null), this.frame);
  84273. t1 = urlMatch._match;
  84274. t2 = t1[1];
  84275. t2.toString;
  84276. uri = A.Frame__uriOrPathToUri(t2);
  84277. t2 = t1[2];
  84278. t2.toString;
  84279. line = A.int_parse(t2, _null);
  84280. columnMatch = t1[3];
  84281. return new A.Frame(uri, line, columnMatch != null ? A.int_parse(columnMatch, _null) : _null, member);
  84282. },
  84283. $signature: 297
  84284. };
  84285. A.Frame_Frame$_parseFirefoxEval_closure.prototype = {
  84286. call$0() {
  84287. var t2, member, uri, line, _null = null,
  84288. t1 = this.frame,
  84289. match = $.$get$_firefoxEvalLocation().firstMatch$1(t1);
  84290. if (match == null)
  84291. return new A.UnparsedFrame(A._Uri__Uri(_null, "unparsed", _null, _null), t1);
  84292. t1 = match._match;
  84293. t2 = t1[1];
  84294. t2.toString;
  84295. member = A.stringReplaceAllUnchecked(t2, "/<", "");
  84296. t2 = t1[2];
  84297. t2.toString;
  84298. uri = A.Frame__uriOrPathToUri(t2);
  84299. t1 = t1[3];
  84300. t1.toString;
  84301. line = A.int_parse(t1, _null);
  84302. return new A.Frame(uri, line, _null, member.length === 0 || member === "anonymous" ? "<fn>" : member);
  84303. },
  84304. $signature: 77
  84305. };
  84306. A.Frame_Frame$parseFirefox_closure.prototype = {
  84307. call$0() {
  84308. var t2, t3, t4, uri, member, line, column, functionOffset, _null = null,
  84309. t1 = this.frame,
  84310. match = $.$get$_firefoxSafariJSFrame().firstMatch$1(t1);
  84311. if (match != null) {
  84312. t2 = match._match;
  84313. t3 = t2[3];
  84314. t4 = t3;
  84315. t4.toString;
  84316. if (B.JSString_methods.contains$1(t4, " line "))
  84317. return A.Frame_Frame$_parseFirefoxEval(t1);
  84318. t1 = t3;
  84319. t1.toString;
  84320. uri = A.Frame__uriOrPathToUri(t1);
  84321. member = t2[1];
  84322. if (member != null) {
  84323. t1 = t2[2];
  84324. t1.toString;
  84325. member += B.JSArray_methods.join$0(A.List_List$filled(B.JSString_methods.allMatches$1("/", t1).get$length(0), ".<fn>", false, type$.String));
  84326. if (member === "")
  84327. member = "<fn>";
  84328. member = B.JSString_methods.replaceFirst$2(member, $.$get$_initialDot(), "");
  84329. } else
  84330. member = "<fn>";
  84331. t1 = t2[4];
  84332. if (t1 === "")
  84333. line = _null;
  84334. else {
  84335. t1 = t1;
  84336. t1.toString;
  84337. line = A.int_parse(t1, _null);
  84338. }
  84339. t1 = t2[5];
  84340. if (t1 == null || t1 === "")
  84341. column = _null;
  84342. else {
  84343. t1 = t1;
  84344. t1.toString;
  84345. column = A.int_parse(t1, _null);
  84346. }
  84347. return new A.Frame(uri, line, column, member);
  84348. }
  84349. match = $.$get$_firefoxWasmFrame().firstMatch$1(t1);
  84350. if (match != null) {
  84351. t1 = match.namedGroup$1("member");
  84352. t1.toString;
  84353. t2 = match.namedGroup$1("uri");
  84354. t2.toString;
  84355. uri = A.Frame__uriOrPathToUri(t2);
  84356. t2 = match.namedGroup$1("index");
  84357. t2.toString;
  84358. t3 = match.namedGroup$1("offset");
  84359. t3.toString;
  84360. functionOffset = A.int_parse(t3, 16);
  84361. if (!(t1.length !== 0))
  84362. t1 = t2;
  84363. return new A.Frame(uri, 1, functionOffset + 1, t1);
  84364. }
  84365. match = $.$get$_safariWasmFrame().firstMatch$1(t1);
  84366. if (match != null) {
  84367. t1 = match.namedGroup$1("member");
  84368. t1.toString;
  84369. return new A.Frame(A._Uri__Uri(_null, "wasm code", _null, _null), _null, _null, t1);
  84370. }
  84371. return new A.UnparsedFrame(A._Uri__Uri(_null, "unparsed", _null, _null), t1);
  84372. },
  84373. $signature: 77
  84374. };
  84375. A.Frame_Frame$parseFriendly_closure.prototype = {
  84376. call$0() {
  84377. var t2, uri, line, column, _null = null,
  84378. t1 = this.frame,
  84379. match = $.$get$_friendlyFrame().firstMatch$1(t1);
  84380. if (match == null)
  84381. throw A.wrapException(A.FormatException$("Couldn't parse package:stack_trace stack trace line '" + t1 + "'.", _null, _null));
  84382. t1 = match._match;
  84383. t2 = t1[1];
  84384. if (t2 === "data:...")
  84385. uri = A.Uri_Uri$dataFromString("", _null, _null);
  84386. else {
  84387. t2 = t2;
  84388. t2.toString;
  84389. uri = A.Uri_parse(t2);
  84390. }
  84391. if (uri.get$scheme() === "") {
  84392. t2 = $.$get$context();
  84393. 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));
  84394. }
  84395. t2 = t1[2];
  84396. if (t2 == null)
  84397. line = _null;
  84398. else {
  84399. t2 = t2;
  84400. t2.toString;
  84401. line = A.int_parse(t2, _null);
  84402. }
  84403. t2 = t1[3];
  84404. if (t2 == null)
  84405. column = _null;
  84406. else {
  84407. t2 = t2;
  84408. t2.toString;
  84409. column = A.int_parse(t2, _null);
  84410. }
  84411. return new A.Frame(uri, line, column, t1[4]);
  84412. },
  84413. $signature: 77
  84414. };
  84415. A.LazyTrace.prototype = {
  84416. get$_lazy_trace$_trace() {
  84417. var result, _this = this,
  84418. value = _this.__LazyTrace__trace_FI;
  84419. if (value === $) {
  84420. result = _this._thunk.call$0();
  84421. _this.__LazyTrace__trace_FI !== $ && A.throwUnnamedLateFieldADI();
  84422. _this.__LazyTrace__trace_FI = result;
  84423. value = result;
  84424. }
  84425. return value;
  84426. },
  84427. get$frames() {
  84428. return this.get$_lazy_trace$_trace().get$frames();
  84429. },
  84430. get$terse() {
  84431. return new A.LazyTrace(new A.LazyTrace_terse_closure(this));
  84432. },
  84433. toString$0(_) {
  84434. return this.get$_lazy_trace$_trace().toString$0(0);
  84435. },
  84436. $isStackTrace: 1,
  84437. $isTrace: 1
  84438. };
  84439. A.LazyTrace_terse_closure.prototype = {
  84440. call$0() {
  84441. return this.$this.get$_lazy_trace$_trace().get$terse();
  84442. },
  84443. $signature: 195
  84444. };
  84445. A.Trace.prototype = {
  84446. get$terse() {
  84447. return this.foldFrames$2$terse(new A.Trace_terse_closure(), true);
  84448. },
  84449. foldFrames$2$terse(predicate, terse) {
  84450. var newFrames, t1, t2, t3, _box_0 = {};
  84451. _box_0.predicate = predicate;
  84452. _box_0.predicate = new A.Trace_foldFrames_closure(predicate);
  84453. newFrames = A._setArrayType([], type$.JSArray_Frame);
  84454. 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();) {
  84455. t3 = t1.__internal$_current;
  84456. if (t3 == null)
  84457. t3 = t2._as(t3);
  84458. if (t3 instanceof A.UnparsedFrame || !_box_0.predicate.call$1(t3))
  84459. newFrames.push(t3);
  84460. else if (newFrames.length === 0 || !_box_0.predicate.call$1(B.JSArray_methods.get$last(newFrames)))
  84461. newFrames.push(new A.Frame(t3.get$uri(), t3.get$line(), t3.get$column(), t3.get$member()));
  84462. }
  84463. t1 = type$.MappedListIterable_Frame_Frame;
  84464. newFrames = A.List_List$_of(new A.MappedListIterable(newFrames, new A.Trace_foldFrames_closure0(_box_0), t1), t1._eval$1("ListIterable.E"));
  84465. if (newFrames.length > 1 && _box_0.predicate.call$1(B.JSArray_methods.get$first(newFrames)))
  84466. B.JSArray_methods.removeAt$1(newFrames, 0);
  84467. return A.Trace$(new A.ReversedListIterable(newFrames, A._arrayInstanceType(newFrames)._eval$1("ReversedListIterable<1>")), this.original._stackTrace);
  84468. },
  84469. toString$0(_) {
  84470. var t1 = this.frames,
  84471. t2 = A._arrayInstanceType(t1);
  84472. 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);
  84473. },
  84474. $isStackTrace: 1,
  84475. get$frames() {
  84476. return this.frames;
  84477. }
  84478. };
  84479. A.Trace_Trace$from_closure.prototype = {
  84480. call$0() {
  84481. return A.Trace_Trace$parse(this.trace.toString$0(0));
  84482. },
  84483. $signature: 195
  84484. };
  84485. A.Trace__parseVM_closure.prototype = {
  84486. call$1(line) {
  84487. return line.length !== 0;
  84488. },
  84489. $signature: 5
  84490. };
  84491. A.Trace$parseV8_closure.prototype = {
  84492. call$1(line) {
  84493. return !B.JSString_methods.startsWith$1(line, $.$get$_v8TraceLine());
  84494. },
  84495. $signature: 5
  84496. };
  84497. A.Trace$parseJSCore_closure.prototype = {
  84498. call$1(line) {
  84499. return line !== "\tat ";
  84500. },
  84501. $signature: 5
  84502. };
  84503. A.Trace$parseFirefox_closure.prototype = {
  84504. call$1(line) {
  84505. return line.length !== 0 && line !== "[native code]";
  84506. },
  84507. $signature: 5
  84508. };
  84509. A.Trace$parseFriendly_closure.prototype = {
  84510. call$1(line) {
  84511. return !B.JSString_methods.startsWith$1(line, "=====");
  84512. },
  84513. $signature: 5
  84514. };
  84515. A.Trace_terse_closure.prototype = {
  84516. call$1(_) {
  84517. return false;
  84518. },
  84519. $signature: 196
  84520. };
  84521. A.Trace_foldFrames_closure.prototype = {
  84522. call$1(frame) {
  84523. var t1;
  84524. if (this.oldPredicate.call$1(frame))
  84525. return true;
  84526. if (frame.get$isCore())
  84527. return true;
  84528. if (frame.get$$package() === "stack_trace")
  84529. return true;
  84530. t1 = frame.get$member();
  84531. t1.toString;
  84532. if (!B.JSString_methods.contains$1(t1, "<async>"))
  84533. return false;
  84534. return frame.get$line() == null;
  84535. },
  84536. $signature: 196
  84537. };
  84538. A.Trace_foldFrames_closure0.prototype = {
  84539. call$1(frame) {
  84540. var t1, t2;
  84541. if (frame instanceof A.UnparsedFrame || !this._box_0.predicate.call$1(frame))
  84542. return frame;
  84543. t1 = frame.get$library();
  84544. t2 = $.$get$_terseRegExp();
  84545. return new A.Frame(A.Uri_parse(A.stringReplaceAllUnchecked(t1, t2, "")), null, null, frame.get$member());
  84546. },
  84547. $signature: 300
  84548. };
  84549. A.Trace_toString_closure0.prototype = {
  84550. call$1(frame) {
  84551. return frame.get$location().length;
  84552. },
  84553. $signature: 192
  84554. };
  84555. A.Trace_toString_closure.prototype = {
  84556. call$1(frame) {
  84557. if (frame instanceof A.UnparsedFrame)
  84558. return frame.toString$0(0) + "\n";
  84559. return B.JSString_methods.padRight$1(frame.get$location(), this.longest) + " " + A.S(frame.get$member()) + "\n";
  84560. },
  84561. $signature: 193
  84562. };
  84563. A.UnparsedFrame.prototype = {
  84564. toString$0(_) {
  84565. return this.member;
  84566. },
  84567. $isFrame: 1,
  84568. get$uri() {
  84569. return this.uri;
  84570. },
  84571. get$line() {
  84572. return null;
  84573. },
  84574. get$column() {
  84575. return null;
  84576. },
  84577. get$isCore() {
  84578. return false;
  84579. },
  84580. get$library() {
  84581. return "unparsed";
  84582. },
  84583. get$$package() {
  84584. return null;
  84585. },
  84586. get$location() {
  84587. return "unparsed";
  84588. },
  84589. get$member() {
  84590. return this.member;
  84591. }
  84592. };
  84593. A.TransformByHandlers_transformByHandlers_closure.prototype = {
  84594. call$0() {
  84595. var t2, subscription, t3, t4, _this = this, t1 = {};
  84596. t1.valuesDone = false;
  84597. t2 = _this.controller;
  84598. 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));
  84599. t3 = _this._box_1;
  84600. t3.subscription = subscription;
  84601. t2.set$onPause(subscription.get$pause(subscription));
  84602. t4 = t3.subscription;
  84603. t2.set$onResume(t4.get$resume(t4));
  84604. t2.set$onCancel(new A.TransformByHandlers_transformByHandlers__closure2(t3, t1));
  84605. },
  84606. $signature: 0
  84607. };
  84608. A.TransformByHandlers_transformByHandlers__closure.prototype = {
  84609. call$1(value) {
  84610. return this.onData.call$2(value, this.controller);
  84611. },
  84612. $signature() {
  84613. return this.S._eval$1("~(0)");
  84614. }
  84615. };
  84616. A.TransformByHandlers_transformByHandlers__closure1.prototype = {
  84617. call$2(error, stackTrace) {
  84618. this.handleError.call$3(error, stackTrace, this.controller);
  84619. },
  84620. $signature: 51
  84621. };
  84622. A.TransformByHandlers_transformByHandlers__closure0.prototype = {
  84623. call$0() {
  84624. this._box_0.valuesDone = true;
  84625. this.handleDone.call$1(this.controller);
  84626. },
  84627. $signature: 0
  84628. };
  84629. A.TransformByHandlers_transformByHandlers__closure2.prototype = {
  84630. call$0() {
  84631. var t1 = this._box_1,
  84632. toCancel = t1.subscription;
  84633. t1.subscription = null;
  84634. if (!this._box_0.valuesDone)
  84635. return toCancel.cancel$0();
  84636. return null;
  84637. },
  84638. $signature: 224
  84639. };
  84640. A.RateLimit__debounceAggregate_closure.prototype = {
  84641. call$2(value, sink) {
  84642. var _this = this,
  84643. t1 = _this._box_0,
  84644. t2 = new A.RateLimit__debounceAggregate_closure_emit(t1, sink, _this.S),
  84645. t3 = t1.timer;
  84646. if (t3 != null)
  84647. t3.cancel$0();
  84648. t1.soFar = _this.collect.call$2(value, t1.soFar);
  84649. t1.hasPending = true;
  84650. if (t1.timer == null && _this.leading) {
  84651. t1.emittedLatestAsLeading = true;
  84652. t2.call$0();
  84653. } else
  84654. t1.emittedLatestAsLeading = false;
  84655. t1.timer = A.Timer_Timer(_this.duration, new A.RateLimit__debounceAggregate__closure(t1, _this.trailing, t2, sink));
  84656. },
  84657. $signature() {
  84658. return this.T._eval$1("@<0>")._bind$1(this.S)._eval$1("~(1,EventSink<2>)");
  84659. }
  84660. };
  84661. A.RateLimit__debounceAggregate_closure_emit.prototype = {
  84662. call$0() {
  84663. var t1 = this._box_0,
  84664. t2 = t1.soFar;
  84665. if (t2 == null)
  84666. t2 = this.S._as(t2);
  84667. this.sink.add$1(0, t2);
  84668. t1.soFar = null;
  84669. t1.hasPending = false;
  84670. },
  84671. $signature: 0
  84672. };
  84673. A.RateLimit__debounceAggregate__closure.prototype = {
  84674. call$0() {
  84675. var t1 = this._box_0,
  84676. t2 = t1.emittedLatestAsLeading;
  84677. if (!t2)
  84678. this.emit.call$0();
  84679. if (t1.shouldClose)
  84680. this.sink.close$0(0);
  84681. t1.timer = null;
  84682. },
  84683. $signature: 0
  84684. };
  84685. A.RateLimit__debounceAggregate_closure0.prototype = {
  84686. call$1(sink) {
  84687. var t1 = this._box_0;
  84688. if (t1.hasPending && this.trailing)
  84689. t1.shouldClose = true;
  84690. else {
  84691. t1 = t1.timer;
  84692. if (t1 != null)
  84693. t1.cancel$0();
  84694. sink.close$0(0);
  84695. }
  84696. },
  84697. $signature() {
  84698. return this.S._eval$1("~(EventSink<0>)");
  84699. }
  84700. };
  84701. A.StringScannerException.prototype = {
  84702. get$source() {
  84703. return A._asString(this.source);
  84704. }
  84705. };
  84706. A.LineScanner.prototype = {
  84707. scanChar$1(character) {
  84708. if (!this.super$StringScanner$scanChar(character))
  84709. return false;
  84710. this._adjustLineAndColumn$1(character);
  84711. return true;
  84712. },
  84713. readChar$0() {
  84714. var character = this.super$StringScanner$readChar();
  84715. this._adjustLineAndColumn$1(character);
  84716. return character;
  84717. },
  84718. _adjustLineAndColumn$1(character) {
  84719. var t1, _this = this;
  84720. if (character !== 10)
  84721. t1 = character === 13 && _this.peekChar$0() !== 10;
  84722. else
  84723. t1 = true;
  84724. if (t1) {
  84725. ++_this._line_scanner$_line;
  84726. _this._line_scanner$_column = 0;
  84727. } else {
  84728. t1 = _this._line_scanner$_column;
  84729. _this._line_scanner$_column = t1 + (character >= 65536 && character <= 1114111 ? 2 : 1);
  84730. }
  84731. },
  84732. scan$1(pattern) {
  84733. var t1, newlines, t2, _this = this;
  84734. if (!_this.super$StringScanner$scan(pattern))
  84735. return false;
  84736. t1 = _this.get$lastMatch();
  84737. newlines = _this._newlinesIn$2$endPosition(t1.pattern, _this._string_scanner$_position);
  84738. t1 = _this._line_scanner$_line;
  84739. t2 = newlines.length;
  84740. _this._line_scanner$_line = t1 + t2;
  84741. if (t2 === 0) {
  84742. t1 = _this._line_scanner$_column;
  84743. t2 = _this.get$lastMatch();
  84744. _this._line_scanner$_column = t1 + t2.pattern.length;
  84745. } else {
  84746. t1 = _this.get$lastMatch();
  84747. _this._line_scanner$_column = t1.pattern.length - J.get$end$z(B.JSArray_methods.get$last(newlines));
  84748. }
  84749. return true;
  84750. },
  84751. _newlinesIn$2$endPosition(text, endPosition) {
  84752. var t1 = $.$get$_newlineRegExp().allMatches$1(0, text),
  84753. newlines = A.List_List$_of(t1, A._instanceType(t1)._eval$1("Iterable.E"));
  84754. t1 = this.string;
  84755. if (endPosition < t1.length && B.JSString_methods.endsWith$1(text, "\r") && t1[endPosition] === "\n")
  84756. newlines.pop();
  84757. return newlines;
  84758. }
  84759. };
  84760. A.SpanScanner.prototype = {
  84761. set$state(state) {
  84762. if (state._scanner !== this)
  84763. throw A.wrapException(A.ArgumentError$(string$.The_gi, null));
  84764. this.set$position(state.position);
  84765. },
  84766. spanFrom$2(startState, endState) {
  84767. var endPosition = endState == null ? this._string_scanner$_position : endState.position;
  84768. return this._sourceFile.span$2(0, startState.position, endPosition);
  84769. },
  84770. spanFrom$1(startState) {
  84771. return this.spanFrom$2(startState, null);
  84772. },
  84773. spanFromPosition$1(startPosition) {
  84774. var t1 = this._string_scanner$_position;
  84775. return this._sourceFile.span$2(0, startPosition, t1);
  84776. },
  84777. matches$1(pattern) {
  84778. var t1, t2, _this = this;
  84779. if (!_this.super$StringScanner$matches(pattern))
  84780. return false;
  84781. t1 = _this._string_scanner$_position;
  84782. t2 = _this.get$lastMatch();
  84783. _this._sourceFile.span$2(0, t1, t2.start + t2.pattern.length);
  84784. return true;
  84785. },
  84786. error$3$length$position(_, message, $length, position) {
  84787. var match, t2, _this = this,
  84788. t1 = _this.string;
  84789. A.validateErrorArgs(t1, null, position, $length);
  84790. match = position == null && $length == null ? _this.get$lastMatch() : null;
  84791. if (position == null)
  84792. position = match == null ? _this._string_scanner$_position : match.start;
  84793. if ($length == null)
  84794. if (match == null)
  84795. $length = 0;
  84796. else {
  84797. t2 = match.start;
  84798. $length = t2 + match.pattern.length - t2;
  84799. }
  84800. throw A.wrapException(A.StringScannerException$(message, _this._sourceFile.span$2(0, position, position + $length), t1));
  84801. },
  84802. error$1(_, message) {
  84803. return this.error$3$length$position(0, message, null, null);
  84804. },
  84805. error$2$position(_, message, position) {
  84806. return this.error$3$length$position(0, message, null, position);
  84807. },
  84808. error$2$length(_, message, $length) {
  84809. return this.error$3$length$position(0, message, $length, null);
  84810. }
  84811. };
  84812. A._SpanScannerState.prototype = {};
  84813. A.StringScanner.prototype = {
  84814. set$position(position) {
  84815. if (B.JSInt_methods.get$isNegative(position) || position > this.string.length)
  84816. throw A.wrapException(A.ArgumentError$("Invalid position " + position, null));
  84817. this._string_scanner$_position = position;
  84818. this._lastMatch = null;
  84819. },
  84820. get$lastMatch() {
  84821. var _this = this;
  84822. if (_this._string_scanner$_position !== _this._lastMatchPosition)
  84823. _this._lastMatch = null;
  84824. return _this._lastMatch;
  84825. },
  84826. readChar$0() {
  84827. var _this = this,
  84828. t1 = _this.string;
  84829. if (_this._string_scanner$_position === t1.length)
  84830. _this._fail$1("more input");
  84831. return t1.charCodeAt(_this._string_scanner$_position++);
  84832. },
  84833. peekChar$1(offset) {
  84834. var index;
  84835. if (offset == null)
  84836. offset = 0;
  84837. index = this._string_scanner$_position + offset;
  84838. if (index < 0 || index >= this.string.length)
  84839. return null;
  84840. return this.string.charCodeAt(index);
  84841. },
  84842. peekChar$0() {
  84843. return this.peekChar$1(null);
  84844. },
  84845. scanChar$1(character) {
  84846. var t1, t2, t3, t4, _this = this;
  84847. if (character >= 65536 && character <= 1114111) {
  84848. t1 = _this._string_scanner$_position;
  84849. t2 = t1 + 1;
  84850. t3 = _this.string;
  84851. if (t2 < t3.length) {
  84852. t4 = character - 65536;
  84853. t2 = t3.charCodeAt(t1) !== B.JSInt_methods._shrOtherPositive$1(t4, 10) + 55296 || t3.charCodeAt(t2) !== (t4 & 1023) + 56320;
  84854. } else
  84855. t2 = true;
  84856. if (t2)
  84857. return false;
  84858. else {
  84859. _this._string_scanner$_position = t1 + 2;
  84860. return true;
  84861. }
  84862. } else {
  84863. t1 = _this._string_scanner$_position;
  84864. t2 = _this.string;
  84865. if (t1 === t2.length)
  84866. return false;
  84867. if (t2.charCodeAt(t1) !== character)
  84868. return false;
  84869. _this._string_scanner$_position = t1 + 1;
  84870. return true;
  84871. }
  84872. },
  84873. expectChar$2$name(character, $name) {
  84874. if (this.scanChar$1(character))
  84875. return;
  84876. if ($name == null)
  84877. if (character === 92)
  84878. $name = '"\\"';
  84879. else
  84880. $name = character === 34 ? '"\\""' : '"' + A.Primitives_stringFromCharCode(character) + '"';
  84881. this._fail$1($name);
  84882. },
  84883. expectChar$1(character) {
  84884. return this.expectChar$2$name(character, null);
  84885. },
  84886. scan$1(pattern) {
  84887. var t1, _this = this,
  84888. success = _this.matches$1(pattern);
  84889. if (success) {
  84890. t1 = _this._lastMatch;
  84891. _this._lastMatchPosition = _this._string_scanner$_position = t1.start + t1.pattern.length;
  84892. }
  84893. return success;
  84894. },
  84895. expect$1(pattern) {
  84896. var t1, $name;
  84897. if (this.scan$1(pattern))
  84898. return;
  84899. t1 = A.stringReplaceAllUnchecked(pattern, "\\", "\\\\");
  84900. $name = '"' + A.stringReplaceAllUnchecked(t1, '"', '\\"') + '"';
  84901. this._fail$1($name);
  84902. },
  84903. expectDone$0() {
  84904. if (this._string_scanner$_position === this.string.length)
  84905. return;
  84906. this._fail$1("no more input");
  84907. },
  84908. matches$1(pattern) {
  84909. var _this = this,
  84910. t1 = B.JSString_methods.matchAsPrefix$2(pattern, _this.string, _this._string_scanner$_position);
  84911. _this._lastMatch = t1;
  84912. _this._lastMatchPosition = _this._string_scanner$_position;
  84913. return t1 != null;
  84914. },
  84915. substring$1(_, start) {
  84916. var end = this._string_scanner$_position;
  84917. return B.JSString_methods.substring$2(this.string, start, end);
  84918. },
  84919. error$3$length$position(_, message, $length, position) {
  84920. var match, t2, _this = this,
  84921. t1 = _this.string;
  84922. A.validateErrorArgs(t1, null, position, $length);
  84923. match = position == null && $length == null ? _this.get$lastMatch() : null;
  84924. if (position == null)
  84925. position = match == null ? _this._string_scanner$_position : match.start;
  84926. if ($length == null)
  84927. if (match == null)
  84928. $length = 0;
  84929. else {
  84930. t2 = match.start;
  84931. $length = t2 + match.pattern.length - t2;
  84932. }
  84933. throw A.wrapException(A.StringScannerException$(message, A.SourceFile$fromString(t1, _this.sourceUrl).span$2(0, position, position + $length), t1));
  84934. },
  84935. error$1(_, message) {
  84936. return this.error$3$length$position(0, message, null, null);
  84937. },
  84938. _fail$1($name) {
  84939. this.error$3$length$position(0, "expected " + $name + ".", 0, this._string_scanner$_position);
  84940. }
  84941. };
  84942. A.AsciiGlyphSet.prototype = {
  84943. glyphOrAscii$2(glyph, alternative) {
  84944. return alternative;
  84945. },
  84946. get$horizontalLine() {
  84947. return "-";
  84948. },
  84949. get$verticalLine() {
  84950. return "|";
  84951. },
  84952. get$topLeftCorner() {
  84953. return ",";
  84954. },
  84955. get$bottomLeftCorner() {
  84956. return "'";
  84957. },
  84958. get$cross() {
  84959. return "+";
  84960. },
  84961. get$upEnd() {
  84962. return "'";
  84963. },
  84964. get$downEnd() {
  84965. return ",";
  84966. },
  84967. get$horizontalLineBold() {
  84968. return "=";
  84969. }
  84970. };
  84971. A.UnicodeGlyphSet.prototype = {
  84972. glyphOrAscii$2(glyph, alternative) {
  84973. return glyph;
  84974. },
  84975. get$horizontalLine() {
  84976. return "\u2500";
  84977. },
  84978. get$verticalLine() {
  84979. return "\u2502";
  84980. },
  84981. get$topLeftCorner() {
  84982. return "\u250c";
  84983. },
  84984. get$bottomLeftCorner() {
  84985. return "\u2514";
  84986. },
  84987. get$cross() {
  84988. return "\u253c";
  84989. },
  84990. get$upEnd() {
  84991. return "\u2575";
  84992. },
  84993. get$downEnd() {
  84994. return "\u2577";
  84995. },
  84996. get$horizontalLineBold() {
  84997. return "\u2501";
  84998. }
  84999. };
  85000. A.WatchEvent.prototype = {
  85001. toString$0(_) {
  85002. return this.type.toString$0(0) + " " + this.path;
  85003. }
  85004. };
  85005. A.ChangeType.prototype = {
  85006. toString$0(_) {
  85007. return this._watch_event$_name;
  85008. }
  85009. };
  85010. A.A98RgbColorSpace0.prototype = {
  85011. get$isBoundedInternal() {
  85012. return true;
  85013. },
  85014. toLinear$1(channel) {
  85015. return J.get$sign$in(channel) * Math.pow(Math.abs(channel), 2.19921875);
  85016. },
  85017. fromLinear$1(channel) {
  85018. return J.get$sign$in(channel) * Math.pow(Math.abs(channel), 0.4547069271758437);
  85019. },
  85020. transformationMatrix$1(dest) {
  85021. var t1;
  85022. $label0$0: {
  85023. if (B.SrgbLinearColorSpace_kUj0 === dest || B.SrgbColorSpace_thf0 === dest || B.RgbColorSpace_i0P0 === dest) {
  85024. t1 = $.$get$linearA98RgbToLinearSrgb0();
  85025. break $label0$0;
  85026. }
  85027. if (B.DisplayP3ColorSpace_MmT0 === dest) {
  85028. t1 = $.$get$linearA98RgbToLinearDisplayP30();
  85029. break $label0$0;
  85030. }
  85031. if (B.ProphotoRgbColorSpace_BDz0 === dest) {
  85032. t1 = $.$get$linearA98RgbToLinearProphotoRgb0();
  85033. break $label0$0;
  85034. }
  85035. if (B.Rec2020ColorSpace_6oo0 === dest) {
  85036. t1 = $.$get$linearA98RgbToLinearRec20200();
  85037. break $label0$0;
  85038. }
  85039. if (B.XyzD65ColorSpace_WiJ0 === dest) {
  85040. t1 = $.$get$linearA98RgbToXyzD650();
  85041. break $label0$0;
  85042. }
  85043. if (B.XyzD50ColorSpace_2OB0 === dest) {
  85044. t1 = $.$get$linearA98RgbToXyzD500();
  85045. break $label0$0;
  85046. }
  85047. if (B.LmsColorSpace_Os30 === dest) {
  85048. t1 = $.$get$linearA98RgbToLms0();
  85049. break $label0$0;
  85050. }
  85051. t1 = this.super$ColorSpace$transformationMatrix0(dest);
  85052. break $label0$0;
  85053. }
  85054. return t1;
  85055. }
  85056. };
  85057. A.AnySelectorVisitor0.prototype = {
  85058. visitComplexSelector$1(complex) {
  85059. return B.JSArray_methods.any$1(complex.components, new A.AnySelectorVisitor_visitComplexSelector_closure0(this));
  85060. },
  85061. visitCompoundSelector$1(compound) {
  85062. return B.JSArray_methods.any$1(compound.components, new A.AnySelectorVisitor_visitCompoundSelector_closure0(this));
  85063. },
  85064. visitPseudoSelector$1(pseudo) {
  85065. var selector = pseudo.selector;
  85066. return selector == null ? false : this.visitSelectorList$1(selector);
  85067. },
  85068. visitSelectorList$1(list) {
  85069. return B.JSArray_methods.any$1(list.components, this.get$visitComplexSelector());
  85070. },
  85071. visitAttributeSelector$1(attribute) {
  85072. return false;
  85073. },
  85074. visitClassSelector$1(klass) {
  85075. return false;
  85076. },
  85077. visitIDSelector$1(id) {
  85078. return false;
  85079. },
  85080. visitParentSelector$1($parent) {
  85081. return false;
  85082. },
  85083. visitPlaceholderSelector$1(placeholder) {
  85084. return false;
  85085. },
  85086. visitTypeSelector$1(type) {
  85087. return false;
  85088. },
  85089. visitUniversalSelector$1(universal) {
  85090. return false;
  85091. }
  85092. };
  85093. A.AnySelectorVisitor_visitComplexSelector_closure0.prototype = {
  85094. call$1(component) {
  85095. return this.$this.visitCompoundSelector$1(component.selector);
  85096. },
  85097. $signature: 54
  85098. };
  85099. A.AnySelectorVisitor_visitCompoundSelector_closure0.prototype = {
  85100. call$1(simple) {
  85101. return simple.accept$1(this.$this);
  85102. },
  85103. $signature: 13
  85104. };
  85105. A.SupportsAnything0.prototype = {
  85106. toInterpolation$0() {
  85107. var t1 = new A.StringBuffer(""),
  85108. t2 = new A.InterpolationBuffer0(t1, A._setArrayType([], type$.JSArray_Object), A._setArrayType([], type$.JSArray_nullable_FileSpan)),
  85109. t3 = this.span,
  85110. t4 = this.contents,
  85111. t5 = t4.span,
  85112. t6 = A.SpanExtensions_before(t3, t5);
  85113. t6 = A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t6.file._decodedChars, t6._file$_start, t6._end), 0, null);
  85114. t1._contents += t6;
  85115. t2.addInterpolation$1(t4);
  85116. t5 = A.SpanExtensions_after(t3, t5);
  85117. t5 = A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t5.file._decodedChars, t5._file$_start, t5._end), 0, null);
  85118. t1._contents += t5;
  85119. return t2.interpolation$1(t3);
  85120. },
  85121. withSpan$1(span) {
  85122. return new A.SupportsAnything0(this.contents, span);
  85123. },
  85124. toString$0(_) {
  85125. return "(" + this.contents.toString$0(0) + ")";
  85126. },
  85127. $isAstNode0: 1,
  85128. $isSassNode: 1,
  85129. $isSupportsCondition: 1,
  85130. get$span(receiver) {
  85131. return this.span;
  85132. }
  85133. };
  85134. A.ArgumentList0.prototype = {
  85135. get$isEmpty(_) {
  85136. var t1;
  85137. if (this.positional.length === 0) {
  85138. t1 = this.named;
  85139. t1 = t1.get$isEmpty(t1) && this.rest == null;
  85140. } else
  85141. t1 = false;
  85142. return t1;
  85143. },
  85144. toString$0(_) {
  85145. var t2, t3, _i, _1_0, _2_0, _this = this,
  85146. t1 = A._setArrayType([], type$.JSArray_String);
  85147. for (t2 = _this.positional, t3 = t2.length, _i = 0; _i < t3; ++_i)
  85148. t1.push(_this._argument_list0$_parenthesizeArgument$1(t2[_i]));
  85149. for (t2 = A.MapExtensions_get_pairs0(_this.named, type$.String, type$.Expression_2), t2 = t2.get$iterator(t2); t2.moveNext$0();) {
  85150. t3 = t2.get$current(t2);
  85151. t1.push("$" + t3._0 + ": " + _this._argument_list0$_parenthesizeArgument$1(t3._1));
  85152. }
  85153. _1_0 = _this.rest;
  85154. if (_1_0 != null)
  85155. t1.push(_this._argument_list0$_parenthesizeArgument$1(_1_0) + "...");
  85156. _2_0 = _this.keywordRest;
  85157. if (_2_0 != null)
  85158. t1.push(_this._argument_list0$_parenthesizeArgument$1(_2_0) + "...");
  85159. return "(" + B.JSArray_methods.join$1(t1, ", ") + ")";
  85160. },
  85161. _argument_list0$_parenthesizeArgument$1(argument) {
  85162. var t1;
  85163. $label0$0: {
  85164. if (argument instanceof A.ListExpression0 && B.ListSeparator_qVN0 === argument.separator && !argument.hasBrackets && argument.contents.length >= 2) {
  85165. t1 = "(" + argument.toString$0(0) + ")";
  85166. break $label0$0;
  85167. }
  85168. t1 = argument.toString$0(0);
  85169. break $label0$0;
  85170. }
  85171. return t1;
  85172. },
  85173. $isAstNode0: 1,
  85174. $isSassNode: 1,
  85175. get$span(receiver) {
  85176. return this.span;
  85177. }
  85178. };
  85179. A.argumentListClass_closure.prototype = {
  85180. call$0() {
  85181. var t1 = type$.JSClass,
  85182. jsClass = t1._as(A.allowInteropCaptureThisNamed("sass.SassArgumentList", new A.argumentListClass__closure()));
  85183. A.defineGetter(J.get$$prototype$x(jsClass), "keywords", new A.argumentListClass__closure0(), null);
  85184. 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);
  85185. return jsClass;
  85186. },
  85187. $signature: 15
  85188. };
  85189. A.argumentListClass__closure.prototype = {
  85190. call$4($self, contents, keywords, separator) {
  85191. var t3,
  85192. t1 = self.immutable.isOrderedMap(contents) ? J.toArray$0$x(type$.ImmutableList._as(contents)) : type$.List_dynamic._as(contents),
  85193. t2 = type$.Value_2;
  85194. t1 = J.cast$1$0$ax(t1, t2);
  85195. t3 = self.immutable.isOrderedMap(keywords) ? A.immutableMapToDartMap(type$.ImmutableMap._as(keywords)) : A.objectToMap(keywords);
  85196. return A.SassArgumentList$0(t1, t3.cast$2$0(0, type$.String, t2), A.jsToDartSeparator(separator));
  85197. },
  85198. call$3($self, contents, keywords) {
  85199. return this.call$4($self, contents, keywords, ",");
  85200. },
  85201. "call*": "call$4",
  85202. $requiredArgCount: 3,
  85203. $defaultValues() {
  85204. return [","];
  85205. },
  85206. $signature: 305
  85207. };
  85208. A.argumentListClass__closure0.prototype = {
  85209. call$1($self) {
  85210. $self._argument_list$_wereKeywordsAccessed = true;
  85211. return A.dartMapToImmutableMap($self._argument_list$_keywords);
  85212. },
  85213. $signature: 306
  85214. };
  85215. A.SassArgumentList0.prototype = {};
  85216. A.JSArray1.prototype = {};
  85217. A.AsyncImporter0.prototype = {
  85218. isNonCanonicalScheme$1(scheme) {
  85219. return false;
  85220. }
  85221. };
  85222. A.JSToDartAsyncImporter.prototype = {
  85223. canonicalize$1(_, url) {
  85224. return this.canonicalize$body$JSToDartAsyncImporter(0, url);
  85225. },
  85226. canonicalize$body$JSToDartAsyncImporter(_, url) {
  85227. var $async$goto = 0,
  85228. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Uri),
  85229. $async$returnValue, $async$self = this, t1, result;
  85230. var $async$canonicalize$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  85231. if ($async$errorCode === 1)
  85232. return A._asyncRethrow($async$result, $async$completer);
  85233. while (true)
  85234. switch ($async$goto) {
  85235. case 0:
  85236. // Function start
  85237. result = A.wrapJSExceptions(new A.JSToDartAsyncImporter_canonicalize_closure($async$self, url));
  85238. $async$goto = result != null && result instanceof self.Promise ? 3 : 4;
  85239. break;
  85240. case 3:
  85241. // then
  85242. $async$goto = 5;
  85243. return A._asyncAwait(A.promiseToFuture0(type$.Promise._as(result), type$.nullable_Object), $async$canonicalize$1);
  85244. case 5:
  85245. // returning from await.
  85246. result = $async$result;
  85247. case 4:
  85248. // join
  85249. if (result == null) {
  85250. $async$returnValue = null;
  85251. // goto return
  85252. $async$goto = 1;
  85253. break;
  85254. }
  85255. t1 = self.URL;
  85256. if (result instanceof t1) {
  85257. $async$returnValue = A.Uri_parse(J.toString$0$(type$.JSUrl._as(result)));
  85258. // goto return
  85259. $async$goto = 1;
  85260. break;
  85261. }
  85262. A.jsThrow(new self.Error(string$.The_ca));
  85263. case 1:
  85264. // return
  85265. return A._asyncReturn($async$returnValue, $async$completer);
  85266. }
  85267. });
  85268. return A._asyncStartSync($async$canonicalize$1, $async$completer);
  85269. },
  85270. load$1(_, url) {
  85271. return this.load$body$JSToDartAsyncImporter(0, url);
  85272. },
  85273. load$body$JSToDartAsyncImporter(_, url) {
  85274. var $async$goto = 0,
  85275. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_ImporterResult_2),
  85276. $async$returnValue, $async$self = this, t1, contents, syntax, t2, result;
  85277. var $async$load$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  85278. if ($async$errorCode === 1)
  85279. return A._asyncRethrow($async$result, $async$completer);
  85280. while (true)
  85281. switch ($async$goto) {
  85282. case 0:
  85283. // Function start
  85284. result = A.wrapJSExceptions(new A.JSToDartAsyncImporter_load_closure($async$self, url));
  85285. $async$goto = result != null && result instanceof self.Promise ? 3 : 4;
  85286. break;
  85287. case 3:
  85288. // then
  85289. $async$goto = 5;
  85290. return A._asyncAwait(A.promiseToFuture0(type$.Promise._as(result), type$.nullable_Object), $async$load$1);
  85291. case 5:
  85292. // returning from await.
  85293. result = $async$result;
  85294. case 4:
  85295. // join
  85296. if (result == null) {
  85297. $async$returnValue = null;
  85298. // goto return
  85299. $async$goto = 1;
  85300. break;
  85301. }
  85302. type$.JSImporterResult._as(result);
  85303. t1 = J.getInterceptor$x(result);
  85304. contents = t1.get$contents(result);
  85305. if (A._asString(new self.Function("value", "return typeof value").call$1(contents)) !== "string")
  85306. A.jsThrow(new A.ArgumentError(true, contents, "contents", "must be a string but was: " + A.jsType(contents)));
  85307. syntax = t1.get$syntax(result);
  85308. if (contents == null || syntax == null)
  85309. A.jsThrow(new self.Error(string$.The_lo));
  85310. t2 = A.parseSyntax(syntax);
  85311. $async$returnValue = A.ImporterResult$(contents, A.NullableExtension_andThen0(t1.get$sourceMapUrl(result), A.utils3__jsToDartUrl$closure()), t2);
  85312. // goto return
  85313. $async$goto = 1;
  85314. break;
  85315. case 1:
  85316. // return
  85317. return A._asyncReturn($async$returnValue, $async$completer);
  85318. }
  85319. });
  85320. return A._asyncStartSync($async$load$1, $async$completer);
  85321. },
  85322. isNonCanonicalScheme$1(scheme) {
  85323. return this._nonCanonicalSchemes.contains$1(0, scheme);
  85324. }
  85325. };
  85326. A.JSToDartAsyncImporter_canonicalize_closure.prototype = {
  85327. call$0() {
  85328. return this.$this._async0$_canonicalize.call$2(this.url.toString$0(0), A.canonicalizeContext0());
  85329. },
  85330. $signature: 36
  85331. };
  85332. A.JSToDartAsyncImporter_load_closure.prototype = {
  85333. call$0() {
  85334. return this.$this._load.call$1(new self.URL(this.url.toString$0(0)));
  85335. },
  85336. $signature: 36
  85337. };
  85338. A.AsyncBuiltInCallable0.prototype = {
  85339. callbackFor$2(positional, names) {
  85340. return new A._Record_2(this._async_built_in0$_parameters, this._async_built_in0$_callback);
  85341. },
  85342. withDeprecationWarning$1(module) {
  85343. return new A.AsyncBuiltInCallable0(this.name, this._async_built_in0$_parameters, new A.AsyncBuiltInCallable_withDeprecationWarning_closure0(this, module, null), false);
  85344. },
  85345. $isAsyncCallable0: 1,
  85346. get$name(receiver) {
  85347. return this.name;
  85348. },
  85349. get$acceptsContent() {
  85350. return this.acceptsContent;
  85351. }
  85352. };
  85353. A.AsyncBuiltInCallable$mixin_closure0.prototype = {
  85354. call$1($arguments) {
  85355. return this.$call$body$AsyncBuiltInCallable$mixin_closure0($arguments);
  85356. },
  85357. $call$body$AsyncBuiltInCallable$mixin_closure0($arguments) {
  85358. var $async$goto = 0,
  85359. $async$completer = A._makeAsyncAwaitCompleter(type$.Value_2),
  85360. $async$returnValue, $async$self = this, t1;
  85361. var $async$call$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  85362. if ($async$errorCode === 1)
  85363. return A._asyncRethrow($async$result, $async$completer);
  85364. while (true)
  85365. switch ($async$goto) {
  85366. case 0:
  85367. // Function start
  85368. t1 = $async$self.callback.call$1($arguments);
  85369. $async$goto = 3;
  85370. return A._asyncAwait(t1 instanceof A._Future ? t1 : A._Future$value(t1, type$.void), $async$call$1);
  85371. case 3:
  85372. // returning from await.
  85373. $async$returnValue = B.C__SassNull0;
  85374. // goto return
  85375. $async$goto = 1;
  85376. break;
  85377. case 1:
  85378. // return
  85379. return A._asyncReturn($async$returnValue, $async$completer);
  85380. }
  85381. });
  85382. return A._asyncStartSync($async$call$1, $async$completer);
  85383. },
  85384. $signature: 109
  85385. };
  85386. A.AsyncBuiltInCallable_withDeprecationWarning_closure0.prototype = {
  85387. call$1(args) {
  85388. var t1 = this.$this;
  85389. A.warnForDeprecation0(string$.Global + this.module + "." + t1.name + string$.x20inste, B.Deprecation_ZDV);
  85390. return t1._async_built_in0$_callback.call$1(args);
  85391. },
  85392. $signature: 309
  85393. };
  85394. A._compileStylesheet_closure2.prototype = {
  85395. call$1(url) {
  85396. 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);
  85397. },
  85398. $signature: 6
  85399. };
  85400. A.AsyncEnvironment0.prototype = {
  85401. closure$0() {
  85402. var t4, t5, t6, _this = this,
  85403. t1 = _this._async_environment0$_forwardedModules,
  85404. t2 = _this._async_environment0$_nestedForwardedModules,
  85405. t3 = _this._async_environment0$_variables;
  85406. t3 = A._setArrayType(t3.slice(0), A._arrayInstanceType(t3));
  85407. t4 = _this._async_environment0$_variableNodes;
  85408. t4 = A._setArrayType(t4.slice(0), A._arrayInstanceType(t4));
  85409. t5 = _this._async_environment0$_functions;
  85410. t5 = A._setArrayType(t5.slice(0), A._arrayInstanceType(t5));
  85411. t6 = _this._async_environment0$_mixins;
  85412. t6 = A._setArrayType(t6.slice(0), A._arrayInstanceType(t6));
  85413. 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, B.Set_empty1);
  85414. },
  85415. forwardModule$2(module, rule) {
  85416. var view, t1, t2, _this = this,
  85417. forwardedModules = _this._async_environment0$_forwardedModules;
  85418. if (forwardedModules == null)
  85419. forwardedModules = _this._async_environment0$_forwardedModules = A.LinkedHashMap_LinkedHashMap$_empty(type$.Module_AsyncCallable_2, type$.AstNode_2);
  85420. view = A.ForwardedModuleView_ifNecessary0(module, rule, type$.AsyncCallable_2);
  85421. for (t1 = new A.LinkedHashMapKeyIterator(forwardedModules, forwardedModules._modifications, forwardedModules._first); t1.moveNext$0();) {
  85422. t2 = t1.__js_helper$_current;
  85423. _this._async_environment0$_assertNoConflicts$5(view.get$variables(), t2.get$variables(), view, t2, "variable");
  85424. _this._async_environment0$_assertNoConflicts$5(view.get$functions(view), t2.get$functions(t2), view, t2, "function");
  85425. _this._async_environment0$_assertNoConflicts$5(view.get$mixins(), t2.get$mixins(), view, t2, "mixin");
  85426. }
  85427. _this._async_environment0$_allModules.push(module);
  85428. forwardedModules.$indexSet(0, view, rule);
  85429. },
  85430. _async_environment0$_assertNoConflicts$5(newMembers, oldMembers, newModule, oldModule, type) {
  85431. var larger, smaller, t1, t2, t3, t4, $name, small, large, span;
  85432. if (newMembers.get$length(newMembers) < oldMembers.get$length(oldMembers)) {
  85433. larger = oldMembers;
  85434. smaller = newMembers;
  85435. } else {
  85436. larger = newMembers;
  85437. smaller = oldMembers;
  85438. }
  85439. for (t1 = type$.String, t2 = A.MapExtensions_get_pairs0(smaller, t1, type$.Object), t2 = t2.get$iterator(t2), t3 = type === "variable"; t2.moveNext$0();) {
  85440. t4 = t2.get$current(t2);
  85441. $name = t4._0;
  85442. small = t4._1;
  85443. large = larger.$index(0, $name);
  85444. if (large == null)
  85445. continue;
  85446. if (t3 ? newModule.variableIdentity$1($name) === oldModule.variableIdentity$1($name) : J.$eq$(large, small))
  85447. continue;
  85448. if (t3)
  85449. $name = "$" + $name;
  85450. t2 = this._async_environment0$_forwardedModules;
  85451. if (t2 == null)
  85452. span = null;
  85453. else {
  85454. t2 = t2.$index(0, oldModule);
  85455. span = t2 == null ? null : t2.get$span(t2);
  85456. }
  85457. t2 = A.LinkedHashMap_LinkedHashMap$_empty(type$.FileSpan, t1);
  85458. if (span != null)
  85459. t2.$indexSet(0, span, "original @forward");
  85460. throw A.wrapException(A.MultiSpanSassScriptException$0("Two forwarded modules both define a " + type + " named " + $name + ".", "new @forward", t2));
  85461. }
  85462. },
  85463. importForwards$1(module) {
  85464. var forwardedModules, t1, t2, t3, t4, node, t5, t6, t7, t8, t9, t10, _i, t11, shadowed, t12, t13, _length, _list, _this = this,
  85465. forwarded = module._async_environment0$_environment._async_environment0$_forwardedModules;
  85466. if (forwarded == null)
  85467. return;
  85468. forwardedModules = _this._async_environment0$_forwardedModules;
  85469. if (forwardedModules != null) {
  85470. t1 = type$.Module_AsyncCallable_2;
  85471. t2 = type$.AstNode_2;
  85472. t3 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t2);
  85473. for (t1 = A.MapExtensions_get_pairs0(forwarded, t1, t2), t1 = t1.get$iterator(t1), t2 = _this._async_environment0$_globalModules; t1.moveNext$0();) {
  85474. t4 = t1.get$current(t1);
  85475. module = t4._0;
  85476. node = t4._1;
  85477. if (!forwardedModules.containsKey$1(module) || !t2.containsKey$1(module))
  85478. t3.$indexSet(0, module, node);
  85479. }
  85480. forwarded = t3;
  85481. } else
  85482. forwardedModules = _this._async_environment0$_forwardedModules = A.LinkedHashMap_LinkedHashMap$_empty(type$.Module_AsyncCallable_2, type$.AstNode_2);
  85483. t1 = type$.String;
  85484. t2 = A.LinkedHashSet_LinkedHashSet$_empty(t1);
  85485. for (t3 = new A.LinkedHashMapKeyIterator(forwarded, forwarded._modifications, forwarded._first); t3.moveNext$0();)
  85486. for (t4 = t3.__js_helper$_current.get$variables(), t4 = J.get$iterator$ax(t4.get$keys(t4)); t4.moveNext$0();)
  85487. t2.add$1(0, t4.get$current(t4));
  85488. t3 = A.LinkedHashSet_LinkedHashSet$_empty(t1);
  85489. for (t4 = new A.LinkedHashMapKeyIterator(forwarded, forwarded._modifications, forwarded._first); t4.moveNext$0();) {
  85490. t5 = t4.__js_helper$_current;
  85491. for (t5 = t5.get$functions(t5), t5 = J.get$iterator$ax(t5.get$keys(t5)); t5.moveNext$0();)
  85492. t3.add$1(0, t5.get$current(t5));
  85493. }
  85494. t1 = A.LinkedHashSet_LinkedHashSet$_empty(t1);
  85495. for (t4 = new A.LinkedHashMapKeyIterator(forwarded, forwarded._modifications, forwarded._first); t4.moveNext$0();)
  85496. for (t5 = t4.__js_helper$_current.get$mixins(), t5 = J.get$iterator$ax(t5.get$keys(t5)); t5.moveNext$0();)
  85497. t1.add$1(0, t5.get$current(t5));
  85498. t4 = _this._async_environment0$_variables;
  85499. t5 = t4.length;
  85500. if (t5 === 1) {
  85501. 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) {
  85502. t11 = t8[_i];
  85503. module = t11._0;
  85504. shadowed = A.ShadowedModuleView_ifNecessary0(module, t3, t1, t2, t10);
  85505. if (shadowed != null) {
  85506. t5.remove$1(0, module);
  85507. t12 = shadowed.variables;
  85508. t13 = false;
  85509. if (t12.get$isEmpty(t12)) {
  85510. t12 = shadowed.functions;
  85511. if (t12.get$isEmpty(t12)) {
  85512. t12 = shadowed.mixins;
  85513. if (t12.get$isEmpty(t12)) {
  85514. t12 = shadowed._shadowed_view0$_inner;
  85515. t12 = t12.get$css(t12);
  85516. t12 = J.get$isEmpty$asx(t12.get$children(t12));
  85517. } else
  85518. t12 = t13;
  85519. } else
  85520. t12 = t13;
  85521. } else
  85522. t12 = t13;
  85523. if (!t12)
  85524. t5.$indexSet(0, shadowed, t11._1);
  85525. }
  85526. }
  85527. 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) {
  85528. t8 = t6[_i];
  85529. module = t8._0;
  85530. shadowed = A.ShadowedModuleView_ifNecessary0(module, t3, t1, t2, t10);
  85531. if (shadowed != null) {
  85532. forwardedModules.remove$1(0, module);
  85533. t9 = shadowed.variables;
  85534. t11 = false;
  85535. if (t9.get$isEmpty(t9)) {
  85536. t9 = shadowed.functions;
  85537. if (t9.get$isEmpty(t9)) {
  85538. t9 = shadowed.mixins;
  85539. if (t9.get$isEmpty(t9)) {
  85540. t9 = shadowed._shadowed_view0$_inner;
  85541. t9 = t9.get$css(t9);
  85542. t9 = J.get$isEmpty$asx(t9.get$children(t9));
  85543. } else
  85544. t9 = t11;
  85545. } else
  85546. t9 = t11;
  85547. } else
  85548. t9 = t11;
  85549. if (!t9)
  85550. forwardedModules.$indexSet(0, shadowed, t8._1);
  85551. }
  85552. }
  85553. t5.addAll$1(0, forwarded);
  85554. forwardedModules.addAll$1(0, forwarded);
  85555. } else {
  85556. t6 = _this._async_environment0$_nestedForwardedModules;
  85557. if (t6 == null) {
  85558. _length = t5 - 1;
  85559. _list = J.JSArray_JSArray$allocateGrowable(_length, type$.List_Module_AsyncCallable_2);
  85560. for (t5 = type$.JSArray_Module_AsyncCallable_2, _i = 0; _i < _length; ++_i)
  85561. _list[_i] = A._setArrayType([], t5);
  85562. _this._async_environment0$_nestedForwardedModules = _list;
  85563. t5 = _list;
  85564. } else
  85565. t5 = t6;
  85566. B.JSArray_methods.addAll$1(B.JSArray_methods.get$last(t5), new A.LinkedHashMapKeysIterable(forwarded, A._instanceType(forwarded)._eval$1("LinkedHashMapKeysIterable<1>")));
  85567. }
  85568. 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();) {
  85569. t8 = t2._collection$_current;
  85570. if (t8 == null)
  85571. t8 = t7._as(t8);
  85572. t5.remove$1(0, t8);
  85573. J.remove$1$z(B.JSArray_methods.get$last(t4), t8);
  85574. J.remove$1$z(B.JSArray_methods.get$last(t6), t8);
  85575. }
  85576. 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();) {
  85577. t6 = t2._collection$_current;
  85578. if (t6 == null)
  85579. t6 = t5._as(t6);
  85580. t3.remove$1(0, t6);
  85581. J.remove$1$z(B.JSArray_methods.get$last(t4), t6);
  85582. }
  85583. 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();) {
  85584. t5 = t1._collection$_current;
  85585. if (t5 == null)
  85586. t5 = t4._as(t5);
  85587. t2.remove$1(0, t5);
  85588. J.remove$1$z(B.JSArray_methods.get$last(t3), t5);
  85589. }
  85590. },
  85591. getVariable$2$namespace($name, namespace) {
  85592. var t1, _0_0, _1_0, _this = this;
  85593. if (namespace != null)
  85594. return _this._async_environment0$_getModule$1(namespace).get$variables().$index(0, $name);
  85595. if (_this._async_environment0$_lastVariableName === $name) {
  85596. t1 = _this._async_environment0$_lastVariableIndex;
  85597. t1.toString;
  85598. t1 = _this._async_environment0$_variables[t1].$index(0, $name);
  85599. return t1 == null ? _this._async_environment0$_getVariableFromGlobalModule$1($name) : t1;
  85600. }
  85601. t1 = _this._async_environment0$_variableIndices;
  85602. _0_0 = t1.$index(0, $name);
  85603. if (_0_0 != null) {
  85604. _this._async_environment0$_lastVariableName = $name;
  85605. _this._async_environment0$_lastVariableIndex = _0_0;
  85606. t1 = _this._async_environment0$_variables[_0_0].$index(0, $name);
  85607. return t1 == null ? _this._async_environment0$_getVariableFromGlobalModule$1($name) : t1;
  85608. } else {
  85609. _1_0 = _this._async_environment0$_variableIndex$1($name);
  85610. if (_1_0 != null) {
  85611. _this._async_environment0$_lastVariableName = $name;
  85612. _this._async_environment0$_lastVariableIndex = _1_0;
  85613. t1.$indexSet(0, $name, _1_0);
  85614. t1 = _this._async_environment0$_variables[_1_0].$index(0, $name);
  85615. return t1 == null ? _this._async_environment0$_getVariableFromGlobalModule$1($name) : t1;
  85616. } else
  85617. return _this._async_environment0$_getVariableFromGlobalModule$1($name);
  85618. }
  85619. },
  85620. getVariable$1($name) {
  85621. return this.getVariable$2$namespace($name, null);
  85622. },
  85623. _async_environment0$_getVariableFromGlobalModule$1($name) {
  85624. return this._async_environment0$_fromOneModule$3($name, "variable", new A.AsyncEnvironment__getVariableFromGlobalModule_closure0($name));
  85625. },
  85626. getVariableNode$2$namespace($name, namespace) {
  85627. var t1, _0_0, _1_0, _this = this;
  85628. if (namespace != null)
  85629. return _this._async_environment0$_getModule$1(namespace).get$variableNodes().$index(0, $name);
  85630. if (_this._async_environment0$_lastVariableName === $name) {
  85631. t1 = _this._async_environment0$_lastVariableIndex;
  85632. t1.toString;
  85633. t1 = _this._async_environment0$_variableNodes[t1].$index(0, $name);
  85634. return t1 == null ? _this._async_environment0$_getVariableNodeFromGlobalModule$1($name) : t1;
  85635. }
  85636. t1 = _this._async_environment0$_variableIndices;
  85637. _0_0 = t1.$index(0, $name);
  85638. if (_0_0 != null) {
  85639. _this._async_environment0$_lastVariableName = $name;
  85640. _this._async_environment0$_lastVariableIndex = _0_0;
  85641. t1 = _this._async_environment0$_variableNodes[_0_0].$index(0, $name);
  85642. return t1 == null ? _this._async_environment0$_getVariableNodeFromGlobalModule$1($name) : t1;
  85643. } else {
  85644. _1_0 = _this._async_environment0$_variableIndex$1($name);
  85645. if (_1_0 != null) {
  85646. _this._async_environment0$_lastVariableName = $name;
  85647. _this._async_environment0$_lastVariableIndex = _1_0;
  85648. t1.$indexSet(0, $name, _1_0);
  85649. t1 = _this._async_environment0$_variableNodes[_1_0].$index(0, $name);
  85650. return t1 == null ? _this._async_environment0$_getVariableNodeFromGlobalModule$1($name) : t1;
  85651. } else
  85652. return _this._async_environment0$_getVariableNodeFromGlobalModule$1($name);
  85653. }
  85654. },
  85655. _async_environment0$_getVariableNodeFromGlobalModule$1($name) {
  85656. var t1, t2, _0_0;
  85657. 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();) {
  85658. t1 = t2._currentIterator;
  85659. _0_0 = t1.get$current(t1).get$variableNodes().$index(0, $name);
  85660. if (_0_0 != null)
  85661. return _0_0;
  85662. }
  85663. return null;
  85664. },
  85665. globalVariableExists$2$namespace($name, namespace) {
  85666. if (namespace != null)
  85667. return this._async_environment0$_getModule$1(namespace).get$variables().containsKey$1($name);
  85668. if (B.JSArray_methods.get$first(this._async_environment0$_variables).containsKey$1($name))
  85669. return true;
  85670. return this._async_environment0$_getVariableFromGlobalModule$1($name) != null;
  85671. },
  85672. globalVariableExists$1($name) {
  85673. return this.globalVariableExists$2$namespace($name, null);
  85674. },
  85675. _async_environment0$_variableIndex$1($name) {
  85676. var t1, i;
  85677. for (t1 = this._async_environment0$_variables, i = t1.length - 1; i >= 0; --i)
  85678. if (t1[i].containsKey$1($name))
  85679. return i;
  85680. return null;
  85681. },
  85682. setVariable$5$global$namespace($name, value, nodeWithSpan, global, namespace) {
  85683. var t1, moduleWithName, nestedForwardedModules, t2, t3, t4, t5, index, _this = this;
  85684. if (namespace != null) {
  85685. _this._async_environment0$_getModule$1(namespace).setVariable$3($name, value, nodeWithSpan);
  85686. return;
  85687. }
  85688. if (global || _this._async_environment0$_variables.length === 1) {
  85689. _this._async_environment0$_variableIndices.putIfAbsent$2($name, new A.AsyncEnvironment_setVariable_closure2(_this, $name));
  85690. t1 = _this._async_environment0$_variables;
  85691. if (!B.JSArray_methods.get$first(t1).containsKey$1($name)) {
  85692. moduleWithName = _this._async_environment0$_fromOneModule$3($name, "variable", new A.AsyncEnvironment_setVariable_closure3($name));
  85693. if (moduleWithName != null) {
  85694. moduleWithName.setVariable$3($name, value, nodeWithSpan);
  85695. return;
  85696. }
  85697. }
  85698. J.$indexSet$ax(B.JSArray_methods.get$first(t1), $name, value);
  85699. J.$indexSet$ax(B.JSArray_methods.get$first(_this._async_environment0$_variableNodes), $name, nodeWithSpan);
  85700. return;
  85701. }
  85702. nestedForwardedModules = _this._async_environment0$_nestedForwardedModules;
  85703. if (nestedForwardedModules != null && !_this._async_environment0$_variableIndices.containsKey$1($name) && _this._async_environment0$_variableIndex$1($name) == null)
  85704. 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();) {
  85705. t3 = t2.__internal$_current;
  85706. 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();) {
  85707. t5 = t3.__internal$_current;
  85708. if (t5 == null)
  85709. t5 = t4._as(t5);
  85710. if (t5.get$variables().containsKey$1($name)) {
  85711. t5.setVariable$3($name, value, nodeWithSpan);
  85712. return;
  85713. }
  85714. }
  85715. }
  85716. if (_this._async_environment0$_lastVariableName === $name) {
  85717. t1 = _this._async_environment0$_lastVariableIndex;
  85718. t1.toString;
  85719. index = t1;
  85720. } else
  85721. index = _this._async_environment0$_variableIndices.putIfAbsent$2($name, new A.AsyncEnvironment_setVariable_closure4(_this, $name));
  85722. if (!_this._async_environment0$_inSemiGlobalScope && index === 0) {
  85723. index = _this._async_environment0$_variables.length - 1;
  85724. _this._async_environment0$_variableIndices.$indexSet(0, $name, index);
  85725. }
  85726. _this._async_environment0$_lastVariableName = $name;
  85727. _this._async_environment0$_lastVariableIndex = index;
  85728. _this._async_environment0$_variables[index].$indexSet(0, $name, value);
  85729. _this._async_environment0$_variableNodes[index].$indexSet(0, $name, nodeWithSpan);
  85730. },
  85731. setVariable$4$global($name, value, nodeWithSpan, global) {
  85732. return this.setVariable$5$global$namespace($name, value, nodeWithSpan, global, null);
  85733. },
  85734. setLocalVariable$3($name, value, nodeWithSpan) {
  85735. var index, _this = this,
  85736. t1 = _this._async_environment0$_variables,
  85737. t2 = t1.length;
  85738. _this._async_environment0$_lastVariableName = $name;
  85739. index = _this._async_environment0$_lastVariableIndex = t2 - 1;
  85740. _this._async_environment0$_variableIndices.$indexSet(0, $name, index);
  85741. t1[index].$indexSet(0, $name, value);
  85742. _this._async_environment0$_variableNodes[index].$indexSet(0, $name, nodeWithSpan);
  85743. },
  85744. getFunction$2$namespace($name, namespace) {
  85745. var t1, _0_0, _1_0, _this = this;
  85746. if (namespace != null) {
  85747. t1 = _this._async_environment0$_getModule$1(namespace);
  85748. return t1.get$functions(t1).$index(0, $name);
  85749. }
  85750. t1 = _this._async_environment0$_functionIndices;
  85751. _0_0 = t1.$index(0, $name);
  85752. if (_0_0 != null) {
  85753. t1 = _this._async_environment0$_functions[_0_0].$index(0, $name);
  85754. return t1 == null ? _this._async_environment0$_getFunctionFromGlobalModule$1($name) : t1;
  85755. } else {
  85756. _1_0 = _this._async_environment0$_functionIndex$1($name);
  85757. if (_1_0 != null) {
  85758. t1.$indexSet(0, $name, _1_0);
  85759. t1 = _this._async_environment0$_functions[_1_0].$index(0, $name);
  85760. return t1 == null ? _this._async_environment0$_getFunctionFromGlobalModule$1($name) : t1;
  85761. } else
  85762. return _this._async_environment0$_getFunctionFromGlobalModule$1($name);
  85763. }
  85764. },
  85765. getFunction$1($name) {
  85766. return this.getFunction$2$namespace($name, null);
  85767. },
  85768. _async_environment0$_getFunctionFromGlobalModule$1($name) {
  85769. return this._async_environment0$_fromOneModule$3($name, "function", new A.AsyncEnvironment__getFunctionFromGlobalModule_closure0($name));
  85770. },
  85771. _async_environment0$_functionIndex$1($name) {
  85772. var t1, i;
  85773. for (t1 = this._async_environment0$_functions, i = t1.length - 1; i >= 0; --i)
  85774. if (t1[i].containsKey$1($name))
  85775. return i;
  85776. return null;
  85777. },
  85778. getMixin$2$namespace($name, namespace) {
  85779. var t1, _0_0, _1_0, _this = this;
  85780. if (namespace != null)
  85781. return _this._async_environment0$_getModule$1(namespace).get$mixins().$index(0, $name);
  85782. t1 = _this._async_environment0$_mixinIndices;
  85783. _0_0 = t1.$index(0, $name);
  85784. if (_0_0 != null) {
  85785. t1 = _this._async_environment0$_mixins[_0_0].$index(0, $name);
  85786. return t1 == null ? _this._async_environment0$_getMixinFromGlobalModule$1($name) : t1;
  85787. } else {
  85788. _1_0 = _this._async_environment0$_mixinIndex$1($name);
  85789. if (_1_0 != null) {
  85790. t1.$indexSet(0, $name, _1_0);
  85791. t1 = _this._async_environment0$_mixins[_1_0].$index(0, $name);
  85792. return t1 == null ? _this._async_environment0$_getMixinFromGlobalModule$1($name) : t1;
  85793. } else
  85794. return _this._async_environment0$_getMixinFromGlobalModule$1($name);
  85795. }
  85796. },
  85797. _async_environment0$_getMixinFromGlobalModule$1($name) {
  85798. return this._async_environment0$_fromOneModule$3($name, "mixin", new A.AsyncEnvironment__getMixinFromGlobalModule_closure0($name));
  85799. },
  85800. _async_environment0$_mixinIndex$1($name) {
  85801. var t1, i;
  85802. for (t1 = this._async_environment0$_mixins, i = t1.length - 1; i >= 0; --i)
  85803. if (t1[i].containsKey$1($name))
  85804. return i;
  85805. return null;
  85806. },
  85807. withContent$2($content, callback) {
  85808. return this.withContent$body$AsyncEnvironment0($content, callback);
  85809. },
  85810. withContent$body$AsyncEnvironment0($content, callback) {
  85811. var $async$goto = 0,
  85812. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  85813. $async$self = this, oldContent;
  85814. var $async$withContent$2 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  85815. if ($async$errorCode === 1)
  85816. return A._asyncRethrow($async$result, $async$completer);
  85817. while (true)
  85818. switch ($async$goto) {
  85819. case 0:
  85820. // Function start
  85821. oldContent = $async$self._async_environment0$_content;
  85822. $async$self._async_environment0$_content = $content;
  85823. $async$goto = 2;
  85824. return A._asyncAwait(callback.call$0(), $async$withContent$2);
  85825. case 2:
  85826. // returning from await.
  85827. $async$self._async_environment0$_content = oldContent;
  85828. // implicit return
  85829. return A._asyncReturn(null, $async$completer);
  85830. }
  85831. });
  85832. return A._asyncStartSync($async$withContent$2, $async$completer);
  85833. },
  85834. asMixin$1(callback) {
  85835. return this.asMixin$body$AsyncEnvironment0(callback);
  85836. },
  85837. asMixin$body$AsyncEnvironment0(callback) {
  85838. var $async$goto = 0,
  85839. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  85840. $async$self = this, oldInMixin;
  85841. var $async$asMixin$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  85842. if ($async$errorCode === 1)
  85843. return A._asyncRethrow($async$result, $async$completer);
  85844. while (true)
  85845. switch ($async$goto) {
  85846. case 0:
  85847. // Function start
  85848. oldInMixin = $async$self._async_environment0$_inMixin;
  85849. $async$self._async_environment0$_inMixin = true;
  85850. $async$goto = 2;
  85851. return A._asyncAwait(callback.call$0(), $async$asMixin$1);
  85852. case 2:
  85853. // returning from await.
  85854. $async$self._async_environment0$_inMixin = oldInMixin;
  85855. // implicit return
  85856. return A._asyncReturn(null, $async$completer);
  85857. }
  85858. });
  85859. return A._asyncStartSync($async$asMixin$1, $async$completer);
  85860. },
  85861. scope$1$3$semiGlobal$when(callback, semiGlobal, when, $T) {
  85862. return this.scope$body$AsyncEnvironment0(callback, semiGlobal, when, $T, $T);
  85863. },
  85864. scope$1$1(callback, $T) {
  85865. callback.toString;
  85866. return this.scope$1$3$semiGlobal$when(callback, false, true, $T);
  85867. },
  85868. scope$1$2$when(callback, when, $T) {
  85869. callback.toString;
  85870. return this.scope$1$3$semiGlobal$when(callback, false, when, $T);
  85871. },
  85872. scope$1$2$semiGlobal(callback, semiGlobal, $T) {
  85873. callback.toString;
  85874. return this.scope$1$3$semiGlobal$when(callback, semiGlobal, true, $T);
  85875. },
  85876. scope$body$AsyncEnvironment0(callback, semiGlobal, when, $T, $async$type) {
  85877. var $async$goto = 0,
  85878. $async$completer = A._makeAsyncAwaitCompleter($async$type),
  85879. $async$returnValue, $async$handler = 2, $async$errorStack = [], $async$next = [], $async$self = this, wasInSemiGlobalScope, $name, name0, name1, t1, t2, t3, t4, t5, t6;
  85880. var $async$scope$1$3$semiGlobal$when = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  85881. if ($async$errorCode === 1) {
  85882. $async$errorStack.push($async$result);
  85883. $async$goto = $async$handler;
  85884. }
  85885. while (true)
  85886. switch ($async$goto) {
  85887. case 0:
  85888. // Function start
  85889. semiGlobal = semiGlobal && $async$self._async_environment0$_inSemiGlobalScope;
  85890. wasInSemiGlobalScope = $async$self._async_environment0$_inSemiGlobalScope;
  85891. $async$self._async_environment0$_inSemiGlobalScope = semiGlobal;
  85892. $async$goto = !when ? 3 : 4;
  85893. break;
  85894. case 3:
  85895. // then
  85896. $async$handler = 5;
  85897. $async$goto = 8;
  85898. return A._asyncAwait(callback.call$0(), $async$scope$1$3$semiGlobal$when);
  85899. case 8:
  85900. // returning from await.
  85901. t1 = $async$result;
  85902. $async$returnValue = t1;
  85903. $async$next = [1];
  85904. // goto finally
  85905. $async$goto = 6;
  85906. break;
  85907. $async$next.push(7);
  85908. // goto finally
  85909. $async$goto = 6;
  85910. break;
  85911. case 5:
  85912. // uncaught
  85913. $async$next = [2];
  85914. case 6:
  85915. // finally
  85916. $async$handler = 2;
  85917. $async$self._async_environment0$_inSemiGlobalScope = wasInSemiGlobalScope;
  85918. // goto the next finally handler
  85919. $async$goto = $async$next.pop();
  85920. break;
  85921. case 7:
  85922. // after finally
  85923. case 4:
  85924. // join
  85925. t1 = $async$self._async_environment0$_variables;
  85926. t2 = type$.String;
  85927. B.JSArray_methods.add$1(t1, A.LinkedHashMap_LinkedHashMap$_empty(t2, type$.Value_2));
  85928. t3 = $async$self._async_environment0$_variableNodes;
  85929. B.JSArray_methods.add$1(t3, A.LinkedHashMap_LinkedHashMap$_empty(t2, type$.AstNode_2));
  85930. t4 = $async$self._async_environment0$_functions;
  85931. t5 = type$.AsyncCallable_2;
  85932. B.JSArray_methods.add$1(t4, A.LinkedHashMap_LinkedHashMap$_empty(t2, t5));
  85933. t6 = $async$self._async_environment0$_mixins;
  85934. B.JSArray_methods.add$1(t6, A.LinkedHashMap_LinkedHashMap$_empty(t2, t5));
  85935. t5 = $async$self._async_environment0$_nestedForwardedModules;
  85936. if (t5 != null)
  85937. t5.push(A._setArrayType([], type$.JSArray_Module_AsyncCallable_2));
  85938. $async$handler = 9;
  85939. $async$goto = 12;
  85940. return A._asyncAwait(callback.call$0(), $async$scope$1$3$semiGlobal$when);
  85941. case 12:
  85942. // returning from await.
  85943. t2 = $async$result;
  85944. $async$returnValue = t2;
  85945. $async$next = [1];
  85946. // goto finally
  85947. $async$goto = 10;
  85948. break;
  85949. $async$next.push(11);
  85950. // goto finally
  85951. $async$goto = 10;
  85952. break;
  85953. case 9:
  85954. // uncaught
  85955. $async$next = [2];
  85956. case 10:
  85957. // finally
  85958. $async$handler = 2;
  85959. $async$self._async_environment0$_inSemiGlobalScope = wasInSemiGlobalScope;
  85960. $async$self._async_environment0$_lastVariableIndex = $async$self._async_environment0$_lastVariableName = null;
  85961. 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();) {
  85962. $name = t1.get$current(t1);
  85963. t2.remove$1(0, $name);
  85964. }
  85965. B.JSArray_methods.removeLast$0(t3);
  85966. 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();) {
  85967. name0 = t1.get$current(t1);
  85968. t2.remove$1(0, name0);
  85969. }
  85970. 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();) {
  85971. name1 = t1.get$current(t1);
  85972. t2.remove$1(0, name1);
  85973. }
  85974. t1 = $async$self._async_environment0$_nestedForwardedModules;
  85975. if (t1 != null)
  85976. t1.pop();
  85977. // goto the next finally handler
  85978. $async$goto = $async$next.pop();
  85979. break;
  85980. case 11:
  85981. // after finally
  85982. case 1:
  85983. // return
  85984. return A._asyncReturn($async$returnValue, $async$completer);
  85985. case 2:
  85986. // rethrow
  85987. return A._asyncRethrow($async$errorStack.at(-1), $async$completer);
  85988. }
  85989. });
  85990. return A._asyncStartSync($async$scope$1$3$semiGlobal$when, $async$completer);
  85991. },
  85992. toImplicitConfiguration$0() {
  85993. var t2, t3, t4, i, values, nodes, t5, t6, $name, value,
  85994. t1 = type$.String,
  85995. configuration = A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.ConfiguredValue_2);
  85996. for (t2 = this._async_environment0$_variables, t3 = type$.Value_2, t4 = this._async_environment0$_variableNodes, i = 0; i < t2.length; ++i) {
  85997. values = t2[i];
  85998. nodes = t4[i];
  85999. for (t5 = A.MapExtensions_get_pairs0(values, t1, t3), t5 = t5.get$iterator(t5); t5.moveNext$0();) {
  86000. t6 = t5.get$current(t5);
  86001. $name = t6._0;
  86002. value = t6._1;
  86003. t6 = nodes.$index(0, $name);
  86004. t6.toString;
  86005. configuration.$indexSet(0, $name, new A.ConfiguredValue0(value, null, t6));
  86006. }
  86007. }
  86008. return new A.Configuration0(configuration, null);
  86009. },
  86010. toModule$3(css, preModuleComments, extensionStore) {
  86011. return A._EnvironmentModule__EnvironmentModule2(this, css, preModuleComments, extensionStore, A.NullableExtension_andThen0(this._async_environment0$_forwardedModules, new A.AsyncEnvironment_toModule_closure0()));
  86012. },
  86013. toDummyModule$0() {
  86014. 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()));
  86015. },
  86016. _async_environment0$_getModule$1(namespace) {
  86017. var _0_0 = this._async_environment0$_modules.$index(0, namespace);
  86018. if (_0_0 != null)
  86019. return _0_0;
  86020. throw A.wrapException(A.SassScriptException$0('There is no module with the namespace "' + namespace + '".', null));
  86021. },
  86022. _async_environment0$_fromOneModule$1$3($name, type, callback) {
  86023. var t1, t2, t3, t4, t5, _1_0, _2_0, value, identity, valueInModule, identityFromModule, module, node,
  86024. _0_0 = this._async_environment0$_nestedForwardedModules;
  86025. if (_0_0 != null)
  86026. 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();) {
  86027. t3 = t2.__internal$_current;
  86028. 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();) {
  86029. t5 = t3.__internal$_current;
  86030. _1_0 = callback.call$1(t5 == null ? t4._as(t5) : t5);
  86031. if (_1_0 != null)
  86032. return _1_0;
  86033. }
  86034. }
  86035. for (t1 = this._async_environment0$_importedModules, t1 = new A.LinkedHashMapKeyIterator(t1, t1._modifications, t1._first); t1.moveNext$0();) {
  86036. _2_0 = callback.call$1(t1.__js_helper$_current);
  86037. if (_2_0 != null)
  86038. return _2_0;
  86039. }
  86040. 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();) {
  86041. t4 = t2.__js_helper$_current;
  86042. valueInModule = callback.call$1(t4);
  86043. if (valueInModule == null)
  86044. continue;
  86045. identityFromModule = t3._is(valueInModule) ? valueInModule : t4.variableIdentity$1($name);
  86046. if (identityFromModule.$eq(0, identity))
  86047. continue;
  86048. if (value != null) {
  86049. t2 = A.LinkedHashMap_LinkedHashMap$_empty(type$.FileSpan, type$.String);
  86050. 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();) {
  86051. t1 = t3.get$current(t3);
  86052. module = t1._0;
  86053. node = t1._1;
  86054. if (callback.call$1(module) != null)
  86055. t2.$indexSet(0, node.get$span(node), t4);
  86056. }
  86057. throw A.wrapException(A.MultiSpanSassScriptException$0("This " + type + string$.x20is_av, type + " use", t2));
  86058. }
  86059. identity = identityFromModule;
  86060. value = valueInModule;
  86061. }
  86062. return value;
  86063. },
  86064. _async_environment0$_fromOneModule$3($name, type, callback) {
  86065. callback.toString;
  86066. return this._async_environment0$_fromOneModule$1$3($name, type, callback, type$.dynamic);
  86067. }
  86068. };
  86069. A.AsyncEnvironment__getVariableFromGlobalModule_closure0.prototype = {
  86070. call$1(module) {
  86071. return module.get$variables().$index(0, this.name);
  86072. },
  86073. $signature: 310
  86074. };
  86075. A.AsyncEnvironment_setVariable_closure2.prototype = {
  86076. call$0() {
  86077. var t1 = this.$this;
  86078. t1._async_environment0$_lastVariableName = this.name;
  86079. return t1._async_environment0$_lastVariableIndex = 0;
  86080. },
  86081. $signature: 10
  86082. };
  86083. A.AsyncEnvironment_setVariable_closure3.prototype = {
  86084. call$1(module) {
  86085. return module.get$variables().containsKey$1(this.name) ? module : null;
  86086. },
  86087. $signature: 311
  86088. };
  86089. A.AsyncEnvironment_setVariable_closure4.prototype = {
  86090. call$0() {
  86091. var t1 = this.$this,
  86092. t2 = t1._async_environment0$_variableIndex$1(this.name);
  86093. return t2 == null ? t1._async_environment0$_variables.length - 1 : t2;
  86094. },
  86095. $signature: 10
  86096. };
  86097. A.AsyncEnvironment__getFunctionFromGlobalModule_closure0.prototype = {
  86098. call$1(module) {
  86099. return module.get$functions(module).$index(0, this.name);
  86100. },
  86101. $signature: 200
  86102. };
  86103. A.AsyncEnvironment__getMixinFromGlobalModule_closure0.prototype = {
  86104. call$1(module) {
  86105. return module.get$mixins().$index(0, this.name);
  86106. },
  86107. $signature: 200
  86108. };
  86109. A.AsyncEnvironment_toModule_closure0.prototype = {
  86110. call$1(modules) {
  86111. return new A.MapKeySet(modules, type$.MapKeySet_Module_AsyncCallable_2);
  86112. },
  86113. $signature: 201
  86114. };
  86115. A.AsyncEnvironment_toDummyModule_closure0.prototype = {
  86116. call$1(modules) {
  86117. return new A.MapKeySet(modules, type$.MapKeySet_Module_AsyncCallable_2);
  86118. },
  86119. $signature: 201
  86120. };
  86121. A._EnvironmentModule2.prototype = {
  86122. get$url(_) {
  86123. var t1 = this.css;
  86124. return t1.get$span(t1).file.url;
  86125. },
  86126. setVariable$3($name, value, nodeWithSpan) {
  86127. var t1, t2,
  86128. _0_0 = this._async_environment0$_modulesByVariable.$index(0, $name);
  86129. if (_0_0 != null) {
  86130. _0_0.setVariable$3($name, value, nodeWithSpan);
  86131. return;
  86132. }
  86133. t1 = this._async_environment0$_environment;
  86134. t2 = t1._async_environment0$_variables;
  86135. if (!B.JSArray_methods.get$first(t2).containsKey$1($name))
  86136. throw A.wrapException(A.SassScriptException$0("Undefined variable.", null));
  86137. J.$indexSet$ax(B.JSArray_methods.get$first(t2), $name, value);
  86138. J.$indexSet$ax(B.JSArray_methods.get$first(t1._async_environment0$_variableNodes), $name, nodeWithSpan);
  86139. return;
  86140. },
  86141. variableIdentity$1($name) {
  86142. var module = this._async_environment0$_modulesByVariable.$index(0, $name);
  86143. return module == null ? this : module.variableIdentity$1($name);
  86144. },
  86145. couldHaveBeenConfigured$1(variables) {
  86146. var t2, t3, _0_0, variable, module,
  86147. t1 = this._async_environment0$_environment._async_environment0$_configurableVariables;
  86148. if (!(variables.get$length(variables) < t1.get$length(t1) ? variables.any$1(0, t1.get$contains(t1)) : t1.any$1(0, variables.get$contains(variables)))) {
  86149. t1 = this._async_environment0$_modulesByVariable;
  86150. t2 = type$.Module_AsyncCallable_2;
  86151. if (variables.get$length(variables) < t1.get$length(t1)) {
  86152. t2 = A.LinkedHashSet_LinkedHashSet$_empty(t2);
  86153. for (t3 = variables.get$iterator(variables); t3.moveNext$0();) {
  86154. _0_0 = t1.$index(0, t3.get$current(t3));
  86155. if (_0_0 != null)
  86156. t2.add$1(0, _0_0);
  86157. }
  86158. t1 = t2;
  86159. } else {
  86160. t3 = A.LinkedHashSet_LinkedHashSet$_empty(t2);
  86161. for (t1 = A.MapExtensions_get_pairs0(t1, type$.String, t2), t1 = t1.get$iterator(t1); t1.moveNext$0();) {
  86162. t2 = t1.get$current(t1);
  86163. variable = t2._0;
  86164. module = t2._1;
  86165. if (variables.contains$1(0, variable))
  86166. t3.add$1(0, module);
  86167. }
  86168. t1 = t3;
  86169. }
  86170. t1 = t1.any$1(0, new A._EnvironmentModule_couldHaveBeenConfigured_closure2(variables));
  86171. } else
  86172. t1 = true;
  86173. return t1;
  86174. },
  86175. cloneCss$0() {
  86176. var _0_0, _this = this;
  86177. if (!_this.transitivelyContainsCss)
  86178. return _this;
  86179. _0_0 = A.cloneCssStylesheet0(_this.css, _this.extensionStore);
  86180. 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);
  86181. },
  86182. toString$0(_) {
  86183. var t2,
  86184. t1 = this.css;
  86185. if (t1.get$span(t1).file.url == null)
  86186. t1 = "<unknown url>";
  86187. else {
  86188. t1 = t1.get$span(t1).file.url;
  86189. t2 = $.$get$context();
  86190. t1.toString;
  86191. t1 = t2.prettyUri$1(t1);
  86192. }
  86193. return t1;
  86194. },
  86195. $isModule1: 1,
  86196. get$upstream() {
  86197. return this.upstream;
  86198. },
  86199. get$variables() {
  86200. return this.variables;
  86201. },
  86202. get$variableNodes() {
  86203. return this.variableNodes;
  86204. },
  86205. get$functions(receiver) {
  86206. return this.functions;
  86207. },
  86208. get$mixins() {
  86209. return this.mixins;
  86210. },
  86211. get$extensionStore() {
  86212. return this.extensionStore;
  86213. },
  86214. get$css(receiver) {
  86215. return this.css;
  86216. },
  86217. get$preModuleComments() {
  86218. return this.preModuleComments;
  86219. },
  86220. get$transitivelyContainsCss() {
  86221. return this.transitivelyContainsCss;
  86222. },
  86223. get$transitivelyContainsExtensions() {
  86224. return this.transitivelyContainsExtensions;
  86225. }
  86226. };
  86227. A._EnvironmentModule__EnvironmentModule_closure17.prototype = {
  86228. call$1(module) {
  86229. return module.get$variables();
  86230. },
  86231. $signature: 314
  86232. };
  86233. A._EnvironmentModule__EnvironmentModule_closure18.prototype = {
  86234. call$1(module) {
  86235. return module.get$variableNodes();
  86236. },
  86237. $signature: 315
  86238. };
  86239. A._EnvironmentModule__EnvironmentModule_closure19.prototype = {
  86240. call$1(module) {
  86241. return module.get$functions(module);
  86242. },
  86243. $signature: 202
  86244. };
  86245. A._EnvironmentModule__EnvironmentModule_closure20.prototype = {
  86246. call$1(module) {
  86247. return module.get$mixins();
  86248. },
  86249. $signature: 202
  86250. };
  86251. A._EnvironmentModule__EnvironmentModule_closure21.prototype = {
  86252. call$1(module) {
  86253. return module.get$transitivelyContainsCss();
  86254. },
  86255. $signature: 94
  86256. };
  86257. A._EnvironmentModule__EnvironmentModule_closure22.prototype = {
  86258. call$1(module) {
  86259. return module.get$transitivelyContainsExtensions();
  86260. },
  86261. $signature: 94
  86262. };
  86263. A._EnvironmentModule_couldHaveBeenConfigured_closure2.prototype = {
  86264. call$1(module) {
  86265. return module.couldHaveBeenConfigured$1(this.variables);
  86266. },
  86267. $signature: 94
  86268. };
  86269. A._EvaluateVisitor2.prototype = {
  86270. _EvaluateVisitor$6$functions$importCache$logger$nodeImporter$quietDeps$sourceMap2(functions, importCache, logger, nodeImporter, quietDeps, sourceMap) {
  86271. var t2, metaModule, t3, _i, module, $function, t4, _this = this,
  86272. _s20_ = "$name, $module: null",
  86273. _s9_ = "sass:meta",
  86274. _s7_ = "$module",
  86275. t1 = type$.JSArray_AsyncBuiltInCallable_2,
  86276. 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),
  86277. 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);
  86278. t1 = type$.AsyncBuiltInCallable_2;
  86279. t2 = A.List_List$_of($.$get$moduleFunctions0(), t1);
  86280. B.JSArray_methods.addAll$1(t2, metaFunctions);
  86281. metaModule = A.BuiltInModule$0("meta", t2, metaMixins, null, t1);
  86282. t1 = A.List_List$_of($.$get$coreModules0(), type$.BuiltInModule_AsyncCallable_2);
  86283. t1.push(metaModule);
  86284. t2 = t1.length;
  86285. t3 = _this._async_evaluate0$_builtInModules;
  86286. _i = 0;
  86287. for (; _i < t1.length; t1.length === t2 || (0, A.throwConcurrentModificationError)(t1), ++_i) {
  86288. module = t1[_i];
  86289. t3.$indexSet(0, module.url, module);
  86290. }
  86291. t1 = type$.JSArray_AsyncCallable_2;
  86292. t2 = A._setArrayType([], t1);
  86293. B.JSArray_methods.addAll$1(t2, functions);
  86294. B.JSArray_methods.addAll$1(t2, $.$get$globalFunctions0());
  86295. t1 = A._setArrayType([], t1);
  86296. for (_i = 0; _i < 11; ++_i)
  86297. t1.push(metaFunctions[_i].withDeprecationWarning$1("meta"));
  86298. B.JSArray_methods.addAll$1(t2, t1);
  86299. for (t1 = t2.length, t3 = _this._async_evaluate0$_builtInFunctions, _i = 0; _i < t2.length; t2.length === t1 || (0, A.throwConcurrentModificationError)(t2), ++_i) {
  86300. $function = t2[_i];
  86301. t4 = $function.get$name($function);
  86302. t3.$indexSet(0, A.stringReplaceAllUnchecked(t4, "_", "-"), $function);
  86303. }
  86304. },
  86305. run$2(_, importer, node) {
  86306. return this.run$body$_EvaluateVisitor0(0, importer, node);
  86307. },
  86308. run$body$_EvaluateVisitor0(_, importer, node) {
  86309. var $async$goto = 0,
  86310. $async$completer = A._makeAsyncAwaitCompleter(type$.Record_2_Set_Uri_loadedUrls_and_CssStylesheet_stylesheet_2),
  86311. $async$returnValue, $async$handler = 2, $async$errorStack = [], $async$self = this, error, stackTrace, t1, exception, $async$exception;
  86312. var $async$run$2 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  86313. if ($async$errorCode === 1) {
  86314. $async$errorStack.push($async$result);
  86315. $async$goto = $async$handler;
  86316. }
  86317. while (true)
  86318. switch ($async$goto) {
  86319. case 0:
  86320. // Function start
  86321. $async$handler = 4;
  86322. t1 = type$.nullable_Object;
  86323. 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);
  86324. $async$goto = 7;
  86325. 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);
  86326. case 7:
  86327. // returning from await.
  86328. t1 = $async$result;
  86329. $async$returnValue = t1;
  86330. // goto return
  86331. $async$goto = 1;
  86332. break;
  86333. $async$handler = 2;
  86334. // goto after finally
  86335. $async$goto = 6;
  86336. break;
  86337. case 4:
  86338. // catch
  86339. $async$handler = 3;
  86340. $async$exception = $async$errorStack.pop();
  86341. t1 = A.unwrapException($async$exception);
  86342. if (t1 instanceof A.SassException0) {
  86343. error = t1;
  86344. stackTrace = A.getTraceFromException($async$exception);
  86345. A.throwWithTrace0(error.withLoadedUrls$1($async$self._async_evaluate0$_loadedUrls), error, stackTrace);
  86346. } else
  86347. throw $async$exception;
  86348. // goto after finally
  86349. $async$goto = 6;
  86350. break;
  86351. case 3:
  86352. // uncaught
  86353. // goto rethrow
  86354. $async$goto = 2;
  86355. break;
  86356. case 6:
  86357. // after finally
  86358. case 1:
  86359. // return
  86360. return A._asyncReturn($async$returnValue, $async$completer);
  86361. case 2:
  86362. // rethrow
  86363. return A._asyncRethrow($async$errorStack.at(-1), $async$completer);
  86364. }
  86365. });
  86366. return A._asyncStartSync($async$run$2, $async$completer);
  86367. },
  86368. _async_evaluate0$_assertInModule$1$2(value, $name) {
  86369. if (value != null)
  86370. return value;
  86371. throw A.wrapException(A.StateError$("Can't access " + $name + " outside of a module."));
  86372. },
  86373. _async_evaluate0$_assertInModule$2(value, $name) {
  86374. return this._async_evaluate0$_assertInModule$1$2(value, $name, type$.dynamic);
  86375. },
  86376. _async_evaluate0$_loadModule$7$baseUrl$configuration$namesInErrors(url, stackFrame, nodeWithSpan, callback, baseUrl, configuration, namesInErrors) {
  86377. return this._loadModule$body$_EvaluateVisitor0(url, stackFrame, nodeWithSpan, callback, baseUrl, configuration, namesInErrors);
  86378. },
  86379. _async_evaluate0$_loadModule$5$configuration(url, stackFrame, nodeWithSpan, callback, configuration) {
  86380. callback.toString;
  86381. return this._async_evaluate0$_loadModule$7$baseUrl$configuration$namesInErrors(url, stackFrame, nodeWithSpan, callback, null, configuration, false);
  86382. },
  86383. _async_evaluate0$_loadModule$4(url, stackFrame, nodeWithSpan, callback) {
  86384. callback.toString;
  86385. return this._async_evaluate0$_loadModule$7$baseUrl$configuration$namesInErrors(url, stackFrame, nodeWithSpan, callback, null, null, false);
  86386. },
  86387. _loadModule$body$_EvaluateVisitor0(url, stackFrame, nodeWithSpan, callback, baseUrl, configuration, namesInErrors) {
  86388. var $async$goto = 0,
  86389. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  86390. $async$returnValue, $async$self = this, t2, _0_0, t1;
  86391. var $async$_async_evaluate0$_loadModule$7$baseUrl$configuration$namesInErrors = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  86392. if ($async$errorCode === 1)
  86393. return A._asyncRethrow($async$result, $async$completer);
  86394. while (true)
  86395. switch ($async$goto) {
  86396. case 0:
  86397. // Function start
  86398. _0_0 = $async$self._async_evaluate0$_builtInModules.$index(0, url);
  86399. t1 = {};
  86400. t1.builtInModule = null;
  86401. $async$goto = _0_0 != null ? 3 : 4;
  86402. break;
  86403. case 3:
  86404. // then
  86405. t1.builtInModule = _0_0;
  86406. if (configuration instanceof A.ExplicitConfiguration0) {
  86407. t1 = namesInErrors ? "Built-in module " + url.toString$0(0) + " can't be configured." : "Built-in modules can't be configured.";
  86408. t2 = configuration.nodeWithSpan;
  86409. throw A.wrapException($async$self._async_evaluate0$_exception$2(t1, t2.get$span(t2)));
  86410. }
  86411. $async$goto = 5;
  86412. 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);
  86413. case 5:
  86414. // returning from await.
  86415. // goto return
  86416. $async$goto = 1;
  86417. break;
  86418. case 4:
  86419. // join
  86420. $async$goto = 6;
  86421. 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);
  86422. case 6:
  86423. // returning from await.
  86424. case 1:
  86425. // return
  86426. return A._asyncReturn($async$returnValue, $async$completer);
  86427. }
  86428. });
  86429. return A._asyncStartSync($async$_async_evaluate0$_loadModule$7$baseUrl$configuration$namesInErrors, $async$completer);
  86430. },
  86431. _async_evaluate0$_execute$5$configuration$namesInErrors$nodeWithSpan(importer, stylesheet, configuration, namesInErrors, nodeWithSpan) {
  86432. return this._execute$body$_EvaluateVisitor0(importer, stylesheet, configuration, namesInErrors, nodeWithSpan);
  86433. },
  86434. _async_evaluate0$_execute$2(importer, stylesheet) {
  86435. return this._async_evaluate0$_execute$5$configuration$namesInErrors$nodeWithSpan(importer, stylesheet, null, false, null);
  86436. },
  86437. _execute$body$_EvaluateVisitor0(importer, stylesheet, configuration, namesInErrors, nodeWithSpan) {
  86438. var $async$goto = 0,
  86439. $async$completer = A._makeAsyncAwaitCompleter(type$.Module_AsyncCallable_2),
  86440. $async$returnValue, $async$self = this, t3, message, existingSpan, configurationSpan, environment, css, preModuleComments, extensionStore, module, url, t1, currentConfiguration, t2, _0_0;
  86441. var $async$_async_evaluate0$_execute$5$configuration$namesInErrors$nodeWithSpan = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  86442. if ($async$errorCode === 1)
  86443. return A._asyncRethrow($async$result, $async$completer);
  86444. while (true)
  86445. switch ($async$goto) {
  86446. case 0:
  86447. // Function start
  86448. url = stylesheet.span.file.url;
  86449. t1 = configuration == null;
  86450. currentConfiguration = t1 ? $async$self._async_evaluate0$_configuration : configuration;
  86451. t2 = $async$self._async_evaluate0$_modules;
  86452. _0_0 = t2.$index(0, url);
  86453. if (_0_0 != null) {
  86454. t2 = $async$self._async_evaluate0$_moduleConfigurations.$index(0, url);
  86455. t3 = t2._configuration0$__originalConfiguration;
  86456. t2 = t3 == null ? t2 : t3;
  86457. t3 = currentConfiguration._configuration0$__originalConfiguration;
  86458. if (t2 !== (t3 == null ? currentConfiguration : t3) && currentConfiguration instanceof A.ExplicitConfiguration0 && _0_0.couldHaveBeenConfigured$1(new A.MapKeySet(new A.UnmodifiableMapView(currentConfiguration._configuration0$_values, type$.UnmodifiableMapView_String_ConfiguredValue_2), type$.MapKeySet_String))) {
  86459. if (namesInErrors) {
  86460. t2 = $.$get$context();
  86461. url.toString;
  86462. message = t2.prettyUri$1(url) + string$.x20was_a;
  86463. } else
  86464. message = string$.This_mw;
  86465. t2 = $async$self._async_evaluate0$_moduleNodes.$index(0, url);
  86466. existingSpan = t2 == null ? null : t2.get$span(t2);
  86467. if (t1) {
  86468. t1 = currentConfiguration.nodeWithSpan;
  86469. configurationSpan = t1.get$span(t1);
  86470. } else
  86471. configurationSpan = null;
  86472. t1 = A.LinkedHashMap_LinkedHashMap$_empty(type$.FileSpan, type$.String);
  86473. if (existingSpan != null)
  86474. t1.$indexSet(0, existingSpan, "original load");
  86475. if (configurationSpan != null)
  86476. t1.$indexSet(0, configurationSpan, "configuration");
  86477. throw A.wrapException(t1.get$isEmpty(0) ? $async$self._async_evaluate0$_exception$1(message) : $async$self._async_evaluate0$_multiSpanException$3(message, "new load", t1));
  86478. }
  86479. $async$returnValue = _0_0;
  86480. // goto return
  86481. $async$goto = 1;
  86482. break;
  86483. }
  86484. environment = A.AsyncEnvironment$0();
  86485. css = A._Cell$();
  86486. preModuleComments = A._Cell$();
  86487. extensionStore = A.ExtensionStore$0();
  86488. $async$goto = 3;
  86489. 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);
  86490. case 3:
  86491. // returning from await.
  86492. t1 = css._readLocal$0();
  86493. t3 = preModuleComments._readLocal$0();
  86494. module = environment.toModule$3(t1, t3 == null ? B.Map_empty16 : t3, extensionStore);
  86495. if (url != null) {
  86496. t2.$indexSet(0, url, module);
  86497. $async$self._async_evaluate0$_moduleConfigurations.$indexSet(0, url, currentConfiguration);
  86498. if (nodeWithSpan != null)
  86499. $async$self._async_evaluate0$_moduleNodes.$indexSet(0, url, nodeWithSpan);
  86500. }
  86501. $async$returnValue = module;
  86502. // goto return
  86503. $async$goto = 1;
  86504. break;
  86505. case 1:
  86506. // return
  86507. return A._asyncReturn($async$returnValue, $async$completer);
  86508. }
  86509. });
  86510. return A._asyncStartSync($async$_async_evaluate0$_execute$5$configuration$namesInErrors$nodeWithSpan, $async$completer);
  86511. },
  86512. _async_evaluate0$_addOutOfOrderImports$0() {
  86513. var t1, t2, _this = this, _s5_ = "_root",
  86514. _s13_ = "_endOfImports",
  86515. _0_0 = _this._async_evaluate0$_outOfOrderImports;
  86516. $label0$0: {
  86517. if (_0_0 == null) {
  86518. t1 = _this._async_evaluate0$_assertInModule$2(_this._async_evaluate0$__root, _s5_).children;
  86519. break $label0$0;
  86520. }
  86521. t1 = _this._async_evaluate0$_assertInModule$2(_this._async_evaluate0$__root, _s5_).children;
  86522. 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);
  86523. B.JSArray_methods.addAll$1(t1, _0_0);
  86524. t2 = _this._async_evaluate0$_assertInModule$2(_this._async_evaluate0$__root, _s5_).children;
  86525. 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")));
  86526. break $label0$0;
  86527. }
  86528. return t1;
  86529. },
  86530. _async_evaluate0$_combineCss$2$clone(root, clone) {
  86531. var selectors, _0_0, t1, imports, css, sorted, t2;
  86532. if (!B.JSArray_methods.any$1(root.get$upstream(), new A._EvaluateVisitor__combineCss_closure5())) {
  86533. selectors = root.get$extensionStore().get$simpleSelectors();
  86534. _0_0 = A.IterableExtension_get_firstOrNull(root.get$extensionStore().extensionsWhereTarget$1(new A._EvaluateVisitor__combineCss_closure6(selectors)));
  86535. if (_0_0 != null)
  86536. this._async_evaluate0$_throwForUnsatisfiedExtension$1(_0_0);
  86537. return root.get$css(root);
  86538. }
  86539. t1 = type$.JSArray_CssNode_2;
  86540. imports = A._setArrayType([], t1);
  86541. css = A._setArrayType([], t1);
  86542. t1 = type$.Module_AsyncCallable_2;
  86543. sorted = A.ListQueue$(t1);
  86544. new A._EvaluateVisitor__combineCss_visitModule2(this, A.LinkedHashSet_LinkedHashSet$_empty(t1), clone, css, imports, sorted).call$1(root);
  86545. if (root.get$transitivelyContainsExtensions())
  86546. this._async_evaluate0$_extendModules$1(sorted);
  86547. t1 = B.JSArray_methods.$add(imports, css);
  86548. t2 = root.get$css(root);
  86549. return new A.CssStylesheet0(new A.UnmodifiableListView(t1, type$.UnmodifiableListView_CssNode_2), t2.get$span(t2));
  86550. },
  86551. _async_evaluate0$_combineCss$1(root) {
  86552. return this._async_evaluate0$_combineCss$2$clone(root, false);
  86553. },
  86554. _async_evaluate0$_extendModules$1(sortedModules) {
  86555. var t1, t2, t3, originalSelectors, $self, t4, t5, _i, upstream, _0_0,
  86556. downstreamExtensionStores = A.LinkedHashMap_LinkedHashMap$_empty(type$.Uri, type$.List_ExtensionStore_2),
  86557. unsatisfiedExtensions = new A._LinkedIdentityHashSet(type$._LinkedIdentityHashSet_Extension_2);
  86558. for (t1 = A._ListQueueIterator$(sortedModules, sortedModules.$ti._precomputed1), t2 = t1.$ti._precomputed1; t1.moveNext$0();) {
  86559. t3 = t1._collection$_current;
  86560. if (t3 == null)
  86561. t3 = t2._as(t3);
  86562. originalSelectors = t3.get$extensionStore().get$simpleSelectors().toSet$0(0);
  86563. unsatisfiedExtensions.addAll$1(0, t3.get$extensionStore().extensionsWhereTarget$1(new A._EvaluateVisitor__extendModules_closure5(originalSelectors)));
  86564. $self = downstreamExtensionStores.$index(0, t3.get$url(t3));
  86565. t4 = t3.get$extensionStore().get$addExtensions();
  86566. if ($self != null)
  86567. t4.call$1($self);
  86568. t4 = t3.get$extensionStore();
  86569. if (t4.get$isEmpty(t4))
  86570. continue;
  86571. for (t4 = t3.get$upstream(), t5 = t4.length, _i = 0; _i < t4.length; t4.length === t5 || (0, A.throwConcurrentModificationError)(t4), ++_i) {
  86572. upstream = t4[_i];
  86573. _0_0 = upstream.get$url(upstream);
  86574. if (_0_0 != null)
  86575. J.add$1$ax(downstreamExtensionStores.putIfAbsent$2(_0_0, new A._EvaluateVisitor__extendModules_closure6()), t3.get$extensionStore());
  86576. }
  86577. unsatisfiedExtensions.removeAll$1(t3.get$extensionStore().extensionsWhereTarget$1(originalSelectors.get$contains(originalSelectors)));
  86578. }
  86579. if (unsatisfiedExtensions._collection$_length !== 0)
  86580. this._async_evaluate0$_throwForUnsatisfiedExtension$1(unsatisfiedExtensions.get$first(0));
  86581. },
  86582. _async_evaluate0$_throwForUnsatisfiedExtension$1(extension) {
  86583. throw A.wrapException(A.SassException$0(string$.The_ta + extension.target.toString$0(0) + ' !optional" to avoid this error.', extension.span, null));
  86584. },
  86585. _async_evaluate0$_indexAfterImports$1(statements) {
  86586. var t1, lastImport, i, _0_0;
  86587. for (t1 = J.getInterceptor$asx(statements), lastImport = -1, i = 0; i < t1.get$length(statements); ++i) {
  86588. $label0$0: {
  86589. _0_0 = t1.$index(statements, i);
  86590. if (_0_0 instanceof A.ModifiableCssImport0)
  86591. break $label0$0;
  86592. if (_0_0 instanceof A.ModifiableCssComment0)
  86593. continue;
  86594. break;
  86595. }
  86596. lastImport = i;
  86597. }
  86598. return lastImport + 1;
  86599. },
  86600. visitStylesheet$1(_, node) {
  86601. return this.visitStylesheet$body$_EvaluateVisitor0(0, node);
  86602. },
  86603. visitStylesheet$body$_EvaluateVisitor0(_, node) {
  86604. var $async$goto = 0,
  86605. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
  86606. $async$returnValue, $async$self = this, t1, t2, warning, _i, $name, span;
  86607. var $async$visitStylesheet$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  86608. if ($async$errorCode === 1)
  86609. return A._asyncRethrow($async$result, $async$completer);
  86610. while (true)
  86611. switch ($async$goto) {
  86612. case 0:
  86613. // Function start
  86614. 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();) {
  86615. warning = t1.__internal$_current;
  86616. if (warning == null)
  86617. warning = t2._as(warning);
  86618. $async$self._async_evaluate0$_warn$3(warning._1, warning._2, warning._0);
  86619. }
  86620. t1 = node.children, t2 = t1.length, _i = 0;
  86621. case 3:
  86622. // for condition
  86623. if (!(_i < t2)) {
  86624. // goto after for
  86625. $async$goto = 5;
  86626. break;
  86627. }
  86628. $async$goto = 6;
  86629. return A._asyncAwait(t1[_i].accept$1($async$self), $async$visitStylesheet$1);
  86630. case 6:
  86631. // returning from await.
  86632. case 4:
  86633. // for update
  86634. ++_i;
  86635. // goto for condition
  86636. $async$goto = 3;
  86637. break;
  86638. case 5:
  86639. // after for
  86640. for (t1 = A.MapExtensions_get_pairs0(node.globalVariables, type$.String, type$.FileSpan), t1 = t1.get$iterator(t1); t1.moveNext$0();) {
  86641. t2 = t1.get$current(t1);
  86642. $name = t2._0;
  86643. span = t2._1;
  86644. $async$self.visitVariableDeclaration$1(0, new A.VariableDeclaration0(null, $name, new A.NullExpression0(span), true, false, span));
  86645. }
  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$visitStylesheet$1, $async$completer);
  86656. },
  86657. visitAtRootRule$1(_, node) {
  86658. return this.visitAtRootRule$body$_EvaluateVisitor0(0, node);
  86659. },
  86660. visitAtRootRule$body$_EvaluateVisitor0(_, node) {
  86661. var $async$goto = 0,
  86662. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
  86663. $async$returnValue, $async$self = this, _1_0, resolved, query, $parent, included, t1, _2_0, root, first, rest, innerCopy, outerCopy, _i, copy, _0_0;
  86664. var $async$visitAtRootRule$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. _0_0 = node.query;
  86672. $async$goto = _0_0 != null ? 3 : 5;
  86673. break;
  86674. case 3:
  86675. // then
  86676. $async$goto = 6;
  86677. return A._asyncAwait($async$self._async_evaluate0$_performInterpolationWithMap$2$warnForColor(_0_0, true), $async$visitAtRootRule$1);
  86678. case 6:
  86679. // returning from await.
  86680. _1_0 = $async$result;
  86681. resolved = _1_0._0;
  86682. _1_0._1;
  86683. query = new A.AtRootQueryParser0(A.SpanScanner$(resolved, null), null).parse$0(0);
  86684. // goto join
  86685. $async$goto = 4;
  86686. break;
  86687. case 5:
  86688. // else
  86689. query = B.AtRootQuery_bfj0;
  86690. case 4:
  86691. // join
  86692. $parent = $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__parent, "__parent");
  86693. included = A._setArrayType([], type$.JSArray_ModifiableCssParentNode_2);
  86694. for (t1 = type$.CssStylesheet_2; !t1._is($parent); $parent = _2_0) {
  86695. if (!query.excludes$1($parent))
  86696. included.push($parent);
  86697. _2_0 = $parent._node$_parent;
  86698. if (_2_0 == null)
  86699. throw A.wrapException(A.StateError$(string$.CssNod));
  86700. }
  86701. root = $async$self._async_evaluate0$_trimIncluded$1(included);
  86702. $async$goto = root === $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__parent, "__parent") ? 7 : 8;
  86703. break;
  86704. case 7:
  86705. // then
  86706. $async$goto = 9;
  86707. 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);
  86708. case 9:
  86709. // returning from await.
  86710. $async$returnValue = null;
  86711. // goto return
  86712. $async$goto = 1;
  86713. break;
  86714. case 8:
  86715. // join
  86716. if (included.length >= 1) {
  86717. first = included[0];
  86718. rest = B.JSArray_methods.sublist$1(included, 1);
  86719. innerCopy = first.copyWithoutChildren$0();
  86720. for (t1 = rest.length, outerCopy = innerCopy, _i = 0; _i < rest.length; rest.length === t1 || (0, A.throwConcurrentModificationError)(rest), ++_i, outerCopy = copy) {
  86721. copy = rest[_i].copyWithoutChildren$0();
  86722. copy.addChild$1(outerCopy);
  86723. }
  86724. root.addChild$1(outerCopy);
  86725. } else
  86726. innerCopy = root;
  86727. $async$goto = 10;
  86728. 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);
  86729. case 10:
  86730. // returning from await.
  86731. $async$returnValue = null;
  86732. // goto return
  86733. $async$goto = 1;
  86734. break;
  86735. case 1:
  86736. // return
  86737. return A._asyncReturn($async$returnValue, $async$completer);
  86738. }
  86739. });
  86740. return A._asyncStartSync($async$visitAtRootRule$1, $async$completer);
  86741. },
  86742. _async_evaluate0$_trimIncluded$1(nodes) {
  86743. var $parent, t1, innermostContiguous, i, t2, _0_0, _1_0, root, _this = this, _null = null, _s5_ = "_root",
  86744. _s22_ = " to be an ancestor of ";
  86745. if (nodes.length === 0)
  86746. return _this._async_evaluate0$_assertInModule$2(_this._async_evaluate0$__root, _s5_);
  86747. $parent = _this._async_evaluate0$_assertInModule$2(_this._async_evaluate0$__parent, "__parent");
  86748. for (t1 = nodes.length, innermostContiguous = _null, i = 0; i < t1; ++i, $parent = _1_0) {
  86749. for (; t2 = nodes[i], $parent !== t2; innermostContiguous = _null, $parent = _0_0) {
  86750. _0_0 = $parent._node$_parent;
  86751. if (_0_0 == null)
  86752. throw A.wrapException(A.ArgumentError$("Expected " + t2.toString$0(0) + _s22_ + _this.toString$0(0) + ".", _null));
  86753. }
  86754. if (innermostContiguous == null)
  86755. innermostContiguous = i;
  86756. _1_0 = $parent._node$_parent;
  86757. if (_1_0 == null)
  86758. throw A.wrapException(A.ArgumentError$("Expected " + t2.toString$0(0) + _s22_ + _this.toString$0(0) + ".", _null));
  86759. }
  86760. if ($parent !== _this._async_evaluate0$_assertInModule$2(_this._async_evaluate0$__root, _s5_))
  86761. return _this._async_evaluate0$_assertInModule$2(_this._async_evaluate0$__root, _s5_);
  86762. innermostContiguous.toString;
  86763. root = nodes[innermostContiguous];
  86764. B.JSArray_methods.removeRange$2(nodes, innermostContiguous, nodes.length);
  86765. return root;
  86766. },
  86767. _async_evaluate0$_scopeForAtRoot$4(node, newParent, query, included) {
  86768. var _this = this,
  86769. scope = new A._EvaluateVisitor__scopeForAtRoot_closure17(_this, newParent, node),
  86770. t1 = query._at_root_query0$_all || query._at_root_query0$_rule;
  86771. if (t1 !== query.include)
  86772. scope = new A._EvaluateVisitor__scopeForAtRoot_closure18(_this, scope);
  86773. if (_this._async_evaluate0$_mediaQueries != null && query.excludesName$1("media"))
  86774. scope = new A._EvaluateVisitor__scopeForAtRoot_closure19(_this, scope);
  86775. if (_this._async_evaluate0$_inKeyframes && query.excludesName$1("keyframes"))
  86776. scope = new A._EvaluateVisitor__scopeForAtRoot_closure20(_this, scope);
  86777. return _this._async_evaluate0$_inUnknownAtRule && !B.JSArray_methods.any$1(included, new A._EvaluateVisitor__scopeForAtRoot_closure21()) ? new A._EvaluateVisitor__scopeForAtRoot_closure22(_this, scope) : scope;
  86778. },
  86779. visitContentBlock$1(_, node) {
  86780. return A.throwExpression(A.UnsupportedError$(string$.Evalua));
  86781. },
  86782. visitContentRule$1(_, node) {
  86783. return this.visitContentRule$body$_EvaluateVisitor0(0, node);
  86784. },
  86785. visitContentRule$body$_EvaluateVisitor0(_, node) {
  86786. var $async$goto = 0,
  86787. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
  86788. $async$returnValue, $async$self = this, $content;
  86789. var $async$visitContentRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  86790. if ($async$errorCode === 1)
  86791. return A._asyncRethrow($async$result, $async$completer);
  86792. while (true)
  86793. switch ($async$goto) {
  86794. case 0:
  86795. // Function start
  86796. $content = $async$self._async_evaluate0$_environment._async_environment0$_content;
  86797. if ($content == null) {
  86798. $async$returnValue = null;
  86799. // goto return
  86800. $async$goto = 1;
  86801. break;
  86802. }
  86803. $async$goto = 3;
  86804. 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);
  86805. case 3:
  86806. // returning from await.
  86807. $async$returnValue = null;
  86808. // goto return
  86809. $async$goto = 1;
  86810. break;
  86811. case 1:
  86812. // return
  86813. return A._asyncReturn($async$returnValue, $async$completer);
  86814. }
  86815. });
  86816. return A._asyncStartSync($async$visitContentRule$1, $async$completer);
  86817. },
  86818. visitDebugRule$1(_, node) {
  86819. return this.visitDebugRule$body$_EvaluateVisitor0(0, node);
  86820. },
  86821. visitDebugRule$body$_EvaluateVisitor0(_, node) {
  86822. var $async$goto = 0,
  86823. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
  86824. $async$returnValue, $async$self = this, value, t1;
  86825. var $async$visitDebugRule$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$goto = 3;
  86833. return A._asyncAwait(node.expression.accept$1($async$self), $async$visitDebugRule$1);
  86834. case 3:
  86835. // returning from await.
  86836. value = $async$result;
  86837. t1 = value instanceof A.SassString0 ? value._string0$_text : A.serializeValue0(value, true, true);
  86838. $async$self._async_evaluate0$_logger.debug$2(0, t1, node.span);
  86839. $async$returnValue = null;
  86840. // goto return
  86841. $async$goto = 1;
  86842. break;
  86843. case 1:
  86844. // return
  86845. return A._asyncReturn($async$returnValue, $async$completer);
  86846. }
  86847. });
  86848. return A._asyncStartSync($async$visitDebugRule$1, $async$completer);
  86849. },
  86850. visitDeclaration$1(_, node) {
  86851. return this.visitDeclaration$body$_EvaluateVisitor0(0, node);
  86852. },
  86853. visitDeclaration$body$_EvaluateVisitor0(_, node) {
  86854. var $async$goto = 0,
  86855. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
  86856. $async$returnValue, $async$self = this, siblings, interleavedRules, t1, t2, t3, t4, t5, t6, rule, rule0, $name, _1_0, _2_0, value, _3_0, oldDeclarationName;
  86857. var $async$visitDeclaration$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  86858. if ($async$errorCode === 1)
  86859. return A._asyncRethrow($async$result, $async$completer);
  86860. while (true)
  86861. switch ($async$goto) {
  86862. case 0:
  86863. // Function start
  86864. if (($async$self._async_evaluate0$_atRootExcludingStyleRule ? null : $async$self._async_evaluate0$_styleRuleIgnoringAtRoot) == null && !$async$self._async_evaluate0$_inUnknownAtRule && !$async$self._async_evaluate0$_inKeyframes)
  86865. throw A.wrapException($async$self._async_evaluate0$_exception$2(string$.Declarm, node.span));
  86866. if ($async$self._async_evaluate0$_declarationName != null && B.JSString_methods.startsWith$1(node.name.get$initialPlain(), "--"))
  86867. throw A.wrapException($async$self._async_evaluate0$_exception$2(string$.Declarw, node.span));
  86868. siblings = $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__parent, "__parent")._node$_parent.children;
  86869. interleavedRules = A._setArrayType([], type$.JSArray_CssStyleRule_2);
  86870. if (siblings.get$last(siblings) !== $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__parent, "__parent"))
  86871. t1 = !($async$self._async_evaluate0$_quietDeps && $async$self._async_evaluate0$_inDependency);
  86872. else
  86873. t1 = false;
  86874. if (t1)
  86875. 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();) {
  86876. t6 = t1.__internal$_current;
  86877. rule = t6 == null ? t2._as(t6) : t6;
  86878. $label0$1: {
  86879. if (rule instanceof A.ModifiableCssComment0)
  86880. continue;
  86881. t6 = rule instanceof A.ModifiableCssStyleRule0;
  86882. rule0 = t6 ? rule : null;
  86883. if (t6) {
  86884. interleavedRules.push(rule0);
  86885. break $label0$1;
  86886. }
  86887. $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);
  86888. B.JSArray_methods.clear$0(interleavedRules);
  86889. break $label0$1;
  86890. }
  86891. }
  86892. t1 = node.name;
  86893. $async$goto = 3;
  86894. return A._asyncAwait($async$self._async_evaluate0$_interpolationToValue$2$warnForColor(t1, true), $async$visitDeclaration$1);
  86895. case 3:
  86896. // returning from await.
  86897. $name = $async$result;
  86898. _1_0 = $async$self._async_evaluate0$_declarationName;
  86899. if (_1_0 != null)
  86900. $name = new A.CssValue0(_1_0 + "-" + A.S($name.value), $name.span, type$.CssValue_String_2);
  86901. _2_0 = node.value;
  86902. $async$goto = _2_0 != null ? 4 : 5;
  86903. break;
  86904. case 4:
  86905. // then
  86906. $async$goto = 6;
  86907. return A._asyncAwait(_2_0.accept$1($async$self), $async$visitDeclaration$1);
  86908. case 6:
  86909. // returning from await.
  86910. value = $async$result;
  86911. if (!value.get$isBlank() || value.get$asList().length === 0 || J.startsWith$1$s($name.value, "--")) {
  86912. t2 = $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__parent, "__parent");
  86913. t3 = _2_0.get$span(_2_0);
  86914. t4 = node.span;
  86915. t1 = B.JSString_methods.startsWith$1(t1.get$initialPlain(), "--");
  86916. t5 = interleavedRules.length === 0 ? null : $async$self._async_evaluate0$_stackTrace$1(t4);
  86917. if ($async$self._async_evaluate0$_sourceMap) {
  86918. t6 = A.NullableExtension_andThen0(_2_0, $async$self.get$_async_evaluate0$_expressionNode());
  86919. t6 = t6 == null ? null : J.get$span$z(t6);
  86920. } else
  86921. t6 = null;
  86922. t2.addChild$1(A.ModifiableCssDeclaration$0($name, new A.CssValue0(value, t3, type$.CssValue_Value_2), t4, interleavedRules, t1, t5, t6));
  86923. }
  86924. case 5:
  86925. // join
  86926. _3_0 = node.children;
  86927. t1 = {};
  86928. t1.children = null;
  86929. $async$goto = _3_0 != null ? 7 : 8;
  86930. break;
  86931. case 7:
  86932. // then
  86933. t1.children = _3_0;
  86934. oldDeclarationName = $async$self._async_evaluate0$_declarationName;
  86935. $async$self._async_evaluate0$_declarationName = $name.value;
  86936. $async$goto = 9;
  86937. 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);
  86938. case 9:
  86939. // returning from await.
  86940. $async$self._async_evaluate0$_declarationName = oldDeclarationName;
  86941. case 8:
  86942. // join
  86943. $async$returnValue = null;
  86944. // goto return
  86945. $async$goto = 1;
  86946. break;
  86947. case 1:
  86948. // return
  86949. return A._asyncReturn($async$returnValue, $async$completer);
  86950. }
  86951. });
  86952. return A._asyncStartSync($async$visitDeclaration$1, $async$completer);
  86953. },
  86954. visitEachRule$1(_, node) {
  86955. return this.visitEachRule$body$_EvaluateVisitor0(0, node);
  86956. },
  86957. visitEachRule$body$_EvaluateVisitor0(_, node) {
  86958. var $async$goto = 0,
  86959. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
  86960. $async$returnValue, $async$self = this, t1, list, nodeWithSpan, _0_0;
  86961. var $async$visitEachRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  86962. if ($async$errorCode === 1)
  86963. return A._asyncRethrow($async$result, $async$completer);
  86964. while (true)
  86965. switch ($async$goto) {
  86966. case 0:
  86967. // Function start
  86968. t1 = node.list;
  86969. $async$goto = 3;
  86970. return A._asyncAwait(t1.accept$1($async$self), $async$visitEachRule$1);
  86971. case 3:
  86972. // returning from await.
  86973. list = $async$result;
  86974. nodeWithSpan = $async$self._async_evaluate0$_expressionNode$1(t1);
  86975. _0_0 = node.variables;
  86976. $label0$0: {
  86977. t1 = {};
  86978. t1.variable = null;
  86979. if (_0_0.length === 1) {
  86980. t1.variable = _0_0[0];
  86981. t1 = new A._EvaluateVisitor_visitEachRule_closure8(t1, $async$self, nodeWithSpan);
  86982. break $label0$0;
  86983. }
  86984. t1 = {};
  86985. t1.variables = null;
  86986. t1.variables = _0_0;
  86987. t1 = new A._EvaluateVisitor_visitEachRule_closure9(t1, $async$self, nodeWithSpan);
  86988. break $label0$0;
  86989. }
  86990. $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);
  86991. // goto return
  86992. $async$goto = 1;
  86993. break;
  86994. case 1:
  86995. // return
  86996. return A._asyncReturn($async$returnValue, $async$completer);
  86997. }
  86998. });
  86999. return A._asyncStartSync($async$visitEachRule$1, $async$completer);
  87000. },
  87001. _async_evaluate0$_setMultipleVariables$3(variables, value, nodeWithSpan) {
  87002. var i,
  87003. list = value.get$asList(),
  87004. t1 = variables.length,
  87005. minLength = Math.min(t1, list.length);
  87006. for (i = 0; i < minLength; ++i)
  87007. this._async_evaluate0$_environment.setLocalVariable$3(variables[i], this._async_evaluate0$_withoutSlash$2(list[i], nodeWithSpan), nodeWithSpan);
  87008. for (i = minLength; i < t1; ++i)
  87009. this._async_evaluate0$_environment.setLocalVariable$3(variables[i], B.C__SassNull0, nodeWithSpan);
  87010. },
  87011. visitErrorRule$1(_, node) {
  87012. return this.visitErrorRule$body$_EvaluateVisitor0(0, node);
  87013. },
  87014. visitErrorRule$body$_EvaluateVisitor0(_, node) {
  87015. var $async$goto = 0,
  87016. $async$completer = A._makeAsyncAwaitCompleter(type$.Value_2),
  87017. $async$self = this, $async$temp1, $async$temp2;
  87018. var $async$visitErrorRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  87019. if ($async$errorCode === 1)
  87020. return A._asyncRethrow($async$result, $async$completer);
  87021. while (true)
  87022. switch ($async$goto) {
  87023. case 0:
  87024. // Function start
  87025. $async$temp1 = A;
  87026. $async$temp2 = J;
  87027. $async$goto = 2;
  87028. return A._asyncAwait(node.expression.accept$1($async$self), $async$visitErrorRule$1);
  87029. case 2:
  87030. // returning from await.
  87031. throw $async$temp1.wrapException($async$self._async_evaluate0$_exception$2($async$temp2.toString$0$($async$result), node.span));
  87032. // implicit return
  87033. return A._asyncReturn(null, $async$completer);
  87034. }
  87035. });
  87036. return A._asyncStartSync($async$visitErrorRule$1, $async$completer);
  87037. },
  87038. visitExtendRule$1(_, node) {
  87039. return this.visitExtendRule$body$_EvaluateVisitor0(0, node);
  87040. },
  87041. visitExtendRule$body$_EvaluateVisitor0(_, node) {
  87042. var $async$goto = 0,
  87043. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
  87044. $async$returnValue, $async$self = this, t1, t2, t3, t4, t5, _i, complex, visitor, t6, t7, _0_0, targetText, targetMap, compound, styleRule;
  87045. var $async$visitExtendRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  87046. if ($async$errorCode === 1)
  87047. return A._asyncRethrow($async$result, $async$completer);
  87048. while (true)
  87049. switch ($async$goto) {
  87050. case 0:
  87051. // Function start
  87052. styleRule = $async$self._async_evaluate0$_atRootExcludingStyleRule ? null : $async$self._async_evaluate0$_styleRuleIgnoringAtRoot;
  87053. if (styleRule == null || $async$self._async_evaluate0$_declarationName != null)
  87054. throw A.wrapException($async$self._async_evaluate0$_exception$2(string$.x40exten, node.span));
  87055. for (t1 = styleRule.originalSelector.components, t2 = t1.length, t3 = node.span, t4 = type$.SourceSpan, t5 = type$.String, _i = 0; _i < t2; ++_i) {
  87056. complex = t1[_i];
  87057. if (!complex.accept$1(B._IsBogusVisitor_true0))
  87058. continue;
  87059. visitor = A._SerializeVisitor$0(null, true, null, null, true, false, null, true);
  87060. complex.accept$1(visitor);
  87061. t6 = B.JSString_methods.trim$0(visitor._serialize0$_buffer.toString$0(0));
  87062. t7 = complex.accept$1(B.C__IsUselessVisitor0) ? "can't" : "shouldn't";
  87063. $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);
  87064. }
  87065. $async$goto = 3;
  87066. return A._asyncAwait($async$self._async_evaluate0$_performInterpolationWithMap$2$warnForColor(node.selector, true), $async$visitExtendRule$1);
  87067. case 3:
  87068. // returning from await.
  87069. _0_0 = $async$result;
  87070. targetText = _0_0._0;
  87071. targetMap = _0_0._1;
  87072. 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) {
  87073. complex = t1[_i];
  87074. compound = complex.get$singleCompound();
  87075. if (compound == null)
  87076. throw A.wrapException(A.SassFormatException$0("complex selectors may not be extended.", complex.span, null));
  87077. t4 = compound.components;
  87078. t5 = t4.length === 1 ? B.JSArray_methods.get$first(t4) : null;
  87079. if (t5 == null)
  87080. throw A.wrapException(A.SassFormatException$0(string$.compou + B.JSArray_methods.join$1(t4, ", ") + string$.x60_inst, compound.span, null));
  87081. $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__extensionStore, "_extensionStore").addExtension$4(t3.value, t5, node, $async$self._async_evaluate0$_mediaQueries);
  87082. }
  87083. $async$returnValue = null;
  87084. // goto return
  87085. $async$goto = 1;
  87086. break;
  87087. case 1:
  87088. // return
  87089. return A._asyncReturn($async$returnValue, $async$completer);
  87090. }
  87091. });
  87092. return A._asyncStartSync($async$visitExtendRule$1, $async$completer);
  87093. },
  87094. visitAtRule$1(_, node) {
  87095. return this.visitAtRule$body$_EvaluateVisitor0(0, node);
  87096. },
  87097. visitAtRule$body$_EvaluateVisitor0(_, node) {
  87098. var $async$goto = 0,
  87099. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
  87100. $async$returnValue, $async$self = this, $name, t1, value, children, wasInKeyframes, wasInUnknownAtRule;
  87101. var $async$visitAtRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  87102. if ($async$errorCode === 1)
  87103. return A._asyncRethrow($async$result, $async$completer);
  87104. while (true)
  87105. switch ($async$goto) {
  87106. case 0:
  87107. // Function start
  87108. if ($async$self._async_evaluate0$_declarationName != null)
  87109. throw A.wrapException($async$self._async_evaluate0$_exception$2(string$.At_rul, node.span));
  87110. $async$goto = 3;
  87111. return A._asyncAwait($async$self._async_evaluate0$_interpolationToValue$1(node.name), $async$visitAtRule$1);
  87112. case 3:
  87113. // returning from await.
  87114. $name = $async$result;
  87115. t1 = A.NullableExtension_andThen0(node.value, new A._EvaluateVisitor_visitAtRule_closure8($async$self));
  87116. $async$goto = 4;
  87117. return A._asyncAwait(type$.Future_nullable_CssValue_String_2._is(t1) ? t1 : A._Future$value(t1, type$.nullable_CssValue_String_2), $async$visitAtRule$1);
  87118. case 4:
  87119. // returning from await.
  87120. value = $async$result;
  87121. children = node.children;
  87122. if (children == null) {
  87123. $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__parent, "__parent").addChild$1(A.ModifiableCssAtRule$0($name, node.span, true, value));
  87124. $async$returnValue = null;
  87125. // goto return
  87126. $async$goto = 1;
  87127. break;
  87128. }
  87129. wasInKeyframes = $async$self._async_evaluate0$_inKeyframes;
  87130. wasInUnknownAtRule = $async$self._async_evaluate0$_inUnknownAtRule;
  87131. if (A.unvendor0($name.value) === "keyframes")
  87132. $async$self._async_evaluate0$_inKeyframes = true;
  87133. else
  87134. $async$self._async_evaluate0$_inUnknownAtRule = true;
  87135. $async$goto = 5;
  87136. 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);
  87137. case 5:
  87138. // returning from await.
  87139. $async$self._async_evaluate0$_inUnknownAtRule = wasInUnknownAtRule;
  87140. $async$self._async_evaluate0$_inKeyframes = wasInKeyframes;
  87141. $async$returnValue = null;
  87142. // goto return
  87143. $async$goto = 1;
  87144. break;
  87145. case 1:
  87146. // return
  87147. return A._asyncReturn($async$returnValue, $async$completer);
  87148. }
  87149. });
  87150. return A._asyncStartSync($async$visitAtRule$1, $async$completer);
  87151. },
  87152. visitForRule$1(_, node) {
  87153. return this.visitForRule$body$_EvaluateVisitor0(0, node);
  87154. },
  87155. visitForRule$body$_EvaluateVisitor0(_, node) {
  87156. var $async$goto = 0,
  87157. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
  87158. $async$returnValue, $async$self = this, t1, t2, t3, fromNumber, t4, toNumber, from, to, direction;
  87159. var $async$visitForRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  87160. if ($async$errorCode === 1)
  87161. return A._asyncRethrow($async$result, $async$completer);
  87162. while (true)
  87163. switch ($async$goto) {
  87164. case 0:
  87165. // Function start
  87166. t1 = {};
  87167. t2 = node.from;
  87168. t3 = type$.SassNumber_2;
  87169. $async$goto = 3;
  87170. return A._asyncAwait($async$self._async_evaluate0$_addExceptionSpanAsync$1$2(t2, new A._EvaluateVisitor_visitForRule_closure14($async$self, node), t3), $async$visitForRule$1);
  87171. case 3:
  87172. // returning from await.
  87173. fromNumber = $async$result;
  87174. t4 = node.to;
  87175. $async$goto = 4;
  87176. return A._asyncAwait($async$self._async_evaluate0$_addExceptionSpanAsync$1$2(t4, new A._EvaluateVisitor_visitForRule_closure15($async$self, node), t3), $async$visitForRule$1);
  87177. case 4:
  87178. // returning from await.
  87179. toNumber = $async$result;
  87180. from = $async$self._async_evaluate0$_addExceptionSpan$2(t2, new A._EvaluateVisitor_visitForRule_closure16(fromNumber));
  87181. to = t1.to = $async$self._async_evaluate0$_addExceptionSpan$2(t4, new A._EvaluateVisitor_visitForRule_closure17(toNumber, fromNumber));
  87182. direction = from > to ? -1 : 1;
  87183. if (from === (!node.isExclusive ? t1.to = to + direction : to)) {
  87184. $async$returnValue = null;
  87185. // goto return
  87186. $async$goto = 1;
  87187. break;
  87188. }
  87189. $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);
  87190. // goto return
  87191. $async$goto = 1;
  87192. break;
  87193. case 1:
  87194. // return
  87195. return A._asyncReturn($async$returnValue, $async$completer);
  87196. }
  87197. });
  87198. return A._asyncStartSync($async$visitForRule$1, $async$completer);
  87199. },
  87200. visitForwardRule$1(_, node) {
  87201. return this.visitForwardRule$body$_EvaluateVisitor0(0, node);
  87202. },
  87203. visitForwardRule$body$_EvaluateVisitor0(_, node) {
  87204. var $async$goto = 0,
  87205. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
  87206. $async$returnValue, $async$self = this, newConfiguration, t4, _i, variable, $name, oldConfiguration, adjustedConfiguration, t1, t2, t3;
  87207. var $async$visitForwardRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  87208. if ($async$errorCode === 1)
  87209. return A._asyncRethrow($async$result, $async$completer);
  87210. while (true)
  87211. switch ($async$goto) {
  87212. case 0:
  87213. // Function start
  87214. oldConfiguration = $async$self._async_evaluate0$_configuration;
  87215. adjustedConfiguration = oldConfiguration.throughForward$1(node);
  87216. t1 = node.configuration;
  87217. t2 = t1.length;
  87218. t3 = node.url;
  87219. $async$goto = t2 !== 0 ? 3 : 5;
  87220. break;
  87221. case 3:
  87222. // then
  87223. $async$goto = 6;
  87224. return A._asyncAwait($async$self._async_evaluate0$_addForwardConfiguration$2(adjustedConfiguration, node), $async$visitForwardRule$1);
  87225. case 6:
  87226. // returning from await.
  87227. newConfiguration = $async$result;
  87228. $async$goto = 7;
  87229. 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);
  87230. case 7:
  87231. // returning from await.
  87232. t3 = type$.String;
  87233. t4 = A.LinkedHashSet_LinkedHashSet$_empty(t3);
  87234. for (_i = 0; _i < t2; ++_i) {
  87235. variable = t1[_i];
  87236. if (!variable.isGuarded)
  87237. t4.add$1(0, variable.name);
  87238. }
  87239. $async$self._async_evaluate0$_removeUsedConfiguration$3$except(adjustedConfiguration, newConfiguration, t4);
  87240. t3 = A.LinkedHashSet_LinkedHashSet$_empty(t3);
  87241. for (_i = 0; _i < t2; ++_i)
  87242. t3.add$1(0, t1[_i].name);
  87243. 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) {
  87244. $name = t2[_i];
  87245. if (!t3.contains$1(0, $name))
  87246. if (!t1.get$isEmpty(t1))
  87247. t1.remove$1(0, $name);
  87248. }
  87249. $async$self._async_evaluate0$_assertConfigurationIsEmpty$1(newConfiguration);
  87250. // goto join
  87251. $async$goto = 4;
  87252. break;
  87253. case 5:
  87254. // else
  87255. $async$self._async_evaluate0$_configuration = adjustedConfiguration;
  87256. $async$goto = 8;
  87257. return A._asyncAwait($async$self._async_evaluate0$_loadModule$4(t3, "@forward", node, new A._EvaluateVisitor_visitForwardRule_closure6($async$self, node)), $async$visitForwardRule$1);
  87258. case 8:
  87259. // returning from await.
  87260. $async$self._async_evaluate0$_configuration = oldConfiguration;
  87261. case 4:
  87262. // join
  87263. $async$returnValue = null;
  87264. // goto return
  87265. $async$goto = 1;
  87266. break;
  87267. case 1:
  87268. // return
  87269. return A._asyncReturn($async$returnValue, $async$completer);
  87270. }
  87271. });
  87272. return A._asyncStartSync($async$visitForwardRule$1, $async$completer);
  87273. },
  87274. _async_evaluate0$_addForwardConfiguration$2(configuration, node) {
  87275. return this._addForwardConfiguration$body$_EvaluateVisitor0(configuration, node);
  87276. },
  87277. _addForwardConfiguration$body$_EvaluateVisitor0(configuration, node) {
  87278. var $async$goto = 0,
  87279. $async$completer = A._makeAsyncAwaitCompleter(type$.Configuration_2),
  87280. $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;
  87281. var $async$_async_evaluate0$_addForwardConfiguration$2 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  87282. if ($async$errorCode === 1)
  87283. return A._asyncRethrow($async$result, $async$completer);
  87284. while (true)
  87285. switch ($async$goto) {
  87286. case 0:
  87287. // Function start
  87288. t1 = configuration._configuration0$_values;
  87289. newValues = A.LinkedHashMap_LinkedHashMap$of(new A.UnmodifiableMapView(t1, type$.UnmodifiableMapView_String_ConfiguredValue_2), type$.String, type$.ConfiguredValue_2);
  87290. t2 = node.configuration, t3 = t2.length, t4 = type$._Future_Value_2, t5 = type$.Future_Value_2, _i = 0;
  87291. case 3:
  87292. // for condition
  87293. if (!(_i < t3)) {
  87294. // goto after for
  87295. $async$goto = 5;
  87296. break;
  87297. }
  87298. variable = t2[_i];
  87299. if (variable.isGuarded) {
  87300. t6 = variable.name;
  87301. _0_0 = t1.get$isEmpty(t1) ? null : t1.remove$1(0, t6);
  87302. if (_0_0 != null) {
  87303. t7 = !_0_0.value.$eq(0, B.C__SassNull0);
  87304. oldValue = _0_0;
  87305. } else {
  87306. oldValue = null;
  87307. t7 = false;
  87308. }
  87309. if (t7) {
  87310. newValues.$indexSet(0, t6, oldValue);
  87311. // goto for update
  87312. $async$goto = 4;
  87313. break;
  87314. }
  87315. }
  87316. t6 = variable.expression;
  87317. variableNodeWithSpan = $async$self._async_evaluate0$_expressionNode$1(t6);
  87318. t6 = t6.accept$1($async$self);
  87319. if (!t5._is(t6)) {
  87320. t7 = new A._Future($.Zone__current, t4);
  87321. t7._state = 8;
  87322. t7._resultOrListeners = t6;
  87323. t6 = t7;
  87324. }
  87325. $async$temp1 = newValues;
  87326. $async$temp2 = variable.name;
  87327. $async$temp3 = A;
  87328. $async$goto = 6;
  87329. return A._asyncAwait(t6, $async$_async_evaluate0$_addForwardConfiguration$2);
  87330. case 6:
  87331. // returning from await.
  87332. $async$temp1.$indexSet(0, $async$temp2, new $async$temp3.ConfiguredValue0($async$self._async_evaluate0$_withoutSlash$2($async$result, variableNodeWithSpan), variable.span, variableNodeWithSpan));
  87333. case 4:
  87334. // for update
  87335. ++_i;
  87336. // goto for condition
  87337. $async$goto = 3;
  87338. break;
  87339. case 5:
  87340. // after for
  87341. if (configuration instanceof A.ExplicitConfiguration0 || t1.get$isEmpty(t1)) {
  87342. $async$returnValue = new A.ExplicitConfiguration0(node, newValues, null);
  87343. // goto return
  87344. $async$goto = 1;
  87345. break;
  87346. } else {
  87347. $async$returnValue = new A.Configuration0(newValues, null);
  87348. // goto return
  87349. $async$goto = 1;
  87350. break;
  87351. }
  87352. case 1:
  87353. // return
  87354. return A._asyncReturn($async$returnValue, $async$completer);
  87355. }
  87356. });
  87357. return A._asyncStartSync($async$_async_evaluate0$_addForwardConfiguration$2, $async$completer);
  87358. },
  87359. _async_evaluate0$_registerCommentsForModule$1(module) {
  87360. var _this = this, _s5_ = "_root",
  87361. t1 = _this._async_evaluate0$__root;
  87362. if (t1 == null)
  87363. return;
  87364. if (_this._async_evaluate0$_assertInModule$2(t1, _s5_).children.get$length(0) === 0 || !module.get$transitivelyContainsCss())
  87365. return;
  87366. t1 = _this._async_evaluate0$_preModuleComments;
  87367. if (t1 == null)
  87368. t1 = _this._async_evaluate0$_preModuleComments = A.LinkedHashMap_LinkedHashMap$_empty(type$.Module_AsyncCallable_2, type$.List_CssComment_2);
  87369. 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));
  87370. _this._async_evaluate0$_assertInModule$2(_this._async_evaluate0$__root, _s5_).clearChildren$0();
  87371. _this._async_evaluate0$__endOfImports = 0;
  87372. },
  87373. _async_evaluate0$_removeUsedConfiguration$3$except(upstream, downstream, except) {
  87374. var t1, t2, t3, t4, _i, $name;
  87375. 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) {
  87376. $name = t2[_i];
  87377. if (except.contains$1(0, $name))
  87378. continue;
  87379. if (!t4.containsKey$1($name))
  87380. if (!t1.get$isEmpty(t1))
  87381. t1.remove$1(0, $name);
  87382. }
  87383. },
  87384. _async_evaluate0$_assertConfigurationIsEmpty$2$nameInError(configuration, nameInError) {
  87385. var t1, _0_0, $name, value;
  87386. if (!(configuration instanceof A.ExplicitConfiguration0))
  87387. return;
  87388. t1 = configuration._configuration0$_values;
  87389. if (t1.get$isEmpty(t1))
  87390. return;
  87391. t1 = A.MapExtensions_get_pairs0(new A.UnmodifiableMapView(t1, type$.UnmodifiableMapView_String_ConfiguredValue_2), type$.String, type$.ConfiguredValue_2);
  87392. _0_0 = t1.get$first(t1);
  87393. $name = _0_0._0;
  87394. value = _0_0._1;
  87395. t1 = nameInError ? "$" + $name + string$.x20was_n : string$.This_v;
  87396. throw A.wrapException(this._async_evaluate0$_exception$2(t1, value.configurationSpan));
  87397. },
  87398. _async_evaluate0$_assertConfigurationIsEmpty$1(configuration) {
  87399. return this._async_evaluate0$_assertConfigurationIsEmpty$2$nameInError(configuration, false);
  87400. },
  87401. visitFunctionRule$1(_, node) {
  87402. return this.visitFunctionRule$body$_EvaluateVisitor0(0, node);
  87403. },
  87404. visitFunctionRule$body$_EvaluateVisitor0(_, node) {
  87405. var $async$goto = 0,
  87406. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
  87407. $async$returnValue, $async$self = this, t1, t2, t3, t4, index, t5;
  87408. var $async$visitFunctionRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  87409. if ($async$errorCode === 1)
  87410. return A._asyncRethrow($async$result, $async$completer);
  87411. while (true)
  87412. switch ($async$goto) {
  87413. case 0:
  87414. // Function start
  87415. t1 = $async$self._async_evaluate0$_environment;
  87416. t2 = t1.closure$0();
  87417. t3 = $async$self._async_evaluate0$_inDependency;
  87418. t4 = t1._async_environment0$_functions;
  87419. index = t4.length - 1;
  87420. t5 = node.name;
  87421. t1._async_environment0$_functionIndices.$indexSet(0, t5, index);
  87422. t4[index].$indexSet(0, t5, new A.UserDefinedCallable0(node, t2, t3, type$.UserDefinedCallable_AsyncEnvironment_2));
  87423. $async$returnValue = null;
  87424. // goto return
  87425. $async$goto = 1;
  87426. break;
  87427. case 1:
  87428. // return
  87429. return A._asyncReturn($async$returnValue, $async$completer);
  87430. }
  87431. });
  87432. return A._asyncStartSync($async$visitFunctionRule$1, $async$completer);
  87433. },
  87434. visitIfRule$1(_, node) {
  87435. return this.visitIfRule$body$_EvaluateVisitor0(0, node);
  87436. },
  87437. visitIfRule$body$_EvaluateVisitor0(_, node) {
  87438. var $async$goto = 0,
  87439. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
  87440. $async$returnValue, $async$self = this, t1, t2, _i, clauseToCheck, clause;
  87441. var $async$visitIfRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  87442. if ($async$errorCode === 1)
  87443. return A._asyncRethrow($async$result, $async$completer);
  87444. while (true)
  87445. switch ($async$goto) {
  87446. case 0:
  87447. // Function start
  87448. clause = node.lastClause;
  87449. t1 = node.clauses, t2 = t1.length, _i = 0;
  87450. case 3:
  87451. // for condition
  87452. if (!(_i < t2)) {
  87453. // goto after for
  87454. $async$goto = 5;
  87455. break;
  87456. }
  87457. clauseToCheck = t1[_i];
  87458. $async$goto = 6;
  87459. return A._asyncAwait(clauseToCheck.expression.accept$1($async$self), $async$visitIfRule$1);
  87460. case 6:
  87461. // returning from await.
  87462. if ($async$result.get$isTruthy()) {
  87463. clause = clauseToCheck;
  87464. // goto after for
  87465. $async$goto = 5;
  87466. break;
  87467. }
  87468. case 4:
  87469. // for update
  87470. ++_i;
  87471. // goto for condition
  87472. $async$goto = 3;
  87473. break;
  87474. case 5:
  87475. // after for
  87476. t1 = A.NullableExtension_andThen0(clause, new A._EvaluateVisitor_visitIfRule_closure2($async$self));
  87477. $async$goto = 7;
  87478. return A._asyncAwait(type$.Future_nullable_Value_2._is(t1) ? t1 : A._Future$value(t1, type$.nullable_Value_2), $async$visitIfRule$1);
  87479. case 7:
  87480. // returning from await.
  87481. $async$returnValue = $async$result;
  87482. // goto return
  87483. $async$goto = 1;
  87484. break;
  87485. case 1:
  87486. // return
  87487. return A._asyncReturn($async$returnValue, $async$completer);
  87488. }
  87489. });
  87490. return A._asyncStartSync($async$visitIfRule$1, $async$completer);
  87491. },
  87492. visitImportRule$1(_, node) {
  87493. return this.visitImportRule$body$_EvaluateVisitor0(0, node);
  87494. },
  87495. visitImportRule$body$_EvaluateVisitor0(_, node) {
  87496. var $async$goto = 0,
  87497. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
  87498. $async$returnValue, $async$self = this, t1, t2, t3, _i, $import;
  87499. var $async$visitImportRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  87500. if ($async$errorCode === 1)
  87501. return A._asyncRethrow($async$result, $async$completer);
  87502. while (true)
  87503. switch ($async$goto) {
  87504. case 0:
  87505. // Function start
  87506. t1 = node.imports, t2 = t1.length, t3 = type$.StaticImport_2, _i = 0;
  87507. case 3:
  87508. // for condition
  87509. if (!(_i < t2)) {
  87510. // goto after for
  87511. $async$goto = 5;
  87512. break;
  87513. }
  87514. $import = t1[_i];
  87515. $async$goto = $import instanceof A.DynamicImport0 ? 6 : 8;
  87516. break;
  87517. case 6:
  87518. // then
  87519. $async$goto = 9;
  87520. return A._asyncAwait($async$self._async_evaluate0$_visitDynamicImport$1($import), $async$visitImportRule$1);
  87521. case 9:
  87522. // returning from await.
  87523. // goto join
  87524. $async$goto = 7;
  87525. break;
  87526. case 8:
  87527. // else
  87528. $async$goto = 10;
  87529. return A._asyncAwait($async$self._async_evaluate0$_visitStaticImport$1(t3._as($import)), $async$visitImportRule$1);
  87530. case 10:
  87531. // returning from await.
  87532. case 7:
  87533. // join
  87534. case 4:
  87535. // for update
  87536. ++_i;
  87537. // goto for condition
  87538. $async$goto = 3;
  87539. break;
  87540. case 5:
  87541. // after for
  87542. $async$returnValue = null;
  87543. // goto return
  87544. $async$goto = 1;
  87545. break;
  87546. case 1:
  87547. // return
  87548. return A._asyncReturn($async$returnValue, $async$completer);
  87549. }
  87550. });
  87551. return A._asyncStartSync($async$visitImportRule$1, $async$completer);
  87552. },
  87553. _async_evaluate0$_visitDynamicImport$1($import) {
  87554. return this._async_evaluate0$_withStackFrame$1$3("@import", $import, new A._EvaluateVisitor__visitDynamicImport_closure2(this, $import), type$.void);
  87555. },
  87556. _async_evaluate0$_loadStylesheet$4$baseUrl$forImport(url, span, baseUrl, forImport) {
  87557. return this._loadStylesheet$body$_EvaluateVisitor0(url, span, baseUrl, forImport);
  87558. },
  87559. _async_evaluate0$_loadStylesheet$3$baseUrl(url, span, baseUrl) {
  87560. return this._async_evaluate0$_loadStylesheet$4$baseUrl$forImport(url, span, baseUrl, false);
  87561. },
  87562. _async_evaluate0$_loadStylesheet$3$forImport(url, span, forImport) {
  87563. return this._async_evaluate0$_loadStylesheet$4$baseUrl$forImport(url, span, null, forImport);
  87564. },
  87565. _loadStylesheet$body$_EvaluateVisitor0(url, span, baseUrl, forImport) {
  87566. var $async$goto = 0,
  87567. $async$completer = A._makeAsyncAwaitCompleter(type$.Record_3_Stylesheet_and_nullable_AsyncImporter_importer_and_bool_isDependency_2),
  87568. $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;
  87569. var $async$_async_evaluate0$_loadStylesheet$4$baseUrl$forImport = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  87570. if ($async$errorCode === 1) {
  87571. $async$errorStack.push($async$result);
  87572. $async$goto = $async$handler;
  87573. }
  87574. while (true)
  87575. switch ($async$goto) {
  87576. case 0:
  87577. // Function start
  87578. baseUrl = baseUrl;
  87579. $async$handler = 4;
  87580. $async$self._async_evaluate0$_importSpan = span;
  87581. _0_0 = $async$self._async_evaluate0$_importCache;
  87582. importCache = null;
  87583. $async$goto = _0_0 != null ? 7 : 8;
  87584. break;
  87585. case 7:
  87586. // then
  87587. importCache = _0_0;
  87588. if (baseUrl == null)
  87589. baseUrl = $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__stylesheet, "_stylesheet").span.file.url;
  87590. $async$goto = 9;
  87591. 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);
  87592. case 9:
  87593. // returning from await.
  87594. _1_0 = $async$result;
  87595. importer = null;
  87596. canonicalUrl = null;
  87597. originalUrl = null;
  87598. $async$goto = type$.Record_3_nullable_Object_and_nullable_Object_and_nullable_Object_originalUrl._is(_1_0) ? 10 : 11;
  87599. break;
  87600. case 10:
  87601. // then
  87602. importer = _1_0._0;
  87603. canonicalUrl = _1_0._1;
  87604. originalUrl = _1_0._2;
  87605. if (canonicalUrl.get$scheme() === "")
  87606. 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);
  87607. $async$self._async_evaluate0$_loadedUrls.add$1(0, canonicalUrl);
  87608. isDependency = $async$self._async_evaluate0$_inDependency || !J.$eq$(importer, $async$self._async_evaluate0$_importer);
  87609. $async$goto = 12;
  87610. return A._asyncAwait(importCache.importCanonical$3$originalUrl(importer, canonicalUrl, originalUrl), $async$_async_evaluate0$_loadStylesheet$4$baseUrl$forImport);
  87611. case 12:
  87612. // returning from await.
  87613. _2_0 = $async$result;
  87614. stylesheet = null;
  87615. if (_2_0 != null) {
  87616. stylesheet = _2_0;
  87617. t1 = stylesheet;
  87618. t2 = importer;
  87619. $async$returnValue = new A._Record_3_importer_isDependency(t1, t2, isDependency);
  87620. $async$next = [1];
  87621. // goto finally
  87622. $async$goto = 5;
  87623. break;
  87624. }
  87625. case 11:
  87626. // join
  87627. case 8:
  87628. // join
  87629. $async$goto = $async$self._async_evaluate0$_nodeImporter != null ? 13 : 14;
  87630. break;
  87631. case 13:
  87632. // then
  87633. t1 = baseUrl;
  87634. $async$goto = 15;
  87635. 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);
  87636. case 15:
  87637. // returning from await.
  87638. _3_0 = $async$result;
  87639. result = null;
  87640. if (_3_0 != null) {
  87641. result = _3_0;
  87642. t1 = $async$self._async_evaluate0$_loadedUrls;
  87643. A.NullableExtension_andThen0(result._0.span.file.url, t1.get$add(t1));
  87644. t1 = result;
  87645. $async$returnValue = t1;
  87646. $async$next = [1];
  87647. // goto finally
  87648. $async$goto = 5;
  87649. break;
  87650. }
  87651. case 14:
  87652. // join
  87653. t1 = B.JSString_methods.startsWith$1(url, "package:");
  87654. if (t1)
  87655. throw A.wrapException(string$.x22packa);
  87656. else
  87657. throw A.wrapException("Can't find stylesheet to import.");
  87658. $async$next.push(6);
  87659. // goto finally
  87660. $async$goto = 5;
  87661. break;
  87662. case 4:
  87663. // catch
  87664. $async$handler = 3;
  87665. $async$exception = $async$errorStack.pop();
  87666. t1 = A.unwrapException($async$exception);
  87667. if (t1 instanceof A.SassException0)
  87668. throw $async$exception;
  87669. else if (t1 instanceof A.ArgumentError) {
  87670. error = t1;
  87671. stackTrace = A.getTraceFromException($async$exception);
  87672. A.throwWithTrace0($async$self._async_evaluate0$_exception$1(J.toString$0$(error)), error, stackTrace);
  87673. } else {
  87674. error0 = t1;
  87675. stackTrace0 = A.getTraceFromException($async$exception);
  87676. A.throwWithTrace0($async$self._async_evaluate0$_exception$1($async$self._async_evaluate0$_getErrorMessage$1(error0)), error0, stackTrace0);
  87677. }
  87678. $async$next.push(6);
  87679. // goto finally
  87680. $async$goto = 5;
  87681. break;
  87682. case 3:
  87683. // uncaught
  87684. $async$next = [2];
  87685. case 5:
  87686. // finally
  87687. $async$handler = 2;
  87688. $async$self._async_evaluate0$_importSpan = null;
  87689. // goto the next finally handler
  87690. $async$goto = $async$next.pop();
  87691. break;
  87692. case 6:
  87693. // after finally
  87694. case 1:
  87695. // return
  87696. return A._asyncReturn($async$returnValue, $async$completer);
  87697. case 2:
  87698. // rethrow
  87699. return A._asyncRethrow($async$errorStack.at(-1), $async$completer);
  87700. }
  87701. });
  87702. return A._asyncStartSync($async$_async_evaluate0$_loadStylesheet$4$baseUrl$forImport, $async$completer);
  87703. },
  87704. _async_evaluate0$_importLikeNode$3(originalUrl, previous, forImport) {
  87705. return this._importLikeNode$body$_EvaluateVisitor(originalUrl, previous, forImport);
  87706. },
  87707. _importLikeNode$body$_EvaluateVisitor(originalUrl, previous, forImport) {
  87708. var $async$goto = 0,
  87709. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Record_3_Stylesheet_and_nullable_AsyncImporter_importer_and_bool_isDependency),
  87710. $async$returnValue, $async$self = this, isDependency, url, t1, result;
  87711. var $async$_async_evaluate0$_importLikeNode$3 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  87712. if ($async$errorCode === 1)
  87713. return A._asyncRethrow($async$result, $async$completer);
  87714. while (true)
  87715. switch ($async$goto) {
  87716. case 0:
  87717. // Function start
  87718. t1 = $async$self._async_evaluate0$_nodeImporter;
  87719. result = t1.loadRelative$3(originalUrl, previous, forImport);
  87720. $async$goto = result != null ? 3 : 5;
  87721. break;
  87722. case 3:
  87723. // then
  87724. isDependency = $async$self._async_evaluate0$_inDependency;
  87725. // goto join
  87726. $async$goto = 4;
  87727. break;
  87728. case 5:
  87729. // else
  87730. $async$goto = 6;
  87731. return A._asyncAwait(t1.loadAsync$3(originalUrl, previous, forImport), $async$_async_evaluate0$_importLikeNode$3);
  87732. case 6:
  87733. // returning from await.
  87734. result = $async$result;
  87735. if (result == null) {
  87736. $async$returnValue = null;
  87737. // goto return
  87738. $async$goto = 1;
  87739. break;
  87740. }
  87741. isDependency = true;
  87742. case 4:
  87743. // join
  87744. url = result._1;
  87745. t1 = B.JSString_methods.startsWith$1(url, "file") ? A.Syntax_forPath0(url) : B.Syntax_SCSS_scss0;
  87746. $async$returnValue = new A._Record_3_importer_isDependency(A.Stylesheet_Stylesheet$parse0(result._0, t1, url), null, isDependency);
  87747. // goto return
  87748. $async$goto = 1;
  87749. break;
  87750. case 1:
  87751. // return
  87752. return A._asyncReturn($async$returnValue, $async$completer);
  87753. }
  87754. });
  87755. return A._asyncStartSync($async$_async_evaluate0$_importLikeNode$3, $async$completer);
  87756. },
  87757. _async_evaluate0$_visitStaticImport$1($import) {
  87758. return this._visitStaticImport$body$_EvaluateVisitor0($import);
  87759. },
  87760. _visitStaticImport$body$_EvaluateVisitor0($import) {
  87761. var $async$goto = 0,
  87762. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  87763. $async$self = this, t1, t2, node, $async$temp1, $async$temp2;
  87764. var $async$_async_evaluate0$_visitStaticImport$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  87765. if ($async$errorCode === 1)
  87766. return A._asyncRethrow($async$result, $async$completer);
  87767. while (true)
  87768. switch ($async$goto) {
  87769. case 0:
  87770. // Function start
  87771. $async$goto = 2;
  87772. return A._asyncAwait($async$self._async_evaluate0$_interpolationToValue$1($import.url), $async$_async_evaluate0$_visitStaticImport$1);
  87773. case 2:
  87774. // returning from await.
  87775. t1 = $async$result;
  87776. t2 = A.NullableExtension_andThen0($import.modifiers, $async$self.get$_async_evaluate0$_interpolationToValue());
  87777. $async$temp1 = A;
  87778. $async$temp2 = t1;
  87779. $async$goto = 3;
  87780. 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);
  87781. case 3:
  87782. // returning from await.
  87783. node = new $async$temp1.ModifiableCssImport0($async$temp2, $async$result, $import.span);
  87784. 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"))
  87785. $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__parent, "__parent").addChild$1(node);
  87786. 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)) {
  87787. $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__root, "_root").addChild$1(node);
  87788. $async$self._async_evaluate0$__endOfImports = $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__endOfImports, "_endOfImports") + 1;
  87789. } else {
  87790. t1 = $async$self._async_evaluate0$_outOfOrderImports;
  87791. (t1 == null ? $async$self._async_evaluate0$_outOfOrderImports = A._setArrayType([], type$.JSArray_ModifiableCssImport_2) : t1).push(node);
  87792. }
  87793. // implicit return
  87794. return A._asyncReturn(null, $async$completer);
  87795. }
  87796. });
  87797. return A._asyncStartSync($async$_async_evaluate0$_visitStaticImport$1, $async$completer);
  87798. },
  87799. _async_evaluate0$_applyMixin$5(mixin, contentCallable, $arguments, nodeWithSpan, nodeWithSpanWithoutContent) {
  87800. return this._applyMixin$body$_EvaluateVisitor0(mixin, contentCallable, $arguments, nodeWithSpan, nodeWithSpanWithoutContent);
  87801. },
  87802. _applyMixin$body$_EvaluateVisitor0(mixin, contentCallable, $arguments, nodeWithSpan, nodeWithSpanWithoutContent) {
  87803. var $async$goto = 0,
  87804. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  87805. $async$self = this, t1, _0_0, t2, _1_8, t3;
  87806. var $async$_async_evaluate0$_applyMixin$5 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  87807. if ($async$errorCode === 1)
  87808. return A._asyncRethrow($async$result, $async$completer);
  87809. while (true)
  87810. switch ($async$goto) {
  87811. case 0:
  87812. // Function start
  87813. if (mixin == null)
  87814. throw A.wrapException($async$self._async_evaluate0$_exception$2("Undefined mixin.", nodeWithSpan.get$span(nodeWithSpan)));
  87815. t1 = type$.AsyncBuiltInCallable_2._is(mixin);
  87816. $async$goto = t1 && !mixin.get$acceptsContent() && contentCallable != null ? 3 : 4;
  87817. break;
  87818. case 3:
  87819. // then
  87820. $async$goto = 5;
  87821. return A._asyncAwait($async$self._async_evaluate0$_evaluateArguments$1($arguments), $async$_async_evaluate0$_applyMixin$5);
  87822. case 5:
  87823. // returning from await.
  87824. t1 = $async$result._values;
  87825. _0_0 = mixin.callbackFor$2(J.get$length$asx(t1[2]), new A.MapKeySet(t1[0], type$.MapKeySet_String));
  87826. 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));
  87827. case 4:
  87828. // join
  87829. $async$goto = t1 ? 6 : 7;
  87830. break;
  87831. case 6:
  87832. // then
  87833. $async$goto = 8;
  87834. 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);
  87835. case 8:
  87836. // returning from await.
  87837. // goto break $label0$0
  87838. $async$goto = 2;
  87839. break;
  87840. case 7:
  87841. // join
  87842. t1 = type$.UserDefinedCallable_AsyncEnvironment_2._is(mixin);
  87843. t2 = false;
  87844. if (t1) {
  87845. _1_8 = mixin.declaration;
  87846. t3 = _1_8;
  87847. if (t3 instanceof A.MixinRule0)
  87848. t2 = !type$.MixinRule_2._as(_1_8).get$hasContent() && contentCallable != null;
  87849. }
  87850. if (t2)
  87851. 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));
  87852. $async$goto = t1 ? 9 : 10;
  87853. break;
  87854. case 9:
  87855. // then
  87856. $async$goto = 11;
  87857. 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);
  87858. case 11:
  87859. // returning from await.
  87860. // goto break $label0$0
  87861. $async$goto = 2;
  87862. break;
  87863. case 10:
  87864. // join
  87865. throw A.wrapException(A.UnsupportedError$("Unknown callable type " + mixin.toString$0(0) + "."));
  87866. case 2:
  87867. // break $label0$0
  87868. // implicit return
  87869. return A._asyncReturn(null, $async$completer);
  87870. }
  87871. });
  87872. return A._asyncStartSync($async$_async_evaluate0$_applyMixin$5, $async$completer);
  87873. },
  87874. visitIncludeRule$1(_, node) {
  87875. return this.visitIncludeRule$body$_EvaluateVisitor0(0, node);
  87876. },
  87877. visitIncludeRule$body$_EvaluateVisitor0(_, node) {
  87878. var $async$goto = 0,
  87879. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
  87880. $async$returnValue, $async$self = this, mixin;
  87881. var $async$visitIncludeRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  87882. if ($async$errorCode === 1)
  87883. return A._asyncRethrow($async$result, $async$completer);
  87884. while (true)
  87885. switch ($async$goto) {
  87886. case 0:
  87887. // Function start
  87888. mixin = $async$self._async_evaluate0$_addExceptionSpan$2(node, new A._EvaluateVisitor_visitIncludeRule_closure8($async$self, node));
  87889. if (B.JSString_methods.startsWith$1(node.originalName, "--") && mixin instanceof A.UserDefinedCallable0 && !B.JSString_methods.startsWith$1(mixin.declaration.originalName, "--"))
  87890. $async$self._async_evaluate0$_warn$3(string$.Sassx20_m, node.get$nameSpan(), B.Deprecation_d4j);
  87891. $async$goto = 3;
  87892. 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);
  87893. case 3:
  87894. // returning from await.
  87895. $async$returnValue = null;
  87896. // goto return
  87897. $async$goto = 1;
  87898. break;
  87899. case 1:
  87900. // return
  87901. return A._asyncReturn($async$returnValue, $async$completer);
  87902. }
  87903. });
  87904. return A._asyncStartSync($async$visitIncludeRule$1, $async$completer);
  87905. },
  87906. visitMixinRule$1(_, node) {
  87907. return this.visitMixinRule$body$_EvaluateVisitor0(0, node);
  87908. },
  87909. visitMixinRule$body$_EvaluateVisitor0(_, node) {
  87910. var $async$goto = 0,
  87911. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
  87912. $async$returnValue, $async$self = this, t1, t2, t3, t4, index, t5;
  87913. var $async$visitMixinRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  87914. if ($async$errorCode === 1)
  87915. return A._asyncRethrow($async$result, $async$completer);
  87916. while (true)
  87917. switch ($async$goto) {
  87918. case 0:
  87919. // Function start
  87920. t1 = $async$self._async_evaluate0$_environment;
  87921. t2 = t1.closure$0();
  87922. t3 = $async$self._async_evaluate0$_inDependency;
  87923. t4 = t1._async_environment0$_mixins;
  87924. index = t4.length - 1;
  87925. t5 = node.name;
  87926. t1._async_environment0$_mixinIndices.$indexSet(0, t5, index);
  87927. t4[index].$indexSet(0, t5, new A.UserDefinedCallable0(node, t2, t3, type$.UserDefinedCallable_AsyncEnvironment_2));
  87928. $async$returnValue = null;
  87929. // goto return
  87930. $async$goto = 1;
  87931. break;
  87932. case 1:
  87933. // return
  87934. return A._asyncReturn($async$returnValue, $async$completer);
  87935. }
  87936. });
  87937. return A._asyncStartSync($async$visitMixinRule$1, $async$completer);
  87938. },
  87939. visitLoudComment$1(_, node) {
  87940. return this.visitLoudComment$body$_EvaluateVisitor0(0, node);
  87941. },
  87942. visitLoudComment$body$_EvaluateVisitor0(_, node) {
  87943. var $async$goto = 0,
  87944. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
  87945. $async$returnValue, $async$self = this, t1, text;
  87946. var $async$visitLoudComment$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  87947. if ($async$errorCode === 1)
  87948. return A._asyncRethrow($async$result, $async$completer);
  87949. while (true)
  87950. switch ($async$goto) {
  87951. case 0:
  87952. // Function start
  87953. if ($async$self._async_evaluate0$_inFunction) {
  87954. $async$returnValue = null;
  87955. // goto return
  87956. $async$goto = 1;
  87957. break;
  87958. }
  87959. 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))
  87960. $async$self._async_evaluate0$__endOfImports = $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__endOfImports, "_endOfImports") + 1;
  87961. t1 = node.text;
  87962. $async$goto = 3;
  87963. return A._asyncAwait($async$self._async_evaluate0$_performInterpolation$1(t1), $async$visitLoudComment$1);
  87964. case 3:
  87965. // returning from await.
  87966. text = $async$result;
  87967. if (!B.JSString_methods.endsWith$1(text, "*/"))
  87968. text += " */";
  87969. $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__parent, "__parent").addChild$1(new A.ModifiableCssComment0(text, t1.span));
  87970. $async$returnValue = null;
  87971. // goto return
  87972. $async$goto = 1;
  87973. break;
  87974. case 1:
  87975. // return
  87976. return A._asyncReturn($async$returnValue, $async$completer);
  87977. }
  87978. });
  87979. return A._asyncStartSync($async$visitLoudComment$1, $async$completer);
  87980. },
  87981. visitMediaRule$1(_, node) {
  87982. return this.visitMediaRule$body$_EvaluateVisitor0(0, node);
  87983. },
  87984. visitMediaRule$body$_EvaluateVisitor0(_, node) {
  87985. var $async$goto = 0,
  87986. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
  87987. $async$returnValue, $async$self = this, queries, mergedQueries, t1, mergedSources, t2, t3;
  87988. var $async$visitMediaRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  87989. if ($async$errorCode === 1)
  87990. return A._asyncRethrow($async$result, $async$completer);
  87991. while (true)
  87992. switch ($async$goto) {
  87993. case 0:
  87994. // Function start
  87995. if ($async$self._async_evaluate0$_declarationName != null)
  87996. throw A.wrapException($async$self._async_evaluate0$_exception$2(string$.Media_, node.span));
  87997. $async$goto = 3;
  87998. return A._asyncAwait($async$self._async_evaluate0$_visitMediaQueries$1(node.query), $async$visitMediaRule$1);
  87999. case 3:
  88000. // returning from await.
  88001. queries = $async$result;
  88002. mergedQueries = A.NullableExtension_andThen0($async$self._async_evaluate0$_mediaQueries, new A._EvaluateVisitor_visitMediaRule_closure8($async$self, queries));
  88003. t1 = mergedQueries == null;
  88004. if (!t1 && J.get$isEmpty$asx(mergedQueries)) {
  88005. $async$returnValue = null;
  88006. // goto return
  88007. $async$goto = 1;
  88008. break;
  88009. }
  88010. if (t1)
  88011. mergedSources = B.Set_empty6;
  88012. else {
  88013. t2 = $async$self._async_evaluate0$_mediaQuerySources;
  88014. t2.toString;
  88015. t2 = A.LinkedHashSet_LinkedHashSet$of(t2, type$.CssMediaQuery_2);
  88016. t3 = $async$self._async_evaluate0$_mediaQueries;
  88017. t3.toString;
  88018. t2.addAll$1(0, t3);
  88019. t2.addAll$1(0, queries);
  88020. mergedSources = t2;
  88021. }
  88022. t1 = t1 ? queries : mergedQueries;
  88023. $async$goto = 4;
  88024. 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);
  88025. case 4:
  88026. // returning from await.
  88027. $async$returnValue = null;
  88028. // goto return
  88029. $async$goto = 1;
  88030. break;
  88031. case 1:
  88032. // return
  88033. return A._asyncReturn($async$returnValue, $async$completer);
  88034. }
  88035. });
  88036. return A._asyncStartSync($async$visitMediaRule$1, $async$completer);
  88037. },
  88038. _async_evaluate0$_visitMediaQueries$1(interpolation) {
  88039. return this._visitMediaQueries$body$_EvaluateVisitor0(interpolation);
  88040. },
  88041. _visitMediaQueries$body$_EvaluateVisitor0(interpolation) {
  88042. var $async$goto = 0,
  88043. $async$completer = A._makeAsyncAwaitCompleter(type$.List_CssMediaQuery_2),
  88044. $async$returnValue, $async$self = this, _0_0, resolved, map;
  88045. var $async$_async_evaluate0$_visitMediaQueries$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  88046. if ($async$errorCode === 1)
  88047. return A._asyncRethrow($async$result, $async$completer);
  88048. while (true)
  88049. switch ($async$goto) {
  88050. case 0:
  88051. // Function start
  88052. $async$goto = 3;
  88053. return A._asyncAwait($async$self._async_evaluate0$_performInterpolationWithMap$2$warnForColor(interpolation, true), $async$_async_evaluate0$_visitMediaQueries$1);
  88054. case 3:
  88055. // returning from await.
  88056. _0_0 = $async$result;
  88057. resolved = _0_0._0;
  88058. map = _0_0._1;
  88059. $async$returnValue = new A.MediaQueryParser0(A.SpanScanner$(resolved, null), map).parse$0(0);
  88060. // goto return
  88061. $async$goto = 1;
  88062. break;
  88063. case 1:
  88064. // return
  88065. return A._asyncReturn($async$returnValue, $async$completer);
  88066. }
  88067. });
  88068. return A._asyncStartSync($async$_async_evaluate0$_visitMediaQueries$1, $async$completer);
  88069. },
  88070. _async_evaluate0$_mergeMediaQueries$2(queries1, queries2) {
  88071. var t1, t2, t3, t4, _0_0, t5, result,
  88072. queries = A._setArrayType([], type$.JSArray_CssMediaQuery_2);
  88073. for (t1 = J.get$iterator$ax(queries1), t2 = J.getInterceptor$ax(queries2); t1.moveNext$0();) {
  88074. t3 = t1.get$current(t1);
  88075. for (t4 = t2.get$iterator(queries2); t4.moveNext$0();) {
  88076. _0_0 = t3.merge$1(t4.get$current(t4));
  88077. if (B._SingletonCssMediaQueryMergeResult_00 === _0_0)
  88078. continue;
  88079. if (B._SingletonCssMediaQueryMergeResult_10 === _0_0)
  88080. return null;
  88081. t5 = _0_0 instanceof A.MediaQuerySuccessfulMergeResult0;
  88082. result = t5 ? _0_0 : null;
  88083. if (t5)
  88084. queries.push(result.query);
  88085. }
  88086. }
  88087. return queries;
  88088. },
  88089. visitReturnRule$1(_, node) {
  88090. return this.visitReturnRule$body$_EvaluateVisitor0(0, node);
  88091. },
  88092. visitReturnRule$body$_EvaluateVisitor0(_, node) {
  88093. var $async$goto = 0,
  88094. $async$completer = A._makeAsyncAwaitCompleter(type$.Value_2),
  88095. $async$returnValue, $async$self = this, t1, t2;
  88096. var $async$visitReturnRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  88097. if ($async$errorCode === 1)
  88098. return A._asyncRethrow($async$result, $async$completer);
  88099. while (true)
  88100. switch ($async$goto) {
  88101. case 0:
  88102. // Function start
  88103. t1 = node.expression;
  88104. t2 = t1.accept$1($async$self);
  88105. $async$goto = 3;
  88106. return A._asyncAwait(type$.Future_Value_2._is(t2) ? t2 : A._Future$value(t2, type$.Value_2), $async$visitReturnRule$1);
  88107. case 3:
  88108. // returning from await.
  88109. $async$returnValue = $async$self._async_evaluate0$_withoutSlash$2($async$result, t1);
  88110. // goto return
  88111. $async$goto = 1;
  88112. break;
  88113. case 1:
  88114. // return
  88115. return A._asyncReturn($async$returnValue, $async$completer);
  88116. }
  88117. });
  88118. return A._asyncStartSync($async$visitReturnRule$1, $async$completer);
  88119. },
  88120. visitSilentComment$1(_, node) {
  88121. return this.visitSilentComment$body$_EvaluateVisitor0(0, node);
  88122. },
  88123. visitSilentComment$body$_EvaluateVisitor0(_, node) {
  88124. var $async$goto = 0,
  88125. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
  88126. $async$returnValue;
  88127. var $async$visitSilentComment$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  88128. if ($async$errorCode === 1)
  88129. return A._asyncRethrow($async$result, $async$completer);
  88130. while (true)
  88131. switch ($async$goto) {
  88132. case 0:
  88133. // Function start
  88134. $async$returnValue = null;
  88135. // goto return
  88136. $async$goto = 1;
  88137. break;
  88138. case 1:
  88139. // return
  88140. return A._asyncReturn($async$returnValue, $async$completer);
  88141. }
  88142. });
  88143. return A._asyncStartSync($async$visitSilentComment$1, $async$completer);
  88144. },
  88145. visitStyleRule$1(_, node) {
  88146. return this.visitStyleRule$body$_EvaluateVisitor0(0, node);
  88147. },
  88148. visitStyleRule$body$_EvaluateVisitor0(_, node) {
  88149. var $async$goto = 0,
  88150. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
  88151. $async$returnValue, $async$self = this, t1, _0_0, selectorText, selectorMap, parsedSelector, _1_0, t2, t3, _i, _2_0, first, t4, rule, oldAtRootExcludingStyleRule;
  88152. var $async$visitStyleRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  88153. if ($async$errorCode === 1)
  88154. return A._asyncRethrow($async$result, $async$completer);
  88155. while (true)
  88156. switch ($async$goto) {
  88157. case 0:
  88158. // Function start
  88159. if ($async$self._async_evaluate0$_declarationName != null)
  88160. throw A.wrapException($async$self._async_evaluate0$_exception$2(string$.Style_n, node.span));
  88161. else if ($async$self._async_evaluate0$_inKeyframes && $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__parent, "__parent") instanceof A.ModifiableCssKeyframeBlock0)
  88162. throw A.wrapException($async$self._async_evaluate0$_exception$2(string$.Style_k, node.span));
  88163. t1 = node.selector;
  88164. $async$goto = 3;
  88165. return A._asyncAwait($async$self._async_evaluate0$_performInterpolationWithMap$2$warnForColor(t1, true), $async$visitStyleRule$1);
  88166. case 3:
  88167. // returning from await.
  88168. _0_0 = $async$result;
  88169. selectorText = _0_0._0;
  88170. selectorMap = _0_0._1;
  88171. $async$goto = $async$self._async_evaluate0$_inKeyframes ? 4 : 5;
  88172. break;
  88173. case 4:
  88174. // then
  88175. $async$goto = 6;
  88176. 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);
  88177. case 6:
  88178. // returning from await.
  88179. $async$returnValue = null;
  88180. // goto return
  88181. $async$goto = 1;
  88182. break;
  88183. case 5:
  88184. // join
  88185. parsedSelector = A.SelectorList_SelectorList$parse0(selectorText, true, selectorMap, $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__stylesheet, "_stylesheet").plainCss);
  88186. _1_0 = $async$self._async_evaluate0$_atRootExcludingStyleRule ? null : $async$self._async_evaluate0$_styleRuleIgnoringAtRoot;
  88187. $label0$0: {
  88188. if (_1_0 == null) {
  88189. t1 = true;
  88190. break $label0$0;
  88191. }
  88192. if (_1_0.fromPlainCss) {
  88193. t1 = false;
  88194. break $label0$0;
  88195. }
  88196. t1 = !($async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__stylesheet, "_stylesheet").plainCss && parsedSelector.accept$1(B.C__ContainsParentSelectorVisitor0));
  88197. break $label0$0;
  88198. }
  88199. if (t1) {
  88200. if ($async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__stylesheet, "_stylesheet").plainCss)
  88201. for (t2 = parsedSelector.components, t3 = t2.length, _i = 0; _i < t3; ++_i) {
  88202. _2_0 = t2[_i].leadingCombinators;
  88203. if (_2_0.length >= 1) {
  88204. first = _2_0[0];
  88205. t4 = $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__stylesheet, "_stylesheet").plainCss;
  88206. } else {
  88207. first = null;
  88208. t4 = false;
  88209. }
  88210. if (t4)
  88211. throw A.wrapException($async$self._async_evaluate0$_exception$2(string$.Top_lel, first.span));
  88212. }
  88213. t2 = $async$self._async_evaluate0$_styleRuleIgnoringAtRoot;
  88214. t2 = t2 == null ? null : t2.originalSelector;
  88215. 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);
  88216. }
  88217. 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);
  88218. oldAtRootExcludingStyleRule = $async$self._async_evaluate0$_atRootExcludingStyleRule;
  88219. t2 = $async$self._async_evaluate0$_atRootExcludingStyleRule = false;
  88220. t1 = t1 ? new A._EvaluateVisitor_visitStyleRule_closure13() : null;
  88221. $async$goto = 7;
  88222. 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);
  88223. case 7:
  88224. // returning from await.
  88225. $async$self._async_evaluate0$_atRootExcludingStyleRule = oldAtRootExcludingStyleRule;
  88226. $async$self._async_evaluate0$_warnForBogusCombinators$1(rule);
  88227. if (($async$self._async_evaluate0$_atRootExcludingStyleRule ? null : $async$self._async_evaluate0$_styleRuleIgnoringAtRoot) == null) {
  88228. t1 = $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__parent, "__parent").children;
  88229. t1 = !t1.get$isEmpty(t1);
  88230. } else
  88231. t1 = t2;
  88232. if (t1) {
  88233. t1 = $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__parent, "__parent").children;
  88234. t1.get$last(t1).isGroupEnd = true;
  88235. }
  88236. $async$returnValue = null;
  88237. // goto return
  88238. $async$goto = 1;
  88239. break;
  88240. case 1:
  88241. // return
  88242. return A._asyncReturn($async$returnValue, $async$completer);
  88243. }
  88244. });
  88245. return A._asyncStartSync($async$visitStyleRule$1, $async$completer);
  88246. },
  88247. _async_evaluate0$_warnForBogusCombinators$1(rule) {
  88248. var t1, t2, t3, t4, t5, _i, complex, visitor, t6, t7, t8, t9, _this = this, _null = null;
  88249. if (!rule.accept$1(B._IsInvisibleVisitor_false_false0))
  88250. 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) {
  88251. complex = t1[_i];
  88252. if (!complex.accept$1(B._IsBogusVisitor_true0))
  88253. continue;
  88254. if (complex.accept$1(B.C__IsUselessVisitor0)) {
  88255. visitor = A._SerializeVisitor$0(_null, true, _null, _null, true, false, _null, true);
  88256. complex.accept$1(visitor);
  88257. _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);
  88258. } else if (complex.leadingCombinators.length !== 0) {
  88259. if (!_this._async_evaluate0$_assertInModule$2(_this._async_evaluate0$__stylesheet, "_stylesheet").plainCss) {
  88260. visitor = A._SerializeVisitor$0(_null, true, _null, _null, true, false, _null, true);
  88261. complex.accept$1(visitor);
  88262. _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);
  88263. }
  88264. } else {
  88265. visitor = A._SerializeVisitor$0(_null, true, _null, _null, true, false, _null, true);
  88266. complex.accept$1(visitor);
  88267. t6 = B.JSString_methods.trim$0(visitor._serialize0$_buffer.toString$0(0));
  88268. t7 = complex.accept$1(B._IsBogusVisitor_false0) ? string$.x20It_wi : "";
  88269. t8 = A.SpanExtensions_trimRight0(complex.span);
  88270. if (t5.get$length(0) === 0)
  88271. A.throwExpression(A.IterableElementError_noElement());
  88272. t9 = J.get$span$z(t5.$index(0, 0));
  88273. _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);
  88274. }
  88275. }
  88276. },
  88277. visitSupportsRule$1(_, node) {
  88278. return this.visitSupportsRule$body$_EvaluateVisitor0(0, node);
  88279. },
  88280. visitSupportsRule$body$_EvaluateVisitor0(_, node) {
  88281. var $async$goto = 0,
  88282. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
  88283. $async$returnValue, $async$self = this, t1, $async$temp1, $async$temp2;
  88284. var $async$visitSupportsRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  88285. if ($async$errorCode === 1)
  88286. return A._asyncRethrow($async$result, $async$completer);
  88287. while (true)
  88288. switch ($async$goto) {
  88289. case 0:
  88290. // Function start
  88291. if ($async$self._async_evaluate0$_declarationName != null)
  88292. throw A.wrapException($async$self._async_evaluate0$_exception$2(string$.Suppor, node.span));
  88293. t1 = node.condition;
  88294. $async$temp1 = A;
  88295. $async$temp2 = A;
  88296. $async$goto = 4;
  88297. return A._asyncAwait($async$self._async_evaluate0$_visitSupportsCondition$1(t1), $async$visitSupportsRule$1);
  88298. case 4:
  88299. // returning from await.
  88300. $async$goto = 3;
  88301. 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);
  88302. case 3:
  88303. // returning from await.
  88304. $async$returnValue = null;
  88305. // goto return
  88306. $async$goto = 1;
  88307. break;
  88308. case 1:
  88309. // return
  88310. return A._asyncReturn($async$returnValue, $async$completer);
  88311. }
  88312. });
  88313. return A._asyncStartSync($async$visitSupportsRule$1, $async$completer);
  88314. },
  88315. _async_evaluate0$_visitSupportsCondition$1(condition) {
  88316. return this._visitSupportsCondition$body$_EvaluateVisitor0(condition);
  88317. },
  88318. _visitSupportsCondition$body$_EvaluateVisitor0(condition) {
  88319. var $async$goto = 0,
  88320. $async$completer = A._makeAsyncAwaitCompleter(type$.String),
  88321. $async$returnValue, $async$self = this, t1, $async$temp1, $async$temp2;
  88322. var $async$_async_evaluate0$_visitSupportsCondition$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  88323. if ($async$errorCode === 1)
  88324. return A._asyncRethrow($async$result, $async$completer);
  88325. while (true)
  88326. switch ($async$goto) {
  88327. case 0:
  88328. // Function start
  88329. $async$goto = condition instanceof A.SupportsOperation0 ? 4 : 5;
  88330. break;
  88331. case 4:
  88332. // then
  88333. t1 = condition.operator;
  88334. $async$temp1 = A;
  88335. $async$goto = 6;
  88336. return A._asyncAwait($async$self._async_evaluate0$_parenthesize$2(condition.left, t1), $async$_async_evaluate0$_visitSupportsCondition$1);
  88337. case 6:
  88338. // returning from await.
  88339. $async$temp1 = $async$temp1.S($async$result) + " " + t1 + " ";
  88340. $async$temp2 = A;
  88341. $async$goto = 7;
  88342. return A._asyncAwait($async$self._async_evaluate0$_parenthesize$2(condition.right, t1), $async$_async_evaluate0$_visitSupportsCondition$1);
  88343. case 7:
  88344. // returning from await.
  88345. t1 = $async$temp1 + $async$temp2.S($async$result);
  88346. // goto break $label0$0
  88347. $async$goto = 3;
  88348. break;
  88349. case 5:
  88350. // join
  88351. $async$goto = condition instanceof A.SupportsNegation0 ? 8 : 9;
  88352. break;
  88353. case 8:
  88354. // then
  88355. $async$temp1 = A;
  88356. $async$goto = 10;
  88357. return A._asyncAwait($async$self._async_evaluate0$_parenthesize$1(condition.condition), $async$_async_evaluate0$_visitSupportsCondition$1);
  88358. case 10:
  88359. // returning from await.
  88360. t1 = "not " + $async$temp1.S($async$result);
  88361. // goto break $label0$0
  88362. $async$goto = 3;
  88363. break;
  88364. case 9:
  88365. // join
  88366. $async$goto = condition instanceof A.SupportsInterpolation0 ? 11 : 12;
  88367. break;
  88368. case 11:
  88369. // then
  88370. $async$goto = 13;
  88371. return A._asyncAwait($async$self._async_evaluate0$_evaluateToCss$2$quote(condition.expression, false), $async$_async_evaluate0$_visitSupportsCondition$1);
  88372. case 13:
  88373. // returning from await.
  88374. t1 = $async$result;
  88375. // goto break $label0$0
  88376. $async$goto = 3;
  88377. break;
  88378. case 12:
  88379. // join
  88380. t1 = {};
  88381. t1.declaration = null;
  88382. $async$goto = condition instanceof A.SupportsDeclaration0 ? 14 : 15;
  88383. break;
  88384. case 14:
  88385. // then
  88386. t1.declaration = condition;
  88387. $async$goto = 16;
  88388. 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);
  88389. case 16:
  88390. // returning from await.
  88391. t1 = $async$result;
  88392. // goto break $label0$0
  88393. $async$goto = 3;
  88394. break;
  88395. case 15:
  88396. // join
  88397. $async$goto = condition instanceof A.SupportsFunction0 ? 17 : 18;
  88398. break;
  88399. case 17:
  88400. // then
  88401. $async$temp1 = A;
  88402. $async$goto = 19;
  88403. return A._asyncAwait($async$self._async_evaluate0$_performInterpolation$1(condition.name), $async$_async_evaluate0$_visitSupportsCondition$1);
  88404. case 19:
  88405. // returning from await.
  88406. $async$temp1 = $async$temp1.S($async$result) + "(";
  88407. $async$temp2 = A;
  88408. $async$goto = 20;
  88409. return A._asyncAwait($async$self._async_evaluate0$_performInterpolation$1(condition.$arguments), $async$_async_evaluate0$_visitSupportsCondition$1);
  88410. case 20:
  88411. // returning from await.
  88412. t1 = $async$temp1 + $async$temp2.S($async$result) + ")";
  88413. // goto break $label0$0
  88414. $async$goto = 3;
  88415. break;
  88416. case 18:
  88417. // join
  88418. $async$goto = condition instanceof A.SupportsAnything0 ? 21 : 22;
  88419. break;
  88420. case 21:
  88421. // then
  88422. $async$temp1 = A;
  88423. $async$goto = 23;
  88424. return A._asyncAwait($async$self._async_evaluate0$_performInterpolation$1(condition.contents), $async$_async_evaluate0$_visitSupportsCondition$1);
  88425. case 23:
  88426. // returning from await.
  88427. t1 = "(" + $async$temp1.S($async$result) + ")";
  88428. // goto break $label0$0
  88429. $async$goto = 3;
  88430. break;
  88431. case 22:
  88432. // join
  88433. t1 = A.throwExpression(A.ArgumentError$("Unknown supports condition type " + A.getRuntimeTypeOfDartObject(condition).toString$0(0) + ".", null));
  88434. case 3:
  88435. // break $label0$0
  88436. $async$returnValue = t1;
  88437. // goto return
  88438. $async$goto = 1;
  88439. break;
  88440. case 1:
  88441. // return
  88442. return A._asyncReturn($async$returnValue, $async$completer);
  88443. }
  88444. });
  88445. return A._asyncStartSync($async$_async_evaluate0$_visitSupportsCondition$1, $async$completer);
  88446. },
  88447. _async_evaluate0$_withSupportsDeclaration$1$1(callback, $T) {
  88448. return this._withSupportsDeclaration$body$_EvaluateVisitor0(callback, $T, $T);
  88449. },
  88450. _withSupportsDeclaration$body$_EvaluateVisitor0(callback, $T, $async$type) {
  88451. var $async$goto = 0,
  88452. $async$completer = A._makeAsyncAwaitCompleter($async$type),
  88453. $async$returnValue, $async$handler = 2, $async$errorStack = [], $async$next = [], $async$self = this, t1, oldInSupportsDeclaration;
  88454. var $async$_async_evaluate0$_withSupportsDeclaration$1$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  88455. if ($async$errorCode === 1) {
  88456. $async$errorStack.push($async$result);
  88457. $async$goto = $async$handler;
  88458. }
  88459. while (true)
  88460. switch ($async$goto) {
  88461. case 0:
  88462. // Function start
  88463. oldInSupportsDeclaration = $async$self._async_evaluate0$_inSupportsDeclaration;
  88464. $async$self._async_evaluate0$_inSupportsDeclaration = true;
  88465. $async$handler = 3;
  88466. t1 = callback.call$0();
  88467. $async$goto = 6;
  88468. return A._asyncAwait($T._eval$1("Future<0>")._is(t1) ? t1 : A._Future$value(t1, $T), $async$_async_evaluate0$_withSupportsDeclaration$1$1);
  88469. case 6:
  88470. // returning from await.
  88471. t1 = $async$result;
  88472. $async$returnValue = t1;
  88473. $async$next = [1];
  88474. // goto finally
  88475. $async$goto = 4;
  88476. break;
  88477. $async$next.push(5);
  88478. // goto finally
  88479. $async$goto = 4;
  88480. break;
  88481. case 3:
  88482. // uncaught
  88483. $async$next = [2];
  88484. case 4:
  88485. // finally
  88486. $async$handler = 2;
  88487. $async$self._async_evaluate0$_inSupportsDeclaration = oldInSupportsDeclaration;
  88488. // goto the next finally handler
  88489. $async$goto = $async$next.pop();
  88490. break;
  88491. case 5:
  88492. // after finally
  88493. case 1:
  88494. // return
  88495. return A._asyncReturn($async$returnValue, $async$completer);
  88496. case 2:
  88497. // rethrow
  88498. return A._asyncRethrow($async$errorStack.at(-1), $async$completer);
  88499. }
  88500. });
  88501. return A._asyncStartSync($async$_async_evaluate0$_withSupportsDeclaration$1$1, $async$completer);
  88502. },
  88503. _async_evaluate0$_parenthesize$2(condition, operator) {
  88504. return this._parenthesize$body$_EvaluateVisitor0(condition, operator);
  88505. },
  88506. _async_evaluate0$_parenthesize$1(condition) {
  88507. return this._async_evaluate0$_parenthesize$2(condition, null);
  88508. },
  88509. _parenthesize$body$_EvaluateVisitor0(condition, operator) {
  88510. var $async$goto = 0,
  88511. $async$completer = A._makeAsyncAwaitCompleter(type$.String),
  88512. $async$returnValue, $async$self = this, t1, $async$temp1;
  88513. var $async$_async_evaluate0$_parenthesize$2 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  88514. if ($async$errorCode === 1)
  88515. return A._asyncRethrow($async$result, $async$completer);
  88516. while (true)
  88517. switch ($async$goto) {
  88518. case 0:
  88519. // Function start
  88520. if (!(condition instanceof A.SupportsNegation0))
  88521. if (condition instanceof A.SupportsOperation0)
  88522. t1 = operator == null || operator !== condition.operator;
  88523. else
  88524. t1 = false;
  88525. else
  88526. t1 = true;
  88527. $async$goto = t1 ? 3 : 4;
  88528. break;
  88529. case 3:
  88530. // then
  88531. $async$temp1 = A;
  88532. $async$goto = 5;
  88533. return A._asyncAwait($async$self._async_evaluate0$_visitSupportsCondition$1(condition), $async$_async_evaluate0$_parenthesize$2);
  88534. case 5:
  88535. // returning from await.
  88536. $async$returnValue = "(" + $async$temp1.S($async$result) + ")";
  88537. // goto return
  88538. $async$goto = 1;
  88539. break;
  88540. case 4:
  88541. // join
  88542. $async$goto = 6;
  88543. return A._asyncAwait($async$self._async_evaluate0$_visitSupportsCondition$1(condition), $async$_async_evaluate0$_parenthesize$2);
  88544. case 6:
  88545. // returning from await.
  88546. $async$returnValue = $async$result;
  88547. // goto return
  88548. $async$goto = 1;
  88549. break;
  88550. case 1:
  88551. // return
  88552. return A._asyncReturn($async$returnValue, $async$completer);
  88553. }
  88554. });
  88555. return A._asyncStartSync($async$_async_evaluate0$_parenthesize$2, $async$completer);
  88556. },
  88557. visitVariableDeclaration$1(_, node) {
  88558. return this.visitVariableDeclaration$body$_EvaluateVisitor0(0, node);
  88559. },
  88560. visitVariableDeclaration$body$_EvaluateVisitor0(_, node) {
  88561. var $async$goto = 0,
  88562. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
  88563. $async$returnValue, $async$self = this, t1, t2, _0_0, value, $async$temp1, $async$temp2, $async$temp3;
  88564. var $async$visitVariableDeclaration$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  88565. if ($async$errorCode === 1)
  88566. return A._asyncRethrow($async$result, $async$completer);
  88567. while (true)
  88568. switch ($async$goto) {
  88569. case 0:
  88570. // Function start
  88571. if (node.isGuarded) {
  88572. if (node.namespace == null && $async$self._async_evaluate0$_environment._async_environment0$_variables.length === 1) {
  88573. t1 = node.name;
  88574. $async$self._async_evaluate0$_environment._async_environment0$_configurableVariables.add$1(0, t1);
  88575. t2 = $async$self._async_evaluate0$_configuration._configuration0$_values;
  88576. _0_0 = t2.get$isEmpty(t2) ? null : t2.remove$1(0, t1);
  88577. t1 = {};
  88578. t1.override = null;
  88579. if (_0_0 != null) {
  88580. t1.override = _0_0;
  88581. t2 = !_0_0.value.$eq(0, B.C__SassNull0);
  88582. } else
  88583. t2 = false;
  88584. if (t2) {
  88585. $async$self._async_evaluate0$_addExceptionSpan$2(node, new A._EvaluateVisitor_visitVariableDeclaration_closure8(t1, $async$self, node));
  88586. $async$returnValue = null;
  88587. // goto return
  88588. $async$goto = 1;
  88589. break;
  88590. }
  88591. }
  88592. value = $async$self._async_evaluate0$_addExceptionSpan$2(node, new A._EvaluateVisitor_visitVariableDeclaration_closure9($async$self, node));
  88593. if (value != null && !value.$eq(0, B.C__SassNull0)) {
  88594. $async$returnValue = null;
  88595. // goto return
  88596. $async$goto = 1;
  88597. break;
  88598. }
  88599. }
  88600. if (node.isGlobal && !$async$self._async_evaluate0$_environment.globalVariableExists$1(node.name)) {
  88601. 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.";
  88602. $async$self._async_evaluate0$_warn$3(t1, node.span, B.Deprecation_mSy);
  88603. }
  88604. t1 = node.expression;
  88605. t2 = t1.accept$1($async$self);
  88606. $async$temp1 = node;
  88607. $async$temp2 = A;
  88608. $async$temp3 = node;
  88609. $async$goto = 3;
  88610. return A._asyncAwait(type$.Future_Value_2._is(t2) ? t2 : A._Future$value(t2, type$.Value_2), $async$visitVariableDeclaration$1);
  88611. case 3:
  88612. // returning from await.
  88613. $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)));
  88614. $async$returnValue = null;
  88615. // goto return
  88616. $async$goto = 1;
  88617. break;
  88618. case 1:
  88619. // return
  88620. return A._asyncReturn($async$returnValue, $async$completer);
  88621. }
  88622. });
  88623. return A._asyncStartSync($async$visitVariableDeclaration$1, $async$completer);
  88624. },
  88625. visitUseRule$1(_, node) {
  88626. return this.visitUseRule$body$_EvaluateVisitor0(0, node);
  88627. },
  88628. visitUseRule$body$_EvaluateVisitor0(_, node) {
  88629. var $async$goto = 0,
  88630. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
  88631. $async$returnValue, $async$self = this, values, t3, t4, _i, variable, t5, variableNodeWithSpan, t6, configuration, t1, t2, $async$temp1, $async$temp2, $async$temp3;
  88632. var $async$visitUseRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  88633. if ($async$errorCode === 1)
  88634. return A._asyncRethrow($async$result, $async$completer);
  88635. while (true)
  88636. switch ($async$goto) {
  88637. case 0:
  88638. // Function start
  88639. t1 = node.configuration;
  88640. t2 = t1.length;
  88641. $async$goto = t2 !== 0 ? 3 : 5;
  88642. break;
  88643. case 3:
  88644. // then
  88645. values = A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.ConfiguredValue_2);
  88646. t3 = type$._Future_Value_2, t4 = type$.Future_Value_2, _i = 0;
  88647. case 6:
  88648. // for condition
  88649. if (!(_i < t2)) {
  88650. // goto after for
  88651. $async$goto = 8;
  88652. break;
  88653. }
  88654. variable = t1[_i];
  88655. t5 = variable.expression;
  88656. variableNodeWithSpan = $async$self._async_evaluate0$_expressionNode$1(t5);
  88657. t5 = t5.accept$1($async$self);
  88658. if (!t4._is(t5)) {
  88659. t6 = new A._Future($.Zone__current, t3);
  88660. t6._state = 8;
  88661. t6._resultOrListeners = t5;
  88662. t5 = t6;
  88663. }
  88664. $async$temp1 = values;
  88665. $async$temp2 = variable.name;
  88666. $async$temp3 = A;
  88667. $async$goto = 9;
  88668. return A._asyncAwait(t5, $async$visitUseRule$1);
  88669. case 9:
  88670. // returning from await.
  88671. $async$temp1.$indexSet(0, $async$temp2, new $async$temp3.ConfiguredValue0($async$self._async_evaluate0$_withoutSlash$2($async$result, variableNodeWithSpan), variable.span, variableNodeWithSpan));
  88672. case 7:
  88673. // for update
  88674. ++_i;
  88675. // goto for condition
  88676. $async$goto = 6;
  88677. break;
  88678. case 8:
  88679. // after for
  88680. configuration = new A.ExplicitConfiguration0(node, values, null);
  88681. // goto join
  88682. $async$goto = 4;
  88683. break;
  88684. case 5:
  88685. // else
  88686. configuration = B.Configuration_Map_empty_null0;
  88687. case 4:
  88688. // join
  88689. $async$goto = 10;
  88690. 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);
  88691. case 10:
  88692. // returning from await.
  88693. $async$self._async_evaluate0$_assertConfigurationIsEmpty$1(configuration);
  88694. $async$returnValue = null;
  88695. // goto return
  88696. $async$goto = 1;
  88697. break;
  88698. case 1:
  88699. // return
  88700. return A._asyncReturn($async$returnValue, $async$completer);
  88701. }
  88702. });
  88703. return A._asyncStartSync($async$visitUseRule$1, $async$completer);
  88704. },
  88705. visitWarnRule$1(_, node) {
  88706. return this.visitWarnRule$body$_EvaluateVisitor0(0, node);
  88707. },
  88708. visitWarnRule$body$_EvaluateVisitor0(_, node) {
  88709. var $async$goto = 0,
  88710. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
  88711. $async$returnValue, $async$self = this, value, t1, t2;
  88712. var $async$visitWarnRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  88713. if ($async$errorCode === 1)
  88714. return A._asyncRethrow($async$result, $async$completer);
  88715. while (true)
  88716. switch ($async$goto) {
  88717. case 0:
  88718. // Function start
  88719. $async$goto = 3;
  88720. 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);
  88721. case 3:
  88722. // returning from await.
  88723. value = $async$result;
  88724. t1 = value instanceof A.SassString0 ? value._string0$_text : $async$self._async_evaluate0$_serialize$2(value, node.expression);
  88725. t2 = $async$self._async_evaluate0$_stackTrace$1(node.span);
  88726. $async$self._async_evaluate0$_logger.internalWarn$4$deprecation$span$trace(t1, null, null, t2);
  88727. $async$returnValue = null;
  88728. // goto return
  88729. $async$goto = 1;
  88730. break;
  88731. case 1:
  88732. // return
  88733. return A._asyncReturn($async$returnValue, $async$completer);
  88734. }
  88735. });
  88736. return A._asyncStartSync($async$visitWarnRule$1, $async$completer);
  88737. },
  88738. visitWhileRule$1(_, node) {
  88739. return this._async_evaluate0$_environment.scope$1$3$semiGlobal$when(new A._EvaluateVisitor_visitWhileRule_closure2(this, node), true, node.hasDeclarations, type$.nullable_Value_2);
  88740. },
  88741. visitBinaryOperationExpression$1(_, node) {
  88742. var t1, _this = this;
  88743. if (_this._async_evaluate0$_assertInModule$2(_this._async_evaluate0$__stylesheet, "_stylesheet").plainCss) {
  88744. t1 = node.operator;
  88745. t1 = t1 !== B.BinaryOperator_Kyq0 && t1 !== B.BinaryOperator_Mh50;
  88746. } else
  88747. t1 = false;
  88748. if (t1)
  88749. throw A.wrapException(_this._async_evaluate0$_exception$2("Operators aren't allowed in plain CSS.", node.get$operatorSpan()));
  88750. return _this._async_evaluate0$_addExceptionSpanAsync$1$2(node, new A._EvaluateVisitor_visitBinaryOperationExpression_closure2(_this, node), type$.Value_2);
  88751. },
  88752. _async_evaluate0$_slash$3(left, right, node) {
  88753. var t2, _1_1,
  88754. result = left.dividedBy$1(right),
  88755. _1_2_isSet = left instanceof A.SassNumber0,
  88756. _1_2 = null, right0 = null,
  88757. t1 = false;
  88758. if (_1_2_isSet) {
  88759. t2 = type$.SassNumber_2;
  88760. t2._as(left);
  88761. if (right instanceof A.SassNumber0) {
  88762. t2._as(right);
  88763. t1 = node.allowsSlash && this._async_evaluate0$_operandAllowsSlash$1(node.left) && this._async_evaluate0$_operandAllowsSlash$1(node.right);
  88764. right0 = right;
  88765. _1_2 = right0;
  88766. } else
  88767. _1_2 = right;
  88768. _1_1 = left;
  88769. } else {
  88770. _1_1 = left;
  88771. left = null;
  88772. }
  88773. if (t1)
  88774. return type$.SassNumber_2._as(result).withSlash$2(left, right0);
  88775. if (_1_1 instanceof A.SassNumber0)
  88776. t1 = (_1_2_isSet ? _1_2 : right) instanceof A.SassNumber0;
  88777. else
  88778. t1 = false;
  88779. if (t1) {
  88780. 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);
  88781. return result;
  88782. }
  88783. return result;
  88784. },
  88785. _async_evaluate0$_operandAllowsSlash$1(node) {
  88786. var t1;
  88787. if (node instanceof A.FunctionExpression0)
  88788. if (node.namespace == null) {
  88789. t1 = node.name;
  88790. t1 = B.Set_Pr3yj.contains$1(0, t1.toLowerCase()) && this._async_evaluate0$_environment.getFunction$1(t1) == null;
  88791. } else
  88792. t1 = false;
  88793. else
  88794. t1 = true;
  88795. return t1;
  88796. },
  88797. visitValueExpression$1(_, node) {
  88798. return this.visitValueExpression$body$_EvaluateVisitor0(0, node);
  88799. },
  88800. visitValueExpression$body$_EvaluateVisitor0(_, node) {
  88801. var $async$goto = 0,
  88802. $async$completer = A._makeAsyncAwaitCompleter(type$.Value_2),
  88803. $async$returnValue;
  88804. var $async$visitValueExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  88805. if ($async$errorCode === 1)
  88806. return A._asyncRethrow($async$result, $async$completer);
  88807. while (true)
  88808. switch ($async$goto) {
  88809. case 0:
  88810. // Function start
  88811. $async$returnValue = node.value;
  88812. // goto return
  88813. $async$goto = 1;
  88814. break;
  88815. case 1:
  88816. // return
  88817. return A._asyncReturn($async$returnValue, $async$completer);
  88818. }
  88819. });
  88820. return A._asyncStartSync($async$visitValueExpression$1, $async$completer);
  88821. },
  88822. visitVariableExpression$1(_, node) {
  88823. return this.visitVariableExpression$body$_EvaluateVisitor0(0, node);
  88824. },
  88825. visitVariableExpression$body$_EvaluateVisitor0(_, node) {
  88826. var $async$goto = 0,
  88827. $async$completer = A._makeAsyncAwaitCompleter(type$.Value_2),
  88828. $async$returnValue, $async$self = this, result;
  88829. var $async$visitVariableExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  88830. if ($async$errorCode === 1)
  88831. return A._asyncRethrow($async$result, $async$completer);
  88832. while (true)
  88833. switch ($async$goto) {
  88834. case 0:
  88835. // Function start
  88836. result = $async$self._async_evaluate0$_addExceptionSpan$2(node, new A._EvaluateVisitor_visitVariableExpression_closure2($async$self, node));
  88837. if (result != null) {
  88838. $async$returnValue = result;
  88839. // goto return
  88840. $async$goto = 1;
  88841. break;
  88842. }
  88843. throw A.wrapException($async$self._async_evaluate0$_exception$2("Undefined variable.", node.span));
  88844. case 1:
  88845. // return
  88846. return A._asyncReturn($async$returnValue, $async$completer);
  88847. }
  88848. });
  88849. return A._asyncStartSync($async$visitVariableExpression$1, $async$completer);
  88850. },
  88851. visitUnaryOperationExpression$1(_, node) {
  88852. return this.visitUnaryOperationExpression$body$_EvaluateVisitor0(0, node);
  88853. },
  88854. visitUnaryOperationExpression$body$_EvaluateVisitor0(_, node) {
  88855. var $async$goto = 0,
  88856. $async$completer = A._makeAsyncAwaitCompleter(type$.Value_2),
  88857. $async$returnValue, $async$self = this, $async$temp1, $async$temp2, $async$temp3;
  88858. var $async$visitUnaryOperationExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  88859. if ($async$errorCode === 1)
  88860. return A._asyncRethrow($async$result, $async$completer);
  88861. while (true)
  88862. switch ($async$goto) {
  88863. case 0:
  88864. // Function start
  88865. $async$temp1 = node;
  88866. $async$temp2 = A;
  88867. $async$temp3 = node;
  88868. $async$goto = 3;
  88869. return A._asyncAwait(node.operand.accept$1($async$self), $async$visitUnaryOperationExpression$1);
  88870. case 3:
  88871. // returning from await.
  88872. $async$returnValue = $async$self._async_evaluate0$_addExceptionSpan$2($async$temp1, new $async$temp2._EvaluateVisitor_visitUnaryOperationExpression_closure2($async$temp3, $async$result));
  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$visitUnaryOperationExpression$1, $async$completer);
  88882. },
  88883. visitBooleanExpression$1(_, node) {
  88884. return this.visitBooleanExpression$body$_EvaluateVisitor0(0, node);
  88885. },
  88886. visitBooleanExpression$body$_EvaluateVisitor0(_, node) {
  88887. var $async$goto = 0,
  88888. $async$completer = A._makeAsyncAwaitCompleter(type$.SassBoolean_2),
  88889. $async$returnValue;
  88890. var $async$visitBooleanExpression$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. $async$returnValue = node.value ? B.SassBoolean_true0 : B.SassBoolean_false0;
  88898. // goto return
  88899. $async$goto = 1;
  88900. break;
  88901. case 1:
  88902. // return
  88903. return A._asyncReturn($async$returnValue, $async$completer);
  88904. }
  88905. });
  88906. return A._asyncStartSync($async$visitBooleanExpression$1, $async$completer);
  88907. },
  88908. visitIfExpression$1(_, node) {
  88909. return this.visitIfExpression$body$_EvaluateVisitor0(0, node);
  88910. },
  88911. visitIfExpression$body$_EvaluateVisitor0(_, node) {
  88912. var $async$goto = 0,
  88913. $async$completer = A._makeAsyncAwaitCompleter(type$.Value_2),
  88914. $async$returnValue, $async$self = this, condition, t1, ifTrue, ifFalse, result, _0_0, positional, named;
  88915. var $async$visitIfExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  88916. if ($async$errorCode === 1)
  88917. return A._asyncRethrow($async$result, $async$completer);
  88918. while (true)
  88919. switch ($async$goto) {
  88920. case 0:
  88921. // Function start
  88922. $async$goto = 3;
  88923. return A._asyncAwait($async$self._async_evaluate0$_evaluateMacroArguments$1(node), $async$visitIfExpression$1);
  88924. case 3:
  88925. // returning from await.
  88926. _0_0 = $async$result;
  88927. positional = _0_0._0;
  88928. named = _0_0._1;
  88929. $async$self._async_evaluate0$_verifyArguments$4(J.get$length$asx(positional), named, $.$get$IfExpression_declaration0(), node);
  88930. condition = A.ListExtensions_elementAtOrNull(positional, 0);
  88931. if (condition == null) {
  88932. t1 = named.$index(0, "condition");
  88933. t1.toString;
  88934. condition = t1;
  88935. }
  88936. ifTrue = A.ListExtensions_elementAtOrNull(positional, 1);
  88937. if (ifTrue == null) {
  88938. t1 = named.$index(0, "if-true");
  88939. t1.toString;
  88940. ifTrue = t1;
  88941. }
  88942. ifFalse = A.ListExtensions_elementAtOrNull(positional, 2);
  88943. if (ifFalse == null) {
  88944. t1 = named.$index(0, "if-false");
  88945. t1.toString;
  88946. ifFalse = t1;
  88947. }
  88948. $async$goto = 4;
  88949. return A._asyncAwait(condition.accept$1($async$self), $async$visitIfExpression$1);
  88950. case 4:
  88951. // returning from await.
  88952. result = $async$result.get$isTruthy() ? ifTrue : ifFalse;
  88953. t1 = result.accept$1($async$self);
  88954. $async$goto = 5;
  88955. return A._asyncAwait(type$.Future_Value_2._is(t1) ? t1 : A._Future$value(t1, type$.Value_2), $async$visitIfExpression$1);
  88956. case 5:
  88957. // returning from await.
  88958. $async$returnValue = $async$self._async_evaluate0$_withoutSlash$2($async$result, $async$self._async_evaluate0$_expressionNode$1(result));
  88959. // goto return
  88960. $async$goto = 1;
  88961. break;
  88962. case 1:
  88963. // return
  88964. return A._asyncReturn($async$returnValue, $async$completer);
  88965. }
  88966. });
  88967. return A._asyncStartSync($async$visitIfExpression$1, $async$completer);
  88968. },
  88969. visitNullExpression$1(_, node) {
  88970. return this.visitNullExpression$body$_EvaluateVisitor0(0, node);
  88971. },
  88972. visitNullExpression$body$_EvaluateVisitor0(_, node) {
  88973. var $async$goto = 0,
  88974. $async$completer = A._makeAsyncAwaitCompleter(type$.Value_2),
  88975. $async$returnValue;
  88976. var $async$visitNullExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  88977. if ($async$errorCode === 1)
  88978. return A._asyncRethrow($async$result, $async$completer);
  88979. while (true)
  88980. switch ($async$goto) {
  88981. case 0:
  88982. // Function start
  88983. $async$returnValue = B.C__SassNull0;
  88984. // goto return
  88985. $async$goto = 1;
  88986. break;
  88987. case 1:
  88988. // return
  88989. return A._asyncReturn($async$returnValue, $async$completer);
  88990. }
  88991. });
  88992. return A._asyncStartSync($async$visitNullExpression$1, $async$completer);
  88993. },
  88994. visitNumberExpression$1(_, node) {
  88995. return this.visitNumberExpression$body$_EvaluateVisitor0(0, node);
  88996. },
  88997. visitNumberExpression$body$_EvaluateVisitor0(_, node) {
  88998. var $async$goto = 0,
  88999. $async$completer = A._makeAsyncAwaitCompleter(type$.SassNumber_2),
  89000. $async$returnValue;
  89001. var $async$visitNumberExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  89002. if ($async$errorCode === 1)
  89003. return A._asyncRethrow($async$result, $async$completer);
  89004. while (true)
  89005. switch ($async$goto) {
  89006. case 0:
  89007. // Function start
  89008. $async$returnValue = A.SassNumber_SassNumber0(node.value, node.unit);
  89009. // goto return
  89010. $async$goto = 1;
  89011. break;
  89012. case 1:
  89013. // return
  89014. return A._asyncReturn($async$returnValue, $async$completer);
  89015. }
  89016. });
  89017. return A._asyncStartSync($async$visitNumberExpression$1, $async$completer);
  89018. },
  89019. visitParenthesizedExpression$1(_, node) {
  89020. var _this = this;
  89021. 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);
  89022. },
  89023. visitColorExpression$1(_, node) {
  89024. return this.visitColorExpression$body$_EvaluateVisitor0(0, node);
  89025. },
  89026. visitColorExpression$body$_EvaluateVisitor0(_, node) {
  89027. var $async$goto = 0,
  89028. $async$completer = A._makeAsyncAwaitCompleter(type$.SassColor_2),
  89029. $async$returnValue;
  89030. var $async$visitColorExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  89031. if ($async$errorCode === 1)
  89032. return A._asyncRethrow($async$result, $async$completer);
  89033. while (true)
  89034. switch ($async$goto) {
  89035. case 0:
  89036. // Function start
  89037. $async$returnValue = node.value;
  89038. // goto return
  89039. $async$goto = 1;
  89040. break;
  89041. case 1:
  89042. // return
  89043. return A._asyncReturn($async$returnValue, $async$completer);
  89044. }
  89045. });
  89046. return A._asyncStartSync($async$visitColorExpression$1, $async$completer);
  89047. },
  89048. visitListExpression$1(_, node) {
  89049. return this.visitListExpression$body$_EvaluateVisitor0(0, node);
  89050. },
  89051. visitListExpression$body$_EvaluateVisitor0(_, node) {
  89052. var $async$goto = 0,
  89053. $async$completer = A._makeAsyncAwaitCompleter(type$.SassList_2),
  89054. $async$returnValue, $async$self = this, $async$temp1;
  89055. var $async$visitListExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  89056. if ($async$errorCode === 1)
  89057. return A._asyncRethrow($async$result, $async$completer);
  89058. while (true)
  89059. switch ($async$goto) {
  89060. case 0:
  89061. // Function start
  89062. $async$temp1 = A;
  89063. $async$goto = 3;
  89064. return A._asyncAwait(A.mapAsync0(node.contents, new A._EvaluateVisitor_visitListExpression_closure2($async$self), type$.Expression_2, type$.Value_2), $async$visitListExpression$1);
  89065. case 3:
  89066. // returning from await.
  89067. $async$returnValue = $async$temp1.SassList$0($async$result, node.separator, node.hasBrackets);
  89068. // goto return
  89069. $async$goto = 1;
  89070. break;
  89071. case 1:
  89072. // return
  89073. return A._asyncReturn($async$returnValue, $async$completer);
  89074. }
  89075. });
  89076. return A._asyncStartSync($async$visitListExpression$1, $async$completer);
  89077. },
  89078. visitMapExpression$1(_, node) {
  89079. return this.visitMapExpression$body$_EvaluateVisitor0(0, node);
  89080. },
  89081. visitMapExpression$body$_EvaluateVisitor0(_, node) {
  89082. var $async$goto = 0,
  89083. $async$completer = A._makeAsyncAwaitCompleter(type$.SassMap_2),
  89084. $async$returnValue, $async$self = this, t2, t3, _i, t4, key, keyValue, valueValue, oldValueSpan, t1, map, keyNodes;
  89085. var $async$visitMapExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  89086. if ($async$errorCode === 1)
  89087. return A._asyncRethrow($async$result, $async$completer);
  89088. while (true)
  89089. switch ($async$goto) {
  89090. case 0:
  89091. // Function start
  89092. t1 = type$.Value_2;
  89093. map = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
  89094. keyNodes = A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.AstNode_2);
  89095. t2 = node.pairs, t3 = t2.length, _i = 0;
  89096. case 3:
  89097. // for condition
  89098. if (!(_i < t3)) {
  89099. // goto after for
  89100. $async$goto = 5;
  89101. break;
  89102. }
  89103. t4 = t2[_i];
  89104. key = t4._0;
  89105. $async$goto = 6;
  89106. return A._asyncAwait(key.accept$1($async$self), $async$visitMapExpression$1);
  89107. case 6:
  89108. // returning from await.
  89109. keyValue = $async$result;
  89110. $async$goto = 7;
  89111. return A._asyncAwait(t4._1.accept$1($async$self), $async$visitMapExpression$1);
  89112. case 7:
  89113. // returning from await.
  89114. valueValue = $async$result;
  89115. if (map.containsKey$1(keyValue)) {
  89116. t1 = keyNodes.$index(0, keyValue);
  89117. oldValueSpan = t1 == null ? null : t1.get$span(t1);
  89118. t1 = key.get$span(key);
  89119. t2 = A.LinkedHashMap_LinkedHashMap$_empty(type$.FileSpan, type$.String);
  89120. if (oldValueSpan != null)
  89121. t2.$indexSet(0, oldValueSpan, "first key");
  89122. throw A.wrapException(A.MultiSpanSassRuntimeException$0("Duplicate key.", t1, "second key", t2, $async$self._async_evaluate0$_stackTrace$1(key.get$span(key)), null));
  89123. }
  89124. map.$indexSet(0, keyValue, valueValue);
  89125. keyNodes.$indexSet(0, keyValue, key);
  89126. case 4:
  89127. // for update
  89128. ++_i;
  89129. // goto for condition
  89130. $async$goto = 3;
  89131. break;
  89132. case 5:
  89133. // after for
  89134. $async$returnValue = new A.SassMap0(A.ConstantMap_ConstantMap$from(map, t1, t1));
  89135. // goto return
  89136. $async$goto = 1;
  89137. break;
  89138. case 1:
  89139. // return
  89140. return A._asyncReturn($async$returnValue, $async$completer);
  89141. }
  89142. });
  89143. return A._asyncStartSync($async$visitMapExpression$1, $async$completer);
  89144. },
  89145. visitFunctionExpression$1(_, node) {
  89146. return this.visitFunctionExpression$body$_EvaluateVisitor0(0, node);
  89147. },
  89148. visitFunctionExpression$body$_EvaluateVisitor0(_, node) {
  89149. var $async$goto = 0,
  89150. $async$completer = A._makeAsyncAwaitCompleter(type$.Value_2),
  89151. $async$returnValue, $async$self = this, t2, _0_0, t3, t4, $name, oldInFunction, result, t1, $function;
  89152. var $async$visitFunctionExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  89153. if ($async$errorCode === 1)
  89154. return A._asyncRethrow($async$result, $async$completer);
  89155. while (true)
  89156. switch ($async$goto) {
  89157. case 0:
  89158. // Function start
  89159. t1 = {};
  89160. $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));
  89161. t1.$function = $function;
  89162. $async$goto = $function == null ? 3 : 5;
  89163. break;
  89164. case 3:
  89165. // then
  89166. if (node.namespace != null)
  89167. throw A.wrapException($async$self._async_evaluate0$_exception$2("Undefined function.", node.span));
  89168. t2 = node.name;
  89169. _0_0 = t2.toLowerCase();
  89170. t3 = false;
  89171. if ("min" === _0_0 || "max" === _0_0 || "round" === _0_0 || "abs" === _0_0) {
  89172. t3 = node.$arguments;
  89173. t4 = t3.named;
  89174. t3 = t4.get$isEmpty(t4) && t3.rest == null && B.JSArray_methods.every$1(t3.positional, new A._EvaluateVisitor_visitFunctionExpression_closure9());
  89175. $name = _0_0;
  89176. } else
  89177. $name = null;
  89178. $async$goto = t3 ? 6 : 7;
  89179. break;
  89180. case 6:
  89181. // then
  89182. $async$goto = 8;
  89183. return A._asyncAwait($async$self._async_evaluate0$_visitCalculation$2$inLegacySassFunction(node, $name), $async$visitFunctionExpression$1);
  89184. case 8:
  89185. // returning from await.
  89186. $async$returnValue = $async$result;
  89187. // goto return
  89188. $async$goto = 1;
  89189. break;
  89190. case 7:
  89191. // join
  89192. $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;
  89193. break;
  89194. case 9:
  89195. // then
  89196. $async$goto = 11;
  89197. return A._asyncAwait($async$self._async_evaluate0$_visitCalculation$1(node), $async$visitFunctionExpression$1);
  89198. case 11:
  89199. // returning from await.
  89200. $async$returnValue = $async$result;
  89201. // goto return
  89202. $async$goto = 1;
  89203. break;
  89204. case 10:
  89205. // join
  89206. $function = $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__stylesheet, "_stylesheet").plainCss ? null : $async$self._async_evaluate0$_builtInFunctions.$index(0, t2);
  89207. t2 = t1.$function = $function == null ? new A.PlainCssCallable0(node.originalName) : $function;
  89208. // goto join
  89209. $async$goto = 4;
  89210. break;
  89211. case 5:
  89212. // else
  89213. t2 = $function;
  89214. case 4:
  89215. // join
  89216. if (B.JSString_methods.startsWith$1(node.originalName, "--") && t2 instanceof A.UserDefinedCallable0 && !B.JSString_methods.startsWith$1(t2.declaration.originalName, "--"))
  89217. $async$self._async_evaluate0$_warn$3(string$.Sassx20_f_, node.get$nameSpan(), B.Deprecation_d4j);
  89218. oldInFunction = $async$self._async_evaluate0$_inFunction;
  89219. $async$self._async_evaluate0$_inFunction = true;
  89220. $async$goto = 12;
  89221. 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);
  89222. case 12:
  89223. // returning from await.
  89224. result = $async$result;
  89225. $async$self._async_evaluate0$_inFunction = oldInFunction;
  89226. $async$returnValue = result;
  89227. // goto return
  89228. $async$goto = 1;
  89229. break;
  89230. case 1:
  89231. // return
  89232. return A._asyncReturn($async$returnValue, $async$completer);
  89233. }
  89234. });
  89235. return A._asyncStartSync($async$visitFunctionExpression$1, $async$completer);
  89236. },
  89237. _async_evaluate0$_visitCalculation$2$inLegacySassFunction(node, inLegacySassFunction) {
  89238. return this._visitCalculation$body$_EvaluateVisitor0(node, inLegacySassFunction);
  89239. },
  89240. _async_evaluate0$_visitCalculation$1(node) {
  89241. return this._async_evaluate0$_visitCalculation$2$inLegacySassFunction(node, null);
  89242. },
  89243. _visitCalculation$body$_EvaluateVisitor0(node, inLegacySassFunction) {
  89244. var $async$goto = 0,
  89245. $async$completer = A._makeAsyncAwaitCompleter(type$.Value_2),
  89246. $async$returnValue, $async$next = [], $async$self = this, $arguments, oldCallableNode, t1, _0_0, error, stackTrace, t4, _i, exception, t2, t3, $async$temp1;
  89247. var $async$_async_evaluate0$_visitCalculation$2$inLegacySassFunction = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  89248. if ($async$errorCode === 1)
  89249. return A._asyncRethrow($async$result, $async$completer);
  89250. while (true)
  89251. switch ($async$goto) {
  89252. case 0:
  89253. // Function start
  89254. t2 = node.$arguments;
  89255. t3 = t2.named;
  89256. if (t3.get$isNotEmpty(t3))
  89257. throw A.wrapException($async$self._async_evaluate0$_exception$2(string$.Keywor, node.span));
  89258. else if (t2.rest != null)
  89259. throw A.wrapException($async$self._async_evaluate0$_exception$2(string$.Rest_a, node.span));
  89260. $async$self._async_evaluate0$_checkCalculationArguments$1(node);
  89261. t3 = A._setArrayType([], type$.JSArray_Object);
  89262. t2 = t2.positional, t4 = t2.length, _i = 0;
  89263. case 3:
  89264. // for condition
  89265. if (!(_i < t4)) {
  89266. // goto after for
  89267. $async$goto = 5;
  89268. break;
  89269. }
  89270. $async$temp1 = t3;
  89271. $async$goto = 6;
  89272. return A._asyncAwait($async$self._async_evaluate0$_visitCalculationExpression$2$inLegacySassFunction(t2[_i], inLegacySassFunction), $async$_async_evaluate0$_visitCalculation$2$inLegacySassFunction);
  89273. case 6:
  89274. // returning from await.
  89275. $async$temp1.push($async$result);
  89276. case 4:
  89277. // for update
  89278. ++_i;
  89279. // goto for condition
  89280. $async$goto = 3;
  89281. break;
  89282. case 5:
  89283. // after for
  89284. $arguments = t3;
  89285. if ($async$self._async_evaluate0$_inSupportsDeclaration) {
  89286. $async$returnValue = new A.SassCalculation0(node.name, A.List_List$unmodifiable($arguments, type$.Object));
  89287. // goto return
  89288. $async$goto = 1;
  89289. break;
  89290. }
  89291. oldCallableNode = $async$self._async_evaluate0$_callableNode;
  89292. $async$self._async_evaluate0$_callableNode = node;
  89293. try {
  89294. t1 = null;
  89295. t3 = node.name;
  89296. _0_0 = t3.toLowerCase();
  89297. $label0$0: {
  89298. if ("calc" === _0_0) {
  89299. t1 = A.SassCalculation_calc0(J.$index$asx($arguments, 0));
  89300. break $label0$0;
  89301. }
  89302. if ("sqrt" === _0_0) {
  89303. t1 = A.SassCalculation__singleArgument0("sqrt", J.$index$asx($arguments, 0), A.number2__sqrt$closure(), true);
  89304. break $label0$0;
  89305. }
  89306. if ("sin" === _0_0) {
  89307. t1 = A.SassCalculation__singleArgument0("sin", J.$index$asx($arguments, 0), A.number2__sin$closure(), false);
  89308. break $label0$0;
  89309. }
  89310. if ("cos" === _0_0) {
  89311. t1 = A.SassCalculation__singleArgument0("cos", J.$index$asx($arguments, 0), A.number2__cos$closure(), false);
  89312. break $label0$0;
  89313. }
  89314. if ("tan" === _0_0) {
  89315. t1 = A.SassCalculation__singleArgument0("tan", J.$index$asx($arguments, 0), A.number2__tan$closure(), false);
  89316. break $label0$0;
  89317. }
  89318. if ("asin" === _0_0) {
  89319. t1 = A.SassCalculation__singleArgument0("asin", J.$index$asx($arguments, 0), A.number2__asin$closure(), true);
  89320. break $label0$0;
  89321. }
  89322. if ("acos" === _0_0) {
  89323. t1 = A.SassCalculation__singleArgument0("acos", J.$index$asx($arguments, 0), A.number2__acos$closure(), true);
  89324. break $label0$0;
  89325. }
  89326. if ("atan" === _0_0) {
  89327. t1 = A.SassCalculation__singleArgument0("atan", J.$index$asx($arguments, 0), A.number2__atan$closure(), true);
  89328. break $label0$0;
  89329. }
  89330. if ("abs" === _0_0) {
  89331. t1 = A.SassCalculation_abs0(J.$index$asx($arguments, 0));
  89332. break $label0$0;
  89333. }
  89334. if ("exp" === _0_0) {
  89335. t1 = A.SassCalculation_exp0(J.$index$asx($arguments, 0));
  89336. break $label0$0;
  89337. }
  89338. if ("sign" === _0_0) {
  89339. t1 = A.SassCalculation_sign0(J.$index$asx($arguments, 0));
  89340. break $label0$0;
  89341. }
  89342. if ("min" === _0_0) {
  89343. t1 = A.SassCalculation_min0($arguments);
  89344. break $label0$0;
  89345. }
  89346. if ("max" === _0_0) {
  89347. t1 = A.SassCalculation_max0($arguments);
  89348. break $label0$0;
  89349. }
  89350. if ("hypot" === _0_0) {
  89351. t1 = A.SassCalculation_hypot0($arguments);
  89352. break $label0$0;
  89353. }
  89354. if ("pow" === _0_0) {
  89355. t1 = A.SassCalculation_pow0(J.$index$asx($arguments, 0), A.ListExtensions_elementAtOrNull($arguments, 1));
  89356. break $label0$0;
  89357. }
  89358. if ("atan2" === _0_0) {
  89359. t1 = A.SassCalculation_atan20(J.$index$asx($arguments, 0), A.ListExtensions_elementAtOrNull($arguments, 1));
  89360. break $label0$0;
  89361. }
  89362. if ("log" === _0_0) {
  89363. t1 = A.SassCalculation_log0(J.$index$asx($arguments, 0), A.ListExtensions_elementAtOrNull($arguments, 1));
  89364. break $label0$0;
  89365. }
  89366. if ("mod" === _0_0) {
  89367. t1 = A.SassCalculation_mod0(J.$index$asx($arguments, 0), A.ListExtensions_elementAtOrNull($arguments, 1));
  89368. break $label0$0;
  89369. }
  89370. if ("rem" === _0_0) {
  89371. t1 = A.SassCalculation_rem0(J.$index$asx($arguments, 0), A.ListExtensions_elementAtOrNull($arguments, 1));
  89372. break $label0$0;
  89373. }
  89374. if ("round" === _0_0) {
  89375. 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));
  89376. break $label0$0;
  89377. }
  89378. if ("clamp" === _0_0) {
  89379. t1 = A.SassCalculation_clamp0(J.$index$asx($arguments, 0), A.ListExtensions_elementAtOrNull($arguments, 1), A.ListExtensions_elementAtOrNull($arguments, 2));
  89380. break $label0$0;
  89381. }
  89382. if ("calc-size" === _0_0) {
  89383. t1 = A.SassCalculation_calcSize0(J.$index$asx($arguments, 0), A.ListExtensions_elementAtOrNull($arguments, 1));
  89384. break $label0$0;
  89385. }
  89386. t3 = A.UnsupportedError$('Unknown calculation name "' + t3 + '".');
  89387. t1 = A.throwExpression(t3);
  89388. }
  89389. t1 = t1;
  89390. $async$returnValue = t1;
  89391. // goto return
  89392. $async$goto = 1;
  89393. break;
  89394. } catch (exception) {
  89395. t1 = A.unwrapException(exception);
  89396. if (t1 instanceof A.SassScriptException0) {
  89397. error = t1;
  89398. stackTrace = A.getTraceFromException(exception);
  89399. if (B.JSString_methods.contains$1(error.message, "compatible"))
  89400. $async$self._async_evaluate0$_verifyCompatibleNumbers$2($arguments, t2);
  89401. A.throwWithTrace0($async$self._async_evaluate0$_exception$2(error.message, node.span), error, stackTrace);
  89402. } else
  89403. throw exception;
  89404. } finally {
  89405. $async$self._async_evaluate0$_callableNode = oldCallableNode;
  89406. }
  89407. case 1:
  89408. // return
  89409. return A._asyncReturn($async$returnValue, $async$completer);
  89410. }
  89411. });
  89412. return A._asyncStartSync($async$_async_evaluate0$_visitCalculation$2$inLegacySassFunction, $async$completer);
  89413. },
  89414. _async_evaluate0$_checkCalculationArguments$1(node) {
  89415. var t1, _0_0,
  89416. check = new A._EvaluateVisitor__checkCalculationArguments_check2(this, node);
  89417. $label0$0: {
  89418. t1 = node.name;
  89419. _0_0 = t1.toLowerCase();
  89420. 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) {
  89421. check.call$1(1);
  89422. break $label0$0;
  89423. }
  89424. if ("min" === _0_0 || "max" === _0_0 || "hypot" === _0_0) {
  89425. check.call$0();
  89426. break $label0$0;
  89427. }
  89428. if ("pow" === _0_0 || "atan2" === _0_0 || "log" === _0_0 || "mod" === _0_0 || "rem" === _0_0 || "calc-size" === _0_0) {
  89429. check.call$1(2);
  89430. break $label0$0;
  89431. }
  89432. if ("round" === _0_0 || "clamp" === _0_0) {
  89433. check.call$1(3);
  89434. break $label0$0;
  89435. }
  89436. throw A.wrapException(A.UnsupportedError$('Unknown calculation name "' + t1 + '".'));
  89437. }
  89438. },
  89439. _async_evaluate0$_verifyCompatibleNumbers$2(args, nodesWithSpans) {
  89440. var i, t1, _0_0, arg, t2, number1, j, number2, t3, t4, t5, t6;
  89441. for (i = 0; t1 = args.length, i < t1; ++i) {
  89442. _0_0 = args[i];
  89443. if (_0_0 instanceof A.SassNumber0) {
  89444. t1 = _0_0.get$hasComplexUnits();
  89445. arg = _0_0;
  89446. } else {
  89447. arg = null;
  89448. t1 = false;
  89449. }
  89450. if (t1) {
  89451. t1 = A.S(arg);
  89452. t2 = nodesWithSpans[i];
  89453. throw A.wrapException(this._async_evaluate0$_exception$2("Number " + t1 + " isn't compatible with CSS calculations.", t2.get$span(t2)));
  89454. }
  89455. }
  89456. for (i = 0; i < t1 - 1; ++i) {
  89457. number1 = args[i];
  89458. if (!(number1 instanceof A.SassNumber0))
  89459. continue;
  89460. for (j = i + 1; t1 = args.length, j < t1; ++j) {
  89461. number2 = args[j];
  89462. if (!(number2 instanceof A.SassNumber0))
  89463. continue;
  89464. if (number1.hasPossiblyCompatibleUnits$1(number2))
  89465. continue;
  89466. t1 = number1.toString$0(0);
  89467. t2 = number2.toString$0(0);
  89468. t3 = nodesWithSpans[i];
  89469. t3 = t3.get$span(t3);
  89470. t4 = number1.toString$0(0);
  89471. t5 = nodesWithSpans[j];
  89472. t5 = A.LinkedHashMap_LinkedHashMap$_literal([t5.get$span(t5), number2.toString$0(0)], type$.FileSpan, type$.String);
  89473. t6 = nodesWithSpans[i];
  89474. throw A.wrapException(A.MultiSpanSassRuntimeException$0(t1 + " and " + t2 + " are incompatible.", t3, t4, t5, this._async_evaluate0$_stackTrace$1(t6.get$span(t6)), null));
  89475. }
  89476. }
  89477. },
  89478. _async_evaluate0$_visitCalculationExpression$2$inLegacySassFunction(node, inLegacySassFunction) {
  89479. return this._visitCalculationExpression$body$_EvaluateVisitor0(node, inLegacySassFunction);
  89480. },
  89481. _visitCalculationExpression$body$_EvaluateVisitor0(node, inLegacySassFunction) {
  89482. var $async$goto = 0,
  89483. $async$completer = A._makeAsyncAwaitCompleter(type$.Object),
  89484. $async$returnValue, $async$self = this, result, t2, _0_0, _box_0, _1_0, t3, _i, i, t1, inner, $async$temp1;
  89485. var $async$_async_evaluate0$_visitCalculationExpression$2$inLegacySassFunction = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  89486. if ($async$errorCode === 1)
  89487. return A._asyncRethrow($async$result, $async$completer);
  89488. while (true)
  89489. switch ($async$goto) {
  89490. case 0:
  89491. // Function start
  89492. t1 = node instanceof A.ParenthesizedExpression0;
  89493. inner = t1 ? node.expression : null;
  89494. $async$goto = t1 ? 3 : 4;
  89495. break;
  89496. case 3:
  89497. // then
  89498. $async$goto = 5;
  89499. return A._asyncAwait($async$self._async_evaluate0$_visitCalculationExpression$2$inLegacySassFunction(inner, inLegacySassFunction), $async$_async_evaluate0$_visitCalculationExpression$2$inLegacySassFunction);
  89500. case 5:
  89501. // returning from await.
  89502. result = $async$result;
  89503. $async$returnValue = result instanceof A.SassString0 ? new A.SassString0("(" + result._string0$_text + ")", false) : result;
  89504. // goto return
  89505. $async$goto = 1;
  89506. break;
  89507. case 4:
  89508. // join
  89509. $async$goto = node instanceof A.StringExpression0 && node.accept$1(B.C_IsCalculationSafeVisitor0) ? 6 : 7;
  89510. break;
  89511. case 6:
  89512. // then
  89513. t1 = node.text;
  89514. t2 = t1.get$asPlain();
  89515. _0_0 = t2 == null ? null : t2.toLowerCase();
  89516. if ("pi" === _0_0) {
  89517. t1 = A.SassNumber_SassNumber0(3.141592653589793, null);
  89518. // goto break $label0$0
  89519. $async$goto = 8;
  89520. break;
  89521. }
  89522. if ("e" === _0_0) {
  89523. t1 = A.SassNumber_SassNumber0(2.718281828459045, null);
  89524. // goto break $label0$0
  89525. $async$goto = 8;
  89526. break;
  89527. }
  89528. if ("infinity" === _0_0) {
  89529. t1 = A.SassNumber_SassNumber0(1 / 0, null);
  89530. // goto break $label0$0
  89531. $async$goto = 8;
  89532. break;
  89533. }
  89534. if ("-infinity" === _0_0) {
  89535. t1 = A.SassNumber_SassNumber0(-1 / 0, null);
  89536. // goto break $label0$0
  89537. $async$goto = 8;
  89538. break;
  89539. }
  89540. if ("nan" === _0_0) {
  89541. t1 = A.SassNumber_SassNumber0(0 / 0, null);
  89542. // goto break $label0$0
  89543. $async$goto = 8;
  89544. break;
  89545. }
  89546. $async$temp1 = A;
  89547. $async$goto = 9;
  89548. return A._asyncAwait($async$self._async_evaluate0$_performInterpolation$1(t1), $async$_async_evaluate0$_visitCalculationExpression$2$inLegacySassFunction);
  89549. case 9:
  89550. // returning from await.
  89551. t1 = new $async$temp1.SassString0($async$result, false);
  89552. // goto break $label0$0
  89553. $async$goto = 8;
  89554. break;
  89555. case 8:
  89556. // break $label0$0
  89557. $async$returnValue = t1;
  89558. // goto return
  89559. $async$goto = 1;
  89560. break;
  89561. case 7:
  89562. // join
  89563. _box_0 = {};
  89564. _box_0.right = _box_0.left = _box_0.operator = null;
  89565. t1 = node instanceof A.BinaryOperationExpression0;
  89566. if (t1) {
  89567. _box_0.operator = node.operator;
  89568. _box_0.left = node.left;
  89569. _box_0.right = node.right;
  89570. }
  89571. $async$goto = t1 ? 10 : 11;
  89572. break;
  89573. case 10:
  89574. // then
  89575. $async$self._async_evaluate0$_checkWhitespaceAroundCalculationOperator$1(node);
  89576. $async$goto = 12;
  89577. 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);
  89578. case 12:
  89579. // returning from await.
  89580. $async$returnValue = $async$result;
  89581. // goto return
  89582. $async$goto = 1;
  89583. break;
  89584. case 11:
  89585. // join
  89586. $async$goto = node instanceof A.NumberExpression0 || node instanceof A.VariableExpression0 || node instanceof A.FunctionExpression0 || node instanceof A.IfExpression0 ? 13 : 14;
  89587. break;
  89588. case 13:
  89589. // then
  89590. $async$goto = 15;
  89591. return A._asyncAwait(node.accept$1($async$self), $async$_async_evaluate0$_visitCalculationExpression$2$inLegacySassFunction);
  89592. case 15:
  89593. // returning from await.
  89594. _1_0 = $async$result;
  89595. $label1$1: {
  89596. if (_1_0 instanceof A.SassNumber0) {
  89597. t1 = _1_0;
  89598. break $label1$1;
  89599. }
  89600. if (_1_0 instanceof A.SassCalculation0) {
  89601. t1 = _1_0;
  89602. break $label1$1;
  89603. }
  89604. if (_1_0 instanceof A.SassString0) {
  89605. t1 = !_1_0._string0$_hasQuotes;
  89606. result = _1_0;
  89607. } else {
  89608. result = null;
  89609. t1 = false;
  89610. }
  89611. if (t1) {
  89612. t1 = result;
  89613. break $label1$1;
  89614. }
  89615. 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)));
  89616. }
  89617. $async$returnValue = t1;
  89618. // goto return
  89619. $async$goto = 1;
  89620. break;
  89621. case 14:
  89622. // join
  89623. $async$goto = node instanceof A.ListExpression0 && !node.hasBrackets && B.ListSeparator_qSL0 === node.separator && node.contents.length >= 2 ? 16 : 17;
  89624. break;
  89625. case 16:
  89626. // then
  89627. t1 = A._setArrayType([], type$.JSArray_Object);
  89628. t2 = node.contents, t3 = t2.length, _i = 0;
  89629. case 18:
  89630. // for condition
  89631. if (!(_i < t3)) {
  89632. // goto after for
  89633. $async$goto = 20;
  89634. break;
  89635. }
  89636. $async$temp1 = t1;
  89637. $async$goto = 21;
  89638. return A._asyncAwait($async$self._async_evaluate0$_visitCalculationExpression$2$inLegacySassFunction(t2[_i], inLegacySassFunction), $async$_async_evaluate0$_visitCalculationExpression$2$inLegacySassFunction);
  89639. case 21:
  89640. // returning from await.
  89641. $async$temp1.push($async$result);
  89642. case 19:
  89643. // for update
  89644. ++_i;
  89645. // goto for condition
  89646. $async$goto = 18;
  89647. break;
  89648. case 20:
  89649. // after for
  89650. $async$self._async_evaluate0$_checkAdjacentCalculationValues$2(t1, node);
  89651. for (i = 0; i < t1.length; ++i) {
  89652. t3 = t1[i];
  89653. if (t3 instanceof A.CalculationOperation0 && t2[i] instanceof A.ParenthesizedExpression0)
  89654. t1[i] = new A.SassString0("(" + t3.toString$0(0) + ")", false);
  89655. }
  89656. $async$returnValue = new A.SassString0(B.JSArray_methods.join$1(t1, " "), false);
  89657. // goto return
  89658. $async$goto = 1;
  89659. break;
  89660. case 17:
  89661. // join
  89662. throw A.wrapException($async$self._async_evaluate0$_exception$2(string$.This_e, node.get$span(node)));
  89663. case 1:
  89664. // return
  89665. return A._asyncReturn($async$returnValue, $async$completer);
  89666. }
  89667. });
  89668. return A._asyncStartSync($async$_async_evaluate0$_visitCalculationExpression$2$inLegacySassFunction, $async$completer);
  89669. },
  89670. _async_evaluate0$_checkWhitespaceAroundCalculationOperator$1(node) {
  89671. var t2, t3, t4, textBetweenOperands, first, last,
  89672. t1 = node.operator;
  89673. if (t1 !== B.BinaryOperator_Swh0 && t1 !== B.BinaryOperator_QG10)
  89674. return;
  89675. t1 = node.left;
  89676. t2 = t1.get$span(t1);
  89677. t2 = t2.get$file(t2);
  89678. t3 = node.right;
  89679. t4 = t3.get$span(t3);
  89680. if (t2 !== t4.get$file(t4))
  89681. return;
  89682. t2 = t1.get$span(t1);
  89683. t2 = t2.get$end(t2);
  89684. t4 = t3.get$span(t3);
  89685. if (t2.offset >= t4.get$start(t4).offset)
  89686. return;
  89687. t2 = t1.get$span(t1);
  89688. t2 = t2.get$file(t2);
  89689. t1 = t1.get$span(t1);
  89690. t1 = t1.get$end(t1);
  89691. t3 = t3.get$span(t3);
  89692. textBetweenOperands = A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t2._decodedChars, t1.offset, t3.get$start(t3).offset), 0, null);
  89693. first = textBetweenOperands.charCodeAt(0);
  89694. last = textBetweenOperands.charCodeAt(textBetweenOperands.length - 1);
  89695. if (first === 32 || first === 9 || first === 10 || first === 13 || first === 12 || first === 47)
  89696. t1 = !(last === 32 || last === 9 || last === 10 || last === 13 || last === 12 || last === 47);
  89697. else
  89698. t1 = true;
  89699. if (t1)
  89700. throw A.wrapException(this._async_evaluate0$_exception$2(string$.x22x2b__an, node.get$operatorSpan()));
  89701. },
  89702. _async_evaluate0$_binaryOperatorToCalculationOperator$2(operator, node) {
  89703. var t1;
  89704. $label0$0: {
  89705. if (B.BinaryOperator_Swh0 === operator) {
  89706. t1 = B.CalculationOperator_F7i0;
  89707. break $label0$0;
  89708. }
  89709. if (B.BinaryOperator_QG10 === operator) {
  89710. t1 = B.CalculationOperator_oum0;
  89711. break $label0$0;
  89712. }
  89713. if (B.BinaryOperator_tht0 === operator) {
  89714. t1 = B.CalculationOperator_kkN0;
  89715. break $label0$0;
  89716. }
  89717. if (B.BinaryOperator_Mh50 === operator) {
  89718. t1 = B.CalculationOperator_bo50;
  89719. break $label0$0;
  89720. }
  89721. t1 = A.throwExpression(this._async_evaluate0$_exception$2(string$.This_o, node.get$operatorSpan()));
  89722. }
  89723. return t1;
  89724. },
  89725. _async_evaluate0$_checkAdjacentCalculationValues$2(elements, node) {
  89726. var t1, i, t2, previous, current, previousNode, currentNode, _0_2;
  89727. for (t1 = elements.length, i = 1; i < t1; ++i) {
  89728. t2 = i - 1;
  89729. previous = elements[t2];
  89730. current = elements[i];
  89731. if (previous instanceof A.SassString0 || current instanceof A.SassString0)
  89732. continue;
  89733. t1 = node.contents;
  89734. previousNode = t1[t2];
  89735. currentNode = t1[i];
  89736. if (currentNode instanceof A.UnaryOperationExpression0) {
  89737. _0_2 = currentNode.operator;
  89738. if (B.UnaryOperator_UCP0 !== _0_2)
  89739. t1 = B.UnaryOperator_Rbl0 === _0_2;
  89740. else
  89741. t1 = true;
  89742. } else
  89743. t1 = false;
  89744. if (!t1)
  89745. t1 = currentNode instanceof A.NumberExpression0 && currentNode.value < 0;
  89746. else
  89747. t1 = true;
  89748. if (t1)
  89749. throw A.wrapException(this._async_evaluate0$_exception$2(string$.x22x2b__an, A.FileSpanExtension_subspan(currentNode.get$span(currentNode), 0, 1)));
  89750. else
  89751. throw A.wrapException(this._async_evaluate0$_exception$2("Missing math operator.", previousNode.get$span(previousNode).expand$1(0, currentNode.get$span(currentNode))));
  89752. }
  89753. },
  89754. visitInterpolatedFunctionExpression$1(_, node) {
  89755. return this.visitInterpolatedFunctionExpression$body$_EvaluateVisitor0(0, node);
  89756. },
  89757. visitInterpolatedFunctionExpression$body$_EvaluateVisitor0(_, node) {
  89758. var $async$goto = 0,
  89759. $async$completer = A._makeAsyncAwaitCompleter(type$.Value_2),
  89760. $async$returnValue, $async$self = this, result, t1, oldInFunction;
  89761. var $async$visitInterpolatedFunctionExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  89762. if ($async$errorCode === 1)
  89763. return A._asyncRethrow($async$result, $async$completer);
  89764. while (true)
  89765. switch ($async$goto) {
  89766. case 0:
  89767. // Function start
  89768. $async$goto = 3;
  89769. return A._asyncAwait($async$self._async_evaluate0$_performInterpolation$1(node.name), $async$visitInterpolatedFunctionExpression$1);
  89770. case 3:
  89771. // returning from await.
  89772. t1 = $async$result;
  89773. oldInFunction = $async$self._async_evaluate0$_inFunction;
  89774. $async$self._async_evaluate0$_inFunction = true;
  89775. $async$goto = 4;
  89776. 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);
  89777. case 4:
  89778. // returning from await.
  89779. result = $async$result;
  89780. $async$self._async_evaluate0$_inFunction = oldInFunction;
  89781. $async$returnValue = result;
  89782. // goto return
  89783. $async$goto = 1;
  89784. break;
  89785. case 1:
  89786. // return
  89787. return A._asyncReturn($async$returnValue, $async$completer);
  89788. }
  89789. });
  89790. return A._asyncStartSync($async$visitInterpolatedFunctionExpression$1, $async$completer);
  89791. },
  89792. _async_evaluate0$_runUserDefinedCallable$1$4($arguments, callable, nodeWithSpan, run, $V) {
  89793. return this._runUserDefinedCallable$body$_EvaluateVisitor0($arguments, callable, nodeWithSpan, run, $V, $V);
  89794. },
  89795. _runUserDefinedCallable$body$_EvaluateVisitor0($arguments, callable, nodeWithSpan, run, $V, $async$type) {
  89796. var $async$goto = 0,
  89797. $async$completer = A._makeAsyncAwaitCompleter($async$type),
  89798. $async$returnValue, $async$self = this, oldInDependency, result, evaluated, $name;
  89799. var $async$_async_evaluate0$_runUserDefinedCallable$1$4 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  89800. if ($async$errorCode === 1)
  89801. return A._asyncRethrow($async$result, $async$completer);
  89802. while (true)
  89803. switch ($async$goto) {
  89804. case 0:
  89805. // Function start
  89806. $async$goto = 3;
  89807. return A._asyncAwait($async$self._async_evaluate0$_evaluateArguments$1($arguments), $async$_async_evaluate0$_runUserDefinedCallable$1$4);
  89808. case 3:
  89809. // returning from await.
  89810. evaluated = $async$result;
  89811. $name = callable.declaration.name;
  89812. if ($name !== "@content")
  89813. $name += "()";
  89814. oldInDependency = $async$self._async_evaluate0$_inDependency;
  89815. $async$self._async_evaluate0$_inDependency = callable.inDependency;
  89816. $async$goto = 4;
  89817. 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);
  89818. case 4:
  89819. // returning from await.
  89820. result = $async$result;
  89821. $async$self._async_evaluate0$_inDependency = oldInDependency;
  89822. $async$returnValue = result;
  89823. // goto return
  89824. $async$goto = 1;
  89825. break;
  89826. case 1:
  89827. // return
  89828. return A._asyncReturn($async$returnValue, $async$completer);
  89829. }
  89830. });
  89831. return A._asyncStartSync($async$_async_evaluate0$_runUserDefinedCallable$1$4, $async$completer);
  89832. },
  89833. _async_evaluate0$_runFunctionCallable$3($arguments, callable, nodeWithSpan) {
  89834. return this._runFunctionCallable$body$_EvaluateVisitor0($arguments, callable, nodeWithSpan);
  89835. },
  89836. _runFunctionCallable$body$_EvaluateVisitor0($arguments, callable, nodeWithSpan) {
  89837. var $async$goto = 0,
  89838. $async$completer = A._makeAsyncAwaitCompleter(type$.Value_2),
  89839. $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;
  89840. var $async$_async_evaluate0$_runFunctionCallable$3 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  89841. if ($async$errorCode === 1) {
  89842. $async$errorStack.push($async$result);
  89843. $async$goto = $async$handler;
  89844. }
  89845. while (true)
  89846. switch ($async$goto) {
  89847. case 0:
  89848. // Function start
  89849. $async$goto = type$.AsyncBuiltInCallable_2._is(callable) ? 3 : 5;
  89850. break;
  89851. case 3:
  89852. // then
  89853. $async$goto = 6;
  89854. return A._asyncAwait($async$self._async_evaluate0$_runBuiltInCallable$3($arguments, callable, nodeWithSpan), $async$_async_evaluate0$_runFunctionCallable$3);
  89855. case 6:
  89856. // returning from await.
  89857. $async$returnValue = $async$self._async_evaluate0$_withoutSlash$2($async$result, nodeWithSpan);
  89858. // goto return
  89859. $async$goto = 1;
  89860. break;
  89861. // goto join
  89862. $async$goto = 4;
  89863. break;
  89864. case 5:
  89865. // else
  89866. $async$goto = type$.UserDefinedCallable_AsyncEnvironment_2._is(callable) ? 7 : 9;
  89867. break;
  89868. case 7:
  89869. // then
  89870. $async$goto = 10;
  89871. 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);
  89872. case 10:
  89873. // returning from await.
  89874. $async$returnValue = $async$result;
  89875. // goto return
  89876. $async$goto = 1;
  89877. break;
  89878. // goto join
  89879. $async$goto = 8;
  89880. break;
  89881. case 9:
  89882. // else
  89883. $async$goto = callable instanceof A.PlainCssCallable0 ? 11 : 13;
  89884. break;
  89885. case 11:
  89886. // then
  89887. t1 = $arguments.named;
  89888. if (t1.get$isNotEmpty(t1) || $arguments.keywordRest != null)
  89889. throw A.wrapException($async$self._async_evaluate0$_exception$2(string$.Plain_, nodeWithSpan.get$span(nodeWithSpan)));
  89890. buffer = new A.StringBuffer(callable.name + "(");
  89891. $async$handler = 15;
  89892. first = true;
  89893. t1 = $arguments.positional, t2 = t1.length, _i = 0;
  89894. case 18:
  89895. // for condition
  89896. if (!(_i < t2)) {
  89897. // goto after for
  89898. $async$goto = 20;
  89899. break;
  89900. }
  89901. argument = t1[_i];
  89902. if (first)
  89903. first = false;
  89904. else
  89905. buffer._contents += ", ";
  89906. t3 = buffer;
  89907. $async$temp1 = A;
  89908. $async$goto = 21;
  89909. return A._asyncAwait($async$self._async_evaluate0$_evaluateToCss$1(argument), $async$_async_evaluate0$_runFunctionCallable$3);
  89910. case 21:
  89911. // returning from await.
  89912. t4 = $async$temp1.S($async$result);
  89913. t3._contents += t4;
  89914. case 19:
  89915. // for update
  89916. ++_i;
  89917. // goto for condition
  89918. $async$goto = 18;
  89919. break;
  89920. case 20:
  89921. // after for
  89922. restArg = $arguments.rest;
  89923. $async$goto = restArg != null ? 22 : 23;
  89924. break;
  89925. case 22:
  89926. // then
  89927. $async$goto = 24;
  89928. return A._asyncAwait(restArg.accept$1($async$self), $async$_async_evaluate0$_runFunctionCallable$3);
  89929. case 24:
  89930. // returning from await.
  89931. rest = $async$result;
  89932. if (!first)
  89933. buffer._contents += ", ";
  89934. t1 = buffer;
  89935. t2 = $async$self._async_evaluate0$_serialize$2(rest, restArg);
  89936. t1._contents += t2;
  89937. case 23:
  89938. // join
  89939. $async$handler = 2;
  89940. // goto after finally
  89941. $async$goto = 17;
  89942. break;
  89943. case 15:
  89944. // catch
  89945. $async$handler = 14;
  89946. $async$exception = $async$errorStack.pop();
  89947. t1 = A.unwrapException($async$exception);
  89948. if (type$.SassRuntimeException_2._is(t1)) {
  89949. error = t1;
  89950. if (!B.JSString_methods.endsWith$1(error._span_exception$_message, "isn't a valid CSS value."))
  89951. throw $async$exception;
  89952. 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));
  89953. } else
  89954. throw $async$exception;
  89955. // goto after finally
  89956. $async$goto = 17;
  89957. break;
  89958. case 14:
  89959. // uncaught
  89960. // goto rethrow
  89961. $async$goto = 2;
  89962. break;
  89963. case 17:
  89964. // after finally
  89965. t1 = buffer;
  89966. t2 = A.Primitives_stringFromCharCode(41);
  89967. t1._contents += t2;
  89968. t2 = buffer._contents;
  89969. $async$returnValue = new A.SassString0(t2.charCodeAt(0) == 0 ? t2 : t2, false);
  89970. // goto return
  89971. $async$goto = 1;
  89972. break;
  89973. // goto join
  89974. $async$goto = 12;
  89975. break;
  89976. case 13:
  89977. // else
  89978. throw A.wrapException(A.ArgumentError$("Unknown callable type " + J.get$runtimeType$(callable).toString$0(0) + ".", null));
  89979. case 12:
  89980. // join
  89981. case 8:
  89982. // join
  89983. case 4:
  89984. // join
  89985. case 1:
  89986. // return
  89987. return A._asyncReturn($async$returnValue, $async$completer);
  89988. case 2:
  89989. // rethrow
  89990. return A._asyncRethrow($async$errorStack.at(-1), $async$completer);
  89991. }
  89992. });
  89993. return A._asyncStartSync($async$_async_evaluate0$_runFunctionCallable$3, $async$completer);
  89994. },
  89995. _async_evaluate0$_runBuiltInCallable$3($arguments, callable, nodeWithSpan) {
  89996. return this._runBuiltInCallable$body$_EvaluateVisitor0($arguments, callable, nodeWithSpan);
  89997. },
  89998. _runBuiltInCallable$body$_EvaluateVisitor0($arguments, callable, nodeWithSpan) {
  89999. var $async$goto = 0,
  90000. $async$completer = A._makeAsyncAwaitCompleter(type$.Value_2),
  90001. $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;
  90002. var $async$_async_evaluate0$_runBuiltInCallable$3 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  90003. if ($async$errorCode === 1) {
  90004. $async$errorStack.push($async$result);
  90005. $async$goto = $async$handler;
  90006. }
  90007. while (true)
  90008. switch ($async$goto) {
  90009. case 0:
  90010. // Function start
  90011. _box_0 = {};
  90012. $async$goto = 3;
  90013. return A._asyncAwait($async$self._async_evaluate0$_evaluateArguments$1($arguments), $async$_async_evaluate0$_runBuiltInCallable$3);
  90014. case 3:
  90015. // returning from await.
  90016. evaluated = $async$result;
  90017. oldCallableNode = $async$self._async_evaluate0$_callableNode;
  90018. $async$self._async_evaluate0$_callableNode = nodeWithSpan;
  90019. namedSet = new A.MapKeySet(evaluated._values[0], type$.MapKeySet_String);
  90020. _box_0.callback = _box_0.overload = null;
  90021. _0_0 = callable.callbackFor$2(J.get$length$asx(evaluated._values[2]), namedSet);
  90022. _box_0.overload = _0_0._0;
  90023. _box_0.callback = _0_0._1;
  90024. $async$self._async_evaluate0$_addExceptionSpan$2(nodeWithSpan, new A._EvaluateVisitor__runBuiltInCallable_closure8(_box_0, evaluated, namedSet));
  90025. parameters = _box_0.overload.parameters;
  90026. i = J.get$length$asx(evaluated._values[2]), t1 = parameters.length, t2 = type$._Future_Value_2, t3 = type$.Future_Value_2;
  90027. case 4:
  90028. // for condition
  90029. if (!(i < t1)) {
  90030. // goto after for
  90031. $async$goto = 6;
  90032. break;
  90033. }
  90034. parameter = parameters[i];
  90035. t4 = evaluated._values[2];
  90036. t5 = evaluated._values[0].remove$1(0, parameter.name);
  90037. $async$goto = t5 == null ? 7 : 8;
  90038. break;
  90039. case 7:
  90040. // then
  90041. t5 = parameter.defaultValue;
  90042. t6 = t5.accept$1($async$self);
  90043. if (!t3._is(t6)) {
  90044. t7 = new A._Future($.Zone__current, t2);
  90045. t7._state = 8;
  90046. t7._resultOrListeners = t6;
  90047. t6 = t7;
  90048. }
  90049. $async$goto = 9;
  90050. return A._asyncAwait(t6, $async$_async_evaluate0$_runBuiltInCallable$3);
  90051. case 9:
  90052. // returning from await.
  90053. t5 = $async$self._async_evaluate0$_withoutSlash$2($async$result, t5);
  90054. case 8:
  90055. // join
  90056. J.add$1$ax(t4, t5);
  90057. case 5:
  90058. // for update
  90059. ++i;
  90060. // goto for condition
  90061. $async$goto = 4;
  90062. break;
  90063. case 6:
  90064. // after for
  90065. if (_box_0.overload.restParameter != null) {
  90066. if (J.get$length$asx(evaluated._values[2]) > t1) {
  90067. rest = J.sublist$1$ax(evaluated._values[2], t1);
  90068. J.removeRange$2$ax(evaluated._values[2], t1, J.get$length$asx(evaluated._values[2]));
  90069. } else
  90070. rest = B.List_empty22;
  90071. t1 = evaluated._values[0];
  90072. argumentList = A.SassArgumentList$0(rest, t1, evaluated._values[4] === B.ListSeparator_undecided_null_undecided0 ? B.ListSeparator_qVN0 : evaluated._values[4]);
  90073. J.add$1$ax(evaluated._values[2], argumentList);
  90074. } else
  90075. argumentList = null;
  90076. result = null;
  90077. $async$handler = 11;
  90078. $async$goto = 14;
  90079. 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);
  90080. case 14:
  90081. // returning from await.
  90082. result = $async$result;
  90083. $async$handler = 2;
  90084. // goto after finally
  90085. $async$goto = 13;
  90086. break;
  90087. case 11:
  90088. // catch
  90089. $async$handler = 10;
  90090. $async$exception = $async$errorStack.pop();
  90091. t1 = A.unwrapException($async$exception);
  90092. if (t1 instanceof A.SassException0)
  90093. throw $async$exception;
  90094. else {
  90095. error = t1;
  90096. stackTrace = A.getTraceFromException($async$exception);
  90097. A.throwWithTrace0($async$self._async_evaluate0$_exception$2($async$self._async_evaluate0$_getErrorMessage$1(error), nodeWithSpan.get$span(nodeWithSpan)), error, stackTrace);
  90098. }
  90099. // goto after finally
  90100. $async$goto = 13;
  90101. break;
  90102. case 10:
  90103. // uncaught
  90104. // goto rethrow
  90105. $async$goto = 2;
  90106. break;
  90107. case 13:
  90108. // after finally
  90109. $async$self._async_evaluate0$_callableNode = oldCallableNode;
  90110. if (argumentList == null) {
  90111. $async$returnValue = result;
  90112. // goto return
  90113. $async$goto = 1;
  90114. break;
  90115. }
  90116. t1 = evaluated._values[0];
  90117. if (t1.get$isEmpty(t1)) {
  90118. $async$returnValue = result;
  90119. // goto return
  90120. $async$goto = 1;
  90121. break;
  90122. }
  90123. if (argumentList._argument_list$_wereKeywordsAccessed) {
  90124. $async$returnValue = result;
  90125. // goto return
  90126. $async$goto = 1;
  90127. break;
  90128. }
  90129. t1 = evaluated._values[0];
  90130. t1 = A.pluralize0("parameter", J.get$length$asx(t1.get$keys(t1)), null);
  90131. t2 = evaluated._values[0];
  90132. 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));
  90133. case 1:
  90134. // return
  90135. return A._asyncReturn($async$returnValue, $async$completer);
  90136. case 2:
  90137. // rethrow
  90138. return A._asyncRethrow($async$errorStack.at(-1), $async$completer);
  90139. }
  90140. });
  90141. return A._asyncStartSync($async$_async_evaluate0$_runBuiltInCallable$3, $async$completer);
  90142. },
  90143. _async_evaluate0$_evaluateArguments$1($arguments) {
  90144. return this._evaluateArguments$body$_EvaluateVisitor0($arguments);
  90145. },
  90146. _evaluateArguments$body$_EvaluateVisitor0($arguments) {
  90147. var $async$goto = 0,
  90148. $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),
  90149. $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;
  90150. var $async$_async_evaluate0$_evaluateArguments$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  90151. if ($async$errorCode === 1)
  90152. return A._asyncRethrow($async$result, $async$completer);
  90153. while (true)
  90154. switch ($async$goto) {
  90155. case 0:
  90156. // Function start
  90157. positional = A._setArrayType([], type$.JSArray_Value_2);
  90158. positionalNodes = A._setArrayType([], type$.JSArray_AstNode_2);
  90159. t1 = $arguments.positional, t2 = t1.length, t3 = type$._Future_Value_2, t4 = type$.Future_Value_2, _i = 0;
  90160. case 3:
  90161. // for condition
  90162. if (!(_i < t2)) {
  90163. // goto after for
  90164. $async$goto = 5;
  90165. break;
  90166. }
  90167. expression = t1[_i];
  90168. nodeForSpan = $async$self._async_evaluate0$_expressionNode$1(expression);
  90169. t5 = expression.accept$1($async$self);
  90170. if (!t4._is(t5)) {
  90171. t6 = new A._Future($.Zone__current, t3);
  90172. t6._state = 8;
  90173. t6._resultOrListeners = t5;
  90174. t5 = t6;
  90175. }
  90176. $async$temp1 = positional;
  90177. $async$goto = 6;
  90178. return A._asyncAwait(t5, $async$_async_evaluate0$_evaluateArguments$1);
  90179. case 6:
  90180. // returning from await.
  90181. $async$temp1.push($async$self._async_evaluate0$_withoutSlash$2($async$result, nodeForSpan));
  90182. positionalNodes.push(nodeForSpan);
  90183. case 4:
  90184. // for update
  90185. ++_i;
  90186. // goto for condition
  90187. $async$goto = 3;
  90188. break;
  90189. case 5:
  90190. // after for
  90191. t1 = type$.String;
  90192. named = A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.Value_2);
  90193. t2 = type$.AstNode_2;
  90194. namedNodes = A.LinkedHashMap_LinkedHashMap$_empty(t1, t2);
  90195. t5 = A.MapExtensions_get_pairs0($arguments.named, t1, type$.Expression_2), t5 = t5.get$iterator(t5);
  90196. case 7:
  90197. // for condition
  90198. if (!t5.moveNext$0()) {
  90199. // goto after for
  90200. $async$goto = 8;
  90201. break;
  90202. }
  90203. t6 = t5.get$current(t5);
  90204. $name = t6._0;
  90205. value = t6._1;
  90206. nodeForSpan = $async$self._async_evaluate0$_expressionNode$1(value);
  90207. t6 = value.accept$1($async$self);
  90208. if (!t4._is(t6)) {
  90209. t7 = new A._Future($.Zone__current, t3);
  90210. t7._state = 8;
  90211. t7._resultOrListeners = t6;
  90212. t6 = t7;
  90213. }
  90214. $async$temp1 = named;
  90215. $async$temp2 = $name;
  90216. $async$goto = 9;
  90217. return A._asyncAwait(t6, $async$_async_evaluate0$_evaluateArguments$1);
  90218. case 9:
  90219. // returning from await.
  90220. $async$temp1.$indexSet(0, $async$temp2, $async$self._async_evaluate0$_withoutSlash$2($async$result, nodeForSpan));
  90221. namedNodes.$indexSet(0, $name, nodeForSpan);
  90222. // goto for condition
  90223. $async$goto = 7;
  90224. break;
  90225. case 8:
  90226. // after for
  90227. restArgs = $arguments.rest;
  90228. if (restArgs == null) {
  90229. $async$returnValue = new A._Record_5_named_namedNodes_positional_positionalNodes_separator([named, namedNodes, positional, positionalNodes, B.ListSeparator_undecided_null_undecided0]);
  90230. // goto return
  90231. $async$goto = 1;
  90232. break;
  90233. }
  90234. $async$goto = 10;
  90235. return A._asyncAwait(restArgs.accept$1($async$self), $async$_async_evaluate0$_evaluateArguments$1);
  90236. case 10:
  90237. // returning from await.
  90238. rest = $async$result;
  90239. restNodeForSpan = $async$self._async_evaluate0$_expressionNode$1(restArgs);
  90240. if (rest instanceof A.SassMap0) {
  90241. $async$self._async_evaluate0$_addRestMap$4(named, rest, restArgs, new A._EvaluateVisitor__evaluateArguments_closure11());
  90242. t3 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t2);
  90243. for (t4 = rest._map0$_contents, t4 = J.get$iterator$ax(t4.get$keys(t4)), t5 = type$.SassString_2; t4.moveNext$0();)
  90244. t3.$indexSet(0, t5._as(t4.get$current(t4))._string0$_text, restNodeForSpan);
  90245. namedNodes.addAll$1(0, t3);
  90246. separator = B.ListSeparator_undecided_null_undecided0;
  90247. } else if (rest instanceof A.SassList0) {
  90248. t3 = rest._list1$_contents;
  90249. 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>")));
  90250. B.JSArray_methods.addAll$1(positionalNodes, A.List_List$filled(t3.length, restNodeForSpan, false, t2));
  90251. separator = rest._list1$_separator;
  90252. if (rest instanceof A.SassArgumentList0) {
  90253. rest._argument_list$_wereKeywordsAccessed = true;
  90254. rest._argument_list$_keywords.forEach$1(0, new A._EvaluateVisitor__evaluateArguments_closure13($async$self, named, restNodeForSpan, namedNodes));
  90255. }
  90256. } else {
  90257. positional.push($async$self._async_evaluate0$_withoutSlash$2(rest, restNodeForSpan));
  90258. positionalNodes.push(restNodeForSpan);
  90259. separator = B.ListSeparator_undecided_null_undecided0;
  90260. }
  90261. keywordRestArgs = $arguments.keywordRest;
  90262. if (keywordRestArgs == null) {
  90263. $async$returnValue = new A._Record_5_named_namedNodes_positional_positionalNodes_separator([named, namedNodes, positional, positionalNodes, separator]);
  90264. // goto return
  90265. $async$goto = 1;
  90266. break;
  90267. }
  90268. $async$goto = 11;
  90269. return A._asyncAwait(keywordRestArgs.accept$1($async$self), $async$_async_evaluate0$_evaluateArguments$1);
  90270. case 11:
  90271. // returning from await.
  90272. keywordRest = $async$result;
  90273. keywordRestNodeForSpan = $async$self._async_evaluate0$_expressionNode$1(keywordRestArgs);
  90274. if (keywordRest instanceof A.SassMap0) {
  90275. $async$self._async_evaluate0$_addRestMap$4(named, keywordRest, keywordRestArgs, new A._EvaluateVisitor__evaluateArguments_closure14());
  90276. t1 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t2);
  90277. for (t2 = keywordRest._map0$_contents, t2 = J.get$iterator$ax(t2.get$keys(t2)), t3 = type$.SassString_2; t2.moveNext$0();)
  90278. t1.$indexSet(0, t3._as(t2.get$current(t2))._string0$_text, keywordRestNodeForSpan);
  90279. namedNodes.addAll$1(0, t1);
  90280. $async$returnValue = new A._Record_5_named_namedNodes_positional_positionalNodes_separator([named, namedNodes, positional, positionalNodes, separator]);
  90281. // goto return
  90282. $async$goto = 1;
  90283. break;
  90284. } else
  90285. throw A.wrapException($async$self._async_evaluate0$_exception$2(string$.Variabs + keywordRest.toString$0(0) + ").", keywordRestArgs.get$span(keywordRestArgs)));
  90286. case 1:
  90287. // return
  90288. return A._asyncReturn($async$returnValue, $async$completer);
  90289. }
  90290. });
  90291. return A._asyncStartSync($async$_async_evaluate0$_evaluateArguments$1, $async$completer);
  90292. },
  90293. _async_evaluate0$_evaluateMacroArguments$1(invocation) {
  90294. return this._evaluateMacroArguments$body$_EvaluateVisitor0(invocation);
  90295. },
  90296. _evaluateMacroArguments$body$_EvaluateVisitor0(invocation) {
  90297. var $async$goto = 0,
  90298. $async$completer = A._makeAsyncAwaitCompleter(type$.Record_2_List_Expression_and_Map_String_Expression_2),
  90299. $async$returnValue, $async$self = this, t2, positional, named, rest, restNodeForSpan, keywordRestArgs_, keywordRest, keywordRestNodeForSpan, t1, restArgs_;
  90300. var $async$_async_evaluate0$_evaluateMacroArguments$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  90301. if ($async$errorCode === 1)
  90302. return A._asyncRethrow($async$result, $async$completer);
  90303. while (true)
  90304. switch ($async$goto) {
  90305. case 0:
  90306. // Function start
  90307. t1 = invocation.$arguments;
  90308. restArgs_ = t1.rest;
  90309. if (restArgs_ == null) {
  90310. $async$returnValue = new A._Record_2(t1.positional, t1.named);
  90311. // goto return
  90312. $async$goto = 1;
  90313. break;
  90314. }
  90315. t2 = t1.positional;
  90316. positional = A._setArrayType(t2.slice(0), A._arrayInstanceType(t2));
  90317. named = A.LinkedHashMap_LinkedHashMap$of(t1.named, type$.String, type$.Expression_2);
  90318. $async$goto = 3;
  90319. return A._asyncAwait(restArgs_.accept$1($async$self), $async$_async_evaluate0$_evaluateMacroArguments$1);
  90320. case 3:
  90321. // returning from await.
  90322. rest = $async$result;
  90323. restNodeForSpan = $async$self._async_evaluate0$_expressionNode$1(restArgs_);
  90324. if (rest instanceof A.SassMap0)
  90325. $async$self._async_evaluate0$_addRestMap$4(named, rest, invocation, new A._EvaluateVisitor__evaluateMacroArguments_closure11(restArgs_));
  90326. else if (rest instanceof A.SassList0) {
  90327. t2 = rest._list1$_contents;
  90328. 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>")));
  90329. if (rest instanceof A.SassArgumentList0) {
  90330. rest._argument_list$_wereKeywordsAccessed = true;
  90331. rest._argument_list$_keywords.forEach$1(0, new A._EvaluateVisitor__evaluateMacroArguments_closure13($async$self, named, restNodeForSpan, restArgs_));
  90332. }
  90333. } else
  90334. positional.push(new A.ValueExpression0($async$self._async_evaluate0$_withoutSlash$2(rest, restNodeForSpan), restArgs_.get$span(restArgs_)));
  90335. keywordRestArgs_ = t1.keywordRest;
  90336. if (keywordRestArgs_ == null) {
  90337. $async$returnValue = new A._Record_2(positional, named);
  90338. // goto return
  90339. $async$goto = 1;
  90340. break;
  90341. }
  90342. $async$goto = 4;
  90343. return A._asyncAwait(keywordRestArgs_.accept$1($async$self), $async$_async_evaluate0$_evaluateMacroArguments$1);
  90344. case 4:
  90345. // returning from await.
  90346. keywordRest = $async$result;
  90347. keywordRestNodeForSpan = $async$self._async_evaluate0$_expressionNode$1(keywordRestArgs_);
  90348. if (keywordRest instanceof A.SassMap0) {
  90349. $async$self._async_evaluate0$_addRestMap$4(named, keywordRest, invocation, new A._EvaluateVisitor__evaluateMacroArguments_closure14($async$self, keywordRestNodeForSpan, keywordRestArgs_));
  90350. $async$returnValue = new A._Record_2(positional, named);
  90351. // goto return
  90352. $async$goto = 1;
  90353. break;
  90354. } else
  90355. throw A.wrapException($async$self._async_evaluate0$_exception$2(string$.Variabs + keywordRest.toString$0(0) + ").", keywordRestArgs_.get$span(keywordRestArgs_)));
  90356. case 1:
  90357. // return
  90358. return A._asyncReturn($async$returnValue, $async$completer);
  90359. }
  90360. });
  90361. return A._asyncStartSync($async$_async_evaluate0$_evaluateMacroArguments$1, $async$completer);
  90362. },
  90363. _async_evaluate0$_addRestMap$1$4(values, map, nodeWithSpan, convert) {
  90364. map._map0$_contents.forEach$1(0, new A._EvaluateVisitor__addRestMap_closure2(this, values, convert, this._async_evaluate0$_expressionNode$1(nodeWithSpan), map, nodeWithSpan));
  90365. },
  90366. _async_evaluate0$_addRestMap$4(values, map, nodeWithSpan, convert) {
  90367. convert.toString;
  90368. return this._async_evaluate0$_addRestMap$1$4(values, map, nodeWithSpan, convert, type$.dynamic);
  90369. },
  90370. _async_evaluate0$_verifyArguments$4(positional, named, parameters, nodeWithSpan) {
  90371. return this._async_evaluate0$_addExceptionSpan$2(nodeWithSpan, new A._EvaluateVisitor__verifyArguments_closure2(parameters, positional, named));
  90372. },
  90373. visitSelectorExpression$1(_, node) {
  90374. return this.visitSelectorExpression$body$_EvaluateVisitor0(0, node);
  90375. },
  90376. visitSelectorExpression$body$_EvaluateVisitor0(_, node) {
  90377. var $async$goto = 0,
  90378. $async$completer = A._makeAsyncAwaitCompleter(type$.Value_2),
  90379. $async$returnValue, $async$self = this, t1;
  90380. var $async$visitSelectorExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  90381. if ($async$errorCode === 1)
  90382. return A._asyncRethrow($async$result, $async$completer);
  90383. while (true)
  90384. switch ($async$goto) {
  90385. case 0:
  90386. // Function start
  90387. t1 = $async$self._async_evaluate0$_styleRuleIgnoringAtRoot;
  90388. t1 = t1 == null ? null : t1.originalSelector.get$asSassList();
  90389. $async$returnValue = t1 == null ? B.C__SassNull0 : t1;
  90390. // goto return
  90391. $async$goto = 1;
  90392. break;
  90393. case 1:
  90394. // return
  90395. return A._asyncReturn($async$returnValue, $async$completer);
  90396. }
  90397. });
  90398. return A._asyncStartSync($async$visitSelectorExpression$1, $async$completer);
  90399. },
  90400. visitStringExpression$1(_, node) {
  90401. return this.visitStringExpression$body$_EvaluateVisitor0(0, node);
  90402. },
  90403. visitStringExpression$body$_EvaluateVisitor0(_, node) {
  90404. var $async$goto = 0,
  90405. $async$completer = A._makeAsyncAwaitCompleter(type$.SassString_2),
  90406. $async$returnValue, $async$self = this, t1, t2, t3, _i, value, t4, _0_0, text, oldInSupportsDeclaration;
  90407. var $async$visitStringExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  90408. if ($async$errorCode === 1)
  90409. return A._asyncRethrow($async$result, $async$completer);
  90410. while (true)
  90411. switch ($async$goto) {
  90412. case 0:
  90413. // Function start
  90414. oldInSupportsDeclaration = $async$self._async_evaluate0$_inSupportsDeclaration;
  90415. $async$self._async_evaluate0$_inSupportsDeclaration = false;
  90416. t1 = A._setArrayType([], type$.JSArray_String);
  90417. t2 = node.text.contents, t3 = t2.length, _i = 0;
  90418. case 3:
  90419. // for condition
  90420. if (!(_i < t3)) {
  90421. // goto after for
  90422. $async$goto = 5;
  90423. break;
  90424. }
  90425. value = t2[_i];
  90426. if (typeof value == "string") {
  90427. t4 = value;
  90428. // goto break $label0$0
  90429. $async$goto = 6;
  90430. break;
  90431. }
  90432. $async$goto = value instanceof A.Expression0 ? 7 : 8;
  90433. break;
  90434. case 7:
  90435. // then
  90436. $async$goto = 9;
  90437. return A._asyncAwait(value.accept$1($async$self), $async$visitStringExpression$1);
  90438. case 9:
  90439. // returning from await.
  90440. _0_0 = $async$result;
  90441. $label1$1: {
  90442. if (_0_0 instanceof A.SassString0) {
  90443. text = _0_0._string0$_text;
  90444. t4 = text;
  90445. break $label1$1;
  90446. }
  90447. t4 = $async$self._async_evaluate0$_serialize$3$quote(_0_0, value, false);
  90448. break $label1$1;
  90449. }
  90450. // goto break $label0$0
  90451. $async$goto = 6;
  90452. break;
  90453. case 8:
  90454. // join
  90455. t4 = A.throwExpression(A.UnsupportedError$("Unknown interpolation value " + A.S(value)));
  90456. case 6:
  90457. // break $label0$0
  90458. t1.push(t4);
  90459. case 4:
  90460. // for update
  90461. ++_i;
  90462. // goto for condition
  90463. $async$goto = 3;
  90464. break;
  90465. case 5:
  90466. // after for
  90467. t1 = B.JSArray_methods.join$0(t1);
  90468. $async$self._async_evaluate0$_inSupportsDeclaration = oldInSupportsDeclaration;
  90469. $async$returnValue = new A.SassString0(t1, node.hasQuotes);
  90470. // goto return
  90471. $async$goto = 1;
  90472. break;
  90473. case 1:
  90474. // return
  90475. return A._asyncReturn($async$returnValue, $async$completer);
  90476. }
  90477. });
  90478. return A._asyncStartSync($async$visitStringExpression$1, $async$completer);
  90479. },
  90480. visitSupportsExpression$1(_, expression) {
  90481. return this.visitSupportsExpression$body$_EvaluateVisitor0(0, expression);
  90482. },
  90483. visitSupportsExpression$body$_EvaluateVisitor0(_, expression) {
  90484. var $async$goto = 0,
  90485. $async$completer = A._makeAsyncAwaitCompleter(type$.SassString_2),
  90486. $async$returnValue, $async$self = this, $async$temp1;
  90487. var $async$visitSupportsExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  90488. if ($async$errorCode === 1)
  90489. return A._asyncRethrow($async$result, $async$completer);
  90490. while (true)
  90491. switch ($async$goto) {
  90492. case 0:
  90493. // Function start
  90494. $async$temp1 = A;
  90495. $async$goto = 3;
  90496. return A._asyncAwait($async$self._async_evaluate0$_visitSupportsCondition$1(expression.condition), $async$visitSupportsExpression$1);
  90497. case 3:
  90498. // returning from await.
  90499. $async$returnValue = new $async$temp1.SassString0($async$result, false);
  90500. // goto return
  90501. $async$goto = 1;
  90502. break;
  90503. case 1:
  90504. // return
  90505. return A._asyncReturn($async$returnValue, $async$completer);
  90506. }
  90507. });
  90508. return A._asyncStartSync($async$visitSupportsExpression$1, $async$completer);
  90509. },
  90510. visitCssAtRule$1(node) {
  90511. return this.visitCssAtRule$body$_EvaluateVisitor0(node);
  90512. },
  90513. visitCssAtRule$body$_EvaluateVisitor0(node) {
  90514. var $async$goto = 0,
  90515. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  90516. $async$returnValue, $async$self = this, wasInKeyframes, wasInUnknownAtRule, t1;
  90517. var $async$visitCssAtRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  90518. if ($async$errorCode === 1)
  90519. return A._asyncRethrow($async$result, $async$completer);
  90520. while (true)
  90521. switch ($async$goto) {
  90522. case 0:
  90523. // Function start
  90524. if ($async$self._async_evaluate0$_declarationName != null)
  90525. throw A.wrapException($async$self._async_evaluate0$_exception$2(string$.At_rul, node.span));
  90526. if (node.isChildless) {
  90527. $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__parent, "__parent").addChild$1(A.ModifiableCssAtRule$0(node.name, node.span, true, node.value));
  90528. // goto return
  90529. $async$goto = 1;
  90530. break;
  90531. }
  90532. wasInKeyframes = $async$self._async_evaluate0$_inKeyframes;
  90533. wasInUnknownAtRule = $async$self._async_evaluate0$_inUnknownAtRule;
  90534. t1 = node.name;
  90535. if (A.unvendor0(t1.value) === "keyframes")
  90536. $async$self._async_evaluate0$_inKeyframes = true;
  90537. else
  90538. $async$self._async_evaluate0$_inUnknownAtRule = true;
  90539. $async$goto = 3;
  90540. 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);
  90541. case 3:
  90542. // returning from await.
  90543. $async$self._async_evaluate0$_inUnknownAtRule = wasInUnknownAtRule;
  90544. $async$self._async_evaluate0$_inKeyframes = wasInKeyframes;
  90545. case 1:
  90546. // return
  90547. return A._asyncReturn($async$returnValue, $async$completer);
  90548. }
  90549. });
  90550. return A._asyncStartSync($async$visitCssAtRule$1, $async$completer);
  90551. },
  90552. visitCssComment$1(node) {
  90553. return this.visitCssComment$body$_EvaluateVisitor0(node);
  90554. },
  90555. visitCssComment$body$_EvaluateVisitor0(node) {
  90556. var $async$goto = 0,
  90557. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  90558. $async$self = this;
  90559. var $async$visitCssComment$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  90560. if ($async$errorCode === 1)
  90561. return A._asyncRethrow($async$result, $async$completer);
  90562. while (true)
  90563. switch ($async$goto) {
  90564. case 0:
  90565. // Function start
  90566. 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))
  90567. $async$self._async_evaluate0$__endOfImports = $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__endOfImports, "_endOfImports") + 1;
  90568. $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__parent, "__parent").addChild$1(new A.ModifiableCssComment0(node.text, node.span));
  90569. // implicit return
  90570. return A._asyncReturn(null, $async$completer);
  90571. }
  90572. });
  90573. return A._asyncStartSync($async$visitCssComment$1, $async$completer);
  90574. },
  90575. visitCssDeclaration$1(node) {
  90576. return this.visitCssDeclaration$body$_EvaluateVisitor0(node);
  90577. },
  90578. visitCssDeclaration$body$_EvaluateVisitor0(node) {
  90579. var $async$goto = 0,
  90580. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  90581. $async$self = this;
  90582. var $async$visitCssDeclaration$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  90583. if ($async$errorCode === 1)
  90584. return A._asyncRethrow($async$result, $async$completer);
  90585. while (true)
  90586. switch ($async$goto) {
  90587. case 0:
  90588. // Function start
  90589. $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));
  90590. // implicit return
  90591. return A._asyncReturn(null, $async$completer);
  90592. }
  90593. });
  90594. return A._asyncStartSync($async$visitCssDeclaration$1, $async$completer);
  90595. },
  90596. visitCssImport$1(node) {
  90597. return this.visitCssImport$body$_EvaluateVisitor0(node);
  90598. },
  90599. visitCssImport$body$_EvaluateVisitor0(node) {
  90600. var $async$goto = 0,
  90601. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  90602. $async$self = this, t1, modifiableNode;
  90603. var $async$visitCssImport$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  90604. if ($async$errorCode === 1)
  90605. return A._asyncRethrow($async$result, $async$completer);
  90606. while (true)
  90607. switch ($async$goto) {
  90608. case 0:
  90609. // Function start
  90610. modifiableNode = new A.ModifiableCssImport0(node.url, node.modifiers, node.span);
  90611. 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"))
  90612. $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__parent, "__parent").addChild$1(modifiableNode);
  90613. 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)) {
  90614. $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__root, "_root").addChild$1(modifiableNode);
  90615. $async$self._async_evaluate0$__endOfImports = $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__endOfImports, "_endOfImports") + 1;
  90616. } else {
  90617. t1 = $async$self._async_evaluate0$_outOfOrderImports;
  90618. (t1 == null ? $async$self._async_evaluate0$_outOfOrderImports = A._setArrayType([], type$.JSArray_ModifiableCssImport_2) : t1).push(modifiableNode);
  90619. }
  90620. // implicit return
  90621. return A._asyncReturn(null, $async$completer);
  90622. }
  90623. });
  90624. return A._asyncStartSync($async$visitCssImport$1, $async$completer);
  90625. },
  90626. visitCssKeyframeBlock$1(node) {
  90627. return this.visitCssKeyframeBlock$body$_EvaluateVisitor0(node);
  90628. },
  90629. visitCssKeyframeBlock$body$_EvaluateVisitor0(node) {
  90630. var $async$goto = 0,
  90631. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  90632. $async$self = this;
  90633. var $async$visitCssKeyframeBlock$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  90634. if ($async$errorCode === 1)
  90635. return A._asyncRethrow($async$result, $async$completer);
  90636. while (true)
  90637. switch ($async$goto) {
  90638. case 0:
  90639. // Function start
  90640. $async$goto = 2;
  90641. 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);
  90642. case 2:
  90643. // returning from await.
  90644. // implicit return
  90645. return A._asyncReturn(null, $async$completer);
  90646. }
  90647. });
  90648. return A._asyncStartSync($async$visitCssKeyframeBlock$1, $async$completer);
  90649. },
  90650. visitCssMediaRule$1(node) {
  90651. return this.visitCssMediaRule$body$_EvaluateVisitor0(node);
  90652. },
  90653. visitCssMediaRule$body$_EvaluateVisitor0(node) {
  90654. var $async$goto = 0,
  90655. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  90656. $async$returnValue, $async$self = this, mergedQueries, t1, mergedSources, t2, t3;
  90657. var $async$visitCssMediaRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  90658. if ($async$errorCode === 1)
  90659. return A._asyncRethrow($async$result, $async$completer);
  90660. while (true)
  90661. switch ($async$goto) {
  90662. case 0:
  90663. // Function start
  90664. if ($async$self._async_evaluate0$_declarationName != null)
  90665. throw A.wrapException($async$self._async_evaluate0$_exception$2(string$.Media_, node.span));
  90666. mergedQueries = A.NullableExtension_andThen0($async$self._async_evaluate0$_mediaQueries, new A._EvaluateVisitor_visitCssMediaRule_closure8($async$self, node));
  90667. t1 = mergedQueries == null;
  90668. if (!t1 && J.get$isEmpty$asx(mergedQueries)) {
  90669. // goto return
  90670. $async$goto = 1;
  90671. break;
  90672. }
  90673. if (t1)
  90674. mergedSources = B.Set_empty6;
  90675. else {
  90676. t2 = $async$self._async_evaluate0$_mediaQuerySources;
  90677. t2.toString;
  90678. t2 = A.LinkedHashSet_LinkedHashSet$of(t2, type$.CssMediaQuery_2);
  90679. t3 = $async$self._async_evaluate0$_mediaQueries;
  90680. t3.toString;
  90681. t2.addAll$1(0, t3);
  90682. t2.addAll$1(0, node.queries);
  90683. mergedSources = t2;
  90684. }
  90685. t1 = t1 ? node.queries : mergedQueries;
  90686. $async$goto = 3;
  90687. 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);
  90688. case 3:
  90689. // returning from await.
  90690. case 1:
  90691. // return
  90692. return A._asyncReturn($async$returnValue, $async$completer);
  90693. }
  90694. });
  90695. return A._asyncStartSync($async$visitCssMediaRule$1, $async$completer);
  90696. },
  90697. visitCssStyleRule$1(node) {
  90698. return this.visitCssStyleRule$body$_EvaluateVisitor0(node);
  90699. },
  90700. visitCssStyleRule$body$_EvaluateVisitor0(node) {
  90701. var $async$goto = 0,
  90702. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  90703. $async$self = this, t1, styleRule, _0_0, t2, t3, originalSelector, rule, oldAtRootExcludingStyleRule, _1_1, lastChild;
  90704. var $async$visitCssStyleRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  90705. if ($async$errorCode === 1)
  90706. return A._asyncRethrow($async$result, $async$completer);
  90707. while (true)
  90708. switch ($async$goto) {
  90709. case 0:
  90710. // Function start
  90711. if ($async$self._async_evaluate0$_declarationName != null)
  90712. throw A.wrapException($async$self._async_evaluate0$_exception$2(string$.Style_n, node.span));
  90713. else if ($async$self._async_evaluate0$_inKeyframes && $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__parent, "__parent") instanceof A.ModifiableCssKeyframeBlock0)
  90714. throw A.wrapException($async$self._async_evaluate0$_exception$2(string$.Style_k, node.span));
  90715. t1 = $async$self._async_evaluate0$_atRootExcludingStyleRule;
  90716. styleRule = t1 ? null : $async$self._async_evaluate0$_styleRuleIgnoringAtRoot;
  90717. _0_0 = t1 ? null : $async$self._async_evaluate0$_styleRuleIgnoringAtRoot;
  90718. $label0$0: {
  90719. if (_0_0 == null) {
  90720. t1 = true;
  90721. break $label0$0;
  90722. }
  90723. if (_0_0.fromPlainCss) {
  90724. t1 = false;
  90725. break $label0$0;
  90726. }
  90727. t1 = !(node.fromPlainCss && node._style_rule0$_selector._box0$_inner.value.accept$1(B.C__ContainsParentSelectorVisitor0));
  90728. break $label0$0;
  90729. }
  90730. t2 = node._style_rule0$_selector._box0$_inner;
  90731. if (t1) {
  90732. t2 = t2.value;
  90733. t3 = styleRule == null ? null : styleRule.originalSelector;
  90734. originalSelector = t2.nestWithin$3$implicitParent$preserveParentSelectors(t3, !$async$self._async_evaluate0$_atRootExcludingStyleRule, node.fromPlainCss);
  90735. } else
  90736. originalSelector = t2.value;
  90737. 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);
  90738. oldAtRootExcludingStyleRule = $async$self._async_evaluate0$_atRootExcludingStyleRule;
  90739. $async$self._async_evaluate0$_atRootExcludingStyleRule = false;
  90740. t1 = t1 ? new A._EvaluateVisitor_visitCssStyleRule_closure5() : null;
  90741. $async$goto = 2;
  90742. 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);
  90743. case 2:
  90744. // returning from await.
  90745. $async$self._async_evaluate0$_atRootExcludingStyleRule = oldAtRootExcludingStyleRule;
  90746. t1 = $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__parent, "__parent").children._collection$_source;
  90747. t2 = J.getInterceptor$asx(t1);
  90748. _1_1 = t2.get$length(t1);
  90749. if (_1_1 >= 1) {
  90750. lastChild = t2.elementAt$1(t1, _1_1 - 1);
  90751. t1 = styleRule == null;
  90752. } else {
  90753. lastChild = null;
  90754. t1 = false;
  90755. }
  90756. if (t1)
  90757. lastChild.isGroupEnd = true;
  90758. // implicit return
  90759. return A._asyncReturn(null, $async$completer);
  90760. }
  90761. });
  90762. return A._asyncStartSync($async$visitCssStyleRule$1, $async$completer);
  90763. },
  90764. visitCssStylesheet$1(node) {
  90765. return this.visitCssStylesheet$body$_EvaluateVisitor0(node);
  90766. },
  90767. visitCssStylesheet$body$_EvaluateVisitor0(node) {
  90768. var $async$goto = 0,
  90769. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  90770. $async$self = this, t1;
  90771. var $async$visitCssStylesheet$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  90772. if ($async$errorCode === 1)
  90773. return A._asyncRethrow($async$result, $async$completer);
  90774. while (true)
  90775. switch ($async$goto) {
  90776. case 0:
  90777. // Function start
  90778. t1 = J.get$iterator$ax(node.get$children(node));
  90779. case 2:
  90780. // for condition
  90781. if (!t1.moveNext$0()) {
  90782. // goto after for
  90783. $async$goto = 3;
  90784. break;
  90785. }
  90786. $async$goto = 4;
  90787. return A._asyncAwait(t1.get$current(t1).accept$1($async$self), $async$visitCssStylesheet$1);
  90788. case 4:
  90789. // returning from await.
  90790. // goto for condition
  90791. $async$goto = 2;
  90792. break;
  90793. case 3:
  90794. // after for
  90795. // implicit return
  90796. return A._asyncReturn(null, $async$completer);
  90797. }
  90798. });
  90799. return A._asyncStartSync($async$visitCssStylesheet$1, $async$completer);
  90800. },
  90801. visitCssSupportsRule$1(node) {
  90802. return this.visitCssSupportsRule$body$_EvaluateVisitor0(node);
  90803. },
  90804. visitCssSupportsRule$body$_EvaluateVisitor0(node) {
  90805. var $async$goto = 0,
  90806. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  90807. $async$self = this;
  90808. var $async$visitCssSupportsRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  90809. if ($async$errorCode === 1)
  90810. return A._asyncRethrow($async$result, $async$completer);
  90811. while (true)
  90812. switch ($async$goto) {
  90813. case 0:
  90814. // Function start
  90815. if ($async$self._async_evaluate0$_declarationName != null)
  90816. throw A.wrapException($async$self._async_evaluate0$_exception$2(string$.Suppor, node.span));
  90817. $async$goto = 2;
  90818. 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);
  90819. case 2:
  90820. // returning from await.
  90821. // implicit return
  90822. return A._asyncReturn(null, $async$completer);
  90823. }
  90824. });
  90825. return A._asyncStartSync($async$visitCssSupportsRule$1, $async$completer);
  90826. },
  90827. _async_evaluate0$_handleReturn$1$2(list, callback) {
  90828. return this._handleReturn$body$_EvaluateVisitor0(list, callback);
  90829. },
  90830. _async_evaluate0$_handleReturn$2(list, callback) {
  90831. callback.toString;
  90832. return this._async_evaluate0$_handleReturn$1$2(list, callback, type$.dynamic);
  90833. },
  90834. _handleReturn$body$_EvaluateVisitor0(list, callback) {
  90835. var $async$goto = 0,
  90836. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
  90837. $async$returnValue, t1, _i, _0_0;
  90838. var $async$_async_evaluate0$_handleReturn$1$2 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  90839. if ($async$errorCode === 1)
  90840. return A._asyncRethrow($async$result, $async$completer);
  90841. while (true)
  90842. switch ($async$goto) {
  90843. case 0:
  90844. // Function start
  90845. t1 = list.length, _i = 0;
  90846. case 3:
  90847. // for condition
  90848. if (!(_i < list.length)) {
  90849. // goto after for
  90850. $async$goto = 5;
  90851. break;
  90852. }
  90853. $async$goto = 6;
  90854. return A._asyncAwait(callback.call$1(list[_i]), $async$_async_evaluate0$_handleReturn$1$2);
  90855. case 6:
  90856. // returning from await.
  90857. _0_0 = $async$result;
  90858. if (_0_0 != null) {
  90859. $async$returnValue = _0_0;
  90860. // goto return
  90861. $async$goto = 1;
  90862. break;
  90863. }
  90864. case 4:
  90865. // for update
  90866. list.length === t1 || (0, A.throwConcurrentModificationError)(list), ++_i;
  90867. // goto for condition
  90868. $async$goto = 3;
  90869. break;
  90870. case 5:
  90871. // after for
  90872. $async$returnValue = null;
  90873. // goto return
  90874. $async$goto = 1;
  90875. break;
  90876. case 1:
  90877. // return
  90878. return A._asyncReturn($async$returnValue, $async$completer);
  90879. }
  90880. });
  90881. return A._asyncStartSync($async$_async_evaluate0$_handleReturn$1$2, $async$completer);
  90882. },
  90883. _async_evaluate0$_withEnvironment$1$2(environment, callback, $T) {
  90884. return this._withEnvironment$body$_EvaluateVisitor0(environment, callback, $T, $T);
  90885. },
  90886. _withEnvironment$body$_EvaluateVisitor0(environment, callback, $T, $async$type) {
  90887. var $async$goto = 0,
  90888. $async$completer = A._makeAsyncAwaitCompleter($async$type),
  90889. $async$returnValue, $async$self = this, result, oldEnvironment;
  90890. var $async$_async_evaluate0$_withEnvironment$1$2 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  90891. if ($async$errorCode === 1)
  90892. return A._asyncRethrow($async$result, $async$completer);
  90893. while (true)
  90894. switch ($async$goto) {
  90895. case 0:
  90896. // Function start
  90897. oldEnvironment = $async$self._async_evaluate0$_environment;
  90898. $async$self._async_evaluate0$_environment = environment;
  90899. $async$goto = 3;
  90900. return A._asyncAwait(callback.call$0(), $async$_async_evaluate0$_withEnvironment$1$2);
  90901. case 3:
  90902. // returning from await.
  90903. result = $async$result;
  90904. $async$self._async_evaluate0$_environment = oldEnvironment;
  90905. $async$returnValue = result;
  90906. // goto return
  90907. $async$goto = 1;
  90908. break;
  90909. case 1:
  90910. // return
  90911. return A._asyncReturn($async$returnValue, $async$completer);
  90912. }
  90913. });
  90914. return A._asyncStartSync($async$_async_evaluate0$_withEnvironment$1$2, $async$completer);
  90915. },
  90916. _async_evaluate0$_interpolationToValue$3$trim$warnForColor(interpolation, trim, warnForColor) {
  90917. return this._interpolationToValue$body$_EvaluateVisitor0(interpolation, trim, warnForColor);
  90918. },
  90919. _async_evaluate0$_interpolationToValue$1(interpolation) {
  90920. return this._async_evaluate0$_interpolationToValue$3$trim$warnForColor(interpolation, false, false);
  90921. },
  90922. _async_evaluate0$_interpolationToValue$2$warnForColor(interpolation, warnForColor) {
  90923. return this._async_evaluate0$_interpolationToValue$3$trim$warnForColor(interpolation, false, warnForColor);
  90924. },
  90925. _interpolationToValue$body$_EvaluateVisitor0(interpolation, trim, warnForColor) {
  90926. var $async$goto = 0,
  90927. $async$completer = A._makeAsyncAwaitCompleter(type$.CssValue_String_2),
  90928. $async$returnValue, $async$self = this, result, t1;
  90929. var $async$_async_evaluate0$_interpolationToValue$3$trim$warnForColor = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  90930. if ($async$errorCode === 1)
  90931. return A._asyncRethrow($async$result, $async$completer);
  90932. while (true)
  90933. switch ($async$goto) {
  90934. case 0:
  90935. // Function start
  90936. $async$goto = 3;
  90937. return A._asyncAwait($async$self._async_evaluate0$_performInterpolation$2$warnForColor(interpolation, warnForColor), $async$_async_evaluate0$_interpolationToValue$3$trim$warnForColor);
  90938. case 3:
  90939. // returning from await.
  90940. result = $async$result;
  90941. t1 = trim ? A.trimAscii0(result, true) : result;
  90942. $async$returnValue = new A.CssValue0(t1, interpolation.span, type$.CssValue_String_2);
  90943. // goto return
  90944. $async$goto = 1;
  90945. break;
  90946. case 1:
  90947. // return
  90948. return A._asyncReturn($async$returnValue, $async$completer);
  90949. }
  90950. });
  90951. return A._asyncStartSync($async$_async_evaluate0$_interpolationToValue$3$trim$warnForColor, $async$completer);
  90952. },
  90953. _async_evaluate0$_performInterpolation$2$warnForColor(interpolation, warnForColor) {
  90954. return this._performInterpolation$body$_EvaluateVisitor0(interpolation, warnForColor);
  90955. },
  90956. _async_evaluate0$_performInterpolation$1(interpolation) {
  90957. return this._async_evaluate0$_performInterpolation$2$warnForColor(interpolation, false);
  90958. },
  90959. _performInterpolation$body$_EvaluateVisitor0(interpolation, warnForColor) {
  90960. var $async$goto = 0,
  90961. $async$completer = A._makeAsyncAwaitCompleter(type$.String),
  90962. $async$returnValue, $async$self = this;
  90963. var $async$_async_evaluate0$_performInterpolation$2$warnForColor = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  90964. if ($async$errorCode === 1)
  90965. return A._asyncRethrow($async$result, $async$completer);
  90966. while (true)
  90967. switch ($async$goto) {
  90968. case 0:
  90969. // Function start
  90970. $async$goto = 3;
  90971. return A._asyncAwait($async$self._async_evaluate0$_performInterpolationHelper$3$sourceMap$warnForColor(interpolation, false, warnForColor), $async$_async_evaluate0$_performInterpolation$2$warnForColor);
  90972. case 3:
  90973. // returning from await.
  90974. $async$returnValue = $async$result._0;
  90975. // goto return
  90976. $async$goto = 1;
  90977. break;
  90978. case 1:
  90979. // return
  90980. return A._asyncReturn($async$returnValue, $async$completer);
  90981. }
  90982. });
  90983. return A._asyncStartSync($async$_async_evaluate0$_performInterpolation$2$warnForColor, $async$completer);
  90984. },
  90985. _async_evaluate0$_performInterpolationWithMap$2$warnForColor(interpolation, warnForColor) {
  90986. return this._performInterpolationWithMap$body$_EvaluateVisitor0(interpolation, true);
  90987. },
  90988. _performInterpolationWithMap$body$_EvaluateVisitor0(interpolation, warnForColor) {
  90989. var $async$goto = 0,
  90990. $async$completer = A._makeAsyncAwaitCompleter(type$.Record_2_String_and_InterpolationMap_2),
  90991. $async$returnValue, $async$self = this, _0_0, result, map;
  90992. var $async$_async_evaluate0$_performInterpolationWithMap$2$warnForColor = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  90993. if ($async$errorCode === 1)
  90994. return A._asyncRethrow($async$result, $async$completer);
  90995. while (true)
  90996. switch ($async$goto) {
  90997. case 0:
  90998. // Function start
  90999. $async$goto = 3;
  91000. return A._asyncAwait($async$self._async_evaluate0$_performInterpolationHelper$3$sourceMap$warnForColor(interpolation, true, true), $async$_async_evaluate0$_performInterpolationWithMap$2$warnForColor);
  91001. case 3:
  91002. // returning from await.
  91003. _0_0 = $async$result;
  91004. result = _0_0._0;
  91005. map = _0_0._1;
  91006. map.toString;
  91007. $async$returnValue = new A._Record_2(result, map);
  91008. // goto return
  91009. $async$goto = 1;
  91010. break;
  91011. case 1:
  91012. // return
  91013. return A._asyncReturn($async$returnValue, $async$completer);
  91014. }
  91015. });
  91016. return A._asyncStartSync($async$_async_evaluate0$_performInterpolationWithMap$2$warnForColor, $async$completer);
  91017. },
  91018. _async_evaluate0$_performInterpolationHelper$3$sourceMap$warnForColor(interpolation, sourceMap, warnForColor) {
  91019. return this._performInterpolationHelper$body$_EvaluateVisitor0(interpolation, sourceMap, warnForColor);
  91020. },
  91021. _performInterpolationHelper$body$_EvaluateVisitor0(interpolation, sourceMap, warnForColor) {
  91022. var $async$goto = 0,
  91023. $async$completer = A._makeAsyncAwaitCompleter(type$.Record_2_String_and_nullable_InterpolationMap_2),
  91024. $async$returnValue, $async$self = this, t1, t2, t3, t4, t5, t6, first, _i, t7, value, result, result0, t8, targetLocations, oldInSupportsDeclaration;
  91025. var $async$_async_evaluate0$_performInterpolationHelper$3$sourceMap$warnForColor = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  91026. if ($async$errorCode === 1)
  91027. return A._asyncRethrow($async$result, $async$completer);
  91028. while (true)
  91029. switch ($async$goto) {
  91030. case 0:
  91031. // Function start
  91032. targetLocations = sourceMap ? A._setArrayType([], type$.JSArray_SourceLocation) : null;
  91033. oldInSupportsDeclaration = $async$self._async_evaluate0$_inSupportsDeclaration;
  91034. $async$self._async_evaluate0$_inSupportsDeclaration = false;
  91035. t1 = interpolation.contents, t2 = t1.length, t3 = type$.Expression_2, t4 = targetLocations == null, t5 = interpolation.span, t6 = type$.Object, first = true, _i = 0, t7 = "";
  91036. case 3:
  91037. // for condition
  91038. if (!(_i < t2)) {
  91039. // goto after for
  91040. $async$goto = 5;
  91041. break;
  91042. }
  91043. value = t1[_i];
  91044. if (!first)
  91045. if (!t4)
  91046. targetLocations.push(A.SourceLocation$(t7.length, null, null, null));
  91047. if (typeof value == "string") {
  91048. t7 += value;
  91049. // goto for update
  91050. $async$goto = 4;
  91051. break;
  91052. }
  91053. t3._as(value);
  91054. $async$goto = 6;
  91055. return A._asyncAwait(value.accept$1($async$self), $async$_async_evaluate0$_performInterpolationHelper$3$sourceMap$warnForColor);
  91056. case 6:
  91057. // returning from await.
  91058. result = $async$result;
  91059. if (warnForColor && $.$get$namesByColor0().containsKey$1(result)) {
  91060. result0 = A.List_List$from([""], false, t6);
  91061. result0.$flags = 3;
  91062. t8 = $.$get$namesByColor0();
  91063. $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));
  91064. }
  91065. t7 += $async$self._async_evaluate0$_serialize$3$quote(result, value, false);
  91066. case 4:
  91067. // for update
  91068. ++_i, first = false;
  91069. // goto for condition
  91070. $async$goto = 3;
  91071. break;
  91072. case 5:
  91073. // after for
  91074. $async$self._async_evaluate0$_inSupportsDeclaration = oldInSupportsDeclaration;
  91075. $async$returnValue = new A._Record_2(t7.charCodeAt(0) == 0 ? t7 : t7, A.NullableExtension_andThen0(targetLocations, new A._EvaluateVisitor__performInterpolationHelper_closure2(interpolation)));
  91076. // goto return
  91077. $async$goto = 1;
  91078. break;
  91079. case 1:
  91080. // return
  91081. return A._asyncReturn($async$returnValue, $async$completer);
  91082. }
  91083. });
  91084. return A._asyncStartSync($async$_async_evaluate0$_performInterpolationHelper$3$sourceMap$warnForColor, $async$completer);
  91085. },
  91086. _async_evaluate0$_evaluateToCss$2$quote(expression, quote) {
  91087. return this._evaluateToCss$body$_EvaluateVisitor0(expression, quote);
  91088. },
  91089. _async_evaluate0$_evaluateToCss$1(expression) {
  91090. return this._async_evaluate0$_evaluateToCss$2$quote(expression, true);
  91091. },
  91092. _evaluateToCss$body$_EvaluateVisitor0(expression, quote) {
  91093. var $async$goto = 0,
  91094. $async$completer = A._makeAsyncAwaitCompleter(type$.String),
  91095. $async$returnValue, $async$self = this, t1;
  91096. var $async$_async_evaluate0$_evaluateToCss$2$quote = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  91097. if ($async$errorCode === 1)
  91098. return A._asyncRethrow($async$result, $async$completer);
  91099. while (true)
  91100. switch ($async$goto) {
  91101. case 0:
  91102. // Function start
  91103. t1 = expression.accept$1($async$self);
  91104. $async$goto = 3;
  91105. return A._asyncAwait(type$.Future_Value_2._is(t1) ? t1 : A._Future$value(t1, type$.Value_2), $async$_async_evaluate0$_evaluateToCss$2$quote);
  91106. case 3:
  91107. // returning from await.
  91108. $async$returnValue = $async$self._async_evaluate0$_serialize$3$quote($async$result, expression, quote);
  91109. // goto return
  91110. $async$goto = 1;
  91111. break;
  91112. case 1:
  91113. // return
  91114. return A._asyncReturn($async$returnValue, $async$completer);
  91115. }
  91116. });
  91117. return A._asyncStartSync($async$_async_evaluate0$_evaluateToCss$2$quote, $async$completer);
  91118. },
  91119. _async_evaluate0$_serialize$3$quote(value, nodeWithSpan, quote) {
  91120. return this._async_evaluate0$_addExceptionSpan$2(nodeWithSpan, new A._EvaluateVisitor__serialize_closure2(value, quote));
  91121. },
  91122. _async_evaluate0$_serialize$2(value, nodeWithSpan) {
  91123. return this._async_evaluate0$_serialize$3$quote(value, nodeWithSpan, true);
  91124. },
  91125. _async_evaluate0$_expressionNode$1(expression) {
  91126. var t1;
  91127. if (expression instanceof A.VariableExpression0) {
  91128. t1 = this._async_evaluate0$_addExceptionSpan$2(expression, new A._EvaluateVisitor__expressionNode_closure2(this, expression));
  91129. return t1 == null ? expression : t1;
  91130. } else
  91131. return expression;
  91132. },
  91133. _async_evaluate0$_withParent$2$4$scopeWhen$through(node, callback, scopeWhen, through, $S, $T) {
  91134. return this._withParent$body$_EvaluateVisitor0(node, callback, scopeWhen, through, $S, $T, $T);
  91135. },
  91136. _async_evaluate0$_withParent$2$2(node, callback, $S, $T) {
  91137. node.toString;
  91138. callback.toString;
  91139. return this._async_evaluate0$_withParent$2$4$scopeWhen$through(node, callback, true, null, $S, $T);
  91140. },
  91141. _async_evaluate0$_withParent$2$3$scopeWhen(node, callback, scopeWhen, $S, $T) {
  91142. node.toString;
  91143. callback.toString;
  91144. return this._async_evaluate0$_withParent$2$4$scopeWhen$through(node, callback, scopeWhen, null, $S, $T);
  91145. },
  91146. _withParent$body$_EvaluateVisitor0(node, callback, scopeWhen, through, $S, $T, $async$type) {
  91147. var $async$goto = 0,
  91148. $async$completer = A._makeAsyncAwaitCompleter($async$type),
  91149. $async$returnValue, $async$self = this, oldParent, result;
  91150. var $async$_async_evaluate0$_withParent$2$4$scopeWhen$through = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  91151. if ($async$errorCode === 1)
  91152. return A._asyncRethrow($async$result, $async$completer);
  91153. while (true)
  91154. switch ($async$goto) {
  91155. case 0:
  91156. // Function start
  91157. $async$self._async_evaluate0$_addChild$2$through(node, through);
  91158. oldParent = $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__parent, "__parent");
  91159. $async$self._async_evaluate0$__parent = node;
  91160. $async$goto = 3;
  91161. return A._asyncAwait($async$self._async_evaluate0$_environment.scope$1$2$when(callback, scopeWhen, $T), $async$_async_evaluate0$_withParent$2$4$scopeWhen$through);
  91162. case 3:
  91163. // returning from await.
  91164. result = $async$result;
  91165. $async$self._async_evaluate0$__parent = oldParent;
  91166. $async$returnValue = result;
  91167. // goto return
  91168. $async$goto = 1;
  91169. break;
  91170. case 1:
  91171. // return
  91172. return A._asyncReturn($async$returnValue, $async$completer);
  91173. }
  91174. });
  91175. return A._asyncStartSync($async$_async_evaluate0$_withParent$2$4$scopeWhen$through, $async$completer);
  91176. },
  91177. _async_evaluate0$_addChild$2$through(node, through) {
  91178. var _0_0, grandparent, t1,
  91179. $parent = this._async_evaluate0$_assertInModule$2(this._async_evaluate0$__parent, "__parent");
  91180. if (through != null) {
  91181. for (; through.call$1($parent); $parent = _0_0) {
  91182. _0_0 = $parent._node$_parent;
  91183. if (_0_0 == null)
  91184. throw A.wrapException(A.ArgumentError$(string$.throug + node.toString$0(0) + ".", null));
  91185. }
  91186. if ($parent.get$hasFollowingSibling()) {
  91187. grandparent = $parent._node$_parent;
  91188. t1 = grandparent.children;
  91189. if ($parent.equalsIgnoringChildren$1(t1.get$last(t1)))
  91190. $parent = type$.ModifiableCssParentNode_2._as(t1.get$last(t1));
  91191. else {
  91192. $parent = $parent.copyWithoutChildren$0();
  91193. grandparent.addChild$1($parent);
  91194. }
  91195. }
  91196. }
  91197. $parent.addChild$1(node);
  91198. },
  91199. _async_evaluate0$_addChild$1(node) {
  91200. return this._async_evaluate0$_addChild$2$through(node, null);
  91201. },
  91202. _async_evaluate0$_withStyleRule$1$2(rule, callback, $T) {
  91203. return this._withStyleRule$body$_EvaluateVisitor0(rule, callback, $T, $T);
  91204. },
  91205. _withStyleRule$body$_EvaluateVisitor0(rule, callback, $T, $async$type) {
  91206. var $async$goto = 0,
  91207. $async$completer = A._makeAsyncAwaitCompleter($async$type),
  91208. $async$returnValue, $async$self = this, result, oldRule;
  91209. var $async$_async_evaluate0$_withStyleRule$1$2 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  91210. if ($async$errorCode === 1)
  91211. return A._asyncRethrow($async$result, $async$completer);
  91212. while (true)
  91213. switch ($async$goto) {
  91214. case 0:
  91215. // Function start
  91216. oldRule = $async$self._async_evaluate0$_styleRuleIgnoringAtRoot;
  91217. $async$self._async_evaluate0$_styleRuleIgnoringAtRoot = rule;
  91218. $async$goto = 3;
  91219. return A._asyncAwait(callback.call$0(), $async$_async_evaluate0$_withStyleRule$1$2);
  91220. case 3:
  91221. // returning from await.
  91222. result = $async$result;
  91223. $async$self._async_evaluate0$_styleRuleIgnoringAtRoot = oldRule;
  91224. $async$returnValue = result;
  91225. // goto return
  91226. $async$goto = 1;
  91227. break;
  91228. case 1:
  91229. // return
  91230. return A._asyncReturn($async$returnValue, $async$completer);
  91231. }
  91232. });
  91233. return A._asyncStartSync($async$_async_evaluate0$_withStyleRule$1$2, $async$completer);
  91234. },
  91235. _async_evaluate0$_withMediaQueries$1$3(queries, sources, callback, $T) {
  91236. return this._withMediaQueries$body$_EvaluateVisitor0(queries, sources, callback, $T, $T);
  91237. },
  91238. _withMediaQueries$body$_EvaluateVisitor0(queries, sources, callback, $T, $async$type) {
  91239. var $async$goto = 0,
  91240. $async$completer = A._makeAsyncAwaitCompleter($async$type),
  91241. $async$returnValue, $async$self = this, result, oldMediaQueries, oldSources;
  91242. var $async$_async_evaluate0$_withMediaQueries$1$3 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  91243. if ($async$errorCode === 1)
  91244. return A._asyncRethrow($async$result, $async$completer);
  91245. while (true)
  91246. switch ($async$goto) {
  91247. case 0:
  91248. // Function start
  91249. oldMediaQueries = $async$self._async_evaluate0$_mediaQueries;
  91250. oldSources = $async$self._async_evaluate0$_mediaQuerySources;
  91251. $async$self._async_evaluate0$_mediaQueries = queries;
  91252. $async$self._async_evaluate0$_mediaQuerySources = sources;
  91253. $async$goto = 3;
  91254. return A._asyncAwait(callback.call$0(), $async$_async_evaluate0$_withMediaQueries$1$3);
  91255. case 3:
  91256. // returning from await.
  91257. result = $async$result;
  91258. $async$self._async_evaluate0$_mediaQueries = oldMediaQueries;
  91259. $async$self._async_evaluate0$_mediaQuerySources = oldSources;
  91260. $async$returnValue = result;
  91261. // goto return
  91262. $async$goto = 1;
  91263. break;
  91264. case 1:
  91265. // return
  91266. return A._asyncReturn($async$returnValue, $async$completer);
  91267. }
  91268. });
  91269. return A._asyncStartSync($async$_async_evaluate0$_withMediaQueries$1$3, $async$completer);
  91270. },
  91271. _async_evaluate0$_withStackFrame$1$3(member, nodeWithSpan, callback, $T) {
  91272. return this._withStackFrame$body$_EvaluateVisitor0(member, nodeWithSpan, callback, $T, $T);
  91273. },
  91274. _withStackFrame$body$_EvaluateVisitor0(member, nodeWithSpan, callback, $T, $async$type) {
  91275. var $async$goto = 0,
  91276. $async$completer = A._makeAsyncAwaitCompleter($async$type),
  91277. $async$returnValue, $async$self = this, oldMember, result, t1;
  91278. var $async$_async_evaluate0$_withStackFrame$1$3 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  91279. if ($async$errorCode === 1)
  91280. return A._asyncRethrow($async$result, $async$completer);
  91281. while (true)
  91282. switch ($async$goto) {
  91283. case 0:
  91284. // Function start
  91285. t1 = $async$self._async_evaluate0$_stack;
  91286. t1.push(new A._Record_2($async$self._async_evaluate0$_member, nodeWithSpan));
  91287. oldMember = $async$self._async_evaluate0$_member;
  91288. $async$self._async_evaluate0$_member = member;
  91289. $async$goto = 3;
  91290. return A._asyncAwait(callback.call$0(), $async$_async_evaluate0$_withStackFrame$1$3);
  91291. case 3:
  91292. // returning from await.
  91293. result = $async$result;
  91294. $async$self._async_evaluate0$_member = oldMember;
  91295. t1.pop();
  91296. $async$returnValue = result;
  91297. // goto return
  91298. $async$goto = 1;
  91299. break;
  91300. case 1:
  91301. // return
  91302. return A._asyncReturn($async$returnValue, $async$completer);
  91303. }
  91304. });
  91305. return A._asyncStartSync($async$_async_evaluate0$_withStackFrame$1$3, $async$completer);
  91306. },
  91307. _async_evaluate0$_withoutSlash$2(value, nodeForSpan) {
  91308. var t1;
  91309. if (value instanceof A.SassNumber0)
  91310. t1 = value.asSlash != null;
  91311. else
  91312. t1 = false;
  91313. if (t1)
  91314. 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);
  91315. return value.withoutSlash$0();
  91316. },
  91317. _async_evaluate0$_stackFrame$2(member, span) {
  91318. return A.frameForSpan0(span, member, A.NullableExtension_andThen0(span.get$sourceUrl(span), new A._EvaluateVisitor__stackFrame_closure2(this)));
  91319. },
  91320. _async_evaluate0$_stackTrace$1(span) {
  91321. var t2, t3, _i, t4, nodeWithSpan, _this = this,
  91322. t1 = A._setArrayType([], type$.JSArray_Frame);
  91323. for (t2 = _this._async_evaluate0$_stack, t3 = t2.length, _i = 0; _i < t2.length; t2.length === t3 || (0, A.throwConcurrentModificationError)(t2), ++_i) {
  91324. t4 = t2[_i];
  91325. nodeWithSpan = t4._1;
  91326. t1.push(_this._async_evaluate0$_stackFrame$2(t4._0, nodeWithSpan.get$span(nodeWithSpan)));
  91327. }
  91328. if (span != null)
  91329. t1.push(_this._async_evaluate0$_stackFrame$2(_this._async_evaluate0$_member, span));
  91330. return A.Trace$(new A.ReversedListIterable(t1, type$.ReversedListIterable_Frame), null);
  91331. },
  91332. _async_evaluate0$_stackTrace$0() {
  91333. return this._async_evaluate0$_stackTrace$1(null);
  91334. },
  91335. _async_evaluate0$_warn$3(message, span, deprecation) {
  91336. var trace, t1, _this = this;
  91337. if (_this._async_evaluate0$_quietDeps && _this._async_evaluate0$_inDependency)
  91338. return;
  91339. if (!_this._async_evaluate0$_warningsEmitted.add$1(0, new A._Record_2(message, span)))
  91340. return;
  91341. trace = _this._async_evaluate0$_stackTrace$1(span);
  91342. t1 = _this._async_evaluate0$_logger;
  91343. if (deprecation == null)
  91344. t1.internalWarn$4$deprecation$span$trace(message, null, span, trace);
  91345. else
  91346. A.WarnForDeprecation_warnForDeprecation0(t1, deprecation, message, span, trace);
  91347. },
  91348. _async_evaluate0$_warn$2(message, span) {
  91349. return this._async_evaluate0$_warn$3(message, span, null);
  91350. },
  91351. _async_evaluate0$_exception$2(message, span) {
  91352. var t1, t2;
  91353. if (span == null) {
  91354. t1 = B.JSArray_methods.get$last(this._async_evaluate0$_stack)._1;
  91355. t1 = t1.get$span(t1);
  91356. } else
  91357. t1 = span;
  91358. t2 = this._async_evaluate0$_stackTrace$1(span);
  91359. return new A.SassRuntimeException0(t2, B.Set_empty, message, t1);
  91360. },
  91361. _async_evaluate0$_exception$1(message) {
  91362. return this._async_evaluate0$_exception$2(message, null);
  91363. },
  91364. _async_evaluate0$_multiSpanException$3(message, primaryLabel, secondaryLabels) {
  91365. var t1 = B.JSArray_methods.get$last(this._async_evaluate0$_stack)._1;
  91366. return A.MultiSpanSassRuntimeException$0(message, t1.get$span(t1), primaryLabel, secondaryLabels, this._async_evaluate0$_stackTrace$0(), null);
  91367. },
  91368. _async_evaluate0$_addExceptionSpan$1$2(nodeWithSpan, callback) {
  91369. var error, stackTrace, t1, exception,
  91370. addStackFrame = true;
  91371. try {
  91372. t1 = callback.call$0();
  91373. return t1;
  91374. } catch (exception) {
  91375. t1 = A.unwrapException(exception);
  91376. if (t1 instanceof A.SassScriptException0) {
  91377. error = t1;
  91378. stackTrace = A.getTraceFromException(exception);
  91379. t1 = error.withSpan$1(nodeWithSpan.get$span(nodeWithSpan));
  91380. A.throwWithTrace0(t1.withTrace$1(this._async_evaluate0$_stackTrace$1(addStackFrame ? nodeWithSpan.get$span(nodeWithSpan) : null)), error, stackTrace);
  91381. } else
  91382. throw exception;
  91383. }
  91384. },
  91385. _async_evaluate0$_addExceptionSpan$2(nodeWithSpan, callback) {
  91386. callback.toString;
  91387. return this._async_evaluate0$_addExceptionSpan$1$2(nodeWithSpan, callback, type$.dynamic);
  91388. },
  91389. _async_evaluate0$_addExceptionSpanAsync$1$3$addStackFrame(nodeWithSpan, callback, addStackFrame, $T) {
  91390. return this._addExceptionSpanAsync$body$_EvaluateVisitor0(nodeWithSpan, callback, addStackFrame, $T, $T);
  91391. },
  91392. _async_evaluate0$_addExceptionSpanAsync$1$2(nodeWithSpan, callback, $T) {
  91393. callback.toString;
  91394. return this._async_evaluate0$_addExceptionSpanAsync$1$3$addStackFrame(nodeWithSpan, callback, true, $T);
  91395. },
  91396. _addExceptionSpanAsync$body$_EvaluateVisitor0(nodeWithSpan, callback, addStackFrame, $T, $async$type) {
  91397. var $async$goto = 0,
  91398. $async$completer = A._makeAsyncAwaitCompleter($async$type),
  91399. $async$returnValue, $async$handler = 2, $async$errorStack = [], $async$self = this, error, stackTrace, t1, exception, $async$exception;
  91400. var $async$_async_evaluate0$_addExceptionSpanAsync$1$3$addStackFrame = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  91401. if ($async$errorCode === 1) {
  91402. $async$errorStack.push($async$result);
  91403. $async$goto = $async$handler;
  91404. }
  91405. while (true)
  91406. switch ($async$goto) {
  91407. case 0:
  91408. // Function start
  91409. $async$handler = 4;
  91410. t1 = callback.call$0();
  91411. $async$goto = 7;
  91412. return A._asyncAwait($T._eval$1("Future<0>")._is(t1) ? t1 : A._Future$value(t1, $T), $async$_async_evaluate0$_addExceptionSpanAsync$1$3$addStackFrame);
  91413. case 7:
  91414. // returning from await.
  91415. t1 = $async$result;
  91416. $async$returnValue = t1;
  91417. // goto return
  91418. $async$goto = 1;
  91419. break;
  91420. $async$handler = 2;
  91421. // goto after finally
  91422. $async$goto = 6;
  91423. break;
  91424. case 4:
  91425. // catch
  91426. $async$handler = 3;
  91427. $async$exception = $async$errorStack.pop();
  91428. t1 = A.unwrapException($async$exception);
  91429. if (t1 instanceof A.SassScriptException0) {
  91430. error = t1;
  91431. stackTrace = A.getTraceFromException($async$exception);
  91432. t1 = error.withSpan$1(nodeWithSpan.get$span(nodeWithSpan));
  91433. A.throwWithTrace0(t1.withTrace$1($async$self._async_evaluate0$_stackTrace$1(addStackFrame ? nodeWithSpan.get$span(nodeWithSpan) : null)), error, stackTrace);
  91434. } else
  91435. throw $async$exception;
  91436. // goto after finally
  91437. $async$goto = 6;
  91438. break;
  91439. case 3:
  91440. // uncaught
  91441. // goto rethrow
  91442. $async$goto = 2;
  91443. break;
  91444. case 6:
  91445. // after finally
  91446. case 1:
  91447. // return
  91448. return A._asyncReturn($async$returnValue, $async$completer);
  91449. case 2:
  91450. // rethrow
  91451. return A._asyncRethrow($async$errorStack.at(-1), $async$completer);
  91452. }
  91453. });
  91454. return A._asyncStartSync($async$_async_evaluate0$_addExceptionSpanAsync$1$3$addStackFrame, $async$completer);
  91455. },
  91456. _async_evaluate0$_addExceptionTrace$1$1(callback, $T) {
  91457. return this._addExceptionTrace$body$_EvaluateVisitor0(callback, $T, $T);
  91458. },
  91459. _addExceptionTrace$body$_EvaluateVisitor0(callback, $T, $async$type) {
  91460. var $async$goto = 0,
  91461. $async$completer = A._makeAsyncAwaitCompleter($async$type),
  91462. $async$returnValue, $async$handler = 2, $async$errorStack = [], $async$self = this, error, stackTrace, t1, exception, t2, $async$exception;
  91463. var $async$_async_evaluate0$_addExceptionTrace$1$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  91464. if ($async$errorCode === 1) {
  91465. $async$errorStack.push($async$result);
  91466. $async$goto = $async$handler;
  91467. }
  91468. while (true)
  91469. switch ($async$goto) {
  91470. case 0:
  91471. // Function start
  91472. $async$handler = 4;
  91473. t1 = callback.call$0();
  91474. $async$goto = 7;
  91475. return A._asyncAwait($T._eval$1("Future<0>")._is(t1) ? t1 : A._Future$value(t1, $T), $async$_async_evaluate0$_addExceptionTrace$1$1);
  91476. case 7:
  91477. // returning from await.
  91478. t1 = $async$result;
  91479. $async$returnValue = t1;
  91480. // goto return
  91481. $async$goto = 1;
  91482. break;
  91483. $async$handler = 2;
  91484. // goto after finally
  91485. $async$goto = 6;
  91486. break;
  91487. case 4:
  91488. // catch
  91489. $async$handler = 3;
  91490. $async$exception = $async$errorStack.pop();
  91491. t1 = A.unwrapException($async$exception);
  91492. if (type$.SassRuntimeException_2._is(t1))
  91493. throw $async$exception;
  91494. else if (t1 instanceof A.SassException0) {
  91495. error = t1;
  91496. stackTrace = A.getTraceFromException($async$exception);
  91497. t1 = error;
  91498. t2 = J.getInterceptor$z(t1);
  91499. A.throwWithTrace0(error.withTrace$1($async$self._async_evaluate0$_stackTrace$1(A.SourceSpanException.prototype.get$span.call(t2, t1))), error, stackTrace);
  91500. } else
  91501. throw $async$exception;
  91502. // goto after finally
  91503. $async$goto = 6;
  91504. break;
  91505. case 3:
  91506. // uncaught
  91507. // goto rethrow
  91508. $async$goto = 2;
  91509. break;
  91510. case 6:
  91511. // after finally
  91512. case 1:
  91513. // return
  91514. return A._asyncReturn($async$returnValue, $async$completer);
  91515. case 2:
  91516. // rethrow
  91517. return A._asyncRethrow($async$errorStack.at(-1), $async$completer);
  91518. }
  91519. });
  91520. return A._asyncStartSync($async$_async_evaluate0$_addExceptionTrace$1$1, $async$completer);
  91521. },
  91522. _async_evaluate0$_addErrorSpan$1$2(nodeWithSpan, callback, $T) {
  91523. return this._addErrorSpan$body$_EvaluateVisitor0(nodeWithSpan, callback, $T, $T);
  91524. },
  91525. _addErrorSpan$body$_EvaluateVisitor0(nodeWithSpan, callback, $T, $async$type) {
  91526. var $async$goto = 0,
  91527. $async$completer = A._makeAsyncAwaitCompleter($async$type),
  91528. $async$returnValue, $async$handler = 2, $async$errorStack = [], $async$self = this, error, stackTrace, t1, exception, t2, t3, $async$exception;
  91529. var $async$_async_evaluate0$_addErrorSpan$1$2 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  91530. if ($async$errorCode === 1) {
  91531. $async$errorStack.push($async$result);
  91532. $async$goto = $async$handler;
  91533. }
  91534. while (true)
  91535. switch ($async$goto) {
  91536. case 0:
  91537. // Function start
  91538. $async$handler = 4;
  91539. $async$goto = 7;
  91540. return A._asyncAwait(callback.call$0(), $async$_async_evaluate0$_addErrorSpan$1$2);
  91541. case 7:
  91542. // returning from await.
  91543. t1 = $async$result;
  91544. $async$returnValue = t1;
  91545. // goto return
  91546. $async$goto = 1;
  91547. break;
  91548. $async$handler = 2;
  91549. // goto after finally
  91550. $async$goto = 6;
  91551. break;
  91552. case 4:
  91553. // catch
  91554. $async$handler = 3;
  91555. $async$exception = $async$errorStack.pop();
  91556. t1 = A.unwrapException($async$exception);
  91557. if (type$.SassRuntimeException_2._is(t1)) {
  91558. error = t1;
  91559. stackTrace = A.getTraceFromException($async$exception);
  91560. if (!B.JSString_methods.startsWith$1(J.get$span$z(error).get$text(), "@error"))
  91561. throw $async$exception;
  91562. t1 = error._span_exception$_message;
  91563. t2 = nodeWithSpan.get$span(nodeWithSpan);
  91564. t3 = $async$self._async_evaluate0$_stackTrace$0();
  91565. A.throwWithTrace0(new A.SassRuntimeException0(t3, B.Set_empty, t1, t2), error, stackTrace);
  91566. } else
  91567. throw $async$exception;
  91568. // goto after finally
  91569. $async$goto = 6;
  91570. break;
  91571. case 3:
  91572. // uncaught
  91573. // goto rethrow
  91574. $async$goto = 2;
  91575. break;
  91576. case 6:
  91577. // after finally
  91578. case 1:
  91579. // return
  91580. return A._asyncReturn($async$returnValue, $async$completer);
  91581. case 2:
  91582. // rethrow
  91583. return A._asyncRethrow($async$errorStack.at(-1), $async$completer);
  91584. }
  91585. });
  91586. return A._asyncStartSync($async$_async_evaluate0$_addErrorSpan$1$2, $async$completer);
  91587. },
  91588. _async_evaluate0$_getErrorMessage$1(error) {
  91589. var t1, exception;
  91590. if (type$.Error._is(error))
  91591. return error.toString$0(0);
  91592. try {
  91593. t1 = A._asString(J.get$message$x(error));
  91594. return t1;
  91595. } catch (exception) {
  91596. t1 = J.toString$0$(error);
  91597. return t1;
  91598. }
  91599. },
  91600. $isExpressionVisitor: 1,
  91601. $isStatementVisitor: 1
  91602. };
  91603. A._EvaluateVisitor_closure38.prototype = {
  91604. call$1($arguments) {
  91605. var module, t2,
  91606. t1 = J.getInterceptor$asx($arguments),
  91607. variable = t1.$index($arguments, 0).assertString$1("name");
  91608. t1 = t1.$index($arguments, 1).get$realNull();
  91609. module = t1 == null ? null : t1.assertString$1("module");
  91610. t1 = this.$this._async_evaluate0$_environment;
  91611. t2 = A.stringReplaceAllUnchecked(variable._string0$_text, "_", "-");
  91612. return t1.globalVariableExists$2$namespace(t2, module == null ? null : module._string0$_text) ? B.SassBoolean_true0 : B.SassBoolean_false0;
  91613. },
  91614. $signature: 11
  91615. };
  91616. A._EvaluateVisitor_closure39.prototype = {
  91617. call$1($arguments) {
  91618. var variable = J.$index$asx($arguments, 0).assertString$1("name"),
  91619. t1 = this.$this._async_evaluate0$_environment;
  91620. return t1.getVariable$1(A.stringReplaceAllUnchecked(variable._string0$_text, "_", "-")) != null ? B.SassBoolean_true0 : B.SassBoolean_false0;
  91621. },
  91622. $signature: 11
  91623. };
  91624. A._EvaluateVisitor_closure40.prototype = {
  91625. call$1($arguments) {
  91626. var module, t2, t3, t4,
  91627. t1 = J.getInterceptor$asx($arguments),
  91628. variable = t1.$index($arguments, 0).assertString$1("name");
  91629. t1 = t1.$index($arguments, 1).get$realNull();
  91630. module = t1 == null ? null : t1.assertString$1("module");
  91631. t1 = this.$this;
  91632. t2 = t1._async_evaluate0$_environment;
  91633. t3 = variable._string0$_text;
  91634. t4 = A.stringReplaceAllUnchecked(t3, "_", "-");
  91635. 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;
  91636. },
  91637. $signature: 11
  91638. };
  91639. A._EvaluateVisitor_closure41.prototype = {
  91640. call$1($arguments) {
  91641. var module, t2,
  91642. t1 = J.getInterceptor$asx($arguments),
  91643. variable = t1.$index($arguments, 0).assertString$1("name");
  91644. t1 = t1.$index($arguments, 1).get$realNull();
  91645. module = t1 == null ? null : t1.assertString$1("module");
  91646. t1 = this.$this._async_evaluate0$_environment;
  91647. t2 = A.stringReplaceAllUnchecked(variable._string0$_text, "_", "-");
  91648. return t1.getMixin$2$namespace(t2, module == null ? null : module._string0$_text) != null ? B.SassBoolean_true0 : B.SassBoolean_false0;
  91649. },
  91650. $signature: 11
  91651. };
  91652. A._EvaluateVisitor_closure42.prototype = {
  91653. call$1($arguments) {
  91654. var t1 = this.$this._async_evaluate0$_environment;
  91655. if (!t1._async_environment0$_inMixin)
  91656. throw A.wrapException(A.SassScriptException$0(string$.conten, null));
  91657. return t1._async_environment0$_content != null ? B.SassBoolean_true0 : B.SassBoolean_false0;
  91658. },
  91659. $signature: 11
  91660. };
  91661. A._EvaluateVisitor_closure43.prototype = {
  91662. call$1($arguments) {
  91663. var t2, t3, t4,
  91664. t1 = J.$index$asx($arguments, 0).assertString$1("module")._string0$_text,
  91665. module = this.$this._async_evaluate0$_environment._async_environment0$_modules.$index(0, t1);
  91666. if (module == null)
  91667. throw A.wrapException('There is no module with namespace "' + t1 + '".');
  91668. t1 = type$.Value_2;
  91669. t2 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
  91670. for (t3 = A.MapExtensions_get_pairs0(module.get$variables(), type$.String, t1), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
  91671. t4 = t3.get$current(t3);
  91672. t2.$indexSet(0, new A.SassString0(t4._0, true), t4._1);
  91673. }
  91674. return new A.SassMap0(A.ConstantMap_ConstantMap$from(t2, t1, t1));
  91675. },
  91676. $signature: 38
  91677. };
  91678. A._EvaluateVisitor_closure44.prototype = {
  91679. call$1($arguments) {
  91680. var t3, t4, t5,
  91681. t1 = this.$this,
  91682. t2 = J.$index$asx($arguments, 0).assertString$1("module")._string0$_text,
  91683. module = t1._async_evaluate0$_environment._async_environment0$_modules.$index(0, t2);
  91684. if (module == null)
  91685. throw A.wrapException('There is no module with namespace "' + t2 + '".');
  91686. t2 = type$.Value_2;
  91687. t3 = A.LinkedHashMap_LinkedHashMap$_empty(t2, t2);
  91688. 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();) {
  91689. t5 = t4.get$current(t4);
  91690. t3.$indexSet(0, new A.SassString0(t5._0, true), new A.SassFunction0(t5._1, t1));
  91691. }
  91692. return new A.SassMap0(A.ConstantMap_ConstantMap$from(t3, t2, t2));
  91693. },
  91694. $signature: 38
  91695. };
  91696. A._EvaluateVisitor_closure45.prototype = {
  91697. call$1($arguments) {
  91698. var t3, t4, t5,
  91699. t1 = this.$this,
  91700. t2 = J.$index$asx($arguments, 0).assertString$1("module")._string0$_text,
  91701. module = t1._async_evaluate0$_environment._async_environment0$_modules.$index(0, t2);
  91702. if (module == null)
  91703. throw A.wrapException('There is no module with namespace "' + t2 + '".');
  91704. t2 = type$.Value_2;
  91705. t3 = A.LinkedHashMap_LinkedHashMap$_empty(t2, t2);
  91706. 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();) {
  91707. t5 = t4.get$current(t4);
  91708. t3.$indexSet(0, new A.SassString0(t5._0, true), new A.SassMixin0(t5._1, t1));
  91709. }
  91710. return new A.SassMap0(A.ConstantMap_ConstantMap$from(t3, t2, t2));
  91711. },
  91712. $signature: 38
  91713. };
  91714. A._EvaluateVisitor_closure46.prototype = {
  91715. call$1($arguments) {
  91716. var module, t2, callable,
  91717. t1 = J.getInterceptor$asx($arguments),
  91718. $name = t1.$index($arguments, 0).assertString$1("name"),
  91719. css = t1.$index($arguments, 1).get$isTruthy();
  91720. t1 = t1.$index($arguments, 2).get$realNull();
  91721. module = t1 == null ? null : t1.assertString$1("module");
  91722. if (css) {
  91723. if (module != null)
  91724. throw A.wrapException(string$.x24css_a);
  91725. return new A.SassFunction0(new A.PlainCssCallable0($name._string0$_text), this.$this._async_evaluate0$_compileContext);
  91726. }
  91727. t1 = this.$this;
  91728. t2 = t1._async_evaluate0$_callableNode;
  91729. t2.toString;
  91730. callable = t1._async_evaluate0$_addExceptionSpan$2(t2, new A._EvaluateVisitor__closure14(t1, $name, module));
  91731. if (callable == null)
  91732. throw A.wrapException("Function not found: " + $name.toString$0(0));
  91733. return new A.SassFunction0(callable, t1._async_evaluate0$_compileContext);
  91734. },
  91735. $signature: 205
  91736. };
  91737. A._EvaluateVisitor__closure14.prototype = {
  91738. call$0() {
  91739. var local,
  91740. normalizedName = A.stringReplaceAllUnchecked(this.name._string0$_text, "_", "-"),
  91741. t1 = this.module,
  91742. namespace = t1 == null ? null : t1._string0$_text;
  91743. t1 = this.$this;
  91744. local = t1._async_evaluate0$_environment.getFunction$2$namespace(normalizedName, namespace);
  91745. if (local != null || namespace != null)
  91746. return local;
  91747. return t1._async_evaluate0$_builtInFunctions.$index(0, normalizedName);
  91748. },
  91749. $signature: 97
  91750. };
  91751. A._EvaluateVisitor_closure47.prototype = {
  91752. call$1($arguments) {
  91753. var module, t2, callable,
  91754. t1 = J.getInterceptor$asx($arguments),
  91755. $name = t1.$index($arguments, 0).assertString$1("name");
  91756. t1 = t1.$index($arguments, 1).get$realNull();
  91757. module = t1 == null ? null : t1.assertString$1("module");
  91758. t1 = this.$this;
  91759. t2 = t1._async_evaluate0$_callableNode;
  91760. t2.toString;
  91761. callable = t1._async_evaluate0$_addExceptionSpan$2(t2, new A._EvaluateVisitor__closure13(t1, $name, module));
  91762. if (callable == null)
  91763. throw A.wrapException("Mixin not found: " + $name.toString$0(0));
  91764. return new A.SassMixin0(callable, t1._async_evaluate0$_compileContext);
  91765. },
  91766. $signature: 206
  91767. };
  91768. A._EvaluateVisitor__closure13.prototype = {
  91769. call$0() {
  91770. var t1 = this.$this._async_evaluate0$_environment,
  91771. t2 = A.stringReplaceAllUnchecked(this.name._string0$_text, "_", "-"),
  91772. t3 = this.module;
  91773. return t1.getMixin$2$namespace(t2, t3 == null ? null : t3._string0$_text);
  91774. },
  91775. $signature: 97
  91776. };
  91777. A._EvaluateVisitor_closure48.prototype = {
  91778. call$1($arguments) {
  91779. return this.$call$body$_EvaluateVisitor_closure4($arguments);
  91780. },
  91781. $call$body$_EvaluateVisitor_closure4($arguments) {
  91782. var $async$goto = 0,
  91783. $async$completer = A._makeAsyncAwaitCompleter(type$.Value_2),
  91784. $async$returnValue, $async$self = this, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, invocation, callableNode, t1, $function, args;
  91785. var $async$call$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  91786. if ($async$errorCode === 1)
  91787. return A._asyncRethrow($async$result, $async$completer);
  91788. while (true)
  91789. switch ($async$goto) {
  91790. case 0:
  91791. // Function start
  91792. t1 = J.getInterceptor$asx($arguments);
  91793. $function = t1.$index($arguments, 0);
  91794. args = type$.SassArgumentList_2._as(t1.$index($arguments, 1));
  91795. t1 = $async$self.$this;
  91796. t2 = t1._async_evaluate0$_callableNode;
  91797. t2.toString;
  91798. t3 = A._setArrayType([], type$.JSArray_Expression_2);
  91799. t4 = type$.String;
  91800. t5 = type$.Expression_2;
  91801. t6 = t2.get$span(t2);
  91802. t7 = t2.get$span(t2);
  91803. args._argument_list$_wereKeywordsAccessed = true;
  91804. t8 = args._argument_list$_keywords;
  91805. if (t8.get$isEmpty(t8))
  91806. t2 = null;
  91807. else {
  91808. t9 = type$.Value_2;
  91809. t10 = A.LinkedHashMap_LinkedHashMap$_empty(t9, t9);
  91810. for (args._argument_list$_wereKeywordsAccessed = true, t8 = A.MapExtensions_get_pairs0(t8, t4, t9), t8 = t8.get$iterator(t8); t8.moveNext$0();) {
  91811. t11 = t8.get$current(t8);
  91812. t10.$indexSet(0, new A.SassString0(t11._0, false), t11._1);
  91813. }
  91814. t2 = new A.ValueExpression0(new A.SassMap0(A.ConstantMap_ConstantMap$from(t10, t9, t9)), t2.get$span(t2));
  91815. }
  91816. 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);
  91817. $async$goto = $function instanceof A.SassString0 ? 3 : 4;
  91818. break;
  91819. case 3:
  91820. // then
  91821. A.warnForDeprecation0(string$.Passina + $function.toString$0(0) + "))", B.Deprecation_aM0);
  91822. callableNode = t1._async_evaluate0$_callableNode;
  91823. t2 = $function._string0$_text;
  91824. t3 = callableNode.get$span(callableNode);
  91825. t1 = t1.visitFunctionExpression$1(0, new A.FunctionExpression0(null, A.stringReplaceAllUnchecked(t2, "_", "-"), t2, invocation, t3));
  91826. $async$goto = 5;
  91827. return A._asyncAwait(type$.Future_Value_2._is(t1) ? t1 : A._Future$value(t1, type$.Value_2), $async$call$1);
  91828. case 5:
  91829. // returning from await.
  91830. $async$returnValue = $async$result;
  91831. // goto return
  91832. $async$goto = 1;
  91833. break;
  91834. case 4:
  91835. // join
  91836. t2 = $function.assertFunction$1("function").assertCompileContext$1(t1._async_evaluate0$_compileContext);
  91837. t3 = t1._async_evaluate0$_callableNode;
  91838. t3.toString;
  91839. $async$goto = 6;
  91840. return A._asyncAwait(t1._async_evaluate0$_runFunctionCallable$3(invocation, t2.callable, t3), $async$call$1);
  91841. case 6:
  91842. // returning from await.
  91843. t3 = $async$result;
  91844. $async$returnValue = t3;
  91845. // goto return
  91846. $async$goto = 1;
  91847. break;
  91848. case 1:
  91849. // return
  91850. return A._asyncReturn($async$returnValue, $async$completer);
  91851. }
  91852. });
  91853. return A._asyncStartSync($async$call$1, $async$completer);
  91854. },
  91855. $signature: 109
  91856. };
  91857. A._EvaluateVisitor_closure49.prototype = {
  91858. call$1($arguments) {
  91859. return this.$call$body$_EvaluateVisitor_closure3($arguments);
  91860. },
  91861. $call$body$_EvaluateVisitor_closure3($arguments) {
  91862. var $async$goto = 0,
  91863. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  91864. $async$self = this, withMap, t2, values, configuration, t3, t1, url;
  91865. var $async$call$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  91866. if ($async$errorCode === 1)
  91867. return A._asyncRethrow($async$result, $async$completer);
  91868. while (true)
  91869. switch ($async$goto) {
  91870. case 0:
  91871. // Function start
  91872. t1 = J.getInterceptor$asx($arguments);
  91873. url = A.Uri_parse(t1.$index($arguments, 0).assertString$1("url")._string0$_text);
  91874. t1 = t1.$index($arguments, 1).get$realNull();
  91875. withMap = t1 == null ? null : t1.assertMap$1("with")._map0$_contents;
  91876. t1 = $async$self.$this;
  91877. t2 = t1._async_evaluate0$_callableNode;
  91878. t2.toString;
  91879. if (withMap != null) {
  91880. values = A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.ConfiguredValue_2);
  91881. withMap.forEach$1(0, new A._EvaluateVisitor__closure11(values, t2.get$span(t2), t2));
  91882. configuration = new A.ExplicitConfiguration0(t2, values, null);
  91883. } else
  91884. configuration = B.Configuration_Map_empty_null0;
  91885. t3 = t2.get$span(t2);
  91886. $async$goto = 2;
  91887. 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);
  91888. case 2:
  91889. // returning from await.
  91890. t1._async_evaluate0$_assertConfigurationIsEmpty$2$nameInError(configuration, true);
  91891. // implicit return
  91892. return A._asyncReturn(null, $async$completer);
  91893. }
  91894. });
  91895. return A._asyncStartSync($async$call$1, $async$completer);
  91896. },
  91897. $signature: 207
  91898. };
  91899. A._EvaluateVisitor__closure11.prototype = {
  91900. call$2(variable, value) {
  91901. var t1 = variable.assertString$1("with key"),
  91902. $name = A.stringReplaceAllUnchecked(t1._string0$_text, "_", "-");
  91903. t1 = this.values;
  91904. if (t1.containsKey$1($name))
  91905. throw A.wrapException("The variable $" + $name + " was configured twice.");
  91906. t1.$indexSet(0, $name, new A.ConfiguredValue0(value, this.span, this.callableNode));
  91907. },
  91908. $signature: 107
  91909. };
  91910. A._EvaluateVisitor__closure12.prototype = {
  91911. call$2(module, _) {
  91912. var t1 = this.$this;
  91913. return t1._async_evaluate0$_combineCss$2$clone(module, true).accept$1(t1);
  91914. },
  91915. $signature: 327
  91916. };
  91917. A._EvaluateVisitor_closure50.prototype = {
  91918. call$1($arguments) {
  91919. return this.$call$body$_EvaluateVisitor_closure2($arguments);
  91920. },
  91921. $call$body$_EvaluateVisitor_closure2($arguments) {
  91922. var $async$goto = 0,
  91923. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  91924. $async$self = this, callableNode, t2, t3, t4, t5, t1, mixin, args;
  91925. var $async$call$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  91926. if ($async$errorCode === 1)
  91927. return A._asyncRethrow($async$result, $async$completer);
  91928. while (true)
  91929. switch ($async$goto) {
  91930. case 0:
  91931. // Function start
  91932. t1 = J.getInterceptor$asx($arguments);
  91933. mixin = t1.$index($arguments, 0);
  91934. args = type$.SassArgumentList_2._as(t1.$index($arguments, 1));
  91935. t1 = $async$self.$this;
  91936. callableNode = t1._async_evaluate0$_callableNode;
  91937. t2 = callableNode.get$span(callableNode);
  91938. t3 = callableNode.get$span(callableNode);
  91939. t4 = type$.Expression_2;
  91940. t5 = A.List_List$unmodifiable(B.List_empty23, t4);
  91941. t4 = A.ConstantMap_ConstantMap$from(B.Map_empty14, type$.String, t4);
  91942. $async$goto = 2;
  91943. 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);
  91944. case 2:
  91945. // returning from await.
  91946. // implicit return
  91947. return A._asyncReturn(null, $async$completer);
  91948. }
  91949. });
  91950. return A._asyncStartSync($async$call$1, $async$completer);
  91951. },
  91952. $signature: 207
  91953. };
  91954. A._EvaluateVisitor_run_closure2.prototype = {
  91955. call$0() {
  91956. var $async$goto = 0,
  91957. $async$completer = A._makeAsyncAwaitCompleter(type$.Record_2_Set_Uri_loadedUrls_and_CssStylesheet_stylesheet_2),
  91958. $async$returnValue, $async$self = this, module, t2, t1, _0_0, url;
  91959. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  91960. if ($async$errorCode === 1)
  91961. return A._asyncRethrow($async$result, $async$completer);
  91962. while (true)
  91963. switch ($async$goto) {
  91964. case 0:
  91965. // Function start
  91966. t1 = $async$self.node;
  91967. _0_0 = t1.span.file.url;
  91968. url = null;
  91969. if (_0_0 != null) {
  91970. url = _0_0;
  91971. t2 = $async$self.$this;
  91972. t2._async_evaluate0$_activeModules.$indexSet(0, url, null);
  91973. if (!(t2._async_evaluate0$_nodeImporter != null && J.toString$0$(url) === "stdin"))
  91974. t2._async_evaluate0$_loadedUrls.add$1(0, url);
  91975. }
  91976. t2 = $async$self.$this;
  91977. $async$goto = 3;
  91978. 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);
  91979. case 3:
  91980. // returning from await.
  91981. module = $async$result;
  91982. $async$returnValue = new A._Record_2_loadedUrls_stylesheet(t2._async_evaluate0$_loadedUrls, t2._async_evaluate0$_combineCss$1(module));
  91983. // goto return
  91984. $async$goto = 1;
  91985. break;
  91986. case 1:
  91987. // return
  91988. return A._asyncReturn($async$returnValue, $async$completer);
  91989. }
  91990. });
  91991. return A._asyncStartSync($async$call$0, $async$completer);
  91992. },
  91993. $signature: 328
  91994. };
  91995. A._EvaluateVisitor_run__closure2.prototype = {
  91996. call$0() {
  91997. return this.$this._async_evaluate0$_execute$2(this.importer, this.node);
  91998. },
  91999. $signature: 329
  92000. };
  92001. A._EvaluateVisitor__loadModule_closure5.prototype = {
  92002. call$0() {
  92003. return this.callback.call$2(this._box_0.builtInModule, false);
  92004. },
  92005. $signature: 0
  92006. };
  92007. A._EvaluateVisitor__loadModule_closure6.prototype = {
  92008. call$0() {
  92009. return this.$call$body$_EvaluateVisitor__loadModule_closure0();
  92010. },
  92011. $call$body$_EvaluateVisitor__loadModule_closure0() {
  92012. var $async$goto = 0,
  92013. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  92014. $async$handler = 1, $async$errorStack = [], $async$next = [], $async$self = this, canonicalUrl, oldInDependency, isDependency, t4, message, t1, stylesheet, importer, t2, t3, _1_0, $async$temp1;
  92015. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  92016. if ($async$errorCode === 1) {
  92017. $async$errorStack.push($async$result);
  92018. $async$goto = $async$handler;
  92019. }
  92020. while (true)
  92021. switch ($async$goto) {
  92022. case 0:
  92023. // Function start
  92024. t1 = {};
  92025. stylesheet = null;
  92026. importer = null;
  92027. t2 = $async$self.$this;
  92028. t3 = $async$self.nodeWithSpan;
  92029. $async$goto = 2;
  92030. 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);
  92031. case 2:
  92032. // returning from await.
  92033. _1_0 = $async$result;
  92034. stylesheet = _1_0._0;
  92035. importer = _1_0._1;
  92036. isDependency = _1_0._2;
  92037. canonicalUrl = stylesheet.span.file.url;
  92038. if (canonicalUrl != null) {
  92039. t4 = t2._async_evaluate0$_activeModules;
  92040. if (t4.containsKey$1(canonicalUrl)) {
  92041. message = $async$self.namesInErrors ? "Module loop: " + $.$get$context().prettyUri$1(canonicalUrl) + " is already being loaded." : string$.Modulel;
  92042. t1 = A.NullableExtension_andThen0(t4.$index(0, canonicalUrl), new A._EvaluateVisitor__loadModule__closure5(t2, message));
  92043. throw A.wrapException(t1 == null ? t2._async_evaluate0$_exception$1(message) : t1);
  92044. } else
  92045. t4.$indexSet(0, canonicalUrl, t3);
  92046. }
  92047. t4 = t2._async_evaluate0$_modules.containsKey$1(canonicalUrl);
  92048. oldInDependency = t2._async_evaluate0$_inDependency;
  92049. t2._async_evaluate0$_inDependency = isDependency;
  92050. t1.module = null;
  92051. $async$handler = 3;
  92052. $async$temp1 = t1;
  92053. $async$goto = 6;
  92054. return A._asyncAwait(t2._async_evaluate0$_execute$5$configuration$namesInErrors$nodeWithSpan(importer, stylesheet, $async$self.configuration, $async$self.namesInErrors, t3), $async$call$0);
  92055. case 6:
  92056. // returning from await.
  92057. $async$temp1.module = $async$result;
  92058. $async$next.push(5);
  92059. // goto finally
  92060. $async$goto = 4;
  92061. break;
  92062. case 3:
  92063. // uncaught
  92064. $async$next = [1];
  92065. case 4:
  92066. // finally
  92067. $async$handler = 1;
  92068. t2._async_evaluate0$_activeModules.remove$1(0, canonicalUrl);
  92069. t2._async_evaluate0$_inDependency = oldInDependency;
  92070. // goto the next finally handler
  92071. $async$goto = $async$next.pop();
  92072. break;
  92073. case 5:
  92074. // after finally
  92075. $async$goto = 7;
  92076. 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);
  92077. case 7:
  92078. // returning from await.
  92079. // implicit return
  92080. return A._asyncReturn(null, $async$completer);
  92081. case 1:
  92082. // rethrow
  92083. return A._asyncRethrow($async$errorStack.at(-1), $async$completer);
  92084. }
  92085. });
  92086. return A._asyncStartSync($async$call$0, $async$completer);
  92087. },
  92088. $signature: 2
  92089. };
  92090. A._EvaluateVisitor__loadModule__closure5.prototype = {
  92091. call$1(previousLoad) {
  92092. 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));
  92093. },
  92094. $signature: 99
  92095. };
  92096. A._EvaluateVisitor__loadModule__closure6.prototype = {
  92097. call$0() {
  92098. return this.callback.call$2(this._box_1.module, this.firstLoad);
  92099. },
  92100. $signature: 0
  92101. };
  92102. A._EvaluateVisitor__execute_closure2.prototype = {
  92103. call$0() {
  92104. var $async$goto = 0,
  92105. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  92106. $async$self = this, t3, t4, t5, t6, t1, oldImporter, oldStylesheet, oldRoot, oldPreModuleComments, oldParent, oldEndOfImports, oldOutOfOrderImports, oldExtensionStore, t2, oldStyleRule, oldMediaQueries, oldDeclarationName, oldInUnknownAtRule, oldInKeyframes, oldConfiguration;
  92107. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  92108. if ($async$errorCode === 1)
  92109. return A._asyncRethrow($async$result, $async$completer);
  92110. while (true)
  92111. switch ($async$goto) {
  92112. case 0:
  92113. // Function start
  92114. t1 = $async$self.$this;
  92115. oldImporter = t1._async_evaluate0$_importer;
  92116. oldStylesheet = t1._async_evaluate0$__stylesheet;
  92117. oldRoot = t1._async_evaluate0$__root;
  92118. oldPreModuleComments = t1._async_evaluate0$_preModuleComments;
  92119. oldParent = t1._async_evaluate0$__parent;
  92120. oldEndOfImports = t1._async_evaluate0$__endOfImports;
  92121. oldOutOfOrderImports = t1._async_evaluate0$_outOfOrderImports;
  92122. oldExtensionStore = t1._async_evaluate0$__extensionStore;
  92123. t2 = t1._async_evaluate0$_atRootExcludingStyleRule;
  92124. oldStyleRule = t2 ? null : t1._async_evaluate0$_styleRuleIgnoringAtRoot;
  92125. oldMediaQueries = t1._async_evaluate0$_mediaQueries;
  92126. oldDeclarationName = t1._async_evaluate0$_declarationName;
  92127. oldInUnknownAtRule = t1._async_evaluate0$_inUnknownAtRule;
  92128. oldInKeyframes = t1._async_evaluate0$_inKeyframes;
  92129. oldConfiguration = t1._async_evaluate0$_configuration;
  92130. t1._async_evaluate0$_importer = $async$self.importer;
  92131. t3 = t1._async_evaluate0$__stylesheet = $async$self.stylesheet;
  92132. t4 = t3.span;
  92133. t5 = t1._async_evaluate0$__parent = t1._async_evaluate0$__root = A.ModifiableCssStylesheet$0(t4);
  92134. t1._async_evaluate0$__endOfImports = 0;
  92135. t1._async_evaluate0$_outOfOrderImports = null;
  92136. t1._async_evaluate0$__extensionStore = $async$self.extensionStore;
  92137. t1._async_evaluate0$_declarationName = t1._async_evaluate0$_mediaQueries = t1._async_evaluate0$_styleRuleIgnoringAtRoot = null;
  92138. t1._async_evaluate0$_inKeyframes = t1._async_evaluate0$_atRootExcludingStyleRule = t1._async_evaluate0$_inUnknownAtRule = false;
  92139. t6 = $async$self.configuration;
  92140. if (t6 != null)
  92141. t1._async_evaluate0$_configuration = t6;
  92142. $async$goto = 2;
  92143. return A._asyncAwait(t1.visitStylesheet$1(0, t3), $async$call$0);
  92144. case 2:
  92145. // returning from await.
  92146. t3 = t1._async_evaluate0$_outOfOrderImports == null ? t5 : new A.CssStylesheet0(new A.UnmodifiableListView(t1._async_evaluate0$_addOutOfOrderImports$0(), type$.UnmodifiableListView_CssNode_2), t4);
  92147. $async$self.css.__late_helper$_value = t3;
  92148. $async$self.preModuleComments.__late_helper$_value = t1._async_evaluate0$_preModuleComments;
  92149. t1._async_evaluate0$_importer = oldImporter;
  92150. t1._async_evaluate0$__stylesheet = oldStylesheet;
  92151. t1._async_evaluate0$__root = oldRoot;
  92152. t1._async_evaluate0$_preModuleComments = oldPreModuleComments;
  92153. t1._async_evaluate0$__parent = oldParent;
  92154. t1._async_evaluate0$__endOfImports = oldEndOfImports;
  92155. t1._async_evaluate0$_outOfOrderImports = oldOutOfOrderImports;
  92156. t1._async_evaluate0$__extensionStore = oldExtensionStore;
  92157. t1._async_evaluate0$_styleRuleIgnoringAtRoot = oldStyleRule;
  92158. t1._async_evaluate0$_mediaQueries = oldMediaQueries;
  92159. t1._async_evaluate0$_declarationName = oldDeclarationName;
  92160. t1._async_evaluate0$_inUnknownAtRule = oldInUnknownAtRule;
  92161. t1._async_evaluate0$_atRootExcludingStyleRule = t2;
  92162. t1._async_evaluate0$_inKeyframes = oldInKeyframes;
  92163. t1._async_evaluate0$_configuration = oldConfiguration;
  92164. // implicit return
  92165. return A._asyncReturn(null, $async$completer);
  92166. }
  92167. });
  92168. return A._asyncStartSync($async$call$0, $async$completer);
  92169. },
  92170. $signature: 2
  92171. };
  92172. A._EvaluateVisitor__combineCss_closure5.prototype = {
  92173. call$1(module) {
  92174. return module.get$transitivelyContainsCss();
  92175. },
  92176. $signature: 94
  92177. };
  92178. A._EvaluateVisitor__combineCss_closure6.prototype = {
  92179. call$1(target) {
  92180. return !this.selectors.contains$1(0, target);
  92181. },
  92182. $signature: 13
  92183. };
  92184. A._EvaluateVisitor__combineCss_visitModule2.prototype = {
  92185. call$1(module) {
  92186. var t1, t2, t3, t4, _i, upstream, _1_0, statements, index, _this = this;
  92187. if (!_this.seen.add$1(0, module))
  92188. return;
  92189. if (_this.clone)
  92190. module = module.cloneCss$0();
  92191. 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) {
  92192. upstream = t1[_i];
  92193. if (upstream.get$transitivelyContainsCss()) {
  92194. _1_0 = module.get$preModuleComments().$index(0, upstream);
  92195. if (_1_0 != null)
  92196. B.JSArray_methods.addAll$1(t3.length === 0 ? t4 : t3, _1_0);
  92197. _this.call$1(upstream);
  92198. }
  92199. }
  92200. _this.sorted.addFirst$1(module);
  92201. t1 = module.get$css(module);
  92202. statements = t1.get$children(t1);
  92203. index = _this.$this._async_evaluate0$_indexAfterImports$1(statements);
  92204. t1 = J.getInterceptor$ax(statements);
  92205. B.JSArray_methods.addAll$1(t4, t1.getRange$2(statements, 0, index));
  92206. B.JSArray_methods.addAll$1(t3, t1.getRange$2(statements, index, t1.get$length(statements)));
  92207. },
  92208. $signature: 331
  92209. };
  92210. A._EvaluateVisitor__extendModules_closure5.prototype = {
  92211. call$1(target) {
  92212. return !this.originalSelectors.contains$1(0, target);
  92213. },
  92214. $signature: 13
  92215. };
  92216. A._EvaluateVisitor__extendModules_closure6.prototype = {
  92217. call$0() {
  92218. return A._setArrayType([], type$.JSArray_ExtensionStore_2);
  92219. },
  92220. $signature: 209
  92221. };
  92222. A._EvaluateVisitor_visitAtRootRule_closure5.prototype = {
  92223. call$0() {
  92224. var $async$goto = 0,
  92225. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  92226. $async$self = this, t1, t2, t3, _i;
  92227. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  92228. if ($async$errorCode === 1)
  92229. return A._asyncRethrow($async$result, $async$completer);
  92230. while (true)
  92231. switch ($async$goto) {
  92232. case 0:
  92233. // Function start
  92234. t1 = $async$self.node.children, t2 = t1.length, t3 = $async$self.$this, _i = 0;
  92235. case 2:
  92236. // for condition
  92237. if (!(_i < t2)) {
  92238. // goto after for
  92239. $async$goto = 4;
  92240. break;
  92241. }
  92242. $async$goto = 5;
  92243. return A._asyncAwait(t1[_i].accept$1(t3), $async$call$0);
  92244. case 5:
  92245. // returning from await.
  92246. case 3:
  92247. // for update
  92248. ++_i;
  92249. // goto for condition
  92250. $async$goto = 2;
  92251. break;
  92252. case 4:
  92253. // after for
  92254. // implicit return
  92255. return A._asyncReturn(null, $async$completer);
  92256. }
  92257. });
  92258. return A._asyncStartSync($async$call$0, $async$completer);
  92259. },
  92260. $signature: 2
  92261. };
  92262. A._EvaluateVisitor_visitAtRootRule_closure6.prototype = {
  92263. call$0() {
  92264. var $async$goto = 0,
  92265. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  92266. $async$self = this, t1, t2, t3, _i;
  92267. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  92268. if ($async$errorCode === 1)
  92269. return A._asyncRethrow($async$result, $async$completer);
  92270. while (true)
  92271. switch ($async$goto) {
  92272. case 0:
  92273. // Function start
  92274. t1 = $async$self.node.children, t2 = t1.length, t3 = $async$self.$this, _i = 0;
  92275. case 2:
  92276. // for condition
  92277. if (!(_i < t2)) {
  92278. // goto after for
  92279. $async$goto = 4;
  92280. break;
  92281. }
  92282. $async$goto = 5;
  92283. return A._asyncAwait(t1[_i].accept$1(t3), $async$call$0);
  92284. case 5:
  92285. // returning from await.
  92286. case 3:
  92287. // for update
  92288. ++_i;
  92289. // goto for condition
  92290. $async$goto = 2;
  92291. break;
  92292. case 4:
  92293. // after for
  92294. // implicit return
  92295. return A._asyncReturn(null, $async$completer);
  92296. }
  92297. });
  92298. return A._asyncStartSync($async$call$0, $async$completer);
  92299. },
  92300. $signature: 32
  92301. };
  92302. A._EvaluateVisitor__scopeForAtRoot_closure17.prototype = {
  92303. call$1(callback) {
  92304. return this.$call$body$_EvaluateVisitor__scopeForAtRoot_closure6(callback);
  92305. },
  92306. $call$body$_EvaluateVisitor__scopeForAtRoot_closure6(callback) {
  92307. var $async$goto = 0,
  92308. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  92309. $async$self = this, t1, oldParent;
  92310. var $async$call$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  92311. if ($async$errorCode === 1)
  92312. return A._asyncRethrow($async$result, $async$completer);
  92313. while (true)
  92314. switch ($async$goto) {
  92315. case 0:
  92316. // Function start
  92317. t1 = $async$self.$this;
  92318. oldParent = t1._async_evaluate0$_assertInModule$2(t1._async_evaluate0$__parent, "__parent");
  92319. t1._async_evaluate0$__parent = $async$self.newParent;
  92320. $async$goto = 2;
  92321. return A._asyncAwait(t1._async_evaluate0$_environment.scope$1$2$when(callback, $async$self.node.hasDeclarations, type$.void), $async$call$1);
  92322. case 2:
  92323. // returning from await.
  92324. t1._async_evaluate0$__parent = oldParent;
  92325. // implicit return
  92326. return A._asyncReturn(null, $async$completer);
  92327. }
  92328. });
  92329. return A._asyncStartSync($async$call$1, $async$completer);
  92330. },
  92331. $signature: 40
  92332. };
  92333. A._EvaluateVisitor__scopeForAtRoot_closure18.prototype = {
  92334. call$1(callback) {
  92335. return this.$call$body$_EvaluateVisitor__scopeForAtRoot_closure5(callback);
  92336. },
  92337. $call$body$_EvaluateVisitor__scopeForAtRoot_closure5(callback) {
  92338. var $async$goto = 0,
  92339. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  92340. $async$self = this, t1, oldAtRootExcludingStyleRule;
  92341. var $async$call$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  92342. if ($async$errorCode === 1)
  92343. return A._asyncRethrow($async$result, $async$completer);
  92344. while (true)
  92345. switch ($async$goto) {
  92346. case 0:
  92347. // Function start
  92348. t1 = $async$self.$this;
  92349. oldAtRootExcludingStyleRule = t1._async_evaluate0$_atRootExcludingStyleRule;
  92350. t1._async_evaluate0$_atRootExcludingStyleRule = true;
  92351. $async$goto = 2;
  92352. return A._asyncAwait($async$self.innerScope.call$1(callback), $async$call$1);
  92353. case 2:
  92354. // returning from await.
  92355. t1._async_evaluate0$_atRootExcludingStyleRule = oldAtRootExcludingStyleRule;
  92356. // implicit return
  92357. return A._asyncReturn(null, $async$completer);
  92358. }
  92359. });
  92360. return A._asyncStartSync($async$call$1, $async$completer);
  92361. },
  92362. $signature: 40
  92363. };
  92364. A._EvaluateVisitor__scopeForAtRoot_closure19.prototype = {
  92365. call$1(callback) {
  92366. return this.$this._async_evaluate0$_withMediaQueries$1$3(null, null, new A._EvaluateVisitor__scopeForAtRoot__closure2(this.innerScope, callback), type$.Null);
  92367. },
  92368. $signature: 40
  92369. };
  92370. A._EvaluateVisitor__scopeForAtRoot__closure2.prototype = {
  92371. call$0() {
  92372. return this.innerScope.call$1(this.callback);
  92373. },
  92374. $signature: 2
  92375. };
  92376. A._EvaluateVisitor__scopeForAtRoot_closure20.prototype = {
  92377. call$1(callback) {
  92378. return this.$call$body$_EvaluateVisitor__scopeForAtRoot_closure4(callback);
  92379. },
  92380. $call$body$_EvaluateVisitor__scopeForAtRoot_closure4(callback) {
  92381. var $async$goto = 0,
  92382. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  92383. $async$self = this, t1, wasInKeyframes;
  92384. var $async$call$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  92385. if ($async$errorCode === 1)
  92386. return A._asyncRethrow($async$result, $async$completer);
  92387. while (true)
  92388. switch ($async$goto) {
  92389. case 0:
  92390. // Function start
  92391. t1 = $async$self.$this;
  92392. wasInKeyframes = t1._async_evaluate0$_inKeyframes;
  92393. t1._async_evaluate0$_inKeyframes = false;
  92394. $async$goto = 2;
  92395. return A._asyncAwait($async$self.innerScope.call$1(callback), $async$call$1);
  92396. case 2:
  92397. // returning from await.
  92398. t1._async_evaluate0$_inKeyframes = wasInKeyframes;
  92399. // implicit return
  92400. return A._asyncReturn(null, $async$completer);
  92401. }
  92402. });
  92403. return A._asyncStartSync($async$call$1, $async$completer);
  92404. },
  92405. $signature: 40
  92406. };
  92407. A._EvaluateVisitor__scopeForAtRoot_closure21.prototype = {
  92408. call$1($parent) {
  92409. return $parent instanceof A.ModifiableCssAtRule0;
  92410. },
  92411. $signature: 210
  92412. };
  92413. A._EvaluateVisitor__scopeForAtRoot_closure22.prototype = {
  92414. call$1(callback) {
  92415. return this.$call$body$_EvaluateVisitor__scopeForAtRoot_closure3(callback);
  92416. },
  92417. $call$body$_EvaluateVisitor__scopeForAtRoot_closure3(callback) {
  92418. var $async$goto = 0,
  92419. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  92420. $async$self = this, t1, wasInUnknownAtRule;
  92421. var $async$call$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  92422. if ($async$errorCode === 1)
  92423. return A._asyncRethrow($async$result, $async$completer);
  92424. while (true)
  92425. switch ($async$goto) {
  92426. case 0:
  92427. // Function start
  92428. t1 = $async$self.$this;
  92429. wasInUnknownAtRule = t1._async_evaluate0$_inUnknownAtRule;
  92430. t1._async_evaluate0$_inUnknownAtRule = false;
  92431. $async$goto = 2;
  92432. return A._asyncAwait($async$self.innerScope.call$1(callback), $async$call$1);
  92433. case 2:
  92434. // returning from await.
  92435. t1._async_evaluate0$_inUnknownAtRule = wasInUnknownAtRule;
  92436. // implicit return
  92437. return A._asyncReturn(null, $async$completer);
  92438. }
  92439. });
  92440. return A._asyncStartSync($async$call$1, $async$completer);
  92441. },
  92442. $signature: 40
  92443. };
  92444. A._EvaluateVisitor_visitContentRule_closure2.prototype = {
  92445. call$0() {
  92446. var $async$goto = 0,
  92447. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  92448. $async$returnValue, $async$self = this, t1, t2, t3, _i;
  92449. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  92450. if ($async$errorCode === 1)
  92451. return A._asyncRethrow($async$result, $async$completer);
  92452. while (true)
  92453. switch ($async$goto) {
  92454. case 0:
  92455. // Function start
  92456. t1 = $async$self.content.declaration.children, t2 = t1.length, t3 = $async$self.$this, _i = 0;
  92457. case 3:
  92458. // for condition
  92459. if (!(_i < t2)) {
  92460. // goto after for
  92461. $async$goto = 5;
  92462. break;
  92463. }
  92464. $async$goto = 6;
  92465. return A._asyncAwait(t1[_i].accept$1(t3), $async$call$0);
  92466. case 6:
  92467. // returning from await.
  92468. case 4:
  92469. // for update
  92470. ++_i;
  92471. // goto for condition
  92472. $async$goto = 3;
  92473. break;
  92474. case 5:
  92475. // after for
  92476. $async$returnValue = null;
  92477. // goto return
  92478. $async$goto = 1;
  92479. break;
  92480. case 1:
  92481. // return
  92482. return A._asyncReturn($async$returnValue, $async$completer);
  92483. }
  92484. });
  92485. return A._asyncStartSync($async$call$0, $async$completer);
  92486. },
  92487. $signature: 2
  92488. };
  92489. A._EvaluateVisitor_visitDeclaration_closure2.prototype = {
  92490. call$0() {
  92491. var $async$goto = 0,
  92492. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  92493. $async$self = this, t1, t2, t3, _i;
  92494. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  92495. if ($async$errorCode === 1)
  92496. return A._asyncRethrow($async$result, $async$completer);
  92497. while (true)
  92498. switch ($async$goto) {
  92499. case 0:
  92500. // Function start
  92501. t1 = $async$self._box_0.children, t2 = t1.length, t3 = $async$self.$this, _i = 0;
  92502. case 2:
  92503. // for condition
  92504. if (!(_i < t2)) {
  92505. // goto after for
  92506. $async$goto = 4;
  92507. break;
  92508. }
  92509. $async$goto = 5;
  92510. return A._asyncAwait(t1[_i].accept$1(t3), $async$call$0);
  92511. case 5:
  92512. // returning from await.
  92513. case 3:
  92514. // for update
  92515. ++_i;
  92516. // goto for condition
  92517. $async$goto = 2;
  92518. break;
  92519. case 4:
  92520. // after for
  92521. // implicit return
  92522. return A._asyncReturn(null, $async$completer);
  92523. }
  92524. });
  92525. return A._asyncStartSync($async$call$0, $async$completer);
  92526. },
  92527. $signature: 2
  92528. };
  92529. A._EvaluateVisitor_visitEachRule_closure8.prototype = {
  92530. call$1(value) {
  92531. var t1 = this.$this,
  92532. t2 = this.nodeWithSpan;
  92533. return t1._async_evaluate0$_environment.setLocalVariable$3(this._box_0.variable, t1._async_evaluate0$_withoutSlash$2(value, t2), t2);
  92534. },
  92535. $signature: 66
  92536. };
  92537. A._EvaluateVisitor_visitEachRule_closure9.prototype = {
  92538. call$1(value) {
  92539. return this.$this._async_evaluate0$_setMultipleVariables$3(this._box_1.variables, value, this.nodeWithSpan);
  92540. },
  92541. $signature: 66
  92542. };
  92543. A._EvaluateVisitor_visitEachRule_closure10.prototype = {
  92544. call$0() {
  92545. var _this = this,
  92546. t1 = _this.$this;
  92547. return t1._async_evaluate0$_handleReturn$2(_this.list.get$asList(), new A._EvaluateVisitor_visitEachRule__closure2(t1, _this.setVariables, _this.node));
  92548. },
  92549. $signature: 72
  92550. };
  92551. A._EvaluateVisitor_visitEachRule__closure2.prototype = {
  92552. call$1(element) {
  92553. var t1;
  92554. this.setVariables.call$1(element);
  92555. t1 = this.$this;
  92556. return t1._async_evaluate0$_handleReturn$2(this.node.children, new A._EvaluateVisitor_visitEachRule___closure2(t1));
  92557. },
  92558. $signature: 336
  92559. };
  92560. A._EvaluateVisitor_visitEachRule___closure2.prototype = {
  92561. call$1(child) {
  92562. return child.accept$1(this.$this);
  92563. },
  92564. $signature: 114
  92565. };
  92566. A._EvaluateVisitor_visitAtRule_closure8.prototype = {
  92567. call$1(value) {
  92568. return this.$this._async_evaluate0$_interpolationToValue$3$trim$warnForColor(value, true, true);
  92569. },
  92570. $signature: 338
  92571. };
  92572. A._EvaluateVisitor_visitAtRule_closure9.prototype = {
  92573. call$0() {
  92574. var $async$goto = 0,
  92575. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  92576. $async$self = this, t2, t3, _i, t1, styleRule;
  92577. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  92578. if ($async$errorCode === 1)
  92579. return A._asyncRethrow($async$result, $async$completer);
  92580. while (true)
  92581. switch ($async$goto) {
  92582. case 0:
  92583. // Function start
  92584. t1 = $async$self.$this;
  92585. styleRule = t1._async_evaluate0$_atRootExcludingStyleRule ? null : t1._async_evaluate0$_styleRuleIgnoringAtRoot;
  92586. $async$goto = styleRule == null || t1._async_evaluate0$_inKeyframes || J.$eq$($async$self.name.value, "font-face") ? 2 : 4;
  92587. break;
  92588. case 2:
  92589. // then
  92590. t2 = $async$self.children, t3 = t2.length, _i = 0;
  92591. case 5:
  92592. // for condition
  92593. if (!(_i < t3)) {
  92594. // goto after for
  92595. $async$goto = 7;
  92596. break;
  92597. }
  92598. $async$goto = 8;
  92599. return A._asyncAwait(t2[_i].accept$1(t1), $async$call$0);
  92600. case 8:
  92601. // returning from await.
  92602. case 6:
  92603. // for update
  92604. ++_i;
  92605. // goto for condition
  92606. $async$goto = 5;
  92607. break;
  92608. case 7:
  92609. // after for
  92610. // goto join
  92611. $async$goto = 3;
  92612. break;
  92613. case 4:
  92614. // else
  92615. $async$goto = 9;
  92616. 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);
  92617. case 9:
  92618. // returning from await.
  92619. case 3:
  92620. // join
  92621. // implicit return
  92622. return A._asyncReturn(null, $async$completer);
  92623. }
  92624. });
  92625. return A._asyncStartSync($async$call$0, $async$completer);
  92626. },
  92627. $signature: 2
  92628. };
  92629. A._EvaluateVisitor_visitAtRule__closure2.prototype = {
  92630. call$0() {
  92631. var $async$goto = 0,
  92632. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  92633. $async$self = this, t1, t2, t3, _i;
  92634. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  92635. if ($async$errorCode === 1)
  92636. return A._asyncRethrow($async$result, $async$completer);
  92637. while (true)
  92638. switch ($async$goto) {
  92639. case 0:
  92640. // Function start
  92641. t1 = $async$self.children, t2 = t1.length, t3 = $async$self.$this, _i = 0;
  92642. case 2:
  92643. // for condition
  92644. if (!(_i < t2)) {
  92645. // goto after for
  92646. $async$goto = 4;
  92647. break;
  92648. }
  92649. $async$goto = 5;
  92650. return A._asyncAwait(t1[_i].accept$1(t3), $async$call$0);
  92651. case 5:
  92652. // returning from await.
  92653. case 3:
  92654. // for update
  92655. ++_i;
  92656. // goto for condition
  92657. $async$goto = 2;
  92658. break;
  92659. case 4:
  92660. // after for
  92661. // implicit return
  92662. return A._asyncReturn(null, $async$completer);
  92663. }
  92664. });
  92665. return A._asyncStartSync($async$call$0, $async$completer);
  92666. },
  92667. $signature: 2
  92668. };
  92669. A._EvaluateVisitor_visitAtRule_closure10.prototype = {
  92670. call$1(node) {
  92671. return node instanceof A.ModifiableCssStyleRule0;
  92672. },
  92673. $signature: 8
  92674. };
  92675. A._EvaluateVisitor_visitForRule_closure14.prototype = {
  92676. call$0() {
  92677. var $async$goto = 0,
  92678. $async$completer = A._makeAsyncAwaitCompleter(type$.SassNumber_2),
  92679. $async$returnValue, $async$self = this;
  92680. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  92681. if ($async$errorCode === 1)
  92682. return A._asyncRethrow($async$result, $async$completer);
  92683. while (true)
  92684. switch ($async$goto) {
  92685. case 0:
  92686. // Function start
  92687. $async$goto = 3;
  92688. return A._asyncAwait($async$self.node.from.accept$1($async$self.$this), $async$call$0);
  92689. case 3:
  92690. // returning from await.
  92691. $async$returnValue = $async$result.assertNumber$0();
  92692. // goto return
  92693. $async$goto = 1;
  92694. break;
  92695. case 1:
  92696. // return
  92697. return A._asyncReturn($async$returnValue, $async$completer);
  92698. }
  92699. });
  92700. return A._asyncStartSync($async$call$0, $async$completer);
  92701. },
  92702. $signature: 213
  92703. };
  92704. A._EvaluateVisitor_visitForRule_closure15.prototype = {
  92705. call$0() {
  92706. var $async$goto = 0,
  92707. $async$completer = A._makeAsyncAwaitCompleter(type$.SassNumber_2),
  92708. $async$returnValue, $async$self = this;
  92709. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  92710. if ($async$errorCode === 1)
  92711. return A._asyncRethrow($async$result, $async$completer);
  92712. while (true)
  92713. switch ($async$goto) {
  92714. case 0:
  92715. // Function start
  92716. $async$goto = 3;
  92717. return A._asyncAwait($async$self.node.to.accept$1($async$self.$this), $async$call$0);
  92718. case 3:
  92719. // returning from await.
  92720. $async$returnValue = $async$result.assertNumber$0();
  92721. // goto return
  92722. $async$goto = 1;
  92723. break;
  92724. case 1:
  92725. // return
  92726. return A._asyncReturn($async$returnValue, $async$completer);
  92727. }
  92728. });
  92729. return A._asyncStartSync($async$call$0, $async$completer);
  92730. },
  92731. $signature: 213
  92732. };
  92733. A._EvaluateVisitor_visitForRule_closure16.prototype = {
  92734. call$0() {
  92735. return this.fromNumber.assertInt$0();
  92736. },
  92737. $signature: 10
  92738. };
  92739. A._EvaluateVisitor_visitForRule_closure17.prototype = {
  92740. call$0() {
  92741. var t1 = this.fromNumber;
  92742. return this.toNumber.coerce$2(t1.get$numeratorUnits(t1), t1.get$denominatorUnits(t1)).assertInt$0();
  92743. },
  92744. $signature: 10
  92745. };
  92746. A._EvaluateVisitor_visitForRule_closure18.prototype = {
  92747. call$0() {
  92748. var $async$goto = 0,
  92749. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
  92750. $async$returnValue, $async$self = this, i, t3, t4, t5, t6, t7, t8, _0_0, t1, t2, nodeWithSpan;
  92751. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  92752. if ($async$errorCode === 1)
  92753. return A._asyncRethrow($async$result, $async$completer);
  92754. while (true)
  92755. switch ($async$goto) {
  92756. case 0:
  92757. // Function start
  92758. t1 = $async$self.$this;
  92759. t2 = $async$self.node;
  92760. nodeWithSpan = t1._async_evaluate0$_expressionNode$1(t2.from);
  92761. i = $async$self.from, t3 = $async$self._box_0, t4 = $async$self.direction, t5 = t2.variable, t6 = $async$self.fromNumber, t2 = t2.children;
  92762. case 3:
  92763. // for condition
  92764. if (!(i !== t3.to)) {
  92765. // goto after for
  92766. $async$goto = 5;
  92767. break;
  92768. }
  92769. t7 = t1._async_evaluate0$_environment;
  92770. t8 = t6.get$numeratorUnits(t6);
  92771. t7.setLocalVariable$3(t5, A.SassNumber_SassNumber$withUnits0(i, t6.get$denominatorUnits(t6), t8), nodeWithSpan);
  92772. $async$goto = 6;
  92773. return A._asyncAwait(t1._async_evaluate0$_handleReturn$2(t2, new A._EvaluateVisitor_visitForRule__closure2(t1)), $async$call$0);
  92774. case 6:
  92775. // returning from await.
  92776. _0_0 = $async$result;
  92777. if (_0_0 != null) {
  92778. $async$returnValue = _0_0;
  92779. // goto return
  92780. $async$goto = 1;
  92781. break;
  92782. }
  92783. case 4:
  92784. // for update
  92785. i += t4;
  92786. // goto for condition
  92787. $async$goto = 3;
  92788. break;
  92789. case 5:
  92790. // after for
  92791. $async$returnValue = null;
  92792. // goto return
  92793. $async$goto = 1;
  92794. break;
  92795. case 1:
  92796. // return
  92797. return A._asyncReturn($async$returnValue, $async$completer);
  92798. }
  92799. });
  92800. return A._asyncStartSync($async$call$0, $async$completer);
  92801. },
  92802. $signature: 72
  92803. };
  92804. A._EvaluateVisitor_visitForRule__closure2.prototype = {
  92805. call$1(child) {
  92806. return child.accept$1(this.$this);
  92807. },
  92808. $signature: 114
  92809. };
  92810. A._EvaluateVisitor_visitForwardRule_closure5.prototype = {
  92811. call$2(module, firstLoad) {
  92812. if (firstLoad)
  92813. this.$this._async_evaluate0$_registerCommentsForModule$1(module);
  92814. this.$this._async_evaluate0$_environment.forwardModule$2(module, this.node);
  92815. },
  92816. $signature: 119
  92817. };
  92818. A._EvaluateVisitor_visitForwardRule_closure6.prototype = {
  92819. call$2(module, firstLoad) {
  92820. if (firstLoad)
  92821. this.$this._async_evaluate0$_registerCommentsForModule$1(module);
  92822. this.$this._async_evaluate0$_environment.forwardModule$2(module, this.node);
  92823. },
  92824. $signature: 119
  92825. };
  92826. A._EvaluateVisitor__registerCommentsForModule_closure2.prototype = {
  92827. call$0() {
  92828. return A._setArrayType([], type$.JSArray_CssComment_2);
  92829. },
  92830. $signature: 214
  92831. };
  92832. A._EvaluateVisitor_visitIfRule_closure2.prototype = {
  92833. call$1(clause) {
  92834. var t1 = this.$this;
  92835. return t1._async_evaluate0$_environment.scope$1$3$semiGlobal$when(new A._EvaluateVisitor_visitIfRule__closure2(t1, clause), true, clause.hasDeclarations, type$.nullable_Value_2);
  92836. },
  92837. $signature: 343
  92838. };
  92839. A._EvaluateVisitor_visitIfRule__closure2.prototype = {
  92840. call$0() {
  92841. var t1 = this.$this;
  92842. return t1._async_evaluate0$_handleReturn$2(this.clause.children, new A._EvaluateVisitor_visitIfRule___closure2(t1));
  92843. },
  92844. $signature: 72
  92845. };
  92846. A._EvaluateVisitor_visitIfRule___closure2.prototype = {
  92847. call$1(child) {
  92848. return child.accept$1(this.$this);
  92849. },
  92850. $signature: 114
  92851. };
  92852. A._EvaluateVisitor__visitDynamicImport_closure2.prototype = {
  92853. call$0() {
  92854. return this.$call$body$_EvaluateVisitor__visitDynamicImport_closure0();
  92855. },
  92856. $call$body$_EvaluateVisitor__visitDynamicImport_closure0() {
  92857. var $async$goto = 0,
  92858. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  92859. $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;
  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. _box_0 = {};
  92868. _box_0.isDependency = _box_0.importer = _box_0.stylesheet = null;
  92869. t1 = $async$self.$this;
  92870. t2 = $async$self.$import;
  92871. $async$goto = 3;
  92872. return A._asyncAwait(t1._async_evaluate0$_loadStylesheet$3$forImport(t2.urlString, t2.span, true), $async$call$0);
  92873. case 3:
  92874. // returning from await.
  92875. _0_0 = $async$result;
  92876. stylesheet = _box_0.stylesheet = _0_0._0;
  92877. importer = _0_0._1;
  92878. _box_0.importer = importer;
  92879. isDependency = _0_0._2;
  92880. _box_0.isDependency = isDependency;
  92881. url = stylesheet.span.file.url;
  92882. if (url != null) {
  92883. t3 = t1._async_evaluate0$_activeModules;
  92884. if (t3.containsKey$1(url)) {
  92885. t2 = A.NullableExtension_andThen0(t3.$index(0, url), new A._EvaluateVisitor__visitDynamicImport__closure11(t1));
  92886. throw A.wrapException(t2 == null ? t1._async_evaluate0$_exception$1("This file is already being loaded.") : t2);
  92887. }
  92888. t3.$indexSet(0, url, t2);
  92889. }
  92890. t2 = stylesheet._stylesheet1$_uses;
  92891. t3 = type$.UnmodifiableListView_UseRule_2;
  92892. $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;
  92893. break;
  92894. case 4:
  92895. // then
  92896. oldImporter = t1._async_evaluate0$_importer;
  92897. oldStylesheet = t1._async_evaluate0$_assertInModule$2(t1._async_evaluate0$__stylesheet, "_stylesheet");
  92898. oldInDependency = t1._async_evaluate0$_inDependency;
  92899. t1._async_evaluate0$_importer = importer;
  92900. t1._async_evaluate0$__stylesheet = stylesheet;
  92901. t1._async_evaluate0$_inDependency = isDependency;
  92902. $async$goto = 6;
  92903. return A._asyncAwait(t1.visitStylesheet$1(0, stylesheet), $async$call$0);
  92904. case 6:
  92905. // returning from await.
  92906. t1._async_evaluate0$_importer = oldImporter;
  92907. t1._async_evaluate0$__stylesheet = oldStylesheet;
  92908. t1._async_evaluate0$_inDependency = oldInDependency;
  92909. t1._async_evaluate0$_activeModules.remove$1(0, url);
  92910. // goto return
  92911. $async$goto = 1;
  92912. break;
  92913. case 5:
  92914. // join
  92915. t2 = new A.UnmodifiableListView(t2, t3);
  92916. if (!t2.any$1(t2, new A._EvaluateVisitor__visitDynamicImport__closure12())) {
  92917. t2 = new A.UnmodifiableListView(stylesheet._stylesheet1$_forwards, type$.UnmodifiableListView_ForwardRule_2);
  92918. loadsUserDefinedModules = t2.any$1(t2, new A._EvaluateVisitor__visitDynamicImport__closure13());
  92919. } else
  92920. loadsUserDefinedModules = true;
  92921. children = A._Cell$();
  92922. t2 = t1._async_evaluate0$_environment;
  92923. t3 = type$.String;
  92924. t4 = type$.Module_AsyncCallable_2;
  92925. t5 = type$.AstNode_2;
  92926. t6 = A._setArrayType([], type$.JSArray_Module_AsyncCallable_2);
  92927. t7 = t2._async_environment0$_variables;
  92928. t7 = A._setArrayType(t7.slice(0), A._arrayInstanceType(t7));
  92929. t8 = t2._async_environment0$_variableNodes;
  92930. t8 = A._setArrayType(t8.slice(0), A._arrayInstanceType(t8));
  92931. t9 = t2._async_environment0$_functions;
  92932. t9 = A._setArrayType(t9.slice(0), A._arrayInstanceType(t9));
  92933. t10 = t2._async_environment0$_mixins;
  92934. t10 = A._setArrayType(t10.slice(0), A._arrayInstanceType(t10));
  92935. 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, t2._async_environment0$_configurableVariables);
  92936. $async$goto = 7;
  92937. 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);
  92938. case 7:
  92939. // returning from await.
  92940. module = environment.toDummyModule$0();
  92941. t1._async_evaluate0$_environment.importForwards$1(module);
  92942. $async$goto = loadsUserDefinedModules ? 8 : 9;
  92943. break;
  92944. case 8:
  92945. // then
  92946. $async$goto = module.transitivelyContainsCss ? 10 : 11;
  92947. break;
  92948. case 10:
  92949. // then
  92950. $async$goto = 12;
  92951. return A._asyncAwait(t1._async_evaluate0$_combineCss$2$clone(module, module.transitivelyContainsExtensions).accept$1(t1), $async$call$0);
  92952. case 12:
  92953. // returning from await.
  92954. case 11:
  92955. // join
  92956. visitor = new A._ImportedCssVisitor2(t1);
  92957. for (t2 = J.get$iterator$ax(children._readLocal$0()); t2.moveNext$0();)
  92958. t2.get$current(t2).accept$1(visitor);
  92959. case 9:
  92960. // join
  92961. t1._async_evaluate0$_activeModules.remove$1(0, url);
  92962. case 1:
  92963. // return
  92964. return A._asyncReturn($async$returnValue, $async$completer);
  92965. }
  92966. });
  92967. return A._asyncStartSync($async$call$0, $async$completer);
  92968. },
  92969. $signature: 32
  92970. };
  92971. A._EvaluateVisitor__visitDynamicImport__closure11.prototype = {
  92972. call$1(previousLoad) {
  92973. 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));
  92974. },
  92975. $signature: 99
  92976. };
  92977. A._EvaluateVisitor__visitDynamicImport__closure12.prototype = {
  92978. call$1(rule) {
  92979. return rule.url.get$scheme() !== "sass";
  92980. },
  92981. $signature: 215
  92982. };
  92983. A._EvaluateVisitor__visitDynamicImport__closure13.prototype = {
  92984. call$1(rule) {
  92985. return rule.url.get$scheme() !== "sass";
  92986. },
  92987. $signature: 216
  92988. };
  92989. A._EvaluateVisitor__visitDynamicImport__closure14.prototype = {
  92990. call$0() {
  92991. var $async$goto = 0,
  92992. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  92993. $async$self = this, t3, t4, t1, oldImporter, oldStylesheet, oldRoot, oldParent, oldEndOfImports, oldOutOfOrderImports, oldConfiguration, oldInDependency, t2;
  92994. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  92995. if ($async$errorCode === 1)
  92996. return A._asyncRethrow($async$result, $async$completer);
  92997. while (true)
  92998. switch ($async$goto) {
  92999. case 0:
  93000. // Function start
  93001. t1 = $async$self.$this;
  93002. oldImporter = t1._async_evaluate0$_importer;
  93003. oldStylesheet = t1._async_evaluate0$_assertInModule$2(t1._async_evaluate0$__stylesheet, "_stylesheet");
  93004. oldRoot = t1._async_evaluate0$_assertInModule$2(t1._async_evaluate0$__root, "_root");
  93005. oldParent = t1._async_evaluate0$_assertInModule$2(t1._async_evaluate0$__parent, "__parent");
  93006. oldEndOfImports = t1._async_evaluate0$_assertInModule$2(t1._async_evaluate0$__endOfImports, "_endOfImports");
  93007. oldOutOfOrderImports = t1._async_evaluate0$_outOfOrderImports;
  93008. oldConfiguration = t1._async_evaluate0$_configuration;
  93009. oldInDependency = t1._async_evaluate0$_inDependency;
  93010. t2 = $async$self._box_0;
  93011. t1._async_evaluate0$_importer = t2.importer;
  93012. t3 = t2.stylesheet;
  93013. t1._async_evaluate0$__stylesheet = t3;
  93014. t4 = $async$self.loadsUserDefinedModules;
  93015. if (t4) {
  93016. t3 = A.ModifiableCssStylesheet$0(t3.span);
  93017. t1._async_evaluate0$__root = t3;
  93018. t1._async_evaluate0$__parent = t1._async_evaluate0$_assertInModule$2(t3, "_root");
  93019. t1._async_evaluate0$__endOfImports = 0;
  93020. t1._async_evaluate0$_outOfOrderImports = null;
  93021. }
  93022. t1._async_evaluate0$_inDependency = t2.isDependency;
  93023. t3 = new A.UnmodifiableListView(t2.stylesheet._stylesheet1$_forwards, type$.UnmodifiableListView_ForwardRule_2);
  93024. if (!t3.get$isEmpty(t3))
  93025. t1._async_evaluate0$_configuration = $async$self.environment.toImplicitConfiguration$0();
  93026. $async$goto = 2;
  93027. return A._asyncAwait(t1.visitStylesheet$1(0, t2.stylesheet), $async$call$0);
  93028. case 2:
  93029. // returning from await.
  93030. t2 = t4 ? t1._async_evaluate0$_addOutOfOrderImports$0() : A._setArrayType([], type$.JSArray_ModifiableCssNode_2);
  93031. $async$self.children.__late_helper$_value = t2;
  93032. t1._async_evaluate0$_importer = oldImporter;
  93033. t1._async_evaluate0$__stylesheet = oldStylesheet;
  93034. if (t4) {
  93035. t1._async_evaluate0$__root = oldRoot;
  93036. t1._async_evaluate0$__parent = oldParent;
  93037. t1._async_evaluate0$__endOfImports = oldEndOfImports;
  93038. t1._async_evaluate0$_outOfOrderImports = oldOutOfOrderImports;
  93039. }
  93040. t1._async_evaluate0$_configuration = oldConfiguration;
  93041. t1._async_evaluate0$_inDependency = oldInDependency;
  93042. // implicit return
  93043. return A._asyncReturn(null, $async$completer);
  93044. }
  93045. });
  93046. return A._asyncStartSync($async$call$0, $async$completer);
  93047. },
  93048. $signature: 2
  93049. };
  93050. A._EvaluateVisitor__applyMixin_closure5.prototype = {
  93051. call$0() {
  93052. var $async$goto = 0,
  93053. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  93054. $async$self = this, t1;
  93055. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  93056. if ($async$errorCode === 1)
  93057. return A._asyncRethrow($async$result, $async$completer);
  93058. while (true)
  93059. switch ($async$goto) {
  93060. case 0:
  93061. // Function start
  93062. t1 = $async$self.$this;
  93063. $async$goto = 2;
  93064. 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);
  93065. case 2:
  93066. // returning from await.
  93067. // implicit return
  93068. return A._asyncReturn(null, $async$completer);
  93069. }
  93070. });
  93071. return A._asyncStartSync($async$call$0, $async$completer);
  93072. },
  93073. $signature: 32
  93074. };
  93075. A._EvaluateVisitor__applyMixin__closure6.prototype = {
  93076. call$0() {
  93077. var $async$goto = 0,
  93078. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  93079. $async$self = this;
  93080. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  93081. if ($async$errorCode === 1)
  93082. return A._asyncRethrow($async$result, $async$completer);
  93083. while (true)
  93084. switch ($async$goto) {
  93085. case 0:
  93086. // Function start
  93087. $async$goto = 2;
  93088. return A._asyncAwait($async$self.$this._async_evaluate0$_runBuiltInCallable$3($async$self.$arguments, $async$self.mixin, $async$self.nodeWithSpanWithoutContent), $async$call$0);
  93089. case 2:
  93090. // returning from await.
  93091. // implicit return
  93092. return A._asyncReturn(null, $async$completer);
  93093. }
  93094. });
  93095. return A._asyncStartSync($async$call$0, $async$completer);
  93096. },
  93097. $signature: 32
  93098. };
  93099. A._EvaluateVisitor__applyMixin_closure6.prototype = {
  93100. call$0() {
  93101. var $async$goto = 0,
  93102. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  93103. $async$self = this, t1;
  93104. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  93105. if ($async$errorCode === 1)
  93106. return A._asyncRethrow($async$result, $async$completer);
  93107. while (true)
  93108. switch ($async$goto) {
  93109. case 0:
  93110. // Function start
  93111. t1 = $async$self.$this;
  93112. $async$goto = 2;
  93113. 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);
  93114. case 2:
  93115. // returning from await.
  93116. // implicit return
  93117. return A._asyncReturn(null, $async$completer);
  93118. }
  93119. });
  93120. return A._asyncStartSync($async$call$0, $async$completer);
  93121. },
  93122. $signature: 2
  93123. };
  93124. A._EvaluateVisitor__applyMixin__closure5.prototype = {
  93125. call$0() {
  93126. var $async$goto = 0,
  93127. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  93128. $async$self = this, t1;
  93129. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  93130. if ($async$errorCode === 1)
  93131. return A._asyncRethrow($async$result, $async$completer);
  93132. while (true)
  93133. switch ($async$goto) {
  93134. case 0:
  93135. // Function start
  93136. t1 = $async$self.$this;
  93137. $async$goto = 2;
  93138. return A._asyncAwait(t1._async_evaluate0$_environment.asMixin$1(new A._EvaluateVisitor__applyMixin___closure2(t1, $async$self.mixin, $async$self.nodeWithSpanWithoutContent)), $async$call$0);
  93139. case 2:
  93140. // returning from await.
  93141. // implicit return
  93142. return A._asyncReturn(null, $async$completer);
  93143. }
  93144. });
  93145. return A._asyncStartSync($async$call$0, $async$completer);
  93146. },
  93147. $signature: 32
  93148. };
  93149. A._EvaluateVisitor__applyMixin___closure2.prototype = {
  93150. call$0() {
  93151. var $async$goto = 0,
  93152. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  93153. $async$self = this, t1, t2, t3, t4, t5, _i;
  93154. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  93155. if ($async$errorCode === 1)
  93156. return A._asyncRethrow($async$result, $async$completer);
  93157. while (true)
  93158. switch ($async$goto) {
  93159. case 0:
  93160. // Function start
  93161. t1 = $async$self.mixin.declaration.children, t2 = t1.length, t3 = $async$self.$this, t4 = $async$self.nodeWithSpanWithoutContent, t5 = type$.nullable_Value_2, _i = 0;
  93162. case 2:
  93163. // for condition
  93164. if (!(_i < t2)) {
  93165. // goto after for
  93166. $async$goto = 4;
  93167. break;
  93168. }
  93169. $async$goto = 5;
  93170. return A._asyncAwait(t3._async_evaluate0$_addErrorSpan$1$2(t4, new A._EvaluateVisitor__applyMixin____closure2(t3, t1[_i]), t5), $async$call$0);
  93171. case 5:
  93172. // returning from await.
  93173. case 3:
  93174. // for update
  93175. ++_i;
  93176. // goto for condition
  93177. $async$goto = 2;
  93178. break;
  93179. case 4:
  93180. // after for
  93181. // implicit return
  93182. return A._asyncReturn(null, $async$completer);
  93183. }
  93184. });
  93185. return A._asyncStartSync($async$call$0, $async$completer);
  93186. },
  93187. $signature: 32
  93188. };
  93189. A._EvaluateVisitor__applyMixin____closure2.prototype = {
  93190. call$0() {
  93191. return this.statement.accept$1(this.$this);
  93192. },
  93193. $signature: 72
  93194. };
  93195. A._EvaluateVisitor_visitIncludeRule_closure8.prototype = {
  93196. call$0() {
  93197. var t1 = this.node;
  93198. return this.$this._async_evaluate0$_environment.getMixin$2$namespace(t1.name, t1.namespace);
  93199. },
  93200. $signature: 97
  93201. };
  93202. A._EvaluateVisitor_visitIncludeRule_closure9.prototype = {
  93203. call$1($content) {
  93204. var t1 = this.$this;
  93205. return new A.UserDefinedCallable0($content, t1._async_evaluate0$_environment.closure$0(), t1._async_evaluate0$_inDependency, type$.UserDefinedCallable_AsyncEnvironment_2);
  93206. },
  93207. $signature: 346
  93208. };
  93209. A._EvaluateVisitor_visitIncludeRule_closure10.prototype = {
  93210. call$0() {
  93211. return this.node.get$spanWithoutContent();
  93212. },
  93213. $signature: 28
  93214. };
  93215. A._EvaluateVisitor_visitMediaRule_closure8.prototype = {
  93216. call$1(mediaQueries) {
  93217. return this.$this._async_evaluate0$_mergeMediaQueries$2(mediaQueries, this.queries);
  93218. },
  93219. $signature: 104
  93220. };
  93221. A._EvaluateVisitor_visitMediaRule_closure9.prototype = {
  93222. call$0() {
  93223. var $async$goto = 0,
  93224. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  93225. $async$self = this, t1, t2;
  93226. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  93227. if ($async$errorCode === 1)
  93228. return A._asyncRethrow($async$result, $async$completer);
  93229. while (true)
  93230. switch ($async$goto) {
  93231. case 0:
  93232. // Function start
  93233. t1 = $async$self.$this;
  93234. t2 = $async$self.mergedQueries;
  93235. if (t2 == null)
  93236. t2 = $async$self.queries;
  93237. $async$goto = 2;
  93238. 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);
  93239. case 2:
  93240. // returning from await.
  93241. // implicit return
  93242. return A._asyncReturn(null, $async$completer);
  93243. }
  93244. });
  93245. return A._asyncStartSync($async$call$0, $async$completer);
  93246. },
  93247. $signature: 2
  93248. };
  93249. A._EvaluateVisitor_visitMediaRule__closure2.prototype = {
  93250. call$0() {
  93251. var $async$goto = 0,
  93252. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  93253. $async$self = this, t2, t3, _i, t1, _0_0;
  93254. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  93255. if ($async$errorCode === 1)
  93256. return A._asyncRethrow($async$result, $async$completer);
  93257. while (true)
  93258. switch ($async$goto) {
  93259. case 0:
  93260. // Function start
  93261. t1 = $async$self.$this;
  93262. _0_0 = t1._async_evaluate0$_atRootExcludingStyleRule ? null : t1._async_evaluate0$_styleRuleIgnoringAtRoot;
  93263. $async$goto = _0_0 != null ? 2 : 4;
  93264. break;
  93265. case 2:
  93266. // then
  93267. $async$goto = 5;
  93268. 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);
  93269. case 5:
  93270. // returning from await.
  93271. // goto join
  93272. $async$goto = 3;
  93273. break;
  93274. case 4:
  93275. // else
  93276. t2 = $async$self.node.children, t3 = t2.length, _i = 0;
  93277. case 6:
  93278. // for condition
  93279. if (!(_i < t3)) {
  93280. // goto after for
  93281. $async$goto = 8;
  93282. break;
  93283. }
  93284. $async$goto = 9;
  93285. return A._asyncAwait(t2[_i].accept$1(t1), $async$call$0);
  93286. case 9:
  93287. // returning from await.
  93288. case 7:
  93289. // for update
  93290. ++_i;
  93291. // goto for condition
  93292. $async$goto = 6;
  93293. break;
  93294. case 8:
  93295. // after for
  93296. case 3:
  93297. // join
  93298. // implicit return
  93299. return A._asyncReturn(null, $async$completer);
  93300. }
  93301. });
  93302. return A._asyncStartSync($async$call$0, $async$completer);
  93303. },
  93304. $signature: 2
  93305. };
  93306. A._EvaluateVisitor_visitMediaRule___closure2.prototype = {
  93307. call$0() {
  93308. var $async$goto = 0,
  93309. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  93310. $async$self = this, t1, t2, t3, _i;
  93311. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  93312. if ($async$errorCode === 1)
  93313. return A._asyncRethrow($async$result, $async$completer);
  93314. while (true)
  93315. switch ($async$goto) {
  93316. case 0:
  93317. // Function start
  93318. t1 = $async$self.node.children, t2 = t1.length, t3 = $async$self.$this, _i = 0;
  93319. case 2:
  93320. // for condition
  93321. if (!(_i < t2)) {
  93322. // goto after for
  93323. $async$goto = 4;
  93324. break;
  93325. }
  93326. $async$goto = 5;
  93327. return A._asyncAwait(t1[_i].accept$1(t3), $async$call$0);
  93328. case 5:
  93329. // returning from await.
  93330. case 3:
  93331. // for update
  93332. ++_i;
  93333. // goto for condition
  93334. $async$goto = 2;
  93335. break;
  93336. case 4:
  93337. // after for
  93338. // implicit return
  93339. return A._asyncReturn(null, $async$completer);
  93340. }
  93341. });
  93342. return A._asyncStartSync($async$call$0, $async$completer);
  93343. },
  93344. $signature: 2
  93345. };
  93346. A._EvaluateVisitor_visitMediaRule_closure10.prototype = {
  93347. call$1(node) {
  93348. var t1;
  93349. if (!(node instanceof A.ModifiableCssStyleRule0)) {
  93350. t1 = this.mergedSources;
  93351. t1 = t1.get$isNotEmpty(t1) && node instanceof A.ModifiableCssMediaRule0 && B.JSArray_methods.every$1(node.queries, t1.get$contains(t1));
  93352. } else
  93353. t1 = true;
  93354. return t1;
  93355. },
  93356. $signature: 8
  93357. };
  93358. A._EvaluateVisitor_visitStyleRule_closure11.prototype = {
  93359. call$0() {
  93360. var $async$goto = 0,
  93361. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  93362. $async$self = this, t1, t2, t3, _i;
  93363. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  93364. if ($async$errorCode === 1)
  93365. return A._asyncRethrow($async$result, $async$completer);
  93366. while (true)
  93367. switch ($async$goto) {
  93368. case 0:
  93369. // Function start
  93370. t1 = $async$self.node.children, t2 = t1.length, t3 = $async$self.$this, _i = 0;
  93371. case 2:
  93372. // for condition
  93373. if (!(_i < t2)) {
  93374. // goto after for
  93375. $async$goto = 4;
  93376. break;
  93377. }
  93378. $async$goto = 5;
  93379. return A._asyncAwait(t1[_i].accept$1(t3), $async$call$0);
  93380. case 5:
  93381. // returning from await.
  93382. case 3:
  93383. // for update
  93384. ++_i;
  93385. // goto for condition
  93386. $async$goto = 2;
  93387. break;
  93388. case 4:
  93389. // after for
  93390. // implicit return
  93391. return A._asyncReturn(null, $async$completer);
  93392. }
  93393. });
  93394. return A._asyncStartSync($async$call$0, $async$completer);
  93395. },
  93396. $signature: 2
  93397. };
  93398. A._EvaluateVisitor_visitStyleRule_closure12.prototype = {
  93399. call$1(node) {
  93400. return node instanceof A.ModifiableCssStyleRule0;
  93401. },
  93402. $signature: 8
  93403. };
  93404. A._EvaluateVisitor_visitStyleRule_closure14.prototype = {
  93405. call$0() {
  93406. var $async$goto = 0,
  93407. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  93408. $async$self = this, t1;
  93409. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  93410. if ($async$errorCode === 1)
  93411. return A._asyncRethrow($async$result, $async$completer);
  93412. while (true)
  93413. switch ($async$goto) {
  93414. case 0:
  93415. // Function start
  93416. t1 = $async$self.$this;
  93417. $async$goto = 2;
  93418. 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);
  93419. case 2:
  93420. // returning from await.
  93421. // implicit return
  93422. return A._asyncReturn(null, $async$completer);
  93423. }
  93424. });
  93425. return A._asyncStartSync($async$call$0, $async$completer);
  93426. },
  93427. $signature: 2
  93428. };
  93429. A._EvaluateVisitor_visitStyleRule__closure2.prototype = {
  93430. call$0() {
  93431. var $async$goto = 0,
  93432. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  93433. $async$self = this, t1, t2, t3, _i;
  93434. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  93435. if ($async$errorCode === 1)
  93436. return A._asyncRethrow($async$result, $async$completer);
  93437. while (true)
  93438. switch ($async$goto) {
  93439. case 0:
  93440. // Function start
  93441. t1 = $async$self.node.children, t2 = t1.length, t3 = $async$self.$this, _i = 0;
  93442. case 2:
  93443. // for condition
  93444. if (!(_i < t2)) {
  93445. // goto after for
  93446. $async$goto = 4;
  93447. break;
  93448. }
  93449. $async$goto = 5;
  93450. return A._asyncAwait(t1[_i].accept$1(t3), $async$call$0);
  93451. case 5:
  93452. // returning from await.
  93453. case 3:
  93454. // for update
  93455. ++_i;
  93456. // goto for condition
  93457. $async$goto = 2;
  93458. break;
  93459. case 4:
  93460. // after for
  93461. // implicit return
  93462. return A._asyncReturn(null, $async$completer);
  93463. }
  93464. });
  93465. return A._asyncStartSync($async$call$0, $async$completer);
  93466. },
  93467. $signature: 2
  93468. };
  93469. A._EvaluateVisitor_visitStyleRule_closure13.prototype = {
  93470. call$1(node) {
  93471. return node instanceof A.ModifiableCssStyleRule0;
  93472. },
  93473. $signature: 8
  93474. };
  93475. A._EvaluateVisitor__warnForBogusCombinators_closure2.prototype = {
  93476. call$1(child) {
  93477. return child instanceof A.ModifiableCssComment0;
  93478. },
  93479. $signature: 8
  93480. };
  93481. A._EvaluateVisitor_visitSupportsRule_closure5.prototype = {
  93482. call$0() {
  93483. var $async$goto = 0,
  93484. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  93485. $async$self = this, t2, t3, _i, t1, _0_0;
  93486. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  93487. if ($async$errorCode === 1)
  93488. return A._asyncRethrow($async$result, $async$completer);
  93489. while (true)
  93490. switch ($async$goto) {
  93491. case 0:
  93492. // Function start
  93493. t1 = $async$self.$this;
  93494. _0_0 = t1._async_evaluate0$_atRootExcludingStyleRule ? null : t1._async_evaluate0$_styleRuleIgnoringAtRoot;
  93495. $async$goto = _0_0 != null ? 2 : 4;
  93496. break;
  93497. case 2:
  93498. // then
  93499. $async$goto = 5;
  93500. 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);
  93501. case 5:
  93502. // returning from await.
  93503. // goto join
  93504. $async$goto = 3;
  93505. break;
  93506. case 4:
  93507. // else
  93508. t2 = $async$self.node.children, t3 = t2.length, _i = 0;
  93509. case 6:
  93510. // for condition
  93511. if (!(_i < t3)) {
  93512. // goto after for
  93513. $async$goto = 8;
  93514. break;
  93515. }
  93516. $async$goto = 9;
  93517. return A._asyncAwait(t2[_i].accept$1(t1), $async$call$0);
  93518. case 9:
  93519. // returning from await.
  93520. case 7:
  93521. // for update
  93522. ++_i;
  93523. // goto for condition
  93524. $async$goto = 6;
  93525. break;
  93526. case 8:
  93527. // after for
  93528. case 3:
  93529. // join
  93530. // implicit return
  93531. return A._asyncReturn(null, $async$completer);
  93532. }
  93533. });
  93534. return A._asyncStartSync($async$call$0, $async$completer);
  93535. },
  93536. $signature: 2
  93537. };
  93538. A._EvaluateVisitor_visitSupportsRule__closure2.prototype = {
  93539. call$0() {
  93540. var $async$goto = 0,
  93541. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  93542. $async$self = this, t1, t2, t3, _i;
  93543. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  93544. if ($async$errorCode === 1)
  93545. return A._asyncRethrow($async$result, $async$completer);
  93546. while (true)
  93547. switch ($async$goto) {
  93548. case 0:
  93549. // Function start
  93550. t1 = $async$self.node.children, t2 = t1.length, t3 = $async$self.$this, _i = 0;
  93551. case 2:
  93552. // for condition
  93553. if (!(_i < t2)) {
  93554. // goto after for
  93555. $async$goto = 4;
  93556. break;
  93557. }
  93558. $async$goto = 5;
  93559. return A._asyncAwait(t1[_i].accept$1(t3), $async$call$0);
  93560. case 5:
  93561. // returning from await.
  93562. case 3:
  93563. // for update
  93564. ++_i;
  93565. // goto for condition
  93566. $async$goto = 2;
  93567. break;
  93568. case 4:
  93569. // after for
  93570. // implicit return
  93571. return A._asyncReturn(null, $async$completer);
  93572. }
  93573. });
  93574. return A._asyncStartSync($async$call$0, $async$completer);
  93575. },
  93576. $signature: 2
  93577. };
  93578. A._EvaluateVisitor_visitSupportsRule_closure6.prototype = {
  93579. call$1(node) {
  93580. return node instanceof A.ModifiableCssStyleRule0;
  93581. },
  93582. $signature: 8
  93583. };
  93584. A._EvaluateVisitor__visitSupportsCondition_closure2.prototype = {
  93585. call$0() {
  93586. var $async$goto = 0,
  93587. $async$completer = A._makeAsyncAwaitCompleter(type$.String),
  93588. $async$returnValue, $async$self = this, t1, t2, t3, t4, $async$temp1, $async$temp2;
  93589. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  93590. if ($async$errorCode === 1)
  93591. return A._asyncRethrow($async$result, $async$completer);
  93592. while (true)
  93593. switch ($async$goto) {
  93594. case 0:
  93595. // Function start
  93596. t1 = $async$self.$this;
  93597. t2 = $async$self._box_0;
  93598. $async$temp1 = A;
  93599. $async$goto = 3;
  93600. return A._asyncAwait(t1._async_evaluate0$_evaluateToCss$1(t2.declaration.name), $async$call$0);
  93601. case 3:
  93602. // returning from await.
  93603. t3 = $async$temp1.S($async$result);
  93604. t4 = t2.declaration.get$isCustomProperty() ? "" : " ";
  93605. $async$temp1 = "(" + t3 + ":" + t4;
  93606. $async$temp2 = A;
  93607. $async$goto = 4;
  93608. return A._asyncAwait(t1._async_evaluate0$_evaluateToCss$1(t2.declaration.value), $async$call$0);
  93609. case 4:
  93610. // returning from await.
  93611. $async$returnValue = $async$temp1 + $async$temp2.S($async$result) + ")";
  93612. // goto return
  93613. $async$goto = 1;
  93614. break;
  93615. case 1:
  93616. // return
  93617. return A._asyncReturn($async$returnValue, $async$completer);
  93618. }
  93619. });
  93620. return A._asyncStartSync($async$call$0, $async$completer);
  93621. },
  93622. $signature: 181
  93623. };
  93624. A._EvaluateVisitor_visitVariableDeclaration_closure8.prototype = {
  93625. call$0() {
  93626. var t1 = this.$this._async_evaluate0$_environment,
  93627. t2 = this._box_0.override;
  93628. t1.setVariable$4$global(this.node.name, t2.value, t2.assignmentNode, true);
  93629. },
  93630. $signature: 1
  93631. };
  93632. A._EvaluateVisitor_visitVariableDeclaration_closure9.prototype = {
  93633. call$0() {
  93634. var t1 = this.node;
  93635. return this.$this._async_evaluate0$_environment.getVariable$2$namespace(t1.name, t1.namespace);
  93636. },
  93637. $signature: 43
  93638. };
  93639. A._EvaluateVisitor_visitVariableDeclaration_closure10.prototype = {
  93640. call$0() {
  93641. var t1 = this.$this,
  93642. t2 = this.node;
  93643. t1._async_evaluate0$_environment.setVariable$5$global$namespace(t2.name, this.value, t1._async_evaluate0$_expressionNode$1(t2.expression), t2.isGlobal, t2.namespace);
  93644. },
  93645. $signature: 1
  93646. };
  93647. A._EvaluateVisitor_visitUseRule_closure2.prototype = {
  93648. call$2(module, firstLoad) {
  93649. var t1, t2, t3, _0_0, t4, t5, span;
  93650. if (firstLoad)
  93651. this.$this._async_evaluate0$_registerCommentsForModule$1(module);
  93652. t1 = this.$this._async_evaluate0$_environment;
  93653. t2 = this.node;
  93654. t3 = t2.namespace;
  93655. if (t3 == null) {
  93656. t1._async_environment0$_globalModules.$indexSet(0, module, t2);
  93657. t1._async_environment0$_allModules.push(module);
  93658. _0_0 = A.IterableExtension_firstWhereOrNull(J.get$keys$z(B.JSArray_methods.get$first(t1._async_environment0$_variables)), module.get$variables().get$containsKey());
  93659. if (_0_0 != null)
  93660. A.throwExpression(A.SassScriptException$0(string$.This_ma + _0_0 + '".', null));
  93661. } else {
  93662. t4 = t1._async_environment0$_modules;
  93663. if (t4.containsKey$1(t3)) {
  93664. t5 = t1._async_environment0$_namespaceNodes.$index(0, t3);
  93665. span = t5 == null ? null : t5.span;
  93666. t5 = A.LinkedHashMap_LinkedHashMap$_empty(type$.FileSpan, type$.String);
  93667. if (span != null)
  93668. t5.$indexSet(0, span, "original @use");
  93669. A.throwExpression(A.MultiSpanSassScriptException$0(string$.There_ + t3 + '".', "new @use", t5));
  93670. }
  93671. t4.$indexSet(0, t3, module);
  93672. t1._async_environment0$_namespaceNodes.$indexSet(0, t3, t2);
  93673. t1._async_environment0$_allModules.push(module);
  93674. }
  93675. },
  93676. $signature: 119
  93677. };
  93678. A._EvaluateVisitor_visitWarnRule_closure2.prototype = {
  93679. call$0() {
  93680. return this.node.expression.accept$1(this.$this);
  93681. },
  93682. $signature: 74
  93683. };
  93684. A._EvaluateVisitor_visitWhileRule_closure2.prototype = {
  93685. call$0() {
  93686. var $async$goto = 0,
  93687. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
  93688. $async$returnValue, $async$self = this, t1, t2, t3, _0_0;
  93689. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  93690. if ($async$errorCode === 1)
  93691. return A._asyncRethrow($async$result, $async$completer);
  93692. while (true)
  93693. switch ($async$goto) {
  93694. case 0:
  93695. // Function start
  93696. t1 = $async$self.node, t2 = t1.condition, t3 = $async$self.$this, t1 = t1.children;
  93697. case 3:
  93698. // for condition
  93699. $async$goto = 5;
  93700. return A._asyncAwait(t2.accept$1(t3), $async$call$0);
  93701. case 5:
  93702. // returning from await.
  93703. if (!$async$result.get$isTruthy()) {
  93704. // goto after for
  93705. $async$goto = 4;
  93706. break;
  93707. }
  93708. $async$goto = 6;
  93709. return A._asyncAwait(t3._async_evaluate0$_handleReturn$2(t1, new A._EvaluateVisitor_visitWhileRule__closure2(t3)), $async$call$0);
  93710. case 6:
  93711. // returning from await.
  93712. _0_0 = $async$result;
  93713. if (_0_0 != null) {
  93714. $async$returnValue = _0_0;
  93715. // goto return
  93716. $async$goto = 1;
  93717. break;
  93718. }
  93719. // goto for condition
  93720. $async$goto = 3;
  93721. break;
  93722. case 4:
  93723. // after for
  93724. $async$returnValue = null;
  93725. // goto return
  93726. $async$goto = 1;
  93727. break;
  93728. case 1:
  93729. // return
  93730. return A._asyncReturn($async$returnValue, $async$completer);
  93731. }
  93732. });
  93733. return A._asyncStartSync($async$call$0, $async$completer);
  93734. },
  93735. $signature: 72
  93736. };
  93737. A._EvaluateVisitor_visitWhileRule__closure2.prototype = {
  93738. call$1(child) {
  93739. return child.accept$1(this.$this);
  93740. },
  93741. $signature: 114
  93742. };
  93743. A._EvaluateVisitor_visitBinaryOperationExpression_closure2.prototype = {
  93744. call$0() {
  93745. var $async$goto = 0,
  93746. $async$completer = A._makeAsyncAwaitCompleter(type$.Value_2),
  93747. $async$returnValue, $async$self = this, t3, t1, t2, left, $async$temp1, $async$temp2;
  93748. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  93749. if ($async$errorCode === 1)
  93750. return A._asyncRethrow($async$result, $async$completer);
  93751. while (true)
  93752. switch ($async$goto) {
  93753. case 0:
  93754. // Function start
  93755. t1 = $async$self.node;
  93756. t2 = $async$self.$this;
  93757. $async$goto = 3;
  93758. return A._asyncAwait(t1.left.accept$1(t2), $async$call$0);
  93759. case 3:
  93760. // returning from await.
  93761. left = $async$result;
  93762. case 4:
  93763. // switch
  93764. switch (t1.operator) {
  93765. case B.BinaryOperator_Kyq0:
  93766. // goto case
  93767. $async$goto = 6;
  93768. break;
  93769. case B.BinaryOperator_tKu0:
  93770. // goto case
  93771. $async$goto = 7;
  93772. break;
  93773. case B.BinaryOperator_uke0:
  93774. // goto case
  93775. $async$goto = 8;
  93776. break;
  93777. case B.BinaryOperator_r840:
  93778. // goto case
  93779. $async$goto = 9;
  93780. break;
  93781. case B.BinaryOperator_qGq0:
  93782. // goto case
  93783. $async$goto = 10;
  93784. break;
  93785. case B.BinaryOperator_o8O0:
  93786. // goto case
  93787. $async$goto = 11;
  93788. break;
  93789. case B.BinaryOperator_JiR0:
  93790. // goto case
  93791. $async$goto = 12;
  93792. break;
  93793. case B.BinaryOperator_qHy0:
  93794. // goto case
  93795. $async$goto = 13;
  93796. break;
  93797. case B.BinaryOperator_FPG0:
  93798. // goto case
  93799. $async$goto = 14;
  93800. break;
  93801. case B.BinaryOperator_Swh0:
  93802. // goto case
  93803. $async$goto = 15;
  93804. break;
  93805. case B.BinaryOperator_QG10:
  93806. // goto case
  93807. $async$goto = 16;
  93808. break;
  93809. case B.BinaryOperator_tht0:
  93810. // goto case
  93811. $async$goto = 17;
  93812. break;
  93813. case B.BinaryOperator_Mh50:
  93814. // goto case
  93815. $async$goto = 18;
  93816. break;
  93817. case B.BinaryOperator_s7T0:
  93818. // goto case
  93819. $async$goto = 19;
  93820. break;
  93821. default:
  93822. // goto default
  93823. $async$goto = 20;
  93824. break;
  93825. }
  93826. break;
  93827. case 6:
  93828. // case
  93829. t1 = t1.right.accept$1(t2);
  93830. $async$goto = 21;
  93831. return A._asyncAwait(type$.Future_Value_2._is(t1) ? t1 : A._Future$value(t1, type$.Value_2), $async$call$0);
  93832. case 21:
  93833. // returning from await.
  93834. t1 = $async$result;
  93835. t1 = new A.SassString0(A.serializeValue0(left, false, true) + "=" + A.serializeValue0(t1, false, true), false);
  93836. // goto after switch
  93837. $async$goto = 5;
  93838. break;
  93839. case 7:
  93840. // case
  93841. $async$goto = left.get$isTruthy() ? 22 : 24;
  93842. break;
  93843. case 22:
  93844. // then
  93845. t1 = left;
  93846. // goto join
  93847. $async$goto = 23;
  93848. break;
  93849. case 24:
  93850. // else
  93851. t1 = t1.right.accept$1(t2);
  93852. $async$goto = 25;
  93853. return A._asyncAwait(type$.Future_Value_2._is(t1) ? t1 : A._Future$value(t1, type$.Value_2), $async$call$0);
  93854. case 25:
  93855. // returning from await.
  93856. t1 = $async$result;
  93857. case 23:
  93858. // join
  93859. // goto after switch
  93860. $async$goto = 5;
  93861. break;
  93862. case 8:
  93863. // case
  93864. $async$goto = left.get$isTruthy() ? 26 : 28;
  93865. break;
  93866. case 26:
  93867. // then
  93868. t1 = t1.right.accept$1(t2);
  93869. $async$goto = 29;
  93870. return A._asyncAwait(type$.Future_Value_2._is(t1) ? t1 : A._Future$value(t1, type$.Value_2), $async$call$0);
  93871. case 29:
  93872. // returning from await.
  93873. t1 = $async$result;
  93874. // goto join
  93875. $async$goto = 27;
  93876. break;
  93877. case 28:
  93878. // else
  93879. t1 = left;
  93880. case 27:
  93881. // join
  93882. // goto after switch
  93883. $async$goto = 5;
  93884. break;
  93885. case 9:
  93886. // case
  93887. $async$temp1 = left;
  93888. $async$goto = 30;
  93889. return A._asyncAwait(t1.right.accept$1(t2), $async$call$0);
  93890. case 30:
  93891. // returning from await.
  93892. t1 = $async$temp1.$eq(0, $async$result) ? B.SassBoolean_true0 : B.SassBoolean_false0;
  93893. // goto after switch
  93894. $async$goto = 5;
  93895. break;
  93896. case 10:
  93897. // case
  93898. $async$temp1 = left;
  93899. $async$goto = 31;
  93900. return A._asyncAwait(t1.right.accept$1(t2), $async$call$0);
  93901. case 31:
  93902. // returning from await.
  93903. t1 = !$async$temp1.$eq(0, $async$result) ? B.SassBoolean_true0 : B.SassBoolean_false0;
  93904. // goto after switch
  93905. $async$goto = 5;
  93906. break;
  93907. case 11:
  93908. // case
  93909. t1 = t1.right.accept$1(t2);
  93910. $async$temp1 = left;
  93911. $async$goto = 32;
  93912. return A._asyncAwait(type$.Future_Value_2._is(t1) ? t1 : A._Future$value(t1, type$.Value_2), $async$call$0);
  93913. case 32:
  93914. // returning from await.
  93915. t1 = $async$temp1.greaterThan$1($async$result);
  93916. // goto after switch
  93917. $async$goto = 5;
  93918. break;
  93919. case 12:
  93920. // case
  93921. t1 = t1.right.accept$1(t2);
  93922. $async$temp1 = left;
  93923. $async$goto = 33;
  93924. return A._asyncAwait(type$.Future_Value_2._is(t1) ? t1 : A._Future$value(t1, type$.Value_2), $async$call$0);
  93925. case 33:
  93926. // returning from await.
  93927. t1 = $async$temp1.greaterThanOrEquals$1($async$result);
  93928. // goto after switch
  93929. $async$goto = 5;
  93930. break;
  93931. case 13:
  93932. // case
  93933. t1 = t1.right.accept$1(t2);
  93934. $async$temp1 = left;
  93935. $async$goto = 34;
  93936. return A._asyncAwait(type$.Future_Value_2._is(t1) ? t1 : A._Future$value(t1, type$.Value_2), $async$call$0);
  93937. case 34:
  93938. // returning from await.
  93939. t1 = $async$temp1.lessThan$1($async$result);
  93940. // goto after switch
  93941. $async$goto = 5;
  93942. break;
  93943. case 14:
  93944. // case
  93945. t1 = t1.right.accept$1(t2);
  93946. $async$temp1 = left;
  93947. $async$goto = 35;
  93948. return A._asyncAwait(type$.Future_Value_2._is(t1) ? t1 : A._Future$value(t1, type$.Value_2), $async$call$0);
  93949. case 35:
  93950. // returning from await.
  93951. t1 = $async$temp1.lessThanOrEquals$1($async$result);
  93952. // goto after switch
  93953. $async$goto = 5;
  93954. break;
  93955. case 15:
  93956. // case
  93957. t1 = t1.right.accept$1(t2);
  93958. $async$temp1 = left;
  93959. $async$goto = 36;
  93960. return A._asyncAwait(type$.Future_Value_2._is(t1) ? t1 : A._Future$value(t1, type$.Value_2), $async$call$0);
  93961. case 36:
  93962. // returning from await.
  93963. t1 = $async$temp1.plus$1($async$result);
  93964. // goto after switch
  93965. $async$goto = 5;
  93966. break;
  93967. case 16:
  93968. // case
  93969. t1 = t1.right.accept$1(t2);
  93970. $async$temp1 = left;
  93971. $async$goto = 37;
  93972. return A._asyncAwait(type$.Future_Value_2._is(t1) ? t1 : A._Future$value(t1, type$.Value_2), $async$call$0);
  93973. case 37:
  93974. // returning from await.
  93975. t1 = $async$temp1.minus$1($async$result);
  93976. // goto after switch
  93977. $async$goto = 5;
  93978. break;
  93979. case 17:
  93980. // case
  93981. t1 = t1.right.accept$1(t2);
  93982. $async$temp1 = left;
  93983. $async$goto = 38;
  93984. return A._asyncAwait(type$.Future_Value_2._is(t1) ? t1 : A._Future$value(t1, type$.Value_2), $async$call$0);
  93985. case 38:
  93986. // returning from await.
  93987. t1 = $async$temp1.times$1($async$result);
  93988. // goto after switch
  93989. $async$goto = 5;
  93990. break;
  93991. case 18:
  93992. // case
  93993. t3 = t1.right.accept$1(t2);
  93994. $async$temp1 = t2;
  93995. $async$temp2 = left;
  93996. $async$goto = 39;
  93997. return A._asyncAwait(type$.Future_Value_2._is(t3) ? t3 : A._Future$value(t3, type$.Value_2), $async$call$0);
  93998. case 39:
  93999. // returning from await.
  94000. t1 = $async$temp1._async_evaluate0$_slash$3($async$temp2, $async$result, t1);
  94001. // goto after switch
  94002. $async$goto = 5;
  94003. break;
  94004. case 19:
  94005. // case
  94006. t1 = t1.right.accept$1(t2);
  94007. $async$temp1 = left;
  94008. $async$goto = 40;
  94009. return A._asyncAwait(type$.Future_Value_2._is(t1) ? t1 : A._Future$value(t1, type$.Value_2), $async$call$0);
  94010. case 40:
  94011. // returning from await.
  94012. t1 = $async$temp1.modulo$1($async$result);
  94013. // goto after switch
  94014. $async$goto = 5;
  94015. break;
  94016. case 20:
  94017. // default
  94018. t1 = null;
  94019. case 5:
  94020. // after switch
  94021. $async$returnValue = t1;
  94022. // goto return
  94023. $async$goto = 1;
  94024. break;
  94025. case 1:
  94026. // return
  94027. return A._asyncReturn($async$returnValue, $async$completer);
  94028. }
  94029. });
  94030. return A._asyncStartSync($async$call$0, $async$completer);
  94031. },
  94032. $signature: 74
  94033. };
  94034. A._EvaluateVisitor__slash_recommendation2.prototype = {
  94035. call$1(expression) {
  94036. var t1;
  94037. $label0$0: {
  94038. if (expression instanceof A.BinaryOperationExpression0 && B.BinaryOperator_Mh50 === expression.operator) {
  94039. t1 = "math.div(" + A.S(this.call$1(expression.left)) + ", " + A.S(this.call$1(expression.right)) + ")";
  94040. break $label0$0;
  94041. }
  94042. if (expression instanceof A.ParenthesizedExpression0) {
  94043. t1 = expression.expression.toString$0(0);
  94044. break $label0$0;
  94045. }
  94046. t1 = expression.toString$0(0);
  94047. break $label0$0;
  94048. }
  94049. return t1;
  94050. },
  94051. $signature: 118
  94052. };
  94053. A._EvaluateVisitor_visitVariableExpression_closure2.prototype = {
  94054. call$0() {
  94055. var t1 = this.node;
  94056. return this.$this._async_evaluate0$_environment.getVariable$2$namespace(t1.name, t1.namespace);
  94057. },
  94058. $signature: 43
  94059. };
  94060. A._EvaluateVisitor_visitUnaryOperationExpression_closure2.prototype = {
  94061. call$0() {
  94062. var t1, _this = this;
  94063. switch (_this.node.operator) {
  94064. case B.UnaryOperator_Rbl0:
  94065. t1 = _this.operand.unaryPlus$0();
  94066. break;
  94067. case B.UnaryOperator_UCP0:
  94068. t1 = _this.operand.unaryMinus$0();
  94069. break;
  94070. case B.UnaryOperator_lZV0:
  94071. t1 = new A.SassString0("/" + A.serializeValue0(_this.operand, false, true), false);
  94072. break;
  94073. case B.UnaryOperator_not_not_not0:
  94074. t1 = _this.operand.unaryNot$0();
  94075. break;
  94076. default:
  94077. t1 = null;
  94078. }
  94079. return t1;
  94080. },
  94081. $signature: 50
  94082. };
  94083. A._EvaluateVisitor_visitListExpression_closure2.prototype = {
  94084. call$1(expression) {
  94085. return expression.accept$1(this.$this);
  94086. },
  94087. $signature: 352
  94088. };
  94089. A._EvaluateVisitor_visitFunctionExpression_closure8.prototype = {
  94090. call$0() {
  94091. var t1 = this.node;
  94092. return this.$this._async_evaluate0$_environment.getFunction$2$namespace(t1.name, t1.namespace);
  94093. },
  94094. $signature: 97
  94095. };
  94096. A._EvaluateVisitor_visitFunctionExpression_closure9.prototype = {
  94097. call$1(argument) {
  94098. return argument.accept$1(B.C_IsCalculationSafeVisitor0);
  94099. },
  94100. $signature: 117
  94101. };
  94102. A._EvaluateVisitor_visitFunctionExpression_closure10.prototype = {
  94103. call$0() {
  94104. var t1 = this.node;
  94105. return this.$this._async_evaluate0$_runFunctionCallable$3(t1.$arguments, this._box_0.$function, t1);
  94106. },
  94107. $signature: 74
  94108. };
  94109. A._EvaluateVisitor__visitCalculation_closure2.prototype = {
  94110. call$2(message, deprecation) {
  94111. return this.$this._async_evaluate0$_warn$3(message, this.node.span, deprecation);
  94112. },
  94113. call$1(message) {
  94114. return this.call$2(message, null);
  94115. },
  94116. $signature: 110
  94117. };
  94118. A._EvaluateVisitor__checkCalculationArguments_check2.prototype = {
  94119. call$1(maxArgs) {
  94120. var t1 = this.node,
  94121. t2 = t1.$arguments.positional.length;
  94122. if (t2 === 0)
  94123. throw A.wrapException(this.$this._async_evaluate0$_exception$2("Missing argument.", t1.span));
  94124. else if (maxArgs != null && t2 > maxArgs)
  94125. 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));
  94126. },
  94127. call$0() {
  94128. return this.call$1(null);
  94129. },
  94130. $signature: 85
  94131. };
  94132. A._EvaluateVisitor__visitCalculationExpression_closure2.prototype = {
  94133. call$0() {
  94134. var $async$goto = 0,
  94135. $async$completer = A._makeAsyncAwaitCompleter(type$.Object),
  94136. $async$returnValue, $async$self = this, t1, t2, t3, t4, $async$temp1, $async$temp2, $async$temp3;
  94137. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  94138. if ($async$errorCode === 1)
  94139. return A._asyncRethrow($async$result, $async$completer);
  94140. while (true)
  94141. switch ($async$goto) {
  94142. case 0:
  94143. // Function start
  94144. t1 = $async$self.$this;
  94145. t2 = $async$self._box_0;
  94146. t3 = $async$self.node;
  94147. t4 = $async$self.inLegacySassFunction;
  94148. $async$temp1 = A;
  94149. $async$temp2 = t1._async_evaluate0$_binaryOperatorToCalculationOperator$2(t2.operator, t3);
  94150. $async$goto = 3;
  94151. return A._asyncAwait(t1._async_evaluate0$_visitCalculationExpression$2$inLegacySassFunction(t2.left, t4), $async$call$0);
  94152. case 3:
  94153. // returning from await.
  94154. $async$temp3 = $async$result;
  94155. $async$goto = 4;
  94156. return A._asyncAwait(t1._async_evaluate0$_visitCalculationExpression$2$inLegacySassFunction(t2.right, t4), $async$call$0);
  94157. case 4:
  94158. // returning from await.
  94159. $async$returnValue = $async$temp1.SassCalculation_operateInternal0($async$temp2, $async$temp3, $async$result, t4, !t1._async_evaluate0$_inSupportsDeclaration, new A._EvaluateVisitor__visitCalculationExpression__closure2(t1, t3));
  94160. // goto return
  94161. $async$goto = 1;
  94162. break;
  94163. case 1:
  94164. // return
  94165. return A._asyncReturn($async$returnValue, $async$completer);
  94166. }
  94167. });
  94168. return A._asyncStartSync($async$call$0, $async$completer);
  94169. },
  94170. $signature: 183
  94171. };
  94172. A._EvaluateVisitor__visitCalculationExpression__closure2.prototype = {
  94173. call$2(message, deprecation) {
  94174. return this.$this._async_evaluate0$_warn$3(message, this.node.get$span(0), deprecation);
  94175. },
  94176. call$1(message) {
  94177. return this.call$2(message, null);
  94178. },
  94179. $signature: 110
  94180. };
  94181. A._EvaluateVisitor_visitInterpolatedFunctionExpression_closure2.prototype = {
  94182. call$0() {
  94183. var t1 = this.node;
  94184. return this.$this._async_evaluate0$_runFunctionCallable$3(t1.$arguments, this.$function, t1);
  94185. },
  94186. $signature: 74
  94187. };
  94188. A._EvaluateVisitor__runUserDefinedCallable_closure2.prototype = {
  94189. call$0() {
  94190. var _this = this,
  94191. t1 = _this.$this,
  94192. t2 = _this.callable,
  94193. t3 = _this.V;
  94194. 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);
  94195. },
  94196. $signature() {
  94197. return this.V._eval$1("Future<0>()");
  94198. }
  94199. };
  94200. A._EvaluateVisitor__runUserDefinedCallable__closure2.prototype = {
  94201. call$0() {
  94202. var _this = this,
  94203. t1 = _this.$this,
  94204. t2 = _this.V;
  94205. return t1._async_evaluate0$_environment.scope$1$1(new A._EvaluateVisitor__runUserDefinedCallable___closure2(t1, _this.evaluated, _this.callable, _this.nodeWithSpan, _this.run, t2), t2);
  94206. },
  94207. $signature() {
  94208. return this.V._eval$1("Future<0>()");
  94209. }
  94210. };
  94211. A._EvaluateVisitor__runUserDefinedCallable___closure2.prototype = {
  94212. call$0() {
  94213. return this.$call$body$_EvaluateVisitor__runUserDefinedCallable___closure0(this.V);
  94214. },
  94215. $call$body$_EvaluateVisitor__runUserDefinedCallable___closure0($async$type) {
  94216. var $async$goto = 0,
  94217. $async$completer = A._makeAsyncAwaitCompleter($async$type),
  94218. $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;
  94219. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  94220. if ($async$errorCode === 1)
  94221. return A._asyncRethrow($async$result, $async$completer);
  94222. while (true)
  94223. switch ($async$goto) {
  94224. case 0:
  94225. // Function start
  94226. t1 = $async$self.$this;
  94227. t2 = $async$self.evaluated._values;
  94228. t3 = $async$self.callable.declaration.parameters;
  94229. t4 = $async$self.nodeWithSpan;
  94230. t1._async_evaluate0$_verifyArguments$4(J.get$length$asx(t2[2]), t2[0], t3, t4);
  94231. parameters = t3.parameters;
  94232. t5 = parameters.length;
  94233. minLength = Math.min(J.get$length$asx(t2[2]), t5);
  94234. for (i = 0; i < minLength; ++i)
  94235. t1._async_evaluate0$_environment.setLocalVariable$3(parameters[i].name, J.$index$asx(t2[2], i), J.$index$asx(t2[3], i));
  94236. i = J.get$length$asx(t2[2]);
  94237. case 3:
  94238. // for condition
  94239. if (!(i < t5)) {
  94240. // goto after for
  94241. $async$goto = 5;
  94242. break;
  94243. }
  94244. parameter = parameters[i];
  94245. t6 = parameter.name;
  94246. value = t2[0].remove$1(0, t6);
  94247. $async$goto = value == null ? 6 : 7;
  94248. break;
  94249. case 6:
  94250. // then
  94251. t7 = parameter.defaultValue;
  94252. $async$temp1 = t1;
  94253. $async$goto = 8;
  94254. return A._asyncAwait(t7.accept$1(t1), $async$call$0);
  94255. case 8:
  94256. // returning from await.
  94257. value = $async$temp1._async_evaluate0$_withoutSlash$2($async$result, t1._async_evaluate0$_expressionNode$1(t7));
  94258. case 7:
  94259. // join
  94260. t7 = t1._async_evaluate0$_environment;
  94261. t8 = t2[1].$index(0, t6);
  94262. if (t8 == null) {
  94263. t8 = parameter.defaultValue;
  94264. t8.toString;
  94265. t8 = t1._async_evaluate0$_expressionNode$1(t8);
  94266. }
  94267. t7.setLocalVariable$3(t6, value, t8);
  94268. case 4:
  94269. // for update
  94270. ++i;
  94271. // goto for condition
  94272. $async$goto = 3;
  94273. break;
  94274. case 5:
  94275. // after for
  94276. restParameter = t3.restParameter;
  94277. if (restParameter != null) {
  94278. rest = J.get$length$asx(t2[2]) > t5 ? J.sublist$1$ax(t2[2], t5) : B.List_empty22;
  94279. t5 = t2[0];
  94280. t6 = t2[4];
  94281. argumentList = A.SassArgumentList$0(rest, t5, t6 === B.ListSeparator_undecided_null_undecided0 ? B.ListSeparator_qVN0 : t6);
  94282. t1._async_evaluate0$_environment.setLocalVariable$3(restParameter, argumentList, t4);
  94283. } else
  94284. argumentList = null;
  94285. $async$goto = 9;
  94286. return A._asyncAwait($async$self.run.call$0(), $async$call$0);
  94287. case 9:
  94288. // returning from await.
  94289. result = $async$result;
  94290. if (argumentList == null) {
  94291. $async$returnValue = result;
  94292. // goto return
  94293. $async$goto = 1;
  94294. break;
  94295. }
  94296. t5 = t2[0];
  94297. if (t5.get$isEmpty(t5)) {
  94298. $async$returnValue = result;
  94299. // goto return
  94300. $async$goto = 1;
  94301. break;
  94302. }
  94303. if (argumentList._argument_list$_wereKeywordsAccessed) {
  94304. $async$returnValue = result;
  94305. // goto return
  94306. $async$goto = 1;
  94307. break;
  94308. }
  94309. t5 = t2[0];
  94310. parameterWord = A.pluralize0("parameter", J.get$length$asx(t5.get$keys(t5)), null);
  94311. t2 = t2[0];
  94312. 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));
  94313. case 1:
  94314. // return
  94315. return A._asyncReturn($async$returnValue, $async$completer);
  94316. }
  94317. });
  94318. return A._asyncStartSync($async$call$0, $async$completer);
  94319. },
  94320. $signature() {
  94321. return this.V._eval$1("Future<0>()");
  94322. }
  94323. };
  94324. A._EvaluateVisitor__runUserDefinedCallable____closure2.prototype = {
  94325. call$1($name) {
  94326. return "$" + $name;
  94327. },
  94328. $signature: 6
  94329. };
  94330. A._EvaluateVisitor__runFunctionCallable_closure2.prototype = {
  94331. call$0() {
  94332. var $async$goto = 0,
  94333. $async$completer = A._makeAsyncAwaitCompleter(type$.Value_2),
  94334. $async$returnValue, $async$self = this, t1, t2, t3, t4, _i, $returnValue;
  94335. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  94336. if ($async$errorCode === 1)
  94337. return A._asyncRethrow($async$result, $async$completer);
  94338. while (true)
  94339. switch ($async$goto) {
  94340. case 0:
  94341. // Function start
  94342. t1 = $async$self.callable.declaration, t2 = t1.children, t3 = t2.length, t4 = $async$self.$this, _i = 0;
  94343. case 3:
  94344. // for condition
  94345. if (!(_i < t3)) {
  94346. // goto after for
  94347. $async$goto = 5;
  94348. break;
  94349. }
  94350. $async$goto = 6;
  94351. return A._asyncAwait(t2[_i].accept$1(t4), $async$call$0);
  94352. case 6:
  94353. // returning from await.
  94354. $returnValue = $async$result;
  94355. if ($returnValue instanceof A.Value0) {
  94356. $async$returnValue = $returnValue;
  94357. // goto return
  94358. $async$goto = 1;
  94359. break;
  94360. }
  94361. case 4:
  94362. // for update
  94363. ++_i;
  94364. // goto for condition
  94365. $async$goto = 3;
  94366. break;
  94367. case 5:
  94368. // after for
  94369. throw A.wrapException(t4._async_evaluate0$_exception$2("Function finished without @return.", t1.span));
  94370. case 1:
  94371. // return
  94372. return A._asyncReturn($async$returnValue, $async$completer);
  94373. }
  94374. });
  94375. return A._asyncStartSync($async$call$0, $async$completer);
  94376. },
  94377. $signature: 74
  94378. };
  94379. A._EvaluateVisitor__runBuiltInCallable_closure8.prototype = {
  94380. call$0() {
  94381. return this._box_0.overload.verify$2(J.get$length$asx(this.evaluated._values[2]), this.namedSet);
  94382. },
  94383. $signature: 0
  94384. };
  94385. A._EvaluateVisitor__runBuiltInCallable_closure9.prototype = {
  94386. call$0() {
  94387. return this._box_0.callback.call$1(this.evaluated._values[2]);
  94388. },
  94389. $signature: 355
  94390. };
  94391. A._EvaluateVisitor__runBuiltInCallable_closure10.prototype = {
  94392. call$1($name) {
  94393. return "$" + $name;
  94394. },
  94395. $signature: 6
  94396. };
  94397. A._EvaluateVisitor__evaluateArguments_closure11.prototype = {
  94398. call$1(value) {
  94399. return value;
  94400. },
  94401. $signature: 44
  94402. };
  94403. A._EvaluateVisitor__evaluateArguments_closure12.prototype = {
  94404. call$1(value) {
  94405. return this.$this._async_evaluate0$_withoutSlash$2(value, this.restNodeForSpan);
  94406. },
  94407. $signature: 44
  94408. };
  94409. A._EvaluateVisitor__evaluateArguments_closure13.prototype = {
  94410. call$2(key, value) {
  94411. var _this = this,
  94412. t1 = _this.restNodeForSpan;
  94413. _this.named.$indexSet(0, key, _this.$this._async_evaluate0$_withoutSlash$2(value, t1));
  94414. _this.namedNodes.$indexSet(0, key, t1);
  94415. },
  94416. $signature: 112
  94417. };
  94418. A._EvaluateVisitor__evaluateArguments_closure14.prototype = {
  94419. call$1(value) {
  94420. return value;
  94421. },
  94422. $signature: 44
  94423. };
  94424. A._EvaluateVisitor__evaluateMacroArguments_closure11.prototype = {
  94425. call$1(value) {
  94426. var t1 = this.restArgs;
  94427. return new A.ValueExpression0(value, t1.get$span(t1));
  94428. },
  94429. $signature: 57
  94430. };
  94431. A._EvaluateVisitor__evaluateMacroArguments_closure12.prototype = {
  94432. call$1(value) {
  94433. var t1 = this.restArgs;
  94434. return new A.ValueExpression0(this.$this._async_evaluate0$_withoutSlash$2(value, this.restNodeForSpan), t1.get$span(t1));
  94435. },
  94436. $signature: 57
  94437. };
  94438. A._EvaluateVisitor__evaluateMacroArguments_closure13.prototype = {
  94439. call$2(key, value) {
  94440. var _this = this,
  94441. t1 = _this.restArgs;
  94442. _this.named.$indexSet(0, key, new A.ValueExpression0(_this.$this._async_evaluate0$_withoutSlash$2(value, _this.restNodeForSpan), t1.get$span(t1)));
  94443. },
  94444. $signature: 112
  94445. };
  94446. A._EvaluateVisitor__evaluateMacroArguments_closure14.prototype = {
  94447. call$1(value) {
  94448. var t1 = this.keywordRestArgs;
  94449. return new A.ValueExpression0(this.$this._async_evaluate0$_withoutSlash$2(value, this.keywordRestNodeForSpan), t1.get$span(t1));
  94450. },
  94451. $signature: 57
  94452. };
  94453. A._EvaluateVisitor__addRestMap_closure2.prototype = {
  94454. call$2(key, value) {
  94455. var t2, _this = this,
  94456. t1 = _this.$this;
  94457. if (key instanceof A.SassString0)
  94458. _this.values.$indexSet(0, key._string0$_text, _this.convert.call$1(t1._async_evaluate0$_withoutSlash$2(value, _this.expressionNode)));
  94459. else {
  94460. t2 = _this.nodeWithSpan;
  94461. 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)));
  94462. }
  94463. },
  94464. $signature: 107
  94465. };
  94466. A._EvaluateVisitor__verifyArguments_closure2.prototype = {
  94467. call$0() {
  94468. return this.parameters.verify$2(this.positional, new A.MapKeySet(this.named, type$.MapKeySet_String));
  94469. },
  94470. $signature: 0
  94471. };
  94472. A._EvaluateVisitor_visitCssAtRule_closure5.prototype = {
  94473. call$0() {
  94474. var $async$goto = 0,
  94475. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  94476. $async$self = this, t1, t2, t3, t4;
  94477. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  94478. if ($async$errorCode === 1)
  94479. return A._asyncRethrow($async$result, $async$completer);
  94480. while (true)
  94481. switch ($async$goto) {
  94482. case 0:
  94483. // Function start
  94484. 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");
  94485. case 2:
  94486. // for condition
  94487. if (!t1.moveNext$0()) {
  94488. // goto after for
  94489. $async$goto = 3;
  94490. break;
  94491. }
  94492. t4 = t1.__internal$_current;
  94493. $async$goto = 4;
  94494. return A._asyncAwait((t4 == null ? t2._as(t4) : t4).accept$1(t3), $async$call$0);
  94495. case 4:
  94496. // returning from await.
  94497. // goto for condition
  94498. $async$goto = 2;
  94499. break;
  94500. case 3:
  94501. // after for
  94502. // implicit return
  94503. return A._asyncReturn(null, $async$completer);
  94504. }
  94505. });
  94506. return A._asyncStartSync($async$call$0, $async$completer);
  94507. },
  94508. $signature: 2
  94509. };
  94510. A._EvaluateVisitor_visitCssAtRule_closure6.prototype = {
  94511. call$1(node) {
  94512. return node instanceof A.ModifiableCssStyleRule0;
  94513. },
  94514. $signature: 8
  94515. };
  94516. A._EvaluateVisitor_visitCssKeyframeBlock_closure5.prototype = {
  94517. call$0() {
  94518. var $async$goto = 0,
  94519. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  94520. $async$self = this, t1, t2, t3, t4;
  94521. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  94522. if ($async$errorCode === 1)
  94523. return A._asyncRethrow($async$result, $async$completer);
  94524. while (true)
  94525. switch ($async$goto) {
  94526. case 0:
  94527. // Function start
  94528. 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");
  94529. case 2:
  94530. // for condition
  94531. if (!t1.moveNext$0()) {
  94532. // goto after for
  94533. $async$goto = 3;
  94534. break;
  94535. }
  94536. t4 = t1.__internal$_current;
  94537. $async$goto = 4;
  94538. return A._asyncAwait((t4 == null ? t2._as(t4) : t4).accept$1(t3), $async$call$0);
  94539. case 4:
  94540. // returning from await.
  94541. // goto for condition
  94542. $async$goto = 2;
  94543. break;
  94544. case 3:
  94545. // after for
  94546. // implicit return
  94547. return A._asyncReturn(null, $async$completer);
  94548. }
  94549. });
  94550. return A._asyncStartSync($async$call$0, $async$completer);
  94551. },
  94552. $signature: 2
  94553. };
  94554. A._EvaluateVisitor_visitCssKeyframeBlock_closure6.prototype = {
  94555. call$1(node) {
  94556. return node instanceof A.ModifiableCssStyleRule0;
  94557. },
  94558. $signature: 8
  94559. };
  94560. A._EvaluateVisitor_visitCssMediaRule_closure8.prototype = {
  94561. call$1(mediaQueries) {
  94562. return this.$this._async_evaluate0$_mergeMediaQueries$2(mediaQueries, this.node.queries);
  94563. },
  94564. $signature: 104
  94565. };
  94566. A._EvaluateVisitor_visitCssMediaRule_closure9.prototype = {
  94567. call$0() {
  94568. var $async$goto = 0,
  94569. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  94570. $async$self = this, t1, t2;
  94571. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  94572. if ($async$errorCode === 1)
  94573. return A._asyncRethrow($async$result, $async$completer);
  94574. while (true)
  94575. switch ($async$goto) {
  94576. case 0:
  94577. // Function start
  94578. t1 = $async$self.$this;
  94579. t2 = $async$self.mergedQueries;
  94580. if (t2 == null)
  94581. t2 = $async$self.node.queries;
  94582. $async$goto = 2;
  94583. 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);
  94584. case 2:
  94585. // returning from await.
  94586. // implicit return
  94587. return A._asyncReturn(null, $async$completer);
  94588. }
  94589. });
  94590. return A._asyncStartSync($async$call$0, $async$completer);
  94591. },
  94592. $signature: 2
  94593. };
  94594. A._EvaluateVisitor_visitCssMediaRule__closure2.prototype = {
  94595. call$0() {
  94596. var $async$goto = 0,
  94597. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  94598. $async$self = this, t2, t3, t4, t1, _0_0;
  94599. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  94600. if ($async$errorCode === 1)
  94601. return A._asyncRethrow($async$result, $async$completer);
  94602. while (true)
  94603. switch ($async$goto) {
  94604. case 0:
  94605. // Function start
  94606. t1 = $async$self.$this;
  94607. _0_0 = t1._async_evaluate0$_atRootExcludingStyleRule ? null : t1._async_evaluate0$_styleRuleIgnoringAtRoot;
  94608. $async$goto = _0_0 != null ? 2 : 4;
  94609. break;
  94610. case 2:
  94611. // then
  94612. $async$goto = 5;
  94613. 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);
  94614. case 5:
  94615. // returning from await.
  94616. // goto join
  94617. $async$goto = 3;
  94618. break;
  94619. case 4:
  94620. // else
  94621. 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");
  94622. case 6:
  94623. // for condition
  94624. if (!t2.moveNext$0()) {
  94625. // goto after for
  94626. $async$goto = 7;
  94627. break;
  94628. }
  94629. t4 = t2.__internal$_current;
  94630. $async$goto = 8;
  94631. return A._asyncAwait((t4 == null ? t3._as(t4) : t4).accept$1(t1), $async$call$0);
  94632. case 8:
  94633. // returning from await.
  94634. // goto for condition
  94635. $async$goto = 6;
  94636. break;
  94637. case 7:
  94638. // after for
  94639. case 3:
  94640. // join
  94641. // implicit return
  94642. return A._asyncReturn(null, $async$completer);
  94643. }
  94644. });
  94645. return A._asyncStartSync($async$call$0, $async$completer);
  94646. },
  94647. $signature: 2
  94648. };
  94649. A._EvaluateVisitor_visitCssMediaRule___closure2.prototype = {
  94650. call$0() {
  94651. var $async$goto = 0,
  94652. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  94653. $async$self = this, t1, t2, t3, t4;
  94654. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  94655. if ($async$errorCode === 1)
  94656. return A._asyncRethrow($async$result, $async$completer);
  94657. while (true)
  94658. switch ($async$goto) {
  94659. case 0:
  94660. // Function start
  94661. 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");
  94662. case 2:
  94663. // for condition
  94664. if (!t1.moveNext$0()) {
  94665. // goto after for
  94666. $async$goto = 3;
  94667. break;
  94668. }
  94669. t4 = t1.__internal$_current;
  94670. $async$goto = 4;
  94671. return A._asyncAwait((t4 == null ? t2._as(t4) : t4).accept$1(t3), $async$call$0);
  94672. case 4:
  94673. // returning from await.
  94674. // goto for condition
  94675. $async$goto = 2;
  94676. break;
  94677. case 3:
  94678. // after for
  94679. // implicit return
  94680. return A._asyncReturn(null, $async$completer);
  94681. }
  94682. });
  94683. return A._asyncStartSync($async$call$0, $async$completer);
  94684. },
  94685. $signature: 2
  94686. };
  94687. A._EvaluateVisitor_visitCssMediaRule_closure10.prototype = {
  94688. call$1(node) {
  94689. var t1;
  94690. if (!(node instanceof A.ModifiableCssStyleRule0)) {
  94691. t1 = this.mergedSources;
  94692. t1 = t1.get$isNotEmpty(t1) && node instanceof A.ModifiableCssMediaRule0 && B.JSArray_methods.every$1(node.queries, t1.get$contains(t1));
  94693. } else
  94694. t1 = true;
  94695. return t1;
  94696. },
  94697. $signature: 8
  94698. };
  94699. A._EvaluateVisitor_visitCssStyleRule_closure6.prototype = {
  94700. call$0() {
  94701. var $async$goto = 0,
  94702. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  94703. $async$self = this, t1;
  94704. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  94705. if ($async$errorCode === 1)
  94706. return A._asyncRethrow($async$result, $async$completer);
  94707. while (true)
  94708. switch ($async$goto) {
  94709. case 0:
  94710. // Function start
  94711. t1 = $async$self.$this;
  94712. $async$goto = 2;
  94713. 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);
  94714. case 2:
  94715. // returning from await.
  94716. // implicit return
  94717. return A._asyncReturn(null, $async$completer);
  94718. }
  94719. });
  94720. return A._asyncStartSync($async$call$0, $async$completer);
  94721. },
  94722. $signature: 2
  94723. };
  94724. A._EvaluateVisitor_visitCssStyleRule__closure2.prototype = {
  94725. call$0() {
  94726. var $async$goto = 0,
  94727. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  94728. $async$self = this, t1, t2, t3, t4;
  94729. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  94730. if ($async$errorCode === 1)
  94731. return A._asyncRethrow($async$result, $async$completer);
  94732. while (true)
  94733. switch ($async$goto) {
  94734. case 0:
  94735. // Function start
  94736. 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");
  94737. case 2:
  94738. // for condition
  94739. if (!t1.moveNext$0()) {
  94740. // goto after for
  94741. $async$goto = 3;
  94742. break;
  94743. }
  94744. t4 = t1.__internal$_current;
  94745. $async$goto = 4;
  94746. return A._asyncAwait((t4 == null ? t2._as(t4) : t4).accept$1(t3), $async$call$0);
  94747. case 4:
  94748. // returning from await.
  94749. // goto for condition
  94750. $async$goto = 2;
  94751. break;
  94752. case 3:
  94753. // after for
  94754. // implicit return
  94755. return A._asyncReturn(null, $async$completer);
  94756. }
  94757. });
  94758. return A._asyncStartSync($async$call$0, $async$completer);
  94759. },
  94760. $signature: 2
  94761. };
  94762. A._EvaluateVisitor_visitCssStyleRule_closure5.prototype = {
  94763. call$1(node) {
  94764. return node instanceof A.ModifiableCssStyleRule0;
  94765. },
  94766. $signature: 8
  94767. };
  94768. A._EvaluateVisitor_visitCssSupportsRule_closure5.prototype = {
  94769. call$0() {
  94770. var $async$goto = 0,
  94771. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  94772. $async$self = this, t2, t3, t4, t1, _0_0;
  94773. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  94774. if ($async$errorCode === 1)
  94775. return A._asyncRethrow($async$result, $async$completer);
  94776. while (true)
  94777. switch ($async$goto) {
  94778. case 0:
  94779. // Function start
  94780. t1 = $async$self.$this;
  94781. _0_0 = t1._async_evaluate0$_atRootExcludingStyleRule ? null : t1._async_evaluate0$_styleRuleIgnoringAtRoot;
  94782. $async$goto = _0_0 != null ? 2 : 4;
  94783. break;
  94784. case 2:
  94785. // then
  94786. $async$goto = 5;
  94787. 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);
  94788. case 5:
  94789. // returning from await.
  94790. // goto join
  94791. $async$goto = 3;
  94792. break;
  94793. case 4:
  94794. // else
  94795. 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");
  94796. case 6:
  94797. // for condition
  94798. if (!t2.moveNext$0()) {
  94799. // goto after for
  94800. $async$goto = 7;
  94801. break;
  94802. }
  94803. t4 = t2.__internal$_current;
  94804. $async$goto = 8;
  94805. return A._asyncAwait((t4 == null ? t3._as(t4) : t4).accept$1(t1), $async$call$0);
  94806. case 8:
  94807. // returning from await.
  94808. // goto for condition
  94809. $async$goto = 6;
  94810. break;
  94811. case 7:
  94812. // after for
  94813. case 3:
  94814. // join
  94815. // implicit return
  94816. return A._asyncReturn(null, $async$completer);
  94817. }
  94818. });
  94819. return A._asyncStartSync($async$call$0, $async$completer);
  94820. },
  94821. $signature: 2
  94822. };
  94823. A._EvaluateVisitor_visitCssSupportsRule__closure2.prototype = {
  94824. call$0() {
  94825. var $async$goto = 0,
  94826. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  94827. $async$self = this, t1, t2, t3, t4;
  94828. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  94829. if ($async$errorCode === 1)
  94830. return A._asyncRethrow($async$result, $async$completer);
  94831. while (true)
  94832. switch ($async$goto) {
  94833. case 0:
  94834. // Function start
  94835. 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");
  94836. case 2:
  94837. // for condition
  94838. if (!t1.moveNext$0()) {
  94839. // goto after for
  94840. $async$goto = 3;
  94841. break;
  94842. }
  94843. t4 = t1.__internal$_current;
  94844. $async$goto = 4;
  94845. return A._asyncAwait((t4 == null ? t2._as(t4) : t4).accept$1(t3), $async$call$0);
  94846. case 4:
  94847. // returning from await.
  94848. // goto for condition
  94849. $async$goto = 2;
  94850. break;
  94851. case 3:
  94852. // after for
  94853. // implicit return
  94854. return A._asyncReturn(null, $async$completer);
  94855. }
  94856. });
  94857. return A._asyncStartSync($async$call$0, $async$completer);
  94858. },
  94859. $signature: 2
  94860. };
  94861. A._EvaluateVisitor_visitCssSupportsRule_closure6.prototype = {
  94862. call$1(node) {
  94863. return node instanceof A.ModifiableCssStyleRule0;
  94864. },
  94865. $signature: 8
  94866. };
  94867. A._EvaluateVisitor__performInterpolationHelper_closure2.prototype = {
  94868. call$1(targetLocations) {
  94869. return A.InterpolationMap$0(this.interpolation, targetLocations);
  94870. },
  94871. $signature: 218
  94872. };
  94873. A._EvaluateVisitor__serialize_closure2.prototype = {
  94874. call$0() {
  94875. return A.serializeValue0(this.value, false, this.quote);
  94876. },
  94877. $signature: 27
  94878. };
  94879. A._EvaluateVisitor__expressionNode_closure2.prototype = {
  94880. call$0() {
  94881. var t1 = this.expression;
  94882. return this.$this._async_evaluate0$_environment.getVariableNode$2$namespace(t1.name, t1.namespace);
  94883. },
  94884. $signature: 219
  94885. };
  94886. A._EvaluateVisitor__withoutSlash_recommendation2.prototype = {
  94887. call$1(number) {
  94888. var before, after, t1,
  94889. _1_0 = number.asSlash;
  94890. $label0$0: {
  94891. if (type$.Record_2_nullable_Object_and_nullable_Object._is(_1_0)) {
  94892. before = _1_0._0;
  94893. after = _1_0._1;
  94894. t1 = "math.div(" + A.S(this.call$1(before)) + ", " + A.S(this.call$1(after)) + ")";
  94895. break $label0$0;
  94896. }
  94897. t1 = A.serializeValue0(number, true, true);
  94898. break $label0$0;
  94899. }
  94900. return t1;
  94901. },
  94902. $signature: 220
  94903. };
  94904. A._EvaluateVisitor__stackFrame_closure2.prototype = {
  94905. call$1(url) {
  94906. var t1 = this.$this._async_evaluate0$_importCache;
  94907. t1 = t1 == null ? null : t1.humanize$1(url);
  94908. return t1 == null ? url : t1;
  94909. },
  94910. $signature: 48
  94911. };
  94912. A._ImportedCssVisitor2.prototype = {
  94913. visitCssAtRule$1(node) {
  94914. var t1 = node.isChildless ? null : new A._ImportedCssVisitor_visitCssAtRule_closure2();
  94915. this._async_evaluate0$_visitor._async_evaluate0$_addChild$2$through(node, t1);
  94916. },
  94917. visitCssComment$1(node) {
  94918. return this._async_evaluate0$_visitor._async_evaluate0$_addChild$1(node);
  94919. },
  94920. visitCssDeclaration$1(node) {
  94921. },
  94922. visitCssImport$1(node) {
  94923. var t2,
  94924. _s13_ = "_endOfImports",
  94925. t1 = this._async_evaluate0$_visitor;
  94926. if (t1._async_evaluate0$_assertInModule$2(t1._async_evaluate0$__parent, "__parent") !== t1._async_evaluate0$_assertInModule$2(t1._async_evaluate0$__root, "_root"))
  94927. t1._async_evaluate0$_addChild$1(node);
  94928. 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)) {
  94929. t1._async_evaluate0$_addChild$1(node);
  94930. t1._async_evaluate0$__endOfImports = t1._async_evaluate0$_assertInModule$2(t1._async_evaluate0$__endOfImports, _s13_) + 1;
  94931. } else {
  94932. t2 = t1._async_evaluate0$_outOfOrderImports;
  94933. (t2 == null ? t1._async_evaluate0$_outOfOrderImports = A._setArrayType([], type$.JSArray_ModifiableCssImport_2) : t2).push(node);
  94934. }
  94935. },
  94936. visitCssKeyframeBlock$1(node) {
  94937. },
  94938. visitCssMediaRule$1(node) {
  94939. var t1 = this._async_evaluate0$_visitor,
  94940. mediaQueries = t1._async_evaluate0$_mediaQueries;
  94941. t1._async_evaluate0$_addChild$2$through(node, new A._ImportedCssVisitor_visitCssMediaRule_closure2(mediaQueries == null || t1._async_evaluate0$_mergeMediaQueries$2(mediaQueries, node.queries) != null));
  94942. },
  94943. visitCssStyleRule$1(node) {
  94944. return this._async_evaluate0$_visitor._async_evaluate0$_addChild$2$through(node, new A._ImportedCssVisitor_visitCssStyleRule_closure2());
  94945. },
  94946. visitCssStylesheet$1(node) {
  94947. var t1, t2, t3;
  94948. 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();) {
  94949. t3 = t1.__internal$_current;
  94950. (t3 == null ? t2._as(t3) : t3).accept$1(this);
  94951. }
  94952. },
  94953. visitCssSupportsRule$1(node) {
  94954. return this._async_evaluate0$_visitor._async_evaluate0$_addChild$2$through(node, new A._ImportedCssVisitor_visitCssSupportsRule_closure2());
  94955. }
  94956. };
  94957. A._ImportedCssVisitor_visitCssAtRule_closure2.prototype = {
  94958. call$1(node) {
  94959. return node instanceof A.ModifiableCssStyleRule0;
  94960. },
  94961. $signature: 8
  94962. };
  94963. A._ImportedCssVisitor_visitCssMediaRule_closure2.prototype = {
  94964. call$1(node) {
  94965. var t1;
  94966. if (!(node instanceof A.ModifiableCssStyleRule0))
  94967. t1 = this.hasBeenMerged && node instanceof A.ModifiableCssMediaRule0;
  94968. else
  94969. t1 = true;
  94970. return t1;
  94971. },
  94972. $signature: 8
  94973. };
  94974. A._ImportedCssVisitor_visitCssStyleRule_closure2.prototype = {
  94975. call$1(node) {
  94976. return node instanceof A.ModifiableCssStyleRule0;
  94977. },
  94978. $signature: 8
  94979. };
  94980. A._ImportedCssVisitor_visitCssSupportsRule_closure2.prototype = {
  94981. call$1(node) {
  94982. return node instanceof A.ModifiableCssStyleRule0;
  94983. },
  94984. $signature: 8
  94985. };
  94986. A._EvaluationContext2.prototype = {
  94987. get$currentCallableSpan() {
  94988. var _0_0 = this._async_evaluate0$_visitor._async_evaluate0$_callableNode;
  94989. if (_0_0 != null)
  94990. return _0_0.get$span(_0_0);
  94991. throw A.wrapException(A.StateError$(string$.No_Sasc));
  94992. },
  94993. warn$2(_, message, deprecation) {
  94994. var t1 = this._async_evaluate0$_visitor,
  94995. t2 = t1._async_evaluate0$_importSpan;
  94996. if (t2 == null) {
  94997. t2 = t1._async_evaluate0$_callableNode;
  94998. t2 = t2 == null ? null : t2.get$span(t2);
  94999. }
  95000. t1._async_evaluate0$_warn$3(message, t2 == null ? this._async_evaluate0$_defaultWarnNodeWithSpan.span : t2, deprecation);
  95001. },
  95002. $isEvaluationContext0: 1
  95003. };
  95004. A.JSToDartAsyncFileImporter.prototype = {
  95005. canonicalize$1(_, url) {
  95006. return this.canonicalize$body$JSToDartAsyncFileImporter(0, url);
  95007. },
  95008. canonicalize$body$JSToDartAsyncFileImporter(_, url) {
  95009. var $async$goto = 0,
  95010. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Uri),
  95011. $async$returnValue, $async$self = this, result, t1, resultUrl;
  95012. var $async$canonicalize$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  95013. if ($async$errorCode === 1)
  95014. return A._asyncRethrow($async$result, $async$completer);
  95015. while (true)
  95016. switch ($async$goto) {
  95017. case 0:
  95018. // Function start
  95019. if (url.get$scheme() === "file") {
  95020. $async$returnValue = $.$get$FilesystemImporter_cwd0().canonicalize$1(0, url);
  95021. // goto return
  95022. $async$goto = 1;
  95023. break;
  95024. }
  95025. result = A.wrapJSExceptions(new A.JSToDartAsyncFileImporter_canonicalize_closure($async$self, url));
  95026. $async$goto = result != null && result instanceof self.Promise ? 3 : 4;
  95027. break;
  95028. case 3:
  95029. // then
  95030. $async$goto = 5;
  95031. return A._asyncAwait(A.promiseToFuture0(type$.Promise._as(result), type$.nullable_Object), $async$canonicalize$1);
  95032. case 5:
  95033. // returning from await.
  95034. result = $async$result;
  95035. case 4:
  95036. // join
  95037. if (result == null) {
  95038. $async$returnValue = null;
  95039. // goto return
  95040. $async$goto = 1;
  95041. break;
  95042. }
  95043. t1 = self.URL;
  95044. if (!(result instanceof t1))
  95045. A.jsThrow(new self.Error(string$.The_fie));
  95046. resultUrl = A.Uri_parse(J.toString$0$(type$.JSUrl._as(result)));
  95047. if (resultUrl.get$scheme() !== "file")
  95048. A.jsThrow(new self.Error(string$.The_fiu + url.toString$0(0) + '".'));
  95049. $async$returnValue = $.$get$FilesystemImporter_cwd0().canonicalize$1(0, resultUrl);
  95050. // goto return
  95051. $async$goto = 1;
  95052. break;
  95053. case 1:
  95054. // return
  95055. return A._asyncReturn($async$returnValue, $async$completer);
  95056. }
  95057. });
  95058. return A._asyncStartSync($async$canonicalize$1, $async$completer);
  95059. },
  95060. load$1(_, url) {
  95061. return $.$get$FilesystemImporter_cwd0().load$1(0, url);
  95062. },
  95063. isNonCanonicalScheme$1(scheme) {
  95064. return scheme !== "file";
  95065. }
  95066. };
  95067. A.JSToDartAsyncFileImporter_canonicalize_closure.prototype = {
  95068. call$0() {
  95069. return this.$this._findFileUrl.call$2(this.url.toString$0(0), A.canonicalizeContext0());
  95070. },
  95071. $signature: 36
  95072. };
  95073. A.AsyncImportCache0.prototype = {
  95074. canonicalize$4$baseImporter$baseUrl$forImport(_, url, baseImporter, baseUrl, forImport) {
  95075. return this.canonicalize$body$AsyncImportCache0(0, url, baseImporter, baseUrl, forImport);
  95076. },
  95077. canonicalize$body$AsyncImportCache0(_, url, baseImporter, baseUrl, forImport) {
  95078. var $async$goto = 0,
  95079. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Record_3_AsyncImporter_and_Uri_and_Uri_originalUrl_2),
  95080. $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;
  95081. var $async$canonicalize$4$baseImporter$baseUrl$forImport = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  95082. if ($async$errorCode === 1)
  95083. return A._asyncRethrow($async$result, $async$completer);
  95084. while (true)
  95085. switch ($async$goto) {
  95086. case 0:
  95087. // Function start
  95088. if (A.isBrowser())
  95089. t1 = (baseImporter == null || baseImporter instanceof A.NoOpImporter0) && $async$self._async_import_cache0$_importers.length === 0;
  95090. else
  95091. t1 = false;
  95092. if (t1)
  95093. throw A.wrapException(string$.Custom);
  95094. $async$goto = baseImporter != null && url.get$scheme() === "" ? 3 : 4;
  95095. break;
  95096. case 3:
  95097. // then
  95098. resolvedUrl = baseUrl == null ? null : baseUrl.resolveUri$1(url);
  95099. if (resolvedUrl == null)
  95100. resolvedUrl = url;
  95101. key = new A._Record_3_forImport(baseImporter, resolvedUrl, forImport);
  95102. $async$goto = 5;
  95103. 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);
  95104. case 5:
  95105. // returning from await.
  95106. relativeResult = $async$result;
  95107. if (relativeResult != null) {
  95108. $async$returnValue = relativeResult;
  95109. // goto return
  95110. $async$goto = 1;
  95111. break;
  95112. }
  95113. case 4:
  95114. // join
  95115. key = new A._Record_2_forImport(url, forImport);
  95116. t1 = $async$self._async_import_cache0$_canonicalizeCache;
  95117. if (t1.containsKey$1(key)) {
  95118. $async$returnValue = t1.$index(0, key);
  95119. // goto return
  95120. $async$goto = 1;
  95121. break;
  95122. }
  95123. 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;
  95124. case 6:
  95125. // for condition
  95126. if (!(i < t2.length)) {
  95127. // goto after for
  95128. $async$goto = 8;
  95129. break;
  95130. }
  95131. importer = t2[i];
  95132. perImporterKey = new A._Record_3_forImport(importer, url, forImport);
  95133. if (t4.containsKey$1(perImporterKey)) {
  95134. t7 = t4.$index(0, perImporterKey);
  95135. _1_0 = new A._Record_1(t7 == null ? t5._as(t7) : t7);
  95136. } else
  95137. _1_0 = null;
  95138. _1_2_isSet = t3._is(_1_0);
  95139. result = null;
  95140. if (_1_2_isSet) {
  95141. _1_2 = _1_0._0;
  95142. t7 = _1_2 != null;
  95143. if (t7) {
  95144. t6._as(_1_2);
  95145. result = _1_2;
  95146. }
  95147. } else {
  95148. _1_2 = null;
  95149. t7 = false;
  95150. }
  95151. if (t7) {
  95152. $async$returnValue = result;
  95153. // goto return
  95154. $async$goto = 1;
  95155. break;
  95156. }
  95157. if (_1_2_isSet)
  95158. t7 = _1_2 == null;
  95159. else
  95160. t7 = false;
  95161. if (t7) {
  95162. // goto for update
  95163. $async$goto = 7;
  95164. break;
  95165. }
  95166. $async$goto = 10;
  95167. return A._asyncAwait($async$self._async_import_cache0$_canonicalize$4(importer, url, baseUrl, forImport), $async$canonicalize$4$baseImporter$baseUrl$forImport);
  95168. case 10:
  95169. // returning from await.
  95170. _2_0 = $async$result;
  95171. _2_1 = _2_0._0;
  95172. _2_5_isSet = _2_1 != null;
  95173. _2_5 = null;
  95174. _2_3 = null;
  95175. t7 = false;
  95176. if (_2_5_isSet) {
  95177. result = _2_1 == null ? t6._as(_2_1) : _2_1;
  95178. _2_3 = _2_0._1;
  95179. t7 = _2_3;
  95180. _2_5 = t7;
  95181. t7 = t7 && cacheable;
  95182. } else
  95183. result = null;
  95184. if (t7) {
  95185. t1.$indexSet(0, key, result);
  95186. $async$returnValue = result;
  95187. // goto return
  95188. $async$goto = 1;
  95189. break;
  95190. }
  95191. if (_2_5_isSet) {
  95192. t7 = _2_5;
  95193. _2_3_isSet = _2_5_isSet;
  95194. } else {
  95195. _2_3 = _2_0._1;
  95196. t7 = _2_3;
  95197. _2_3_isSet = true;
  95198. }
  95199. t7 = t7 && !cacheable;
  95200. if (t7) {
  95201. t4.$indexSet(0, perImporterKey, _2_1);
  95202. if (_2_1 != null) {
  95203. $async$returnValue = _2_1;
  95204. // goto return
  95205. $async$goto = 1;
  95206. break;
  95207. }
  95208. // goto break $label0$1
  95209. $async$goto = 9;
  95210. break;
  95211. }
  95212. t7 = !(_2_3_isSet ? _2_3 : _2_0._1);
  95213. if (t7) {
  95214. if (cacheable) {
  95215. for (j = 0; j < i; ++j)
  95216. t4.$indexSet(0, new A._Record_3_forImport(t2[j], url, forImport), null);
  95217. cacheable = false;
  95218. }
  95219. if (_2_1 != null) {
  95220. $async$returnValue = _2_1;
  95221. // goto return
  95222. $async$goto = 1;
  95223. break;
  95224. }
  95225. }
  95226. case 9:
  95227. // break $label0$1
  95228. case 7:
  95229. // for update
  95230. ++i;
  95231. // goto for condition
  95232. $async$goto = 6;
  95233. break;
  95234. case 8:
  95235. // after for
  95236. if (cacheable)
  95237. t1.$indexSet(0, key, null);
  95238. $async$returnValue = null;
  95239. // goto return
  95240. $async$goto = 1;
  95241. break;
  95242. case 1:
  95243. // return
  95244. return A._asyncReturn($async$returnValue, $async$completer);
  95245. }
  95246. });
  95247. return A._asyncStartSync($async$canonicalize$4$baseImporter$baseUrl$forImport, $async$completer);
  95248. },
  95249. _async_import_cache0$_canonicalize$4(importer, url, baseUrl, forImport) {
  95250. return this._canonicalize$body$AsyncImportCache0(importer, url, baseUrl, forImport);
  95251. },
  95252. _canonicalize$body$AsyncImportCache0(importer, url, baseUrl, forImport) {
  95253. var $async$goto = 0,
  95254. $async$completer = A._makeAsyncAwaitCompleter(type$.Record_2_nullable_Record_3_AsyncImporter_and_Uri_and_Uri_originalUrl_and_bool_2),
  95255. $async$returnValue, t1, passContainingUrl, canonicalizeContext, result, cacheable;
  95256. var $async$_async_import_cache0$_canonicalize$4 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  95257. if ($async$errorCode === 1)
  95258. return A._asyncRethrow($async$result, $async$completer);
  95259. while (true)
  95260. switch ($async$goto) {
  95261. case 0:
  95262. // Function start
  95263. $async$goto = baseUrl != null ? 3 : 5;
  95264. break;
  95265. case 3:
  95266. // then
  95267. $async$goto = url.get$scheme() !== "" ? 6 : 8;
  95268. break;
  95269. case 6:
  95270. // then
  95271. t1 = A._Future$value(importer.isNonCanonicalScheme$1(url.get$scheme()), type$.bool);
  95272. $async$goto = 9;
  95273. return A._asyncAwait(t1, $async$_async_import_cache0$_canonicalize$4);
  95274. case 9:
  95275. // returning from await.
  95276. t1 = $async$result;
  95277. passContainingUrl = t1;
  95278. // goto join
  95279. $async$goto = 7;
  95280. break;
  95281. case 8:
  95282. // else
  95283. passContainingUrl = true;
  95284. case 7:
  95285. // join
  95286. // goto join
  95287. $async$goto = 4;
  95288. break;
  95289. case 5:
  95290. // else
  95291. passContainingUrl = false;
  95292. case 4:
  95293. // join
  95294. canonicalizeContext = new A.CanonicalizeContext0(forImport, passContainingUrl ? baseUrl : null);
  95295. t1 = type$.nullable_Object;
  95296. t1 = A.runZoned(new A.AsyncImportCache__canonicalize_closure0(importer, url), A.LinkedHashMap_LinkedHashMap$_literal([B.Symbol__canonicalizeContext, canonicalizeContext], t1, t1), type$.FutureOr_nullable_Uri);
  95297. $async$goto = 10;
  95298. return A._asyncAwait(type$.Future_nullable_Uri._is(t1) ? t1 : A._Future$value(t1, type$.nullable_Uri), $async$_async_import_cache0$_canonicalize$4);
  95299. case 10:
  95300. // returning from await.
  95301. result = $async$result;
  95302. cacheable = !passContainingUrl || !canonicalizeContext._canonicalize_context$_wasContainingUrlAccessed;
  95303. if (result == null) {
  95304. $async$returnValue = new A._Record_2(null, cacheable);
  95305. // goto return
  95306. $async$goto = 1;
  95307. break;
  95308. }
  95309. $async$goto = result.get$scheme() !== "" ? 11 : 13;
  95310. break;
  95311. case 11:
  95312. // then
  95313. t1 = A._Future$value(importer.isNonCanonicalScheme$1(result.get$scheme()), type$.bool);
  95314. $async$goto = 14;
  95315. return A._asyncAwait(t1, $async$_async_import_cache0$_canonicalize$4);
  95316. case 14:
  95317. // returning from await.
  95318. t1 = $async$result;
  95319. // goto join
  95320. $async$goto = 12;
  95321. break;
  95322. case 13:
  95323. // else
  95324. t1 = false;
  95325. case 12:
  95326. // join
  95327. if (t1)
  95328. throw A.wrapException("Importer " + importer.toString$0(0) + " canonicalized " + url.toString$0(0) + " to " + result.toString$0(0) + string$.x2c_whicu);
  95329. $async$returnValue = new A._Record_2(new A._Record_3_originalUrl(importer, result, url), cacheable);
  95330. // goto return
  95331. $async$goto = 1;
  95332. break;
  95333. case 1:
  95334. // return
  95335. return A._asyncReturn($async$returnValue, $async$completer);
  95336. }
  95337. });
  95338. return A._asyncStartSync($async$_async_import_cache0$_canonicalize$4, $async$completer);
  95339. },
  95340. importCanonical$3$originalUrl(importer, canonicalUrl, originalUrl) {
  95341. return this.importCanonical$body$AsyncImportCache0(importer, canonicalUrl, originalUrl);
  95342. },
  95343. importCanonical$body$AsyncImportCache0(importer, canonicalUrl, originalUrl) {
  95344. var $async$goto = 0,
  95345. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Stylesheet_2),
  95346. $async$returnValue, $async$self = this;
  95347. var $async$importCanonical$3$originalUrl = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  95348. if ($async$errorCode === 1)
  95349. return A._asyncRethrow($async$result, $async$completer);
  95350. while (true)
  95351. switch ($async$goto) {
  95352. case 0:
  95353. // Function start
  95354. $async$goto = 3;
  95355. 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);
  95356. case 3:
  95357. // returning from await.
  95358. $async$returnValue = $async$result;
  95359. // goto return
  95360. $async$goto = 1;
  95361. break;
  95362. case 1:
  95363. // return
  95364. return A._asyncReturn($async$returnValue, $async$completer);
  95365. }
  95366. });
  95367. return A._asyncStartSync($async$importCanonical$3$originalUrl, $async$completer);
  95368. },
  95369. humanize$1(canonicalUrl) {
  95370. var t1 = this._async_import_cache0$_canonicalizeCache,
  95371. t2 = type$.NonNullsIterable_Record_3_AsyncImporter_and_Uri_and_Uri_originalUrl_2;
  95372. 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));
  95373. return t2 == null ? canonicalUrl : t2;
  95374. },
  95375. sourceMapUrl$1(_, canonicalUrl) {
  95376. var t1 = this._async_import_cache0$_resultsCache.$index(0, canonicalUrl);
  95377. t1 = t1 == null ? null : t1.get$sourceMapUrl(0);
  95378. return t1 == null ? canonicalUrl : t1;
  95379. }
  95380. };
  95381. A.AsyncImportCache_canonicalize_closure0.prototype = {
  95382. call$0() {
  95383. var $async$goto = 0,
  95384. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Record_3_AsyncImporter_and_Uri_and_Uri_originalUrl_2),
  95385. $async$returnValue, $async$self = this, t1, t2, _0_0, result;
  95386. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  95387. if ($async$errorCode === 1)
  95388. return A._asyncRethrow($async$result, $async$completer);
  95389. while (true)
  95390. switch ($async$goto) {
  95391. case 0:
  95392. // Function start
  95393. t1 = $async$self.$this;
  95394. t2 = $async$self.baseUrl;
  95395. $async$goto = 3;
  95396. return A._asyncAwait(t1._async_import_cache0$_canonicalize$4($async$self.baseImporter, $async$self.resolvedUrl, t2, $async$self.forImport), $async$call$0);
  95397. case 3:
  95398. // returning from await.
  95399. _0_0 = $async$result;
  95400. result = _0_0._0;
  95401. _0_0._1;
  95402. if (t2 != null)
  95403. t1._async_import_cache0$_nonCanonicalRelativeUrls.$indexSet(0, $async$self.key, $async$self.url);
  95404. $async$returnValue = result;
  95405. // goto return
  95406. $async$goto = 1;
  95407. break;
  95408. case 1:
  95409. // return
  95410. return A._asyncReturn($async$returnValue, $async$completer);
  95411. }
  95412. });
  95413. return A._asyncStartSync($async$call$0, $async$completer);
  95414. },
  95415. $signature: 362
  95416. };
  95417. A.AsyncImportCache__canonicalize_closure0.prototype = {
  95418. call$0() {
  95419. return this.importer.canonicalize$1(0, this.url);
  95420. },
  95421. $signature: 182
  95422. };
  95423. A.AsyncImportCache_importCanonical_closure0.prototype = {
  95424. call$0() {
  95425. var $async$goto = 0,
  95426. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Stylesheet_2),
  95427. $async$returnValue, $async$self = this, t1, t2, t3, result;
  95428. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  95429. if ($async$errorCode === 1)
  95430. return A._asyncRethrow($async$result, $async$completer);
  95431. while (true)
  95432. switch ($async$goto) {
  95433. case 0:
  95434. // Function start
  95435. t1 = Date.now();
  95436. t2 = $async$self.canonicalUrl;
  95437. t3 = $async$self.importer.load$1(0, t2);
  95438. $async$goto = 3;
  95439. return A._asyncAwait(type$.Future_nullable_ImporterResult._is(t3) ? t3 : A._Future$value(t3, type$.nullable_ImporterResult_2), $async$call$0);
  95440. case 3:
  95441. // returning from await.
  95442. result = $async$result;
  95443. if (result == null) {
  95444. $async$returnValue = null;
  95445. // goto return
  95446. $async$goto = 1;
  95447. break;
  95448. }
  95449. t3 = $async$self.$this;
  95450. t3._async_import_cache0$_loadTimes.$indexSet(0, t2, new A.DateTime(t1, 0, false));
  95451. t3._async_import_cache0$_resultsCache.$indexSet(0, t2, result);
  95452. t3 = result.contents;
  95453. t1 = result.syntax;
  95454. t2 = $async$self.originalUrl.resolveUri$1(t2);
  95455. $async$returnValue = A.Stylesheet_Stylesheet$parse0(t3, t1, t2);
  95456. // goto return
  95457. $async$goto = 1;
  95458. break;
  95459. case 1:
  95460. // return
  95461. return A._asyncReturn($async$returnValue, $async$completer);
  95462. }
  95463. });
  95464. return A._asyncStartSync($async$call$0, $async$completer);
  95465. },
  95466. $signature: 363
  95467. };
  95468. A.AsyncImportCache_humanize_closure3.prototype = {
  95469. call$1(result) {
  95470. return result._1.$eq(0, this.canonicalUrl);
  95471. },
  95472. $signature: 364
  95473. };
  95474. A.AsyncImportCache_humanize_closure4.prototype = {
  95475. call$1(result) {
  95476. return result._2;
  95477. },
  95478. $signature: 365
  95479. };
  95480. A.AsyncImportCache_humanize_closure5.prototype = {
  95481. call$1(url) {
  95482. return url.get$path(url).length;
  95483. },
  95484. $signature: 102
  95485. };
  95486. A.AsyncImportCache_humanize_closure6.prototype = {
  95487. call$1(url) {
  95488. var t1 = $.$get$url(),
  95489. t2 = this.canonicalUrl;
  95490. return url.resolve$1(0, A.ParsedPath_ParsedPath$parse(t2.get$path(t2), t1.style).get$basename());
  95491. },
  95492. $signature: 48
  95493. };
  95494. A.AtRootQueryParser0.prototype = {
  95495. parse$0(_) {
  95496. return this.wrapSpanFormatException$1(new A.AtRootQueryParser_parse_closure0(this));
  95497. }
  95498. };
  95499. A.AtRootQueryParser_parse_closure0.prototype = {
  95500. call$0() {
  95501. var include, atRules,
  95502. t1 = this.$this,
  95503. t2 = t1.scanner;
  95504. t2.expectChar$1(40);
  95505. t1.whitespace$1$consumeNewlines(true);
  95506. include = t1.scanIdentifier$1("with");
  95507. if (!include)
  95508. t1.expectIdentifier$2$name("without", '"with" or "without"');
  95509. t1.whitespace$1$consumeNewlines(true);
  95510. t2.expectChar$1(58);
  95511. t1.whitespace$1$consumeNewlines(true);
  95512. atRules = A.LinkedHashSet_LinkedHashSet$_empty(type$.String);
  95513. do {
  95514. atRules.add$1(0, t1.identifier$0().toLowerCase());
  95515. t1.whitespace$1$consumeNewlines(true);
  95516. } while (t1.lookingAtIdentifier$0());
  95517. t2.expectChar$1(41);
  95518. t2.expectDone$0();
  95519. return new A.AtRootQuery0(include, atRules, atRules.contains$1(0, "all"), atRules.contains$1(0, "rule"));
  95520. },
  95521. $signature: 366
  95522. };
  95523. A.AtRootQuery0.prototype = {
  95524. excludes$1(node) {
  95525. var t1, _this = this;
  95526. if (_this._at_root_query0$_all)
  95527. return !_this.include;
  95528. $label0$0: {
  95529. if (node instanceof A.ModifiableCssStyleRule0) {
  95530. t1 = _this._at_root_query0$_rule !== _this.include;
  95531. break $label0$0;
  95532. }
  95533. if (node instanceof A.ModifiableCssMediaRule0) {
  95534. t1 = _this.excludesName$1("media");
  95535. break $label0$0;
  95536. }
  95537. if (node instanceof A.ModifiableCssSupportsRule0) {
  95538. t1 = _this.excludesName$1("supports");
  95539. break $label0$0;
  95540. }
  95541. if (node instanceof A.ModifiableCssAtRule0) {
  95542. t1 = _this.excludesName$1(node.name.value.toLowerCase());
  95543. break $label0$0;
  95544. }
  95545. t1 = false;
  95546. break $label0$0;
  95547. }
  95548. return t1;
  95549. },
  95550. excludesName$1($name) {
  95551. var t1 = this._at_root_query0$_all || this.names.contains$1(0, $name);
  95552. return t1 !== this.include;
  95553. }
  95554. };
  95555. A.AtRootRule0.prototype = {
  95556. accept$1$1(visitor) {
  95557. return visitor.visitAtRootRule$1(0, this);
  95558. },
  95559. accept$1(visitor) {
  95560. return this.accept$1$1(visitor, type$.dynamic);
  95561. },
  95562. toString$0(_) {
  95563. var buffer = new A.StringBuffer("@at-root "),
  95564. t1 = this.query;
  95565. if (t1 != null)
  95566. buffer._contents = "@at-root " + (t1.toString$0(0) + " ");
  95567. t1 = this.children;
  95568. return buffer.toString$0(0) + " {" + (t1 && B.JSArray_methods).join$1(t1, " ") + "}";
  95569. },
  95570. get$span(receiver) {
  95571. return this.span;
  95572. }
  95573. };
  95574. A.ModifiableCssAtRule0.prototype = {
  95575. accept$1$1(visitor) {
  95576. return visitor.visitCssAtRule$1(this);
  95577. },
  95578. accept$1(visitor) {
  95579. return this.accept$1$1(visitor, type$.dynamic);
  95580. },
  95581. equalsIgnoringChildren$1(other) {
  95582. var t1, t2;
  95583. if (other instanceof A.ModifiableCssAtRule0) {
  95584. t1 = this.name;
  95585. t2 = other.name;
  95586. t1 = t1.$ti._is(t2) && J.$eq$(t2.value, t1.value) && J.$eq$(this.value, other.value) && this.isChildless === other.isChildless;
  95587. } else
  95588. t1 = false;
  95589. return t1;
  95590. },
  95591. copyWithoutChildren$0() {
  95592. var _this = this;
  95593. return A.ModifiableCssAtRule$0(_this.name, _this.span, _this.isChildless, _this.value);
  95594. },
  95595. addChild$1(child) {
  95596. this.super$ModifiableCssParentNode$addChild0(child);
  95597. },
  95598. get$isChildless() {
  95599. return this.isChildless;
  95600. },
  95601. get$span(receiver) {
  95602. return this.span;
  95603. }
  95604. };
  95605. A.AtRule0.prototype = {
  95606. accept$1$1(visitor) {
  95607. return visitor.visitAtRule$1(0, this);
  95608. },
  95609. accept$1(visitor) {
  95610. return this.accept$1$1(visitor, type$.dynamic);
  95611. },
  95612. toString$0(_) {
  95613. var children,
  95614. t1 = "@" + this.name.toString$0(0),
  95615. buffer = new A.StringBuffer(t1),
  95616. t2 = this.value;
  95617. if (t2 != null)
  95618. buffer._contents = t1 + (" " + t2.toString$0(0));
  95619. children = this.children;
  95620. return children == null ? buffer.toString$0(0) + ";" : buffer.toString$0(0) + " {" + B.JSArray_methods.join$1(children, " ") + "}";
  95621. },
  95622. get$span(receiver) {
  95623. return this.span;
  95624. }
  95625. };
  95626. A.AttributeSelector0.prototype = {
  95627. accept$1$1(visitor) {
  95628. return visitor.visitAttributeSelector$1(this);
  95629. },
  95630. accept$1(visitor) {
  95631. return this.accept$1$1(visitor, type$.dynamic);
  95632. },
  95633. $eq(_, other) {
  95634. var _this = this;
  95635. if (other == null)
  95636. return false;
  95637. return other instanceof A.AttributeSelector0 && other.name.$eq(0, _this.name) && other.op == _this.op && other.value == _this.value && other.modifier == _this.modifier;
  95638. },
  95639. get$hashCode(_) {
  95640. var _this = this,
  95641. t1 = _this.name;
  95642. 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;
  95643. }
  95644. };
  95645. A.AttributeOperator0.prototype = {
  95646. _enumToString$0() {
  95647. return "AttributeOperator." + this._name;
  95648. },
  95649. toString$0(_) {
  95650. return this._attribute0$_text;
  95651. }
  95652. };
  95653. A.BinaryOperationExpression0.prototype = {
  95654. get$span(_) {
  95655. var right,
  95656. left = this.left;
  95657. for (; left instanceof A.BinaryOperationExpression0;)
  95658. left = left.left;
  95659. right = this.right;
  95660. for (; right instanceof A.BinaryOperationExpression0;)
  95661. right = right.right;
  95662. return left.get$span(left).expand$1(0, right.get$span(right));
  95663. },
  95664. get$operatorSpan() {
  95665. var t3, t4,
  95666. t1 = this.left,
  95667. t2 = t1.get$span(t1);
  95668. t2 = t2.get$file(t2);
  95669. t3 = this.right;
  95670. t4 = t3.get$span(t3);
  95671. if (t2 === t4.get$file(t4)) {
  95672. t2 = t1.get$span(t1);
  95673. t2 = t2.get$end(t2);
  95674. t4 = t3.get$span(t3);
  95675. t4 = t2.offset < t4.get$start(t4).offset;
  95676. t2 = t4;
  95677. } else
  95678. t2 = false;
  95679. if (t2) {
  95680. t2 = t1.get$span(t1);
  95681. t2 = t2.get$file(t2);
  95682. t1 = t1.get$span(t1);
  95683. t1 = t1.get$end(t1);
  95684. t3 = t3.get$span(t3);
  95685. t3 = A.SpanExtensions_trimRight0(A.SpanExtensions_trimLeft0(t2.span$2(0, t1.offset, t3.get$start(t3).offset)));
  95686. t1 = t3;
  95687. } else
  95688. t1 = this.get$span(0);
  95689. return t1;
  95690. },
  95691. accept$1$1(visitor) {
  95692. return visitor.visitBinaryOperationExpression$1(0, this);
  95693. },
  95694. accept$1(visitor) {
  95695. return this.accept$1$1(visitor, type$.dynamic);
  95696. },
  95697. toString$0(_) {
  95698. var t1, t2, right, t3, operator, _this = this,
  95699. _0_0 = _this.left;
  95700. $label0$0: {
  95701. if (_0_0 instanceof A.BinaryOperationExpression0) {
  95702. t1 = _0_0.operator.precedence < _this.operator.precedence;
  95703. break $label0$0;
  95704. }
  95705. if (_0_0 instanceof A.ListExpression0 && !_0_0.hasBrackets && _0_0.contents.length >= 2) {
  95706. t1 = true;
  95707. break $label0$0;
  95708. }
  95709. t1 = false;
  95710. break $label0$0;
  95711. }
  95712. t2 = t1 ? "" + A.Primitives_stringFromCharCode(40) : "";
  95713. t2 += _0_0.toString$0(0);
  95714. t1 = t1 ? t2 + A.Primitives_stringFromCharCode(41) : t2;
  95715. t2 = _this.operator;
  95716. t1 = t1 + A.Primitives_stringFromCharCode(32) + t2.operator + A.Primitives_stringFromCharCode(32);
  95717. right = _this.right;
  95718. $label1$1: {
  95719. t3 = false;
  95720. if (right instanceof A.BinaryOperationExpression0) {
  95721. operator = right.operator;
  95722. if (operator.precedence <= t2.precedence) {
  95723. t3 = !(operator === t2 && operator.isAssociative);
  95724. t2 = t3;
  95725. } else
  95726. t2 = t3;
  95727. break $label1$1;
  95728. }
  95729. if (right instanceof A.ListExpression0 && !right.hasBrackets && right.contents.length >= 2) {
  95730. t2 = true;
  95731. break $label1$1;
  95732. }
  95733. t2 = t3;
  95734. break $label1$1;
  95735. }
  95736. if (t2)
  95737. t1 += A.Primitives_stringFromCharCode(40);
  95738. t1 += right.toString$0(0);
  95739. if (t2)
  95740. t1 += A.Primitives_stringFromCharCode(41);
  95741. return t1.charCodeAt(0) == 0 ? t1 : t1;
  95742. }
  95743. };
  95744. A.BinaryOperator0.prototype = {
  95745. _enumToString$0() {
  95746. return "BinaryOperator." + this._name;
  95747. },
  95748. toString$0(_) {
  95749. return this.name;
  95750. }
  95751. };
  95752. A.BooleanExpression0.prototype = {
  95753. accept$1$1(visitor) {
  95754. return visitor.visitBooleanExpression$1(0, this);
  95755. },
  95756. accept$1(visitor) {
  95757. return this.accept$1$1(visitor, type$.dynamic);
  95758. },
  95759. toString$0(_) {
  95760. return String(this.value);
  95761. },
  95762. get$span(receiver) {
  95763. return this.span;
  95764. }
  95765. };
  95766. A.booleanClass_closure.prototype = {
  95767. call$0() {
  95768. var t1 = type$.JSClass,
  95769. jsClass = t1._as(A.allowInteropCaptureThisNamed("sass.SassBoolean", new A.booleanClass__closure()));
  95770. A.JSClassExtension_injectSuperclass(t1._as(B.SassBoolean_true0.constructor), jsClass);
  95771. return jsClass;
  95772. },
  95773. $signature: 15
  95774. };
  95775. A.booleanClass__closure.prototype = {
  95776. call$2($self, _) {
  95777. A.jsThrow(new self.Error("new sass.SassBoolean() isn't allowed.\nUse sass.sassTrue or sass.sassFalse instead."));
  95778. },
  95779. call$1($self) {
  95780. return this.call$2($self, null);
  95781. },
  95782. "call*": "call$2",
  95783. $requiredArgCount: 1,
  95784. $defaultValues() {
  95785. return [null];
  95786. },
  95787. $signature: 221
  95788. };
  95789. A.legacyBooleanClass_closure.prototype = {
  95790. call$0() {
  95791. var t1 = type$.JSClass,
  95792. jsClass = t1._as(A.allowInteropCaptureThisNamed("sass.types.Boolean", new A.legacyBooleanClass__closure()));
  95793. J.get$$prototype$x(jsClass).getValue = A.allowInteropCaptureThisNamed("getValue", new A.legacyBooleanClass__closure0());
  95794. jsClass.TRUE = B.SassBoolean_true0;
  95795. jsClass.FALSE = B.SassBoolean_false0;
  95796. A.JSClassExtension_injectSuperclass(t1._as(B.SassBoolean_true0.constructor), jsClass);
  95797. return jsClass;
  95798. },
  95799. $signature: 15
  95800. };
  95801. A.legacyBooleanClass__closure.prototype = {
  95802. call$2(_, __) {
  95803. throw A.wrapException("new sass.types.Boolean() isn't allowed.\nUse sass.types.Boolean.TRUE or sass.types.Boolean.FALSE instead.");
  95804. },
  95805. call$1(_) {
  95806. return this.call$2(_, null);
  95807. },
  95808. "call*": "call$2",
  95809. $requiredArgCount: 1,
  95810. $defaultValues() {
  95811. return [null];
  95812. },
  95813. $signature: 222
  95814. };
  95815. A.legacyBooleanClass__closure0.prototype = {
  95816. call$1($self) {
  95817. return $self === B.SassBoolean_true0;
  95818. },
  95819. $signature: 71
  95820. };
  95821. A.SassBoolean0.prototype = {
  95822. get$isTruthy() {
  95823. return this.value;
  95824. },
  95825. accept$1$1(visitor) {
  95826. return visitor._serialize0$_buffer.write$1(0, String(this.value));
  95827. },
  95828. accept$1(visitor) {
  95829. return this.accept$1$1(visitor, type$.dynamic);
  95830. },
  95831. assertBoolean$1($name) {
  95832. return this;
  95833. },
  95834. unaryNot$0() {
  95835. return this.value ? B.SassBoolean_false0 : B.SassBoolean_true0;
  95836. }
  95837. };
  95838. A.Box0.prototype = {
  95839. $eq(_, other) {
  95840. if (other == null)
  95841. return false;
  95842. return this.$ti._is(other) && other._box0$_inner === this._box0$_inner;
  95843. },
  95844. get$hashCode(_) {
  95845. return A.Primitives_objectHashCode(this._box0$_inner);
  95846. }
  95847. };
  95848. A.ModifiableBox0.prototype = {};
  95849. A.BuiltInCallable0.prototype = {
  95850. callbackFor$2(positional, names) {
  95851. var t1, t2, fuzzyMatch, minMismatchDistance, _i, overload, t3, mismatchDistance, t4;
  95852. 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) {
  95853. overload = t1[_i];
  95854. t3 = overload._0;
  95855. if (t3.matches$2(positional, names))
  95856. return overload;
  95857. mismatchDistance = t3.parameters.length - positional;
  95858. if (minMismatchDistance != null) {
  95859. t3 = Math.abs(mismatchDistance);
  95860. t4 = Math.abs(minMismatchDistance);
  95861. if (t3 > t4)
  95862. continue;
  95863. if (t3 === t4 && mismatchDistance < 0)
  95864. continue;
  95865. }
  95866. minMismatchDistance = mismatchDistance;
  95867. fuzzyMatch = overload;
  95868. }
  95869. if (fuzzyMatch != null)
  95870. return fuzzyMatch;
  95871. throw A.wrapException(A.StateError$("BuiltInCallable " + this.name + " may not have empty overloads."));
  95872. },
  95873. withName$1($name) {
  95874. return new A.BuiltInCallable0($name, this._built_in$_overloads, this.acceptsContent);
  95875. },
  95876. withDeprecationWarning$2(module, newName) {
  95877. var t2, t3, _i, t4, t5, _this = this,
  95878. t1 = A._setArrayType([], type$.JSArray_Record_2_ParameterList_and_Value_Function_List_Value_2);
  95879. for (t2 = _this._built_in$_overloads, t3 = t2.length, _i = 0; _i < t2.length; t2.length === t3 || (0, A.throwConcurrentModificationError)(t2), ++_i) {
  95880. t4 = {};
  95881. t5 = t2[_i];
  95882. t4.$function = null;
  95883. t4.$function = t5._1;
  95884. t1.push(new A._Record_2(t5._0, new A.BuiltInCallable_withDeprecationWarning_closure0(t4, _this, module, newName)));
  95885. }
  95886. return new A.BuiltInCallable0(_this.name, t1, _this.acceptsContent);
  95887. },
  95888. withDeprecationWarning$1(module) {
  95889. return this.withDeprecationWarning$2(module, null);
  95890. },
  95891. $isAsyncCallable0: 1,
  95892. $isAsyncBuiltInCallable0: 1,
  95893. $isCallable: 1,
  95894. get$name(receiver) {
  95895. return this.name;
  95896. },
  95897. get$acceptsContent() {
  95898. return this.acceptsContent;
  95899. }
  95900. };
  95901. A.BuiltInCallable$mixin_closure0.prototype = {
  95902. call$1($arguments) {
  95903. this.callback.call$1($arguments);
  95904. return B.C__SassNull0;
  95905. },
  95906. $signature: 3
  95907. };
  95908. A.BuiltInCallable_withDeprecationWarning_closure0.prototype = {
  95909. call$1(args) {
  95910. var _this = this,
  95911. t1 = _this.newName;
  95912. if (t1 == null)
  95913. t1 = _this.$this.name;
  95914. A.warnForDeprecation0(string$.Global + _this.module + "." + t1 + string$.x20inste, B.Deprecation_ZDV);
  95915. return _this._box_0.$function.call$1(args);
  95916. },
  95917. $signature: 3
  95918. };
  95919. A.BuiltInModule0.prototype = {
  95920. get$upstream() {
  95921. return B.List_empty21;
  95922. },
  95923. get$variableNodes() {
  95924. return B.Map_empty13;
  95925. },
  95926. get$extensionStore() {
  95927. return B.C_EmptyExtensionStore0;
  95928. },
  95929. get$css(_) {
  95930. return new A.CssStylesheet0(B.List_empty19, A.SourceFile$decoded(B.List_empty4, this.url).span$2(0, 0, 0));
  95931. },
  95932. get$preModuleComments() {
  95933. return B.Map_empty12;
  95934. },
  95935. get$transitivelyContainsCss() {
  95936. return false;
  95937. },
  95938. get$transitivelyContainsExtensions() {
  95939. return false;
  95940. },
  95941. setVariable$3($name, value, nodeWithSpan) {
  95942. if (!this.variables.containsKey$1($name))
  95943. throw A.wrapException(A.SassScriptException$0("Undefined variable.", null));
  95944. throw A.wrapException(A.SassScriptException$0("Cannot modify built-in variable.", null));
  95945. },
  95946. variableIdentity$1($name) {
  95947. return this;
  95948. },
  95949. couldHaveBeenConfigured$1(_) {
  95950. return false;
  95951. },
  95952. cloneCss$0() {
  95953. return this;
  95954. },
  95955. $isModule1: 1,
  95956. get$url(receiver) {
  95957. return this.url;
  95958. },
  95959. get$functions(receiver) {
  95960. return this.functions;
  95961. },
  95962. get$mixins() {
  95963. return this.mixins;
  95964. },
  95965. get$variables() {
  95966. return this.variables;
  95967. }
  95968. };
  95969. A.calculationClass_closure.prototype = {
  95970. call$0() {
  95971. var t1 = type$.JSClass,
  95972. jsClass = t1._as(A.allowInteropCaptureThisNamed("sass.SassCalculation", new A.calculationClass__closure())),
  95973. t2 = type$.String,
  95974. t3 = type$.Function;
  95975. 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));
  95976. A.LinkedHashMap_LinkedHashMap$_literal(["assertCalculation", new A.calculationClass__closure4()], t2, t3).forEach$1(0, A.JSClassExtension_get_defineMethod(jsClass));
  95977. A.LinkedHashMap_LinkedHashMap$_literal(["arguments", new A.calculationClass__closure5()], t2, t3).forEach$1(0, A.JSClassExtension_get_defineGetter(jsClass));
  95978. 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);
  95979. return jsClass;
  95980. },
  95981. $signature: 15
  95982. };
  95983. A.calculationClass__closure.prototype = {
  95984. call$2($self, _) {
  95985. A.jsThrow0(new self.Error("new sass.SassCalculation() isn't allowed"));
  95986. },
  95987. call$1($self) {
  95988. return this.call$2($self, null);
  95989. },
  95990. "call*": "call$2",
  95991. $requiredArgCount: 1,
  95992. $defaultValues() {
  95993. return [null];
  95994. },
  95995. $signature: 221
  95996. };
  95997. A.calculationClass__closure0.prototype = {
  95998. call$1(argument) {
  95999. A._assertCalculationValue(argument);
  96000. return new A.SassCalculation0("calc", A.List_List$unmodifiable(A._setArrayType([argument], type$.JSArray_Object), type$.Object));
  96001. },
  96002. $signature: 140
  96003. };
  96004. A.calculationClass__closure1.prototype = {
  96005. call$1($arguments) {
  96006. var t1 = self.immutable.isOrderedMap($arguments) ? J.toArray$0$x(type$.ImmutableList_2._as($arguments)) : type$.List_dynamic._as($arguments),
  96007. t2 = type$.Object,
  96008. argList = J.cast$1$0$ax(t1, t2);
  96009. argList.forEach$1(argList, A.calculation1___assertCalculationValue$closure());
  96010. return new A.SassCalculation0("min", A.List_List$unmodifiable(argList, t2));
  96011. },
  96012. $signature: 140
  96013. };
  96014. A.calculationClass__closure2.prototype = {
  96015. call$1($arguments) {
  96016. var t1 = self.immutable.isOrderedMap($arguments) ? J.toArray$0$x(type$.ImmutableList_2._as($arguments)) : type$.List_dynamic._as($arguments),
  96017. t2 = type$.Object,
  96018. argList = J.cast$1$0$ax(t1, t2);
  96019. argList.forEach$1(argList, A.calculation1___assertCalculationValue$closure());
  96020. return new A.SassCalculation0("max", A.List_List$unmodifiable(argList, t2));
  96021. },
  96022. $signature: 140
  96023. };
  96024. A.calculationClass__closure3.prototype = {
  96025. call$3(min, value, max) {
  96026. var t1;
  96027. if (!(value == null && !A._isValidClampArg(min)))
  96028. t1 = max == null && !B.JSArray_methods.any$1([min, value], A.calculation1___isValidClampArg$closure());
  96029. else
  96030. t1 = true;
  96031. if (t1)
  96032. 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) + "`"));
  96033. t1 = type$.NonNullsIterable_Object;
  96034. new A.NonNullsIterable([min, value, max], t1).forEach$1(0, A.calculation1___assertCalculationValue$closure());
  96035. return new A.SassCalculation0("clamp", A.List_List$unmodifiable(new A.NonNullsIterable([min, value, max], t1), type$.Object));
  96036. },
  96037. call$1(min) {
  96038. return this.call$3(min, null, null);
  96039. },
  96040. call$2(min, value) {
  96041. return this.call$3(min, value, null);
  96042. },
  96043. "call*": "call$3",
  96044. $requiredArgCount: 1,
  96045. $defaultValues() {
  96046. return [null, null];
  96047. },
  96048. $signature: 371
  96049. };
  96050. A.calculationClass__closure4.prototype = {
  96051. call$2($self, $name) {
  96052. return $self;
  96053. },
  96054. call$1($self) {
  96055. return this.call$2($self, null);
  96056. },
  96057. "call*": "call$2",
  96058. $requiredArgCount: 1,
  96059. $defaultValues() {
  96060. return [null];
  96061. },
  96062. $signature: 372
  96063. };
  96064. A.calculationClass__closure5.prototype = {
  96065. call$1($self) {
  96066. return new self.immutable.List($self.$arguments);
  96067. },
  96068. $signature: 373
  96069. };
  96070. A.calculationOperationClass_closure.prototype = {
  96071. call$0() {
  96072. var _null = null,
  96073. t1 = type$.JSClass,
  96074. jsClass = t1._as(A.allowInteropCaptureThisNamed("sass.CalculationOperation", new A.calculationOperationClass__closure())),
  96075. t2 = type$.String,
  96076. t3 = type$.Function;
  96077. A.LinkedHashMap_LinkedHashMap$_literal(["equals", new A.calculationOperationClass__closure0(), "hashCode", new A.calculationOperationClass__closure1()], t2, t3).forEach$1(0, A.JSClassExtension_get_defineMethod(jsClass));
  96078. 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));
  96079. 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);
  96080. return jsClass;
  96081. },
  96082. $signature: 15
  96083. };
  96084. A.calculationOperationClass__closure.prototype = {
  96085. call$4($self, strOperator, left, right) {
  96086. var operator = A.IterableExtension_firstWhereOrNull(B.List_g9w, new A.calculationOperationClass___closure(strOperator));
  96087. if (operator == null)
  96088. A.jsThrow0(new self.Error("Invalid operator: " + strOperator));
  96089. A._assertCalculationValue(left);
  96090. A._assertCalculationValue(right);
  96091. return A.SassCalculation_operateInternal0(operator, left, right, null, false, null);
  96092. },
  96093. "call*": "call$4",
  96094. $requiredArgCount: 4,
  96095. $signature: 374
  96096. };
  96097. A.calculationOperationClass___closure.prototype = {
  96098. call$1(value) {
  96099. return value.operator === this.strOperator;
  96100. },
  96101. $signature: 375
  96102. };
  96103. A.calculationOperationClass__closure0.prototype = {
  96104. call$2($self, other) {
  96105. return $self.$eq(0, other);
  96106. },
  96107. $signature: 376
  96108. };
  96109. A.calculationOperationClass__closure1.prototype = {
  96110. call$1($self) {
  96111. return $self.get$hashCode(0);
  96112. },
  96113. $signature: 377
  96114. };
  96115. A.calculationOperationClass__closure2.prototype = {
  96116. call$1($self) {
  96117. return $self._calculation0$_operator.operator;
  96118. },
  96119. $signature: 378
  96120. };
  96121. A.calculationOperationClass__closure3.prototype = {
  96122. call$1($self) {
  96123. return $self._calculation0$_left;
  96124. },
  96125. $signature: 223
  96126. };
  96127. A.calculationOperationClass__closure4.prototype = {
  96128. call$1($self) {
  96129. return $self._calculation0$_right;
  96130. },
  96131. $signature: 223
  96132. };
  96133. A.calculationInterpolationClass_closure.prototype = {
  96134. call$0() {
  96135. var t1 = type$.JSClass,
  96136. jsClass = t1._as(A.allowInteropCaptureThisNamed("sass.CalculationInterpolation", new A.calculationInterpolationClass__closure())),
  96137. t2 = type$.String,
  96138. t3 = type$.Function;
  96139. A.LinkedHashMap_LinkedHashMap$_literal(["equals", new A.calculationInterpolationClass__closure0(), "hashCode", new A.calculationInterpolationClass__closure1()], t2, t3).forEach$1(0, A.JSClassExtension_get_defineMethod(jsClass));
  96140. A.LinkedHashMap_LinkedHashMap$_literal(["value", new A.calculationInterpolationClass__closure2()], t2, t3).forEach$1(0, A.JSClassExtension_get_defineGetter(jsClass));
  96141. A.JSClassExtension_injectSuperclass(t1._as(new A.CalculationInterpolation("").constructor), jsClass);
  96142. return jsClass;
  96143. },
  96144. $signature: 15
  96145. };
  96146. A.calculationInterpolationClass__closure.prototype = {
  96147. call$2($self, value) {
  96148. return new A.CalculationInterpolation(value);
  96149. },
  96150. $signature: 380
  96151. };
  96152. A.calculationInterpolationClass__closure0.prototype = {
  96153. call$2($self, other) {
  96154. return other instanceof A.CalculationInterpolation && $self._calculation0$_value === other._calculation0$_value;
  96155. },
  96156. $signature: 381
  96157. };
  96158. A.calculationInterpolationClass__closure1.prototype = {
  96159. call$1($self) {
  96160. return B.JSString_methods.get$hashCode($self._calculation0$_value);
  96161. },
  96162. $signature: 382
  96163. };
  96164. A.calculationInterpolationClass__closure2.prototype = {
  96165. call$1($self) {
  96166. return $self._calculation0$_value;
  96167. },
  96168. $signature: 383
  96169. };
  96170. A.SassCalculation0.prototype = {
  96171. get$isSpecialNumber() {
  96172. return true;
  96173. },
  96174. accept$1$1(visitor) {
  96175. return visitor.visitCalculation$1(this);
  96176. },
  96177. accept$1(visitor) {
  96178. return this.accept$1$1(visitor, type$.dynamic);
  96179. },
  96180. assertCalculation$1($name) {
  96181. return this;
  96182. },
  96183. plus$1(other) {
  96184. if (other instanceof A.SassString0)
  96185. return this.super$Value$plus0(other);
  96186. throw A.wrapException(A.SassScriptException$0('Undefined operation "' + this.toString$0(0) + " + " + other.toString$0(0) + '".', null));
  96187. },
  96188. minus$1(other) {
  96189. return A.throwExpression(A.SassScriptException$0('Undefined operation "' + this.toString$0(0) + " - " + other.toString$0(0) + '".', null));
  96190. },
  96191. unaryPlus$0() {
  96192. return A.throwExpression(A.SassScriptException$0('Undefined operation "+' + this.toString$0(0) + '".', null));
  96193. },
  96194. unaryMinus$0() {
  96195. return A.throwExpression(A.SassScriptException$0('Undefined operation "-' + this.toString$0(0) + '".', null));
  96196. },
  96197. $eq(_, other) {
  96198. if (other == null)
  96199. return false;
  96200. return other instanceof A.SassCalculation0 && this.name === other.name && B.C_ListEquality.equals$2(0, this.$arguments, other.$arguments);
  96201. },
  96202. get$hashCode(_) {
  96203. return B.JSString_methods.get$hashCode(this.name) ^ B.C_ListEquality0.hash$1(this.$arguments);
  96204. }
  96205. };
  96206. A.SassCalculation__verifyLength_closure0.prototype = {
  96207. call$1(arg) {
  96208. return arg instanceof A.SassString0;
  96209. },
  96210. $signature: 71
  96211. };
  96212. A.CalculationOperation0.prototype = {
  96213. $eq(_, other) {
  96214. if (other == null)
  96215. return false;
  96216. 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);
  96217. },
  96218. get$hashCode(_) {
  96219. return (A.Primitives_objectHashCode(this._calculation0$_operator) ^ J.get$hashCode$(this._calculation0$_left) ^ J.get$hashCode$(this._calculation0$_right)) >>> 0;
  96220. },
  96221. toString$0(_) {
  96222. var parenthesized = A.serializeValue0(new A.SassCalculation0("", A._setArrayType([this], type$.JSArray_Object)), true, true);
  96223. return B.JSString_methods.substring$2(parenthesized, 1, parenthesized.length - 1);
  96224. }
  96225. };
  96226. A.CalculationOperator0.prototype = {
  96227. _enumToString$0() {
  96228. return "CalculationOperator." + this._name;
  96229. },
  96230. toString$0(_) {
  96231. return this.name;
  96232. }
  96233. };
  96234. A.CalculationInterpolation.prototype = {
  96235. $eq(_, other) {
  96236. if (other == null)
  96237. return false;
  96238. return other instanceof A.CalculationInterpolation && this._calculation0$_value === other._calculation0$_value;
  96239. },
  96240. get$hashCode(_) {
  96241. return B.JSString_methods.get$hashCode(this._calculation0$_value);
  96242. },
  96243. toString$0(_) {
  96244. return this._calculation0$_value;
  96245. }
  96246. };
  96247. A.CallableDeclaration0.prototype = {
  96248. get$span(receiver) {
  96249. return this.span;
  96250. }
  96251. };
  96252. A.updateCanonicalizeContextPrototype_closure.prototype = {
  96253. call$1($self) {
  96254. return $self._canonicalize_context$_fromImport;
  96255. },
  96256. $signature: 384
  96257. };
  96258. A.updateCanonicalizeContextPrototype_closure0.prototype = {
  96259. call$1($self) {
  96260. $self._canonicalize_context$_wasContainingUrlAccessed = true;
  96261. return A.NullableExtension_andThen0($self._canonicalize_context$_containingUrl, A.utils3__dartToJSUrl$closure());
  96262. },
  96263. $signature: 385
  96264. };
  96265. A.CanonicalizeContext0.prototype = {
  96266. withFromImport$1$2(fromImport, callback) {
  96267. var t1,
  96268. oldFromImport = this._canonicalize_context$_fromImport;
  96269. this._canonicalize_context$_fromImport = true;
  96270. try {
  96271. t1 = callback.call$0();
  96272. return t1;
  96273. } finally {
  96274. this._canonicalize_context$_fromImport = oldFromImport;
  96275. }
  96276. },
  96277. withFromImport$2(fromImport, callback) {
  96278. callback.toString;
  96279. return this.withFromImport$1$2(fromImport, callback, type$.dynamic);
  96280. }
  96281. };
  96282. A.ColorChannel0.prototype = {
  96283. isAnalogous$1(other) {
  96284. var _0_6_isSet, t1, _0_60, t2, _0_6_isSet0,
  96285. _0_1 = this.name,
  96286. _0_6 = other.name;
  96287. $label0$0: {
  96288. if ("red" !== _0_1)
  96289. _0_6_isSet = "x" === _0_1;
  96290. else
  96291. _0_6_isSet = true;
  96292. if (_0_6_isSet) {
  96293. if ("red" !== _0_6)
  96294. t1 = "x" === _0_6;
  96295. else
  96296. t1 = true;
  96297. _0_60 = _0_6;
  96298. } else {
  96299. _0_60 = null;
  96300. t1 = false;
  96301. }
  96302. t2 = true;
  96303. if (!t1) {
  96304. if ("green" !== _0_1)
  96305. t1 = "y" === _0_1;
  96306. else
  96307. t1 = true;
  96308. if (t1) {
  96309. _0_6_isSet0 = true;
  96310. if (_0_6_isSet)
  96311. t1 = _0_60;
  96312. else {
  96313. t1 = _0_6;
  96314. _0_6_isSet = _0_6_isSet0;
  96315. _0_60 = t1;
  96316. }
  96317. if ("green" !== t1) {
  96318. if (_0_6_isSet)
  96319. t1 = _0_60;
  96320. else {
  96321. t1 = _0_6;
  96322. _0_6_isSet = _0_6_isSet0;
  96323. _0_60 = t1;
  96324. }
  96325. t1 = "y" === t1;
  96326. } else
  96327. t1 = true;
  96328. } else
  96329. t1 = false;
  96330. if (!t1) {
  96331. if ("blue" !== _0_1)
  96332. t1 = "z" === _0_1;
  96333. else
  96334. t1 = true;
  96335. if (t1) {
  96336. _0_6_isSet0 = true;
  96337. if (_0_6_isSet)
  96338. t1 = _0_60;
  96339. else {
  96340. t1 = _0_6;
  96341. _0_6_isSet = _0_6_isSet0;
  96342. _0_60 = t1;
  96343. }
  96344. if ("blue" !== t1) {
  96345. if (_0_6_isSet)
  96346. t1 = _0_60;
  96347. else {
  96348. t1 = _0_6;
  96349. _0_6_isSet = _0_6_isSet0;
  96350. _0_60 = t1;
  96351. }
  96352. t1 = "z" === t1;
  96353. } else
  96354. t1 = true;
  96355. } else
  96356. t1 = false;
  96357. if (!t1) {
  96358. if ("chroma" !== _0_1)
  96359. t1 = "saturation" === _0_1;
  96360. else
  96361. t1 = true;
  96362. if (t1) {
  96363. _0_6_isSet0 = true;
  96364. if (_0_6_isSet)
  96365. t1 = _0_60;
  96366. else {
  96367. t1 = _0_6;
  96368. _0_6_isSet = _0_6_isSet0;
  96369. _0_60 = t1;
  96370. }
  96371. if ("chroma" !== t1) {
  96372. if (_0_6_isSet)
  96373. t1 = _0_60;
  96374. else {
  96375. t1 = _0_6;
  96376. _0_6_isSet = _0_6_isSet0;
  96377. _0_60 = t1;
  96378. }
  96379. t1 = "saturation" === t1;
  96380. } else
  96381. t1 = true;
  96382. } else
  96383. t1 = false;
  96384. if (!t1) {
  96385. if ("lightness" === _0_1) {
  96386. if (_0_6_isSet)
  96387. t1 = _0_60;
  96388. else {
  96389. t1 = _0_6;
  96390. _0_60 = t1;
  96391. _0_6_isSet = true;
  96392. }
  96393. t1 = "lightness" === t1;
  96394. } else
  96395. t1 = false;
  96396. if (!t1)
  96397. if ("hue" === _0_1)
  96398. t1 = "hue" === (_0_6_isSet ? _0_60 : _0_6);
  96399. else
  96400. t1 = false;
  96401. else
  96402. t1 = t2;
  96403. } else
  96404. t1 = t2;
  96405. } else
  96406. t1 = t2;
  96407. } else
  96408. t1 = t2;
  96409. } else
  96410. t1 = t2;
  96411. break $label0$0;
  96412. }
  96413. return t1;
  96414. }
  96415. };
  96416. A.LinearChannel0.prototype = {};
  96417. A.Chokidar0.prototype = {};
  96418. A.ChokidarOptions0.prototype = {};
  96419. A.ChokidarWatcher0.prototype = {};
  96420. A.ClassSelector0.prototype = {
  96421. $eq(_, other) {
  96422. if (other == null)
  96423. return false;
  96424. return other instanceof A.ClassSelector0 && other.name === this.name;
  96425. },
  96426. accept$1$1(visitor) {
  96427. return visitor.visitClassSelector$1(this);
  96428. },
  96429. accept$1(visitor) {
  96430. return this.accept$1$1(visitor, type$.dynamic);
  96431. },
  96432. addSuffix$1(suffix) {
  96433. return new A.ClassSelector0(this.name + suffix, this.span);
  96434. },
  96435. get$hashCode(_) {
  96436. return B.JSString_methods.get$hashCode(this.name);
  96437. }
  96438. };
  96439. A.ClipGamutMap0.prototype = {
  96440. map$1(_, color) {
  96441. var t1 = color._color0$_space,
  96442. t2 = t1._space$_channels;
  96443. 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);
  96444. },
  96445. _clip$_clampChannel$2(value, channel) {
  96446. var t1, min;
  96447. if (value == null)
  96448. t1 = null;
  96449. else
  96450. $label0$0: {
  96451. if (channel instanceof A.LinearChannel0) {
  96452. min = channel.min;
  96453. t1 = isNaN(value) ? min : B.JSNumber_methods.clamp$2(value, min, channel.max);
  96454. break $label0$0;
  96455. }
  96456. t1 = value;
  96457. break $label0$0;
  96458. }
  96459. return t1;
  96460. }
  96461. };
  96462. A._CloneCssVisitor0.prototype = {
  96463. visitCssAtRule$1(node) {
  96464. var t1 = node.isChildless,
  96465. rule = A.ModifiableCssAtRule$0(node.name, node.span, t1, node.value);
  96466. return t1 ? rule : this._clone_css$_visitChildren$2(rule, node);
  96467. },
  96468. visitCssComment$1(node) {
  96469. return new A.ModifiableCssComment0(node.text, node.span);
  96470. },
  96471. visitCssDeclaration$1(node) {
  96472. return A.ModifiableCssDeclaration$0(node.name, node.value, node.span, null, node.parsedAsCustomProperty, null, node.valueSpanForMap);
  96473. },
  96474. visitCssImport$1(node) {
  96475. return new A.ModifiableCssImport0(node.url, node.modifiers, node.span);
  96476. },
  96477. visitCssKeyframeBlock$1(node) {
  96478. return this._clone_css$_visitChildren$2(A.ModifiableCssKeyframeBlock$0(node.selector, node.span), node);
  96479. },
  96480. visitCssMediaRule$1(node) {
  96481. return this._clone_css$_visitChildren$2(A.ModifiableCssMediaRule$0(node.queries, node.span), node);
  96482. },
  96483. visitCssStyleRule$1(node) {
  96484. var _0_0 = this._clone_css$_oldToNewSelectors.$index(0, node._style_rule0$_selector._box0$_inner.value);
  96485. if (_0_0 != null)
  96486. return this._clone_css$_visitChildren$2(A.ModifiableCssStyleRule$0(_0_0, node.span, false, node.originalSelector), node);
  96487. else
  96488. throw A.wrapException(A.StateError$(string$.The_Ex));
  96489. },
  96490. visitCssStylesheet$1(node) {
  96491. return this._clone_css$_visitChildren$2(A.ModifiableCssStylesheet$0(node.get$span(node)), node);
  96492. },
  96493. visitCssSupportsRule$1(node) {
  96494. return this._clone_css$_visitChildren$2(A.ModifiableCssSupportsRule$0(node.condition, node.span), node);
  96495. },
  96496. _clone_css$_visitChildren$1$2(newParent, oldParent) {
  96497. var t1, t2, newChild;
  96498. for (t1 = J.get$iterator$ax(oldParent.get$children(oldParent)); t1.moveNext$0();) {
  96499. t2 = t1.get$current(t1);
  96500. newChild = t2.accept$1(this);
  96501. newChild.isGroupEnd = t2.get$isGroupEnd();
  96502. newParent.addChild$1(newChild);
  96503. }
  96504. return newParent;
  96505. },
  96506. _clone_css$_visitChildren$2(newParent, oldParent) {
  96507. newParent.toString;
  96508. return this._clone_css$_visitChildren$1$2(newParent, oldParent, type$.ModifiableCssParentNode_2);
  96509. }
  96510. };
  96511. A.ColorExpression0.prototype = {
  96512. accept$1$1(visitor) {
  96513. return visitor.visitColorExpression$1(0, this);
  96514. },
  96515. accept$1(visitor) {
  96516. return this.accept$1$1(visitor, type$.dynamic);
  96517. },
  96518. toString$0(_) {
  96519. return A.serializeValue0(this.value, true, true);
  96520. },
  96521. get$span(receiver) {
  96522. return this.span;
  96523. }
  96524. };
  96525. A.global_closure44.prototype = {
  96526. call$1(color) {
  96527. return B.JSNumber_methods.round$0(color._color0$_legacyChannel$2(B.RgbColorSpace_i0P0, "red"));
  96528. },
  96529. $signature: 39
  96530. };
  96531. A.global_closure45.prototype = {
  96532. call$1(color) {
  96533. return B.JSNumber_methods.round$0(color._color0$_legacyChannel$2(B.RgbColorSpace_i0P0, "green"));
  96534. },
  96535. $signature: 39
  96536. };
  96537. A.global_closure46.prototype = {
  96538. call$1(color) {
  96539. return B.JSNumber_methods.round$0(color._color0$_legacyChannel$2(B.RgbColorSpace_i0P0, "blue"));
  96540. },
  96541. $signature: 39
  96542. };
  96543. A.global_closure47.prototype = {
  96544. call$1($arguments) {
  96545. return A._rgb0("rgb", $arguments);
  96546. },
  96547. $signature: 3
  96548. };
  96549. A.global_closure48.prototype = {
  96550. call$1($arguments) {
  96551. return A._rgb0("rgb", $arguments);
  96552. },
  96553. $signature: 3
  96554. };
  96555. A.global_closure49.prototype = {
  96556. call$1($arguments) {
  96557. return A._rgbTwoArg0("rgb", $arguments);
  96558. },
  96559. $signature: 3
  96560. };
  96561. A.global_closure50.prototype = {
  96562. call$1($arguments) {
  96563. return A._parseChannels0("rgb", J.$index$asx($arguments, 0), "channels", B.RgbColorSpace_i0P0);
  96564. },
  96565. $signature: 3
  96566. };
  96567. A.global_closure51.prototype = {
  96568. call$1($arguments) {
  96569. return A._rgb0("rgba", $arguments);
  96570. },
  96571. $signature: 3
  96572. };
  96573. A.global_closure52.prototype = {
  96574. call$1($arguments) {
  96575. return A._rgb0("rgba", $arguments);
  96576. },
  96577. $signature: 3
  96578. };
  96579. A.global_closure53.prototype = {
  96580. call$1($arguments) {
  96581. return A._rgbTwoArg0("rgba", $arguments);
  96582. },
  96583. $signature: 3
  96584. };
  96585. A.global_closure54.prototype = {
  96586. call$1($arguments) {
  96587. return A._parseChannels0("rgba", J.$index$asx($arguments, 0), "channels", B.RgbColorSpace_i0P0);
  96588. },
  96589. $signature: 3
  96590. };
  96591. A.global_closure55.prototype = {
  96592. call$1($arguments) {
  96593. var t1 = J.getInterceptor$asx($arguments);
  96594. if (!(t1.$index($arguments, 0) instanceof A.SassNumber0) && !t1.$index($arguments, 0).get$isSpecialNumber())
  96595. A.warnForDeprecation0(string$.Globalci, B.Deprecation_ZDV);
  96596. return A._invert0($arguments, true);
  96597. },
  96598. $signature: 3
  96599. };
  96600. A.global_closure56.prototype = {
  96601. call$1(color) {
  96602. return color._color0$_legacyChannel$2(B.HslColorSpace_JQ20, "hue");
  96603. },
  96604. $signature: 31
  96605. };
  96606. A.global_closure57.prototype = {
  96607. call$1(color) {
  96608. return color._color0$_legacyChannel$2(B.HslColorSpace_JQ20, "saturation");
  96609. },
  96610. $signature: 31
  96611. };
  96612. A.global_closure58.prototype = {
  96613. call$1(color) {
  96614. return color._color0$_legacyChannel$2(B.HslColorSpace_JQ20, "lightness");
  96615. },
  96616. $signature: 31
  96617. };
  96618. A.global_closure59.prototype = {
  96619. call$1($arguments) {
  96620. return A._hsl0("hsl", $arguments);
  96621. },
  96622. $signature: 3
  96623. };
  96624. A.global_closure60.prototype = {
  96625. call$1($arguments) {
  96626. return A._hsl0("hsl", $arguments);
  96627. },
  96628. $signature: 3
  96629. };
  96630. A.global_closure61.prototype = {
  96631. call$1($arguments) {
  96632. var t1 = J.getInterceptor$asx($arguments);
  96633. if (t1.$index($arguments, 0).get$isVar() || t1.$index($arguments, 1).get$isVar())
  96634. return A._functionString0("hsl", $arguments);
  96635. else
  96636. throw A.wrapException(A.SassScriptException$0("Missing argument $lightness.", null));
  96637. },
  96638. $signature: 18
  96639. };
  96640. A.global_closure62.prototype = {
  96641. call$1($arguments) {
  96642. return A._parseChannels0("hsl", J.$index$asx($arguments, 0), "channels", B.HslColorSpace_JQ20);
  96643. },
  96644. $signature: 3
  96645. };
  96646. A.global_closure63.prototype = {
  96647. call$1($arguments) {
  96648. return A._hsl0("hsla", $arguments);
  96649. },
  96650. $signature: 3
  96651. };
  96652. A.global_closure64.prototype = {
  96653. call$1($arguments) {
  96654. return A._hsl0("hsla", $arguments);
  96655. },
  96656. $signature: 3
  96657. };
  96658. A.global_closure65.prototype = {
  96659. call$1($arguments) {
  96660. var t1 = J.getInterceptor$asx($arguments);
  96661. if (t1.$index($arguments, 0).get$isVar() || t1.$index($arguments, 1).get$isVar())
  96662. return A._functionString0("hsla", $arguments);
  96663. else
  96664. throw A.wrapException(A.SassScriptException$0("Missing argument $lightness.", null));
  96665. },
  96666. $signature: 18
  96667. };
  96668. A.global_closure66.prototype = {
  96669. call$1($arguments) {
  96670. return A._parseChannels0("hsla", J.$index$asx($arguments, 0), "channels", B.HslColorSpace_JQ20);
  96671. },
  96672. $signature: 3
  96673. };
  96674. A.global_closure67.prototype = {
  96675. call$1($arguments) {
  96676. var t1 = J.getInterceptor$asx($arguments);
  96677. if (t1.$index($arguments, 0) instanceof A.SassNumber0 || t1.$index($arguments, 0).get$isSpecialNumber())
  96678. return A._functionString0("grayscale", $arguments);
  96679. else {
  96680. A.warnForDeprecation0(string$.Globalcg, B.Deprecation_ZDV);
  96681. return A._grayscale0(t1.$index($arguments, 0));
  96682. }
  96683. },
  96684. $signature: 3
  96685. };
  96686. A.global_closure68.prototype = {
  96687. call$1($arguments) {
  96688. var t1 = J.getInterceptor$asx($arguments),
  96689. color = t1.$index($arguments, 0).assertColor$1("color"),
  96690. degrees = A._angleValue0(t1.$index($arguments, 1), "degrees");
  96691. if (!color._color0$_space.get$isLegacyInternal())
  96692. throw A.wrapException(A.SassScriptException$0(string$.adjusto, null));
  96693. A.warnForDeprecation0(string$.adjustd + A.SassNumber_SassNumber0(degrees, "deg").toString$0(0) + string$.x29x0a_Mor_, B.Deprecation_fdF);
  96694. return color.changeHsl$1$hue(color._color0$_legacyChannel$2(B.HslColorSpace_JQ20, "hue") + degrees);
  96695. },
  96696. $signature: 24
  96697. };
  96698. A.global_closure69.prototype = {
  96699. call$1($arguments) {
  96700. var result,
  96701. _s9_ = "lightness",
  96702. t1 = J.getInterceptor$asx($arguments),
  96703. color = t1.$index($arguments, 0).assertColor$1("color"),
  96704. amount = t1.$index($arguments, 1).assertNumber$1("amount");
  96705. if (!color._color0$_space.get$isLegacyInternal())
  96706. throw A.wrapException(A.SassScriptException$0(string$.lighte, null));
  96707. t1 = color._color0$_legacyChannel$2(B.HslColorSpace_JQ20, _s9_) + amount.valueInRange$3(0, 100, "amount");
  96708. result = color.changeHsl$1$lightness(isNaN(t1) ? 0 : B.JSNumber_methods.clamp$2(t1, 0, 100));
  96709. A.warnForDeprecation0("lighten() is deprecated. " + A._suggestScaleAndAdjust0(color, amount._number1$_value, _s9_) + string$.x0a_Morex3ac, B.Deprecation_fdF);
  96710. return result;
  96711. },
  96712. $signature: 24
  96713. };
  96714. A.global_closure70.prototype = {
  96715. call$1($arguments) {
  96716. var result,
  96717. _s9_ = "lightness",
  96718. t1 = J.getInterceptor$asx($arguments),
  96719. color = t1.$index($arguments, 0).assertColor$1("color"),
  96720. amount = t1.$index($arguments, 1).assertNumber$1("amount");
  96721. if (!color._color0$_space.get$isLegacyInternal())
  96722. throw A.wrapException(A.SassScriptException$0(string$.darken, null));
  96723. t1 = color._color0$_legacyChannel$2(B.HslColorSpace_JQ20, _s9_) - amount.valueInRange$3(0, 100, "amount");
  96724. result = color.changeHsl$1$lightness(isNaN(t1) ? 0 : B.JSNumber_methods.clamp$2(t1, 0, 100));
  96725. A.warnForDeprecation0("darken() is deprecated. " + A._suggestScaleAndAdjust0(color, -amount._number1$_value, _s9_) + string$.x0a_Morex3ac, B.Deprecation_fdF);
  96726. return result;
  96727. },
  96728. $signature: 24
  96729. };
  96730. A.global_closure71.prototype = {
  96731. call$1($arguments) {
  96732. var t1 = J.getInterceptor$asx($arguments);
  96733. if (t1.$index($arguments, 0) instanceof A.SassNumber0 || t1.$index($arguments, 0).get$isSpecialNumber())
  96734. return A._functionString0("saturate", $arguments);
  96735. return new A.SassString0("saturate(" + A.serializeValue0(t1.$index($arguments, 0).assertNumber$1("amount"), false, true) + ")", false);
  96736. },
  96737. $signature: 18
  96738. };
  96739. A.global_closure72.prototype = {
  96740. call$1($arguments) {
  96741. var t1, color, amount, result,
  96742. _s10_ = "saturation";
  96743. A.warnForDeprecation0(string$.Globalcad, B.Deprecation_ZDV);
  96744. t1 = J.getInterceptor$asx($arguments);
  96745. color = t1.$index($arguments, 0).assertColor$1("color");
  96746. amount = t1.$index($arguments, 1).assertNumber$1("amount");
  96747. if (!color._color0$_space.get$isLegacyInternal())
  96748. throw A.wrapException(A.SassScriptException$0(string$.satura, null));
  96749. t1 = color._color0$_legacyChannel$2(B.HslColorSpace_JQ20, _s10_) + amount.valueInRange$3(0, 100, "amount");
  96750. result = color.changeHsl$1$saturation(isNaN(t1) ? 0 : B.JSNumber_methods.clamp$2(t1, 0, 100));
  96751. A.warnForDeprecation0("saturate() is deprecated. " + A._suggestScaleAndAdjust0(color, amount._number1$_value, _s10_) + string$.x0a_Morex3ac, B.Deprecation_fdF);
  96752. return result;
  96753. },
  96754. $signature: 24
  96755. };
  96756. A.global_closure73.prototype = {
  96757. call$1($arguments) {
  96758. var result,
  96759. _s10_ = "saturation",
  96760. t1 = J.getInterceptor$asx($arguments),
  96761. color = t1.$index($arguments, 0).assertColor$1("color"),
  96762. amount = t1.$index($arguments, 1).assertNumber$1("amount");
  96763. if (!color._color0$_space.get$isLegacyInternal())
  96764. throw A.wrapException(A.SassScriptException$0(string$.desatu, null));
  96765. t1 = color._color0$_legacyChannel$2(B.HslColorSpace_JQ20, _s10_) - amount.valueInRange$3(0, 100, "amount");
  96766. result = color.changeHsl$1$saturation(isNaN(t1) ? 0 : B.JSNumber_methods.clamp$2(t1, 0, 100));
  96767. A.warnForDeprecation0("desaturate() is deprecated. " + A._suggestScaleAndAdjust0(color, -amount._number1$_value, _s10_) + string$.x0a_Morex3ac, B.Deprecation_fdF);
  96768. return result;
  96769. },
  96770. $signature: 24
  96771. };
  96772. A.global_closure74.prototype = {
  96773. call$1($arguments) {
  96774. return A._opacify0("opacify", $arguments);
  96775. },
  96776. $signature: 24
  96777. };
  96778. A.global_closure75.prototype = {
  96779. call$1($arguments) {
  96780. return A._opacify0("fade-in", $arguments);
  96781. },
  96782. $signature: 24
  96783. };
  96784. A.global_closure76.prototype = {
  96785. call$1($arguments) {
  96786. return A._transparentize0("transparentize", $arguments);
  96787. },
  96788. $signature: 24
  96789. };
  96790. A.global_closure77.prototype = {
  96791. call$1($arguments) {
  96792. return A._transparentize0("fade-out", $arguments);
  96793. },
  96794. $signature: 24
  96795. };
  96796. A.global_closure78.prototype = {
  96797. call$1($arguments) {
  96798. var _0_0 = J.$index$asx($arguments, 0),
  96799. t1 = false;
  96800. if (_0_0 instanceof A.SassString0)
  96801. if (!_0_0._string0$_hasQuotes)
  96802. t1 = B.JSString_methods.contains$1(_0_0._string0$_text, $.$get$_microsoftFilterStart0());
  96803. if (t1)
  96804. return A._functionString0("alpha", $arguments);
  96805. if (_0_0 instanceof A.SassColor0 && !_0_0._color0$_space.get$isLegacyInternal())
  96806. throw A.wrapException(A.SassScriptException$0(string$.alpha_, null));
  96807. A.warnForDeprecation0(string$.Globalcal, B.Deprecation_ZDV);
  96808. t1 = _0_0.assertColor$1("color").alphaOrNull;
  96809. return A.SassNumber_SassNumber0(t1 == null ? 0 : t1, null);
  96810. },
  96811. $signature: 3
  96812. };
  96813. A.global_closure79.prototype = {
  96814. call$1($arguments) {
  96815. var t1,
  96816. argList = J.$index$asx($arguments, 0).get$asList();
  96817. if (argList.length !== 0 && B.JSArray_methods.every$1(argList, new A.global__closure0()))
  96818. return A._functionString0("alpha", $arguments);
  96819. t1 = argList.length;
  96820. if (t1 === 0)
  96821. throw A.wrapException(A.SassScriptException$0("Missing argument $color.", null));
  96822. else
  96823. throw A.wrapException(A.SassScriptException$0("Only 1 argument allowed, but " + t1 + " were passed.", null));
  96824. },
  96825. $signature: 18
  96826. };
  96827. A.global__closure0.prototype = {
  96828. call$1(argument) {
  96829. return argument instanceof A.SassString0 && !argument._string0$_hasQuotes && B.JSString_methods.contains$1(argument._string0$_text, $.$get$_microsoftFilterStart0());
  96830. },
  96831. $signature: 55
  96832. };
  96833. A.global_closure80.prototype = {
  96834. call$1($arguments) {
  96835. var t1 = J.getInterceptor$asx($arguments);
  96836. if (t1.$index($arguments, 0) instanceof A.SassNumber0 || t1.$index($arguments, 0).get$isSpecialNumber())
  96837. return A._functionString0("opacity", $arguments);
  96838. A.warnForDeprecation0(string$.Globalco, B.Deprecation_ZDV);
  96839. t1 = t1.$index($arguments, 0).assertColor$1("color").alphaOrNull;
  96840. return A.SassNumber_SassNumber0(t1 == null ? 0 : t1, null);
  96841. },
  96842. $signature: 3
  96843. };
  96844. A.global_closure81.prototype = {
  96845. call$1($arguments) {
  96846. return A._parseChannels0("color", J.$index$asx($arguments, 0), "description", null);
  96847. },
  96848. $signature: 3
  96849. };
  96850. A.global_closure82.prototype = {
  96851. call$1($arguments) {
  96852. return A._parseChannels0("hwb", J.$index$asx($arguments, 0), "channels", B.HwbColorSpace_guQ0);
  96853. },
  96854. $signature: 3
  96855. };
  96856. A.global_closure83.prototype = {
  96857. call$1($arguments) {
  96858. return A._parseChannels0("lab", J.$index$asx($arguments, 0), "channels", B.LabColorSpace_2nT0);
  96859. },
  96860. $signature: 3
  96861. };
  96862. A.global_closure84.prototype = {
  96863. call$1($arguments) {
  96864. return A._parseChannels0("lch", J.$index$asx($arguments, 0), "channels", B.LchColorSpace_Bpv0);
  96865. },
  96866. $signature: 3
  96867. };
  96868. A.global_closure85.prototype = {
  96869. call$1($arguments) {
  96870. return A._parseChannels0("oklab", J.$index$asx($arguments, 0), "channels", B.OklabColorSpace_5400);
  96871. },
  96872. $signature: 3
  96873. };
  96874. A.global_closure86.prototype = {
  96875. call$1($arguments) {
  96876. return A._parseChannels0("oklch", J.$index$asx($arguments, 0), "channels", B.OklchColorSpace_9Gj0);
  96877. },
  96878. $signature: 3
  96879. };
  96880. A.module_closure27.prototype = {
  96881. call$1(color) {
  96882. return B.JSNumber_methods.round$0(color._color0$_legacyChannel$2(B.RgbColorSpace_i0P0, "red"));
  96883. },
  96884. $signature: 39
  96885. };
  96886. A.module_closure28.prototype = {
  96887. call$1(color) {
  96888. return B.JSNumber_methods.round$0(color._color0$_legacyChannel$2(B.RgbColorSpace_i0P0, "green"));
  96889. },
  96890. $signature: 39
  96891. };
  96892. A.module_closure29.prototype = {
  96893. call$1(color) {
  96894. return B.JSNumber_methods.round$0(color._color0$_legacyChannel$2(B.RgbColorSpace_i0P0, "blue"));
  96895. },
  96896. $signature: 39
  96897. };
  96898. A.module_closure30.prototype = {
  96899. call$1($arguments) {
  96900. var result = A._invert0($arguments, false);
  96901. if (result instanceof A.SassString0)
  96902. A.warnForDeprecation0("Passing a number (" + J.$index$asx($arguments, 0).toString$0(0) + string$.x29x20to_cli + result.toString$0(0), B.Deprecation_Kry);
  96903. return result;
  96904. },
  96905. $signature: 3
  96906. };
  96907. A.module_closure31.prototype = {
  96908. call$1(color) {
  96909. return color._color0$_legacyChannel$2(B.HslColorSpace_JQ20, "hue");
  96910. },
  96911. $signature: 31
  96912. };
  96913. A.module_closure32.prototype = {
  96914. call$1(color) {
  96915. return color._color0$_legacyChannel$2(B.HslColorSpace_JQ20, "saturation");
  96916. },
  96917. $signature: 31
  96918. };
  96919. A.module_closure33.prototype = {
  96920. call$1(color) {
  96921. return color._color0$_legacyChannel$2(B.HslColorSpace_JQ20, "lightness");
  96922. },
  96923. $signature: 31
  96924. };
  96925. A.module_closure34.prototype = {
  96926. call$1($arguments) {
  96927. var result,
  96928. t1 = J.getInterceptor$asx($arguments);
  96929. if (t1.$index($arguments, 0) instanceof A.SassNumber0) {
  96930. result = A._functionString0("grayscale", t1.take$1($arguments, 1));
  96931. A.warnForDeprecation0("Passing a number (" + t1.$index($arguments, 0).toString$0(0) + string$.x29x20to_clg + result.toString$0(0), B.Deprecation_Kry);
  96932. return result;
  96933. }
  96934. return A._grayscale0(t1.$index($arguments, 0));
  96935. },
  96936. $signature: 3
  96937. };
  96938. A.module_closure35.prototype = {
  96939. call$1($arguments) {
  96940. var t1 = J.getInterceptor$asx($arguments),
  96941. t2 = type$.JSArray_Value_2;
  96942. 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);
  96943. },
  96944. $signature: 3
  96945. };
  96946. A.module_closure36.prototype = {
  96947. call$1($arguments) {
  96948. return A._parseChannels0("hwb", J.$index$asx($arguments, 0), "channels", B.HwbColorSpace_guQ0);
  96949. },
  96950. $signature: 3
  96951. };
  96952. A.module_closure37.prototype = {
  96953. call$1(color) {
  96954. return color._color0$_legacyChannel$2(B.HwbColorSpace_guQ0, "whiteness");
  96955. },
  96956. $signature: 31
  96957. };
  96958. A.module_closure38.prototype = {
  96959. call$1(color) {
  96960. return color._color0$_legacyChannel$2(B.HwbColorSpace_guQ0, "blackness");
  96961. },
  96962. $signature: 31
  96963. };
  96964. A.module_closure39.prototype = {
  96965. call$1($arguments) {
  96966. var result,
  96967. _0_0 = J.$index$asx($arguments, 0),
  96968. t1 = false;
  96969. if (_0_0 instanceof A.SassString0)
  96970. if (!_0_0._string0$_hasQuotes)
  96971. t1 = B.JSString_methods.contains$1(_0_0._string0$_text, $.$get$_microsoftFilterStart0());
  96972. if (t1) {
  96973. result = A._functionString0("alpha", $arguments);
  96974. A.warnForDeprecation0(string$.Using_c + result.toString$0(0), B.Deprecation_Kry);
  96975. return result;
  96976. }
  96977. if (_0_0 instanceof A.SassColor0 && !_0_0._color0$_space.get$isLegacyInternal())
  96978. throw A.wrapException(A.SassScriptException$0(string$.color_a, null));
  96979. t1 = _0_0.assertColor$1("color").alphaOrNull;
  96980. return A.SassNumber_SassNumber0(t1 == null ? 0 : t1, null);
  96981. },
  96982. $signature: 3
  96983. };
  96984. A.module_closure40.prototype = {
  96985. call$1($arguments) {
  96986. var result,
  96987. t1 = J.getInterceptor$asx($arguments);
  96988. if (B.JSArray_methods.every$1(t1.$index($arguments, 0).get$asList(), new A.module__closure6())) {
  96989. result = A._functionString0("alpha", $arguments);
  96990. A.warnForDeprecation0(string$.Using_c + result.toString$0(0), B.Deprecation_Kry);
  96991. return result;
  96992. }
  96993. throw A.wrapException(A.SassScriptException$0("Only 1 argument allowed, but " + t1.get$length($arguments) + " were passed.", null));
  96994. },
  96995. $signature: 18
  96996. };
  96997. A.module__closure6.prototype = {
  96998. call$1(argument) {
  96999. return argument instanceof A.SassString0 && !argument._string0$_hasQuotes && B.JSString_methods.contains$1(argument._string0$_text, $.$get$_microsoftFilterStart0());
  97000. },
  97001. $signature: 55
  97002. };
  97003. A.module_closure41.prototype = {
  97004. call$1($arguments) {
  97005. var result,
  97006. t1 = J.getInterceptor$asx($arguments);
  97007. if (t1.$index($arguments, 0) instanceof A.SassNumber0) {
  97008. result = A._functionString0("opacity", $arguments);
  97009. A.warnForDeprecation0("Passing a number (" + t1.$index($arguments, 0).toString$0(0) + string$.x20to_co + result.toString$0(0), B.Deprecation_Kry);
  97010. return result;
  97011. }
  97012. t1 = t1.$index($arguments, 0).assertColor$1("color").alphaOrNull;
  97013. return A.SassNumber_SassNumber0(t1 == null ? 0 : t1, null);
  97014. },
  97015. $signature: 3
  97016. };
  97017. A.module_closure42.prototype = {
  97018. call$1($arguments) {
  97019. return new A.SassString0(J.get$first$ax($arguments).assertColor$1("color")._color0$_space.name, false);
  97020. },
  97021. $signature: 18
  97022. };
  97023. A.module_closure43.prototype = {
  97024. call$1($arguments) {
  97025. var t1 = J.getInterceptor$asx($arguments);
  97026. return A._colorInSpace0(t1.$index($arguments, 0), t1.$index($arguments, 1), false);
  97027. },
  97028. $signature: 24
  97029. };
  97030. A.module_closure44.prototype = {
  97031. call$1($arguments) {
  97032. return J.$index$asx($arguments, 0).assertColor$1("color")._color0$_space.get$isLegacyInternal() ? B.SassBoolean_true0 : B.SassBoolean_false0;
  97033. },
  97034. $signature: 11
  97035. };
  97036. A.module_closure45.prototype = {
  97037. call$1($arguments) {
  97038. var t1 = J.getInterceptor$asx($arguments);
  97039. 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;
  97040. },
  97041. $signature: 11
  97042. };
  97043. A.module_closure46.prototype = {
  97044. call$1($arguments) {
  97045. var t1 = J.getInterceptor$asx($arguments);
  97046. return A._colorInSpace0(t1.$index($arguments, 0), t1.$index($arguments, 1), true).get$isInGamut() ? B.SassBoolean_true0 : B.SassBoolean_false0;
  97047. },
  97048. $signature: 11
  97049. };
  97050. A.module_closure47.prototype = {
  97051. call$1($arguments) {
  97052. var space, method, _s5_ = "space", _s6_ = "method",
  97053. t1 = J.getInterceptor$asx($arguments),
  97054. color = t1.$index($arguments, 0).assertColor$1("color"),
  97055. t2 = t1.$index($arguments, 1);
  97056. if (t2.$eq(0, B.C__SassNull0))
  97057. space = color._color0$_space;
  97058. else {
  97059. t2 = t2.assertString$1(_s5_);
  97060. t2.assertUnquoted$1(_s5_);
  97061. space = A.ColorSpace_fromName0(t2._string0$_text, _s5_);
  97062. }
  97063. if (t1.$index($arguments, 2).$eq(0, B.C__SassNull0))
  97064. throw A.wrapException(A.SassScriptException$0(string$.color_t, _s6_));
  97065. t1 = t1.$index($arguments, 2).assertString$1(_s6_);
  97066. t1.assertUnquoted$1(_s6_);
  97067. method = A.GamutMapMethod_GamutMapMethod$fromName0(t1._string0$_text);
  97068. if (!space.get$isBoundedInternal())
  97069. return color;
  97070. t1 = color.toSpace$1(space);
  97071. t1 = t1.get$isInGamut() ? t1 : method.map$1(0, t1);
  97072. return t1.toSpace$2$legacyMissing(color._color0$_space, false);
  97073. },
  97074. $signature: 24
  97075. };
  97076. A.module_closure48.prototype = {
  97077. call$1($arguments) {
  97078. var channelIndex, channelInfo, channelValue, unit,
  97079. t1 = J.getInterceptor$asx($arguments),
  97080. color = A._colorInSpace0(t1.$index($arguments, 0), t1.$index($arguments, 2), true),
  97081. channelName = A._channelName0(t1.$index($arguments, 1));
  97082. if (channelName === "alpha") {
  97083. t1 = color.alphaOrNull;
  97084. return A.SassNumber_SassNumber0(t1 == null ? 0 : t1, null);
  97085. }
  97086. t1 = color._color0$_space._space$_channels;
  97087. channelIndex = B.JSArray_methods.indexWhere$1(t1, new A.module__closure5(channelName));
  97088. if (channelIndex === -1)
  97089. throw A.wrapException(A.SassScriptException$0("Color " + color.toString$0(0) + " has no channel named " + channelName + ".", "channel"));
  97090. channelInfo = t1[channelIndex];
  97091. channelValue = color.get$channels()[channelIndex];
  97092. unit = channelInfo.associatedUnit;
  97093. return A.SassNumber_SassNumber0(unit === "%" ? channelValue * 100 / type$.LinearChannel_2._as(channelInfo).max : channelValue, unit);
  97094. },
  97095. $signature: 23
  97096. };
  97097. A.module__closure5.prototype = {
  97098. call$1(channel) {
  97099. return channel.name === this.channelName;
  97100. },
  97101. $signature: 76
  97102. };
  97103. A.module_closure49.prototype = {
  97104. call$1($arguments) {
  97105. var t2, t3,
  97106. t1 = J.getInterceptor$asx($arguments),
  97107. color1 = t1.$index($arguments, 0).assertColor$1("color1"),
  97108. color2 = t1.$index($arguments, 1).assertColor$1("color2");
  97109. t1 = new A.module_closure_toXyzNoMissing0();
  97110. if (color1._color0$_space === color2._color0$_space) {
  97111. t1 = color1.channel0OrNull;
  97112. t2 = false;
  97113. if (t1 == null)
  97114. t1 = 0;
  97115. t3 = color2.channel0OrNull;
  97116. if (A.fuzzyEquals0(t1, t3 == null ? 0 : t3)) {
  97117. t1 = color1.channel1OrNull;
  97118. if (t1 == null)
  97119. t1 = 0;
  97120. t3 = color2.channel1OrNull;
  97121. if (A.fuzzyEquals0(t1, t3 == null ? 0 : t3)) {
  97122. t1 = color1.channel2OrNull;
  97123. if (t1 == null)
  97124. t1 = 0;
  97125. t3 = color2.channel2OrNull;
  97126. if (A.fuzzyEquals0(t1, t3 == null ? 0 : t3)) {
  97127. t1 = color1.alphaOrNull;
  97128. if (t1 == null)
  97129. t1 = 0;
  97130. t2 = color2.alphaOrNull;
  97131. t1 = A.fuzzyEquals0(t1, t2 == null ? 0 : t2);
  97132. } else
  97133. t1 = t2;
  97134. } else
  97135. t1 = t2;
  97136. } else
  97137. t1 = t2;
  97138. } else
  97139. t1 = J.$eq$(t1.call$1(color1), t1.call$1(color2));
  97140. return t1 ? B.SassBoolean_true0 : B.SassBoolean_false0;
  97141. },
  97142. $signature: 11
  97143. };
  97144. A.module_closure_toXyzNoMissing0.prototype = {
  97145. call$1(color) {
  97146. var _1_1, _1_3, t1, _1_7, channel0, _1_8, channel1, _1_9, channel2, _1_10, alpha;
  97147. $label0$0: {
  97148. _1_1 = color._color0$_space;
  97149. _1_3 = B.XyzD65ColorSpace_WiJ0 === _1_1;
  97150. t1 = _1_3;
  97151. if (t1)
  97152. t1 = !(color.channel0OrNull == null || color.channel1OrNull == null || color.channel2OrNull == null || color.alphaOrNull == null);
  97153. else
  97154. t1 = false;
  97155. if (t1) {
  97156. t1 = color;
  97157. break $label0$0;
  97158. }
  97159. if (_1_3) {
  97160. _1_7 = color.channel0OrNull;
  97161. if (_1_7 == null)
  97162. _1_7 = 0;
  97163. channel0 = _1_7;
  97164. _1_8 = color.channel1OrNull;
  97165. if (_1_8 == null)
  97166. _1_8 = 0;
  97167. channel1 = _1_8;
  97168. _1_9 = color.channel2OrNull;
  97169. if (_1_9 == null)
  97170. _1_9 = 0;
  97171. channel2 = _1_9;
  97172. _1_10 = color.alphaOrNull;
  97173. if (_1_10 == null)
  97174. _1_10 = 0;
  97175. alpha = _1_10;
  97176. t1 = A.SassColor$_forSpace0(B.XyzD65ColorSpace_WiJ0, channel0, channel1, channel2, alpha, null);
  97177. break $label0$0;
  97178. }
  97179. _1_7 = color.channel0OrNull;
  97180. if (_1_7 == null)
  97181. _1_7 = 0;
  97182. channel0 = _1_7;
  97183. _1_8 = color.channel1OrNull;
  97184. if (_1_8 == null)
  97185. _1_8 = 0;
  97186. channel1 = _1_8;
  97187. _1_9 = color.channel2OrNull;
  97188. if (_1_9 == null)
  97189. _1_9 = 0;
  97190. channel2 = _1_9;
  97191. _1_10 = color.alphaOrNull;
  97192. if (_1_10 == null)
  97193. _1_10 = 0;
  97194. alpha = _1_10;
  97195. t1 = _1_1.convert$5(B.XyzD65ColorSpace_WiJ0, channel0, channel1, channel2, alpha);
  97196. break $label0$0;
  97197. }
  97198. return t1;
  97199. },
  97200. $signature: 393
  97201. };
  97202. A.module_closure50.prototype = {
  97203. call$1($arguments) {
  97204. var t1 = J.getInterceptor$asx($arguments);
  97205. 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;
  97206. },
  97207. $signature: 11
  97208. };
  97209. A._mix_closure0.prototype = {
  97210. call$1($arguments) {
  97211. var _s6_ = "weight",
  97212. _s41_ = string$.To_usem,
  97213. _s29_ = ", you must provide a $method.",
  97214. t1 = J.getInterceptor$asx($arguments),
  97215. color1 = t1.$index($arguments, 0).assertColor$1("color1"),
  97216. color2 = t1.$index($arguments, 1).assertColor$1("color2"),
  97217. weight = t1.$index($arguments, 2).assertNumber$1(_s6_);
  97218. if (!t1.$index($arguments, 3).$eq(0, B.C__SassNull0))
  97219. return color1.interpolate$4$legacyMissing$weight(color2, A.InterpolationMethod_InterpolationMethod$fromValue0(t1.$index($arguments, 3), "method"), false, weight.valueInRangeWithUnit$4(0, 100, _s6_, "%") / 100);
  97220. A._checkPercent0(weight, _s6_);
  97221. if (!color1._color0$_space.get$isLegacyInternal())
  97222. throw A.wrapException(A.SassScriptException$0(_s41_ + color1.toString$0(0) + _s29_, "color1"));
  97223. else if (!color2._color0$_space.get$isLegacyInternal())
  97224. throw A.wrapException(A.SassScriptException$0(_s41_ + color2.toString$0(0) + _s29_, "color2"));
  97225. return A._mixLegacy0(color1, color2, weight);
  97226. },
  97227. $signature: 24
  97228. };
  97229. A._complement_closure0.prototype = {
  97230. call$1($arguments) {
  97231. var space, t3, colorInSpace, t4, t5, t6, _s5_ = "space",
  97232. t1 = J.getInterceptor$asx($arguments),
  97233. color = t1.$index($arguments, 0).assertColor$1("color"),
  97234. t2 = color._color0$_space;
  97235. if (t2.get$isLegacyInternal() && t1.$index($arguments, 1).$eq(0, B.C__SassNull0))
  97236. space = B.HslColorSpace_JQ20;
  97237. else {
  97238. t3 = t1.$index($arguments, 1).assertString$1(_s5_);
  97239. t3.assertUnquoted$1(_s5_);
  97240. space = A.ColorSpace_fromName0(t3._string0$_text, _s5_);
  97241. }
  97242. if (!space.get$isPolarInternal())
  97243. throw A.wrapException(A.SassScriptException$0("Color space " + space.toString$0(0) + " doesn't have a hue channel.", _s5_));
  97244. colorInSpace = color.toSpace$2$legacyMissing(space, !t1.$index($arguments, 1).$eq(0, B.C__SassNull0));
  97245. t1 = space._space$_channels;
  97246. t3 = colorInSpace.channel0OrNull;
  97247. t4 = colorInSpace.channel1OrNull;
  97248. t5 = colorInSpace.channel2OrNull;
  97249. t6 = colorInSpace.alphaOrNull;
  97250. 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);
  97251. },
  97252. $signature: 24
  97253. };
  97254. A._adjust_closure0.prototype = {
  97255. call$1($arguments) {
  97256. return A._updateComponents0($arguments, true, false, false);
  97257. },
  97258. $signature: 24
  97259. };
  97260. A._scale_closure0.prototype = {
  97261. call$1($arguments) {
  97262. return A._updateComponents0($arguments, false, false, true);
  97263. },
  97264. $signature: 24
  97265. };
  97266. A._change_closure0.prototype = {
  97267. call$1($arguments) {
  97268. return A._updateComponents0($arguments, false, true, false);
  97269. },
  97270. $signature: 24
  97271. };
  97272. A._ieHexStr_closure0.prototype = {
  97273. call$1($arguments) {
  97274. var t1, t2, t3, t4, t5,
  97275. color = J.$index$asx($arguments, 0).assertColor$1("color").toSpace$1(B.RgbColorSpace_i0P0);
  97276. color = color.get$isInGamut() ? color : B.LocalMindeGamutMap_A2x0.map$1(0, color);
  97277. t1 = new A._ieHexStr_closure_hexString0();
  97278. t2 = color.alphaOrNull;
  97279. t2 = A.S(t1.call$1((t2 == null ? 0 : t2) * 255));
  97280. t3 = color.channel0OrNull;
  97281. t3 = A.S(t1.call$1(t3 == null ? 0 : t3));
  97282. t4 = color.channel1OrNull;
  97283. t4 = A.S(t1.call$1(t4 == null ? 0 : t4));
  97284. t5 = color.channel2OrNull;
  97285. return new A.SassString0("#" + t2 + t3 + t4 + A.S(t1.call$1(t5 == null ? 0 : t5)), false);
  97286. },
  97287. $signature: 18
  97288. };
  97289. A._ieHexStr_closure_hexString0.prototype = {
  97290. call$1(component) {
  97291. return B.JSString_methods.padLeft$2(B.JSInt_methods.toRadixString$1(A.fuzzyRound0(component), 16), 2, "0").toUpperCase();
  97292. },
  97293. $signature: 229
  97294. };
  97295. A._updateComponents_closure1.prototype = {
  97296. call$1(space) {
  97297. return this.originalColor.toSpace$2$legacyMissing(space, false);
  97298. },
  97299. $signature: 394
  97300. };
  97301. A._updateComponents_closure2.prototype = {
  97302. call$1(info) {
  97303. return this._box_0.name === info.name;
  97304. },
  97305. $signature: 76
  97306. };
  97307. A._changeColor_closure0.prototype = {
  97308. call$0() {
  97309. var t1 = this.alphaArg;
  97310. 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);
  97311. return t1.valueInRange$3(0, 1, "alpha");
  97312. },
  97313. $signature: 238
  97314. };
  97315. A._adjustColor_closure0.prototype = {
  97316. call$1(alpha) {
  97317. return isNaN(alpha) ? 0 : B.JSNumber_methods.clamp$2(alpha, 0, 1);
  97318. },
  97319. $signature: 16
  97320. };
  97321. A._functionString_closure0.prototype = {
  97322. call$1(argument) {
  97323. return A.serializeValue0(argument, false, true);
  97324. },
  97325. $signature: 225
  97326. };
  97327. A._removedColorFunction_closure0.prototype = {
  97328. call$1($arguments) {
  97329. var t1 = this.name,
  97330. t2 = J.getInterceptor$asx($arguments),
  97331. t3 = t2.$index($arguments, 0).toString$0(0),
  97332. t4 = this.negative ? "-" : "";
  97333. 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));
  97334. },
  97335. $signature: 396
  97336. };
  97337. A._rgb_closure0.prototype = {
  97338. call$1(alpha) {
  97339. var t1 = A._percentageOrUnitless0(alpha.assertNumber$1("alpha"), 1, "alpha");
  97340. return isNaN(t1) ? 0 : B.JSNumber_methods.clamp$2(t1, 0, 1);
  97341. },
  97342. $signature: 226
  97343. };
  97344. A._hsl_closure0.prototype = {
  97345. call$1(alpha) {
  97346. var t1 = A._percentageOrUnitless0(alpha.assertNumber$1("alpha"), 1, "alpha");
  97347. return isNaN(t1) ? 0 : B.JSNumber_methods.clamp$2(t1, 0, 1);
  97348. },
  97349. $signature: 226
  97350. };
  97351. A._parseChannels_closure1.prototype = {
  97352. call$1($name) {
  97353. return $name + " channel";
  97354. },
  97355. $signature: 6
  97356. };
  97357. A._parseChannels_closure2.prototype = {
  97358. call$1(channel) {
  97359. return channel.get$isSpecialNumber();
  97360. },
  97361. $signature: 55
  97362. };
  97363. A._colorFromChannels_closure1.prototype = {
  97364. call$1(channel0) {
  97365. return A._angleValue0(channel0, "hue");
  97366. },
  97367. $signature: 86
  97368. };
  97369. A._colorFromChannels_closure2.prototype = {
  97370. call$1(channel0) {
  97371. return A._angleValue0(channel0, "hue");
  97372. },
  97373. $signature: 86
  97374. };
  97375. A._channelFromValue_closure0.prototype = {
  97376. call$1(value) {
  97377. var t1, _0_8, t2, _0_5, _0_8_isSet, lowerClamped, upperClamped, t3,
  97378. _0_0 = this.channel;
  97379. $label0$0: {
  97380. t1 = _0_0 instanceof A.LinearChannel0;
  97381. if (t1 && _0_0.requiresPercent && !value.hasUnit$1("%"))
  97382. A.throwExpression(A.SassScriptException$0("Expected " + value.toString$0(0) + ' to have unit "%".', _0_0.name));
  97383. _0_8 = null;
  97384. t2 = false;
  97385. if (t1) {
  97386. _0_5 = _0_0.lowerClamped;
  97387. _0_8_isSet = !_0_5;
  97388. if (_0_8_isSet) {
  97389. _0_8 = _0_0.upperClamped;
  97390. t2 = !_0_8;
  97391. }
  97392. } else {
  97393. _0_5 = null;
  97394. _0_8_isSet = false;
  97395. }
  97396. if (t2) {
  97397. t1 = A._percentageOrUnitless0(value, _0_0.max, _0_0.name);
  97398. break $label0$0;
  97399. }
  97400. if (t1 && !this.clamp) {
  97401. t1 = A._percentageOrUnitless0(value, _0_0.max, _0_0.name);
  97402. break $label0$0;
  97403. }
  97404. if (t1) {
  97405. lowerClamped = _0_5;
  97406. upperClamped = _0_8_isSet ? _0_8 : _0_0.upperClamped;
  97407. t1 = _0_0.max;
  97408. t2 = A._percentageOrUnitless0(value, t1, _0_0.name);
  97409. t3 = lowerClamped ? _0_0.min : -1 / 0;
  97410. t1 = upperClamped ? t1 : 1 / 0;
  97411. t1 = isNaN(t2) ? t3 : B.JSNumber_methods.clamp$2(t2, t3, t1);
  97412. break $label0$0;
  97413. }
  97414. t1 = B.JSNumber_methods.$mod(value.coerceValueToUnit$2("deg", _0_0.name), 360);
  97415. break $label0$0;
  97416. }
  97417. return t1;
  97418. },
  97419. $signature: 86
  97420. };
  97421. A._channelFunction_closure0.prototype = {
  97422. call$1($arguments) {
  97423. var _this = this,
  97424. result = A.SassNumber_SassNumber0(_this.getter.call$1(J.get$first$ax($arguments).assertColor$1("color")), _this.unit),
  97425. t1 = _this.global ? "" : "color.",
  97426. t2 = _this.name;
  97427. A.warnForDeprecation0(t1 + t2 + string$.x28__is_d + t2 + '", $space: ' + _this.space.toString$0(0) + string$.x29x0a_Mor_, B.Deprecation_fdF);
  97428. return result;
  97429. },
  97430. $signature: 23
  97431. };
  97432. A._suggestScaleAndAdjust_closure0.prototype = {
  97433. call$1(channel) {
  97434. return channel.name === this.channelName;
  97435. },
  97436. $signature: 76
  97437. };
  97438. A.colorClass_closure.prototype = {
  97439. call$0() {
  97440. var t1 = type$.JSClass,
  97441. jsClass = t1._as(A.allowInteropCaptureThisNamed("sass.SassColor", new A.colorClass__closure())),
  97442. t2 = type$.String,
  97443. t3 = type$.Function;
  97444. 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));
  97445. 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));
  97446. A.JSClassExtension_injectSuperclass(t1._as(A.SassColor_SassColor$rgbInternal0(0, 0, 0, 1, null).constructor), jsClass);
  97447. return jsClass;
  97448. },
  97449. $signature: 15
  97450. };
  97451. A.colorClass__closure.prototype = {
  97452. call$2($self, options) {
  97453. var t1, t2, t3, t4, _null = null;
  97454. switch (A._constructionSpace(options)) {
  97455. case B.RgbColorSpace_i0P0:
  97456. A._checkNullAlphaDeprecation(options);
  97457. t1 = J.getInterceptor$x(options);
  97458. t2 = t1.get$red(options);
  97459. t3 = t1.get$green(options);
  97460. t4 = t1.get$blue(options);
  97461. t1 = t1.get$alpha(options);
  97462. return A.SassColor_SassColor$rgbInternal0(t2, t3, t4, A._asBool($.$get$_isUndefined().call$1(t1)) ? 1 : t1, _null);
  97463. case B.HslColorSpace_JQ20:
  97464. A._checkNullAlphaDeprecation(options);
  97465. t1 = J.getInterceptor$x(options);
  97466. t2 = t1.get$hue(options);
  97467. t3 = t1.get$saturation(options);
  97468. t4 = t1.get$lightness(options);
  97469. t1 = t1.get$alpha(options);
  97470. return A.SassColor_SassColor$hsl0(t2, t3, t4, A._asBool($.$get$_isUndefined().call$1(t1)) ? 1 : t1);
  97471. case B.HwbColorSpace_guQ0:
  97472. A._checkNullAlphaDeprecation(options);
  97473. t1 = J.getInterceptor$x(options);
  97474. t2 = t1.get$hue(options);
  97475. t3 = t1.get$whiteness(options);
  97476. t4 = t1.get$blackness(options);
  97477. t1 = t1.get$alpha(options);
  97478. return A.SassColor_SassColor$hwb0(t2, t3, t4, A._asBool($.$get$_isUndefined().call$1(t1)) ? 1 : t1);
  97479. case B.LabColorSpace_2nT0:
  97480. t1 = J.getInterceptor$x(options);
  97481. t2 = t1.get$lightness(options);
  97482. t3 = t1.get$a(options);
  97483. t4 = t1.get$b(options);
  97484. t1 = t1.get$alpha(options);
  97485. return A.SassColor$_forSpace0(B.LabColorSpace_2nT0, t2, t3, t4, A._asBool($.$get$_isUndefined().call$1(t1)) ? 1 : t1, _null);
  97486. case B.OklabColorSpace_5400:
  97487. t1 = J.getInterceptor$x(options);
  97488. t2 = t1.get$lightness(options);
  97489. t3 = t1.get$a(options);
  97490. t4 = t1.get$b(options);
  97491. t1 = t1.get$alpha(options);
  97492. return A.SassColor$_forSpace0(B.OklabColorSpace_5400, t2, t3, t4, A._asBool($.$get$_isUndefined().call$1(t1)) ? 1 : t1, _null);
  97493. case B.LchColorSpace_Bpv0:
  97494. t1 = J.getInterceptor$x(options);
  97495. t2 = t1.get$lightness(options);
  97496. t3 = t1.get$chroma(options);
  97497. t4 = t1.get$hue(options);
  97498. t1 = t1.get$alpha(options);
  97499. return A.SassColor_SassColor$forSpaceInternal0(B.LchColorSpace_Bpv0, t2, t3, t4, A._asBool($.$get$_isUndefined().call$1(t1)) ? 1 : t1);
  97500. case B.OklchColorSpace_9Gj0:
  97501. t1 = J.getInterceptor$x(options);
  97502. t2 = t1.get$lightness(options);
  97503. t3 = t1.get$chroma(options);
  97504. t4 = t1.get$hue(options);
  97505. t1 = t1.get$alpha(options);
  97506. return A.SassColor_SassColor$forSpaceInternal0(B.OklchColorSpace_9Gj0, t2, t3, t4, A._asBool($.$get$_isUndefined().call$1(t1)) ? 1 : t1);
  97507. case B.SrgbColorSpace_thf0:
  97508. t1 = J.getInterceptor$x(options);
  97509. t2 = t1.get$red(options);
  97510. t3 = t1.get$green(options);
  97511. t4 = t1.get$blue(options);
  97512. t1 = t1.get$alpha(options);
  97513. return A.SassColor$_forSpace0(B.SrgbColorSpace_thf0, t2, t3, t4, A._asBool($.$get$_isUndefined().call$1(t1)) ? 1 : t1, _null);
  97514. case B.SrgbLinearColorSpace_kUj0:
  97515. t1 = J.getInterceptor$x(options);
  97516. t2 = t1.get$red(options);
  97517. t3 = t1.get$green(options);
  97518. t4 = t1.get$blue(options);
  97519. t1 = t1.get$alpha(options);
  97520. return A.SassColor$_forSpace0(B.SrgbLinearColorSpace_kUj0, t2, t3, t4, A._asBool($.$get$_isUndefined().call$1(t1)) ? 1 : t1, _null);
  97521. case B.DisplayP3ColorSpace_MmT0:
  97522. t1 = J.getInterceptor$x(options);
  97523. t2 = t1.get$red(options);
  97524. t3 = t1.get$green(options);
  97525. t4 = t1.get$blue(options);
  97526. t1 = t1.get$alpha(options);
  97527. return A.SassColor$_forSpace0(B.DisplayP3ColorSpace_MmT0, t2, t3, t4, A._asBool($.$get$_isUndefined().call$1(t1)) ? 1 : t1, _null);
  97528. case B.A98RgbColorSpace_lf20:
  97529. t1 = J.getInterceptor$x(options);
  97530. t2 = t1.get$red(options);
  97531. t3 = t1.get$green(options);
  97532. t4 = t1.get$blue(options);
  97533. t1 = t1.get$alpha(options);
  97534. return A.SassColor$_forSpace0(B.A98RgbColorSpace_lf20, t2, t3, t4, A._asBool($.$get$_isUndefined().call$1(t1)) ? 1 : t1, _null);
  97535. case B.ProphotoRgbColorSpace_BDz0:
  97536. t1 = J.getInterceptor$x(options);
  97537. t2 = t1.get$red(options);
  97538. t3 = t1.get$green(options);
  97539. t4 = t1.get$blue(options);
  97540. t1 = t1.get$alpha(options);
  97541. return A.SassColor$_forSpace0(B.ProphotoRgbColorSpace_BDz0, t2, t3, t4, A._asBool($.$get$_isUndefined().call$1(t1)) ? 1 : t1, _null);
  97542. case B.Rec2020ColorSpace_6oo0:
  97543. t1 = J.getInterceptor$x(options);
  97544. t2 = t1.get$red(options);
  97545. t3 = t1.get$green(options);
  97546. t4 = t1.get$blue(options);
  97547. t1 = t1.get$alpha(options);
  97548. return A.SassColor$_forSpace0(B.Rec2020ColorSpace_6oo0, t2, t3, t4, A._asBool($.$get$_isUndefined().call$1(t1)) ? 1 : t1, _null);
  97549. case B.XyzD50ColorSpace_2OB0:
  97550. t1 = J.getInterceptor$x(options);
  97551. t2 = t1.get$x(options);
  97552. t3 = t1.get$y(options);
  97553. t4 = t1.get$z(options);
  97554. t1 = t1.get$alpha(options);
  97555. return A.SassColor$_forSpace0(B.XyzD50ColorSpace_2OB0, t2, t3, t4, A._asBool($.$get$_isUndefined().call$1(t1)) ? 1 : t1, _null);
  97556. case B.XyzD65ColorSpace_WiJ0:
  97557. t1 = J.getInterceptor$x(options);
  97558. t2 = t1.get$x(options);
  97559. t3 = t1.get$y(options);
  97560. t4 = t1.get$z(options);
  97561. t1 = t1.get$alpha(options);
  97562. return A.SassColor$_forSpace0(B.XyzD65ColorSpace_WiJ0, t2, t3, t4, A._asBool($.$get$_isUndefined().call$1(t1)) ? 1 : t1, _null);
  97563. default:
  97564. throw A.wrapException("Unreachable");
  97565. }
  97566. },
  97567. $signature: 399
  97568. };
  97569. A.colorClass__closure0.prototype = {
  97570. call$2($self, other) {
  97571. return $self.$eq(0, other);
  97572. },
  97573. $signature: 400
  97574. };
  97575. A.colorClass__closure1.prototype = {
  97576. call$1($self) {
  97577. return $self.get$hashCode(0);
  97578. },
  97579. $signature: 39
  97580. };
  97581. A.colorClass__closure2.prototype = {
  97582. call$2($self, space) {
  97583. return A._toSpace($self, space);
  97584. },
  97585. $signature: 401
  97586. };
  97587. A.colorClass__closure3.prototype = {
  97588. call$2($self, space) {
  97589. return A._toSpace($self, space).get$isInGamut();
  97590. },
  97591. call$1($self) {
  97592. return this.call$2($self, null);
  97593. },
  97594. "call*": "call$2",
  97595. $requiredArgCount: 1,
  97596. $defaultValues() {
  97597. return [null];
  97598. },
  97599. $signature: 402
  97600. };
  97601. A.colorClass__closure4.prototype = {
  97602. call$2($self, options) {
  97603. var t1 = J.getInterceptor$x(options),
  97604. t2 = A._toSpace($self, t1.get$space(options));
  97605. t1 = A.GamutMapMethod_GamutMapMethod$fromName0(t1.get$method(options));
  97606. t1 = t2.get$isInGamut() ? t2 : t1.map$1(0, t2);
  97607. return t1.toSpace$1($self._color0$_space);
  97608. },
  97609. $signature: 403
  97610. };
  97611. A.colorClass__closure5.prototype = {
  97612. call$3($self, channel, options) {
  97613. return A._toSpace($self, options == null ? null : J.get$space$x(options)).channel$1(0, channel);
  97614. },
  97615. call$2($self, channel) {
  97616. return this.call$3($self, channel, null);
  97617. },
  97618. "call*": "call$3",
  97619. $requiredArgCount: 2,
  97620. $defaultValues() {
  97621. return [null];
  97622. },
  97623. $signature: 404
  97624. };
  97625. A.colorClass__closure6.prototype = {
  97626. call$2($self, channel) {
  97627. return $self.isChannelMissing$1(channel);
  97628. },
  97629. $signature: 405
  97630. };
  97631. A.colorClass__closure7.prototype = {
  97632. call$3($self, channel, options) {
  97633. return A._toSpace($self, options == null ? null : J.get$space$x(options)).isChannelPowerless$1(channel);
  97634. },
  97635. call$2($self, channel) {
  97636. return this.call$3($self, channel, null);
  97637. },
  97638. "call*": "call$3",
  97639. $requiredArgCount: 2,
  97640. $defaultValues() {
  97641. return [null];
  97642. },
  97643. $signature: 406
  97644. };
  97645. A.colorClass__closure8.prototype = {
  97646. call$2($self, options) {
  97647. var t3, space, t4, t5, t6, color, changedValue, _0_2, changedColor, _0_4, _0_6, _null = null,
  97648. _s9_ = "whiteness",
  97649. _s9_0 = "blackness",
  97650. _s3_ = "hue",
  97651. _s10_ = "saturation",
  97652. _s9_1 = "lightness",
  97653. _s3_0 = "red", _s5_ = "green", _s4_ = "blue", _s5_0 = "alpha",
  97654. _s106_ = string$.Passin_,
  97655. _s105_ = "Passing `hue: null` without setting `space` is deprecated.\nMore info: https://sass-lang.com/d/color-4-api",
  97656. t1 = J.getInterceptor$x(options),
  97657. t2 = t1.get$space(options) == null,
  97658. spaceSetExplicitly = !t2;
  97659. if (spaceSetExplicitly) {
  97660. t3 = t1.get$space(options);
  97661. t3.toString;
  97662. space = A.ColorSpace_fromName0(t3, _null);
  97663. } else
  97664. space = $self._color0$_space;
  97665. t3 = $self._color0$_space;
  97666. if (t3.get$isLegacyInternal() && t2) {
  97667. if ("whiteness" in options || "blackness" in options)
  97668. space = B.HwbColorSpace_guQ0;
  97669. else if ("hue" in options && t3 === B.HwbColorSpace_guQ0)
  97670. space = B.HwbColorSpace_guQ0;
  97671. else if ("hue" in options || "saturation" in options || "lightness" in options)
  97672. space = B.HslColorSpace_JQ20;
  97673. else if ("red" in options || "green" in options || "blue" in options)
  97674. space = B.RgbColorSpace_i0P0;
  97675. if (space !== t3)
  97676. 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);
  97677. }
  97678. for (t2 = J.get$iterator$ax(self.Object.keys(options)), t4 = space._space$_channels, t5 = type$.JSArray_String; t2.moveNext$0();) {
  97679. t6 = t2.get$current(t2);
  97680. if (B.JSArray_methods.contains$1(A._setArrayType(["alpha", "space"], t5), t6))
  97681. continue;
  97682. if (!B.JSArray_methods.any$1(t4, new A.colorClass___closure(t6)))
  97683. A.jsThrow(new self.Error("`" + t6 + "` is not a valid channel in `" + space.toString$0(0) + "`."));
  97684. }
  97685. color = $self.toSpace$1(space);
  97686. changedValue = new A.colorClass__closure_changedValue(color, options);
  97687. $label0$2: {
  97688. _0_2 = B.HslColorSpace_JQ20 === space;
  97689. if (_0_2 && spaceSetExplicitly) {
  97690. changedColor = A.SassColor_SassColor$hsl0(changedValue.call$1(_s3_), changedValue.call$1(_s10_), changedValue.call$1(_s9_1), changedValue.call$1(_s5_0));
  97691. break $label0$2;
  97692. }
  97693. if (_0_2) {
  97694. t2 = t1.get$hue(options);
  97695. t4 = $.$get$_isNull();
  97696. if (A._asBool(t4.call$1(t2)))
  97697. A.warnForDeprecationFromApi(_s105_, B.Deprecation_FD1);
  97698. else if (A._asBool(t4.call$1(t1.get$saturation(options))))
  97699. A.warnForDeprecationFromApi("Passing `saturation: null` without setting `space` is deprecated.\nMore info: https://sass-lang.com/d/color-4-api", B.Deprecation_FD1);
  97700. else if (A._asBool(t4.call$1(t1.get$lightness(options))))
  97701. A.warnForDeprecationFromApi("Passing `lightness: null` without setting `space` is deprecated.\nMore info: https://sass-lang.com/d/color-4-api", B.Deprecation_FD1);
  97702. if (A._asBool(t4.call$1(t1.get$alpha(options))))
  97703. A.warnForDeprecationFromApi(_s106_, B.Deprecation_l0m);
  97704. t2 = t1.get$hue(options);
  97705. if (t2 == null)
  97706. t2 = color.channel$1(0, _s3_);
  97707. t4 = t1.get$saturation(options);
  97708. if (t4 == null)
  97709. t4 = color.channel$1(0, _s10_);
  97710. t5 = t1.get$lightness(options);
  97711. if (t5 == null)
  97712. t5 = color.channel$1(0, _s9_1);
  97713. t1 = t1.get$alpha(options);
  97714. changedColor = A.SassColor_SassColor$hsl0(t2, t4, t5, t1 == null ? color.channel$1(0, _s5_0) : t1);
  97715. break $label0$2;
  97716. }
  97717. _0_4 = B.HwbColorSpace_guQ0 === space;
  97718. if (_0_4 && spaceSetExplicitly) {
  97719. changedColor = A.SassColor_SassColor$hwb0(changedValue.call$1(_s3_), changedValue.call$1(_s9_), changedValue.call$1(_s9_0), changedValue.call$1(_s5_0));
  97720. break $label0$2;
  97721. }
  97722. if (_0_4) {
  97723. t2 = t1.get$hue(options);
  97724. t4 = $.$get$_isNull();
  97725. if (A._asBool(t4.call$1(t2)))
  97726. A.warnForDeprecationFromApi(_s105_, B.Deprecation_FD1);
  97727. else if (A._asBool(t4.call$1(t1.get$whiteness(options))))
  97728. A.warnForDeprecationFromApi("Passing `whiteness: null` without setting `space` is deprecated.\nMore info: https://sass-lang.com/d/color-4-api", B.Deprecation_FD1);
  97729. else if (A._asBool(t4.call$1(t1.get$blackness(options))))
  97730. A.warnForDeprecationFromApi("Passing `blackness: null` without setting `space` is deprecated.\nMore info: https://sass-lang.com/d/color-4-api", B.Deprecation_FD1);
  97731. if (A._asBool(t4.call$1(t1.get$alpha(options))))
  97732. A.warnForDeprecationFromApi(_s106_, B.Deprecation_l0m);
  97733. t2 = t1.get$hue(options);
  97734. if (t2 == null)
  97735. t2 = color.channel$1(0, _s3_);
  97736. t4 = t1.get$whiteness(options);
  97737. if (t4 == null)
  97738. t4 = color.channel$1(0, _s9_);
  97739. t5 = t1.get$blackness(options);
  97740. if (t5 == null)
  97741. t5 = color.channel$1(0, _s9_0);
  97742. t1 = t1.get$alpha(options);
  97743. changedColor = A.SassColor_SassColor$hwb0(t2, t4, t5, t1 == null ? color.channel$1(0, _s5_0) : t1);
  97744. break $label0$2;
  97745. }
  97746. _0_6 = B.RgbColorSpace_i0P0 === space;
  97747. if (_0_6 && spaceSetExplicitly) {
  97748. changedColor = A.SassColor_SassColor$rgbInternal0(changedValue.call$1(_s3_0), changedValue.call$1(_s5_), changedValue.call$1(_s4_), changedValue.call$1(_s5_0), _null);
  97749. break $label0$2;
  97750. }
  97751. if (_0_6) {
  97752. t2 = t1.get$red(options);
  97753. t4 = $.$get$_isNull();
  97754. if (A._asBool(t4.call$1(t2)))
  97755. A.warnForDeprecationFromApi("Passing `red: null` without setting `space` is deprecated.\nMore info: https://sass-lang.com/d/color-4-api", B.Deprecation_FD1);
  97756. else if (A._asBool(t4.call$1(t1.get$green(options))))
  97757. A.warnForDeprecationFromApi("Passing `green: null` without setting `space` is deprecated.\nMore info: https://sass-lang.com/d/color-4-api", B.Deprecation_FD1);
  97758. else if (A._asBool(t4.call$1(t1.get$blue(options))))
  97759. A.warnForDeprecationFromApi("Passing `blue: null` without setting `space` is deprecated.\nMore info: https://sass-lang.com/d/color-4-api", B.Deprecation_FD1);
  97760. if (A._asBool(t4.call$1(t1.get$alpha(options))))
  97761. A.warnForDeprecationFromApi(_s106_, B.Deprecation_l0m);
  97762. t2 = t1.get$red(options);
  97763. if (t2 == null)
  97764. t2 = color.channel$1(0, _s3_0);
  97765. t4 = t1.get$green(options);
  97766. if (t4 == null)
  97767. t4 = color.channel$1(0, _s5_);
  97768. t5 = t1.get$blue(options);
  97769. if (t5 == null)
  97770. t5 = color.channel$1(0, _s4_);
  97771. t1 = t1.get$alpha(options);
  97772. changedColor = A.SassColor_SassColor$rgbInternal0(t2, t4, t5, t1 == null ? color.channel$1(0, _s5_0) : t1, _null);
  97773. break $label0$2;
  97774. }
  97775. if (B.LabColorSpace_2nT0 === space) {
  97776. 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);
  97777. break $label0$2;
  97778. }
  97779. if (B.OklabColorSpace_5400 === space) {
  97780. 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);
  97781. break $label0$2;
  97782. }
  97783. if (B.LchColorSpace_Bpv0 === space) {
  97784. 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));
  97785. break $label0$2;
  97786. }
  97787. if (B.OklchColorSpace_9Gj0 === space) {
  97788. 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));
  97789. break $label0$2;
  97790. }
  97791. if (B.A98RgbColorSpace_lf20 === space) {
  97792. 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);
  97793. break $label0$2;
  97794. }
  97795. if (B.DisplayP3ColorSpace_MmT0 === space) {
  97796. 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);
  97797. break $label0$2;
  97798. }
  97799. if (B.ProphotoRgbColorSpace_BDz0 === space) {
  97800. 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);
  97801. break $label0$2;
  97802. }
  97803. if (B.Rec2020ColorSpace_6oo0 === space) {
  97804. 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);
  97805. break $label0$2;
  97806. }
  97807. if (B.SrgbColorSpace_thf0 === space) {
  97808. 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);
  97809. break $label0$2;
  97810. }
  97811. if (B.SrgbLinearColorSpace_kUj0 === space) {
  97812. 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);
  97813. break $label0$2;
  97814. }
  97815. if (B.XyzD50ColorSpace_2OB0 === space) {
  97816. changedColor = A.SassColor_SassColor$forSpaceInternal0(space, changedValue.call$1("x"), changedValue.call$1("y"), changedValue.call$1("z"), changedValue.call$1(_s5_0));
  97817. break $label0$2;
  97818. }
  97819. if (B.XyzD65ColorSpace_WiJ0 === space) {
  97820. changedColor = A.SassColor_SassColor$forSpaceInternal0(space, changedValue.call$1("x"), changedValue.call$1("y"), changedValue.call$1("z"), changedValue.call$1(_s5_0));
  97821. break $label0$2;
  97822. }
  97823. throw A.wrapException("No space set");
  97824. }
  97825. return changedColor.toSpace$1(t3);
  97826. },
  97827. $signature: 407
  97828. };
  97829. A.colorClass___closure.prototype = {
  97830. call$1(channel) {
  97831. return channel.name === this.key;
  97832. },
  97833. $signature: 76
  97834. };
  97835. A.colorClass__closure_changedValue.prototype = {
  97836. call$1(channel) {
  97837. var t2,
  97838. t1 = this.options;
  97839. if (channel in t1) {
  97840. t2 = t1[channel];
  97841. t2 = !A._asBool($.$get$_isUndefined().call$1(t2));
  97842. } else
  97843. t2 = false;
  97844. return t2 ? t1[channel] : this.color.channel$1(0, channel);
  97845. },
  97846. $signature: 408
  97847. };
  97848. A.colorClass__closure9.prototype = {
  97849. call$3($self, color2, options) {
  97850. var interpolationMethod, t2,
  97851. t1 = options == null,
  97852. _1_0 = t1 ? null : J.get$method$x(options);
  97853. if (_1_0 != null)
  97854. interpolationMethod = A.InterpolationMethod$0($self._color0$_space, A.EnumByName_byName(B.List_nm2, _1_0));
  97855. else {
  97856. t2 = $self._color0$_space;
  97857. interpolationMethod = !t2.get$isPolarInternal() ? A.InterpolationMethod$0(t2, null) : A.InterpolationMethod$0(t2, B.HueInterpolationMethod_00);
  97858. }
  97859. return $self.interpolate$3$weight(color2, interpolationMethod, t1 ? null : J.get$weight$x(options));
  97860. },
  97861. call$2($self, color2) {
  97862. return this.call$3($self, color2, null);
  97863. },
  97864. "call*": "call$3",
  97865. $requiredArgCount: 2,
  97866. $defaultValues() {
  97867. return [null];
  97868. },
  97869. $signature: 409
  97870. };
  97871. A.colorClass__closure10.prototype = {
  97872. call$1($self) {
  97873. A.warnForDeprecationFromApi("red is deprecated, use `channel` instead.\nMore info: https://sass-lang.com/d/color-4-api", B.Deprecation_FD1);
  97874. return B.JSNumber_methods.round$0($self._color0$_legacyChannel$2(B.RgbColorSpace_i0P0, "red"));
  97875. },
  97876. $signature: 39
  97877. };
  97878. A.colorClass__closure11.prototype = {
  97879. call$1($self) {
  97880. A.warnForDeprecationFromApi("green is deprecated, use `channel` instead.\nMore info: https://sass-lang.com/d/color-4-api", B.Deprecation_FD1);
  97881. return B.JSNumber_methods.round$0($self._color0$_legacyChannel$2(B.RgbColorSpace_i0P0, "green"));
  97882. },
  97883. $signature: 39
  97884. };
  97885. A.colorClass__closure12.prototype = {
  97886. call$1($self) {
  97887. A.warnForDeprecationFromApi("blue is deprecated, use `channel` instead.\nMore info: https://sass-lang.com/d/color-4-api", B.Deprecation_FD1);
  97888. return B.JSNumber_methods.round$0($self._color0$_legacyChannel$2(B.RgbColorSpace_i0P0, "blue"));
  97889. },
  97890. $signature: 39
  97891. };
  97892. A.colorClass__closure13.prototype = {
  97893. call$1($self) {
  97894. A.warnForDeprecationFromApi("hue is deprecated, use `channel` instead.\nMore info: https://sass-lang.com/d/color-4-api", B.Deprecation_FD1);
  97895. return $self._color0$_legacyChannel$2(B.HslColorSpace_JQ20, "hue");
  97896. },
  97897. $signature: 31
  97898. };
  97899. A.colorClass__closure14.prototype = {
  97900. call$1($self) {
  97901. A.warnForDeprecationFromApi("saturation is deprecated, use `channel` instead.\nMore info: https://sass-lang.com/d/color-4-api", B.Deprecation_FD1);
  97902. return $self._color0$_legacyChannel$2(B.HslColorSpace_JQ20, "saturation");
  97903. },
  97904. $signature: 31
  97905. };
  97906. A.colorClass__closure15.prototype = {
  97907. call$1($self) {
  97908. A.warnForDeprecationFromApi("lightness is deprecated, use `channel` instead.\nMore info: https://sass-lang.com/d/color-4-api", B.Deprecation_FD1);
  97909. return $self._color0$_legacyChannel$2(B.HslColorSpace_JQ20, "lightness");
  97910. },
  97911. $signature: 31
  97912. };
  97913. A.colorClass__closure16.prototype = {
  97914. call$1($self) {
  97915. A.warnForDeprecationFromApi("whiteness is deprecated, use `channel` instead.\nMore info: https://sass-lang.com/d/color-4-api", B.Deprecation_FD1);
  97916. return $self._color0$_legacyChannel$2(B.HwbColorSpace_guQ0, "whiteness");
  97917. },
  97918. $signature: 31
  97919. };
  97920. A.colorClass__closure17.prototype = {
  97921. call$1($self) {
  97922. A.warnForDeprecationFromApi("blackness is deprecated, use `channel` instead.\nMore info: https://sass-lang.com/d/color-4-api", B.Deprecation_FD1);
  97923. return $self._color0$_legacyChannel$2(B.HwbColorSpace_guQ0, "blackness");
  97924. },
  97925. $signature: 31
  97926. };
  97927. A.colorClass__closure18.prototype = {
  97928. call$1($self) {
  97929. var t1 = $self.alphaOrNull;
  97930. return t1 == null ? 0 : t1;
  97931. },
  97932. $signature: 31
  97933. };
  97934. A.colorClass__closure19.prototype = {
  97935. call$1($self) {
  97936. return $self._color0$_space.name;
  97937. },
  97938. $signature: 410
  97939. };
  97940. A.colorClass__closure20.prototype = {
  97941. call$1($self) {
  97942. return $self._color0$_space.get$isLegacyInternal();
  97943. },
  97944. $signature: 411
  97945. };
  97946. A.colorClass__closure21.prototype = {
  97947. call$1($self) {
  97948. return new self.immutable.List($self.get$channelsOrNull());
  97949. },
  97950. $signature: 228
  97951. };
  97952. A.colorClass__closure22.prototype = {
  97953. call$1($self) {
  97954. return new self.immutable.List($self.get$channels());
  97955. },
  97956. $signature: 228
  97957. };
  97958. A._Channels.prototype = {};
  97959. A._ConstructionOptions.prototype = {};
  97960. A._ChannelOptions.prototype = {};
  97961. A._ToGamutOptions.prototype = {};
  97962. A._InterpolationOptions.prototype = {};
  97963. A._NodeSassColor.prototype = {};
  97964. A.legacyColorClass_closure.prototype = {
  97965. call$6(thisArg, redOrArgb, green, blue, alpha, dartValue) {
  97966. var red, t1, t2, t3, t4;
  97967. if (dartValue != null) {
  97968. J.set$dartValue$x(thisArg, dartValue);
  97969. return;
  97970. }
  97971. if (green == null || blue == null) {
  97972. A._asInt(redOrArgb);
  97973. alpha = B.JSInt_methods._shrOtherPositive$1(redOrArgb, 24) / 255;
  97974. red = B.JSInt_methods.$mod(B.JSInt_methods._shrOtherPositive$1(redOrArgb, 16), 256);
  97975. green = B.JSInt_methods.$mod(B.JSInt_methods._shrOtherPositive$1(redOrArgb, 8), 256);
  97976. blue = B.JSInt_methods.$mod(redOrArgb, 256);
  97977. } else {
  97978. redOrArgb.toString;
  97979. red = redOrArgb;
  97980. }
  97981. t1 = A.fuzzyRound0(isNaN(red) ? 0 : B.JSNumber_methods.clamp$2(red, 0, 255));
  97982. t2 = A.fuzzyRound0(isNaN(green) ? 0 : B.JSNumber_methods.clamp$2(green, 0, 255));
  97983. t3 = A.fuzzyRound0(isNaN(blue) ? 0 : B.JSNumber_methods.clamp$2(blue, 0, 255));
  97984. t4 = A.NullableExtension_andThen0(alpha, new A.legacyColorClass__closure());
  97985. J.set$dartValue$x(thisArg, A.SassColor_SassColor$rgbInternal0(t1, t2, t3, t4 == null ? 1 : t4, null));
  97986. },
  97987. call$2(thisArg, redOrArgb) {
  97988. var _null = null;
  97989. return this.call$6(thisArg, redOrArgb, _null, _null, _null, _null);
  97990. },
  97991. call$3(thisArg, redOrArgb, green) {
  97992. return this.call$6(thisArg, redOrArgb, green, null, null, null);
  97993. },
  97994. call$4(thisArg, redOrArgb, green, blue) {
  97995. return this.call$6(thisArg, redOrArgb, green, blue, null, null);
  97996. },
  97997. call$5(thisArg, redOrArgb, green, blue, alpha) {
  97998. return this.call$6(thisArg, redOrArgb, green, blue, alpha, null);
  97999. },
  98000. "call*": "call$6",
  98001. $requiredArgCount: 2,
  98002. $defaultValues() {
  98003. return [null, null, null, null];
  98004. },
  98005. $signature: 413
  98006. };
  98007. A.legacyColorClass__closure.prototype = {
  98008. call$1(alpha) {
  98009. return isNaN(alpha) ? 0 : B.JSNumber_methods.clamp$2(alpha, 0, 1);
  98010. },
  98011. $signature: 414
  98012. };
  98013. A.legacyColorClass_closure0.prototype = {
  98014. call$1(thisArg) {
  98015. return B.JSNumber_methods.round$0(J.get$dartValue$x(thisArg)._color0$_legacyChannel$2(B.RgbColorSpace_i0P0, "red"));
  98016. },
  98017. $signature: 124
  98018. };
  98019. A.legacyColorClass_closure1.prototype = {
  98020. call$1(thisArg) {
  98021. return B.JSNumber_methods.round$0(J.get$dartValue$x(thisArg)._color0$_legacyChannel$2(B.RgbColorSpace_i0P0, "green"));
  98022. },
  98023. $signature: 124
  98024. };
  98025. A.legacyColorClass_closure2.prototype = {
  98026. call$1(thisArg) {
  98027. return B.JSNumber_methods.round$0(J.get$dartValue$x(thisArg)._color0$_legacyChannel$2(B.RgbColorSpace_i0P0, "blue"));
  98028. },
  98029. $signature: 124
  98030. };
  98031. A.legacyColorClass_closure3.prototype = {
  98032. call$1(thisArg) {
  98033. var t1 = J.get$dartValue$x(thisArg).alphaOrNull;
  98034. return t1 == null ? 0 : t1;
  98035. },
  98036. $signature: 416
  98037. };
  98038. A.legacyColorClass_closure4.prototype = {
  98039. call$2(thisArg, value) {
  98040. var t1 = J.getInterceptor$x(thisArg),
  98041. t2 = t1.get$dartValue(thisArg);
  98042. t1.set$dartValue(thisArg, t2.changeRgb$1$red(A.fuzzyRound0(isNaN(value) ? 0 : B.JSNumber_methods.clamp$2(value, 0, 255))));
  98043. },
  98044. $signature: 80
  98045. };
  98046. A.legacyColorClass_closure5.prototype = {
  98047. call$2(thisArg, value) {
  98048. var t1 = J.getInterceptor$x(thisArg),
  98049. t2 = t1.get$dartValue(thisArg);
  98050. t1.set$dartValue(thisArg, t2.changeRgb$1$green(A.fuzzyRound0(isNaN(value) ? 0 : B.JSNumber_methods.clamp$2(value, 0, 255))));
  98051. },
  98052. $signature: 80
  98053. };
  98054. A.legacyColorClass_closure6.prototype = {
  98055. call$2(thisArg, value) {
  98056. var t1 = J.getInterceptor$x(thisArg),
  98057. t2 = t1.get$dartValue(thisArg);
  98058. t1.set$dartValue(thisArg, t2.changeRgb$1$blue(A.fuzzyRound0(isNaN(value) ? 0 : B.JSNumber_methods.clamp$2(value, 0, 255))));
  98059. },
  98060. $signature: 80
  98061. };
  98062. A.legacyColorClass_closure7.prototype = {
  98063. call$2(thisArg, value) {
  98064. var t1 = J.getInterceptor$x(thisArg),
  98065. t2 = t1.get$dartValue(thisArg);
  98066. t1.set$dartValue(thisArg, t2.changeRgb$1$alpha(isNaN(value) ? 0 : B.JSNumber_methods.clamp$2(value, 0, 1)));
  98067. },
  98068. $signature: 80
  98069. };
  98070. A.SassColor0.prototype = {
  98071. get$channels() {
  98072. var t2, t3,
  98073. t1 = this.channel0OrNull;
  98074. if (t1 == null)
  98075. t1 = 0;
  98076. t2 = this.channel1OrNull;
  98077. if (t2 == null)
  98078. t2 = 0;
  98079. t3 = this.channel2OrNull;
  98080. return A.List_List$unmodifiable([t1, t2, t3 == null ? 0 : t3], type$.double);
  98081. },
  98082. get$channelsOrNull() {
  98083. return A.List_List$unmodifiable([this.channel0OrNull, this.channel1OrNull, this.channel2OrNull], type$.nullable_double);
  98084. },
  98085. get$isChannel0Powerless() {
  98086. var t1, t2, _this = this,
  98087. _0_0 = _this._color0$_space;
  98088. $label0$0: {
  98089. if (B.HslColorSpace_JQ20 === _0_0) {
  98090. t1 = _this.channel1OrNull;
  98091. t1 = A.fuzzyEquals0(t1 == null ? 0 : t1, 0);
  98092. break $label0$0;
  98093. }
  98094. if (B.HwbColorSpace_guQ0 === _0_0) {
  98095. t1 = _this.channel1OrNull;
  98096. if (t1 == null)
  98097. t1 = 0;
  98098. t2 = _this.channel2OrNull;
  98099. t1 += t2 == null ? 0 : t2;
  98100. t1 = t1 > 100 || A.fuzzyEquals0(t1, 100);
  98101. break $label0$0;
  98102. }
  98103. t1 = false;
  98104. break $label0$0;
  98105. }
  98106. return t1;
  98107. },
  98108. get$isChannel2Powerless() {
  98109. var t1,
  98110. _0_0 = this._color0$_space;
  98111. $label0$0: {
  98112. if (B.LchColorSpace_Bpv0 === _0_0 || B.OklchColorSpace_9Gj0 === _0_0) {
  98113. t1 = this.channel1OrNull;
  98114. t1 = A.fuzzyEquals0(t1 == null ? 0 : t1, 0);
  98115. break $label0$0;
  98116. }
  98117. t1 = false;
  98118. break $label0$0;
  98119. }
  98120. return t1;
  98121. },
  98122. get$isInGamut() {
  98123. var t2, t3, _this = this,
  98124. t1 = _this._color0$_space;
  98125. if (!t1.get$isBoundedInternal())
  98126. return true;
  98127. t2 = _this.channel0OrNull;
  98128. if (t2 == null)
  98129. t2 = 0;
  98130. t1 = t1._space$_channels;
  98131. t3 = false;
  98132. if (_this._color0$_isChannelInGamut$2(t2, t1[0])) {
  98133. t2 = _this.channel1OrNull;
  98134. if (t2 == null)
  98135. t2 = 0;
  98136. if (_this._color0$_isChannelInGamut$2(t2, t1[1])) {
  98137. t2 = _this.channel2OrNull;
  98138. if (t2 == null)
  98139. t2 = 0;
  98140. t1 = _this._color0$_isChannelInGamut$2(t2, t1[2]);
  98141. } else
  98142. t1 = t3;
  98143. } else
  98144. t1 = t3;
  98145. return t1;
  98146. },
  98147. _color0$_isChannelInGamut$2(value, channel) {
  98148. var min, max, t1;
  98149. $label0$0: {
  98150. if (channel instanceof A.LinearChannel0) {
  98151. min = channel.min;
  98152. max = channel.max;
  98153. if (value < max || A.fuzzyEquals0(value, max))
  98154. t1 = value > min || A.fuzzyEquals0(value, min);
  98155. else
  98156. t1 = false;
  98157. break $label0$0;
  98158. }
  98159. t1 = true;
  98160. break $label0$0;
  98161. }
  98162. return t1;
  98163. },
  98164. accept$1$1(visitor) {
  98165. return visitor.visitColor$1(this);
  98166. },
  98167. accept$1(visitor) {
  98168. return this.accept$1$1(visitor, type$.dynamic);
  98169. },
  98170. assertColor$1($name) {
  98171. return this;
  98172. },
  98173. assertLegacy$1($name) {
  98174. if (this._color0$_space.get$isLegacyInternal())
  98175. return;
  98176. throw A.wrapException(A.SassScriptException$0("Expected " + this.toString$0(0) + string$.x20to_be, $name));
  98177. },
  98178. channel$1(_, channel) {
  98179. var t1, _this = this,
  98180. channels = _this._color0$_space._space$_channels;
  98181. if (channel === channels[0].name) {
  98182. t1 = _this.channel0OrNull;
  98183. return t1 == null ? 0 : t1;
  98184. }
  98185. if (channel === channels[1].name) {
  98186. t1 = _this.channel1OrNull;
  98187. return t1 == null ? 0 : t1;
  98188. }
  98189. if (channel === channels[2].name) {
  98190. t1 = _this.channel2OrNull;
  98191. return t1 == null ? 0 : t1;
  98192. }
  98193. if (channel === "alpha") {
  98194. t1 = _this.alphaOrNull;
  98195. return t1 == null ? 0 : t1;
  98196. }
  98197. throw A.wrapException(A.SassScriptException$0("Color " + _this.toString$0(0) + " doesn't have a channel named \"" + channel + '".', null));
  98198. },
  98199. isChannelMissing$3$channelName$colorName(channel, channelName, colorName) {
  98200. var _this = this,
  98201. channels = _this._color0$_space._space$_channels;
  98202. if (channel === channels[0].name)
  98203. return _this.channel0OrNull == null;
  98204. if (channel === channels[1].name)
  98205. return _this.channel1OrNull == null;
  98206. if (channel === channels[2].name)
  98207. return _this.channel2OrNull == null;
  98208. if (channel === "alpha")
  98209. return _this.alphaOrNull == null;
  98210. throw A.wrapException(A.SassScriptException$0("Color " + _this.toString$0(0) + " doesn't have a channel named \"" + channel + '".', channelName));
  98211. },
  98212. isChannelMissing$1(channel) {
  98213. return this.isChannelMissing$3$channelName$colorName(channel, null, null);
  98214. },
  98215. isChannelPowerless$3$channelName$colorName(channel, channelName, colorName) {
  98216. var _this = this,
  98217. channels = _this._color0$_space._space$_channels;
  98218. if (channel === channels[0].name)
  98219. return _this.get$isChannel0Powerless();
  98220. if (channel === channels[1].name)
  98221. return false;
  98222. if (channel === channels[2].name)
  98223. return _this.get$isChannel2Powerless();
  98224. if (channel === "alpha")
  98225. return false;
  98226. throw A.wrapException(A.SassScriptException$0("Color " + _this.toString$0(0) + " doesn't have a channel named \"" + channel + '".', channelName));
  98227. },
  98228. isChannelPowerless$1(channel) {
  98229. return this.isChannelPowerless$3$channelName$colorName(channel, null, null);
  98230. },
  98231. _color0$_legacyChannel$2(space, channel) {
  98232. if (!this._color0$_space.get$isLegacyInternal())
  98233. throw A.wrapException(A.SassScriptException$0("color." + channel + string$.x28__is_oc, null));
  98234. return this.toSpace$1(space).channel$1(0, channel);
  98235. },
  98236. toSpace$2$legacyMissing(space, legacyMissing) {
  98237. var t2, converted, t3, t4, _this = this,
  98238. t1 = _this._color0$_space;
  98239. if (t1 === space)
  98240. return _this;
  98241. t2 = _this.alphaOrNull;
  98242. if (t2 == null)
  98243. t2 = 0;
  98244. converted = t1.convert$5(space, _this.channel0OrNull, _this.channel1OrNull, _this.channel2OrNull, t2);
  98245. t1 = false;
  98246. if (!legacyMissing)
  98247. if (converted._color0$_space.get$isLegacyInternal())
  98248. t1 = converted.channel0OrNull == null || converted.channel1OrNull == null || converted.channel2OrNull == null || converted.alphaOrNull == null;
  98249. if (t1) {
  98250. t1 = converted.channel0OrNull;
  98251. if (t1 == null)
  98252. t1 = 0;
  98253. t2 = converted.channel1OrNull;
  98254. if (t2 == null)
  98255. t2 = 0;
  98256. t3 = converted.channel2OrNull;
  98257. if (t3 == null)
  98258. t3 = 0;
  98259. t4 = converted.alphaOrNull;
  98260. if (t4 == null)
  98261. t4 = 0;
  98262. t4 = A.SassColor_SassColor$forSpaceInternal0(converted._color0$_space, t1, t2, t3, t4);
  98263. t1 = t4;
  98264. } else
  98265. t1 = converted;
  98266. return t1;
  98267. },
  98268. toSpace$1(space) {
  98269. return this.toSpace$2$legacyMissing(space, true);
  98270. },
  98271. changeRgb$4$alpha$blue$green$red(alpha, blue, green, red) {
  98272. var t1, t2, t3, t4, _this = this, _null = null;
  98273. if (!_this._color0$_space.get$isLegacyInternal())
  98274. 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));
  98275. t1 = red == null ? _null : red;
  98276. if (t1 == null)
  98277. t1 = _this.channel$1(0, "red");
  98278. t2 = green == null ? _null : green;
  98279. if (t2 == null)
  98280. t2 = _this.channel$1(0, "green");
  98281. t3 = blue == null ? _null : blue;
  98282. if (t3 == null)
  98283. t3 = _this.channel$1(0, "blue");
  98284. t4 = alpha == null ? _null : alpha;
  98285. if (t4 == null) {
  98286. t4 = _this.alphaOrNull;
  98287. if (t4 == null)
  98288. t4 = 0;
  98289. }
  98290. return A.SassColor_SassColor$rgbInternal0(t1, t2, t3, t4, _null);
  98291. },
  98292. changeRgb$1$alpha(alpha) {
  98293. return this.changeRgb$4$alpha$blue$green$red(alpha, null, null, null);
  98294. },
  98295. changeRgb$1$blue(blue) {
  98296. return this.changeRgb$4$alpha$blue$green$red(null, blue, null, null);
  98297. },
  98298. changeRgb$1$green(green) {
  98299. return this.changeRgb$4$alpha$blue$green$red(null, null, green, null);
  98300. },
  98301. changeRgb$1$red(red) {
  98302. return this.changeRgb$4$alpha$blue$green$red(null, null, null, red);
  98303. },
  98304. changeHsl$3$hue$lightness$saturation(hue, lightness, saturation) {
  98305. var t2, t3, t4, t5, _this = this, _null = null,
  98306. t1 = _this._color0$_space;
  98307. if (!t1.get$isLegacyInternal())
  98308. throw A.wrapException(A.SassScriptException$0(string$.color_c, _null));
  98309. t2 = hue == null ? _null : hue;
  98310. if (t2 == null)
  98311. t2 = _this._color0$_legacyChannel$2(B.HslColorSpace_JQ20, "hue");
  98312. t3 = saturation == null ? _null : saturation;
  98313. if (t3 == null)
  98314. t3 = _this._color0$_legacyChannel$2(B.HslColorSpace_JQ20, "saturation");
  98315. t4 = lightness == null ? _null : lightness;
  98316. if (t4 == null)
  98317. t4 = _this._color0$_legacyChannel$2(B.HslColorSpace_JQ20, "lightness");
  98318. t5 = _this.alphaOrNull;
  98319. if (t5 == null)
  98320. t5 = 0;
  98321. return A.SassColor_SassColor$hsl0(t2, t3, t4, t5).toSpace$1(t1);
  98322. },
  98323. changeHsl$1$saturation(saturation) {
  98324. return this.changeHsl$3$hue$lightness$saturation(null, null, saturation);
  98325. },
  98326. changeHsl$1$lightness(lightness) {
  98327. return this.changeHsl$3$hue$lightness$saturation(null, lightness, null);
  98328. },
  98329. changeHsl$1$hue(hue) {
  98330. return this.changeHsl$3$hue$lightness$saturation(hue, null, null);
  98331. },
  98332. changeAlpha$1(alpha) {
  98333. var t2, t3, _this = this,
  98334. t1 = _this.channel0OrNull;
  98335. if (t1 == null)
  98336. t1 = 0;
  98337. t2 = _this.channel1OrNull;
  98338. if (t2 == null)
  98339. t2 = 0;
  98340. t3 = _this.channel2OrNull;
  98341. if (t3 == null)
  98342. t3 = 0;
  98343. return A.SassColor_SassColor$forSpaceInternal0(_this._color0$_space, t1, t2, t3, alpha);
  98344. },
  98345. interpolate$4$legacyMissing$weight(other, method, legacyMissing, weight) {
  98346. 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;
  98347. if (weight == null)
  98348. weight = 0.5;
  98349. if (A.fuzzyEquals0(weight, 0))
  98350. return other;
  98351. if (A.fuzzyEquals0(weight, 1))
  98352. return _this;
  98353. t1 = method.space;
  98354. color1 = _this.toSpace$1(t1);
  98355. color2 = other.toSpace$1(t1);
  98356. if (weight < 0 || weight > 1)
  98357. throw A.wrapException(A.RangeError$range(weight, 0, 1, "weight", _null));
  98358. missing1_0 = _this._color0$_isAnalogousChannelMissing$3(_this, color1, 0);
  98359. missing1_1 = _this._color0$_isAnalogousChannelMissing$3(_this, color1, 1);
  98360. missing1_2 = _this._color0$_isAnalogousChannelMissing$3(_this, color1, 2);
  98361. missing2_0 = _this._color0$_isAnalogousChannelMissing$3(other, color2, 0);
  98362. missing2_1 = _this._color0$_isAnalogousChannelMissing$3(other, color2, 1);
  98363. missing2_2 = _this._color0$_isAnalogousChannelMissing$3(other, color2, 2);
  98364. channel1_0 = (missing1_0 ? color2 : color1).channel0OrNull;
  98365. if (channel1_0 == null)
  98366. channel1_0 = 0;
  98367. channel1_1 = (missing1_1 ? color2 : color1).channel1OrNull;
  98368. if (channel1_1 == null)
  98369. channel1_1 = 0;
  98370. channel1_2 = (missing1_2 ? color2 : color1).channel2OrNull;
  98371. if (channel1_2 == null)
  98372. channel1_2 = 0;
  98373. channel2_0 = (missing2_0 ? color1 : color2).channel0OrNull;
  98374. if (channel2_0 == null)
  98375. channel2_0 = 0;
  98376. channel2_1 = (missing2_1 ? color1 : color2).channel1OrNull;
  98377. if (channel2_1 == null)
  98378. channel2_1 = 0;
  98379. channel2_2 = (missing2_2 ? color1 : color2).channel2OrNull;
  98380. if (channel2_2 == null)
  98381. channel2_2 = 0;
  98382. alpha1 = _this.alphaOrNull;
  98383. t2 = alpha1 == null;
  98384. if (t2) {
  98385. t3 = other.alphaOrNull;
  98386. alpha10 = t3 == null ? 0 : t3;
  98387. } else
  98388. alpha10 = alpha1;
  98389. alpha2 = other.alphaOrNull;
  98390. t3 = alpha2 == null;
  98391. if (t3)
  98392. alpha20 = t2 ? 0 : alpha1;
  98393. else
  98394. alpha20 = alpha2;
  98395. thisMultiplier = (t2 ? 1 : alpha1) * weight;
  98396. t4 = t3 ? 1 : alpha2;
  98397. t5 = 1 - weight;
  98398. otherMultiplier = t4 * t5;
  98399. mixedAlpha = t2 && t3 ? _null : alpha10 * weight + alpha20 * t5;
  98400. if (missing1_0 && missing2_0)
  98401. mixed0 = _null;
  98402. else {
  98403. t2 = mixedAlpha == null ? 1 : mixedAlpha;
  98404. mixed0 = (channel1_0 * thisMultiplier + channel2_0 * otherMultiplier) / t2;
  98405. }
  98406. if (missing1_1 && missing2_1)
  98407. mixed1 = _null;
  98408. else {
  98409. t2 = mixedAlpha == null ? 1 : mixedAlpha;
  98410. mixed1 = (channel1_1 * thisMultiplier + channel2_1 * otherMultiplier) / t2;
  98411. }
  98412. if (missing1_2 && missing2_2)
  98413. mixed2 = _null;
  98414. else {
  98415. t2 = mixedAlpha == null ? 1 : mixedAlpha;
  98416. mixed2 = (channel1_2 * thisMultiplier + channel2_2 * otherMultiplier) / t2;
  98417. }
  98418. $label0$0: {
  98419. if (B.HslColorSpace_JQ20 === t1 || B.HwbColorSpace_guQ0 === t1) {
  98420. if (missing1_0 && missing2_0)
  98421. t2 = _null;
  98422. else {
  98423. t2 = method.hue;
  98424. t2.toString;
  98425. t2 = _this._color0$_interpolateHues$4(channel1_0, channel2_0, t2, weight);
  98426. }
  98427. t2 = A.SassColor_SassColor$forSpaceInternal0(t1, t2, mixed1, mixed2, mixedAlpha);
  98428. t1 = t2;
  98429. break $label0$0;
  98430. }
  98431. if (B.LchColorSpace_Bpv0 === t1 || B.OklchColorSpace_9Gj0 === t1) {
  98432. if (missing1_2 && missing2_2)
  98433. t2 = _null;
  98434. else {
  98435. t2 = method.hue;
  98436. t2.toString;
  98437. t2 = _this._color0$_interpolateHues$4(channel1_2, channel2_2, t2, weight);
  98438. }
  98439. t2 = A.SassColor_SassColor$forSpaceInternal0(t1, mixed0, mixed1, t2, mixedAlpha);
  98440. t1 = t2;
  98441. break $label0$0;
  98442. }
  98443. t1 = A.SassColor_SassColor$forSpaceInternal0(t1, mixed0, mixed1, mixed2, mixedAlpha);
  98444. break $label0$0;
  98445. }
  98446. return t1.toSpace$2$legacyMissing(_this._color0$_space, legacyMissing);
  98447. },
  98448. interpolate$3$weight(other, method, weight) {
  98449. return this.interpolate$4$legacyMissing$weight(other, method, true, weight);
  98450. },
  98451. _color0$_isAnalogousChannelMissing$3(original, output, outputChannelIndex) {
  98452. var originalChannel;
  98453. if (output.get$channelsOrNull()[outputChannelIndex] == null)
  98454. return true;
  98455. if (original === output)
  98456. return false;
  98457. originalChannel = A.IterableExtension_firstWhereOrNull(original._color0$_space._space$_channels, output._color0$_space._space$_channels[outputChannelIndex].get$isAnalogous());
  98458. if (originalChannel == null)
  98459. return false;
  98460. return original.isChannelMissing$1(originalChannel.name);
  98461. },
  98462. _color0$_interpolateHues$4(hue1, hue2, method, weight) {
  98463. var _0_0, _1_0;
  98464. $label1$1: {
  98465. if (B.HueInterpolationMethod_00 === method) {
  98466. $label0$0: {
  98467. _0_0 = hue2 - hue1;
  98468. if (_0_0 > 180) {
  98469. hue1 += 360;
  98470. break $label0$0;
  98471. }
  98472. if (_0_0 < -180)
  98473. hue2 += 360;
  98474. }
  98475. break $label1$1;
  98476. }
  98477. if (B.HueInterpolationMethod_10 === method) {
  98478. $label2$2: {
  98479. _1_0 = hue2 - hue1;
  98480. if (_1_0 > 0 && _1_0 < 180) {
  98481. hue2 += 360;
  98482. break $label2$2;
  98483. }
  98484. if (_1_0 > -180 && _1_0 <= 0)
  98485. hue1 += 360;
  98486. }
  98487. break $label1$1;
  98488. }
  98489. if (B.HueInterpolationMethod_20 === method && hue2 < hue1) {
  98490. hue2 += 360;
  98491. break $label1$1;
  98492. }
  98493. if (B.HueInterpolationMethod_30 === method && hue1 < hue2) {
  98494. hue1 += 360;
  98495. break $label1$1;
  98496. }
  98497. }
  98498. return hue1 * weight + hue2 * (1 - weight);
  98499. },
  98500. plus$1(other) {
  98501. if (!(other instanceof A.SassNumber0) && !(other instanceof A.SassColor0))
  98502. return this.super$Value$plus0(other);
  98503. throw A.wrapException(A.SassScriptException$0('Undefined operation "' + this.toString$0(0) + " + " + other.toString$0(0) + '".', null));
  98504. },
  98505. minus$1(other) {
  98506. if (!(other instanceof A.SassNumber0) && !(other instanceof A.SassColor0))
  98507. return this.super$Value$minus0(other);
  98508. throw A.wrapException(A.SassScriptException$0('Undefined operation "' + this.toString$0(0) + " - " + other.toString$0(0) + '".', null));
  98509. },
  98510. dividedBy$1(other) {
  98511. if (!(other instanceof A.SassNumber0) && !(other instanceof A.SassColor0))
  98512. return this.super$Value$dividedBy0(other);
  98513. throw A.wrapException(A.SassScriptException$0('Undefined operation "' + this.toString$0(0) + " / " + other.toString$0(0) + '".', null));
  98514. },
  98515. $eq(_, other) {
  98516. var t1, t2, _this = this;
  98517. if (other == null)
  98518. return false;
  98519. if (!(other instanceof A.SassColor0))
  98520. return false;
  98521. t1 = _this._color0$_space;
  98522. if (t1.get$isLegacyInternal()) {
  98523. t2 = other._color0$_space;
  98524. if (!t2.get$isLegacyInternal())
  98525. return false;
  98526. if (!A.fuzzyEqualsNullable0(_this.alphaOrNull, other.alphaOrNull))
  98527. return false;
  98528. if (t1 === t2)
  98529. return A.fuzzyEqualsNullable0(_this.channel0OrNull, other.channel0OrNull) && A.fuzzyEqualsNullable0(_this.channel1OrNull, other.channel1OrNull) && A.fuzzyEqualsNullable0(_this.channel2OrNull, other.channel2OrNull);
  98530. else
  98531. return _this.toSpace$1(B.RgbColorSpace_i0P0).$eq(0, other.toSpace$1(B.RgbColorSpace_i0P0));
  98532. }
  98533. 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);
  98534. },
  98535. get$hashCode(_) {
  98536. var rgb, t2, t3, t4, t5, _this = this,
  98537. t1 = _this._color0$_space;
  98538. if (t1.get$isLegacyInternal()) {
  98539. rgb = _this.toSpace$1(B.RgbColorSpace_i0P0);
  98540. t1 = rgb.channel0OrNull;
  98541. t1 = A.fuzzyHashCode0(t1 == null ? 0 : t1);
  98542. t2 = rgb.channel1OrNull;
  98543. t2 = A.fuzzyHashCode0(t2 == null ? 0 : t2);
  98544. t3 = rgb.channel2OrNull;
  98545. t3 = A.fuzzyHashCode0(t3 == null ? 0 : t3);
  98546. t4 = _this.alphaOrNull;
  98547. return t1 ^ t2 ^ t3 ^ A.fuzzyHashCode0(t4 == null ? 0 : t4);
  98548. } else {
  98549. t1 = A.Primitives_objectHashCode(t1);
  98550. t2 = _this.channel0OrNull;
  98551. t2 = A.fuzzyHashCode0(t2 == null ? 0 : t2);
  98552. t3 = _this.channel1OrNull;
  98553. t3 = A.fuzzyHashCode0(t3 == null ? 0 : t3);
  98554. t4 = _this.channel2OrNull;
  98555. t4 = A.fuzzyHashCode0(t4 == null ? 0 : t4);
  98556. t5 = _this.alphaOrNull;
  98557. return (t1 ^ t2 ^ t3 ^ t4 ^ A.fuzzyHashCode0(t5 == null ? 0 : t5)) >>> 0;
  98558. }
  98559. }
  98560. };
  98561. A.SassColor$_forSpace_closure0.prototype = {
  98562. call$1(alpha) {
  98563. return A.fuzzyAssertRange0(alpha, 0, 1, "alpha");
  98564. },
  98565. $signature: 16
  98566. };
  98567. A._ColorFormatEnum0.prototype = {
  98568. toString$0(_) {
  98569. return "rgbFunction";
  98570. }
  98571. };
  98572. A.SpanColorFormat0.prototype = {};
  98573. A.Combinator0.prototype = {
  98574. _enumToString$0() {
  98575. return "Combinator." + this._name;
  98576. },
  98577. toString$0(_) {
  98578. return this._combinator0$_text;
  98579. }
  98580. };
  98581. A.ModifiableCssComment0.prototype = {
  98582. accept$1$1(visitor) {
  98583. return visitor.visitCssComment$1(this);
  98584. },
  98585. accept$1(visitor) {
  98586. return this.accept$1$1(visitor, type$.dynamic);
  98587. },
  98588. $isCssComment0: 1,
  98589. get$span(receiver) {
  98590. return this.span;
  98591. }
  98592. };
  98593. A.compileAsync_closure.prototype = {
  98594. call$0() {
  98595. var $async$goto = 0,
  98596. $async$completer = A._makeAsyncAwaitCompleter(type$.NodeCompileResult),
  98597. $async$returnValue, $async$self = this, t5, t6, t7, t8, t9, t10, t11, t12, t13, result, t1, t2, t3, t4;
  98598. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  98599. if ($async$errorCode === 1)
  98600. return A._asyncRethrow($async$result, $async$completer);
  98601. while (true)
  98602. switch ($async$goto) {
  98603. case 0:
  98604. // Function start
  98605. t1 = $async$self.options;
  98606. t2 = t1 == null;
  98607. t3 = t2 ? null : J.get$loadPaths$x(t1);
  98608. t4 = t2 ? null : J.get$quietDeps$x(t1);
  98609. if (t4 == null)
  98610. t4 = false;
  98611. t5 = A._parseOutputStyle0(t2 ? null : J.get$style$x(t1));
  98612. t6 = t2 ? null : J.get$verbose$x(t1);
  98613. if (t6 == null)
  98614. t6 = false;
  98615. t7 = t2 ? null : J.get$charset$x(t1);
  98616. if (t7 == null)
  98617. t7 = true;
  98618. t8 = t2 ? null : J.get$sourceMap$x(t1);
  98619. if (t8 == null)
  98620. t8 = false;
  98621. t9 = $async$self.logger;
  98622. if (t2)
  98623. t10 = null;
  98624. else {
  98625. t10 = J.get$importers$x(t1);
  98626. t10 = t10 == null ? null : J.map$1$1$ax(t10, new A.compileAsync__closure(), type$.AsyncImporter);
  98627. }
  98628. t11 = A._parseFunctions0(t2 ? null : J.get$functions$x(t1), true);
  98629. t12 = A.parseDeprecations(t9, t2 ? null : J.get$fatalDeprecations$x(t1), true);
  98630. t13 = A.parseDeprecations(t9, t2 ? null : J.get$silenceDeprecations$x(t1), false);
  98631. $async$goto = 3;
  98632. 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);
  98633. case 3:
  98634. // returning from await.
  98635. result = $async$result;
  98636. t1 = t2 ? null : J.get$sourceMapIncludeSources$x(t1);
  98637. $async$returnValue = A._convertResult(result, t1 == null ? false : t1);
  98638. // goto return
  98639. $async$goto = 1;
  98640. break;
  98641. case 1:
  98642. // return
  98643. return A._asyncReturn($async$returnValue, $async$completer);
  98644. }
  98645. });
  98646. return A._asyncStartSync($async$call$0, $async$completer);
  98647. },
  98648. $signature: 230
  98649. };
  98650. A.compileAsync__closure.prototype = {
  98651. call$1(importer) {
  98652. return A._parseAsyncImporter(importer);
  98653. },
  98654. $signature: 231
  98655. };
  98656. A.compileStringAsync_closure.prototype = {
  98657. call$0() {
  98658. var $async$goto = 0,
  98659. $async$completer = A._makeAsyncAwaitCompleter(type$.NodeCompileResult),
  98660. $async$returnValue, $async$self = this, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16, result, t1, t2, t3, t4, t5, t6;
  98661. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  98662. if ($async$errorCode === 1)
  98663. return A._asyncRethrow($async$result, $async$completer);
  98664. while (true)
  98665. switch ($async$goto) {
  98666. case 0:
  98667. // Function start
  98668. t1 = $async$self.options;
  98669. t2 = t1 == null;
  98670. t3 = A.parseSyntax(t2 ? null : J.get$syntax$x(t1));
  98671. t4 = t2 ? null : A.NullableExtension_andThen0(J.get$url$x(t1), A.utils3__jsToDartUrl$closure());
  98672. t5 = t2 ? null : J.get$loadPaths$x(t1);
  98673. t6 = t2 ? null : J.get$quietDeps$x(t1);
  98674. if (t6 == null)
  98675. t6 = false;
  98676. t7 = A._parseOutputStyle0(t2 ? null : J.get$style$x(t1));
  98677. t8 = t2 ? null : J.get$verbose$x(t1);
  98678. if (t8 == null)
  98679. t8 = false;
  98680. t9 = t2 ? null : J.get$charset$x(t1);
  98681. if (t9 == null)
  98682. t9 = true;
  98683. t10 = t2 ? null : J.get$sourceMap$x(t1);
  98684. if (t10 == null)
  98685. t10 = false;
  98686. t11 = $async$self.logger;
  98687. if (t2)
  98688. t12 = null;
  98689. else {
  98690. t12 = J.get$importers$x(t1);
  98691. t12 = t12 == null ? null : J.map$1$1$ax(t12, new A.compileStringAsync__closure(), type$.AsyncImporter);
  98692. }
  98693. t13 = t2 ? null : A.NullableExtension_andThen0(J.get$importer$x(t1), new A.compileStringAsync__closure0());
  98694. if (t13 == null)
  98695. t13 = (t2 ? null : J.get$url$x(t1)) == null ? new A.NoOpImporter0() : null;
  98696. t14 = A._parseFunctions0(t2 ? null : J.get$functions$x(t1), true);
  98697. t15 = A.parseDeprecations(t11, t2 ? null : J.get$fatalDeprecations$x(t1), true);
  98698. t16 = A.parseDeprecations(t11, t2 ? null : J.get$silenceDeprecations$x(t1), false);
  98699. $async$goto = 3;
  98700. 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);
  98701. case 3:
  98702. // returning from await.
  98703. result = $async$result;
  98704. t1 = t2 ? null : J.get$sourceMapIncludeSources$x(t1);
  98705. $async$returnValue = A._convertResult(result, t1 == null ? false : t1);
  98706. // goto return
  98707. $async$goto = 1;
  98708. break;
  98709. case 1:
  98710. // return
  98711. return A._asyncReturn($async$returnValue, $async$completer);
  98712. }
  98713. });
  98714. return A._asyncStartSync($async$call$0, $async$completer);
  98715. },
  98716. $signature: 230
  98717. };
  98718. A.compileStringAsync__closure.prototype = {
  98719. call$1(importer) {
  98720. return A._parseAsyncImporter(importer);
  98721. },
  98722. $signature: 231
  98723. };
  98724. A.compileStringAsync__closure0.prototype = {
  98725. call$1(importer) {
  98726. return A._parseAsyncImporter(importer);
  98727. },
  98728. $signature: 420
  98729. };
  98730. A._wrapAsyncSassExceptions_closure.prototype = {
  98731. call$1(error) {
  98732. var t1;
  98733. if (error instanceof A.SassException0)
  98734. t1 = A.throwNodeException(error, this.ascii, this.color, null);
  98735. else
  98736. t1 = A.jsThrow(error == null ? type$.Object._as(error) : error);
  98737. return t1;
  98738. },
  98739. $signature: 421
  98740. };
  98741. A._parseFunctions_closure0.prototype = {
  98742. call$2(signature, callback) {
  98743. var callable,
  98744. t1 = this.result;
  98745. if (!this.asynch) {
  98746. callable = A._Cell$();
  98747. callable.__late_helper$_value = A.Callable_Callable$fromSignature(signature, new A._parseFunctions__closure2(callback, callable), true);
  98748. t1.push(callable._readLocal$0());
  98749. } else {
  98750. callable = A._Cell$();
  98751. callable.__late_helper$_value = A.AsyncCallable_AsyncCallable$fromSignature(signature, new A._parseFunctions__closure3(callback, callable), true);
  98752. t1.push(callable._readLocal$0());
  98753. }
  98754. },
  98755. $signature: 126
  98756. };
  98757. A._parseFunctions__closure2.prototype = {
  98758. call$1($arguments) {
  98759. var t1, t2,
  98760. _s42_ = string$.Invali,
  98761. result = A.wrapJSExceptions(new A._parseFunctions___closure6(this.callback, $arguments));
  98762. if (result instanceof A.Value0)
  98763. return A._simplifyValue(result);
  98764. t1 = result != null && result instanceof self.Promise;
  98765. t2 = this.callable;
  98766. if (t1) {
  98767. t1 = t2.readLocal$0();
  98768. throw A.wrapException(_s42_ + t1.get$name(t1) + '":\nPromises may only be returned for sass.compileAsync() and sass.compileStringAsync().');
  98769. } else {
  98770. t1 = t2.readLocal$0();
  98771. throw A.wrapException(_s42_ + t1.get$name(t1) + '": ' + A.S(result) + " is not a sass.Value.");
  98772. }
  98773. },
  98774. $signature: 3
  98775. };
  98776. A._parseFunctions___closure6.prototype = {
  98777. call$0() {
  98778. return type$.Function._as(this.callback).call$1(A.toJSArray(this.$arguments));
  98779. },
  98780. $signature: 59
  98781. };
  98782. A._parseFunctions__closure3.prototype = {
  98783. call$1($arguments) {
  98784. return this.$call$body$_parseFunctions__closure0($arguments);
  98785. },
  98786. $call$body$_parseFunctions__closure0($arguments) {
  98787. var $async$goto = 0,
  98788. $async$completer = A._makeAsyncAwaitCompleter(type$.Value_2),
  98789. $async$returnValue, $async$self = this, t1, result;
  98790. var $async$call$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  98791. if ($async$errorCode === 1)
  98792. return A._asyncRethrow($async$result, $async$completer);
  98793. while (true)
  98794. switch ($async$goto) {
  98795. case 0:
  98796. // Function start
  98797. result = A.wrapJSExceptions(new A._parseFunctions___closure5($async$self.callback, $arguments));
  98798. $async$goto = result != null && result instanceof self.Promise ? 3 : 4;
  98799. break;
  98800. case 3:
  98801. // then
  98802. $async$goto = 5;
  98803. return A._asyncAwait(A.promiseToFuture0(type$.Promise._as(result), type$.Object), $async$call$1);
  98804. case 5:
  98805. // returning from await.
  98806. result = $async$result;
  98807. case 4:
  98808. // join
  98809. if (result instanceof A.Value0) {
  98810. $async$returnValue = A._simplifyValue(result);
  98811. // goto return
  98812. $async$goto = 1;
  98813. break;
  98814. }
  98815. t1 = $async$self.callable.readLocal$0();
  98816. throw A.wrapException(string$.Invali + t1.get$name(t1) + '": ' + A.S(result) + " is not a sass.Value.");
  98817. case 1:
  98818. // return
  98819. return A._asyncReturn($async$returnValue, $async$completer);
  98820. }
  98821. });
  98822. return A._asyncStartSync($async$call$1, $async$completer);
  98823. },
  98824. $signature: 109
  98825. };
  98826. A._parseFunctions___closure5.prototype = {
  98827. call$0() {
  98828. return type$.Function._as(this.callback).call$1(A.toJSArray(this.$arguments));
  98829. },
  98830. $signature: 59
  98831. };
  98832. A.nodePackageImporterClass_closure.prototype = {
  98833. call$0() {
  98834. return type$.JSClass._as(A.allowInteropCaptureThisNamed("sass.NodePackageImporter", new A.nodePackageImporterClass__closure()));
  98835. },
  98836. $signature: 15
  98837. };
  98838. A.nodePackageImporterClass__closure.prototype = {
  98839. call$2($self, entrypointDirectory) {
  98840. var directory, t1, filename, t2, _null = null,
  98841. _0_3 = A.entrypointFilename();
  98842. $label0$0: {
  98843. if (entrypointDirectory != null) {
  98844. directory = entrypointDirectory == null ? A._asString(entrypointDirectory) : entrypointDirectory;
  98845. t1 = directory;
  98846. break $label0$0;
  98847. }
  98848. if (_0_3 != null) {
  98849. filename = _0_3 == null ? A._asString(_0_3) : _0_3;
  98850. t1 = $.$get$context().dirname$1(filename);
  98851. break $label0$0;
  98852. }
  98853. 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`.");
  98854. }
  98855. t2 = new A.NodePackageImporter0();
  98856. if (A.isBrowser())
  98857. A.throwExpression(string$.The_No);
  98858. t2._node_package$__NodePackageImporter__entryPointDirectory_F = A.absolute(t1, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null);
  98859. return t2;
  98860. },
  98861. call$1($self) {
  98862. return this.call$2($self, null);
  98863. },
  98864. "call*": "call$2",
  98865. $requiredArgCount: 1,
  98866. $defaultValues() {
  98867. return [null];
  98868. },
  98869. $signature: 423
  98870. };
  98871. A._compileStylesheet_closure1.prototype = {
  98872. call$1(url) {
  98873. 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);
  98874. },
  98875. $signature: 6
  98876. };
  98877. A.CompileOptions.prototype = {};
  98878. A.CompileStringOptions.prototype = {};
  98879. A.NodeCompileResult.prototype = {};
  98880. A.CompileResult0.prototype = {};
  98881. A.Compiler.prototype = {};
  98882. A.AsyncCompiler.prototype = {
  98883. addCompilation$1(compilation) {
  98884. this.compilations.add$1(0, A.promiseToFuture(compilation, type$.dynamic).catchError$1(new A.AsyncCompiler_addCompilation_closure()));
  98885. }
  98886. };
  98887. A.AsyncCompiler_addCompilation_closure.prototype = {
  98888. call$1(err) {
  98889. },
  98890. $signature: 64
  98891. };
  98892. A.compilerClass_closure.prototype = {
  98893. call$0() {
  98894. var t1 = type$.JSClass,
  98895. jsClass = t1._as(A.allowInteropCaptureThisNamed("sass.Compiler", new A.compilerClass__closure()));
  98896. 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));
  98897. A.JSClassExtension_injectSuperclass(t1._as(new A.Compiler().constructor), jsClass);
  98898. return jsClass;
  98899. },
  98900. $signature: 15
  98901. };
  98902. A.compilerClass__closure.prototype = {
  98903. call$1($self) {
  98904. return A.LinkedHashSet_LinkedHashSet$_literal([A.jsThrow(new self.Error("Compiler can not be directly constructed. Please use `sass.initCompiler()` instead."))], type$.Never);
  98905. },
  98906. $signature: 232
  98907. };
  98908. A.compilerClass__closure0.prototype = {
  98909. call$3($self, path, options) {
  98910. if ($self._disposed)
  98911. A.jsThrow(new self.Error("Compiler has already been disposed."));
  98912. return A.compile0(path, options);
  98913. },
  98914. call$2($self, path) {
  98915. return this.call$3($self, path, null);
  98916. },
  98917. "call*": "call$3",
  98918. $requiredArgCount: 2,
  98919. $defaultValues() {
  98920. return [null];
  98921. },
  98922. $signature: 425
  98923. };
  98924. A.compilerClass__closure1.prototype = {
  98925. call$3($self, source, options) {
  98926. if ($self._disposed)
  98927. A.jsThrow(new self.Error("Compiler has already been disposed."));
  98928. return A.compileString0(source, options);
  98929. },
  98930. call$2($self, source) {
  98931. return this.call$3($self, source, null);
  98932. },
  98933. "call*": "call$3",
  98934. $requiredArgCount: 2,
  98935. $defaultValues() {
  98936. return [null];
  98937. },
  98938. $signature: 426
  98939. };
  98940. A.compilerClass__closure2.prototype = {
  98941. call$1($self) {
  98942. $self._disposed = true;
  98943. },
  98944. $signature: 427
  98945. };
  98946. A.asyncCompilerClass_closure.prototype = {
  98947. call$0() {
  98948. var t1 = type$.JSClass,
  98949. jsClass = t1._as(A.allowInteropCaptureThisNamed("sass.AsyncCompiler", new A.asyncCompilerClass__closure()));
  98950. 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));
  98951. 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);
  98952. return jsClass;
  98953. },
  98954. $signature: 15
  98955. };
  98956. A.asyncCompilerClass__closure.prototype = {
  98957. call$1($self) {
  98958. return A.LinkedHashSet_LinkedHashSet$_literal([A.jsThrow(new self.Error("AsyncCompiler can not be directly constructed. Please use `sass.initAsyncCompiler()` instead."))], type$.Never);
  98959. },
  98960. $signature: 232
  98961. };
  98962. A.asyncCompilerClass__closure0.prototype = {
  98963. call$3($self, path, options) {
  98964. var compilation;
  98965. if ($self._disposed)
  98966. A.jsThrow(new self.Error("Compiler has already been disposed."));
  98967. compilation = A.compileAsync1(path, options);
  98968. $self.addCompilation$1(compilation);
  98969. return compilation;
  98970. },
  98971. call$2($self, path) {
  98972. return this.call$3($self, path, null);
  98973. },
  98974. "call*": "call$3",
  98975. $requiredArgCount: 2,
  98976. $defaultValues() {
  98977. return [null];
  98978. },
  98979. $signature: 428
  98980. };
  98981. A.asyncCompilerClass__closure1.prototype = {
  98982. call$3($self, source, options) {
  98983. var compilation;
  98984. if ($self._disposed)
  98985. A.jsThrow(new self.Error("Compiler has already been disposed."));
  98986. compilation = A.compileStringAsync1(source, options);
  98987. $self.addCompilation$1(compilation);
  98988. return compilation;
  98989. },
  98990. call$2($self, source) {
  98991. return this.call$3($self, source, null);
  98992. },
  98993. "call*": "call$3",
  98994. $requiredArgCount: 2,
  98995. $defaultValues() {
  98996. return [null];
  98997. },
  98998. $signature: 429
  98999. };
  99000. A.asyncCompilerClass__closure2.prototype = {
  99001. call$1($self) {
  99002. $self._disposed = true;
  99003. return A.futureToPromise0(new A.asyncCompilerClass___closure($self).call$0());
  99004. },
  99005. $signature: 430
  99006. };
  99007. A.asyncCompilerClass___closure.prototype = {
  99008. call$0() {
  99009. var $async$goto = 0,
  99010. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  99011. $async$self = this, t1;
  99012. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  99013. if ($async$errorCode === 1)
  99014. return A._asyncRethrow($async$result, $async$completer);
  99015. while (true)
  99016. switch ($async$goto) {
  99017. case 0:
  99018. // Function start
  99019. t1 = $async$self.self.compilations;
  99020. t1.close$0(0);
  99021. $async$goto = 2;
  99022. return A._asyncAwait(t1._future_group$_completer.future, $async$call$0);
  99023. case 2:
  99024. // returning from await.
  99025. // implicit return
  99026. return A._asyncReturn(null, $async$completer);
  99027. }
  99028. });
  99029. return A._asyncStartSync($async$call$0, $async$completer);
  99030. },
  99031. $signature: 2
  99032. };
  99033. A.initAsyncCompiler_closure.prototype = {
  99034. call$0() {
  99035. var $async$goto = 0,
  99036. $async$completer = A._makeAsyncAwaitCompleter(type$.AsyncCompiler),
  99037. $async$returnValue;
  99038. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  99039. if ($async$errorCode === 1)
  99040. return A._asyncRethrow($async$result, $async$completer);
  99041. while (true)
  99042. switch ($async$goto) {
  99043. case 0:
  99044. // Function start
  99045. $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));
  99046. // goto return
  99047. $async$goto = 1;
  99048. break;
  99049. case 1:
  99050. // return
  99051. return A._asyncReturn($async$returnValue, $async$completer);
  99052. }
  99053. });
  99054. return A._asyncStartSync($async$call$0, $async$completer);
  99055. },
  99056. $signature: 431
  99057. };
  99058. A.ComplexSassNumber0.prototype = {
  99059. get$numeratorUnits(_) {
  99060. return this._complex0$_numeratorUnits;
  99061. },
  99062. get$denominatorUnits(_) {
  99063. return this._complex0$_denominatorUnits;
  99064. },
  99065. get$hasUnits() {
  99066. return true;
  99067. },
  99068. get$hasComplexUnits() {
  99069. return true;
  99070. },
  99071. hasUnit$1(unit) {
  99072. return false;
  99073. },
  99074. compatibleWithUnit$1(unit) {
  99075. return false;
  99076. },
  99077. hasPossiblyCompatibleUnits$1(other) {
  99078. throw A.wrapException(A.UnimplementedError$(string$.Comple));
  99079. },
  99080. withValue$1(value) {
  99081. return new A.ComplexSassNumber0(this._complex0$_numeratorUnits, this._complex0$_denominatorUnits, value, null);
  99082. },
  99083. withSlash$2(numerator, denominator) {
  99084. return new A.ComplexSassNumber0(this._complex0$_numeratorUnits, this._complex0$_denominatorUnits, this._number1$_value, new A._Record_2(numerator, denominator));
  99085. }
  99086. };
  99087. A.ComplexSelector0.prototype = {
  99088. get$specificity() {
  99089. var result, _this = this,
  99090. value = _this._complex$__ComplexSelector_specificity_FI;
  99091. if (value === $) {
  99092. result = B.JSArray_methods.fold$2(_this.components, 0, new A.ComplexSelector_specificity_closure0());
  99093. _this._complex$__ComplexSelector_specificity_FI !== $ && A.throwUnnamedLateFieldADI();
  99094. _this._complex$__ComplexSelector_specificity_FI = result;
  99095. value = result;
  99096. }
  99097. return value;
  99098. },
  99099. get$singleCompound() {
  99100. var _0_0, t1, _0_4, selector;
  99101. if (this.leadingCombinators.length !== 0)
  99102. return null;
  99103. _0_0 = this.components;
  99104. $label0$0: {
  99105. t1 = false;
  99106. if (_0_0.length === 1) {
  99107. _0_4 = _0_0[0];
  99108. selector = _0_4.selector;
  99109. t1 = _0_4.combinators.length <= 0;
  99110. } else
  99111. selector = null;
  99112. if (t1) {
  99113. t1 = selector;
  99114. break $label0$0;
  99115. }
  99116. t1 = null;
  99117. break $label0$0;
  99118. }
  99119. return t1;
  99120. },
  99121. accept$1$1(visitor) {
  99122. return visitor.visitComplexSelector$1(this);
  99123. },
  99124. accept$1(visitor) {
  99125. return this.accept$1$1(visitor, type$.dynamic);
  99126. },
  99127. isSuperselector$1(other) {
  99128. return this.leadingCombinators.length === 0 && other.leadingCombinators.length === 0 && A.complexIsSuperselector0(this.components, other.components);
  99129. },
  99130. withAdditionalCombinators$1(combinators) {
  99131. var _0_0, _0_1, t1, initial, last, _this = this;
  99132. if (combinators.length === 0)
  99133. return _this;
  99134. _0_0 = _this.components;
  99135. $label0$0: {
  99136. _0_1 = _0_0.length;
  99137. if (_0_1 >= 1) {
  99138. t1 = _0_1 - 1;
  99139. initial = B.JSArray_methods.sublist$2(_0_0, 0, t1);
  99140. last = _0_0[t1];
  99141. t1 = A.List_List$_of(initial, type$.ComplexSelectorComponent_2);
  99142. t1.push(last.withAdditionalCombinators$1(combinators));
  99143. t1 = A.ComplexSelector$0(_this.leadingCombinators, t1, _this.span, _this.lineBreak);
  99144. break $label0$0;
  99145. }
  99146. if (_0_1 <= 0) {
  99147. t1 = A.List_List$_of(_this.leadingCombinators, type$.CssValue_Combinator_2);
  99148. B.JSArray_methods.addAll$1(t1, combinators);
  99149. t1 = A.ComplexSelector$0(t1, B.List_empty18, _this.span, _this.lineBreak);
  99150. break $label0$0;
  99151. }
  99152. t1 = null;
  99153. }
  99154. return t1;
  99155. },
  99156. concatenate$3$forceLineBreak(child, span, forceLineBreak) {
  99157. var t2, _0_1, initial, last, _this = this,
  99158. t1 = child.leadingCombinators,
  99159. _0_0 = _this.components;
  99160. if (t1.length === 0) {
  99161. t1 = A.List_List$_of(_0_0, type$.ComplexSelectorComponent_2);
  99162. B.JSArray_methods.addAll$1(t1, child.components);
  99163. t2 = _this.lineBreak || child.lineBreak || forceLineBreak;
  99164. return A.ComplexSelector$0(_this.leadingCombinators, t1, span, t2);
  99165. } else {
  99166. _0_1 = _0_0.length;
  99167. if (_0_1 >= 1) {
  99168. t2 = _0_1 - 1;
  99169. initial = B.JSArray_methods.sublist$2(_0_0, 0, t2);
  99170. last = _0_0[t2];
  99171. t2 = A.List_List$_of(initial, type$.ComplexSelectorComponent_2);
  99172. t2.push(last.withAdditionalCombinators$1(t1));
  99173. B.JSArray_methods.addAll$1(t2, child.components);
  99174. t1 = _this.lineBreak || child.lineBreak || forceLineBreak;
  99175. return A.ComplexSelector$0(_this.leadingCombinators, t2, span, t1);
  99176. } else {
  99177. t2 = A.List_List$_of(_this.leadingCombinators, type$.CssValue_Combinator_2);
  99178. B.JSArray_methods.addAll$1(t2, t1);
  99179. t1 = _this.lineBreak || child.lineBreak || forceLineBreak;
  99180. return A.ComplexSelector$0(t2, child.components, span, t1);
  99181. }
  99182. }
  99183. },
  99184. concatenate$2(child, span) {
  99185. return this.concatenate$3$forceLineBreak(child, span, false);
  99186. },
  99187. get$hashCode(_) {
  99188. return B.C_ListEquality0.hash$1(this.leadingCombinators) ^ B.C_ListEquality0.hash$1(this.components);
  99189. },
  99190. $eq(_, other) {
  99191. if (other == null)
  99192. return false;
  99193. 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);
  99194. }
  99195. };
  99196. A.ComplexSelector_specificity_closure0.prototype = {
  99197. call$2(sum, component) {
  99198. return sum + component.selector.get$specificity();
  99199. },
  99200. $signature: 432
  99201. };
  99202. A.ComplexSelectorComponent0.prototype = {
  99203. withAdditionalCombinators$1(combinators) {
  99204. var t1, t2, _this = this;
  99205. if (combinators.length === 0)
  99206. t1 = _this;
  99207. else {
  99208. t1 = type$.CssValue_Combinator_2;
  99209. t2 = A.List_List$_of(_this.combinators, t1);
  99210. B.JSArray_methods.addAll$1(t2, combinators);
  99211. t1 = new A.ComplexSelectorComponent0(_this.selector, A.List_List$unmodifiable(t2, t1), _this.span);
  99212. }
  99213. return t1;
  99214. },
  99215. get$hashCode(_) {
  99216. return B.C_ListEquality0.hash$1(this.selector.components) ^ B.C_ListEquality0.hash$1(this.combinators);
  99217. },
  99218. $eq(_, other) {
  99219. var t1;
  99220. if (other == null)
  99221. return false;
  99222. if (other instanceof A.ComplexSelectorComponent0) {
  99223. t1 = B.C_ListEquality.equals$2(0, this.selector.components, other.selector.components);
  99224. t1 = t1 && B.C_ListEquality.equals$2(0, this.combinators, other.combinators);
  99225. } else
  99226. t1 = false;
  99227. return t1;
  99228. },
  99229. toString$0(_) {
  99230. var t1 = this.combinators;
  99231. 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, "");
  99232. }
  99233. };
  99234. A.ComplexSelectorComponent_toString_closure0.prototype = {
  99235. call$1(combinator) {
  99236. return " " + combinator.toString$0(0);
  99237. },
  99238. $signature: 433
  99239. };
  99240. A.CompoundSelector0.prototype = {
  99241. get$specificity() {
  99242. var result, _this = this,
  99243. value = _this._compound$__CompoundSelector_specificity_FI;
  99244. if (value === $) {
  99245. result = B.JSArray_methods.fold$2(_this.components, 0, new A.CompoundSelector_specificity_closure0());
  99246. _this._compound$__CompoundSelector_specificity_FI !== $ && A.throwUnnamedLateFieldADI();
  99247. _this._compound$__CompoundSelector_specificity_FI = result;
  99248. value = result;
  99249. }
  99250. return value;
  99251. },
  99252. get$hasComplicatedSuperselectorSemantics() {
  99253. var result, _this = this,
  99254. value = _this._compound$__CompoundSelector_hasComplicatedSuperselectorSemantics_FI;
  99255. if (value === $) {
  99256. result = B.JSArray_methods.any$1(_this.components, new A.CompoundSelector_hasComplicatedSuperselectorSemantics_closure0());
  99257. _this._compound$__CompoundSelector_hasComplicatedSuperselectorSemantics_FI !== $ && A.throwUnnamedLateFieldADI();
  99258. _this._compound$__CompoundSelector_hasComplicatedSuperselectorSemantics_FI = result;
  99259. value = result;
  99260. }
  99261. return value;
  99262. },
  99263. accept$1$1(visitor) {
  99264. return visitor.visitCompoundSelector$1(this);
  99265. },
  99266. accept$1(visitor) {
  99267. return this.accept$1$1(visitor, type$.dynamic);
  99268. },
  99269. get$hashCode(_) {
  99270. return B.C_ListEquality0.hash$1(this.components);
  99271. },
  99272. $eq(_, other) {
  99273. if (other == null)
  99274. return false;
  99275. return other instanceof A.CompoundSelector0 && B.C_ListEquality.equals$2(0, this.components, other.components);
  99276. }
  99277. };
  99278. A.CompoundSelector_specificity_closure0.prototype = {
  99279. call$2(sum, component) {
  99280. return sum + component.get$specificity();
  99281. },
  99282. $signature: 434
  99283. };
  99284. A.CompoundSelector_hasComplicatedSuperselectorSemantics_closure0.prototype = {
  99285. call$1(component) {
  99286. return component.get$hasComplicatedSuperselectorSemantics();
  99287. },
  99288. $signature: 13
  99289. };
  99290. A.Configuration0.prototype = {
  99291. throughForward$1($forward) {
  99292. var _0_0, _1_0, _2_0, t1, hiddenVariables,
  99293. newValues = this._configuration0$_values;
  99294. if (newValues.get$isEmpty(newValues))
  99295. return this;
  99296. _0_0 = $forward.prefix;
  99297. if (_0_0 != null)
  99298. newValues = new A.UnprefixedMapView0(newValues, _0_0, type$.UnprefixedMapView_ConfiguredValue_2);
  99299. _1_0 = $forward.shownVariables;
  99300. if (_1_0 != null)
  99301. newValues = new A.LimitedMapView0(newValues, _1_0._base.intersection$1(new A.MapKeySet(newValues, type$.MapKeySet_nullable_Object)), type$.LimitedMapView_String_ConfiguredValue_2);
  99302. else {
  99303. _2_0 = $forward.hiddenVariables;
  99304. if (_2_0 != null) {
  99305. t1 = _2_0._base.get$isNotEmpty(0);
  99306. hiddenVariables = _2_0;
  99307. } else {
  99308. hiddenVariables = null;
  99309. t1 = false;
  99310. }
  99311. if (t1)
  99312. newValues = A.LimitedMapView$blocklist0(newValues, hiddenVariables, type$.String, type$.ConfiguredValue_2);
  99313. }
  99314. return this._configuration0$_withValues$1(newValues);
  99315. },
  99316. _configuration0$_withValues$1(values) {
  99317. var t1 = this._configuration0$__originalConfiguration;
  99318. return new A.Configuration0(values, t1 == null ? this : t1);
  99319. },
  99320. toString$0(_) {
  99321. var t2, t3,
  99322. t1 = A._setArrayType([], type$.JSArray_String);
  99323. 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();) {
  99324. t3 = t2.get$current(t2);
  99325. t1.push("$" + t3._0 + ": " + t3._1.toString$0(0));
  99326. }
  99327. return "(" + B.JSArray_methods.join$1(t1, ",") + ")";
  99328. }
  99329. };
  99330. A.ExplicitConfiguration0.prototype = {
  99331. _configuration0$_withValues$1(values) {
  99332. var t1 = this._configuration0$__originalConfiguration;
  99333. if (t1 == null)
  99334. t1 = this;
  99335. return new A.ExplicitConfiguration0(this.nodeWithSpan, values, t1);
  99336. }
  99337. };
  99338. A.ConfiguredValue0.prototype = {
  99339. toString$0(_) {
  99340. return this.value.toString$0(0);
  99341. }
  99342. };
  99343. A.ConfiguredVariable0.prototype = {
  99344. toString$0(_) {
  99345. var t1 = this.expression.toString$0(0),
  99346. t2 = this.isGuarded ? " !default" : "";
  99347. return "$" + this.name + ": " + t1 + t2;
  99348. },
  99349. $isAstNode0: 1,
  99350. $isSassNode: 1,
  99351. get$span(receiver) {
  99352. return this.span;
  99353. }
  99354. };
  99355. A.ContentBlock0.prototype = {
  99356. accept$1$1(visitor) {
  99357. return visitor.visitContentBlock$1(0, this);
  99358. },
  99359. accept$1(visitor) {
  99360. return this.accept$1$1(visitor, type$.dynamic);
  99361. },
  99362. toString$0(_) {
  99363. var t2,
  99364. t1 = this.parameters;
  99365. t1 = t1.parameters.length === 0 && t1.restParameter == null ? "" : " using (" + t1.toString$0(0) + ")";
  99366. t2 = this.children;
  99367. return t1 + (" {" + (t2 && B.JSArray_methods).join$1(t2, " ") + "}");
  99368. }
  99369. };
  99370. A.ContentRule0.prototype = {
  99371. accept$1$1(visitor) {
  99372. return visitor.visitContentRule$1(0, this);
  99373. },
  99374. accept$1(visitor) {
  99375. return this.accept$1$1(visitor, type$.dynamic);
  99376. },
  99377. toString$0(_) {
  99378. var t1 = this.$arguments;
  99379. return t1.get$isEmpty(0) ? "@content;" : "@content(" + t1.toString$0(0) + ");";
  99380. },
  99381. get$span(receiver) {
  99382. return this.span;
  99383. }
  99384. };
  99385. A._disallowedFunctionNames_closure0.prototype = {
  99386. call$1($function) {
  99387. return $function.name;
  99388. },
  99389. $signature: 435
  99390. };
  99391. A.CssParser0.prototype = {
  99392. get$plainCss() {
  99393. return true;
  99394. },
  99395. silentComment$0() {
  99396. var t1, t2, _this = this;
  99397. if (_this._stylesheet0$_inExpression)
  99398. return false;
  99399. t1 = _this.scanner;
  99400. t2 = t1._string_scanner$_position;
  99401. _this.super$Parser$silentComment0();
  99402. _this.error$2(0, string$.Silent, t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
  99403. },
  99404. atRule$2$root(child, root) {
  99405. var $name, _0_0, _this = this,
  99406. t1 = _this.scanner,
  99407. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  99408. t1.expectChar$1(64);
  99409. $name = _this.interpolatedIdentifier$0();
  99410. _this.whitespace$1$consumeNewlines(true);
  99411. _0_0 = $name.get$asPlain();
  99412. $label0$0: {
  99413. 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)
  99414. _this._css$_forbiddenAtRule$1(start);
  99415. if ("import" === _0_0) {
  99416. t1 = _this._css$_cssImportRule$1(start);
  99417. break $label0$0;
  99418. }
  99419. if ("media" === _0_0) {
  99420. t1 = _this.mediaRule$1(start);
  99421. break $label0$0;
  99422. }
  99423. if ("-moz-document" === _0_0) {
  99424. t1 = _this.mozDocumentRule$2(start, $name);
  99425. break $label0$0;
  99426. }
  99427. if ("supports" === _0_0) {
  99428. t1 = _this.supportsRule$1(start);
  99429. break $label0$0;
  99430. }
  99431. t1 = _this.unknownAtRule$2(start, $name);
  99432. break $label0$0;
  99433. }
  99434. return t1;
  99435. },
  99436. _css$_forbiddenAtRule$1(start) {
  99437. this.almostAnyValue$0();
  99438. this.error$2(0, "This at-rule isn't allowed in plain CSS.", this.scanner.spanFrom$1(start));
  99439. },
  99440. _css$_cssImportRule$1(start) {
  99441. var _0_0, t3, string, $name, _0_3, _0_4, t4, _0_8, t5, modifiers, _this = this,
  99442. t1 = _this.scanner,
  99443. t2 = t1._string_scanner$_position,
  99444. _1_0 = t1.peekChar$0();
  99445. $label1$1: {
  99446. if (117 === _1_0 || 85 === _1_0) {
  99447. _0_0 = _this.dynamicUrl$0();
  99448. $label0$0: {
  99449. if (_0_0 instanceof A.StringExpression0) {
  99450. t3 = _0_0.text;
  99451. break $label0$0;
  99452. }
  99453. string = null;
  99454. t3 = false;
  99455. if (_0_0 instanceof A.InterpolatedFunctionExpression0) {
  99456. $name = _0_0.name;
  99457. _0_3 = _0_0.$arguments;
  99458. _0_4 = _0_3.positional;
  99459. t4 = _0_4;
  99460. if (t4.length === 1) {
  99461. _0_8 = _0_4[0];
  99462. t4 = _0_8;
  99463. if (t4 instanceof A.StringExpression0) {
  99464. type$.StringExpression_2._as(_0_8);
  99465. t4 = _0_3.named;
  99466. if (t4.get$isEmpty(t4))
  99467. if (_0_3.rest == null)
  99468. t3 = _0_3.keywordRest == null;
  99469. string = _0_8;
  99470. }
  99471. }
  99472. } else
  99473. $name = null;
  99474. if (t3) {
  99475. t3 = new A.StringBuffer("");
  99476. t4 = new A.InterpolationBuffer0(t3, A._setArrayType([], type$.JSArray_Object), A._setArrayType([], type$.JSArray_nullable_FileSpan));
  99477. t4.addInterpolation$1($name);
  99478. t5 = A.Primitives_stringFromCharCode(40);
  99479. t3._contents += t5;
  99480. t4.addInterpolation$1(string.asInterpolation$0());
  99481. t5 = A.Primitives_stringFromCharCode(41);
  99482. t3._contents += t5;
  99483. t4 = t4.interpolation$1(_0_0.span);
  99484. t3 = t4;
  99485. break $label0$0;
  99486. }
  99487. t3 = _this.error$2(0, "Unsupported plain CSS import.", _0_0.get$span(_0_0));
  99488. }
  99489. break $label1$1;
  99490. }
  99491. t3 = _this.interpolatedString$0().asInterpolation$1$static(true);
  99492. break $label1$1;
  99493. }
  99494. _this.whitespace$1$consumeNewlines(true);
  99495. modifiers = _this.tryImportModifiers$0();
  99496. _this.expectStatementSeparator$1("@import rule");
  99497. t2 = A._setArrayType([new A.StaticImport0(t3, modifiers, t1.spanFrom$1(new A._SpanScannerState(t1, t2)))], type$.JSArray_Import_2);
  99498. t1 = t1.spanFrom$1(start);
  99499. return new A.ImportRule0(A.List_List$unmodifiable(t2, type$.Import_2), t1);
  99500. },
  99501. parentheses$0() {
  99502. var expression,
  99503. t1 = this.scanner,
  99504. t2 = t1._string_scanner$_position;
  99505. t1.expectChar$1(40);
  99506. this.whitespace$1$consumeNewlines(true);
  99507. expression = this.expressionUntilComma$0();
  99508. t1.expectChar$1(41);
  99509. return new A.ParenthesizedExpression0(expression, t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
  99510. },
  99511. identifierLike$0() {
  99512. var t2, allowEmptySecondArg, $arguments, t3, t4, _this = this,
  99513. t1 = _this.scanner,
  99514. start = new A._SpanScannerState(t1, t1._string_scanner$_position),
  99515. identifier = _this.interpolatedIdentifier$0(),
  99516. plain = identifier.get$asPlain(),
  99517. lower = plain.toLowerCase(),
  99518. _0_0 = _this.trySpecialFunction$2(lower, start);
  99519. if (_0_0 != null)
  99520. return _0_0;
  99521. t2 = t1._string_scanner$_position;
  99522. if (t1.scanChar$1(46))
  99523. return _this.namespacedExpression$2(plain, start);
  99524. if (!t1.scanChar$1(40))
  99525. return new A.StringExpression0(identifier, false);
  99526. allowEmptySecondArg = lower === "var";
  99527. $arguments = A._setArrayType([], type$.JSArray_Expression_2);
  99528. if (!t1.scanChar$1(41)) {
  99529. do {
  99530. _this.whitespace$1$consumeNewlines(true);
  99531. if (allowEmptySecondArg && $arguments.length === 1 && t1.peekChar$0() === 41) {
  99532. t3 = A.FileLocation$_(t1._sourceFile, t1._string_scanner$_position);
  99533. t4 = t3.offset;
  99534. t4 = A._FileSpan$(t3.file, t4, t4);
  99535. $arguments.push(new A.StringExpression0(new A.Interpolation0(A.List_List$unmodifiable([""], type$.Object), B.List_null, t4), false));
  99536. break;
  99537. }
  99538. $arguments.push(_this.expressionUntilComma$1$singleEquals(true));
  99539. _this.whitespace$1$consumeNewlines(true);
  99540. } while (t1.scanChar$1(44));
  99541. t1.expectChar$1(41);
  99542. }
  99543. if ($.$get$_disallowedFunctionNames0().contains$1(0, plain))
  99544. _this.error$2(0, string$.This_f, t1.spanFrom$1(start));
  99545. t2 = t1.spanFrom$1(new A._SpanScannerState(t1, t2));
  99546. t3 = type$.Expression_2;
  99547. t4 = A.List_List$unmodifiable($arguments, t3);
  99548. t3 = A.ConstantMap_ConstantMap$from(B.Map_empty14, type$.String, t3);
  99549. t1 = t1.spanFrom$1(start);
  99550. return new A.FunctionExpression0(null, A.stringReplaceAllUnchecked(plain, "_", "-"), plain, new A.ArgumentList0(t4, t3, null, null, t2), t1);
  99551. },
  99552. namespacedExpression$2(namespace, start) {
  99553. var expression = this.super$StylesheetParser$namespacedExpression0(namespace, start);
  99554. this.error$2(0, string$.Modulen, expression.get$span(expression));
  99555. }
  99556. };
  99557. A.DebugRule0.prototype = {
  99558. accept$1$1(visitor) {
  99559. return visitor.visitDebugRule$1(0, this);
  99560. },
  99561. accept$1(visitor) {
  99562. return this.accept$1$1(visitor, type$.dynamic);
  99563. },
  99564. toString$0(_) {
  99565. return "@debug " + this.expression.toString$0(0) + ";";
  99566. },
  99567. get$span(receiver) {
  99568. return this.span;
  99569. }
  99570. };
  99571. A.ModifiableCssDeclaration0.prototype = {
  99572. accept$1$1(visitor) {
  99573. return visitor.visitCssDeclaration$1(this);
  99574. },
  99575. accept$1(visitor) {
  99576. return this.accept$1$1(visitor, type$.dynamic);
  99577. },
  99578. toString$0(_) {
  99579. return this.name.toString$0(0) + ": " + this.value.toString$0(0) + ";";
  99580. },
  99581. get$span(receiver) {
  99582. return this.span;
  99583. }
  99584. };
  99585. A.Declaration0.prototype = {
  99586. accept$1$1(visitor) {
  99587. return visitor.visitDeclaration$1(0, this);
  99588. },
  99589. accept$1(visitor) {
  99590. return this.accept$1$1(visitor, type$.dynamic);
  99591. },
  99592. toString$0(_) {
  99593. var t3, _0_0,
  99594. buffer = new A.StringBuffer(""),
  99595. t1 = this.name,
  99596. t2 = "" + t1.toString$0(0);
  99597. buffer._contents = t2;
  99598. t2 = buffer._contents = t2 + A.Primitives_stringFromCharCode(58);
  99599. t3 = this.value;
  99600. if (t3 != null) {
  99601. t1 = !B.JSString_methods.startsWith$1(t1.get$initialPlain(), "--") ? buffer._contents = t2 + A.Primitives_stringFromCharCode(32) : t2;
  99602. buffer._contents = t1 + t3.toString$0(0);
  99603. }
  99604. _0_0 = this.children;
  99605. if (_0_0 != null)
  99606. return buffer.toString$0(0) + " {" + B.JSArray_methods.join$1(_0_0, " ") + "}";
  99607. else
  99608. return buffer.toString$0(0) + ";";
  99609. },
  99610. get$span(receiver) {
  99611. return this.span;
  99612. }
  99613. };
  99614. A.SupportsDeclaration0.prototype = {
  99615. get$isCustomProperty() {
  99616. var t1,
  99617. _0_0 = this.name;
  99618. $label0$0: {
  99619. if (_0_0 instanceof A.StringExpression0 && !_0_0.hasQuotes) {
  99620. t1 = B.JSString_methods.startsWith$1(_0_0.text.get$initialPlain(), "--");
  99621. break $label0$0;
  99622. }
  99623. t1 = false;
  99624. break $label0$0;
  99625. }
  99626. return t1;
  99627. },
  99628. toInterpolation$0() {
  99629. var visitor, _1_0, _null = null,
  99630. t1 = new A.StringBuffer(""),
  99631. t2 = type$.JSArray_Object,
  99632. t3 = type$.JSArray_nullable_FileSpan,
  99633. buffer = new A.InterpolationBuffer0(t1, A._setArrayType([], t2), A._setArrayType([], t3)),
  99634. t4 = this.span,
  99635. t5 = this.name,
  99636. t6 = A.SpanExtensions_before(t4, t5.get$span(t5));
  99637. t6 = A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t6.file._decodedChars, t6._file$_start, t6._end), 0, _null);
  99638. t1._contents += t6;
  99639. if (t5 instanceof A.StringExpression0 && !t5.hasQuotes)
  99640. buffer.addInterpolation$1(t5.text);
  99641. else
  99642. buffer.add$2(0, t5, t5.get$span(t5));
  99643. t6 = this.value;
  99644. t5 = A.SpanExtensions_between(t5.get$span(t5), t6.get$span(t6));
  99645. t5 = A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t5.file._decodedChars, t5._file$_start, t5._end), 0, _null);
  99646. t1._contents += t5;
  99647. visitor = new A.SourceInterpolationVisitor(new A.InterpolationBuffer0(new A.StringBuffer(""), A._setArrayType([], t2), A._setArrayType([], t3)));
  99648. t6.accept$1(visitor);
  99649. t3 = visitor.buffer;
  99650. _1_0 = t3 == null ? _null : t3.interpolation$1(t6.get$span(t6));
  99651. if (_1_0 != null)
  99652. buffer.addInterpolation$1(_1_0);
  99653. else
  99654. buffer.add$2(0, t6, t6.get$span(t6));
  99655. t2 = A.SpanExtensions_after(t4, t6.get$span(t6));
  99656. t2 = A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t2.file._decodedChars, t2._file$_start, t2._end), 0, _null);
  99657. t1._contents += t2;
  99658. return buffer.interpolation$1(t4);
  99659. },
  99660. withSpan$1(span) {
  99661. return new A.SupportsDeclaration0(this.name, this.value, span);
  99662. },
  99663. toString$0(_) {
  99664. return "(" + this.name.toString$0(0) + ": " + this.value.toString$0(0) + ")";
  99665. },
  99666. $isAstNode0: 1,
  99667. $isSassNode: 1,
  99668. $isSupportsCondition: 1,
  99669. get$span(receiver) {
  99670. return this.span;
  99671. }
  99672. };
  99673. A.Deprecation0.prototype = {
  99674. _enumToString$0() {
  99675. return "Deprecation." + this._name;
  99676. },
  99677. get$deprecatedIn(_) {
  99678. return A.NullableExtension_andThen0(this._deprecation$_deprecatedIn, A.version_Version___parse_tearOff$closure());
  99679. },
  99680. get$obsoleteIn(_) {
  99681. return null;
  99682. },
  99683. toString$0(_) {
  99684. return this.id;
  99685. }
  99686. };
  99687. A.Deprecation_fromId_closure0.prototype = {
  99688. call$1(deprecation) {
  99689. return deprecation.id === this.id;
  99690. },
  99691. $signature: 436
  99692. };
  99693. A.DeprecationProcessingLogger0.prototype = {
  99694. validate$0() {
  99695. var t1, t2, t3, t4, t5, _this = this, _null = null;
  99696. 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();) {
  99697. t4 = t1._collection$_current;
  99698. if (t4 == null)
  99699. t4 = t3._as(t4);
  99700. t5 = t2.contains$1(0, t4);
  99701. if (t5) {
  99702. t4 = t4.toString$0(0);
  99703. _this.internalWarn$4$deprecation$span$trace("Ignoring setting to silence " + t4 + string$.x20deprex2c, _null, _null, _null);
  99704. continue;
  99705. }
  99706. }
  99707. for (t1 = A._LinkedHashSetIterator$(t2, t2._collection$_modifications, A._instanceType(t2)._precomputed1), t2 = t1.$ti._precomputed1, t3 = _this.futureDeprecations; t1.moveNext$0();) {
  99708. t4 = t1._collection$_current;
  99709. if (B.Deprecation_ZVM === (t4 == null ? t2._as(t4) : t4)) {
  99710. _this.internalWarn$4$deprecation$span$trace(string$.User_a, _null, _null, _null);
  99711. continue;
  99712. }
  99713. }
  99714. for (t1 = A._LinkedHashSetIterator$(t3, t3._collection$_modifications, A._instanceType(t3)._precomputed1), t2 = t1.$ti._precomputed1; t1.moveNext$0();) {
  99715. t3 = t1._collection$_current;
  99716. t3 = (t3 == null ? t2._as(t3) : t3).toString$0(0);
  99717. _this.internalWarn$4$deprecation$span$trace(t3 + string$.x20is_noaf, _null, _null, _null);
  99718. }
  99719. },
  99720. internalWarn$4$deprecation$span$trace(message, deprecation, span, trace) {
  99721. if (deprecation != null)
  99722. this._deprecation_processing$_handleDeprecation$4$span$trace(deprecation, message, span, trace);
  99723. else
  99724. this._deprecation_processing$_inner.internalWarn$4$deprecation$span$trace(message, null, span, trace);
  99725. },
  99726. _deprecation_processing$_handleDeprecation$4$span$trace(deprecation, message, span, trace) {
  99727. var _0_3_isSet, _0_3, t1, span0, t2, count, _this = this, _null = null;
  99728. if (_this.fatalDeprecations.contains$1(0, deprecation)) {
  99729. message += string$.x0a_This + deprecation.toString$0(0) + string$.x20deprex20;
  99730. $label0$0: {
  99731. _0_3_isSet = span != null;
  99732. _0_3 = _null;
  99733. t1 = false;
  99734. if (_0_3_isSet) {
  99735. span0 = span == null ? type$.FileSpan._as(span) : span;
  99736. t1 = trace != null;
  99737. _0_3 = trace;
  99738. } else
  99739. span0 = _null;
  99740. if (t1) {
  99741. if (_0_3_isSet)
  99742. trace = _0_3;
  99743. t1 = A.SassRuntimeException$0(message, span0, trace == null ? type$.Trace._as(trace) : trace, _null);
  99744. break $label0$0;
  99745. }
  99746. t1 = false;
  99747. if (span != null)
  99748. t1 = (_0_3_isSet ? _0_3 : trace) == null;
  99749. else
  99750. span = _null;
  99751. if (t1) {
  99752. t1 = A.SassException$0(message, span, _null);
  99753. break $label0$0;
  99754. }
  99755. t1 = A.SassScriptException$0(message, _null);
  99756. break $label0$0;
  99757. }
  99758. throw A.wrapException(t1);
  99759. }
  99760. if (_this.silenceDeprecations.contains$1(0, deprecation))
  99761. return;
  99762. if (_this.limitRepetition) {
  99763. t1 = _this._deprecation_processing$_warningCounts;
  99764. t2 = t1.$index(0, deprecation);
  99765. count = (t2 == null ? 0 : t2) + 1;
  99766. t1.$indexSet(0, deprecation, count);
  99767. if (count > 5)
  99768. return;
  99769. }
  99770. _this._deprecation_processing$_inner.internalWarn$4$deprecation$span$trace(message, deprecation, span, trace);
  99771. },
  99772. debug$2(_, message, span) {
  99773. return this._deprecation_processing$_inner.debug$2(0, message, span);
  99774. },
  99775. summarize$1$js(js) {
  99776. var t1 = this._deprecation_processing$_warningCounts,
  99777. t2 = A._instanceType(t1)._eval$1("LinkedHashMapValuesIterable<2>"),
  99778. 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>")));
  99779. if (total > 0) {
  99780. t1 = js ? "" : string$.x0aRun_i;
  99781. this._deprecation_processing$_inner.internalWarn$4$deprecation$span$trace("" + total + string$.x20repet + t1, null, null, null);
  99782. }
  99783. }
  99784. };
  99785. A.DeprecationProcessingLogger_summarize_closure1.prototype = {
  99786. call$1(count) {
  99787. return count > 5;
  99788. },
  99789. $signature: 47
  99790. };
  99791. A.DeprecationProcessingLogger_summarize_closure2.prototype = {
  99792. call$1(count) {
  99793. return count - 5;
  99794. },
  99795. $signature: 157
  99796. };
  99797. A.Deprecation1.prototype = {};
  99798. A.deprecations_closure.prototype = {
  99799. call$0() {
  99800. var _0_8_isSet, _0_8, t1,
  99801. _0_0 = this.deprecation;
  99802. $label0$0: {
  99803. _0_8_isSet = A.NullableExtension_andThen0(_0_0._deprecation$_deprecatedIn, A.version_Version___parse_tearOff$closure()) == null;
  99804. if (_0_8_isSet) {
  99805. _0_8 = _0_0.get$obsoleteIn(0) == null;
  99806. t1 = _0_8;
  99807. } else {
  99808. _0_8 = null;
  99809. t1 = false;
  99810. }
  99811. if (t1) {
  99812. t1 = "user";
  99813. break $label0$0;
  99814. }
  99815. if (_0_8_isSet ? _0_8 : _0_0.get$obsoleteIn(0) == null) {
  99816. t1 = "active";
  99817. break $label0$0;
  99818. }
  99819. t1 = "obsolete";
  99820. break $label0$0;
  99821. }
  99822. return t1;
  99823. },
  99824. $signature: 27
  99825. };
  99826. A.parseDeprecations_closure.prototype = {
  99827. call$0() {
  99828. return new A._SyncStarIterable(this.$call$body$parseDeprecations_closure(), type$._SyncStarIterable_Deprecation);
  99829. },
  99830. $call$body$parseDeprecations_closure() {
  99831. var $async$self = this;
  99832. return function() {
  99833. var $async$goto = 0, $async$handler = 1, $async$errorStack = [], t1, t2, t3, t4, item, t5, id, deprecation, version;
  99834. return function $async$call$0($async$iterator, $async$errorCode, $async$result) {
  99835. if ($async$errorCode === 1) {
  99836. $async$errorStack.push($async$result);
  99837. $async$goto = $async$handler;
  99838. }
  99839. while (true)
  99840. switch ($async$goto) {
  99841. case 0:
  99842. // Function start
  99843. t1 = J.get$iterator$ax($async$self.deprecations), t2 = type$.Deprecation_2, t3 = $async$self.supportVersions, t4 = $async$self.logger;
  99844. case 2:
  99845. // for condition
  99846. if (!t1.moveNext$0()) {
  99847. // goto after for
  99848. $async$goto = 3;
  99849. break;
  99850. }
  99851. item = t1.get$current(t1);
  99852. t5 = typeof item == "string";
  99853. id = t5 ? item : null;
  99854. $async$goto = t5 ? 4 : 5;
  99855. break;
  99856. case 4:
  99857. // then
  99858. deprecation = A.Deprecation_fromId0(id);
  99859. $async$goto = deprecation == null ? 6 : 8;
  99860. break;
  99861. case 6:
  99862. // then
  99863. t4.internalWarn$4$deprecation$span$trace('Invalid deprecation "' + A.S(id) + '".', null, null, null);
  99864. // goto join
  99865. $async$goto = 7;
  99866. break;
  99867. case 8:
  99868. // else
  99869. $async$goto = 9;
  99870. return $async$iterator._async$_current = deprecation, 1;
  99871. case 9:
  99872. // after yield
  99873. case 7:
  99874. // join
  99875. // goto for condition
  99876. $async$goto = 2;
  99877. break;
  99878. case 5:
  99879. // join
  99880. t5 = t2._is(item);
  99881. id = t5 ? J.get$id$x(item) : null;
  99882. $async$goto = t5 ? 10 : 11;
  99883. break;
  99884. case 10:
  99885. // then
  99886. deprecation = A.Deprecation_fromId0(id);
  99887. $async$goto = deprecation == null ? 12 : 14;
  99888. break;
  99889. case 12:
  99890. // then
  99891. t4.internalWarn$4$deprecation$span$trace('Invalid deprecation "' + A.S(id) + '".', null, null, null);
  99892. // goto join
  99893. $async$goto = 13;
  99894. break;
  99895. case 14:
  99896. // else
  99897. $async$goto = 15;
  99898. return $async$iterator._async$_current = deprecation, 1;
  99899. case 15:
  99900. // after yield
  99901. case 13:
  99902. // join
  99903. // goto for condition
  99904. $async$goto = 2;
  99905. break;
  99906. case 11:
  99907. // join
  99908. if (item instanceof A.Version) {
  99909. t5 = t3;
  99910. version = item;
  99911. } else {
  99912. version = null;
  99913. t5 = false;
  99914. }
  99915. $async$goto = t5 ? 16 : 17;
  99916. break;
  99917. case 16:
  99918. // then
  99919. $async$goto = 18;
  99920. return $async$iterator._yieldStar$1(A.Deprecation_forVersion0(version));
  99921. case 18:
  99922. // after yield
  99923. case 17:
  99924. // join
  99925. // goto for condition
  99926. $async$goto = 2;
  99927. break;
  99928. case 3:
  99929. // after for
  99930. // implicit return
  99931. return 0;
  99932. case 1:
  99933. // rethrow
  99934. return $async$iterator._datum = $async$errorStack.at(-1), 3;
  99935. }
  99936. };
  99937. };
  99938. },
  99939. $signature: 437
  99940. };
  99941. A.versionClass_closure.prototype = {
  99942. call$0() {
  99943. var t1 = type$.JSClass,
  99944. jsClass = t1._as(A.allowInteropCaptureThisNamed("sass.Version", new A.versionClass__closure()));
  99945. jsClass.parse = A.allowInteropNamed("parse", new A.versionClass__closure0());
  99946. A.JSClassExtension_injectSuperclass(t1._as(A.Version_Version(0, 0, 0, null).constructor), jsClass);
  99947. return jsClass;
  99948. },
  99949. $signature: 15
  99950. };
  99951. A.versionClass__closure.prototype = {
  99952. call$4($self, major, minor, patch) {
  99953. return A.Version_Version(major, minor, patch, null);
  99954. },
  99955. "call*": "call$4",
  99956. $requiredArgCount: 4,
  99957. $signature: 438
  99958. };
  99959. A.versionClass__closure0.prototype = {
  99960. call$1(version) {
  99961. var v = A.Version_Version$parse(version);
  99962. if (v.preRelease.length !== 0 || v.build.length !== 0)
  99963. throw A.wrapException(A.FormatException$("Build identifiers and prerelease versions not supported.", null, null));
  99964. return v;
  99965. },
  99966. $signature: 233
  99967. };
  99968. A.DisplayP3ColorSpace0.prototype = {
  99969. get$isBoundedInternal() {
  99970. return true;
  99971. },
  99972. toLinear$1(channel) {
  99973. return A.srgbAndDisplayP3ToLinear0(channel);
  99974. },
  99975. fromLinear$1(channel) {
  99976. return A.srgbAndDisplayP3FromLinear0(channel);
  99977. },
  99978. transformationMatrix$1(dest) {
  99979. var t1;
  99980. $label0$0: {
  99981. if (B.SrgbLinearColorSpace_kUj0 === dest || B.SrgbColorSpace_thf0 === dest || B.RgbColorSpace_i0P0 === dest) {
  99982. t1 = $.$get$linearDisplayP3ToLinearSrgb0();
  99983. break $label0$0;
  99984. }
  99985. if (B.A98RgbColorSpace_lf20 === dest) {
  99986. t1 = $.$get$linearDisplayP3ToLinearA98Rgb0();
  99987. break $label0$0;
  99988. }
  99989. if (B.ProphotoRgbColorSpace_BDz0 === dest) {
  99990. t1 = $.$get$linearDisplayP3ToLinearProphotoRgb0();
  99991. break $label0$0;
  99992. }
  99993. if (B.Rec2020ColorSpace_6oo0 === dest) {
  99994. t1 = $.$get$linearDisplayP3ToLinearRec20200();
  99995. break $label0$0;
  99996. }
  99997. if (B.XyzD65ColorSpace_WiJ0 === dest) {
  99998. t1 = $.$get$linearDisplayP3ToXyzD650();
  99999. break $label0$0;
  100000. }
  100001. if (B.XyzD50ColorSpace_2OB0 === dest) {
  100002. t1 = $.$get$linearDisplayP3ToXyzD500();
  100003. break $label0$0;
  100004. }
  100005. if (B.LmsColorSpace_Os30 === dest) {
  100006. t1 = $.$get$linearDisplayP3ToLms0();
  100007. break $label0$0;
  100008. }
  100009. t1 = this.super$ColorSpace$transformationMatrix0(dest);
  100010. break $label0$0;
  100011. }
  100012. return t1;
  100013. }
  100014. };
  100015. A.DynamicImport0.prototype = {
  100016. toString$0(_) {
  100017. return A.StringExpression_quoteText0(this.urlString);
  100018. },
  100019. $isImport0: 1,
  100020. $isAstNode0: 1,
  100021. $isSassNode: 1,
  100022. get$span(receiver) {
  100023. return this.span;
  100024. }
  100025. };
  100026. A.EachRule0.prototype = {
  100027. accept$1$1(visitor) {
  100028. return visitor.visitEachRule$1(0, this);
  100029. },
  100030. accept$1(visitor) {
  100031. return this.accept$1$1(visitor, type$.dynamic);
  100032. },
  100033. toString$0(_) {
  100034. var t1 = this.variables,
  100035. t2 = this.children;
  100036. 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, " ") + "}";
  100037. },
  100038. get$span(receiver) {
  100039. return this.span;
  100040. }
  100041. };
  100042. A.EachRule_toString_closure0.prototype = {
  100043. call$1(variable) {
  100044. return "$" + variable;
  100045. },
  100046. $signature: 6
  100047. };
  100048. A.EmptyExtensionStore0.prototype = {
  100049. get$_extension_store$_extensions() {
  100050. return A.throwExpression(A.NoSuchMethodError_NoSuchMethodError$withInvocation(this, A.JSInvocationMirror$(B.Symbol__extensions, "get$_empty_extension_store0$_extensions", 1, [], [], 0)));
  100051. },
  100052. get$_extension_store$_sourceSpecificity() {
  100053. return A.throwExpression(A.NoSuchMethodError_NoSuchMethodError$withInvocation(this, A.JSInvocationMirror$(B.Symbol__sourceSpecificity, "get$_empty_extension_store0$_sourceSpecificity", 1, [], [], 0)));
  100054. },
  100055. get$isEmpty(_) {
  100056. return true;
  100057. },
  100058. get$simpleSelectors() {
  100059. return B.C_EmptyUnmodifiableSet0;
  100060. },
  100061. extensionsWhereTarget$1(callback) {
  100062. return B.List_empty20;
  100063. },
  100064. addSelector$2(selector, mediaContext) {
  100065. throw A.wrapException(A.UnsupportedError$("addSelector() can't be called for a const ExtensionStore."));
  100066. },
  100067. addExtension$4(extender, target, extend, mediaContext) {
  100068. throw A.wrapException(A.UnsupportedError$("addExtension() can't be called for a const ExtensionStore."));
  100069. },
  100070. addExtensions$1(extenders) {
  100071. throw A.wrapException(A.UnsupportedError$(string$.addExt));
  100072. },
  100073. clone$0() {
  100074. return B.Record2_EmptyExtensionStore_Map_empty0;
  100075. },
  100076. $isExtensionStore0: 1
  100077. };
  100078. A.Environment0.prototype = {
  100079. closure$0() {
  100080. var t4, t5, t6, _this = this,
  100081. t1 = _this._environment0$_forwardedModules,
  100082. t2 = _this._environment0$_nestedForwardedModules,
  100083. t3 = _this._environment0$_variables;
  100084. t3 = A._setArrayType(t3.slice(0), A._arrayInstanceType(t3));
  100085. t4 = _this._environment0$_variableNodes;
  100086. t4 = A._setArrayType(t4.slice(0), A._arrayInstanceType(t4));
  100087. t5 = _this._environment0$_functions;
  100088. t5 = A._setArrayType(t5.slice(0), A._arrayInstanceType(t5));
  100089. t6 = _this._environment0$_mixins;
  100090. t6 = A._setArrayType(t6.slice(0), A._arrayInstanceType(t6));
  100091. 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, B.Set_empty1);
  100092. },
  100093. forwardModule$2(module, rule) {
  100094. var view, t1, t2, _this = this,
  100095. forwardedModules = _this._environment0$_forwardedModules;
  100096. if (forwardedModules == null)
  100097. forwardedModules = _this._environment0$_forwardedModules = A.LinkedHashMap_LinkedHashMap$_empty(type$.Module_Callable_2, type$.AstNode_2);
  100098. view = A.ForwardedModuleView_ifNecessary0(module, rule, type$.Callable_2);
  100099. for (t1 = new A.LinkedHashMapKeyIterator(forwardedModules, forwardedModules._modifications, forwardedModules._first); t1.moveNext$0();) {
  100100. t2 = t1.__js_helper$_current;
  100101. _this._environment0$_assertNoConflicts$5(view.get$variables(), t2.get$variables(), view, t2, "variable");
  100102. _this._environment0$_assertNoConflicts$5(view.get$functions(view), t2.get$functions(t2), view, t2, "function");
  100103. _this._environment0$_assertNoConflicts$5(view.get$mixins(), t2.get$mixins(), view, t2, "mixin");
  100104. }
  100105. _this._environment0$_allModules.push(module);
  100106. forwardedModules.$indexSet(0, view, rule);
  100107. },
  100108. _environment0$_assertNoConflicts$5(newMembers, oldMembers, newModule, oldModule, type) {
  100109. var larger, smaller, t1, t2, t3, t4, $name, small, large, span;
  100110. if (newMembers.get$length(newMembers) < oldMembers.get$length(oldMembers)) {
  100111. larger = oldMembers;
  100112. smaller = newMembers;
  100113. } else {
  100114. larger = newMembers;
  100115. smaller = oldMembers;
  100116. }
  100117. for (t1 = type$.String, t2 = A.MapExtensions_get_pairs0(smaller, t1, type$.Object), t2 = t2.get$iterator(t2), t3 = type === "variable"; t2.moveNext$0();) {
  100118. t4 = t2.get$current(t2);
  100119. $name = t4._0;
  100120. small = t4._1;
  100121. large = larger.$index(0, $name);
  100122. if (large == null)
  100123. continue;
  100124. if (t3 ? newModule.variableIdentity$1($name) === oldModule.variableIdentity$1($name) : J.$eq$(large, small))
  100125. continue;
  100126. if (t3)
  100127. $name = "$" + $name;
  100128. t2 = this._environment0$_forwardedModules;
  100129. if (t2 == null)
  100130. span = null;
  100131. else {
  100132. t2 = t2.$index(0, oldModule);
  100133. span = t2 == null ? null : t2.get$span(t2);
  100134. }
  100135. t2 = A.LinkedHashMap_LinkedHashMap$_empty(type$.FileSpan, t1);
  100136. if (span != null)
  100137. t2.$indexSet(0, span, "original @forward");
  100138. throw A.wrapException(A.MultiSpanSassScriptException$0("Two forwarded modules both define a " + type + " named " + $name + ".", "new @forward", t2));
  100139. }
  100140. },
  100141. importForwards$1(module) {
  100142. var forwardedModules, t1, t2, t3, t4, node, t5, t6, t7, t8, t9, t10, _i, t11, shadowed, t12, t13, _length, _list, _this = this,
  100143. forwarded = module._environment0$_environment._environment0$_forwardedModules;
  100144. if (forwarded == null)
  100145. return;
  100146. forwardedModules = _this._environment0$_forwardedModules;
  100147. if (forwardedModules != null) {
  100148. t1 = type$.Module_Callable_2;
  100149. t2 = type$.AstNode_2;
  100150. t3 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t2);
  100151. for (t1 = A.MapExtensions_get_pairs0(forwarded, t1, t2), t1 = t1.get$iterator(t1), t2 = _this._environment0$_globalModules; t1.moveNext$0();) {
  100152. t4 = t1.get$current(t1);
  100153. module = t4._0;
  100154. node = t4._1;
  100155. if (!forwardedModules.containsKey$1(module) || !t2.containsKey$1(module))
  100156. t3.$indexSet(0, module, node);
  100157. }
  100158. forwarded = t3;
  100159. } else
  100160. forwardedModules = _this._environment0$_forwardedModules = A.LinkedHashMap_LinkedHashMap$_empty(type$.Module_Callable_2, type$.AstNode_2);
  100161. t1 = type$.String;
  100162. t2 = A.LinkedHashSet_LinkedHashSet$_empty(t1);
  100163. for (t3 = new A.LinkedHashMapKeyIterator(forwarded, forwarded._modifications, forwarded._first); t3.moveNext$0();)
  100164. for (t4 = t3.__js_helper$_current.get$variables(), t4 = J.get$iterator$ax(t4.get$keys(t4)); t4.moveNext$0();)
  100165. t2.add$1(0, t4.get$current(t4));
  100166. t3 = A.LinkedHashSet_LinkedHashSet$_empty(t1);
  100167. for (t4 = new A.LinkedHashMapKeyIterator(forwarded, forwarded._modifications, forwarded._first); t4.moveNext$0();) {
  100168. t5 = t4.__js_helper$_current;
  100169. for (t5 = t5.get$functions(t5), t5 = J.get$iterator$ax(t5.get$keys(t5)); t5.moveNext$0();)
  100170. t3.add$1(0, t5.get$current(t5));
  100171. }
  100172. t1 = A.LinkedHashSet_LinkedHashSet$_empty(t1);
  100173. for (t4 = new A.LinkedHashMapKeyIterator(forwarded, forwarded._modifications, forwarded._first); t4.moveNext$0();)
  100174. for (t5 = t4.__js_helper$_current.get$mixins(), t5 = J.get$iterator$ax(t5.get$keys(t5)); t5.moveNext$0();)
  100175. t1.add$1(0, t5.get$current(t5));
  100176. t4 = _this._environment0$_variables;
  100177. t5 = t4.length;
  100178. if (t5 === 1) {
  100179. 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) {
  100180. t11 = t8[_i];
  100181. module = t11._0;
  100182. shadowed = A.ShadowedModuleView_ifNecessary0(module, t3, t1, t2, t10);
  100183. if (shadowed != null) {
  100184. t5.remove$1(0, module);
  100185. t12 = shadowed.variables;
  100186. t13 = false;
  100187. if (t12.get$isEmpty(t12)) {
  100188. t12 = shadowed.functions;
  100189. if (t12.get$isEmpty(t12)) {
  100190. t12 = shadowed.mixins;
  100191. if (t12.get$isEmpty(t12)) {
  100192. t12 = shadowed._shadowed_view0$_inner;
  100193. t12 = t12.get$css(t12);
  100194. t12 = J.get$isEmpty$asx(t12.get$children(t12));
  100195. } else
  100196. t12 = t13;
  100197. } else
  100198. t12 = t13;
  100199. } else
  100200. t12 = t13;
  100201. if (!t12)
  100202. t5.$indexSet(0, shadowed, t11._1);
  100203. }
  100204. }
  100205. 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) {
  100206. t8 = t6[_i];
  100207. module = t8._0;
  100208. shadowed = A.ShadowedModuleView_ifNecessary0(module, t3, t1, t2, t10);
  100209. if (shadowed != null) {
  100210. forwardedModules.remove$1(0, module);
  100211. t9 = shadowed.variables;
  100212. t11 = false;
  100213. if (t9.get$isEmpty(t9)) {
  100214. t9 = shadowed.functions;
  100215. if (t9.get$isEmpty(t9)) {
  100216. t9 = shadowed.mixins;
  100217. if (t9.get$isEmpty(t9)) {
  100218. t9 = shadowed._shadowed_view0$_inner;
  100219. t9 = t9.get$css(t9);
  100220. t9 = J.get$isEmpty$asx(t9.get$children(t9));
  100221. } else
  100222. t9 = t11;
  100223. } else
  100224. t9 = t11;
  100225. } else
  100226. t9 = t11;
  100227. if (!t9)
  100228. forwardedModules.$indexSet(0, shadowed, t8._1);
  100229. }
  100230. }
  100231. t5.addAll$1(0, forwarded);
  100232. forwardedModules.addAll$1(0, forwarded);
  100233. } else {
  100234. t6 = _this._environment0$_nestedForwardedModules;
  100235. if (t6 == null) {
  100236. _length = t5 - 1;
  100237. _list = J.JSArray_JSArray$allocateGrowable(_length, type$.List_Module_Callable_2);
  100238. for (t5 = type$.JSArray_Module_Callable_2, _i = 0; _i < _length; ++_i)
  100239. _list[_i] = A._setArrayType([], t5);
  100240. _this._environment0$_nestedForwardedModules = _list;
  100241. t5 = _list;
  100242. } else
  100243. t5 = t6;
  100244. B.JSArray_methods.addAll$1(B.JSArray_methods.get$last(t5), new A.LinkedHashMapKeysIterable(forwarded, A._instanceType(forwarded)._eval$1("LinkedHashMapKeysIterable<1>")));
  100245. }
  100246. 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();) {
  100247. t8 = t2._collection$_current;
  100248. if (t8 == null)
  100249. t8 = t7._as(t8);
  100250. t5.remove$1(0, t8);
  100251. J.remove$1$z(B.JSArray_methods.get$last(t4), t8);
  100252. J.remove$1$z(B.JSArray_methods.get$last(t6), t8);
  100253. }
  100254. 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();) {
  100255. t6 = t2._collection$_current;
  100256. if (t6 == null)
  100257. t6 = t5._as(t6);
  100258. t3.remove$1(0, t6);
  100259. J.remove$1$z(B.JSArray_methods.get$last(t4), t6);
  100260. }
  100261. 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();) {
  100262. t5 = t1._collection$_current;
  100263. if (t5 == null)
  100264. t5 = t4._as(t5);
  100265. t2.remove$1(0, t5);
  100266. J.remove$1$z(B.JSArray_methods.get$last(t3), t5);
  100267. }
  100268. },
  100269. getVariable$2$namespace($name, namespace) {
  100270. var t1, _0_0, _1_0, _this = this;
  100271. if (namespace != null)
  100272. return _this._environment0$_getModule$1(namespace).get$variables().$index(0, $name);
  100273. if (_this._environment0$_lastVariableName === $name) {
  100274. t1 = _this._environment0$_lastVariableIndex;
  100275. t1.toString;
  100276. t1 = _this._environment0$_variables[t1].$index(0, $name);
  100277. return t1 == null ? _this._environment0$_getVariableFromGlobalModule$1($name) : t1;
  100278. }
  100279. t1 = _this._environment0$_variableIndices;
  100280. _0_0 = t1.$index(0, $name);
  100281. if (_0_0 != null) {
  100282. _this._environment0$_lastVariableName = $name;
  100283. _this._environment0$_lastVariableIndex = _0_0;
  100284. t1 = _this._environment0$_variables[_0_0].$index(0, $name);
  100285. return t1 == null ? _this._environment0$_getVariableFromGlobalModule$1($name) : t1;
  100286. } else {
  100287. _1_0 = _this._environment0$_variableIndex$1($name);
  100288. if (_1_0 != null) {
  100289. _this._environment0$_lastVariableName = $name;
  100290. _this._environment0$_lastVariableIndex = _1_0;
  100291. t1.$indexSet(0, $name, _1_0);
  100292. t1 = _this._environment0$_variables[_1_0].$index(0, $name);
  100293. return t1 == null ? _this._environment0$_getVariableFromGlobalModule$1($name) : t1;
  100294. } else
  100295. return _this._environment0$_getVariableFromGlobalModule$1($name);
  100296. }
  100297. },
  100298. getVariable$1($name) {
  100299. return this.getVariable$2$namespace($name, null);
  100300. },
  100301. _environment0$_getVariableFromGlobalModule$1($name) {
  100302. return this._environment0$_fromOneModule$3($name, "variable", new A.Environment__getVariableFromGlobalModule_closure0($name));
  100303. },
  100304. getVariableNode$2$namespace($name, namespace) {
  100305. var t1, _0_0, _1_0, _this = this;
  100306. if (namespace != null)
  100307. return _this._environment0$_getModule$1(namespace).get$variableNodes().$index(0, $name);
  100308. if (_this._environment0$_lastVariableName === $name) {
  100309. t1 = _this._environment0$_lastVariableIndex;
  100310. t1.toString;
  100311. t1 = _this._environment0$_variableNodes[t1].$index(0, $name);
  100312. return t1 == null ? _this._environment0$_getVariableNodeFromGlobalModule$1($name) : t1;
  100313. }
  100314. t1 = _this._environment0$_variableIndices;
  100315. _0_0 = t1.$index(0, $name);
  100316. if (_0_0 != null) {
  100317. _this._environment0$_lastVariableName = $name;
  100318. _this._environment0$_lastVariableIndex = _0_0;
  100319. t1 = _this._environment0$_variableNodes[_0_0].$index(0, $name);
  100320. return t1 == null ? _this._environment0$_getVariableNodeFromGlobalModule$1($name) : t1;
  100321. } else {
  100322. _1_0 = _this._environment0$_variableIndex$1($name);
  100323. if (_1_0 != null) {
  100324. _this._environment0$_lastVariableName = $name;
  100325. _this._environment0$_lastVariableIndex = _1_0;
  100326. t1.$indexSet(0, $name, _1_0);
  100327. t1 = _this._environment0$_variableNodes[_1_0].$index(0, $name);
  100328. return t1 == null ? _this._environment0$_getVariableNodeFromGlobalModule$1($name) : t1;
  100329. } else
  100330. return _this._environment0$_getVariableNodeFromGlobalModule$1($name);
  100331. }
  100332. },
  100333. _environment0$_getVariableNodeFromGlobalModule$1($name) {
  100334. var t1, t2, _0_0;
  100335. 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();) {
  100336. t1 = t2._currentIterator;
  100337. _0_0 = t1.get$current(t1).get$variableNodes().$index(0, $name);
  100338. if (_0_0 != null)
  100339. return _0_0;
  100340. }
  100341. return null;
  100342. },
  100343. globalVariableExists$2$namespace($name, namespace) {
  100344. if (namespace != null)
  100345. return this._environment0$_getModule$1(namespace).get$variables().containsKey$1($name);
  100346. if (B.JSArray_methods.get$first(this._environment0$_variables).containsKey$1($name))
  100347. return true;
  100348. return this._environment0$_getVariableFromGlobalModule$1($name) != null;
  100349. },
  100350. globalVariableExists$1($name) {
  100351. return this.globalVariableExists$2$namespace($name, null);
  100352. },
  100353. _environment0$_variableIndex$1($name) {
  100354. var t1, i;
  100355. for (t1 = this._environment0$_variables, i = t1.length - 1; i >= 0; --i)
  100356. if (t1[i].containsKey$1($name))
  100357. return i;
  100358. return null;
  100359. },
  100360. setVariable$5$global$namespace($name, value, nodeWithSpan, global, namespace) {
  100361. var t1, moduleWithName, nestedForwardedModules, t2, t3, t4, t5, index, _this = this;
  100362. if (namespace != null) {
  100363. _this._environment0$_getModule$1(namespace).setVariable$3($name, value, nodeWithSpan);
  100364. return;
  100365. }
  100366. if (global || _this._environment0$_variables.length === 1) {
  100367. _this._environment0$_variableIndices.putIfAbsent$2($name, new A.Environment_setVariable_closure2(_this, $name));
  100368. t1 = _this._environment0$_variables;
  100369. if (!B.JSArray_methods.get$first(t1).containsKey$1($name)) {
  100370. moduleWithName = _this._environment0$_fromOneModule$3($name, "variable", new A.Environment_setVariable_closure3($name));
  100371. if (moduleWithName != null) {
  100372. moduleWithName.setVariable$3($name, value, nodeWithSpan);
  100373. return;
  100374. }
  100375. }
  100376. J.$indexSet$ax(B.JSArray_methods.get$first(t1), $name, value);
  100377. J.$indexSet$ax(B.JSArray_methods.get$first(_this._environment0$_variableNodes), $name, nodeWithSpan);
  100378. return;
  100379. }
  100380. nestedForwardedModules = _this._environment0$_nestedForwardedModules;
  100381. if (nestedForwardedModules != null && !_this._environment0$_variableIndices.containsKey$1($name) && _this._environment0$_variableIndex$1($name) == null)
  100382. 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();) {
  100383. t3 = t2.__internal$_current;
  100384. 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();) {
  100385. t5 = t3.__internal$_current;
  100386. if (t5 == null)
  100387. t5 = t4._as(t5);
  100388. if (t5.get$variables().containsKey$1($name)) {
  100389. t5.setVariable$3($name, value, nodeWithSpan);
  100390. return;
  100391. }
  100392. }
  100393. }
  100394. if (_this._environment0$_lastVariableName === $name) {
  100395. t1 = _this._environment0$_lastVariableIndex;
  100396. t1.toString;
  100397. index = t1;
  100398. } else
  100399. index = _this._environment0$_variableIndices.putIfAbsent$2($name, new A.Environment_setVariable_closure4(_this, $name));
  100400. if (!_this._environment0$_inSemiGlobalScope && index === 0) {
  100401. index = _this._environment0$_variables.length - 1;
  100402. _this._environment0$_variableIndices.$indexSet(0, $name, index);
  100403. }
  100404. _this._environment0$_lastVariableName = $name;
  100405. _this._environment0$_lastVariableIndex = index;
  100406. _this._environment0$_variables[index].$indexSet(0, $name, value);
  100407. _this._environment0$_variableNodes[index].$indexSet(0, $name, nodeWithSpan);
  100408. },
  100409. setVariable$4$global($name, value, nodeWithSpan, global) {
  100410. return this.setVariable$5$global$namespace($name, value, nodeWithSpan, global, null);
  100411. },
  100412. setLocalVariable$3($name, value, nodeWithSpan) {
  100413. var index, _this = this,
  100414. t1 = _this._environment0$_variables,
  100415. t2 = t1.length;
  100416. _this._environment0$_lastVariableName = $name;
  100417. index = _this._environment0$_lastVariableIndex = t2 - 1;
  100418. _this._environment0$_variableIndices.$indexSet(0, $name, index);
  100419. t1[index].$indexSet(0, $name, value);
  100420. _this._environment0$_variableNodes[index].$indexSet(0, $name, nodeWithSpan);
  100421. },
  100422. getFunction$2$namespace($name, namespace) {
  100423. var t1, _0_0, _1_0, _this = this;
  100424. if (namespace != null) {
  100425. t1 = _this._environment0$_getModule$1(namespace);
  100426. return t1.get$functions(t1).$index(0, $name);
  100427. }
  100428. t1 = _this._environment0$_functionIndices;
  100429. _0_0 = t1.$index(0, $name);
  100430. if (_0_0 != null) {
  100431. t1 = _this._environment0$_functions[_0_0].$index(0, $name);
  100432. return t1 == null ? _this._environment0$_getFunctionFromGlobalModule$1($name) : t1;
  100433. } else {
  100434. _1_0 = _this._environment0$_functionIndex$1($name);
  100435. if (_1_0 != null) {
  100436. t1.$indexSet(0, $name, _1_0);
  100437. t1 = _this._environment0$_functions[_1_0].$index(0, $name);
  100438. return t1 == null ? _this._environment0$_getFunctionFromGlobalModule$1($name) : t1;
  100439. } else
  100440. return _this._environment0$_getFunctionFromGlobalModule$1($name);
  100441. }
  100442. },
  100443. getFunction$1($name) {
  100444. return this.getFunction$2$namespace($name, null);
  100445. },
  100446. _environment0$_getFunctionFromGlobalModule$1($name) {
  100447. return this._environment0$_fromOneModule$3($name, "function", new A.Environment__getFunctionFromGlobalModule_closure0($name));
  100448. },
  100449. _environment0$_functionIndex$1($name) {
  100450. var t1, i;
  100451. for (t1 = this._environment0$_functions, i = t1.length - 1; i >= 0; --i)
  100452. if (t1[i].containsKey$1($name))
  100453. return i;
  100454. return null;
  100455. },
  100456. getMixin$2$namespace($name, namespace) {
  100457. var t1, _0_0, _1_0, _this = this;
  100458. if (namespace != null)
  100459. return _this._environment0$_getModule$1(namespace).get$mixins().$index(0, $name);
  100460. t1 = _this._environment0$_mixinIndices;
  100461. _0_0 = t1.$index(0, $name);
  100462. if (_0_0 != null) {
  100463. t1 = _this._environment0$_mixins[_0_0].$index(0, $name);
  100464. return t1 == null ? _this._environment0$_getMixinFromGlobalModule$1($name) : t1;
  100465. } else {
  100466. _1_0 = _this._environment0$_mixinIndex$1($name);
  100467. if (_1_0 != null) {
  100468. t1.$indexSet(0, $name, _1_0);
  100469. t1 = _this._environment0$_mixins[_1_0].$index(0, $name);
  100470. return t1 == null ? _this._environment0$_getMixinFromGlobalModule$1($name) : t1;
  100471. } else
  100472. return _this._environment0$_getMixinFromGlobalModule$1($name);
  100473. }
  100474. },
  100475. _environment0$_getMixinFromGlobalModule$1($name) {
  100476. return this._environment0$_fromOneModule$3($name, "mixin", new A.Environment__getMixinFromGlobalModule_closure0($name));
  100477. },
  100478. _environment0$_mixinIndex$1($name) {
  100479. var t1, i;
  100480. for (t1 = this._environment0$_mixins, i = t1.length - 1; i >= 0; --i)
  100481. if (t1[i].containsKey$1($name))
  100482. return i;
  100483. return null;
  100484. },
  100485. withContent$2($content, callback) {
  100486. var oldContent = this._environment0$_content;
  100487. this._environment0$_content = $content;
  100488. callback.call$0();
  100489. this._environment0$_content = oldContent;
  100490. },
  100491. asMixin$1(callback) {
  100492. var oldInMixin = this._environment0$_inMixin;
  100493. this._environment0$_inMixin = true;
  100494. callback.call$0();
  100495. this._environment0$_inMixin = oldInMixin;
  100496. },
  100497. scope$1$3$semiGlobal$when(callback, semiGlobal, when) {
  100498. var wasInSemiGlobalScope, $name, name0, name1, t1, t2, t3, t4, t5, t6, _this = this;
  100499. semiGlobal = semiGlobal && _this._environment0$_inSemiGlobalScope;
  100500. wasInSemiGlobalScope = _this._environment0$_inSemiGlobalScope;
  100501. _this._environment0$_inSemiGlobalScope = semiGlobal;
  100502. if (!when)
  100503. try {
  100504. t1 = callback.call$0();
  100505. return t1;
  100506. } finally {
  100507. _this._environment0$_inSemiGlobalScope = wasInSemiGlobalScope;
  100508. }
  100509. t1 = _this._environment0$_variables;
  100510. t2 = type$.String;
  100511. B.JSArray_methods.add$1(t1, A.LinkedHashMap_LinkedHashMap$_empty(t2, type$.Value_2));
  100512. t3 = _this._environment0$_variableNodes;
  100513. B.JSArray_methods.add$1(t3, A.LinkedHashMap_LinkedHashMap$_empty(t2, type$.AstNode_2));
  100514. t4 = _this._environment0$_functions;
  100515. t5 = type$.Callable_2;
  100516. B.JSArray_methods.add$1(t4, A.LinkedHashMap_LinkedHashMap$_empty(t2, t5));
  100517. t6 = _this._environment0$_mixins;
  100518. B.JSArray_methods.add$1(t6, A.LinkedHashMap_LinkedHashMap$_empty(t2, t5));
  100519. t5 = _this._environment0$_nestedForwardedModules;
  100520. if (t5 != null)
  100521. t5.push(A._setArrayType([], type$.JSArray_Module_Callable_2));
  100522. try {
  100523. t2 = callback.call$0();
  100524. return t2;
  100525. } finally {
  100526. _this._environment0$_inSemiGlobalScope = wasInSemiGlobalScope;
  100527. _this._environment0$_lastVariableIndex = _this._environment0$_lastVariableName = null;
  100528. for (t1 = J.get$iterator$ax(J.get$keys$z(B.JSArray_methods.removeLast$0(t1))), t2 = _this._environment0$_variableIndices; t1.moveNext$0();) {
  100529. $name = t1.get$current(t1);
  100530. t2.remove$1(0, $name);
  100531. }
  100532. B.JSArray_methods.removeLast$0(t3);
  100533. for (t1 = J.get$iterator$ax(J.get$keys$z(B.JSArray_methods.removeLast$0(t4))), t2 = _this._environment0$_functionIndices; t1.moveNext$0();) {
  100534. name0 = t1.get$current(t1);
  100535. t2.remove$1(0, name0);
  100536. }
  100537. for (t1 = J.get$iterator$ax(J.get$keys$z(B.JSArray_methods.removeLast$0(t6))), t2 = _this._environment0$_mixinIndices; t1.moveNext$0();) {
  100538. name1 = t1.get$current(t1);
  100539. t2.remove$1(0, name1);
  100540. }
  100541. t1 = _this._environment0$_nestedForwardedModules;
  100542. if (t1 != null)
  100543. t1.pop();
  100544. }
  100545. },
  100546. scope$1$1(callback) {
  100547. callback.toString;
  100548. return this.scope$1$3$semiGlobal$when(callback, false, true);
  100549. },
  100550. scope$1$2$when(callback, when) {
  100551. callback.toString;
  100552. return this.scope$1$3$semiGlobal$when(callback, false, when);
  100553. },
  100554. scope$1$2$semiGlobal(callback, semiGlobal) {
  100555. callback.toString;
  100556. return this.scope$1$3$semiGlobal$when(callback, semiGlobal, true);
  100557. },
  100558. toImplicitConfiguration$0() {
  100559. var t2, t3, t4, i, values, nodes, t5, t6, $name, value,
  100560. t1 = type$.String,
  100561. configuration = A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.ConfiguredValue_2);
  100562. for (t2 = this._environment0$_variables, t3 = type$.Value_2, t4 = this._environment0$_variableNodes, i = 0; i < t2.length; ++i) {
  100563. values = t2[i];
  100564. nodes = t4[i];
  100565. for (t5 = A.MapExtensions_get_pairs0(values, t1, t3), t5 = t5.get$iterator(t5); t5.moveNext$0();) {
  100566. t6 = t5.get$current(t5);
  100567. $name = t6._0;
  100568. value = t6._1;
  100569. t6 = nodes.$index(0, $name);
  100570. t6.toString;
  100571. configuration.$indexSet(0, $name, new A.ConfiguredValue0(value, null, t6));
  100572. }
  100573. }
  100574. return new A.Configuration0(configuration, null);
  100575. },
  100576. toModule$3(css, preModuleComments, extensionStore) {
  100577. return A._EnvironmentModule__EnvironmentModule1(this, css, preModuleComments, extensionStore, A.NullableExtension_andThen0(this._environment0$_forwardedModules, new A.Environment_toModule_closure0()));
  100578. },
  100579. toDummyModule$0() {
  100580. 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()));
  100581. },
  100582. _environment0$_getModule$1(namespace) {
  100583. var _0_0 = this._environment0$_modules.$index(0, namespace);
  100584. if (_0_0 != null)
  100585. return _0_0;
  100586. throw A.wrapException(A.SassScriptException$0('There is no module with the namespace "' + namespace + '".', null));
  100587. },
  100588. _environment0$_fromOneModule$1$3($name, type, callback) {
  100589. var t1, t2, t3, t4, t5, _1_0, _2_0, value, identity, valueInModule, identityFromModule, module, node,
  100590. _0_0 = this._environment0$_nestedForwardedModules;
  100591. if (_0_0 != null)
  100592. 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();) {
  100593. t3 = t2.__internal$_current;
  100594. 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();) {
  100595. t5 = t3.__internal$_current;
  100596. _1_0 = callback.call$1(t5 == null ? t4._as(t5) : t5);
  100597. if (_1_0 != null)
  100598. return _1_0;
  100599. }
  100600. }
  100601. for (t1 = this._environment0$_importedModules, t1 = new A.LinkedHashMapKeyIterator(t1, t1._modifications, t1._first); t1.moveNext$0();) {
  100602. _2_0 = callback.call$1(t1.__js_helper$_current);
  100603. if (_2_0 != null)
  100604. return _2_0;
  100605. }
  100606. 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();) {
  100607. t4 = t2.__js_helper$_current;
  100608. valueInModule = callback.call$1(t4);
  100609. if (valueInModule == null)
  100610. continue;
  100611. identityFromModule = t3._is(valueInModule) ? valueInModule : t4.variableIdentity$1($name);
  100612. if (identityFromModule.$eq(0, identity))
  100613. continue;
  100614. if (value != null) {
  100615. t2 = A.LinkedHashMap_LinkedHashMap$_empty(type$.FileSpan, type$.String);
  100616. 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();) {
  100617. t1 = t3.get$current(t3);
  100618. module = t1._0;
  100619. node = t1._1;
  100620. if (callback.call$1(module) != null)
  100621. t2.$indexSet(0, node.get$span(node), t4);
  100622. }
  100623. throw A.wrapException(A.MultiSpanSassScriptException$0("This " + type + string$.x20is_av, type + " use", t2));
  100624. }
  100625. identity = identityFromModule;
  100626. value = valueInModule;
  100627. }
  100628. return value;
  100629. },
  100630. _environment0$_fromOneModule$3($name, type, callback) {
  100631. callback.toString;
  100632. return this._environment0$_fromOneModule$1$3($name, type, callback, type$.dynamic);
  100633. }
  100634. };
  100635. A.Environment__getVariableFromGlobalModule_closure0.prototype = {
  100636. call$1(module) {
  100637. return module.get$variables().$index(0, this.name);
  100638. },
  100639. $signature: 441
  100640. };
  100641. A.Environment_setVariable_closure2.prototype = {
  100642. call$0() {
  100643. var t1 = this.$this;
  100644. t1._environment0$_lastVariableName = this.name;
  100645. return t1._environment0$_lastVariableIndex = 0;
  100646. },
  100647. $signature: 10
  100648. };
  100649. A.Environment_setVariable_closure3.prototype = {
  100650. call$1(module) {
  100651. return module.get$variables().containsKey$1(this.name) ? module : null;
  100652. },
  100653. $signature: 442
  100654. };
  100655. A.Environment_setVariable_closure4.prototype = {
  100656. call$0() {
  100657. var t1 = this.$this,
  100658. t2 = t1._environment0$_variableIndex$1(this.name);
  100659. return t2 == null ? t1._environment0$_variables.length - 1 : t2;
  100660. },
  100661. $signature: 10
  100662. };
  100663. A.Environment__getFunctionFromGlobalModule_closure0.prototype = {
  100664. call$1(module) {
  100665. return module.get$functions(module).$index(0, this.name);
  100666. },
  100667. $signature: 235
  100668. };
  100669. A.Environment__getMixinFromGlobalModule_closure0.prototype = {
  100670. call$1(module) {
  100671. return module.get$mixins().$index(0, this.name);
  100672. },
  100673. $signature: 235
  100674. };
  100675. A.Environment_toModule_closure0.prototype = {
  100676. call$1(modules) {
  100677. return new A.MapKeySet(modules, type$.MapKeySet_Module_Callable_2);
  100678. },
  100679. $signature: 236
  100680. };
  100681. A.Environment_toDummyModule_closure0.prototype = {
  100682. call$1(modules) {
  100683. return new A.MapKeySet(modules, type$.MapKeySet_Module_Callable_2);
  100684. },
  100685. $signature: 236
  100686. };
  100687. A._EnvironmentModule1.prototype = {
  100688. get$url(_) {
  100689. var t1 = this.css;
  100690. return t1.get$span(t1).file.url;
  100691. },
  100692. setVariable$3($name, value, nodeWithSpan) {
  100693. var t1, t2,
  100694. _0_0 = this._environment0$_modulesByVariable.$index(0, $name);
  100695. if (_0_0 != null) {
  100696. _0_0.setVariable$3($name, value, nodeWithSpan);
  100697. return;
  100698. }
  100699. t1 = this._environment0$_environment;
  100700. t2 = t1._environment0$_variables;
  100701. if (!B.JSArray_methods.get$first(t2).containsKey$1($name))
  100702. throw A.wrapException(A.SassScriptException$0("Undefined variable.", null));
  100703. J.$indexSet$ax(B.JSArray_methods.get$first(t2), $name, value);
  100704. J.$indexSet$ax(B.JSArray_methods.get$first(t1._environment0$_variableNodes), $name, nodeWithSpan);
  100705. return;
  100706. },
  100707. variableIdentity$1($name) {
  100708. var module = this._environment0$_modulesByVariable.$index(0, $name);
  100709. return module == null ? this : module.variableIdentity$1($name);
  100710. },
  100711. couldHaveBeenConfigured$1(variables) {
  100712. var t2, t3, _0_0, variable, module,
  100713. t1 = this._environment0$_environment._environment0$_configurableVariables;
  100714. if (!(variables.get$length(variables) < t1.get$length(t1) ? variables.any$1(0, t1.get$contains(t1)) : t1.any$1(0, variables.get$contains(variables)))) {
  100715. t1 = this._environment0$_modulesByVariable;
  100716. t2 = type$.Module_Callable_2;
  100717. if (variables.get$length(variables) < t1.get$length(t1)) {
  100718. t2 = A.LinkedHashSet_LinkedHashSet$_empty(t2);
  100719. for (t3 = variables.get$iterator(variables); t3.moveNext$0();) {
  100720. _0_0 = t1.$index(0, t3.get$current(t3));
  100721. if (_0_0 != null)
  100722. t2.add$1(0, _0_0);
  100723. }
  100724. t1 = t2;
  100725. } else {
  100726. t3 = A.LinkedHashSet_LinkedHashSet$_empty(t2);
  100727. for (t1 = A.MapExtensions_get_pairs0(t1, type$.String, t2), t1 = t1.get$iterator(t1); t1.moveNext$0();) {
  100728. t2 = t1.get$current(t1);
  100729. variable = t2._0;
  100730. module = t2._1;
  100731. if (variables.contains$1(0, variable))
  100732. t3.add$1(0, module);
  100733. }
  100734. t1 = t3;
  100735. }
  100736. t1 = t1.any$1(0, new A._EnvironmentModule_couldHaveBeenConfigured_closure1(variables));
  100737. } else
  100738. t1 = true;
  100739. return t1;
  100740. },
  100741. cloneCss$0() {
  100742. var _0_0, _this = this;
  100743. if (!_this.transitivelyContainsCss)
  100744. return _this;
  100745. _0_0 = A.cloneCssStylesheet0(_this.css, _this.extensionStore);
  100746. 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);
  100747. },
  100748. toString$0(_) {
  100749. var t2,
  100750. t1 = this.css;
  100751. if (t1.get$span(t1).file.url == null)
  100752. t1 = "<unknown url>";
  100753. else {
  100754. t1 = t1.get$span(t1).file.url;
  100755. t2 = $.$get$context();
  100756. t1.toString;
  100757. t1 = t2.prettyUri$1(t1);
  100758. }
  100759. return t1;
  100760. },
  100761. $isModule1: 1,
  100762. get$upstream() {
  100763. return this.upstream;
  100764. },
  100765. get$variables() {
  100766. return this.variables;
  100767. },
  100768. get$variableNodes() {
  100769. return this.variableNodes;
  100770. },
  100771. get$functions(receiver) {
  100772. return this.functions;
  100773. },
  100774. get$mixins() {
  100775. return this.mixins;
  100776. },
  100777. get$extensionStore() {
  100778. return this.extensionStore;
  100779. },
  100780. get$css(receiver) {
  100781. return this.css;
  100782. },
  100783. get$preModuleComments() {
  100784. return this.preModuleComments;
  100785. },
  100786. get$transitivelyContainsCss() {
  100787. return this.transitivelyContainsCss;
  100788. },
  100789. get$transitivelyContainsExtensions() {
  100790. return this.transitivelyContainsExtensions;
  100791. }
  100792. };
  100793. A._EnvironmentModule__EnvironmentModule_closure11.prototype = {
  100794. call$1(module) {
  100795. return module.get$variables();
  100796. },
  100797. $signature: 445
  100798. };
  100799. A._EnvironmentModule__EnvironmentModule_closure12.prototype = {
  100800. call$1(module) {
  100801. return module.get$variableNodes();
  100802. },
  100803. $signature: 446
  100804. };
  100805. A._EnvironmentModule__EnvironmentModule_closure13.prototype = {
  100806. call$1(module) {
  100807. return module.get$functions(module);
  100808. },
  100809. $signature: 237
  100810. };
  100811. A._EnvironmentModule__EnvironmentModule_closure14.prototype = {
  100812. call$1(module) {
  100813. return module.get$mixins();
  100814. },
  100815. $signature: 237
  100816. };
  100817. A._EnvironmentModule__EnvironmentModule_closure15.prototype = {
  100818. call$1(module) {
  100819. return module.get$transitivelyContainsCss();
  100820. },
  100821. $signature: 92
  100822. };
  100823. A._EnvironmentModule__EnvironmentModule_closure16.prototype = {
  100824. call$1(module) {
  100825. return module.get$transitivelyContainsExtensions();
  100826. },
  100827. $signature: 92
  100828. };
  100829. A._EnvironmentModule_couldHaveBeenConfigured_closure1.prototype = {
  100830. call$1(module) {
  100831. return module.couldHaveBeenConfigured$1(this.variables);
  100832. },
  100833. $signature: 92
  100834. };
  100835. A.ErrorRule0.prototype = {
  100836. accept$1$1(visitor) {
  100837. return visitor.visitErrorRule$1(0, this);
  100838. },
  100839. accept$1(visitor) {
  100840. return this.accept$1$1(visitor, type$.dynamic);
  100841. },
  100842. toString$0(_) {
  100843. return "@error " + this.expression.toString$0(0) + ";";
  100844. },
  100845. get$span(receiver) {
  100846. return this.span;
  100847. }
  100848. };
  100849. A._EvaluateVisitor1.prototype = {
  100850. _EvaluateVisitor$6$functions$importCache$logger$nodeImporter$quietDeps$sourceMap1(functions, importCache, logger, nodeImporter, quietDeps, sourceMap) {
  100851. var t2, metaModule, t3, _i, module, $function, t4, _this = this,
  100852. _s20_ = "$name, $module: null",
  100853. _s9_ = "sass:meta",
  100854. _s7_ = "$module",
  100855. t1 = type$.JSArray_BuiltInCallable_2,
  100856. 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),
  100857. 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);
  100858. t1 = type$.BuiltInCallable_2;
  100859. t2 = A.List_List$_of($.$get$moduleFunctions0(), t1);
  100860. B.JSArray_methods.addAll$1(t2, metaFunctions);
  100861. metaModule = A.BuiltInModule$0("meta", t2, metaMixins, null, t1);
  100862. t1 = A.List_List$_of($.$get$coreModules0(), type$.BuiltInModule_Callable_2);
  100863. t1.push(metaModule);
  100864. t2 = t1.length;
  100865. t3 = _this._evaluate0$_builtInModules;
  100866. _i = 0;
  100867. for (; _i < t1.length; t1.length === t2 || (0, A.throwConcurrentModificationError)(t1), ++_i) {
  100868. module = t1[_i];
  100869. t3.$indexSet(0, module.url, module);
  100870. }
  100871. t1 = type$.JSArray_Callable_2;
  100872. t2 = A._setArrayType([], t1);
  100873. B.JSArray_methods.addAll$1(t2, functions);
  100874. B.JSArray_methods.addAll$1(t2, $.$get$globalFunctions0());
  100875. t1 = A._setArrayType([], t1);
  100876. for (_i = 0; _i < 11; ++_i)
  100877. t1.push(metaFunctions[_i].withDeprecationWarning$1("meta"));
  100878. B.JSArray_methods.addAll$1(t2, t1);
  100879. for (t1 = t2.length, t3 = _this._evaluate0$_builtInFunctions, _i = 0; _i < t2.length; t2.length === t1 || (0, A.throwConcurrentModificationError)(t2), ++_i) {
  100880. $function = t2[_i];
  100881. t4 = $function.get$name($function);
  100882. t3.$indexSet(0, A.stringReplaceAllUnchecked(t4, "_", "-"), $function);
  100883. }
  100884. },
  100885. run$2(_, importer, node) {
  100886. var error, stackTrace, t1, exception;
  100887. try {
  100888. t1 = type$.nullable_Object;
  100889. 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);
  100890. return t1;
  100891. } catch (exception) {
  100892. t1 = A.unwrapException(exception);
  100893. if (t1 instanceof A.SassException0) {
  100894. error = t1;
  100895. stackTrace = A.getTraceFromException(exception);
  100896. A.throwWithTrace0(error.withLoadedUrls$1(this._evaluate0$_loadedUrls), error, stackTrace);
  100897. } else
  100898. throw exception;
  100899. }
  100900. },
  100901. _evaluate0$_assertInModule$1$2(value, $name) {
  100902. if (value != null)
  100903. return value;
  100904. throw A.wrapException(A.StateError$("Can't access " + $name + " outside of a module."));
  100905. },
  100906. _evaluate0$_assertInModule$2(value, $name) {
  100907. return this._evaluate0$_assertInModule$1$2(value, $name, type$.dynamic);
  100908. },
  100909. _evaluate0$_loadModule$7$baseUrl$configuration$namesInErrors(url, stackFrame, nodeWithSpan, callback, baseUrl, configuration, namesInErrors) {
  100910. var t2, _this = this,
  100911. _0_0 = _this._evaluate0$_builtInModules.$index(0, url),
  100912. t1 = {};
  100913. t1.builtInModule = null;
  100914. if (_0_0 != null) {
  100915. t1.builtInModule = _0_0;
  100916. if (configuration instanceof A.ExplicitConfiguration0) {
  100917. t1 = namesInErrors ? "Built-in module " + url.toString$0(0) + " can't be configured." : "Built-in modules can't be configured.";
  100918. t2 = configuration.nodeWithSpan;
  100919. throw A.wrapException(_this._evaluate0$_exception$2(t1, t2.get$span(t2)));
  100920. }
  100921. _this._evaluate0$_addExceptionSpan$2(nodeWithSpan, new A._EvaluateVisitor__loadModule_closure3(t1, callback));
  100922. return;
  100923. }
  100924. _this._evaluate0$_withStackFrame$3(stackFrame, nodeWithSpan, new A._EvaluateVisitor__loadModule_closure4(_this, url, nodeWithSpan, baseUrl, namesInErrors, configuration, callback));
  100925. },
  100926. _evaluate0$_loadModule$5$configuration(url, stackFrame, nodeWithSpan, callback, configuration) {
  100927. callback.toString;
  100928. return this._evaluate0$_loadModule$7$baseUrl$configuration$namesInErrors(url, stackFrame, nodeWithSpan, callback, null, configuration, false);
  100929. },
  100930. _evaluate0$_loadModule$4(url, stackFrame, nodeWithSpan, callback) {
  100931. callback.toString;
  100932. return this._evaluate0$_loadModule$7$baseUrl$configuration$namesInErrors(url, stackFrame, nodeWithSpan, callback, null, null, false);
  100933. },
  100934. _evaluate0$_execute$5$configuration$namesInErrors$nodeWithSpan(importer, stylesheet, configuration, namesInErrors, nodeWithSpan) {
  100935. var t3, message, existingSpan, configurationSpan, environment, css, preModuleComments, extensionStore, module, _this = this,
  100936. url = stylesheet.span.file.url,
  100937. t1 = configuration == null,
  100938. currentConfiguration = t1 ? _this._evaluate0$_configuration : configuration,
  100939. t2 = _this._evaluate0$_modules,
  100940. _0_0 = t2.$index(0, url);
  100941. if (_0_0 != null) {
  100942. t2 = _this._evaluate0$_moduleConfigurations.$index(0, url);
  100943. t3 = t2._configuration0$__originalConfiguration;
  100944. t2 = t3 == null ? t2 : t3;
  100945. t3 = currentConfiguration._configuration0$__originalConfiguration;
  100946. if (t2 !== (t3 == null ? currentConfiguration : t3) && currentConfiguration instanceof A.ExplicitConfiguration0 && _0_0.couldHaveBeenConfigured$1(new A.MapKeySet(new A.UnmodifiableMapView(currentConfiguration._configuration0$_values, type$.UnmodifiableMapView_String_ConfiguredValue_2), type$.MapKeySet_String))) {
  100947. if (namesInErrors) {
  100948. t2 = $.$get$context();
  100949. url.toString;
  100950. message = t2.prettyUri$1(url) + string$.x20was_a;
  100951. } else
  100952. message = string$.This_mw;
  100953. t2 = _this._evaluate0$_moduleNodes.$index(0, url);
  100954. existingSpan = t2 == null ? null : t2.get$span(t2);
  100955. if (t1) {
  100956. t1 = currentConfiguration.nodeWithSpan;
  100957. configurationSpan = t1.get$span(t1);
  100958. } else
  100959. configurationSpan = null;
  100960. t1 = A.LinkedHashMap_LinkedHashMap$_empty(type$.FileSpan, type$.String);
  100961. if (existingSpan != null)
  100962. t1.$indexSet(0, existingSpan, "original load");
  100963. if (configurationSpan != null)
  100964. t1.$indexSet(0, configurationSpan, "configuration");
  100965. throw A.wrapException(t1.get$isEmpty(0) ? _this._evaluate0$_exception$1(message) : _this._evaluate0$_multiSpanException$3(message, "new load", t1));
  100966. }
  100967. return _0_0;
  100968. }
  100969. environment = A.Environment$0();
  100970. css = A._Cell$();
  100971. preModuleComments = A._Cell$();
  100972. extensionStore = A.ExtensionStore$0();
  100973. _this._evaluate0$_withEnvironment$2(environment, new A._EvaluateVisitor__execute_closure1(_this, importer, stylesheet, extensionStore, configuration, css, preModuleComments));
  100974. t1 = css._readLocal$0();
  100975. t3 = preModuleComments._readLocal$0();
  100976. module = environment.toModule$3(t1, t3 == null ? B.Map_empty10 : t3, extensionStore);
  100977. if (url != null) {
  100978. t2.$indexSet(0, url, module);
  100979. _this._evaluate0$_moduleConfigurations.$indexSet(0, url, currentConfiguration);
  100980. if (nodeWithSpan != null)
  100981. _this._evaluate0$_moduleNodes.$indexSet(0, url, nodeWithSpan);
  100982. }
  100983. return module;
  100984. },
  100985. _evaluate0$_execute$2(importer, stylesheet) {
  100986. return this._evaluate0$_execute$5$configuration$namesInErrors$nodeWithSpan(importer, stylesheet, null, false, null);
  100987. },
  100988. _evaluate0$_addOutOfOrderImports$0() {
  100989. var t1, t2, _this = this, _s5_ = "_root",
  100990. _s13_ = "_endOfImports",
  100991. _0_0 = _this._evaluate0$_outOfOrderImports;
  100992. $label0$0: {
  100993. if (_0_0 == null) {
  100994. t1 = _this._evaluate0$_assertInModule$2(_this._evaluate0$__root, _s5_).children;
  100995. break $label0$0;
  100996. }
  100997. t1 = _this._evaluate0$_assertInModule$2(_this._evaluate0$__root, _s5_).children;
  100998. 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);
  100999. B.JSArray_methods.addAll$1(t1, _0_0);
  101000. t2 = _this._evaluate0$_assertInModule$2(_this._evaluate0$__root, _s5_).children;
  101001. B.JSArray_methods.addAll$1(t1, A.SubListIterable$(t2, _this._evaluate0$_assertInModule$2(_this._evaluate0$__endOfImports, _s13_), null, t2.$ti._eval$1("ListBase.E")));
  101002. break $label0$0;
  101003. }
  101004. return t1;
  101005. },
  101006. _evaluate0$_combineCss$2$clone(root, clone) {
  101007. var selectors, _0_0, t1, imports, css, sorted, t2;
  101008. if (!B.JSArray_methods.any$1(root.get$upstream(), new A._EvaluateVisitor__combineCss_closure3())) {
  101009. selectors = root.get$extensionStore().get$simpleSelectors();
  101010. _0_0 = A.IterableExtension_get_firstOrNull(root.get$extensionStore().extensionsWhereTarget$1(new A._EvaluateVisitor__combineCss_closure4(selectors)));
  101011. if (_0_0 != null)
  101012. this._evaluate0$_throwForUnsatisfiedExtension$1(_0_0);
  101013. return root.get$css(root);
  101014. }
  101015. t1 = type$.JSArray_CssNode_2;
  101016. imports = A._setArrayType([], t1);
  101017. css = A._setArrayType([], t1);
  101018. t1 = type$.Module_Callable_2;
  101019. sorted = A.ListQueue$(t1);
  101020. new A._EvaluateVisitor__combineCss_visitModule1(this, A.LinkedHashSet_LinkedHashSet$_empty(t1), clone, css, imports, sorted).call$1(root);
  101021. if (root.get$transitivelyContainsExtensions())
  101022. this._evaluate0$_extendModules$1(sorted);
  101023. t1 = B.JSArray_methods.$add(imports, css);
  101024. t2 = root.get$css(root);
  101025. return new A.CssStylesheet0(new A.UnmodifiableListView(t1, type$.UnmodifiableListView_CssNode_2), t2.get$span(t2));
  101026. },
  101027. _evaluate0$_combineCss$1(root) {
  101028. return this._evaluate0$_combineCss$2$clone(root, false);
  101029. },
  101030. _evaluate0$_extendModules$1(sortedModules) {
  101031. var t1, t2, t3, originalSelectors, $self, t4, t5, _i, upstream, _0_0,
  101032. downstreamExtensionStores = A.LinkedHashMap_LinkedHashMap$_empty(type$.Uri, type$.List_ExtensionStore_2),
  101033. unsatisfiedExtensions = new A._LinkedIdentityHashSet(type$._LinkedIdentityHashSet_Extension_2);
  101034. for (t1 = A._ListQueueIterator$(sortedModules, sortedModules.$ti._precomputed1), t2 = t1.$ti._precomputed1; t1.moveNext$0();) {
  101035. t3 = t1._collection$_current;
  101036. if (t3 == null)
  101037. t3 = t2._as(t3);
  101038. originalSelectors = t3.get$extensionStore().get$simpleSelectors().toSet$0(0);
  101039. unsatisfiedExtensions.addAll$1(0, t3.get$extensionStore().extensionsWhereTarget$1(new A._EvaluateVisitor__extendModules_closure3(originalSelectors)));
  101040. $self = downstreamExtensionStores.$index(0, t3.get$url(t3));
  101041. t4 = t3.get$extensionStore().get$addExtensions();
  101042. if ($self != null)
  101043. t4.call$1($self);
  101044. t4 = t3.get$extensionStore();
  101045. if (t4.get$isEmpty(t4))
  101046. continue;
  101047. for (t4 = t3.get$upstream(), t5 = t4.length, _i = 0; _i < t4.length; t4.length === t5 || (0, A.throwConcurrentModificationError)(t4), ++_i) {
  101048. upstream = t4[_i];
  101049. _0_0 = upstream.get$url(upstream);
  101050. if (_0_0 != null)
  101051. J.add$1$ax(downstreamExtensionStores.putIfAbsent$2(_0_0, new A._EvaluateVisitor__extendModules_closure4()), t3.get$extensionStore());
  101052. }
  101053. unsatisfiedExtensions.removeAll$1(t3.get$extensionStore().extensionsWhereTarget$1(originalSelectors.get$contains(originalSelectors)));
  101054. }
  101055. if (unsatisfiedExtensions._collection$_length !== 0)
  101056. this._evaluate0$_throwForUnsatisfiedExtension$1(unsatisfiedExtensions.get$first(0));
  101057. },
  101058. _evaluate0$_throwForUnsatisfiedExtension$1(extension) {
  101059. throw A.wrapException(A.SassException$0(string$.The_ta + extension.target.toString$0(0) + ' !optional" to avoid this error.', extension.span, null));
  101060. },
  101061. _evaluate0$_indexAfterImports$1(statements) {
  101062. var t1, lastImport, i, _0_0;
  101063. for (t1 = J.getInterceptor$asx(statements), lastImport = -1, i = 0; i < t1.get$length(statements); ++i) {
  101064. $label0$0: {
  101065. _0_0 = t1.$index(statements, i);
  101066. if (_0_0 instanceof A.ModifiableCssImport0)
  101067. break $label0$0;
  101068. if (_0_0 instanceof A.ModifiableCssComment0)
  101069. continue;
  101070. break;
  101071. }
  101072. lastImport = i;
  101073. }
  101074. return lastImport + 1;
  101075. },
  101076. visitStylesheet$1(_, node) {
  101077. var t1, t2, warning, _i, $name, span;
  101078. 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();) {
  101079. warning = t1.__internal$_current;
  101080. if (warning == null)
  101081. warning = t2._as(warning);
  101082. this._evaluate0$_warn$3(warning._1, warning._2, warning._0);
  101083. }
  101084. for (t1 = node.children, t2 = t1.length, _i = 0; _i < t2; ++_i)
  101085. t1[_i].accept$1(this);
  101086. for (t1 = A.MapExtensions_get_pairs0(node.globalVariables, type$.String, type$.FileSpan), t1 = t1.get$iterator(t1); t1.moveNext$0();) {
  101087. t2 = t1.get$current(t1);
  101088. $name = t2._0;
  101089. span = t2._1;
  101090. this.visitVariableDeclaration$1(0, new A.VariableDeclaration0(null, $name, new A.NullExpression0(span), true, false, span));
  101091. }
  101092. return null;
  101093. },
  101094. visitAtRootRule$1(_, node) {
  101095. var t1, _2_0, root, first, rest, innerCopy, outerCopy, _i, copy, _this = this, _null = null,
  101096. _s8_ = "__parent",
  101097. _0_0 = node.query,
  101098. 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,
  101099. $parent = _this._evaluate0$_assertInModule$2(_this._evaluate0$__parent, _s8_),
  101100. included = A._setArrayType([], type$.JSArray_ModifiableCssParentNode_2);
  101101. for (t1 = type$.CssStylesheet_2; !t1._is($parent); $parent = _2_0) {
  101102. if (!query.excludes$1($parent))
  101103. included.push($parent);
  101104. _2_0 = $parent._node$_parent;
  101105. if (_2_0 == null)
  101106. throw A.wrapException(A.StateError$(string$.CssNod));
  101107. }
  101108. root = _this._evaluate0$_trimIncluded$1(included);
  101109. if (root === _this._evaluate0$_assertInModule$2(_this._evaluate0$__parent, _s8_)) {
  101110. _this._evaluate0$_environment.scope$1$2$when(new A._EvaluateVisitor_visitAtRootRule_closure3(_this, node), node.hasDeclarations, type$.Null);
  101111. return _null;
  101112. }
  101113. if (included.length >= 1) {
  101114. first = included[0];
  101115. rest = B.JSArray_methods.sublist$1(included, 1);
  101116. innerCopy = first.copyWithoutChildren$0();
  101117. for (t1 = rest.length, outerCopy = innerCopy, _i = 0; _i < rest.length; rest.length === t1 || (0, A.throwConcurrentModificationError)(rest), ++_i, outerCopy = copy) {
  101118. copy = rest[_i].copyWithoutChildren$0();
  101119. copy.addChild$1(outerCopy);
  101120. }
  101121. root.addChild$1(outerCopy);
  101122. } else
  101123. innerCopy = root;
  101124. _this._evaluate0$_scopeForAtRoot$4(node, innerCopy, query, included).call$1(new A._EvaluateVisitor_visitAtRootRule_closure4(_this, node));
  101125. return _null;
  101126. },
  101127. _evaluate0$_trimIncluded$1(nodes) {
  101128. var $parent, t1, innermostContiguous, i, t2, _0_0, _1_0, root, _this = this, _null = null, _s5_ = "_root",
  101129. _s22_ = " to be an ancestor of ";
  101130. if (nodes.length === 0)
  101131. return _this._evaluate0$_assertInModule$2(_this._evaluate0$__root, _s5_);
  101132. $parent = _this._evaluate0$_assertInModule$2(_this._evaluate0$__parent, "__parent");
  101133. for (t1 = nodes.length, innermostContiguous = _null, i = 0; i < t1; ++i, $parent = _1_0) {
  101134. for (; t2 = nodes[i], $parent !== t2; innermostContiguous = _null, $parent = _0_0) {
  101135. _0_0 = $parent._node$_parent;
  101136. if (_0_0 == null)
  101137. throw A.wrapException(A.ArgumentError$("Expected " + t2.toString$0(0) + _s22_ + _this.toString$0(0) + ".", _null));
  101138. }
  101139. if (innermostContiguous == null)
  101140. innermostContiguous = i;
  101141. _1_0 = $parent._node$_parent;
  101142. if (_1_0 == null)
  101143. throw A.wrapException(A.ArgumentError$("Expected " + t2.toString$0(0) + _s22_ + _this.toString$0(0) + ".", _null));
  101144. }
  101145. if ($parent !== _this._evaluate0$_assertInModule$2(_this._evaluate0$__root, _s5_))
  101146. return _this._evaluate0$_assertInModule$2(_this._evaluate0$__root, _s5_);
  101147. innermostContiguous.toString;
  101148. root = nodes[innermostContiguous];
  101149. B.JSArray_methods.removeRange$2(nodes, innermostContiguous, nodes.length);
  101150. return root;
  101151. },
  101152. _evaluate0$_scopeForAtRoot$4(node, newParent, query, included) {
  101153. var _this = this,
  101154. scope = new A._EvaluateVisitor__scopeForAtRoot_closure11(_this, newParent, node),
  101155. t1 = query._at_root_query0$_all || query._at_root_query0$_rule;
  101156. if (t1 !== query.include)
  101157. scope = new A._EvaluateVisitor__scopeForAtRoot_closure12(_this, scope);
  101158. if (_this._evaluate0$_mediaQueries != null && query.excludesName$1("media"))
  101159. scope = new A._EvaluateVisitor__scopeForAtRoot_closure13(_this, scope);
  101160. if (_this._evaluate0$_inKeyframes && query.excludesName$1("keyframes"))
  101161. scope = new A._EvaluateVisitor__scopeForAtRoot_closure14(_this, scope);
  101162. return _this._evaluate0$_inUnknownAtRule && !B.JSArray_methods.any$1(included, new A._EvaluateVisitor__scopeForAtRoot_closure15()) ? new A._EvaluateVisitor__scopeForAtRoot_closure16(_this, scope) : scope;
  101163. },
  101164. visitContentBlock$1(_, node) {
  101165. return A.throwExpression(A.UnsupportedError$(string$.Evalua));
  101166. },
  101167. visitContentRule$1(_, node) {
  101168. var $content = this._evaluate0$_environment._environment0$_content;
  101169. if ($content == null)
  101170. return null;
  101171. this._evaluate0$_runUserDefinedCallable$1$4(node.$arguments, $content, node, new A._EvaluateVisitor_visitContentRule_closure1(this, $content), type$.Null);
  101172. return null;
  101173. },
  101174. visitDebugRule$1(_, node) {
  101175. var value = node.expression.accept$1(this),
  101176. t1 = value instanceof A.SassString0 ? value._string0$_text : A.serializeValue0(value, true, true);
  101177. this._evaluate0$_logger.debug$2(0, t1, node.span);
  101178. return null;
  101179. },
  101180. visitDeclaration$1(_, node) {
  101181. var siblings, interleavedRules, t1, t2, t3, t4, t5, t6, rule, rule0, $name, _1_0, _2_0, value, _3_0, oldDeclarationName, _this = this, _null = null,
  101182. _s8_ = "__parent";
  101183. if ((_this._evaluate0$_atRootExcludingStyleRule ? _null : _this._evaluate0$_styleRuleIgnoringAtRoot) == null && !_this._evaluate0$_inUnknownAtRule && !_this._evaluate0$_inKeyframes)
  101184. throw A.wrapException(_this._evaluate0$_exception$2(string$.Declarm, node.span));
  101185. if (_this._evaluate0$_declarationName != null && B.JSString_methods.startsWith$1(node.name.get$initialPlain(), "--"))
  101186. throw A.wrapException(_this._evaluate0$_exception$2(string$.Declarw, node.span));
  101187. siblings = _this._evaluate0$_assertInModule$2(_this._evaluate0$__parent, _s8_)._node$_parent.children;
  101188. interleavedRules = A._setArrayType([], type$.JSArray_CssStyleRule_2);
  101189. if (siblings.get$last(siblings) !== _this._evaluate0$_assertInModule$2(_this._evaluate0$__parent, _s8_))
  101190. t1 = !(_this._evaluate0$_quietDeps && _this._evaluate0$_inDependency);
  101191. else
  101192. t1 = false;
  101193. if (t1)
  101194. 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();) {
  101195. t6 = t1.__internal$_current;
  101196. rule = t6 == null ? t2._as(t6) : t6;
  101197. $label0$1: {
  101198. if (rule instanceof A.ModifiableCssComment0)
  101199. continue;
  101200. t6 = rule instanceof A.ModifiableCssStyleRule0;
  101201. rule0 = t6 ? rule : _null;
  101202. if (t6) {
  101203. interleavedRules.push(rule0);
  101204. break $label0$1;
  101205. }
  101206. _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);
  101207. B.JSArray_methods.clear$0(interleavedRules);
  101208. break $label0$1;
  101209. }
  101210. }
  101211. t1 = node.name;
  101212. $name = _this._evaluate0$_interpolationToValue$2$warnForColor(t1, true);
  101213. _1_0 = _this._evaluate0$_declarationName;
  101214. if (_1_0 != null)
  101215. $name = new A.CssValue0(_1_0 + "-" + A.S($name.value), $name.span, type$.CssValue_String_2);
  101216. _2_0 = node.value;
  101217. if (_2_0 != null) {
  101218. value = _2_0.accept$1(_this);
  101219. if (!value.get$isBlank() || value.get$asList().length === 0 || J.startsWith$1$s($name.value, "--")) {
  101220. t2 = _this._evaluate0$_assertInModule$2(_this._evaluate0$__parent, _s8_);
  101221. t3 = _2_0.get$span(_2_0);
  101222. t4 = node.span;
  101223. t1 = B.JSString_methods.startsWith$1(t1.get$initialPlain(), "--");
  101224. t5 = interleavedRules.length === 0 ? _null : _this._evaluate0$_stackTrace$1(t4);
  101225. if (_this._evaluate0$_sourceMap) {
  101226. t6 = A.NullableExtension_andThen0(_2_0, _this.get$_evaluate0$_expressionNode());
  101227. t6 = t6 == null ? _null : J.get$span$z(t6);
  101228. } else
  101229. t6 = _null;
  101230. t2.addChild$1(A.ModifiableCssDeclaration$0($name, new A.CssValue0(value, t3, type$.CssValue_Value_2), t4, interleavedRules, t1, t5, t6));
  101231. }
  101232. }
  101233. _3_0 = node.children;
  101234. t1 = {};
  101235. t1.children = null;
  101236. if (_3_0 != null) {
  101237. t1.children = _3_0;
  101238. oldDeclarationName = _this._evaluate0$_declarationName;
  101239. _this._evaluate0$_declarationName = $name.value;
  101240. _this._evaluate0$_environment.scope$1$2$when(new A._EvaluateVisitor_visitDeclaration_closure1(t1, _this), node.hasDeclarations, type$.Null);
  101241. _this._evaluate0$_declarationName = oldDeclarationName;
  101242. }
  101243. return _null;
  101244. },
  101245. visitEachRule$1(_, node) {
  101246. var _this = this,
  101247. t1 = node.list,
  101248. list = t1.accept$1(_this),
  101249. nodeWithSpan = _this._evaluate0$_expressionNode$1(t1),
  101250. _0_0 = node.variables;
  101251. $label0$0: {
  101252. t1 = {};
  101253. t1.variable = null;
  101254. if (_0_0.length === 1) {
  101255. t1.variable = _0_0[0];
  101256. t1 = new A._EvaluateVisitor_visitEachRule_closure5(t1, _this, nodeWithSpan);
  101257. break $label0$0;
  101258. }
  101259. t1 = {};
  101260. t1.variables = null;
  101261. t1.variables = _0_0;
  101262. t1 = new A._EvaluateVisitor_visitEachRule_closure6(t1, _this, nodeWithSpan);
  101263. break $label0$0;
  101264. }
  101265. return _this._evaluate0$_environment.scope$1$2$semiGlobal(new A._EvaluateVisitor_visitEachRule_closure7(_this, list, t1, node), true, type$.nullable_Value_2);
  101266. },
  101267. _evaluate0$_setMultipleVariables$3(variables, value, nodeWithSpan) {
  101268. var i,
  101269. list = value.get$asList(),
  101270. t1 = variables.length,
  101271. minLength = Math.min(t1, list.length);
  101272. for (i = 0; i < minLength; ++i)
  101273. this._evaluate0$_environment.setLocalVariable$3(variables[i], this._evaluate0$_withoutSlash$2(list[i], nodeWithSpan), nodeWithSpan);
  101274. for (i = minLength; i < t1; ++i)
  101275. this._evaluate0$_environment.setLocalVariable$3(variables[i], B.C__SassNull0, nodeWithSpan);
  101276. },
  101277. visitErrorRule$1(_, node) {
  101278. throw A.wrapException(this._evaluate0$_exception$2(node.expression.accept$1(this).toString$0(0), node.span));
  101279. },
  101280. visitExtendRule$1(_, node) {
  101281. var t1, t2, t3, t4, t5, _i, complex, visitor, t6, t7, _0_0, compound, _this = this, _null = null,
  101282. styleRule = _this._evaluate0$_atRootExcludingStyleRule ? _null : _this._evaluate0$_styleRuleIgnoringAtRoot;
  101283. if (styleRule == null || _this._evaluate0$_declarationName != null)
  101284. throw A.wrapException(_this._evaluate0$_exception$2(string$.x40exten, node.span));
  101285. for (t1 = styleRule.originalSelector.components, t2 = t1.length, t3 = node.span, t4 = type$.SourceSpan, t5 = type$.String, _i = 0; _i < t2; ++_i) {
  101286. complex = t1[_i];
  101287. if (!complex.accept$1(B._IsBogusVisitor_true0))
  101288. continue;
  101289. visitor = A._SerializeVisitor$0(_null, true, _null, _null, true, false, _null, true);
  101290. complex.accept$1(visitor);
  101291. t6 = B.JSString_methods.trim$0(visitor._serialize0$_buffer.toString$0(0));
  101292. t7 = complex.accept$1(B.C__IsUselessVisitor0) ? "can't" : "shouldn't";
  101293. _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);
  101294. }
  101295. _0_0 = _this._evaluate0$_performInterpolationWithMap$2$warnForColor(node.selector, true);
  101296. 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) {
  101297. complex = t1[_i];
  101298. compound = complex.get$singleCompound();
  101299. if (compound == null)
  101300. throw A.wrapException(A.SassFormatException$0("complex selectors may not be extended.", complex.span, _null));
  101301. t4 = compound.components;
  101302. t5 = t4.length === 1 ? B.JSArray_methods.get$first(t4) : _null;
  101303. if (t5 == null)
  101304. throw A.wrapException(A.SassFormatException$0(string$.compou + B.JSArray_methods.join$1(t4, ", ") + string$.x60_inst, compound.span, _null));
  101305. _this._evaluate0$_assertInModule$2(_this._evaluate0$__extensionStore, "_extensionStore").addExtension$4(t3.value, t5, node, _this._evaluate0$_mediaQueries);
  101306. }
  101307. return _null;
  101308. },
  101309. visitAtRule$1(_, node) {
  101310. var $name, value, children, wasInKeyframes, wasInUnknownAtRule, _this = this;
  101311. if (_this._evaluate0$_declarationName != null)
  101312. throw A.wrapException(_this._evaluate0$_exception$2(string$.At_rul, node.span));
  101313. $name = _this._evaluate0$_interpolationToValue$1(node.name);
  101314. value = A.NullableExtension_andThen0(node.value, new A._EvaluateVisitor_visitAtRule_closure5(_this));
  101315. children = node.children;
  101316. if (children == null) {
  101317. _this._evaluate0$_assertInModule$2(_this._evaluate0$__parent, "__parent").addChild$1(A.ModifiableCssAtRule$0($name, node.span, true, value));
  101318. return null;
  101319. }
  101320. wasInKeyframes = _this._evaluate0$_inKeyframes;
  101321. wasInUnknownAtRule = _this._evaluate0$_inUnknownAtRule;
  101322. if (A.unvendor0($name.value) === "keyframes")
  101323. _this._evaluate0$_inKeyframes = true;
  101324. else
  101325. _this._evaluate0$_inUnknownAtRule = true;
  101326. _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);
  101327. _this._evaluate0$_inUnknownAtRule = wasInUnknownAtRule;
  101328. _this._evaluate0$_inKeyframes = wasInKeyframes;
  101329. return null;
  101330. },
  101331. visitForRule$1(_, node) {
  101332. var _this = this, t1 = {},
  101333. t2 = node.from,
  101334. fromNumber = _this._evaluate0$_addExceptionSpan$2(t2, new A._EvaluateVisitor_visitForRule_closure9(_this, node)),
  101335. t3 = node.to,
  101336. toNumber = _this._evaluate0$_addExceptionSpan$2(t3, new A._EvaluateVisitor_visitForRule_closure10(_this, node)),
  101337. from = _this._evaluate0$_addExceptionSpan$2(t2, new A._EvaluateVisitor_visitForRule_closure11(fromNumber)),
  101338. to = t1.to = _this._evaluate0$_addExceptionSpan$2(t3, new A._EvaluateVisitor_visitForRule_closure12(toNumber, fromNumber)),
  101339. direction = from > to ? -1 : 1;
  101340. if (from === (!node.isExclusive ? t1.to = to + direction : to))
  101341. return null;
  101342. return _this._evaluate0$_environment.scope$1$2$semiGlobal(new A._EvaluateVisitor_visitForRule_closure13(t1, _this, node, from, direction, fromNumber), true, type$.nullable_Value_2);
  101343. },
  101344. visitForwardRule$1(_, node) {
  101345. var newConfiguration, t4, _i, variable, $name, _this = this,
  101346. _s8_ = "@forward",
  101347. oldConfiguration = _this._evaluate0$_configuration,
  101348. adjustedConfiguration = oldConfiguration.throughForward$1(node),
  101349. t1 = node.configuration,
  101350. t2 = t1.length,
  101351. t3 = node.url;
  101352. if (t2 !== 0) {
  101353. newConfiguration = _this._evaluate0$_addForwardConfiguration$2(adjustedConfiguration, node);
  101354. _this._evaluate0$_loadModule$5$configuration(t3, _s8_, node, new A._EvaluateVisitor_visitForwardRule_closure3(_this, node), newConfiguration);
  101355. t3 = type$.String;
  101356. t4 = A.LinkedHashSet_LinkedHashSet$_empty(t3);
  101357. for (_i = 0; _i < t2; ++_i) {
  101358. variable = t1[_i];
  101359. if (!variable.isGuarded)
  101360. t4.add$1(0, variable.name);
  101361. }
  101362. _this._evaluate0$_removeUsedConfiguration$3$except(adjustedConfiguration, newConfiguration, t4);
  101363. t3 = A.LinkedHashSet_LinkedHashSet$_empty(t3);
  101364. for (_i = 0; _i < t2; ++_i)
  101365. t3.add$1(0, t1[_i].name);
  101366. 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) {
  101367. $name = t2[_i];
  101368. if (!t3.contains$1(0, $name))
  101369. if (!t1.get$isEmpty(t1))
  101370. t1.remove$1(0, $name);
  101371. }
  101372. _this._evaluate0$_assertConfigurationIsEmpty$1(newConfiguration);
  101373. } else {
  101374. _this._evaluate0$_configuration = adjustedConfiguration;
  101375. _this._evaluate0$_loadModule$4(t3, _s8_, node, new A._EvaluateVisitor_visitForwardRule_closure4(_this, node));
  101376. _this._evaluate0$_configuration = oldConfiguration;
  101377. }
  101378. return null;
  101379. },
  101380. _evaluate0$_addForwardConfiguration$2(configuration, node) {
  101381. var t2, t3, _i, variable, t4, _0_0, t5, oldValue, variableNodeWithSpan, _null = null,
  101382. t1 = configuration._configuration0$_values,
  101383. newValues = A.LinkedHashMap_LinkedHashMap$of(new A.UnmodifiableMapView(t1, type$.UnmodifiableMapView_String_ConfiguredValue_2), type$.String, type$.ConfiguredValue_2);
  101384. for (t2 = node.configuration, t3 = t2.length, _i = 0; _i < t3; ++_i) {
  101385. variable = t2[_i];
  101386. if (variable.isGuarded) {
  101387. t4 = variable.name;
  101388. _0_0 = t1.get$isEmpty(t1) ? _null : t1.remove$1(0, t4);
  101389. if (_0_0 != null) {
  101390. t5 = !_0_0.value.$eq(0, B.C__SassNull0);
  101391. oldValue = _0_0;
  101392. } else {
  101393. oldValue = _null;
  101394. t5 = false;
  101395. }
  101396. if (t5) {
  101397. newValues.$indexSet(0, t4, oldValue);
  101398. continue;
  101399. }
  101400. }
  101401. t4 = variable.expression;
  101402. variableNodeWithSpan = this._evaluate0$_expressionNode$1(t4);
  101403. newValues.$indexSet(0, variable.name, new A.ConfiguredValue0(this._evaluate0$_withoutSlash$2(t4.accept$1(this), variableNodeWithSpan), variable.span, variableNodeWithSpan));
  101404. }
  101405. if (configuration instanceof A.ExplicitConfiguration0 || t1.get$isEmpty(t1))
  101406. return new A.ExplicitConfiguration0(node, newValues, _null);
  101407. else
  101408. return new A.Configuration0(newValues, _null);
  101409. },
  101410. _evaluate0$_registerCommentsForModule$1(module) {
  101411. var _this = this, _s5_ = "_root",
  101412. t1 = _this._evaluate0$__root;
  101413. if (t1 == null)
  101414. return;
  101415. if (_this._evaluate0$_assertInModule$2(t1, _s5_).children.get$length(0) === 0 || !module.get$transitivelyContainsCss())
  101416. return;
  101417. t1 = _this._evaluate0$_preModuleComments;
  101418. if (t1 == null)
  101419. t1 = _this._evaluate0$_preModuleComments = A.LinkedHashMap_LinkedHashMap$_empty(type$.Module_Callable_2, type$.List_CssComment_2);
  101420. 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));
  101421. _this._evaluate0$_assertInModule$2(_this._evaluate0$__root, _s5_).clearChildren$0();
  101422. _this._evaluate0$__endOfImports = 0;
  101423. },
  101424. _evaluate0$_removeUsedConfiguration$3$except(upstream, downstream, except) {
  101425. var t1, t2, t3, t4, _i, $name;
  101426. 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) {
  101427. $name = t2[_i];
  101428. if (except.contains$1(0, $name))
  101429. continue;
  101430. if (!t4.containsKey$1($name))
  101431. if (!t1.get$isEmpty(t1))
  101432. t1.remove$1(0, $name);
  101433. }
  101434. },
  101435. _evaluate0$_assertConfigurationIsEmpty$2$nameInError(configuration, nameInError) {
  101436. var t1, _0_0, $name, value;
  101437. if (!(configuration instanceof A.ExplicitConfiguration0))
  101438. return;
  101439. t1 = configuration._configuration0$_values;
  101440. if (t1.get$isEmpty(t1))
  101441. return;
  101442. t1 = A.MapExtensions_get_pairs0(new A.UnmodifiableMapView(t1, type$.UnmodifiableMapView_String_ConfiguredValue_2), type$.String, type$.ConfiguredValue_2);
  101443. _0_0 = t1.get$first(t1);
  101444. $name = _0_0._0;
  101445. value = _0_0._1;
  101446. t1 = nameInError ? "$" + $name + string$.x20was_n : string$.This_v;
  101447. throw A.wrapException(this._evaluate0$_exception$2(t1, value.configurationSpan));
  101448. },
  101449. _evaluate0$_assertConfigurationIsEmpty$1(configuration) {
  101450. return this._evaluate0$_assertConfigurationIsEmpty$2$nameInError(configuration, false);
  101451. },
  101452. visitFunctionRule$1(_, node) {
  101453. var t1 = this._evaluate0$_environment,
  101454. t2 = t1.closure$0(),
  101455. t3 = this._evaluate0$_inDependency,
  101456. t4 = t1._environment0$_functions,
  101457. index = t4.length - 1,
  101458. t5 = node.name;
  101459. t1._environment0$_functionIndices.$indexSet(0, t5, index);
  101460. t4[index].$indexSet(0, t5, new A.UserDefinedCallable0(node, t2, t3, type$.UserDefinedCallable_Environment_2));
  101461. return null;
  101462. },
  101463. visitIfRule$1(_, node) {
  101464. var t1, t2, _i, clauseToCheck,
  101465. clause = node.lastClause;
  101466. for (t1 = node.clauses, t2 = t1.length, _i = 0; _i < t2; ++_i) {
  101467. clauseToCheck = t1[_i];
  101468. if (clauseToCheck.expression.accept$1(this).get$isTruthy()) {
  101469. clause = clauseToCheck;
  101470. break;
  101471. }
  101472. }
  101473. return A.NullableExtension_andThen0(clause, new A._EvaluateVisitor_visitIfRule_closure1(this));
  101474. },
  101475. visitImportRule$1(_, node) {
  101476. var t1, t2, t3, t4, t5, t6, _i, $import, t7, _0_0, $self, t8, _this = this,
  101477. _s8_ = "__parent",
  101478. _s5_ = "_root",
  101479. _s13_ = "_endOfImports";
  101480. 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) {
  101481. $import = t1[_i];
  101482. if ($import instanceof A.DynamicImport0)
  101483. _this._evaluate0$_visitDynamicImport$1($import);
  101484. else {
  101485. t5._as($import);
  101486. t7 = $import.url;
  101487. _0_0 = _this._evaluate0$_performInterpolationHelper$3$sourceMap$warnForColor(t7, false, false);
  101488. $self = $import.modifiers;
  101489. t8 = $self == null ? null : t4.call$1($self);
  101490. node = new A.ModifiableCssImport0(new A.CssValue0(_0_0._0, t7.span, t3), t8, $import.span);
  101491. if (_this._evaluate0$_assertInModule$2(_this._evaluate0$__parent, _s8_) !== _this._evaluate0$_assertInModule$2(_this._evaluate0$__root, _s5_))
  101492. _this._evaluate0$_assertInModule$2(_this._evaluate0$__parent, _s8_).addChild$1(node);
  101493. 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)) {
  101494. t7 = _this._evaluate0$_assertInModule$2(_this._evaluate0$__root, _s5_);
  101495. node._node$_parent = t7;
  101496. t7 = t7._node$_children;
  101497. node._node$_indexInParent = t7.length;
  101498. t7.push(node);
  101499. _this._evaluate0$__endOfImports = _this._evaluate0$_assertInModule$2(_this._evaluate0$__endOfImports, _s13_) + 1;
  101500. } else {
  101501. t7 = _this._evaluate0$_outOfOrderImports;
  101502. (t7 == null ? _this._evaluate0$_outOfOrderImports = A._setArrayType([], t6) : t7).push(node);
  101503. }
  101504. }
  101505. }
  101506. return null;
  101507. },
  101508. _evaluate0$_visitDynamicImport$1($import) {
  101509. return this._evaluate0$_withStackFrame$3("@import", $import, new A._EvaluateVisitor__visitDynamicImport_closure1(this, $import));
  101510. },
  101511. _evaluate0$_loadStylesheet$4$baseUrl$forImport(url, span, baseUrl, forImport) {
  101512. 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,
  101513. _s11_ = "_stylesheet";
  101514. baseUrl = baseUrl;
  101515. try {
  101516. _this._evaluate0$_importSpan = span;
  101517. _0_0 = _this._evaluate0$_importCache;
  101518. importCache = null;
  101519. if (_0_0 != null) {
  101520. importCache = _0_0;
  101521. if (baseUrl == null)
  101522. baseUrl = _this._evaluate0$_assertInModule$2(_this._evaluate0$__stylesheet, _s11_).span.file.url;
  101523. _1_0 = J.canonicalize$4$baseImporter$baseUrl$forImport$x(importCache, A.Uri_parse(url), _this._evaluate0$_importer, baseUrl, forImport);
  101524. importer = null;
  101525. canonicalUrl = null;
  101526. originalUrl = null;
  101527. if (type$.Record_3_nullable_Object_and_nullable_Object_and_nullable_Object_originalUrl._is(_1_0)) {
  101528. importer = _1_0._0;
  101529. canonicalUrl = _1_0._1;
  101530. originalUrl = _1_0._2;
  101531. if (canonicalUrl.get$scheme() === "")
  101532. A.WarnForDeprecation_warnForDeprecation0(_this._evaluate0$_logger, B.Deprecation_Ord, "Importer " + A.S(importer) + " canonicalized " + url + " to " + A.S(canonicalUrl) + string$.x2e_Rela, null, null);
  101533. _this._evaluate0$_loadedUrls.add$1(0, canonicalUrl);
  101534. isDependency = _this._evaluate0$_inDependency || !J.$eq$(importer, _this._evaluate0$_importer);
  101535. _2_0 = importCache.importCanonical$3$originalUrl(importer, canonicalUrl, originalUrl);
  101536. stylesheet = null;
  101537. if (_2_0 != null) {
  101538. stylesheet = _2_0;
  101539. t1 = stylesheet;
  101540. t2 = importer;
  101541. return new A._Record_3_importer_isDependency(t1, t2, isDependency);
  101542. }
  101543. }
  101544. }
  101545. if (_this._nodeImporter != null) {
  101546. t1 = baseUrl;
  101547. _3_0 = _this._importLikeNode$3(url, t1 == null ? _this._evaluate0$_assertInModule$2(_this._evaluate0$__stylesheet, _s11_).span.file.url : t1, forImport);
  101548. result = null;
  101549. if (_3_0 != null) {
  101550. result = _3_0;
  101551. t1 = _this._evaluate0$_loadedUrls;
  101552. A.NullableExtension_andThen0(result._0.span.file.url, t1.get$add(t1));
  101553. t1 = result;
  101554. return t1;
  101555. }
  101556. }
  101557. t1 = B.JSString_methods.startsWith$1(url, "package:");
  101558. if (t1)
  101559. throw A.wrapException(string$.x22packa);
  101560. else
  101561. throw A.wrapException("Can't find stylesheet to import.");
  101562. } catch (exception) {
  101563. t1 = A.unwrapException(exception);
  101564. if (t1 instanceof A.SassException0)
  101565. throw exception;
  101566. else if (t1 instanceof A.ArgumentError) {
  101567. error = t1;
  101568. stackTrace = A.getTraceFromException(exception);
  101569. A.throwWithTrace0(_this._evaluate0$_exception$1(J.toString$0$(error)), error, stackTrace);
  101570. } else {
  101571. error0 = t1;
  101572. stackTrace0 = A.getTraceFromException(exception);
  101573. A.throwWithTrace0(_this._evaluate0$_exception$1(_this._evaluate0$_getErrorMessage$1(error0)), error0, stackTrace0);
  101574. }
  101575. } finally {
  101576. _this._evaluate0$_importSpan = null;
  101577. }
  101578. },
  101579. _evaluate0$_loadStylesheet$3$baseUrl(url, span, baseUrl) {
  101580. return this._evaluate0$_loadStylesheet$4$baseUrl$forImport(url, span, baseUrl, false);
  101581. },
  101582. _evaluate0$_loadStylesheet$3$forImport(url, span, forImport) {
  101583. return this._evaluate0$_loadStylesheet$4$baseUrl$forImport(url, span, null, forImport);
  101584. },
  101585. _importLikeNode$3(originalUrl, previous, forImport) {
  101586. var isDependency, url,
  101587. t1 = this._nodeImporter,
  101588. result = t1.loadRelative$3(originalUrl, previous, forImport);
  101589. if (result != null)
  101590. isDependency = this._evaluate0$_inDependency;
  101591. else {
  101592. result = t1.load$3(0, originalUrl, previous, forImport);
  101593. if (result == null)
  101594. return null;
  101595. isDependency = true;
  101596. }
  101597. url = result._1;
  101598. t1 = B.JSString_methods.startsWith$1(url, "file") ? A.Syntax_forPath0(url) : B.Syntax_SCSS_scss0;
  101599. return new A._Record_3_importer_isDependency(A.Stylesheet_Stylesheet$parse0(result._0, t1, url), null, isDependency);
  101600. },
  101601. _evaluate0$_applyMixin$5(mixin, contentCallable, $arguments, nodeWithSpan, nodeWithSpanWithoutContent) {
  101602. var t1, _0_0, t2, _1_8, t3, _this = this,
  101603. _s37_ = "Mixin doesn't accept a content block.",
  101604. _s10_ = "invocation";
  101605. $label0$0: {
  101606. if (mixin == null)
  101607. throw A.wrapException(_this._evaluate0$_exception$2("Undefined mixin.", nodeWithSpan.get$span(nodeWithSpan)));
  101608. t1 = mixin instanceof A.BuiltInCallable0;
  101609. if (t1 && !mixin.acceptsContent && contentCallable != null) {
  101610. t1 = _this._evaluate0$_evaluateArguments$1($arguments)._values;
  101611. _0_0 = mixin.callbackFor$2(t1[2].length, new A.MapKeySet(t1[0], type$.MapKeySet_String));
  101612. 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));
  101613. }
  101614. if (t1) {
  101615. _this._evaluate0$_environment.withContent$2(contentCallable, new A._EvaluateVisitor__applyMixin_closure3(_this, $arguments, mixin, nodeWithSpanWithoutContent));
  101616. break $label0$0;
  101617. }
  101618. t1 = type$.UserDefinedCallable_Environment_2._is(mixin);
  101619. t2 = false;
  101620. if (t1) {
  101621. _1_8 = mixin.declaration;
  101622. t3 = _1_8;
  101623. if (t3 instanceof A.MixinRule0)
  101624. t2 = !type$.MixinRule_2._as(_1_8).get$hasContent() && contentCallable != null;
  101625. }
  101626. if (t2)
  101627. 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));
  101628. if (t1) {
  101629. _this._evaluate0$_runUserDefinedCallable$1$4($arguments, mixin, nodeWithSpanWithoutContent, new A._EvaluateVisitor__applyMixin_closure4(_this, contentCallable, mixin, nodeWithSpanWithoutContent), type$.Null);
  101630. break $label0$0;
  101631. }
  101632. throw A.wrapException(A.UnsupportedError$("Unknown callable type " + mixin.toString$0(0) + "."));
  101633. }
  101634. },
  101635. visitIncludeRule$1(_, node) {
  101636. var _this = this,
  101637. mixin = _this._evaluate0$_addExceptionSpan$2(node, new A._EvaluateVisitor_visitIncludeRule_closure5(_this, node));
  101638. if (B.JSString_methods.startsWith$1(node.originalName, "--") && mixin instanceof A.UserDefinedCallable0 && !B.JSString_methods.startsWith$1(mixin.declaration.originalName, "--"))
  101639. _this._evaluate0$_warn$3(string$.Sassx20_m, node.get$nameSpan(), B.Deprecation_d4j);
  101640. _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)));
  101641. return null;
  101642. },
  101643. visitMixinRule$1(_, node) {
  101644. var t1 = this._evaluate0$_environment,
  101645. t2 = t1.closure$0(),
  101646. t3 = this._evaluate0$_inDependency,
  101647. t4 = t1._environment0$_mixins,
  101648. index = t4.length - 1,
  101649. t5 = node.name;
  101650. t1._environment0$_mixinIndices.$indexSet(0, t5, index);
  101651. t4[index].$indexSet(0, t5, new A.UserDefinedCallable0(node, t2, t3, type$.UserDefinedCallable_Environment_2));
  101652. return null;
  101653. },
  101654. visitLoudComment$1(_, node) {
  101655. var t1, text, _this = this,
  101656. _s8_ = "__parent",
  101657. _s13_ = "_endOfImports";
  101658. if (_this._evaluate0$_inFunction)
  101659. return null;
  101660. 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))
  101661. _this._evaluate0$__endOfImports = _this._evaluate0$_assertInModule$2(_this._evaluate0$__endOfImports, _s13_) + 1;
  101662. t1 = node.text;
  101663. text = _this._evaluate0$_performInterpolation$1(t1);
  101664. if (!B.JSString_methods.endsWith$1(text, "*/"))
  101665. text += " */";
  101666. _this._evaluate0$_assertInModule$2(_this._evaluate0$__parent, _s8_).addChild$1(new A.ModifiableCssComment0(text, t1.span));
  101667. return null;
  101668. },
  101669. visitMediaRule$1(_, node) {
  101670. var _0_0, queries, mergedQueries, t1, mergedSources, t2, t3, _this = this;
  101671. if (_this._evaluate0$_declarationName != null)
  101672. throw A.wrapException(_this._evaluate0$_exception$2(string$.Media_, node.span));
  101673. _0_0 = _this._evaluate0$_performInterpolationWithMap$2$warnForColor(node.query, true);
  101674. queries = new A.MediaQueryParser0(A.SpanScanner$(_0_0._0, null), _0_0._1).parse$0(0);
  101675. mergedQueries = A.NullableExtension_andThen0(_this._evaluate0$_mediaQueries, new A._EvaluateVisitor_visitMediaRule_closure5(_this, queries));
  101676. t1 = mergedQueries == null;
  101677. if (!t1 && J.get$isEmpty$asx(mergedQueries))
  101678. return null;
  101679. if (t1)
  101680. mergedSources = B.Set_empty6;
  101681. else {
  101682. t2 = _this._evaluate0$_mediaQuerySources;
  101683. t2.toString;
  101684. t2 = A.LinkedHashSet_LinkedHashSet$of(t2, type$.CssMediaQuery_2);
  101685. t3 = _this._evaluate0$_mediaQueries;
  101686. t3.toString;
  101687. t2.addAll$1(0, t3);
  101688. t2.addAll$1(0, queries);
  101689. mergedSources = t2;
  101690. }
  101691. t1 = t1 ? queries : mergedQueries;
  101692. _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);
  101693. return null;
  101694. },
  101695. _evaluate0$_mergeMediaQueries$2(queries1, queries2) {
  101696. var t1, t2, t3, t4, _0_0, t5, result,
  101697. queries = A._setArrayType([], type$.JSArray_CssMediaQuery_2);
  101698. for (t1 = J.get$iterator$ax(queries1), t2 = J.getInterceptor$ax(queries2); t1.moveNext$0();) {
  101699. t3 = t1.get$current(t1);
  101700. for (t4 = t2.get$iterator(queries2); t4.moveNext$0();) {
  101701. _0_0 = t3.merge$1(t4.get$current(t4));
  101702. if (B._SingletonCssMediaQueryMergeResult_00 === _0_0)
  101703. continue;
  101704. if (B._SingletonCssMediaQueryMergeResult_10 === _0_0)
  101705. return null;
  101706. t5 = _0_0 instanceof A.MediaQuerySuccessfulMergeResult0;
  101707. result = t5 ? _0_0 : null;
  101708. if (t5)
  101709. queries.push(result.query);
  101710. }
  101711. }
  101712. return queries;
  101713. },
  101714. visitReturnRule$1(_, node) {
  101715. var t1 = node.expression;
  101716. return this._evaluate0$_withoutSlash$2(t1.accept$1(this), t1);
  101717. },
  101718. visitSilentComment$1(_, node) {
  101719. return null;
  101720. },
  101721. visitStyleRule$1(_, node) {
  101722. var t1, _0_0, selectorText, selectorMap, parsedSelector, _1_0, t2, t3, _i, _2_0, first, t4, rule, oldAtRootExcludingStyleRule, _this = this, _null = null,
  101723. _s8_ = "__parent",
  101724. _s11_ = "_stylesheet";
  101725. if (_this._evaluate0$_declarationName != null)
  101726. throw A.wrapException(_this._evaluate0$_exception$2(string$.Style_n, node.span));
  101727. else if (_this._evaluate0$_inKeyframes && _this._evaluate0$_assertInModule$2(_this._evaluate0$__parent, _s8_) instanceof A.ModifiableCssKeyframeBlock0)
  101728. throw A.wrapException(_this._evaluate0$_exception$2(string$.Style_k, node.span));
  101729. t1 = node.selector;
  101730. _0_0 = _this._evaluate0$_performInterpolationWithMap$2$warnForColor(t1, true);
  101731. selectorText = _0_0._0;
  101732. selectorMap = _0_0._1;
  101733. if (_this._evaluate0$_inKeyframes) {
  101734. _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);
  101735. return _null;
  101736. }
  101737. parsedSelector = A.SelectorList_SelectorList$parse0(selectorText, true, selectorMap, _this._evaluate0$_assertInModule$2(_this._evaluate0$__stylesheet, _s11_).plainCss);
  101738. _1_0 = _this._evaluate0$_atRootExcludingStyleRule ? _null : _this._evaluate0$_styleRuleIgnoringAtRoot;
  101739. $label0$0: {
  101740. if (_1_0 == null) {
  101741. t1 = true;
  101742. break $label0$0;
  101743. }
  101744. if (_1_0.fromPlainCss) {
  101745. t1 = false;
  101746. break $label0$0;
  101747. }
  101748. t1 = !(_this._evaluate0$_assertInModule$2(_this._evaluate0$__stylesheet, _s11_).plainCss && parsedSelector.accept$1(B.C__ContainsParentSelectorVisitor0));
  101749. break $label0$0;
  101750. }
  101751. if (t1) {
  101752. if (_this._evaluate0$_assertInModule$2(_this._evaluate0$__stylesheet, _s11_).plainCss)
  101753. for (t2 = parsedSelector.components, t3 = t2.length, _i = 0; _i < t3; ++_i) {
  101754. _2_0 = t2[_i].leadingCombinators;
  101755. if (_2_0.length >= 1) {
  101756. first = _2_0[0];
  101757. t4 = _this._evaluate0$_assertInModule$2(_this._evaluate0$__stylesheet, _s11_).plainCss;
  101758. } else {
  101759. first = _null;
  101760. t4 = false;
  101761. }
  101762. if (t4)
  101763. throw A.wrapException(_this._evaluate0$_exception$2(string$.Top_lel, first.span));
  101764. }
  101765. t2 = _this._evaluate0$_styleRuleIgnoringAtRoot;
  101766. t2 = t2 == null ? _null : t2.originalSelector;
  101767. parsedSelector = parsedSelector.nestWithin$3$implicitParent$preserveParentSelectors(t2, !_this._evaluate0$_atRootExcludingStyleRule, _this._evaluate0$_assertInModule$2(_this._evaluate0$__stylesheet, _s11_).plainCss);
  101768. }
  101769. 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);
  101770. oldAtRootExcludingStyleRule = _this._evaluate0$_atRootExcludingStyleRule;
  101771. t2 = _this._evaluate0$_atRootExcludingStyleRule = false;
  101772. t1 = t1 ? new A._EvaluateVisitor_visitStyleRule_closure9() : _null;
  101773. _this._evaluate0$_withParent$2$4$scopeWhen$through(rule, new A._EvaluateVisitor_visitStyleRule_closure10(_this, rule, node), node.hasDeclarations, t1, type$.ModifiableCssStyleRule_2, type$.Null);
  101774. _this._evaluate0$_atRootExcludingStyleRule = oldAtRootExcludingStyleRule;
  101775. _this._evaluate0$_warnForBogusCombinators$1(rule);
  101776. if ((_this._evaluate0$_atRootExcludingStyleRule ? _null : _this._evaluate0$_styleRuleIgnoringAtRoot) == null) {
  101777. t1 = _this._evaluate0$_assertInModule$2(_this._evaluate0$__parent, _s8_).children;
  101778. t1 = !t1.get$isEmpty(t1);
  101779. } else
  101780. t1 = t2;
  101781. if (t1) {
  101782. t1 = _this._evaluate0$_assertInModule$2(_this._evaluate0$__parent, _s8_).children;
  101783. t1.get$last(t1).isGroupEnd = true;
  101784. }
  101785. return _null;
  101786. },
  101787. _evaluate0$_warnForBogusCombinators$1(rule) {
  101788. var t1, t2, t3, t4, t5, _i, complex, visitor, t6, t7, t8, t9, _this = this, _null = null;
  101789. if (!rule.accept$1(B._IsInvisibleVisitor_false_false0))
  101790. 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) {
  101791. complex = t1[_i];
  101792. if (!complex.accept$1(B._IsBogusVisitor_true0))
  101793. continue;
  101794. if (complex.accept$1(B.C__IsUselessVisitor0)) {
  101795. visitor = A._SerializeVisitor$0(_null, true, _null, _null, true, false, _null, true);
  101796. complex.accept$1(visitor);
  101797. _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);
  101798. } else if (complex.leadingCombinators.length !== 0) {
  101799. if (!_this._evaluate0$_assertInModule$2(_this._evaluate0$__stylesheet, "_stylesheet").plainCss) {
  101800. visitor = A._SerializeVisitor$0(_null, true, _null, _null, true, false, _null, true);
  101801. complex.accept$1(visitor);
  101802. _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);
  101803. }
  101804. } else {
  101805. visitor = A._SerializeVisitor$0(_null, true, _null, _null, true, false, _null, true);
  101806. complex.accept$1(visitor);
  101807. t6 = B.JSString_methods.trim$0(visitor._serialize0$_buffer.toString$0(0));
  101808. t7 = complex.accept$1(B._IsBogusVisitor_false0) ? string$.x20It_wi : "";
  101809. t8 = A.SpanExtensions_trimRight0(complex.span);
  101810. if (t5.get$length(0) === 0)
  101811. A.throwExpression(A.IterableElementError_noElement());
  101812. t9 = J.get$span$z(t5.$index(0, 0));
  101813. _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);
  101814. }
  101815. }
  101816. },
  101817. visitSupportsRule$1(_, node) {
  101818. var t1, _this = this;
  101819. if (_this._evaluate0$_declarationName != null)
  101820. throw A.wrapException(_this._evaluate0$_exception$2(string$.Suppor, node.span));
  101821. t1 = node.condition;
  101822. _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);
  101823. return null;
  101824. },
  101825. _evaluate0$_visitSupportsCondition$1(condition) {
  101826. var t1, _this = this;
  101827. $label0$0: {
  101828. if (condition instanceof A.SupportsOperation0) {
  101829. t1 = condition.operator;
  101830. t1 = _this._evaluate0$_parenthesize$2(condition.left, t1) + " " + t1 + " " + _this._evaluate0$_parenthesize$2(condition.right, t1);
  101831. break $label0$0;
  101832. }
  101833. if (condition instanceof A.SupportsNegation0) {
  101834. t1 = "not " + _this._evaluate0$_parenthesize$1(condition.condition);
  101835. break $label0$0;
  101836. }
  101837. if (condition instanceof A.SupportsInterpolation0) {
  101838. t1 = condition.expression;
  101839. t1 = _this._evaluate0$_serialize$3$quote(t1.accept$1(_this), t1, false);
  101840. break $label0$0;
  101841. }
  101842. t1 = {};
  101843. t1.declaration = null;
  101844. if (condition instanceof A.SupportsDeclaration0) {
  101845. t1.declaration = condition;
  101846. t1 = _this._evaluate0$_withSupportsDeclaration$1(new A._EvaluateVisitor__visitSupportsCondition_closure1(t1, _this));
  101847. break $label0$0;
  101848. }
  101849. if (condition instanceof A.SupportsFunction0) {
  101850. t1 = _this._evaluate0$_performInterpolation$1(condition.name) + "(" + _this._evaluate0$_performInterpolation$1(condition.$arguments) + ")";
  101851. break $label0$0;
  101852. }
  101853. if (condition instanceof A.SupportsAnything0) {
  101854. t1 = "(" + _this._evaluate0$_performInterpolation$1(condition.contents) + ")";
  101855. break $label0$0;
  101856. }
  101857. t1 = A.throwExpression(A.ArgumentError$("Unknown supports condition type " + A.getRuntimeTypeOfDartObject(condition).toString$0(0) + ".", null));
  101858. }
  101859. return t1;
  101860. },
  101861. _evaluate0$_withSupportsDeclaration$1$1(callback) {
  101862. var t1,
  101863. oldInSupportsDeclaration = this._evaluate0$_inSupportsDeclaration;
  101864. this._evaluate0$_inSupportsDeclaration = true;
  101865. try {
  101866. t1 = callback.call$0();
  101867. return t1;
  101868. } finally {
  101869. this._evaluate0$_inSupportsDeclaration = oldInSupportsDeclaration;
  101870. }
  101871. },
  101872. _evaluate0$_withSupportsDeclaration$1(callback) {
  101873. callback.toString;
  101874. return this._evaluate0$_withSupportsDeclaration$1$1(callback, type$.dynamic);
  101875. },
  101876. _evaluate0$_parenthesize$2(condition, operator) {
  101877. var t1;
  101878. if (!(condition instanceof A.SupportsNegation0))
  101879. if (condition instanceof A.SupportsOperation0)
  101880. t1 = operator == null || operator !== condition.operator;
  101881. else
  101882. t1 = false;
  101883. else
  101884. t1 = true;
  101885. if (t1)
  101886. return "(" + this._evaluate0$_visitSupportsCondition$1(condition) + ")";
  101887. return this._evaluate0$_visitSupportsCondition$1(condition);
  101888. },
  101889. _evaluate0$_parenthesize$1(condition) {
  101890. return this._evaluate0$_parenthesize$2(condition, null);
  101891. },
  101892. visitVariableDeclaration$1(_, node) {
  101893. var t1, t2, _0_0, value, _this = this, _null = null;
  101894. if (node.isGuarded) {
  101895. if (node.namespace == null && _this._evaluate0$_environment._environment0$_variables.length === 1) {
  101896. t1 = node.name;
  101897. _this._evaluate0$_environment._environment0$_configurableVariables.add$1(0, t1);
  101898. t2 = _this._evaluate0$_configuration._configuration0$_values;
  101899. _0_0 = t2.get$isEmpty(t2) ? _null : t2.remove$1(0, t1);
  101900. t1 = {};
  101901. t1.override = null;
  101902. if (_0_0 != null) {
  101903. t1.override = _0_0;
  101904. t2 = !_0_0.value.$eq(0, B.C__SassNull0);
  101905. } else
  101906. t2 = false;
  101907. if (t2) {
  101908. _this._evaluate0$_addExceptionSpan$2(node, new A._EvaluateVisitor_visitVariableDeclaration_closure5(t1, _this, node));
  101909. return _null;
  101910. }
  101911. }
  101912. value = _this._evaluate0$_addExceptionSpan$2(node, new A._EvaluateVisitor_visitVariableDeclaration_closure6(_this, node));
  101913. if (value != null && !value.$eq(0, B.C__SassNull0))
  101914. return _null;
  101915. }
  101916. if (node.isGlobal && !_this._evaluate0$_environment.globalVariableExists$1(node.name)) {
  101917. 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.";
  101918. _this._evaluate0$_warn$3(t1, node.span, B.Deprecation_mSy);
  101919. }
  101920. t1 = node.expression;
  101921. _this._evaluate0$_addExceptionSpan$2(node, new A._EvaluateVisitor_visitVariableDeclaration_closure7(_this, node, _this._evaluate0$_withoutSlash$2(t1.accept$1(_this), t1)));
  101922. return _null;
  101923. },
  101924. visitUseRule$1(_, node) {
  101925. var values, _i, variable, t3, variableNodeWithSpan, configuration, _this = this,
  101926. t1 = node.configuration,
  101927. t2 = t1.length;
  101928. if (t2 !== 0) {
  101929. values = A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.ConfiguredValue_2);
  101930. for (_i = 0; _i < t2; ++_i) {
  101931. variable = t1[_i];
  101932. t3 = variable.expression;
  101933. variableNodeWithSpan = _this._evaluate0$_expressionNode$1(t3);
  101934. values.$indexSet(0, variable.name, new A.ConfiguredValue0(_this._evaluate0$_withoutSlash$2(t3.accept$1(_this), variableNodeWithSpan), variable.span, variableNodeWithSpan));
  101935. }
  101936. configuration = new A.ExplicitConfiguration0(node, values, null);
  101937. } else
  101938. configuration = B.Configuration_Map_empty_null0;
  101939. _this._evaluate0$_loadModule$5$configuration(node.url, "@use", node, new A._EvaluateVisitor_visitUseRule_closure1(_this, node), configuration);
  101940. _this._evaluate0$_assertConfigurationIsEmpty$1(configuration);
  101941. return null;
  101942. },
  101943. visitWarnRule$1(_, node) {
  101944. var _this = this,
  101945. value = _this._evaluate0$_addExceptionSpan$2(node, new A._EvaluateVisitor_visitWarnRule_closure1(_this, node)),
  101946. t1 = value instanceof A.SassString0 ? value._string0$_text : _this._evaluate0$_serialize$2(value, node.expression),
  101947. t2 = _this._evaluate0$_stackTrace$1(node.span);
  101948. _this._evaluate0$_logger.internalWarn$4$deprecation$span$trace(t1, null, null, t2);
  101949. return null;
  101950. },
  101951. visitWhileRule$1(_, node) {
  101952. return this._evaluate0$_environment.scope$1$3$semiGlobal$when(new A._EvaluateVisitor_visitWhileRule_closure1(this, node), true, node.hasDeclarations, type$.nullable_Value_2);
  101953. },
  101954. visitBinaryOperationExpression$1(_, node) {
  101955. var t1, _this = this;
  101956. if (_this._evaluate0$_assertInModule$2(_this._evaluate0$__stylesheet, "_stylesheet").plainCss) {
  101957. t1 = node.operator;
  101958. t1 = t1 !== B.BinaryOperator_Kyq0 && t1 !== B.BinaryOperator_Mh50;
  101959. } else
  101960. t1 = false;
  101961. if (t1)
  101962. throw A.wrapException(_this._evaluate0$_exception$2("Operators aren't allowed in plain CSS.", node.get$operatorSpan()));
  101963. return _this._evaluate0$_addExceptionSpan$2(node, new A._EvaluateVisitor_visitBinaryOperationExpression_closure1(_this, node));
  101964. },
  101965. _evaluate0$_slash$3(left, right, node) {
  101966. var t2, _1_1,
  101967. result = left.dividedBy$1(right),
  101968. _1_2_isSet = left instanceof A.SassNumber0,
  101969. _1_2 = null, right0 = null,
  101970. t1 = false;
  101971. if (_1_2_isSet) {
  101972. t2 = type$.SassNumber_2;
  101973. t2._as(left);
  101974. if (right instanceof A.SassNumber0) {
  101975. t2._as(right);
  101976. t1 = node.allowsSlash && this._evaluate0$_operandAllowsSlash$1(node.left) && this._evaluate0$_operandAllowsSlash$1(node.right);
  101977. right0 = right;
  101978. _1_2 = right0;
  101979. } else
  101980. _1_2 = right;
  101981. _1_1 = left;
  101982. } else {
  101983. _1_1 = left;
  101984. left = null;
  101985. }
  101986. if (t1)
  101987. return type$.SassNumber_2._as(result).withSlash$2(left, right0);
  101988. if (_1_1 instanceof A.SassNumber0)
  101989. t1 = (_1_2_isSet ? _1_2 : right) instanceof A.SassNumber0;
  101990. else
  101991. t1 = false;
  101992. if (t1) {
  101993. 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);
  101994. return result;
  101995. }
  101996. return result;
  101997. },
  101998. _evaluate0$_operandAllowsSlash$1(node) {
  101999. var t1;
  102000. if (node instanceof A.FunctionExpression0)
  102001. if (node.namespace == null) {
  102002. t1 = node.name;
  102003. t1 = B.Set_Pr3yj.contains$1(0, t1.toLowerCase()) && this._evaluate0$_environment.getFunction$1(t1) == null;
  102004. } else
  102005. t1 = false;
  102006. else
  102007. t1 = true;
  102008. return t1;
  102009. },
  102010. visitValueExpression$1(_, node) {
  102011. return node.value;
  102012. },
  102013. visitVariableExpression$1(_, node) {
  102014. var result = this._evaluate0$_addExceptionSpan$2(node, new A._EvaluateVisitor_visitVariableExpression_closure1(this, node));
  102015. if (result != null)
  102016. return result;
  102017. throw A.wrapException(this._evaluate0$_exception$2("Undefined variable.", node.span));
  102018. },
  102019. visitUnaryOperationExpression$1(_, node) {
  102020. return this._evaluate0$_addExceptionSpan$2(node, new A._EvaluateVisitor_visitUnaryOperationExpression_closure1(node, node.operand.accept$1(this)));
  102021. },
  102022. visitBooleanExpression$1(_, node) {
  102023. return node.value ? B.SassBoolean_true0 : B.SassBoolean_false0;
  102024. },
  102025. visitIfExpression$1(_, node) {
  102026. var condition, t1, ifTrue, ifFalse, result, _this = this,
  102027. _0_0 = _this._evaluate0$_evaluateMacroArguments$1(node),
  102028. positional = _0_0._0,
  102029. named = _0_0._1;
  102030. _this._evaluate0$_verifyArguments$4(positional.length, named, $.$get$IfExpression_declaration0(), node);
  102031. condition = A.ListExtensions_elementAtOrNull(positional, 0);
  102032. if (condition == null) {
  102033. t1 = named.$index(0, "condition");
  102034. t1.toString;
  102035. condition = t1;
  102036. }
  102037. ifTrue = A.ListExtensions_elementAtOrNull(positional, 1);
  102038. if (ifTrue == null) {
  102039. t1 = named.$index(0, "if-true");
  102040. t1.toString;
  102041. ifTrue = t1;
  102042. }
  102043. ifFalse = A.ListExtensions_elementAtOrNull(positional, 2);
  102044. if (ifFalse == null) {
  102045. t1 = named.$index(0, "if-false");
  102046. t1.toString;
  102047. ifFalse = t1;
  102048. }
  102049. result = condition.accept$1(_this).get$isTruthy() ? ifTrue : ifFalse;
  102050. return _this._evaluate0$_withoutSlash$2(result.accept$1(_this), _this._evaluate0$_expressionNode$1(result));
  102051. },
  102052. visitNullExpression$1(_, node) {
  102053. return B.C__SassNull0;
  102054. },
  102055. visitNumberExpression$1(_, node) {
  102056. return A.SassNumber_SassNumber0(node.value, node.unit);
  102057. },
  102058. visitParenthesizedExpression$1(_, node) {
  102059. var _this = this;
  102060. 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);
  102061. },
  102062. visitColorExpression$1(_, node) {
  102063. return node.value;
  102064. },
  102065. visitListExpression$1(_, node) {
  102066. var t1 = node.contents;
  102067. 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);
  102068. },
  102069. visitMapExpression$1(_, node) {
  102070. var t2, t3, _i, t4, key, keyValue, valueValue, oldValueSpan,
  102071. t1 = type$.Value_2,
  102072. map = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1),
  102073. keyNodes = A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.AstNode_2);
  102074. for (t2 = node.pairs, t3 = t2.length, _i = 0; _i < t3; ++_i) {
  102075. t4 = t2[_i];
  102076. key = t4._0;
  102077. keyValue = key.accept$1(this);
  102078. valueValue = t4._1.accept$1(this);
  102079. if (map.containsKey$1(keyValue)) {
  102080. t1 = keyNodes.$index(0, keyValue);
  102081. oldValueSpan = t1 == null ? null : t1.get$span(t1);
  102082. t1 = key.get$span(key);
  102083. t2 = A.LinkedHashMap_LinkedHashMap$_empty(type$.FileSpan, type$.String);
  102084. if (oldValueSpan != null)
  102085. t2.$indexSet(0, oldValueSpan, "first key");
  102086. throw A.wrapException(A.MultiSpanSassRuntimeException$0("Duplicate key.", t1, "second key", t2, this._evaluate0$_stackTrace$1(key.get$span(key)), null));
  102087. }
  102088. map.$indexSet(0, keyValue, valueValue);
  102089. keyNodes.$indexSet(0, keyValue, key);
  102090. }
  102091. return new A.SassMap0(A.ConstantMap_ConstantMap$from(map, t1, t1));
  102092. },
  102093. visitFunctionExpression$1(_, node) {
  102094. var t2, _0_0, t3, t4, $name, oldInFunction, result, _this = this,
  102095. _s11_ = "_stylesheet",
  102096. t1 = {},
  102097. $function = _this._evaluate0$_assertInModule$2(_this._evaluate0$__stylesheet, _s11_).plainCss ? null : _this._evaluate0$_addExceptionSpan$2(node, new A._EvaluateVisitor_visitFunctionExpression_closure5(_this, node));
  102098. t1.$function = $function;
  102099. if ($function == null) {
  102100. if (node.namespace != null)
  102101. throw A.wrapException(_this._evaluate0$_exception$2("Undefined function.", node.span));
  102102. t2 = node.name;
  102103. _0_0 = t2.toLowerCase();
  102104. t3 = false;
  102105. if ("min" === _0_0 || "max" === _0_0 || "round" === _0_0 || "abs" === _0_0) {
  102106. t3 = node.$arguments;
  102107. t4 = t3.named;
  102108. t3 = t4.get$isEmpty(t4) && t3.rest == null && B.JSArray_methods.every$1(t3.positional, new A._EvaluateVisitor_visitFunctionExpression_closure6());
  102109. $name = _0_0;
  102110. } else
  102111. $name = null;
  102112. if (t3)
  102113. return _this._evaluate0$_visitCalculation$2$inLegacySassFunction(node, $name);
  102114. 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)
  102115. return _this._evaluate0$_visitCalculation$1(node);
  102116. $function = _this._evaluate0$_assertInModule$2(_this._evaluate0$__stylesheet, _s11_).plainCss ? null : _this._evaluate0$_builtInFunctions.$index(0, t2);
  102117. t2 = t1.$function = $function == null ? new A.PlainCssCallable0(node.originalName) : $function;
  102118. } else
  102119. t2 = $function;
  102120. if (B.JSString_methods.startsWith$1(node.originalName, "--") && t2 instanceof A.UserDefinedCallable0 && !B.JSString_methods.startsWith$1(t2.declaration.originalName, "--"))
  102121. _this._evaluate0$_warn$3(string$.Sassx20_f_, node.get$nameSpan(), B.Deprecation_d4j);
  102122. oldInFunction = _this._evaluate0$_inFunction;
  102123. _this._evaluate0$_inFunction = true;
  102124. result = _this._evaluate0$_addErrorSpan$2(node, new A._EvaluateVisitor_visitFunctionExpression_closure7(t1, _this, node));
  102125. _this._evaluate0$_inFunction = oldInFunction;
  102126. return result;
  102127. },
  102128. _evaluate0$_visitCalculation$2$inLegacySassFunction(node, inLegacySassFunction) {
  102129. var $arguments, oldCallableNode, t1, _0_0, error, stackTrace, t4, _i, exception, _this = this,
  102130. t2 = node.$arguments,
  102131. t3 = t2.named;
  102132. if (t3.get$isNotEmpty(t3))
  102133. throw A.wrapException(_this._evaluate0$_exception$2(string$.Keywor, node.span));
  102134. else if (t2.rest != null)
  102135. throw A.wrapException(_this._evaluate0$_exception$2(string$.Rest_a, node.span));
  102136. _this._evaluate0$_checkCalculationArguments$1(node);
  102137. t3 = A._setArrayType([], type$.JSArray_Object);
  102138. for (t2 = t2.positional, t4 = t2.length, _i = 0; _i < t4; ++_i)
  102139. t3.push(_this._evaluate0$_visitCalculationExpression$2$inLegacySassFunction(t2[_i], inLegacySassFunction));
  102140. $arguments = t3;
  102141. if (_this._evaluate0$_inSupportsDeclaration)
  102142. return new A.SassCalculation0(node.name, A.List_List$unmodifiable($arguments, type$.Object));
  102143. oldCallableNode = _this._evaluate0$_callableNode;
  102144. _this._evaluate0$_callableNode = node;
  102145. try {
  102146. t1 = null;
  102147. t3 = node.name;
  102148. _0_0 = t3.toLowerCase();
  102149. $label0$0: {
  102150. if ("calc" === _0_0) {
  102151. t1 = A.SassCalculation_calc0(J.$index$asx($arguments, 0));
  102152. break $label0$0;
  102153. }
  102154. if ("sqrt" === _0_0) {
  102155. t1 = A.SassCalculation__singleArgument0("sqrt", J.$index$asx($arguments, 0), A.number2__sqrt$closure(), true);
  102156. break $label0$0;
  102157. }
  102158. if ("sin" === _0_0) {
  102159. t1 = A.SassCalculation__singleArgument0("sin", J.$index$asx($arguments, 0), A.number2__sin$closure(), false);
  102160. break $label0$0;
  102161. }
  102162. if ("cos" === _0_0) {
  102163. t1 = A.SassCalculation__singleArgument0("cos", J.$index$asx($arguments, 0), A.number2__cos$closure(), false);
  102164. break $label0$0;
  102165. }
  102166. if ("tan" === _0_0) {
  102167. t1 = A.SassCalculation__singleArgument0("tan", J.$index$asx($arguments, 0), A.number2__tan$closure(), false);
  102168. break $label0$0;
  102169. }
  102170. if ("asin" === _0_0) {
  102171. t1 = A.SassCalculation__singleArgument0("asin", J.$index$asx($arguments, 0), A.number2__asin$closure(), true);
  102172. break $label0$0;
  102173. }
  102174. if ("acos" === _0_0) {
  102175. t1 = A.SassCalculation__singleArgument0("acos", J.$index$asx($arguments, 0), A.number2__acos$closure(), true);
  102176. break $label0$0;
  102177. }
  102178. if ("atan" === _0_0) {
  102179. t1 = A.SassCalculation__singleArgument0("atan", J.$index$asx($arguments, 0), A.number2__atan$closure(), true);
  102180. break $label0$0;
  102181. }
  102182. if ("abs" === _0_0) {
  102183. t1 = A.SassCalculation_abs0(J.$index$asx($arguments, 0));
  102184. break $label0$0;
  102185. }
  102186. if ("exp" === _0_0) {
  102187. t1 = A.SassCalculation_exp0(J.$index$asx($arguments, 0));
  102188. break $label0$0;
  102189. }
  102190. if ("sign" === _0_0) {
  102191. t1 = A.SassCalculation_sign0(J.$index$asx($arguments, 0));
  102192. break $label0$0;
  102193. }
  102194. if ("min" === _0_0) {
  102195. t1 = A.SassCalculation_min0($arguments);
  102196. break $label0$0;
  102197. }
  102198. if ("max" === _0_0) {
  102199. t1 = A.SassCalculation_max0($arguments);
  102200. break $label0$0;
  102201. }
  102202. if ("hypot" === _0_0) {
  102203. t1 = A.SassCalculation_hypot0($arguments);
  102204. break $label0$0;
  102205. }
  102206. if ("pow" === _0_0) {
  102207. t1 = A.SassCalculation_pow0(J.$index$asx($arguments, 0), A.ListExtensions_elementAtOrNull($arguments, 1));
  102208. break $label0$0;
  102209. }
  102210. if ("atan2" === _0_0) {
  102211. t1 = A.SassCalculation_atan20(J.$index$asx($arguments, 0), A.ListExtensions_elementAtOrNull($arguments, 1));
  102212. break $label0$0;
  102213. }
  102214. if ("log" === _0_0) {
  102215. t1 = A.SassCalculation_log0(J.$index$asx($arguments, 0), A.ListExtensions_elementAtOrNull($arguments, 1));
  102216. break $label0$0;
  102217. }
  102218. if ("mod" === _0_0) {
  102219. t1 = A.SassCalculation_mod0(J.$index$asx($arguments, 0), A.ListExtensions_elementAtOrNull($arguments, 1));
  102220. break $label0$0;
  102221. }
  102222. if ("rem" === _0_0) {
  102223. t1 = A.SassCalculation_rem0(J.$index$asx($arguments, 0), A.ListExtensions_elementAtOrNull($arguments, 1));
  102224. break $label0$0;
  102225. }
  102226. if ("round" === _0_0) {
  102227. 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));
  102228. break $label0$0;
  102229. }
  102230. if ("clamp" === _0_0) {
  102231. t1 = A.SassCalculation_clamp0(J.$index$asx($arguments, 0), A.ListExtensions_elementAtOrNull($arguments, 1), A.ListExtensions_elementAtOrNull($arguments, 2));
  102232. break $label0$0;
  102233. }
  102234. if ("calc-size" === _0_0) {
  102235. t1 = A.SassCalculation_calcSize0(J.$index$asx($arguments, 0), A.ListExtensions_elementAtOrNull($arguments, 1));
  102236. break $label0$0;
  102237. }
  102238. t3 = A.UnsupportedError$('Unknown calculation name "' + t3 + '".');
  102239. t1 = A.throwExpression(t3);
  102240. }
  102241. t1 = t1;
  102242. return t1;
  102243. } catch (exception) {
  102244. t1 = A.unwrapException(exception);
  102245. if (t1 instanceof A.SassScriptException0) {
  102246. error = t1;
  102247. stackTrace = A.getTraceFromException(exception);
  102248. if (B.JSString_methods.contains$1(error.message, "compatible"))
  102249. _this._evaluate0$_verifyCompatibleNumbers$2($arguments, t2);
  102250. A.throwWithTrace0(_this._evaluate0$_exception$2(error.message, node.span), error, stackTrace);
  102251. } else
  102252. throw exception;
  102253. } finally {
  102254. _this._evaluate0$_callableNode = oldCallableNode;
  102255. }
  102256. },
  102257. _evaluate0$_visitCalculation$1(node) {
  102258. return this._evaluate0$_visitCalculation$2$inLegacySassFunction(node, null);
  102259. },
  102260. _evaluate0$_checkCalculationArguments$1(node) {
  102261. var t1, _0_0,
  102262. check = new A._EvaluateVisitor__checkCalculationArguments_check1(this, node);
  102263. $label0$0: {
  102264. t1 = node.name;
  102265. _0_0 = t1.toLowerCase();
  102266. 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) {
  102267. check.call$1(1);
  102268. break $label0$0;
  102269. }
  102270. if ("min" === _0_0 || "max" === _0_0 || "hypot" === _0_0) {
  102271. check.call$0();
  102272. break $label0$0;
  102273. }
  102274. if ("pow" === _0_0 || "atan2" === _0_0 || "log" === _0_0 || "mod" === _0_0 || "rem" === _0_0 || "calc-size" === _0_0) {
  102275. check.call$1(2);
  102276. break $label0$0;
  102277. }
  102278. if ("round" === _0_0 || "clamp" === _0_0) {
  102279. check.call$1(3);
  102280. break $label0$0;
  102281. }
  102282. throw A.wrapException(A.UnsupportedError$('Unknown calculation name "' + t1 + '".'));
  102283. }
  102284. },
  102285. _evaluate0$_verifyCompatibleNumbers$2(args, nodesWithSpans) {
  102286. var i, t1, _0_0, arg, t2, number1, j, number2, t3, t4, t5, t6;
  102287. for (i = 0; t1 = args.length, i < t1; ++i) {
  102288. _0_0 = args[i];
  102289. if (_0_0 instanceof A.SassNumber0) {
  102290. t1 = _0_0.get$hasComplexUnits();
  102291. arg = _0_0;
  102292. } else {
  102293. arg = null;
  102294. t1 = false;
  102295. }
  102296. if (t1) {
  102297. t1 = A.S(arg);
  102298. t2 = nodesWithSpans[i];
  102299. throw A.wrapException(this._evaluate0$_exception$2("Number " + t1 + " isn't compatible with CSS calculations.", t2.get$span(t2)));
  102300. }
  102301. }
  102302. for (i = 0; i < t1 - 1; ++i) {
  102303. number1 = args[i];
  102304. if (!(number1 instanceof A.SassNumber0))
  102305. continue;
  102306. for (j = i + 1; t1 = args.length, j < t1; ++j) {
  102307. number2 = args[j];
  102308. if (!(number2 instanceof A.SassNumber0))
  102309. continue;
  102310. if (number1.hasPossiblyCompatibleUnits$1(number2))
  102311. continue;
  102312. t1 = number1.toString$0(0);
  102313. t2 = number2.toString$0(0);
  102314. t3 = nodesWithSpans[i];
  102315. t3 = t3.get$span(t3);
  102316. t4 = number1.toString$0(0);
  102317. t5 = nodesWithSpans[j];
  102318. t5 = A.LinkedHashMap_LinkedHashMap$_literal([t5.get$span(t5), number2.toString$0(0)], type$.FileSpan, type$.String);
  102319. t6 = nodesWithSpans[i];
  102320. throw A.wrapException(A.MultiSpanSassRuntimeException$0(t1 + " and " + t2 + " are incompatible.", t3, t4, t5, this._evaluate0$_stackTrace$1(t6.get$span(t6)), null));
  102321. }
  102322. }
  102323. },
  102324. _evaluate0$_visitCalculationExpression$2$inLegacySassFunction(node, inLegacySassFunction) {
  102325. var result, t2, _0_0, _box_0, _1_0, t3, _i, i, _this = this, _null = null,
  102326. t1 = node instanceof A.ParenthesizedExpression0,
  102327. inner = t1 ? node.expression : _null;
  102328. if (t1) {
  102329. result = _this._evaluate0$_visitCalculationExpression$2$inLegacySassFunction(inner, inLegacySassFunction);
  102330. return result instanceof A.SassString0 ? new A.SassString0("(" + result._string0$_text + ")", false) : result;
  102331. }
  102332. if (node instanceof A.StringExpression0 && node.accept$1(B.C_IsCalculationSafeVisitor0)) {
  102333. t1 = node.text;
  102334. t2 = t1.get$asPlain();
  102335. _0_0 = t2 == null ? _null : t2.toLowerCase();
  102336. $label0$0: {
  102337. if ("pi" === _0_0) {
  102338. t1 = A.SassNumber_SassNumber0(3.141592653589793, _null);
  102339. break $label0$0;
  102340. }
  102341. if ("e" === _0_0) {
  102342. t1 = A.SassNumber_SassNumber0(2.718281828459045, _null);
  102343. break $label0$0;
  102344. }
  102345. if ("infinity" === _0_0) {
  102346. t1 = A.SassNumber_SassNumber0(1 / 0, _null);
  102347. break $label0$0;
  102348. }
  102349. if ("-infinity" === _0_0) {
  102350. t1 = A.SassNumber_SassNumber0(-1 / 0, _null);
  102351. break $label0$0;
  102352. }
  102353. if ("nan" === _0_0) {
  102354. t1 = A.SassNumber_SassNumber0(0 / 0, _null);
  102355. break $label0$0;
  102356. }
  102357. t1 = new A.SassString0(_this._evaluate0$_performInterpolation$1(t1), false);
  102358. break $label0$0;
  102359. }
  102360. return t1;
  102361. }
  102362. _box_0 = {};
  102363. _box_0.right = _box_0.left = _box_0.operator = null;
  102364. t1 = node instanceof A.BinaryOperationExpression0;
  102365. if (t1) {
  102366. _box_0.operator = node.operator;
  102367. _box_0.left = node.left;
  102368. _box_0.right = node.right;
  102369. }
  102370. if (t1) {
  102371. _this._evaluate0$_checkWhitespaceAroundCalculationOperator$1(node);
  102372. return _this._evaluate0$_addExceptionSpan$2(node, new A._EvaluateVisitor__visitCalculationExpression_closure1(_box_0, _this, node, inLegacySassFunction));
  102373. }
  102374. if (node instanceof A.NumberExpression0 || node instanceof A.VariableExpression0 || node instanceof A.FunctionExpression0 || node instanceof A.IfExpression0) {
  102375. _1_0 = node.accept$1(_this);
  102376. $label1$1: {
  102377. if (_1_0 instanceof A.SassNumber0) {
  102378. t1 = _1_0;
  102379. break $label1$1;
  102380. }
  102381. if (_1_0 instanceof A.SassCalculation0) {
  102382. t1 = _1_0;
  102383. break $label1$1;
  102384. }
  102385. if (_1_0 instanceof A.SassString0) {
  102386. t1 = !_1_0._string0$_hasQuotes;
  102387. result = _1_0;
  102388. } else {
  102389. result = _null;
  102390. t1 = false;
  102391. }
  102392. if (t1) {
  102393. t1 = result;
  102394. break $label1$1;
  102395. }
  102396. t1 = A.throwExpression(_this._evaluate0$_exception$2("Value " + _1_0.toString$0(0) + " can't be used in a calculation.", node.get$span(node)));
  102397. }
  102398. return t1;
  102399. }
  102400. if (node instanceof A.ListExpression0 && !node.hasBrackets && B.ListSeparator_qSL0 === node.separator && node.contents.length >= 2) {
  102401. t1 = A._setArrayType([], type$.JSArray_Object);
  102402. for (t2 = node.contents, t3 = t2.length, _i = 0; _i < t3; ++_i)
  102403. t1.push(_this._evaluate0$_visitCalculationExpression$2$inLegacySassFunction(t2[_i], inLegacySassFunction));
  102404. _this._evaluate0$_checkAdjacentCalculationValues$2(t1, node);
  102405. for (i = 0; i < t1.length; ++i) {
  102406. t3 = t1[i];
  102407. if (t3 instanceof A.CalculationOperation0 && t2[i] instanceof A.ParenthesizedExpression0)
  102408. t1[i] = new A.SassString0("(" + t3.toString$0(0) + ")", false);
  102409. }
  102410. return new A.SassString0(B.JSArray_methods.join$1(t1, " "), false);
  102411. }
  102412. throw A.wrapException(_this._evaluate0$_exception$2(string$.This_e, node.get$span(node)));
  102413. },
  102414. _evaluate0$_checkWhitespaceAroundCalculationOperator$1(node) {
  102415. var t2, t3, t4, textBetweenOperands, first, last,
  102416. t1 = node.operator;
  102417. if (t1 !== B.BinaryOperator_Swh0 && t1 !== B.BinaryOperator_QG10)
  102418. return;
  102419. t1 = node.left;
  102420. t2 = t1.get$span(t1);
  102421. t2 = t2.get$file(t2);
  102422. t3 = node.right;
  102423. t4 = t3.get$span(t3);
  102424. if (t2 !== t4.get$file(t4))
  102425. return;
  102426. t2 = t1.get$span(t1);
  102427. t2 = t2.get$end(t2);
  102428. t4 = t3.get$span(t3);
  102429. if (t2.offset >= t4.get$start(t4).offset)
  102430. return;
  102431. t2 = t1.get$span(t1);
  102432. t2 = t2.get$file(t2);
  102433. t1 = t1.get$span(t1);
  102434. t1 = t1.get$end(t1);
  102435. t3 = t3.get$span(t3);
  102436. textBetweenOperands = A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t2._decodedChars, t1.offset, t3.get$start(t3).offset), 0, null);
  102437. first = textBetweenOperands.charCodeAt(0);
  102438. last = textBetweenOperands.charCodeAt(textBetweenOperands.length - 1);
  102439. if (first === 32 || first === 9 || first === 10 || first === 13 || first === 12 || first === 47)
  102440. t1 = !(last === 32 || last === 9 || last === 10 || last === 13 || last === 12 || last === 47);
  102441. else
  102442. t1 = true;
  102443. if (t1)
  102444. throw A.wrapException(this._evaluate0$_exception$2(string$.x22x2b__an, node.get$operatorSpan()));
  102445. },
  102446. _evaluate0$_binaryOperatorToCalculationOperator$2(operator, node) {
  102447. var t1;
  102448. $label0$0: {
  102449. if (B.BinaryOperator_Swh0 === operator) {
  102450. t1 = B.CalculationOperator_F7i0;
  102451. break $label0$0;
  102452. }
  102453. if (B.BinaryOperator_QG10 === operator) {
  102454. t1 = B.CalculationOperator_oum0;
  102455. break $label0$0;
  102456. }
  102457. if (B.BinaryOperator_tht0 === operator) {
  102458. t1 = B.CalculationOperator_kkN0;
  102459. break $label0$0;
  102460. }
  102461. if (B.BinaryOperator_Mh50 === operator) {
  102462. t1 = B.CalculationOperator_bo50;
  102463. break $label0$0;
  102464. }
  102465. t1 = A.throwExpression(this._evaluate0$_exception$2(string$.This_o, node.get$operatorSpan()));
  102466. }
  102467. return t1;
  102468. },
  102469. _evaluate0$_checkAdjacentCalculationValues$2(elements, node) {
  102470. var t1, i, t2, previous, current, previousNode, currentNode, _0_2;
  102471. for (t1 = elements.length, i = 1; i < t1; ++i) {
  102472. t2 = i - 1;
  102473. previous = elements[t2];
  102474. current = elements[i];
  102475. if (previous instanceof A.SassString0 || current instanceof A.SassString0)
  102476. continue;
  102477. t1 = node.contents;
  102478. previousNode = t1[t2];
  102479. currentNode = t1[i];
  102480. if (currentNode instanceof A.UnaryOperationExpression0) {
  102481. _0_2 = currentNode.operator;
  102482. if (B.UnaryOperator_UCP0 !== _0_2)
  102483. t1 = B.UnaryOperator_Rbl0 === _0_2;
  102484. else
  102485. t1 = true;
  102486. } else
  102487. t1 = false;
  102488. if (!t1)
  102489. t1 = currentNode instanceof A.NumberExpression0 && currentNode.value < 0;
  102490. else
  102491. t1 = true;
  102492. if (t1)
  102493. throw A.wrapException(this._evaluate0$_exception$2(string$.x22x2b__an, A.FileSpanExtension_subspan(currentNode.get$span(currentNode), 0, 1)));
  102494. else
  102495. throw A.wrapException(this._evaluate0$_exception$2("Missing math operator.", previousNode.get$span(previousNode).expand$1(0, currentNode.get$span(currentNode))));
  102496. }
  102497. },
  102498. visitInterpolatedFunctionExpression$1(_, node) {
  102499. var result, _this = this,
  102500. t1 = _this._evaluate0$_performInterpolation$1(node.name),
  102501. oldInFunction = _this._evaluate0$_inFunction;
  102502. _this._evaluate0$_inFunction = true;
  102503. result = _this._evaluate0$_addErrorSpan$2(node, new A._EvaluateVisitor_visitInterpolatedFunctionExpression_closure1(_this, node, new A.PlainCssCallable0(t1)));
  102504. _this._evaluate0$_inFunction = oldInFunction;
  102505. return result;
  102506. },
  102507. _evaluate0$_runUserDefinedCallable$1$4($arguments, callable, nodeWithSpan, run, $V) {
  102508. var oldInDependency, result, _this = this,
  102509. evaluated = _this._evaluate0$_evaluateArguments$1($arguments),
  102510. $name = callable.declaration.name;
  102511. if ($name !== "@content")
  102512. $name += "()";
  102513. oldInDependency = _this._evaluate0$_inDependency;
  102514. _this._evaluate0$_inDependency = callable.inDependency;
  102515. result = _this._evaluate0$_withStackFrame$3($name, nodeWithSpan, new A._EvaluateVisitor__runUserDefinedCallable_closure1(_this, callable, evaluated, nodeWithSpan, run, $V));
  102516. _this._evaluate0$_inDependency = oldInDependency;
  102517. return result;
  102518. },
  102519. _evaluate0$_runFunctionCallable$3($arguments, callable, nodeWithSpan) {
  102520. var buffer, first, argument, restArg, rest, error, t1, t2, _i, t3, t4, exception, _this = this;
  102521. if (callable instanceof A.BuiltInCallable0)
  102522. return _this._evaluate0$_withoutSlash$2(_this._evaluate0$_runBuiltInCallable$3($arguments, callable, nodeWithSpan), nodeWithSpan);
  102523. else if (type$.UserDefinedCallable_Environment_2._is(callable))
  102524. return _this._evaluate0$_runUserDefinedCallable$1$4($arguments, callable, nodeWithSpan, new A._EvaluateVisitor__runFunctionCallable_closure1(_this, callable), type$.Value_2);
  102525. else if (callable instanceof A.PlainCssCallable0) {
  102526. t1 = $arguments.named;
  102527. if (t1.get$isNotEmpty(t1) || $arguments.keywordRest != null)
  102528. throw A.wrapException(_this._evaluate0$_exception$2(string$.Plain_, nodeWithSpan.get$span(nodeWithSpan)));
  102529. buffer = new A.StringBuffer(callable.name + "(");
  102530. try {
  102531. first = true;
  102532. for (t1 = $arguments.positional, t2 = t1.length, _i = 0; _i < t2; ++_i) {
  102533. argument = t1[_i];
  102534. if (first)
  102535. first = false;
  102536. else
  102537. buffer._contents += ", ";
  102538. t3 = buffer;
  102539. t4 = argument;
  102540. t4 = _this._evaluate0$_serialize$3$quote(t4.accept$1(_this), t4, true);
  102541. t3._contents += t4;
  102542. }
  102543. restArg = $arguments.rest;
  102544. if (restArg != null) {
  102545. rest = restArg.accept$1(_this);
  102546. if (!first)
  102547. buffer._contents += ", ";
  102548. t1 = buffer;
  102549. t2 = _this._evaluate0$_serialize$2(rest, restArg);
  102550. t1._contents += t2;
  102551. }
  102552. } catch (exception) {
  102553. t1 = A.unwrapException(exception);
  102554. if (type$.SassRuntimeException_2._is(t1)) {
  102555. error = t1;
  102556. if (!B.JSString_methods.endsWith$1(error._span_exception$_message, "isn't a valid CSS value."))
  102557. throw exception;
  102558. 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));
  102559. } else
  102560. throw exception;
  102561. }
  102562. t1 = buffer;
  102563. t2 = A.Primitives_stringFromCharCode(41);
  102564. t1._contents += t2;
  102565. t2 = buffer._contents;
  102566. return new A.SassString0(t2.charCodeAt(0) == 0 ? t2 : t2, false);
  102567. } else
  102568. throw A.wrapException(A.ArgumentError$("Unknown callable type " + J.get$runtimeType$(callable).toString$0(0) + ".", null));
  102569. },
  102570. _evaluate0$_runBuiltInCallable$3($arguments, callable, nodeWithSpan) {
  102571. var result, error, stackTrace, namedSet, _0_0, parameters, i, t1, parameter, t2, t3, rest, argumentList, exception, _this = this, _box_0 = {},
  102572. evaluated = _this._evaluate0$_evaluateArguments$1($arguments),
  102573. oldCallableNode = _this._evaluate0$_callableNode;
  102574. _this._evaluate0$_callableNode = nodeWithSpan;
  102575. namedSet = new A.MapKeySet(evaluated._values[0], type$.MapKeySet_String);
  102576. _box_0.callback = _box_0.overload = null;
  102577. _0_0 = callable.callbackFor$2(evaluated._values[2].length, namedSet);
  102578. _box_0.overload = _0_0._0;
  102579. _box_0.callback = _0_0._1;
  102580. _this._evaluate0$_addExceptionSpan$2(nodeWithSpan, new A._EvaluateVisitor__runBuiltInCallable_closure5(_box_0, evaluated, namedSet));
  102581. parameters = _box_0.overload.parameters;
  102582. for (i = evaluated._values[2].length, t1 = parameters.length; i < t1; ++i) {
  102583. parameter = parameters[i];
  102584. t2 = evaluated._values[2];
  102585. t3 = evaluated._values[0].remove$1(0, parameter.name);
  102586. if (t3 == null) {
  102587. t3 = parameter.defaultValue;
  102588. t3 = _this._evaluate0$_withoutSlash$2(t3.accept$1(_this), t3);
  102589. }
  102590. t2.push(t3);
  102591. }
  102592. if (_box_0.overload.restParameter != null) {
  102593. if (evaluated._values[2].length > t1) {
  102594. rest = B.JSArray_methods.sublist$1(evaluated._values[2], t1);
  102595. B.JSArray_methods.removeRange$2(evaluated._values[2], t1, evaluated._values[2].length);
  102596. } else
  102597. rest = B.List_empty22;
  102598. t1 = evaluated._values[0];
  102599. argumentList = A.SassArgumentList$0(rest, t1, evaluated._values[4] === B.ListSeparator_undecided_null_undecided0 ? B.ListSeparator_qVN0 : evaluated._values[4]);
  102600. evaluated._values[2].push(argumentList);
  102601. } else
  102602. argumentList = null;
  102603. result = null;
  102604. try {
  102605. result = _this._evaluate0$_addExceptionSpan$2(nodeWithSpan, new A._EvaluateVisitor__runBuiltInCallable_closure6(_box_0, evaluated));
  102606. } catch (exception) {
  102607. t1 = A.unwrapException(exception);
  102608. if (t1 instanceof A.SassException0)
  102609. throw exception;
  102610. else {
  102611. error = t1;
  102612. stackTrace = A.getTraceFromException(exception);
  102613. A.throwWithTrace0(_this._evaluate0$_exception$2(_this._evaluate0$_getErrorMessage$1(error), nodeWithSpan.get$span(nodeWithSpan)), error, stackTrace);
  102614. }
  102615. }
  102616. _this._evaluate0$_callableNode = oldCallableNode;
  102617. if (argumentList == null)
  102618. return result;
  102619. if (evaluated._values[0].__js_helper$_length === 0)
  102620. return result;
  102621. if (argumentList._argument_list$_wereKeywordsAccessed)
  102622. return result;
  102623. 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));
  102624. },
  102625. _evaluate0$_evaluateArguments$1($arguments) {
  102626. var t1, t2, _i, expression, nodeForSpan, named, namedNodes, t3, t4, $name, value, restArgs, rest, restNodeForSpan, t5, separator, keywordRestArgs, keywordRest, keywordRestNodeForSpan, _this = this,
  102627. positional = A._setArrayType([], type$.JSArray_Value_2),
  102628. positionalNodes = A._setArrayType([], type$.JSArray_AstNode_2);
  102629. for (t1 = $arguments.positional, t2 = t1.length, _i = 0; _i < t2; ++_i) {
  102630. expression = t1[_i];
  102631. nodeForSpan = _this._evaluate0$_expressionNode$1(expression);
  102632. positional.push(_this._evaluate0$_withoutSlash$2(expression.accept$1(_this), nodeForSpan));
  102633. positionalNodes.push(nodeForSpan);
  102634. }
  102635. t1 = type$.String;
  102636. named = A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.Value_2);
  102637. t2 = type$.AstNode_2;
  102638. namedNodes = A.LinkedHashMap_LinkedHashMap$_empty(t1, t2);
  102639. for (t3 = A.MapExtensions_get_pairs0($arguments.named, t1, type$.Expression_2), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
  102640. t4 = t3.get$current(t3);
  102641. $name = t4._0;
  102642. value = t4._1;
  102643. nodeForSpan = _this._evaluate0$_expressionNode$1(value);
  102644. named.$indexSet(0, $name, _this._evaluate0$_withoutSlash$2(value.accept$1(_this), nodeForSpan));
  102645. namedNodes.$indexSet(0, $name, nodeForSpan);
  102646. }
  102647. restArgs = $arguments.rest;
  102648. if (restArgs == null)
  102649. return new A._Record_5_named_namedNodes_positional_positionalNodes_separator([named, namedNodes, positional, positionalNodes, B.ListSeparator_undecided_null_undecided0]);
  102650. rest = restArgs.accept$1(_this);
  102651. restNodeForSpan = _this._evaluate0$_expressionNode$1(restArgs);
  102652. if (rest instanceof A.SassMap0) {
  102653. _this._evaluate0$_addRestMap$4(named, rest, restArgs, new A._EvaluateVisitor__evaluateArguments_closure7());
  102654. t3 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t2);
  102655. for (t4 = rest._map0$_contents, t4 = J.get$iterator$ax(t4.get$keys(t4)), t5 = type$.SassString_2; t4.moveNext$0();)
  102656. t3.$indexSet(0, t5._as(t4.get$current(t4))._string0$_text, restNodeForSpan);
  102657. namedNodes.addAll$1(0, t3);
  102658. separator = B.ListSeparator_undecided_null_undecided0;
  102659. } else if (rest instanceof A.SassList0) {
  102660. t3 = rest._list1$_contents;
  102661. 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>")));
  102662. B.JSArray_methods.addAll$1(positionalNodes, A.List_List$filled(t3.length, restNodeForSpan, false, t2));
  102663. separator = rest._list1$_separator;
  102664. if (rest instanceof A.SassArgumentList0) {
  102665. rest._argument_list$_wereKeywordsAccessed = true;
  102666. rest._argument_list$_keywords.forEach$1(0, new A._EvaluateVisitor__evaluateArguments_closure9(_this, named, restNodeForSpan, namedNodes));
  102667. }
  102668. } else {
  102669. positional.push(_this._evaluate0$_withoutSlash$2(rest, restNodeForSpan));
  102670. positionalNodes.push(restNodeForSpan);
  102671. separator = B.ListSeparator_undecided_null_undecided0;
  102672. }
  102673. keywordRestArgs = $arguments.keywordRest;
  102674. if (keywordRestArgs == null)
  102675. return new A._Record_5_named_namedNodes_positional_positionalNodes_separator([named, namedNodes, positional, positionalNodes, separator]);
  102676. keywordRest = keywordRestArgs.accept$1(_this);
  102677. keywordRestNodeForSpan = _this._evaluate0$_expressionNode$1(keywordRestArgs);
  102678. if (keywordRest instanceof A.SassMap0) {
  102679. _this._evaluate0$_addRestMap$4(named, keywordRest, keywordRestArgs, new A._EvaluateVisitor__evaluateArguments_closure10());
  102680. t1 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t2);
  102681. for (t2 = keywordRest._map0$_contents, t2 = J.get$iterator$ax(t2.get$keys(t2)), t3 = type$.SassString_2; t2.moveNext$0();)
  102682. t1.$indexSet(0, t3._as(t2.get$current(t2))._string0$_text, keywordRestNodeForSpan);
  102683. namedNodes.addAll$1(0, t1);
  102684. return new A._Record_5_named_namedNodes_positional_positionalNodes_separator([named, namedNodes, positional, positionalNodes, separator]);
  102685. } else
  102686. throw A.wrapException(_this._evaluate0$_exception$2(string$.Variabs + keywordRest.toString$0(0) + ").", keywordRestArgs.get$span(keywordRestArgs)));
  102687. },
  102688. _evaluate0$_evaluateMacroArguments$1(invocation) {
  102689. var t2, positional, named, rest, restNodeForSpan, keywordRestArgs_, keywordRest, keywordRestNodeForSpan, _this = this,
  102690. t1 = invocation.$arguments,
  102691. restArgs_ = t1.rest;
  102692. if (restArgs_ == null)
  102693. return new A._Record_2(t1.positional, t1.named);
  102694. t2 = t1.positional;
  102695. positional = A._setArrayType(t2.slice(0), A._arrayInstanceType(t2));
  102696. named = A.LinkedHashMap_LinkedHashMap$of(t1.named, type$.String, type$.Expression_2);
  102697. rest = restArgs_.accept$1(_this);
  102698. restNodeForSpan = _this._evaluate0$_expressionNode$1(restArgs_);
  102699. if (rest instanceof A.SassMap0)
  102700. _this._evaluate0$_addRestMap$4(named, rest, invocation, new A._EvaluateVisitor__evaluateMacroArguments_closure7(restArgs_));
  102701. else if (rest instanceof A.SassList0) {
  102702. t2 = rest._list1$_contents;
  102703. 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>")));
  102704. if (rest instanceof A.SassArgumentList0) {
  102705. rest._argument_list$_wereKeywordsAccessed = true;
  102706. rest._argument_list$_keywords.forEach$1(0, new A._EvaluateVisitor__evaluateMacroArguments_closure9(_this, named, restNodeForSpan, restArgs_));
  102707. }
  102708. } else
  102709. positional.push(new A.ValueExpression0(_this._evaluate0$_withoutSlash$2(rest, restNodeForSpan), restArgs_.get$span(restArgs_)));
  102710. keywordRestArgs_ = t1.keywordRest;
  102711. if (keywordRestArgs_ == null)
  102712. return new A._Record_2(positional, named);
  102713. keywordRest = keywordRestArgs_.accept$1(_this);
  102714. keywordRestNodeForSpan = _this._evaluate0$_expressionNode$1(keywordRestArgs_);
  102715. if (keywordRest instanceof A.SassMap0) {
  102716. _this._evaluate0$_addRestMap$4(named, keywordRest, invocation, new A._EvaluateVisitor__evaluateMacroArguments_closure10(_this, keywordRestNodeForSpan, keywordRestArgs_));
  102717. return new A._Record_2(positional, named);
  102718. } else
  102719. throw A.wrapException(_this._evaluate0$_exception$2(string$.Variabs + keywordRest.toString$0(0) + ").", keywordRestArgs_.get$span(keywordRestArgs_)));
  102720. },
  102721. _evaluate0$_addRestMap$1$4(values, map, nodeWithSpan, convert) {
  102722. map._map0$_contents.forEach$1(0, new A._EvaluateVisitor__addRestMap_closure1(this, values, convert, this._evaluate0$_expressionNode$1(nodeWithSpan), map, nodeWithSpan));
  102723. },
  102724. _evaluate0$_addRestMap$4(values, map, nodeWithSpan, convert) {
  102725. convert.toString;
  102726. return this._evaluate0$_addRestMap$1$4(values, map, nodeWithSpan, convert, type$.dynamic);
  102727. },
  102728. _evaluate0$_verifyArguments$4(positional, named, parameters, nodeWithSpan) {
  102729. return this._evaluate0$_addExceptionSpan$2(nodeWithSpan, new A._EvaluateVisitor__verifyArguments_closure1(parameters, positional, named));
  102730. },
  102731. visitSelectorExpression$1(_, node) {
  102732. var t1 = this._evaluate0$_styleRuleIgnoringAtRoot;
  102733. t1 = t1 == null ? null : t1.originalSelector.get$asSassList();
  102734. return t1 == null ? B.C__SassNull0 : t1;
  102735. },
  102736. visitStringExpression$1(_, node) {
  102737. var t1, t2, t3, _i, value, t4, _0_0, text, _this = this,
  102738. oldInSupportsDeclaration = _this._evaluate0$_inSupportsDeclaration;
  102739. _this._evaluate0$_inSupportsDeclaration = false;
  102740. t1 = A._setArrayType([], type$.JSArray_String);
  102741. for (t2 = node.text.contents, t3 = t2.length, _i = 0; _i < t3; ++_i) {
  102742. value = t2[_i];
  102743. $label0$0: {
  102744. if (typeof value == "string") {
  102745. t4 = value;
  102746. break $label0$0;
  102747. }
  102748. if (value instanceof A.Expression0) {
  102749. _0_0 = value.accept$1(_this);
  102750. $label1$1: {
  102751. if (_0_0 instanceof A.SassString0) {
  102752. text = _0_0._string0$_text;
  102753. t4 = text;
  102754. break $label1$1;
  102755. }
  102756. t4 = _this._evaluate0$_serialize$3$quote(_0_0, value, false);
  102757. break $label1$1;
  102758. }
  102759. break $label0$0;
  102760. }
  102761. t4 = A.throwExpression(A.UnsupportedError$("Unknown interpolation value " + A.S(value)));
  102762. }
  102763. t1.push(t4);
  102764. }
  102765. t1 = B.JSArray_methods.join$0(t1);
  102766. _this._evaluate0$_inSupportsDeclaration = oldInSupportsDeclaration;
  102767. return new A.SassString0(t1, node.hasQuotes);
  102768. },
  102769. visitSupportsExpression$1(_, expression) {
  102770. return new A.SassString0(this._evaluate0$_visitSupportsCondition$1(expression.condition), false);
  102771. },
  102772. visitCssAtRule$1(node) {
  102773. var wasInKeyframes, wasInUnknownAtRule, t1, _this = this;
  102774. if (_this._evaluate0$_declarationName != null)
  102775. throw A.wrapException(_this._evaluate0$_exception$2(string$.At_rul, node.span));
  102776. if (node.isChildless) {
  102777. _this._evaluate0$_assertInModule$2(_this._evaluate0$__parent, "__parent").addChild$1(A.ModifiableCssAtRule$0(node.name, node.span, true, node.value));
  102778. return;
  102779. }
  102780. wasInKeyframes = _this._evaluate0$_inKeyframes;
  102781. wasInUnknownAtRule = _this._evaluate0$_inUnknownAtRule;
  102782. t1 = node.name;
  102783. if (A.unvendor0(t1.value) === "keyframes")
  102784. _this._evaluate0$_inKeyframes = true;
  102785. else
  102786. _this._evaluate0$_inUnknownAtRule = true;
  102787. _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);
  102788. _this._evaluate0$_inUnknownAtRule = wasInUnknownAtRule;
  102789. _this._evaluate0$_inKeyframes = wasInKeyframes;
  102790. },
  102791. visitCssComment$1(node) {
  102792. var _this = this,
  102793. _s8_ = "__parent",
  102794. _s13_ = "_endOfImports";
  102795. 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))
  102796. _this._evaluate0$__endOfImports = _this._evaluate0$_assertInModule$2(_this._evaluate0$__endOfImports, _s13_) + 1;
  102797. _this._evaluate0$_assertInModule$2(_this._evaluate0$__parent, _s8_).addChild$1(new A.ModifiableCssComment0(node.text, node.span));
  102798. },
  102799. visitCssDeclaration$1(node) {
  102800. 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));
  102801. },
  102802. visitCssImport$1(node) {
  102803. var t1, _this = this,
  102804. _s8_ = "__parent",
  102805. _s5_ = "_root",
  102806. _s13_ = "_endOfImports",
  102807. modifiableNode = new A.ModifiableCssImport0(node.url, node.modifiers, node.span);
  102808. if (_this._evaluate0$_assertInModule$2(_this._evaluate0$__parent, _s8_) !== _this._evaluate0$_assertInModule$2(_this._evaluate0$__root, _s5_))
  102809. _this._evaluate0$_assertInModule$2(_this._evaluate0$__parent, _s8_).addChild$1(modifiableNode);
  102810. 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)) {
  102811. _this._evaluate0$_assertInModule$2(_this._evaluate0$__root, _s5_).addChild$1(modifiableNode);
  102812. _this._evaluate0$__endOfImports = _this._evaluate0$_assertInModule$2(_this._evaluate0$__endOfImports, _s13_) + 1;
  102813. } else {
  102814. t1 = _this._evaluate0$_outOfOrderImports;
  102815. (t1 == null ? _this._evaluate0$_outOfOrderImports = A._setArrayType([], type$.JSArray_ModifiableCssImport_2) : t1).push(modifiableNode);
  102816. }
  102817. },
  102818. visitCssKeyframeBlock$1(node) {
  102819. 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);
  102820. },
  102821. visitCssMediaRule$1(node) {
  102822. var mergedQueries, t1, mergedSources, t2, t3, _this = this;
  102823. if (_this._evaluate0$_declarationName != null)
  102824. throw A.wrapException(_this._evaluate0$_exception$2(string$.Media_, node.span));
  102825. mergedQueries = A.NullableExtension_andThen0(_this._evaluate0$_mediaQueries, new A._EvaluateVisitor_visitCssMediaRule_closure5(_this, node));
  102826. t1 = mergedQueries == null;
  102827. if (!t1 && J.get$isEmpty$asx(mergedQueries))
  102828. return;
  102829. if (t1)
  102830. mergedSources = B.Set_empty6;
  102831. else {
  102832. t2 = _this._evaluate0$_mediaQuerySources;
  102833. t2.toString;
  102834. t2 = A.LinkedHashSet_LinkedHashSet$of(t2, type$.CssMediaQuery_2);
  102835. t3 = _this._evaluate0$_mediaQueries;
  102836. t3.toString;
  102837. t2.addAll$1(0, t3);
  102838. t2.addAll$1(0, node.queries);
  102839. mergedSources = t2;
  102840. }
  102841. t1 = t1 ? node.queries : mergedQueries;
  102842. _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);
  102843. },
  102844. visitCssStyleRule$1(node) {
  102845. var t1, styleRule, _0_0, t2, t3, originalSelector, rule, oldAtRootExcludingStyleRule, _1_1, lastChild, _this = this, _null = null,
  102846. _s8_ = "__parent";
  102847. if (_this._evaluate0$_declarationName != null)
  102848. throw A.wrapException(_this._evaluate0$_exception$2(string$.Style_n, node.span));
  102849. else if (_this._evaluate0$_inKeyframes && _this._evaluate0$_assertInModule$2(_this._evaluate0$__parent, _s8_) instanceof A.ModifiableCssKeyframeBlock0)
  102850. throw A.wrapException(_this._evaluate0$_exception$2(string$.Style_k, node.span));
  102851. t1 = _this._evaluate0$_atRootExcludingStyleRule;
  102852. styleRule = t1 ? _null : _this._evaluate0$_styleRuleIgnoringAtRoot;
  102853. _0_0 = t1 ? _null : _this._evaluate0$_styleRuleIgnoringAtRoot;
  102854. $label0$0: {
  102855. if (_0_0 == null) {
  102856. t1 = true;
  102857. break $label0$0;
  102858. }
  102859. if (_0_0.fromPlainCss) {
  102860. t1 = false;
  102861. break $label0$0;
  102862. }
  102863. t1 = !(node.fromPlainCss && node._style_rule0$_selector._box0$_inner.value.accept$1(B.C__ContainsParentSelectorVisitor0));
  102864. break $label0$0;
  102865. }
  102866. t2 = node._style_rule0$_selector._box0$_inner;
  102867. if (t1) {
  102868. t2 = t2.value;
  102869. t3 = styleRule == null ? _null : styleRule.originalSelector;
  102870. originalSelector = t2.nestWithin$3$implicitParent$preserveParentSelectors(t3, !_this._evaluate0$_atRootExcludingStyleRule, node.fromPlainCss);
  102871. } else
  102872. originalSelector = t2.value;
  102873. rule = A.ModifiableCssStyleRule$0(_this._evaluate0$_assertInModule$2(_this._evaluate0$__extensionStore, "_extensionStore").addSelector$2(originalSelector, _this._evaluate0$_mediaQueries), node.span, node.fromPlainCss, originalSelector);
  102874. oldAtRootExcludingStyleRule = _this._evaluate0$_atRootExcludingStyleRule;
  102875. _this._evaluate0$_atRootExcludingStyleRule = false;
  102876. t1 = t1 ? new A._EvaluateVisitor_visitCssStyleRule_closure3() : _null;
  102877. _this._evaluate0$_withParent$2$4$scopeWhen$through(rule, new A._EvaluateVisitor_visitCssStyleRule_closure4(_this, rule, node), false, t1, type$.ModifiableCssStyleRule_2, type$.Null);
  102878. _this._evaluate0$_atRootExcludingStyleRule = oldAtRootExcludingStyleRule;
  102879. t1 = _this._evaluate0$_assertInModule$2(_this._evaluate0$__parent, _s8_).children._collection$_source;
  102880. t2 = J.getInterceptor$asx(t1);
  102881. _1_1 = t2.get$length(t1);
  102882. if (_1_1 >= 1) {
  102883. lastChild = t2.elementAt$1(t1, _1_1 - 1);
  102884. t1 = styleRule == null;
  102885. } else {
  102886. lastChild = _null;
  102887. t1 = false;
  102888. }
  102889. if (t1)
  102890. lastChild.isGroupEnd = true;
  102891. },
  102892. visitCssStylesheet$1(node) {
  102893. var t1;
  102894. for (t1 = J.get$iterator$ax(node.get$children(node)); t1.moveNext$0();)
  102895. t1.get$current(t1).accept$1(this);
  102896. },
  102897. visitCssSupportsRule$1(node) {
  102898. var _this = this;
  102899. if (_this._evaluate0$_declarationName != null)
  102900. throw A.wrapException(_this._evaluate0$_exception$2(string$.Suppor, node.span));
  102901. _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);
  102902. },
  102903. _evaluate0$_handleReturn$1$2(list, callback) {
  102904. var t1, _i, _0_0;
  102905. for (t1 = list.length, _i = 0; _i < list.length; list.length === t1 || (0, A.throwConcurrentModificationError)(list), ++_i) {
  102906. _0_0 = callback.call$1(list[_i]);
  102907. if (_0_0 != null)
  102908. return _0_0;
  102909. }
  102910. return null;
  102911. },
  102912. _evaluate0$_handleReturn$2(list, callback) {
  102913. callback.toString;
  102914. return this._evaluate0$_handleReturn$1$2(list, callback, type$.dynamic);
  102915. },
  102916. _evaluate0$_withEnvironment$1$2(environment, callback) {
  102917. var result,
  102918. oldEnvironment = this._evaluate0$_environment;
  102919. this._evaluate0$_environment = environment;
  102920. result = callback.call$0();
  102921. this._evaluate0$_environment = oldEnvironment;
  102922. return result;
  102923. },
  102924. _evaluate0$_withEnvironment$2(environment, callback) {
  102925. callback.toString;
  102926. return this._evaluate0$_withEnvironment$1$2(environment, callback, type$.dynamic);
  102927. },
  102928. _evaluate0$_interpolationToValue$3$trim$warnForColor(interpolation, trim, warnForColor) {
  102929. var result = this._evaluate0$_performInterpolation$2$warnForColor(interpolation, warnForColor),
  102930. t1 = trim ? A.trimAscii0(result, true) : result;
  102931. return new A.CssValue0(t1, interpolation.span, type$.CssValue_String_2);
  102932. },
  102933. _evaluate0$_interpolationToValue$1(interpolation) {
  102934. return this._evaluate0$_interpolationToValue$3$trim$warnForColor(interpolation, false, false);
  102935. },
  102936. _evaluate0$_interpolationToValue$2$warnForColor(interpolation, warnForColor) {
  102937. return this._evaluate0$_interpolationToValue$3$trim$warnForColor(interpolation, false, warnForColor);
  102938. },
  102939. _evaluate0$_performInterpolation$2$warnForColor(interpolation, warnForColor) {
  102940. return this._evaluate0$_performInterpolationHelper$3$sourceMap$warnForColor(interpolation, false, warnForColor)._0;
  102941. },
  102942. _evaluate0$_performInterpolation$1(interpolation) {
  102943. return this._evaluate0$_performInterpolation$2$warnForColor(interpolation, false);
  102944. },
  102945. _evaluate0$_performInterpolationWithMap$2$warnForColor(interpolation, warnForColor) {
  102946. var _0_0 = this._evaluate0$_performInterpolationHelper$3$sourceMap$warnForColor(interpolation, true, true),
  102947. map = _0_0._1;
  102948. map.toString;
  102949. return new A._Record_2(_0_0._0, map);
  102950. },
  102951. _evaluate0$_performInterpolationHelper$3$sourceMap$warnForColor(interpolation, sourceMap, warnForColor) {
  102952. var t1, t2, t3, t4, t5, t6, first, _i, t7, value, result, result0, t8, _this = this, _null = null,
  102953. targetLocations = sourceMap ? A._setArrayType([], type$.JSArray_SourceLocation) : _null,
  102954. oldInSupportsDeclaration = _this._evaluate0$_inSupportsDeclaration;
  102955. _this._evaluate0$_inSupportsDeclaration = false;
  102956. 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) {
  102957. value = t1[_i];
  102958. if (!first)
  102959. if (!t4)
  102960. targetLocations.push(A.SourceLocation$(t7.length, _null, _null, _null));
  102961. if (typeof value == "string") {
  102962. t7 += value;
  102963. continue;
  102964. }
  102965. t3._as(value);
  102966. result = value.accept$1(_this);
  102967. if (warnForColor && $.$get$namesByColor0().containsKey$1(result)) {
  102968. result0 = A.List_List$from([""], false, t6);
  102969. result0.$flags = 3;
  102970. t8 = $.$get$namesByColor0();
  102971. _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));
  102972. }
  102973. t7 += _this._evaluate0$_serialize$3$quote(result, value, false);
  102974. }
  102975. _this._evaluate0$_inSupportsDeclaration = oldInSupportsDeclaration;
  102976. return new A._Record_2(t7.charCodeAt(0) == 0 ? t7 : t7, A.NullableExtension_andThen0(targetLocations, new A._EvaluateVisitor__performInterpolationHelper_closure1(interpolation)));
  102977. },
  102978. _evaluate0$_serialize$3$quote(value, nodeWithSpan, quote) {
  102979. return this._evaluate0$_addExceptionSpan$2(nodeWithSpan, new A._EvaluateVisitor__serialize_closure1(value, quote));
  102980. },
  102981. _evaluate0$_serialize$2(value, nodeWithSpan) {
  102982. return this._evaluate0$_serialize$3$quote(value, nodeWithSpan, true);
  102983. },
  102984. _evaluate0$_expressionNode$1(expression) {
  102985. var t1;
  102986. if (expression instanceof A.VariableExpression0) {
  102987. t1 = this._evaluate0$_addExceptionSpan$2(expression, new A._EvaluateVisitor__expressionNode_closure1(this, expression));
  102988. return t1 == null ? expression : t1;
  102989. } else
  102990. return expression;
  102991. },
  102992. _evaluate0$_withParent$2$4$scopeWhen$through(node, callback, scopeWhen, through, $S, $T) {
  102993. var oldParent, result, _this = this;
  102994. _this._evaluate0$_addChild$2$through(node, through);
  102995. oldParent = _this._evaluate0$_assertInModule$2(_this._evaluate0$__parent, "__parent");
  102996. _this._evaluate0$__parent = node;
  102997. result = _this._evaluate0$_environment.scope$1$2$when(callback, scopeWhen, $T);
  102998. _this._evaluate0$__parent = oldParent;
  102999. return result;
  103000. },
  103001. _evaluate0$_withParent$2$3$scopeWhen(node, callback, scopeWhen, $S, $T) {
  103002. node.toString;
  103003. callback.toString;
  103004. return this._evaluate0$_withParent$2$4$scopeWhen$through(node, callback, scopeWhen, null, $S, $T);
  103005. },
  103006. _evaluate0$_withParent$2$2(node, callback, $S, $T) {
  103007. node.toString;
  103008. callback.toString;
  103009. return this._evaluate0$_withParent$2$4$scopeWhen$through(node, callback, true, null, $S, $T);
  103010. },
  103011. _evaluate0$_addChild$2$through(node, through) {
  103012. var _0_0, grandparent, t1,
  103013. $parent = this._evaluate0$_assertInModule$2(this._evaluate0$__parent, "__parent");
  103014. if (through != null) {
  103015. for (; through.call$1($parent); $parent = _0_0) {
  103016. _0_0 = $parent._node$_parent;
  103017. if (_0_0 == null)
  103018. throw A.wrapException(A.ArgumentError$(string$.throug + node.toString$0(0) + ".", null));
  103019. }
  103020. if ($parent.get$hasFollowingSibling()) {
  103021. grandparent = $parent._node$_parent;
  103022. t1 = grandparent.children;
  103023. if ($parent.equalsIgnoringChildren$1(t1.get$last(t1)))
  103024. $parent = type$.ModifiableCssParentNode_2._as(t1.get$last(t1));
  103025. else {
  103026. $parent = $parent.copyWithoutChildren$0();
  103027. grandparent.addChild$1($parent);
  103028. }
  103029. }
  103030. }
  103031. $parent.addChild$1(node);
  103032. },
  103033. _evaluate0$_addChild$1(node) {
  103034. return this._evaluate0$_addChild$2$through(node, null);
  103035. },
  103036. _evaluate0$_withStyleRule$1$2(rule, callback) {
  103037. var result,
  103038. oldRule = this._evaluate0$_styleRuleIgnoringAtRoot;
  103039. this._evaluate0$_styleRuleIgnoringAtRoot = rule;
  103040. result = callback.call$0();
  103041. this._evaluate0$_styleRuleIgnoringAtRoot = oldRule;
  103042. return result;
  103043. },
  103044. _evaluate0$_withStyleRule$2(rule, callback) {
  103045. callback.toString;
  103046. return this._evaluate0$_withStyleRule$1$2(rule, callback, type$.dynamic);
  103047. },
  103048. _evaluate0$_withMediaQueries$1$3(queries, sources, callback) {
  103049. var result, _this = this,
  103050. oldMediaQueries = _this._evaluate0$_mediaQueries,
  103051. oldSources = _this._evaluate0$_mediaQuerySources;
  103052. _this._evaluate0$_mediaQueries = queries;
  103053. _this._evaluate0$_mediaQuerySources = sources;
  103054. result = callback.call$0();
  103055. _this._evaluate0$_mediaQueries = oldMediaQueries;
  103056. _this._evaluate0$_mediaQuerySources = oldSources;
  103057. return result;
  103058. },
  103059. _evaluate0$_withMediaQueries$3(queries, sources, callback) {
  103060. callback.toString;
  103061. return this._evaluate0$_withMediaQueries$1$3(queries, sources, callback, type$.dynamic);
  103062. },
  103063. _evaluate0$_withStackFrame$1$3(member, nodeWithSpan, callback) {
  103064. var oldMember, result, _this = this,
  103065. t1 = _this._evaluate0$_stack;
  103066. t1.push(new A._Record_2(_this._evaluate0$_member, nodeWithSpan));
  103067. oldMember = _this._evaluate0$_member;
  103068. _this._evaluate0$_member = member;
  103069. result = callback.call$0();
  103070. _this._evaluate0$_member = oldMember;
  103071. t1.pop();
  103072. return result;
  103073. },
  103074. _evaluate0$_withStackFrame$3(member, nodeWithSpan, callback) {
  103075. callback.toString;
  103076. return this._evaluate0$_withStackFrame$1$3(member, nodeWithSpan, callback, type$.dynamic);
  103077. },
  103078. _evaluate0$_withoutSlash$2(value, nodeForSpan) {
  103079. var t1;
  103080. if (value instanceof A.SassNumber0)
  103081. t1 = value.asSlash != null;
  103082. else
  103083. t1 = false;
  103084. if (t1)
  103085. 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);
  103086. return value.withoutSlash$0();
  103087. },
  103088. _evaluate0$_stackFrame$2(member, span) {
  103089. return A.frameForSpan0(span, member, A.NullableExtension_andThen0(span.get$sourceUrl(span), new A._EvaluateVisitor__stackFrame_closure1(this)));
  103090. },
  103091. _evaluate0$_stackTrace$1(span) {
  103092. var t2, t3, _i, t4, nodeWithSpan, _this = this,
  103093. t1 = A._setArrayType([], type$.JSArray_Frame);
  103094. for (t2 = _this._evaluate0$_stack, t3 = t2.length, _i = 0; _i < t2.length; t2.length === t3 || (0, A.throwConcurrentModificationError)(t2), ++_i) {
  103095. t4 = t2[_i];
  103096. nodeWithSpan = t4._1;
  103097. t1.push(_this._evaluate0$_stackFrame$2(t4._0, nodeWithSpan.get$span(nodeWithSpan)));
  103098. }
  103099. if (span != null)
  103100. t1.push(_this._evaluate0$_stackFrame$2(_this._evaluate0$_member, span));
  103101. return A.Trace$(new A.ReversedListIterable(t1, type$.ReversedListIterable_Frame), null);
  103102. },
  103103. _evaluate0$_stackTrace$0() {
  103104. return this._evaluate0$_stackTrace$1(null);
  103105. },
  103106. _evaluate0$_warn$3(message, span, deprecation) {
  103107. var trace, t1, _this = this;
  103108. if (_this._evaluate0$_quietDeps && _this._evaluate0$_inDependency)
  103109. return;
  103110. if (!_this._evaluate0$_warningsEmitted.add$1(0, new A._Record_2(message, span)))
  103111. return;
  103112. trace = _this._evaluate0$_stackTrace$1(span);
  103113. t1 = _this._evaluate0$_logger;
  103114. if (deprecation == null)
  103115. t1.internalWarn$4$deprecation$span$trace(message, null, span, trace);
  103116. else
  103117. A.WarnForDeprecation_warnForDeprecation0(t1, deprecation, message, span, trace);
  103118. },
  103119. _evaluate0$_warn$2(message, span) {
  103120. return this._evaluate0$_warn$3(message, span, null);
  103121. },
  103122. _evaluate0$_exception$2(message, span) {
  103123. var t1, t2;
  103124. if (span == null) {
  103125. t1 = B.JSArray_methods.get$last(this._evaluate0$_stack)._1;
  103126. t1 = t1.get$span(t1);
  103127. } else
  103128. t1 = span;
  103129. t2 = this._evaluate0$_stackTrace$1(span);
  103130. return new A.SassRuntimeException0(t2, B.Set_empty, message, t1);
  103131. },
  103132. _evaluate0$_exception$1(message) {
  103133. return this._evaluate0$_exception$2(message, null);
  103134. },
  103135. _evaluate0$_multiSpanException$3(message, primaryLabel, secondaryLabels) {
  103136. var t1 = B.JSArray_methods.get$last(this._evaluate0$_stack)._1;
  103137. return A.MultiSpanSassRuntimeException$0(message, t1.get$span(t1), primaryLabel, secondaryLabels, this._evaluate0$_stackTrace$0(), null);
  103138. },
  103139. _evaluate0$_addExceptionSpan$1$3$addStackFrame(nodeWithSpan, callback, addStackFrame) {
  103140. var error, stackTrace, t1, exception;
  103141. try {
  103142. t1 = callback.call$0();
  103143. return t1;
  103144. } catch (exception) {
  103145. t1 = A.unwrapException(exception);
  103146. if (t1 instanceof A.SassScriptException0) {
  103147. error = t1;
  103148. stackTrace = A.getTraceFromException(exception);
  103149. t1 = error.withSpan$1(nodeWithSpan.get$span(nodeWithSpan));
  103150. A.throwWithTrace0(t1.withTrace$1(this._evaluate0$_stackTrace$1(addStackFrame ? nodeWithSpan.get$span(nodeWithSpan) : null)), error, stackTrace);
  103151. } else
  103152. throw exception;
  103153. }
  103154. },
  103155. _evaluate0$_addExceptionSpan$2(nodeWithSpan, callback) {
  103156. callback.toString;
  103157. return this._evaluate0$_addExceptionSpan$1$3$addStackFrame(nodeWithSpan, callback, true, type$.dynamic);
  103158. },
  103159. _evaluate0$_addExceptionSpan$3$addStackFrame(nodeWithSpan, callback, addStackFrame) {
  103160. callback.toString;
  103161. return this._evaluate0$_addExceptionSpan$1$3$addStackFrame(nodeWithSpan, callback, addStackFrame, type$.dynamic);
  103162. },
  103163. _evaluate0$_addExceptionTrace$1$1(callback) {
  103164. var error, stackTrace, t1, exception, t2;
  103165. try {
  103166. t1 = callback.call$0();
  103167. return t1;
  103168. } catch (exception) {
  103169. t1 = A.unwrapException(exception);
  103170. if (type$.SassRuntimeException_2._is(t1))
  103171. throw exception;
  103172. else if (t1 instanceof A.SassException0) {
  103173. error = t1;
  103174. stackTrace = A.getTraceFromException(exception);
  103175. t1 = error;
  103176. t2 = J.getInterceptor$z(t1);
  103177. A.throwWithTrace0(error.withTrace$1(this._evaluate0$_stackTrace$1(A.SourceSpanException.prototype.get$span.call(t2, t1))), error, stackTrace);
  103178. } else
  103179. throw exception;
  103180. }
  103181. },
  103182. _evaluate0$_addExceptionTrace$1(callback) {
  103183. callback.toString;
  103184. return this._evaluate0$_addExceptionTrace$1$1(callback, type$.dynamic);
  103185. },
  103186. _evaluate0$_addErrorSpan$1$2(nodeWithSpan, callback) {
  103187. var error, stackTrace, t1, exception, t2, t3;
  103188. try {
  103189. t1 = callback.call$0();
  103190. return t1;
  103191. } catch (exception) {
  103192. t1 = A.unwrapException(exception);
  103193. if (type$.SassRuntimeException_2._is(t1)) {
  103194. error = t1;
  103195. stackTrace = A.getTraceFromException(exception);
  103196. if (!B.JSString_methods.startsWith$1(J.get$span$z(error).get$text(), "@error"))
  103197. throw exception;
  103198. t1 = error._span_exception$_message;
  103199. t2 = nodeWithSpan.get$span(nodeWithSpan);
  103200. t3 = this._evaluate0$_stackTrace$0();
  103201. A.throwWithTrace0(new A.SassRuntimeException0(t3, B.Set_empty, t1, t2), error, stackTrace);
  103202. } else
  103203. throw exception;
  103204. }
  103205. },
  103206. _evaluate0$_addErrorSpan$2(nodeWithSpan, callback) {
  103207. callback.toString;
  103208. return this._evaluate0$_addErrorSpan$1$2(nodeWithSpan, callback, type$.dynamic);
  103209. },
  103210. _evaluate0$_getErrorMessage$1(error) {
  103211. var t1, exception;
  103212. if (type$.Error._is(error))
  103213. return error.toString$0(0);
  103214. try {
  103215. t1 = A._asString(J.get$message$x(error));
  103216. return t1;
  103217. } catch (exception) {
  103218. t1 = J.toString$0$(error);
  103219. return t1;
  103220. }
  103221. },
  103222. $isExpressionVisitor: 1,
  103223. $isStatementVisitor: 1
  103224. };
  103225. A._EvaluateVisitor_closure25.prototype = {
  103226. call$1($arguments) {
  103227. var module, t2,
  103228. t1 = J.getInterceptor$asx($arguments),
  103229. variable = t1.$index($arguments, 0).assertString$1("name");
  103230. t1 = t1.$index($arguments, 1).get$realNull();
  103231. module = t1 == null ? null : t1.assertString$1("module");
  103232. t1 = this.$this._evaluate0$_environment;
  103233. t2 = A.stringReplaceAllUnchecked(variable._string0$_text, "_", "-");
  103234. return t1.globalVariableExists$2$namespace(t2, module == null ? null : module._string0$_text) ? B.SassBoolean_true0 : B.SassBoolean_false0;
  103235. },
  103236. $signature: 11
  103237. };
  103238. A._EvaluateVisitor_closure26.prototype = {
  103239. call$1($arguments) {
  103240. var variable = J.$index$asx($arguments, 0).assertString$1("name"),
  103241. t1 = this.$this._evaluate0$_environment;
  103242. return t1.getVariable$1(A.stringReplaceAllUnchecked(variable._string0$_text, "_", "-")) != null ? B.SassBoolean_true0 : B.SassBoolean_false0;
  103243. },
  103244. $signature: 11
  103245. };
  103246. A._EvaluateVisitor_closure27.prototype = {
  103247. call$1($arguments) {
  103248. var module, t2, t3, t4,
  103249. t1 = J.getInterceptor$asx($arguments),
  103250. variable = t1.$index($arguments, 0).assertString$1("name");
  103251. t1 = t1.$index($arguments, 1).get$realNull();
  103252. module = t1 == null ? null : t1.assertString$1("module");
  103253. t1 = this.$this;
  103254. t2 = t1._evaluate0$_environment;
  103255. t3 = variable._string0$_text;
  103256. t4 = A.stringReplaceAllUnchecked(t3, "_", "-");
  103257. 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;
  103258. },
  103259. $signature: 11
  103260. };
  103261. A._EvaluateVisitor_closure28.prototype = {
  103262. call$1($arguments) {
  103263. var module, t2,
  103264. t1 = J.getInterceptor$asx($arguments),
  103265. variable = t1.$index($arguments, 0).assertString$1("name");
  103266. t1 = t1.$index($arguments, 1).get$realNull();
  103267. module = t1 == null ? null : t1.assertString$1("module");
  103268. t1 = this.$this._evaluate0$_environment;
  103269. t2 = A.stringReplaceAllUnchecked(variable._string0$_text, "_", "-");
  103270. return t1.getMixin$2$namespace(t2, module == null ? null : module._string0$_text) != null ? B.SassBoolean_true0 : B.SassBoolean_false0;
  103271. },
  103272. $signature: 11
  103273. };
  103274. A._EvaluateVisitor_closure29.prototype = {
  103275. call$1($arguments) {
  103276. var t1 = this.$this._evaluate0$_environment;
  103277. if (!t1._environment0$_inMixin)
  103278. throw A.wrapException(A.SassScriptException$0(string$.conten, null));
  103279. return t1._environment0$_content != null ? B.SassBoolean_true0 : B.SassBoolean_false0;
  103280. },
  103281. $signature: 11
  103282. };
  103283. A._EvaluateVisitor_closure30.prototype = {
  103284. call$1($arguments) {
  103285. var t2, t3, t4,
  103286. t1 = J.$index$asx($arguments, 0).assertString$1("module")._string0$_text,
  103287. module = this.$this._evaluate0$_environment._environment0$_modules.$index(0, t1);
  103288. if (module == null)
  103289. throw A.wrapException('There is no module with namespace "' + t1 + '".');
  103290. t1 = type$.Value_2;
  103291. t2 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
  103292. for (t3 = A.MapExtensions_get_pairs0(module.get$variables(), type$.String, t1), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
  103293. t4 = t3.get$current(t3);
  103294. t2.$indexSet(0, new A.SassString0(t4._0, true), t4._1);
  103295. }
  103296. return new A.SassMap0(A.ConstantMap_ConstantMap$from(t2, t1, t1));
  103297. },
  103298. $signature: 38
  103299. };
  103300. A._EvaluateVisitor_closure31.prototype = {
  103301. call$1($arguments) {
  103302. var t3, t4, t5,
  103303. t1 = this.$this,
  103304. t2 = J.$index$asx($arguments, 0).assertString$1("module")._string0$_text,
  103305. module = t1._evaluate0$_environment._environment0$_modules.$index(0, t2);
  103306. if (module == null)
  103307. throw A.wrapException('There is no module with namespace "' + t2 + '".');
  103308. t2 = type$.Value_2;
  103309. t3 = A.LinkedHashMap_LinkedHashMap$_empty(t2, t2);
  103310. 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();) {
  103311. t5 = t4.get$current(t4);
  103312. t3.$indexSet(0, new A.SassString0(t5._0, true), new A.SassFunction0(t5._1, t1));
  103313. }
  103314. return new A.SassMap0(A.ConstantMap_ConstantMap$from(t3, t2, t2));
  103315. },
  103316. $signature: 38
  103317. };
  103318. A._EvaluateVisitor_closure32.prototype = {
  103319. call$1($arguments) {
  103320. var t3, t4, t5,
  103321. t1 = this.$this,
  103322. t2 = J.$index$asx($arguments, 0).assertString$1("module")._string0$_text,
  103323. module = t1._evaluate0$_environment._environment0$_modules.$index(0, t2);
  103324. if (module == null)
  103325. throw A.wrapException('There is no module with namespace "' + t2 + '".');
  103326. t2 = type$.Value_2;
  103327. t3 = A.LinkedHashMap_LinkedHashMap$_empty(t2, t2);
  103328. 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();) {
  103329. t5 = t4.get$current(t4);
  103330. t3.$indexSet(0, new A.SassString0(t5._0, true), new A.SassMixin0(t5._1, t1));
  103331. }
  103332. return new A.SassMap0(A.ConstantMap_ConstantMap$from(t3, t2, t2));
  103333. },
  103334. $signature: 38
  103335. };
  103336. A._EvaluateVisitor_closure33.prototype = {
  103337. call$1($arguments) {
  103338. var module, t2, callable,
  103339. t1 = J.getInterceptor$asx($arguments),
  103340. $name = t1.$index($arguments, 0).assertString$1("name"),
  103341. css = t1.$index($arguments, 1).get$isTruthy();
  103342. t1 = t1.$index($arguments, 2).get$realNull();
  103343. module = t1 == null ? null : t1.assertString$1("module");
  103344. if (css) {
  103345. if (module != null)
  103346. throw A.wrapException(string$.x24css_a);
  103347. return new A.SassFunction0(new A.PlainCssCallable0($name._string0$_text), this.$this._evaluate0$_compileContext);
  103348. }
  103349. t1 = this.$this;
  103350. t2 = t1._evaluate0$_callableNode;
  103351. t2.toString;
  103352. callable = t1._evaluate0$_addExceptionSpan$2(t2, new A._EvaluateVisitor__closure10(t1, $name, module));
  103353. if (callable == null)
  103354. throw A.wrapException("Function not found: " + $name.toString$0(0));
  103355. return new A.SassFunction0(callable, t1._evaluate0$_compileContext);
  103356. },
  103357. $signature: 205
  103358. };
  103359. A._EvaluateVisitor__closure10.prototype = {
  103360. call$0() {
  103361. var local,
  103362. normalizedName = A.stringReplaceAllUnchecked(this.name._string0$_text, "_", "-"),
  103363. t1 = this.module,
  103364. namespace = t1 == null ? null : t1._string0$_text;
  103365. t1 = this.$this;
  103366. local = t1._evaluate0$_environment.getFunction$2$namespace(normalizedName, namespace);
  103367. if (local != null || namespace != null)
  103368. return local;
  103369. return t1._evaluate0$_builtInFunctions.$index(0, normalizedName);
  103370. },
  103371. $signature: 98
  103372. };
  103373. A._EvaluateVisitor_closure34.prototype = {
  103374. call$1($arguments) {
  103375. var module, t2, callable,
  103376. t1 = J.getInterceptor$asx($arguments),
  103377. $name = t1.$index($arguments, 0).assertString$1("name");
  103378. t1 = t1.$index($arguments, 1).get$realNull();
  103379. module = t1 == null ? null : t1.assertString$1("module");
  103380. t1 = this.$this;
  103381. t2 = t1._evaluate0$_callableNode;
  103382. t2.toString;
  103383. callable = t1._evaluate0$_addExceptionSpan$2(t2, new A._EvaluateVisitor__closure9(t1, $name, module));
  103384. if (callable == null)
  103385. throw A.wrapException("Mixin not found: " + $name.toString$0(0));
  103386. return new A.SassMixin0(callable, t1._evaluate0$_compileContext);
  103387. },
  103388. $signature: 206
  103389. };
  103390. A._EvaluateVisitor__closure9.prototype = {
  103391. call$0() {
  103392. var t1 = this.$this._evaluate0$_environment,
  103393. t2 = A.stringReplaceAllUnchecked(this.name._string0$_text, "_", "-"),
  103394. t3 = this.module;
  103395. return t1.getMixin$2$namespace(t2, t3 == null ? null : t3._string0$_text);
  103396. },
  103397. $signature: 98
  103398. };
  103399. A._EvaluateVisitor_closure35.prototype = {
  103400. call$1($arguments) {
  103401. var t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, invocation, callableNode, callable,
  103402. t1 = J.getInterceptor$asx($arguments),
  103403. $function = t1.$index($arguments, 0),
  103404. args = type$.SassArgumentList_2._as(t1.$index($arguments, 1));
  103405. t1 = this.$this;
  103406. t2 = t1._evaluate0$_callableNode;
  103407. t2.toString;
  103408. t3 = A._setArrayType([], type$.JSArray_Expression_2);
  103409. t4 = type$.String;
  103410. t5 = type$.Expression_2;
  103411. t6 = t2.get$span(t2);
  103412. t7 = t2.get$span(t2);
  103413. args._argument_list$_wereKeywordsAccessed = true;
  103414. t8 = args._argument_list$_keywords;
  103415. if (t8.get$isEmpty(t8))
  103416. t2 = null;
  103417. else {
  103418. t9 = type$.Value_2;
  103419. t10 = A.LinkedHashMap_LinkedHashMap$_empty(t9, t9);
  103420. for (args._argument_list$_wereKeywordsAccessed = true, t8 = A.MapExtensions_get_pairs0(t8, t4, t9), t8 = t8.get$iterator(t8); t8.moveNext$0();) {
  103421. t11 = t8.get$current(t8);
  103422. t10.$indexSet(0, new A.SassString0(t11._0, false), t11._1);
  103423. }
  103424. t2 = new A.ValueExpression0(new A.SassMap0(A.ConstantMap_ConstantMap$from(t10, t9, t9)), t2.get$span(t2));
  103425. }
  103426. 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);
  103427. if ($function instanceof A.SassString0) {
  103428. A.warnForDeprecation0(string$.Passina + $function.toString$0(0) + "))", B.Deprecation_aM0);
  103429. callableNode = t1._evaluate0$_callableNode;
  103430. t2 = $function._string0$_text;
  103431. t3 = callableNode.get$span(callableNode);
  103432. return t1.visitFunctionExpression$1(0, new A.FunctionExpression0(null, A.stringReplaceAllUnchecked(t2, "_", "-"), t2, invocation, t3));
  103433. }
  103434. callable = $function.assertFunction$1("function").assertCompileContext$1(t1._evaluate0$_compileContext).callable;
  103435. if (type$.Callable_2._is(callable)) {
  103436. t2 = t1._evaluate0$_callableNode;
  103437. t2.toString;
  103438. return t1._evaluate0$_runFunctionCallable$3(invocation, callable, t2);
  103439. } else
  103440. throw A.wrapException(A.SassScriptException$0("The function " + callable.get$name(callable) + string$.x20is_as, null));
  103441. },
  103442. $signature: 3
  103443. };
  103444. A._EvaluateVisitor_closure36.prototype = {
  103445. call$1($arguments) {
  103446. var withMap, t2, values, configuration, t3,
  103447. t1 = J.getInterceptor$asx($arguments),
  103448. url = A.Uri_parse(t1.$index($arguments, 0).assertString$1("url")._string0$_text);
  103449. t1 = t1.$index($arguments, 1).get$realNull();
  103450. withMap = t1 == null ? null : t1.assertMap$1("with")._map0$_contents;
  103451. t1 = this.$this;
  103452. t2 = t1._evaluate0$_callableNode;
  103453. t2.toString;
  103454. if (withMap != null) {
  103455. values = A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.ConfiguredValue_2);
  103456. withMap.forEach$1(0, new A._EvaluateVisitor__closure7(values, t2.get$span(t2), t2));
  103457. configuration = new A.ExplicitConfiguration0(t2, values, null);
  103458. } else
  103459. configuration = B.Configuration_Map_empty_null0;
  103460. t3 = t2.get$span(t2);
  103461. t1._evaluate0$_loadModule$7$baseUrl$configuration$namesInErrors(url, "load-css()", t2, new A._EvaluateVisitor__closure8(t1), t3.get$sourceUrl(t3), configuration, true);
  103462. t1._evaluate0$_assertConfigurationIsEmpty$2$nameInError(configuration, true);
  103463. },
  103464. $signature: 239
  103465. };
  103466. A._EvaluateVisitor__closure7.prototype = {
  103467. call$2(variable, value) {
  103468. var t1 = variable.assertString$1("with key"),
  103469. $name = A.stringReplaceAllUnchecked(t1._string0$_text, "_", "-");
  103470. t1 = this.values;
  103471. if (t1.containsKey$1($name))
  103472. throw A.wrapException("The variable $" + $name + " was configured twice.");
  103473. t1.$indexSet(0, $name, new A.ConfiguredValue0(value, this.span, this.callableNode));
  103474. },
  103475. $signature: 107
  103476. };
  103477. A._EvaluateVisitor__closure8.prototype = {
  103478. call$2(module, _) {
  103479. var t1 = this.$this;
  103480. return t1._evaluate0$_combineCss$2$clone(module, true).accept$1(t1);
  103481. },
  103482. $signature: 89
  103483. };
  103484. A._EvaluateVisitor_closure37.prototype = {
  103485. call$1($arguments) {
  103486. var callableNode, t2, t3, t4, t5, callable, $content,
  103487. t1 = J.getInterceptor$asx($arguments),
  103488. mixin = t1.$index($arguments, 0),
  103489. args = type$.SassArgumentList_2._as(t1.$index($arguments, 1));
  103490. t1 = this.$this;
  103491. callableNode = t1._evaluate0$_callableNode;
  103492. t2 = callableNode.get$span(callableNode);
  103493. t3 = callableNode.get$span(callableNode);
  103494. t4 = type$.Expression_2;
  103495. t5 = A.List_List$unmodifiable(B.List_empty23, t4);
  103496. t4 = A.ConstantMap_ConstantMap$from(B.Map_empty14, type$.String, t4);
  103497. callable = mixin.assertMixin$1("mixin").assertCompileContext$1(t1._evaluate0$_compileContext).callable;
  103498. $content = t1._evaluate0$_environment._environment0$_content;
  103499. if (type$.Callable_2._is(callable))
  103500. t1._evaluate0$_applyMixin$5(callable, $content, new A.ArgumentList0(t5, t4, new A.ValueExpression0(args, t3), null, t2), callableNode, callableNode);
  103501. else
  103502. throw A.wrapException(A.SassScriptException$0("The mixin " + callable.get$name(callable) + string$.x20is_as, null));
  103503. },
  103504. $signature: 239
  103505. };
  103506. A._EvaluateVisitor_run_closure1.prototype = {
  103507. call$0() {
  103508. var module, t2, _this = this,
  103509. t1 = _this.node,
  103510. _0_0 = t1.span.file.url,
  103511. url = null;
  103512. if (_0_0 != null) {
  103513. url = _0_0;
  103514. t2 = _this.$this;
  103515. t2._evaluate0$_activeModules.$indexSet(0, url, null);
  103516. if (!(t2._nodeImporter != null && J.toString$0$(url) === "stdin"))
  103517. t2._evaluate0$_loadedUrls.add$1(0, url);
  103518. }
  103519. t2 = _this.$this;
  103520. module = t2._evaluate0$_addExceptionTrace$1(new A._EvaluateVisitor_run__closure1(t2, _this.importer, t1));
  103521. return new A._Record_2_loadedUrls_stylesheet(t2._evaluate0$_loadedUrls, t2._evaluate0$_combineCss$1(module));
  103522. },
  103523. $signature: 453
  103524. };
  103525. A._EvaluateVisitor_run__closure1.prototype = {
  103526. call$0() {
  103527. return this.$this._evaluate0$_execute$2(this.importer, this.node);
  103528. },
  103529. $signature: 454
  103530. };
  103531. A._EvaluateVisitor__loadModule_closure3.prototype = {
  103532. call$0() {
  103533. return this.callback.call$2(this._box_0.builtInModule, false);
  103534. },
  103535. $signature: 0
  103536. };
  103537. A._EvaluateVisitor__loadModule_closure4.prototype = {
  103538. call$0() {
  103539. var canonicalUrl, oldInDependency, t4, message, _this = this, t1 = {}, stylesheet = null, importer = null,
  103540. t2 = _this.$this,
  103541. t3 = _this.nodeWithSpan,
  103542. _1_0 = t2._evaluate0$_loadStylesheet$3$baseUrl(_this.url.toString$0(0), t3.get$span(t3), _this.baseUrl);
  103543. stylesheet = _1_0._0;
  103544. importer = _1_0._1;
  103545. canonicalUrl = stylesheet.span.file.url;
  103546. if (canonicalUrl != null) {
  103547. t4 = t2._evaluate0$_activeModules;
  103548. if (t4.containsKey$1(canonicalUrl)) {
  103549. message = _this.namesInErrors ? "Module loop: " + $.$get$context().prettyUri$1(canonicalUrl) + " is already being loaded." : string$.Modulel;
  103550. t1 = A.NullableExtension_andThen0(t4.$index(0, canonicalUrl), new A._EvaluateVisitor__loadModule__closure3(t2, message));
  103551. throw A.wrapException(t1 == null ? t2._evaluate0$_exception$1(message) : t1);
  103552. } else
  103553. t4.$indexSet(0, canonicalUrl, t3);
  103554. }
  103555. t4 = t2._evaluate0$_modules.containsKey$1(canonicalUrl);
  103556. oldInDependency = t2._evaluate0$_inDependency;
  103557. t2._evaluate0$_inDependency = _1_0._2;
  103558. t1.module = null;
  103559. try {
  103560. t1.module = t2._evaluate0$_execute$5$configuration$namesInErrors$nodeWithSpan(importer, stylesheet, _this.configuration, _this.namesInErrors, t3);
  103561. } finally {
  103562. t2._evaluate0$_activeModules.remove$1(0, canonicalUrl);
  103563. t2._evaluate0$_inDependency = oldInDependency;
  103564. }
  103565. t2._evaluate0$_addExceptionSpan$3$addStackFrame(t3, new A._EvaluateVisitor__loadModule__closure4(t1, _this.callback, !t4), false);
  103566. },
  103567. $signature: 1
  103568. };
  103569. A._EvaluateVisitor__loadModule__closure3.prototype = {
  103570. call$1(previousLoad) {
  103571. return this.$this._evaluate0$_multiSpanException$3(this.message, "new load", A.LinkedHashMap_LinkedHashMap$_literal([previousLoad.get$span(previousLoad), "original load"], type$.FileSpan, type$.String));
  103572. },
  103573. $signature: 99
  103574. };
  103575. A._EvaluateVisitor__loadModule__closure4.prototype = {
  103576. call$0() {
  103577. return this.callback.call$2(this._box_1.module, this.firstLoad);
  103578. },
  103579. $signature: 0
  103580. };
  103581. A._EvaluateVisitor__execute_closure1.prototype = {
  103582. call$0() {
  103583. var t3, t4, t5, t6, _this = this,
  103584. t1 = _this.$this,
  103585. oldImporter = t1._evaluate0$_importer,
  103586. oldStylesheet = t1._evaluate0$__stylesheet,
  103587. oldRoot = t1._evaluate0$__root,
  103588. oldPreModuleComments = t1._evaluate0$_preModuleComments,
  103589. oldParent = t1._evaluate0$__parent,
  103590. oldEndOfImports = t1._evaluate0$__endOfImports,
  103591. oldOutOfOrderImports = t1._evaluate0$_outOfOrderImports,
  103592. oldExtensionStore = t1._evaluate0$__extensionStore,
  103593. t2 = t1._evaluate0$_atRootExcludingStyleRule,
  103594. oldStyleRule = t2 ? null : t1._evaluate0$_styleRuleIgnoringAtRoot,
  103595. oldMediaQueries = t1._evaluate0$_mediaQueries,
  103596. oldDeclarationName = t1._evaluate0$_declarationName,
  103597. oldInUnknownAtRule = t1._evaluate0$_inUnknownAtRule,
  103598. oldInKeyframes = t1._evaluate0$_inKeyframes,
  103599. oldConfiguration = t1._evaluate0$_configuration;
  103600. t1._evaluate0$_importer = _this.importer;
  103601. t3 = t1._evaluate0$__stylesheet = _this.stylesheet;
  103602. t4 = t3.span;
  103603. t5 = t1._evaluate0$__parent = t1._evaluate0$__root = A.ModifiableCssStylesheet$0(t4);
  103604. t1._evaluate0$__endOfImports = 0;
  103605. t1._evaluate0$_outOfOrderImports = null;
  103606. t1._evaluate0$__extensionStore = _this.extensionStore;
  103607. t1._evaluate0$_declarationName = t1._evaluate0$_mediaQueries = t1._evaluate0$_styleRuleIgnoringAtRoot = null;
  103608. t1._evaluate0$_inKeyframes = t1._evaluate0$_atRootExcludingStyleRule = t1._evaluate0$_inUnknownAtRule = false;
  103609. t6 = _this.configuration;
  103610. if (t6 != null)
  103611. t1._evaluate0$_configuration = t6;
  103612. t1.visitStylesheet$1(0, t3);
  103613. t3 = t1._evaluate0$_outOfOrderImports == null ? t5 : new A.CssStylesheet0(new A.UnmodifiableListView(t1._evaluate0$_addOutOfOrderImports$0(), type$.UnmodifiableListView_CssNode_2), t4);
  103614. _this.css.__late_helper$_value = t3;
  103615. _this.preModuleComments.__late_helper$_value = t1._evaluate0$_preModuleComments;
  103616. t1._evaluate0$_importer = oldImporter;
  103617. t1._evaluate0$__stylesheet = oldStylesheet;
  103618. t1._evaluate0$__root = oldRoot;
  103619. t1._evaluate0$_preModuleComments = oldPreModuleComments;
  103620. t1._evaluate0$__parent = oldParent;
  103621. t1._evaluate0$__endOfImports = oldEndOfImports;
  103622. t1._evaluate0$_outOfOrderImports = oldOutOfOrderImports;
  103623. t1._evaluate0$__extensionStore = oldExtensionStore;
  103624. t1._evaluate0$_styleRuleIgnoringAtRoot = oldStyleRule;
  103625. t1._evaluate0$_mediaQueries = oldMediaQueries;
  103626. t1._evaluate0$_declarationName = oldDeclarationName;
  103627. t1._evaluate0$_inUnknownAtRule = oldInUnknownAtRule;
  103628. t1._evaluate0$_atRootExcludingStyleRule = t2;
  103629. t1._evaluate0$_inKeyframes = oldInKeyframes;
  103630. t1._evaluate0$_configuration = oldConfiguration;
  103631. },
  103632. $signature: 1
  103633. };
  103634. A._EvaluateVisitor__combineCss_closure3.prototype = {
  103635. call$1(module) {
  103636. return module.get$transitivelyContainsCss();
  103637. },
  103638. $signature: 92
  103639. };
  103640. A._EvaluateVisitor__combineCss_closure4.prototype = {
  103641. call$1(target) {
  103642. return !this.selectors.contains$1(0, target);
  103643. },
  103644. $signature: 13
  103645. };
  103646. A._EvaluateVisitor__combineCss_visitModule1.prototype = {
  103647. call$1(module) {
  103648. var t1, t2, t3, t4, _i, upstream, _1_0, statements, index, _this = this;
  103649. if (!_this.seen.add$1(0, module))
  103650. return;
  103651. if (_this.clone)
  103652. module = module.cloneCss$0();
  103653. 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) {
  103654. upstream = t1[_i];
  103655. if (upstream.get$transitivelyContainsCss()) {
  103656. _1_0 = module.get$preModuleComments().$index(0, upstream);
  103657. if (_1_0 != null)
  103658. B.JSArray_methods.addAll$1(t3.length === 0 ? t4 : t3, _1_0);
  103659. _this.call$1(upstream);
  103660. }
  103661. }
  103662. _this.sorted.addFirst$1(module);
  103663. t1 = module.get$css(module);
  103664. statements = t1.get$children(t1);
  103665. index = _this.$this._evaluate0$_indexAfterImports$1(statements);
  103666. t1 = J.getInterceptor$ax(statements);
  103667. B.JSArray_methods.addAll$1(t4, t1.getRange$2(statements, 0, index));
  103668. B.JSArray_methods.addAll$1(t3, t1.getRange$2(statements, index, t1.get$length(statements)));
  103669. },
  103670. $signature: 455
  103671. };
  103672. A._EvaluateVisitor__extendModules_closure3.prototype = {
  103673. call$1(target) {
  103674. return !this.originalSelectors.contains$1(0, target);
  103675. },
  103676. $signature: 13
  103677. };
  103678. A._EvaluateVisitor__extendModules_closure4.prototype = {
  103679. call$0() {
  103680. return A._setArrayType([], type$.JSArray_ExtensionStore_2);
  103681. },
  103682. $signature: 209
  103683. };
  103684. A._EvaluateVisitor_visitAtRootRule_closure3.prototype = {
  103685. call$0() {
  103686. var t1, t2, t3, _i;
  103687. for (t1 = this.node.children, t2 = t1.length, t3 = this.$this, _i = 0; _i < t2; ++_i)
  103688. t1[_i].accept$1(t3);
  103689. },
  103690. $signature: 1
  103691. };
  103692. A._EvaluateVisitor_visitAtRootRule_closure4.prototype = {
  103693. call$0() {
  103694. var t1, t2, t3, _i;
  103695. for (t1 = this.node.children, t2 = t1.length, t3 = this.$this, _i = 0; _i < t2; ++_i)
  103696. t1[_i].accept$1(t3);
  103697. },
  103698. $signature: 0
  103699. };
  103700. A._EvaluateVisitor__scopeForAtRoot_closure11.prototype = {
  103701. call$1(callback) {
  103702. var t1 = this.$this,
  103703. oldParent = t1._evaluate0$_assertInModule$2(t1._evaluate0$__parent, "__parent");
  103704. t1._evaluate0$__parent = this.newParent;
  103705. t1._evaluate0$_environment.scope$1$2$when(callback, this.node.hasDeclarations, type$.void);
  103706. t1._evaluate0$__parent = oldParent;
  103707. },
  103708. $signature: 37
  103709. };
  103710. A._EvaluateVisitor__scopeForAtRoot_closure12.prototype = {
  103711. call$1(callback) {
  103712. var t1 = this.$this,
  103713. oldAtRootExcludingStyleRule = t1._evaluate0$_atRootExcludingStyleRule;
  103714. t1._evaluate0$_atRootExcludingStyleRule = true;
  103715. this.innerScope.call$1(callback);
  103716. t1._evaluate0$_atRootExcludingStyleRule = oldAtRootExcludingStyleRule;
  103717. },
  103718. $signature: 37
  103719. };
  103720. A._EvaluateVisitor__scopeForAtRoot_closure13.prototype = {
  103721. call$1(callback) {
  103722. return this.$this._evaluate0$_withMediaQueries$3(null, null, new A._EvaluateVisitor__scopeForAtRoot__closure1(this.innerScope, callback));
  103723. },
  103724. $signature: 37
  103725. };
  103726. A._EvaluateVisitor__scopeForAtRoot__closure1.prototype = {
  103727. call$0() {
  103728. return this.innerScope.call$1(this.callback);
  103729. },
  103730. $signature: 1
  103731. };
  103732. A._EvaluateVisitor__scopeForAtRoot_closure14.prototype = {
  103733. call$1(callback) {
  103734. var t1 = this.$this,
  103735. wasInKeyframes = t1._evaluate0$_inKeyframes;
  103736. t1._evaluate0$_inKeyframes = false;
  103737. this.innerScope.call$1(callback);
  103738. t1._evaluate0$_inKeyframes = wasInKeyframes;
  103739. },
  103740. $signature: 37
  103741. };
  103742. A._EvaluateVisitor__scopeForAtRoot_closure15.prototype = {
  103743. call$1($parent) {
  103744. return $parent instanceof A.ModifiableCssAtRule0;
  103745. },
  103746. $signature: 210
  103747. };
  103748. A._EvaluateVisitor__scopeForAtRoot_closure16.prototype = {
  103749. call$1(callback) {
  103750. var t1 = this.$this,
  103751. wasInUnknownAtRule = t1._evaluate0$_inUnknownAtRule;
  103752. t1._evaluate0$_inUnknownAtRule = false;
  103753. this.innerScope.call$1(callback);
  103754. t1._evaluate0$_inUnknownAtRule = wasInUnknownAtRule;
  103755. },
  103756. $signature: 37
  103757. };
  103758. A._EvaluateVisitor_visitContentRule_closure1.prototype = {
  103759. call$0() {
  103760. var t1, t2, t3, _i;
  103761. for (t1 = this.content.declaration.children, t2 = t1.length, t3 = this.$this, _i = 0; _i < t2; ++_i)
  103762. t1[_i].accept$1(t3);
  103763. return null;
  103764. },
  103765. $signature: 1
  103766. };
  103767. A._EvaluateVisitor_visitDeclaration_closure1.prototype = {
  103768. call$0() {
  103769. var t1, t2, t3, _i;
  103770. for (t1 = this._box_0.children, t2 = t1.length, t3 = this.$this, _i = 0; _i < t2; ++_i)
  103771. t1[_i].accept$1(t3);
  103772. },
  103773. $signature: 1
  103774. };
  103775. A._EvaluateVisitor_visitEachRule_closure5.prototype = {
  103776. call$1(value) {
  103777. var t1 = this.$this,
  103778. t2 = this.nodeWithSpan;
  103779. return t1._evaluate0$_environment.setLocalVariable$3(this._box_0.variable, t1._evaluate0$_withoutSlash$2(value, t2), t2);
  103780. },
  103781. $signature: 66
  103782. };
  103783. A._EvaluateVisitor_visitEachRule_closure6.prototype = {
  103784. call$1(value) {
  103785. return this.$this._evaluate0$_setMultipleVariables$3(this._box_1.variables, value, this.nodeWithSpan);
  103786. },
  103787. $signature: 66
  103788. };
  103789. A._EvaluateVisitor_visitEachRule_closure7.prototype = {
  103790. call$0() {
  103791. var _this = this,
  103792. t1 = _this.$this;
  103793. return t1._evaluate0$_handleReturn$2(_this.list.get$asList(), new A._EvaluateVisitor_visitEachRule__closure1(t1, _this.setVariables, _this.node));
  103794. },
  103795. $signature: 43
  103796. };
  103797. A._EvaluateVisitor_visitEachRule__closure1.prototype = {
  103798. call$1(element) {
  103799. var t1;
  103800. this.setVariables.call$1(element);
  103801. t1 = this.$this;
  103802. return t1._evaluate0$_handleReturn$2(this.node.children, new A._EvaluateVisitor_visitEachRule___closure1(t1));
  103803. },
  103804. $signature: 240
  103805. };
  103806. A._EvaluateVisitor_visitEachRule___closure1.prototype = {
  103807. call$1(child) {
  103808. return child.accept$1(this.$this);
  103809. },
  103810. $signature: 90
  103811. };
  103812. A._EvaluateVisitor_visitAtRule_closure5.prototype = {
  103813. call$1(value) {
  103814. return this.$this._evaluate0$_interpolationToValue$3$trim$warnForColor(value, true, true);
  103815. },
  103816. $signature: 458
  103817. };
  103818. A._EvaluateVisitor_visitAtRule_closure6.prototype = {
  103819. call$0() {
  103820. var t2, t3, _i, _this = this,
  103821. t1 = _this.$this,
  103822. styleRule = t1._evaluate0$_atRootExcludingStyleRule ? null : t1._evaluate0$_styleRuleIgnoringAtRoot;
  103823. if (styleRule == null || t1._evaluate0$_inKeyframes || J.$eq$(_this.name.value, "font-face"))
  103824. for (t2 = _this.children, t3 = t2.length, _i = 0; _i < t3; ++_i)
  103825. t2[_i].accept$1(t1);
  103826. else
  103827. 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);
  103828. },
  103829. $signature: 1
  103830. };
  103831. A._EvaluateVisitor_visitAtRule__closure1.prototype = {
  103832. call$0() {
  103833. var t1, t2, t3, _i;
  103834. for (t1 = this.children, t2 = t1.length, t3 = this.$this, _i = 0; _i < t2; ++_i)
  103835. t1[_i].accept$1(t3);
  103836. },
  103837. $signature: 1
  103838. };
  103839. A._EvaluateVisitor_visitAtRule_closure7.prototype = {
  103840. call$1(node) {
  103841. return node instanceof A.ModifiableCssStyleRule0;
  103842. },
  103843. $signature: 8
  103844. };
  103845. A._EvaluateVisitor_visitForRule_closure9.prototype = {
  103846. call$0() {
  103847. return this.node.from.accept$1(this.$this).assertNumber$0();
  103848. },
  103849. $signature: 241
  103850. };
  103851. A._EvaluateVisitor_visitForRule_closure10.prototype = {
  103852. call$0() {
  103853. return this.node.to.accept$1(this.$this).assertNumber$0();
  103854. },
  103855. $signature: 241
  103856. };
  103857. A._EvaluateVisitor_visitForRule_closure11.prototype = {
  103858. call$0() {
  103859. return this.fromNumber.assertInt$0();
  103860. },
  103861. $signature: 10
  103862. };
  103863. A._EvaluateVisitor_visitForRule_closure12.prototype = {
  103864. call$0() {
  103865. var t1 = this.fromNumber;
  103866. return this.toNumber.coerce$2(t1.get$numeratorUnits(t1), t1.get$denominatorUnits(t1)).assertInt$0();
  103867. },
  103868. $signature: 10
  103869. };
  103870. A._EvaluateVisitor_visitForRule_closure13.prototype = {
  103871. call$0() {
  103872. var i, t3, t4, t5, t6, t7, t8, _0_0, _this = this,
  103873. t1 = _this.$this,
  103874. t2 = _this.node,
  103875. nodeWithSpan = t1._evaluate0$_expressionNode$1(t2.from);
  103876. 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) {
  103877. t7 = t1._evaluate0$_environment;
  103878. t8 = t6.get$numeratorUnits(t6);
  103879. t7.setLocalVariable$3(t5, A.SassNumber_SassNumber$withUnits0(i, t6.get$denominatorUnits(t6), t8), nodeWithSpan);
  103880. _0_0 = t1._evaluate0$_handleReturn$2(t2, new A._EvaluateVisitor_visitForRule__closure1(t1));
  103881. if (_0_0 != null)
  103882. return _0_0;
  103883. }
  103884. return null;
  103885. },
  103886. $signature: 43
  103887. };
  103888. A._EvaluateVisitor_visitForRule__closure1.prototype = {
  103889. call$1(child) {
  103890. return child.accept$1(this.$this);
  103891. },
  103892. $signature: 90
  103893. };
  103894. A._EvaluateVisitor_visitForwardRule_closure3.prototype = {
  103895. call$2(module, firstLoad) {
  103896. if (firstLoad)
  103897. this.$this._evaluate0$_registerCommentsForModule$1(module);
  103898. this.$this._evaluate0$_environment.forwardModule$2(module, this.node);
  103899. },
  103900. $signature: 89
  103901. };
  103902. A._EvaluateVisitor_visitForwardRule_closure4.prototype = {
  103903. call$2(module, firstLoad) {
  103904. if (firstLoad)
  103905. this.$this._evaluate0$_registerCommentsForModule$1(module);
  103906. this.$this._evaluate0$_environment.forwardModule$2(module, this.node);
  103907. },
  103908. $signature: 89
  103909. };
  103910. A._EvaluateVisitor__registerCommentsForModule_closure1.prototype = {
  103911. call$0() {
  103912. return A._setArrayType([], type$.JSArray_CssComment_2);
  103913. },
  103914. $signature: 214
  103915. };
  103916. A._EvaluateVisitor_visitIfRule_closure1.prototype = {
  103917. call$1(clause) {
  103918. var t1 = this.$this;
  103919. return t1._evaluate0$_environment.scope$1$3$semiGlobal$when(new A._EvaluateVisitor_visitIfRule__closure1(t1, clause), true, clause.hasDeclarations, type$.nullable_Value_2);
  103920. },
  103921. $signature: 460
  103922. };
  103923. A._EvaluateVisitor_visitIfRule__closure1.prototype = {
  103924. call$0() {
  103925. var t1 = this.$this;
  103926. return t1._evaluate0$_handleReturn$2(this.clause.children, new A._EvaluateVisitor_visitIfRule___closure1(t1));
  103927. },
  103928. $signature: 43
  103929. };
  103930. A._EvaluateVisitor_visitIfRule___closure1.prototype = {
  103931. call$1(child) {
  103932. return child.accept$1(this.$this);
  103933. },
  103934. $signature: 90
  103935. };
  103936. A._EvaluateVisitor__visitDynamicImport_closure1.prototype = {
  103937. call$0() {
  103938. 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 = {};
  103939. _box_0.isDependency = _box_0.importer = _box_0.stylesheet = null;
  103940. t1 = this.$this;
  103941. t2 = this.$import;
  103942. _0_0 = t1._evaluate0$_loadStylesheet$3$forImport(t2.urlString, t2.span, true);
  103943. stylesheet = _box_0.stylesheet = _0_0._0;
  103944. importer = _0_0._1;
  103945. _box_0.importer = importer;
  103946. isDependency = _0_0._2;
  103947. _box_0.isDependency = isDependency;
  103948. url = stylesheet.span.file.url;
  103949. if (url != null) {
  103950. t3 = t1._evaluate0$_activeModules;
  103951. if (t3.containsKey$1(url)) {
  103952. t2 = A.NullableExtension_andThen0(t3.$index(0, url), new A._EvaluateVisitor__visitDynamicImport__closure7(t1));
  103953. throw A.wrapException(t2 == null ? t1._evaluate0$_exception$1("This file is already being loaded.") : t2);
  103954. }
  103955. t3.$indexSet(0, url, t2);
  103956. }
  103957. t2 = stylesheet._stylesheet1$_uses;
  103958. t3 = type$.UnmodifiableListView_UseRule_2;
  103959. if (new A.UnmodifiableListView(t2, t3).get$length(0) === 0 && new A.UnmodifiableListView(stylesheet._stylesheet1$_forwards, type$.UnmodifiableListView_ForwardRule_2).get$length(0) === 0) {
  103960. oldImporter = t1._evaluate0$_importer;
  103961. oldStylesheet = t1._evaluate0$_assertInModule$2(t1._evaluate0$__stylesheet, "_stylesheet");
  103962. oldInDependency = t1._evaluate0$_inDependency;
  103963. t1._evaluate0$_importer = importer;
  103964. t1._evaluate0$__stylesheet = stylesheet;
  103965. t1._evaluate0$_inDependency = isDependency;
  103966. t1.visitStylesheet$1(0, stylesheet);
  103967. t1._evaluate0$_importer = oldImporter;
  103968. t1._evaluate0$__stylesheet = oldStylesheet;
  103969. t1._evaluate0$_inDependency = oldInDependency;
  103970. t1._evaluate0$_activeModules.remove$1(0, url);
  103971. return;
  103972. }
  103973. t2 = new A.UnmodifiableListView(t2, t3);
  103974. if (!t2.any$1(t2, new A._EvaluateVisitor__visitDynamicImport__closure8())) {
  103975. t2 = new A.UnmodifiableListView(stylesheet._stylesheet1$_forwards, type$.UnmodifiableListView_ForwardRule_2);
  103976. loadsUserDefinedModules = t2.any$1(t2, new A._EvaluateVisitor__visitDynamicImport__closure9());
  103977. } else
  103978. loadsUserDefinedModules = true;
  103979. children = A._Cell$();
  103980. t2 = t1._evaluate0$_environment;
  103981. t3 = type$.String;
  103982. t4 = type$.Module_Callable_2;
  103983. t5 = type$.AstNode_2;
  103984. t6 = A._setArrayType([], type$.JSArray_Module_Callable_2);
  103985. t7 = t2._environment0$_variables;
  103986. t7 = A._setArrayType(t7.slice(0), A._arrayInstanceType(t7));
  103987. t8 = t2._environment0$_variableNodes;
  103988. t8 = A._setArrayType(t8.slice(0), A._arrayInstanceType(t8));
  103989. t9 = t2._environment0$_functions;
  103990. t9 = A._setArrayType(t9.slice(0), A._arrayInstanceType(t9));
  103991. t10 = t2._environment0$_mixins;
  103992. t10 = A._setArrayType(t10.slice(0), A._arrayInstanceType(t10));
  103993. 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, t2._environment0$_configurableVariables);
  103994. t1._evaluate0$_withEnvironment$2(environment, new A._EvaluateVisitor__visitDynamicImport__closure10(_box_0, t1, loadsUserDefinedModules, environment, children));
  103995. module = environment.toDummyModule$0();
  103996. t1._evaluate0$_environment.importForwards$1(module);
  103997. if (loadsUserDefinedModules) {
  103998. if (module.transitivelyContainsCss)
  103999. t1._evaluate0$_combineCss$2$clone(module, module.transitivelyContainsExtensions).accept$1(t1);
  104000. visitor = new A._ImportedCssVisitor1(t1);
  104001. for (t2 = J.get$iterator$ax(children._readLocal$0()); t2.moveNext$0();)
  104002. t2.get$current(t2).accept$1(visitor);
  104003. }
  104004. t1._evaluate0$_activeModules.remove$1(0, url);
  104005. },
  104006. $signature: 0
  104007. };
  104008. A._EvaluateVisitor__visitDynamicImport__closure7.prototype = {
  104009. call$1(previousLoad) {
  104010. 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));
  104011. },
  104012. $signature: 99
  104013. };
  104014. A._EvaluateVisitor__visitDynamicImport__closure8.prototype = {
  104015. call$1(rule) {
  104016. return rule.url.get$scheme() !== "sass";
  104017. },
  104018. $signature: 215
  104019. };
  104020. A._EvaluateVisitor__visitDynamicImport__closure9.prototype = {
  104021. call$1(rule) {
  104022. return rule.url.get$scheme() !== "sass";
  104023. },
  104024. $signature: 216
  104025. };
  104026. A._EvaluateVisitor__visitDynamicImport__closure10.prototype = {
  104027. call$0() {
  104028. var t3, t4, _this = this,
  104029. t1 = _this.$this,
  104030. oldImporter = t1._evaluate0$_importer,
  104031. oldStylesheet = t1._evaluate0$_assertInModule$2(t1._evaluate0$__stylesheet, "_stylesheet"),
  104032. oldRoot = t1._evaluate0$_assertInModule$2(t1._evaluate0$__root, "_root"),
  104033. oldParent = t1._evaluate0$_assertInModule$2(t1._evaluate0$__parent, "__parent"),
  104034. oldEndOfImports = t1._evaluate0$_assertInModule$2(t1._evaluate0$__endOfImports, "_endOfImports"),
  104035. oldOutOfOrderImports = t1._evaluate0$_outOfOrderImports,
  104036. oldConfiguration = t1._evaluate0$_configuration,
  104037. oldInDependency = t1._evaluate0$_inDependency,
  104038. t2 = _this._box_0;
  104039. t1._evaluate0$_importer = t2.importer;
  104040. t3 = t2.stylesheet;
  104041. t1._evaluate0$__stylesheet = t3;
  104042. t4 = _this.loadsUserDefinedModules;
  104043. if (t4) {
  104044. t3 = A.ModifiableCssStylesheet$0(t3.span);
  104045. t1._evaluate0$__root = t3;
  104046. t1._evaluate0$__parent = t1._evaluate0$_assertInModule$2(t3, "_root");
  104047. t1._evaluate0$__endOfImports = 0;
  104048. t1._evaluate0$_outOfOrderImports = null;
  104049. }
  104050. t1._evaluate0$_inDependency = t2.isDependency;
  104051. t3 = new A.UnmodifiableListView(t2.stylesheet._stylesheet1$_forwards, type$.UnmodifiableListView_ForwardRule_2);
  104052. if (!t3.get$isEmpty(t3))
  104053. t1._evaluate0$_configuration = _this.environment.toImplicitConfiguration$0();
  104054. t1.visitStylesheet$1(0, t2.stylesheet);
  104055. t2 = t4 ? t1._evaluate0$_addOutOfOrderImports$0() : A._setArrayType([], type$.JSArray_ModifiableCssNode_2);
  104056. _this.children.__late_helper$_value = t2;
  104057. t1._evaluate0$_importer = oldImporter;
  104058. t1._evaluate0$__stylesheet = oldStylesheet;
  104059. if (t4) {
  104060. t1._evaluate0$__root = oldRoot;
  104061. t1._evaluate0$__parent = oldParent;
  104062. t1._evaluate0$__endOfImports = oldEndOfImports;
  104063. t1._evaluate0$_outOfOrderImports = oldOutOfOrderImports;
  104064. }
  104065. t1._evaluate0$_configuration = oldConfiguration;
  104066. t1._evaluate0$_inDependency = oldInDependency;
  104067. },
  104068. $signature: 1
  104069. };
  104070. A._EvaluateVisitor__applyMixin_closure3.prototype = {
  104071. call$0() {
  104072. var _this = this,
  104073. t1 = _this.$this;
  104074. t1._evaluate0$_environment.asMixin$1(new A._EvaluateVisitor__applyMixin__closure4(t1, _this.$arguments, _this.mixin, _this.nodeWithSpanWithoutContent));
  104075. },
  104076. $signature: 0
  104077. };
  104078. A._EvaluateVisitor__applyMixin__closure4.prototype = {
  104079. call$0() {
  104080. var _this = this;
  104081. _this.$this._evaluate0$_runBuiltInCallable$3(_this.$arguments, _this.mixin, _this.nodeWithSpanWithoutContent);
  104082. },
  104083. $signature: 0
  104084. };
  104085. A._EvaluateVisitor__applyMixin_closure4.prototype = {
  104086. call$0() {
  104087. var _this = this,
  104088. t1 = _this.$this;
  104089. t1._evaluate0$_environment.withContent$2(_this.contentCallable, new A._EvaluateVisitor__applyMixin__closure3(t1, _this.mixin, _this.nodeWithSpanWithoutContent));
  104090. },
  104091. $signature: 1
  104092. };
  104093. A._EvaluateVisitor__applyMixin__closure3.prototype = {
  104094. call$0() {
  104095. var t1 = this.$this;
  104096. t1._evaluate0$_environment.asMixin$1(new A._EvaluateVisitor__applyMixin___closure1(t1, this.mixin, this.nodeWithSpanWithoutContent));
  104097. },
  104098. $signature: 0
  104099. };
  104100. A._EvaluateVisitor__applyMixin___closure1.prototype = {
  104101. call$0() {
  104102. var t1, t2, t3, t4, _i;
  104103. for (t1 = this.mixin.declaration.children, t2 = t1.length, t3 = this.$this, t4 = this.nodeWithSpanWithoutContent, _i = 0; _i < t2; ++_i)
  104104. t3._evaluate0$_addErrorSpan$2(t4, new A._EvaluateVisitor__applyMixin____closure1(t3, t1[_i]));
  104105. },
  104106. $signature: 0
  104107. };
  104108. A._EvaluateVisitor__applyMixin____closure1.prototype = {
  104109. call$0() {
  104110. return this.statement.accept$1(this.$this);
  104111. },
  104112. $signature: 43
  104113. };
  104114. A._EvaluateVisitor_visitIncludeRule_closure5.prototype = {
  104115. call$0() {
  104116. var t1 = this.node;
  104117. return this.$this._evaluate0$_environment.getMixin$2$namespace(t1.name, t1.namespace);
  104118. },
  104119. $signature: 98
  104120. };
  104121. A._EvaluateVisitor_visitIncludeRule_closure6.prototype = {
  104122. call$1($content) {
  104123. var t1 = this.$this;
  104124. return new A.UserDefinedCallable0($content, t1._evaluate0$_environment.closure$0(), t1._evaluate0$_inDependency, type$.UserDefinedCallable_Environment_2);
  104125. },
  104126. $signature: 461
  104127. };
  104128. A._EvaluateVisitor_visitIncludeRule_closure7.prototype = {
  104129. call$0() {
  104130. return this.node.get$spanWithoutContent();
  104131. },
  104132. $signature: 28
  104133. };
  104134. A._EvaluateVisitor_visitMediaRule_closure5.prototype = {
  104135. call$1(mediaQueries) {
  104136. return this.$this._evaluate0$_mergeMediaQueries$2(mediaQueries, this.queries);
  104137. },
  104138. $signature: 104
  104139. };
  104140. A._EvaluateVisitor_visitMediaRule_closure6.prototype = {
  104141. call$0() {
  104142. var _this = this,
  104143. t1 = _this.$this,
  104144. t2 = _this.mergedQueries;
  104145. if (t2 == null)
  104146. t2 = _this.queries;
  104147. t1._evaluate0$_withMediaQueries$3(t2, _this.mergedSources, new A._EvaluateVisitor_visitMediaRule__closure1(t1, _this.node));
  104148. },
  104149. $signature: 1
  104150. };
  104151. A._EvaluateVisitor_visitMediaRule__closure1.prototype = {
  104152. call$0() {
  104153. var t2, t3, _i,
  104154. t1 = this.$this,
  104155. _0_0 = t1._evaluate0$_atRootExcludingStyleRule ? null : t1._evaluate0$_styleRuleIgnoringAtRoot;
  104156. if (_0_0 != null)
  104157. 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);
  104158. else
  104159. for (t2 = this.node.children, t3 = t2.length, _i = 0; _i < t3; ++_i)
  104160. t2[_i].accept$1(t1);
  104161. },
  104162. $signature: 1
  104163. };
  104164. A._EvaluateVisitor_visitMediaRule___closure1.prototype = {
  104165. call$0() {
  104166. var t1, t2, t3, _i;
  104167. for (t1 = this.node.children, t2 = t1.length, t3 = this.$this, _i = 0; _i < t2; ++_i)
  104168. t1[_i].accept$1(t3);
  104169. },
  104170. $signature: 1
  104171. };
  104172. A._EvaluateVisitor_visitMediaRule_closure7.prototype = {
  104173. call$1(node) {
  104174. var t1;
  104175. if (!(node instanceof A.ModifiableCssStyleRule0)) {
  104176. t1 = this.mergedSources;
  104177. t1 = t1.get$isNotEmpty(t1) && node instanceof A.ModifiableCssMediaRule0 && B.JSArray_methods.every$1(node.queries, t1.get$contains(t1));
  104178. } else
  104179. t1 = true;
  104180. return t1;
  104181. },
  104182. $signature: 8
  104183. };
  104184. A._EvaluateVisitor_visitStyleRule_closure7.prototype = {
  104185. call$0() {
  104186. var t1, t2, t3, _i;
  104187. for (t1 = this.node.children, t2 = t1.length, t3 = this.$this, _i = 0; _i < t2; ++_i)
  104188. t1[_i].accept$1(t3);
  104189. },
  104190. $signature: 1
  104191. };
  104192. A._EvaluateVisitor_visitStyleRule_closure8.prototype = {
  104193. call$1(node) {
  104194. return node instanceof A.ModifiableCssStyleRule0;
  104195. },
  104196. $signature: 8
  104197. };
  104198. A._EvaluateVisitor_visitStyleRule_closure10.prototype = {
  104199. call$0() {
  104200. var t1 = this.$this;
  104201. t1._evaluate0$_withStyleRule$2(this.rule, new A._EvaluateVisitor_visitStyleRule__closure1(t1, this.node));
  104202. },
  104203. $signature: 1
  104204. };
  104205. A._EvaluateVisitor_visitStyleRule__closure1.prototype = {
  104206. call$0() {
  104207. var t1, t2, t3, _i;
  104208. for (t1 = this.node.children, t2 = t1.length, t3 = this.$this, _i = 0; _i < t2; ++_i)
  104209. t1[_i].accept$1(t3);
  104210. },
  104211. $signature: 1
  104212. };
  104213. A._EvaluateVisitor_visitStyleRule_closure9.prototype = {
  104214. call$1(node) {
  104215. return node instanceof A.ModifiableCssStyleRule0;
  104216. },
  104217. $signature: 8
  104218. };
  104219. A._EvaluateVisitor__warnForBogusCombinators_closure1.prototype = {
  104220. call$1(child) {
  104221. return child instanceof A.ModifiableCssComment0;
  104222. },
  104223. $signature: 8
  104224. };
  104225. A._EvaluateVisitor_visitSupportsRule_closure3.prototype = {
  104226. call$0() {
  104227. var t2, t3, _i,
  104228. t1 = this.$this,
  104229. _0_0 = t1._evaluate0$_atRootExcludingStyleRule ? null : t1._evaluate0$_styleRuleIgnoringAtRoot;
  104230. if (_0_0 != null)
  104231. 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);
  104232. else
  104233. for (t2 = this.node.children, t3 = t2.length, _i = 0; _i < t3; ++_i)
  104234. t2[_i].accept$1(t1);
  104235. },
  104236. $signature: 1
  104237. };
  104238. A._EvaluateVisitor_visitSupportsRule__closure1.prototype = {
  104239. call$0() {
  104240. var t1, t2, t3, _i;
  104241. for (t1 = this.node.children, t2 = t1.length, t3 = this.$this, _i = 0; _i < t2; ++_i)
  104242. t1[_i].accept$1(t3);
  104243. },
  104244. $signature: 1
  104245. };
  104246. A._EvaluateVisitor_visitSupportsRule_closure4.prototype = {
  104247. call$1(node) {
  104248. return node instanceof A.ModifiableCssStyleRule0;
  104249. },
  104250. $signature: 8
  104251. };
  104252. A._EvaluateVisitor__visitSupportsCondition_closure1.prototype = {
  104253. call$0() {
  104254. var t4,
  104255. t1 = this.$this,
  104256. t2 = this._box_0,
  104257. t3 = t2.declaration.name;
  104258. t3 = t1._evaluate0$_serialize$3$quote(t3.accept$1(t1), t3, true);
  104259. t4 = t2.declaration.get$isCustomProperty() ? "" : " ";
  104260. t2 = t2.declaration.value;
  104261. return "(" + t3 + ":" + t4 + t1._evaluate0$_serialize$3$quote(t2.accept$1(t1), t2, true) + ")";
  104262. },
  104263. $signature: 27
  104264. };
  104265. A._EvaluateVisitor_visitVariableDeclaration_closure5.prototype = {
  104266. call$0() {
  104267. var t1 = this.$this._evaluate0$_environment,
  104268. t2 = this._box_0.override;
  104269. t1.setVariable$4$global(this.node.name, t2.value, t2.assignmentNode, true);
  104270. },
  104271. $signature: 1
  104272. };
  104273. A._EvaluateVisitor_visitVariableDeclaration_closure6.prototype = {
  104274. call$0() {
  104275. var t1 = this.node;
  104276. return this.$this._evaluate0$_environment.getVariable$2$namespace(t1.name, t1.namespace);
  104277. },
  104278. $signature: 43
  104279. };
  104280. A._EvaluateVisitor_visitVariableDeclaration_closure7.prototype = {
  104281. call$0() {
  104282. var t1 = this.$this,
  104283. t2 = this.node;
  104284. t1._evaluate0$_environment.setVariable$5$global$namespace(t2.name, this.value, t1._evaluate0$_expressionNode$1(t2.expression), t2.isGlobal, t2.namespace);
  104285. },
  104286. $signature: 1
  104287. };
  104288. A._EvaluateVisitor_visitUseRule_closure1.prototype = {
  104289. call$2(module, firstLoad) {
  104290. var t1, t2, t3, _0_0, t4, t5, span;
  104291. if (firstLoad)
  104292. this.$this._evaluate0$_registerCommentsForModule$1(module);
  104293. t1 = this.$this._evaluate0$_environment;
  104294. t2 = this.node;
  104295. t3 = t2.namespace;
  104296. if (t3 == null) {
  104297. t1._environment0$_globalModules.$indexSet(0, module, t2);
  104298. t1._environment0$_allModules.push(module);
  104299. _0_0 = A.IterableExtension_firstWhereOrNull(J.get$keys$z(B.JSArray_methods.get$first(t1._environment0$_variables)), module.get$variables().get$containsKey());
  104300. if (_0_0 != null)
  104301. A.throwExpression(A.SassScriptException$0(string$.This_ma + _0_0 + '".', null));
  104302. } else {
  104303. t4 = t1._environment0$_modules;
  104304. if (t4.containsKey$1(t3)) {
  104305. t5 = t1._environment0$_namespaceNodes.$index(0, t3);
  104306. span = t5 == null ? null : t5.span;
  104307. t5 = A.LinkedHashMap_LinkedHashMap$_empty(type$.FileSpan, type$.String);
  104308. if (span != null)
  104309. t5.$indexSet(0, span, "original @use");
  104310. A.throwExpression(A.MultiSpanSassScriptException$0(string$.There_ + t3 + '".', "new @use", t5));
  104311. }
  104312. t4.$indexSet(0, t3, module);
  104313. t1._environment0$_namespaceNodes.$indexSet(0, t3, t2);
  104314. t1._environment0$_allModules.push(module);
  104315. }
  104316. },
  104317. $signature: 89
  104318. };
  104319. A._EvaluateVisitor_visitWarnRule_closure1.prototype = {
  104320. call$0() {
  104321. return this.node.expression.accept$1(this.$this);
  104322. },
  104323. $signature: 50
  104324. };
  104325. A._EvaluateVisitor_visitWhileRule_closure1.prototype = {
  104326. call$0() {
  104327. var t1, t2, t3, _0_0;
  104328. for (t1 = this.node, t2 = t1.condition, t3 = this.$this, t1 = t1.children; t2.accept$1(t3).get$isTruthy();) {
  104329. _0_0 = t3._evaluate0$_handleReturn$2(t1, new A._EvaluateVisitor_visitWhileRule__closure1(t3));
  104330. if (_0_0 != null)
  104331. return _0_0;
  104332. }
  104333. return null;
  104334. },
  104335. $signature: 43
  104336. };
  104337. A._EvaluateVisitor_visitWhileRule__closure1.prototype = {
  104338. call$1(child) {
  104339. return child.accept$1(this.$this);
  104340. },
  104341. $signature: 90
  104342. };
  104343. A._EvaluateVisitor_visitBinaryOperationExpression_closure1.prototype = {
  104344. call$0() {
  104345. var t1 = this.node,
  104346. t2 = this.$this,
  104347. left = t1.left.accept$1(t2);
  104348. switch (t1.operator) {
  104349. case B.BinaryOperator_Kyq0:
  104350. t1 = t1.right.accept$1(t2);
  104351. t1 = new A.SassString0(A.serializeValue0(left, false, true) + "=" + A.serializeValue0(t1, false, true), false);
  104352. break;
  104353. case B.BinaryOperator_tKu0:
  104354. t1 = left.get$isTruthy() ? left : t1.right.accept$1(t2);
  104355. break;
  104356. case B.BinaryOperator_uke0:
  104357. t1 = left.get$isTruthy() ? t1.right.accept$1(t2) : left;
  104358. break;
  104359. case B.BinaryOperator_r840:
  104360. t1 = left.$eq(0, t1.right.accept$1(t2)) ? B.SassBoolean_true0 : B.SassBoolean_false0;
  104361. break;
  104362. case B.BinaryOperator_qGq0:
  104363. t1 = !left.$eq(0, t1.right.accept$1(t2)) ? B.SassBoolean_true0 : B.SassBoolean_false0;
  104364. break;
  104365. case B.BinaryOperator_o8O0:
  104366. t1 = left.greaterThan$1(t1.right.accept$1(t2));
  104367. break;
  104368. case B.BinaryOperator_JiR0:
  104369. t1 = left.greaterThanOrEquals$1(t1.right.accept$1(t2));
  104370. break;
  104371. case B.BinaryOperator_qHy0:
  104372. t1 = left.lessThan$1(t1.right.accept$1(t2));
  104373. break;
  104374. case B.BinaryOperator_FPG0:
  104375. t1 = left.lessThanOrEquals$1(t1.right.accept$1(t2));
  104376. break;
  104377. case B.BinaryOperator_Swh0:
  104378. t1 = left.plus$1(t1.right.accept$1(t2));
  104379. break;
  104380. case B.BinaryOperator_QG10:
  104381. t1 = left.minus$1(t1.right.accept$1(t2));
  104382. break;
  104383. case B.BinaryOperator_tht0:
  104384. t1 = left.times$1(t1.right.accept$1(t2));
  104385. break;
  104386. case B.BinaryOperator_Mh50:
  104387. t1 = t2._evaluate0$_slash$3(left, t1.right.accept$1(t2), t1);
  104388. break;
  104389. case B.BinaryOperator_s7T0:
  104390. t1 = left.modulo$1(t1.right.accept$1(t2));
  104391. break;
  104392. default:
  104393. t1 = null;
  104394. }
  104395. return t1;
  104396. },
  104397. $signature: 50
  104398. };
  104399. A._EvaluateVisitor__slash_recommendation1.prototype = {
  104400. call$1(expression) {
  104401. var t1;
  104402. $label0$0: {
  104403. if (expression instanceof A.BinaryOperationExpression0 && B.BinaryOperator_Mh50 === expression.operator) {
  104404. t1 = "math.div(" + A.S(this.call$1(expression.left)) + ", " + A.S(this.call$1(expression.right)) + ")";
  104405. break $label0$0;
  104406. }
  104407. if (expression instanceof A.ParenthesizedExpression0) {
  104408. t1 = expression.expression.toString$0(0);
  104409. break $label0$0;
  104410. }
  104411. t1 = expression.toString$0(0);
  104412. break $label0$0;
  104413. }
  104414. return t1;
  104415. },
  104416. $signature: 118
  104417. };
  104418. A._EvaluateVisitor_visitVariableExpression_closure1.prototype = {
  104419. call$0() {
  104420. var t1 = this.node;
  104421. return this.$this._evaluate0$_environment.getVariable$2$namespace(t1.name, t1.namespace);
  104422. },
  104423. $signature: 43
  104424. };
  104425. A._EvaluateVisitor_visitUnaryOperationExpression_closure1.prototype = {
  104426. call$0() {
  104427. var t1, _this = this;
  104428. switch (_this.node.operator) {
  104429. case B.UnaryOperator_Rbl0:
  104430. t1 = _this.operand.unaryPlus$0();
  104431. break;
  104432. case B.UnaryOperator_UCP0:
  104433. t1 = _this.operand.unaryMinus$0();
  104434. break;
  104435. case B.UnaryOperator_lZV0:
  104436. t1 = new A.SassString0("/" + A.serializeValue0(_this.operand, false, true), false);
  104437. break;
  104438. case B.UnaryOperator_not_not_not0:
  104439. t1 = _this.operand.unaryNot$0();
  104440. break;
  104441. default:
  104442. t1 = null;
  104443. }
  104444. return t1;
  104445. },
  104446. $signature: 50
  104447. };
  104448. A._EvaluateVisitor_visitListExpression_closure1.prototype = {
  104449. call$1(expression) {
  104450. return expression.accept$1(this.$this);
  104451. },
  104452. $signature: 462
  104453. };
  104454. A._EvaluateVisitor_visitFunctionExpression_closure5.prototype = {
  104455. call$0() {
  104456. var t1 = this.node;
  104457. return this.$this._evaluate0$_environment.getFunction$2$namespace(t1.name, t1.namespace);
  104458. },
  104459. $signature: 98
  104460. };
  104461. A._EvaluateVisitor_visitFunctionExpression_closure6.prototype = {
  104462. call$1(argument) {
  104463. return argument.accept$1(B.C_IsCalculationSafeVisitor0);
  104464. },
  104465. $signature: 117
  104466. };
  104467. A._EvaluateVisitor_visitFunctionExpression_closure7.prototype = {
  104468. call$0() {
  104469. var t1 = this.node;
  104470. return this.$this._evaluate0$_runFunctionCallable$3(t1.$arguments, this._box_0.$function, t1);
  104471. },
  104472. $signature: 50
  104473. };
  104474. A._EvaluateVisitor__visitCalculation_closure1.prototype = {
  104475. call$2(message, deprecation) {
  104476. return this.$this._evaluate0$_warn$3(message, this.node.span, deprecation);
  104477. },
  104478. call$1(message) {
  104479. return this.call$2(message, null);
  104480. },
  104481. $signature: 110
  104482. };
  104483. A._EvaluateVisitor__checkCalculationArguments_check1.prototype = {
  104484. call$1(maxArgs) {
  104485. var t1 = this.node,
  104486. t2 = t1.$arguments.positional.length;
  104487. if (t2 === 0)
  104488. throw A.wrapException(this.$this._evaluate0$_exception$2("Missing argument.", t1.span));
  104489. else if (maxArgs != null && t2 > maxArgs)
  104490. 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));
  104491. },
  104492. call$0() {
  104493. return this.call$1(null);
  104494. },
  104495. $signature: 85
  104496. };
  104497. A._EvaluateVisitor__visitCalculationExpression_closure1.prototype = {
  104498. call$0() {
  104499. var _this = this,
  104500. t1 = _this.$this,
  104501. t2 = _this._box_0,
  104502. t3 = _this.node,
  104503. t4 = _this.inLegacySassFunction;
  104504. 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));
  104505. },
  104506. $signature: 91
  104507. };
  104508. A._EvaluateVisitor__visitCalculationExpression__closure1.prototype = {
  104509. call$2(message, deprecation) {
  104510. return this.$this._evaluate0$_warn$3(message, this.node.get$span(0), deprecation);
  104511. },
  104512. call$1(message) {
  104513. return this.call$2(message, null);
  104514. },
  104515. $signature: 110
  104516. };
  104517. A._EvaluateVisitor_visitInterpolatedFunctionExpression_closure1.prototype = {
  104518. call$0() {
  104519. var t1 = this.node;
  104520. return this.$this._evaluate0$_runFunctionCallable$3(t1.$arguments, this.$function, t1);
  104521. },
  104522. $signature: 50
  104523. };
  104524. A._EvaluateVisitor__runUserDefinedCallable_closure1.prototype = {
  104525. call$0() {
  104526. var _this = this,
  104527. t1 = _this.$this,
  104528. t2 = _this.callable;
  104529. return t1._evaluate0$_withEnvironment$2(t2.environment.closure$0(), new A._EvaluateVisitor__runUserDefinedCallable__closure1(t1, _this.evaluated, t2, _this.nodeWithSpan, _this.run, _this.V));
  104530. },
  104531. $signature() {
  104532. return this.V._eval$1("0()");
  104533. }
  104534. };
  104535. A._EvaluateVisitor__runUserDefinedCallable__closure1.prototype = {
  104536. call$0() {
  104537. var _this = this,
  104538. t1 = _this.$this,
  104539. t2 = _this.V;
  104540. return t1._evaluate0$_environment.scope$1$1(new A._EvaluateVisitor__runUserDefinedCallable___closure1(t1, _this.evaluated, _this.callable, _this.nodeWithSpan, _this.run, t2), t2);
  104541. },
  104542. $signature() {
  104543. return this.V._eval$1("0()");
  104544. }
  104545. };
  104546. A._EvaluateVisitor__runUserDefinedCallable___closure1.prototype = {
  104547. call$0() {
  104548. var parameters, t5, minLength, i, parameter, t6, value, t7, t8, restParameter, rest, argumentList, result, parameterWord, _this = this,
  104549. t1 = _this.$this,
  104550. t2 = _this.evaluated._values,
  104551. t3 = _this.callable.declaration.parameters,
  104552. t4 = _this.nodeWithSpan;
  104553. t1._evaluate0$_verifyArguments$4(t2[2].length, t2[0], t3, t4);
  104554. parameters = t3.parameters;
  104555. t5 = parameters.length;
  104556. minLength = Math.min(t2[2].length, t5);
  104557. for (i = 0; i < minLength; ++i)
  104558. t1._evaluate0$_environment.setLocalVariable$3(parameters[i].name, t2[2][i], t2[3][i]);
  104559. for (i = t2[2].length; i < t5; ++i) {
  104560. parameter = parameters[i];
  104561. t6 = parameter.name;
  104562. value = t2[0].remove$1(0, t6);
  104563. if (value == null) {
  104564. t7 = parameter.defaultValue;
  104565. value = t1._evaluate0$_withoutSlash$2(t7.accept$1(t1), t1._evaluate0$_expressionNode$1(t7));
  104566. }
  104567. t7 = t1._evaluate0$_environment;
  104568. t8 = t2[1].$index(0, t6);
  104569. if (t8 == null) {
  104570. t8 = parameter.defaultValue;
  104571. t8.toString;
  104572. t8 = t1._evaluate0$_expressionNode$1(t8);
  104573. }
  104574. t7.setLocalVariable$3(t6, value, t8);
  104575. }
  104576. restParameter = t3.restParameter;
  104577. if (restParameter != null) {
  104578. t6 = t2[2];
  104579. rest = t6.length > t5 ? B.JSArray_methods.sublist$1(t6, t5) : B.List_empty22;
  104580. t5 = t2[0];
  104581. t6 = t2[4];
  104582. argumentList = A.SassArgumentList$0(rest, t5, t6 === B.ListSeparator_undecided_null_undecided0 ? B.ListSeparator_qVN0 : t6);
  104583. t1._evaluate0$_environment.setLocalVariable$3(restParameter, argumentList, t4);
  104584. } else
  104585. argumentList = null;
  104586. result = _this.run.call$0();
  104587. if (argumentList == null)
  104588. return result;
  104589. t5 = t2[0].__js_helper$_length;
  104590. if (t5 === 0)
  104591. return result;
  104592. if (argumentList._argument_list$_wereKeywordsAccessed)
  104593. return result;
  104594. parameterWord = A.pluralize0("parameter", t5, null);
  104595. t2 = t2[0];
  104596. t5 = A._instanceType(t2)._eval$1("LinkedHashMapKeysIterable<1>");
  104597. 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));
  104598. },
  104599. $signature() {
  104600. return this.V._eval$1("0()");
  104601. }
  104602. };
  104603. A._EvaluateVisitor__runUserDefinedCallable____closure1.prototype = {
  104604. call$1($name) {
  104605. return "$" + $name;
  104606. },
  104607. $signature: 6
  104608. };
  104609. A._EvaluateVisitor__runFunctionCallable_closure1.prototype = {
  104610. call$0() {
  104611. var t1, t2, t3, t4, _i, $returnValue;
  104612. for (t1 = this.callable.declaration, t2 = t1.children, t3 = t2.length, t4 = this.$this, _i = 0; _i < t3; ++_i) {
  104613. $returnValue = t2[_i].accept$1(t4);
  104614. if ($returnValue instanceof A.Value0)
  104615. return $returnValue;
  104616. }
  104617. throw A.wrapException(t4._evaluate0$_exception$2("Function finished without @return.", t1.span));
  104618. },
  104619. $signature: 50
  104620. };
  104621. A._EvaluateVisitor__runBuiltInCallable_closure5.prototype = {
  104622. call$0() {
  104623. return this._box_0.overload.verify$2(this.evaluated._values[2].length, this.namedSet);
  104624. },
  104625. $signature: 0
  104626. };
  104627. A._EvaluateVisitor__runBuiltInCallable_closure6.prototype = {
  104628. call$0() {
  104629. return this._box_0.callback.call$1(this.evaluated._values[2]);
  104630. },
  104631. $signature: 50
  104632. };
  104633. A._EvaluateVisitor__runBuiltInCallable_closure7.prototype = {
  104634. call$1($name) {
  104635. return "$" + $name;
  104636. },
  104637. $signature: 6
  104638. };
  104639. A._EvaluateVisitor__evaluateArguments_closure7.prototype = {
  104640. call$1(value) {
  104641. return value;
  104642. },
  104643. $signature: 44
  104644. };
  104645. A._EvaluateVisitor__evaluateArguments_closure8.prototype = {
  104646. call$1(value) {
  104647. return this.$this._evaluate0$_withoutSlash$2(value, this.restNodeForSpan);
  104648. },
  104649. $signature: 44
  104650. };
  104651. A._EvaluateVisitor__evaluateArguments_closure9.prototype = {
  104652. call$2(key, value) {
  104653. var _this = this,
  104654. t1 = _this.restNodeForSpan;
  104655. _this.named.$indexSet(0, key, _this.$this._evaluate0$_withoutSlash$2(value, t1));
  104656. _this.namedNodes.$indexSet(0, key, t1);
  104657. },
  104658. $signature: 112
  104659. };
  104660. A._EvaluateVisitor__evaluateArguments_closure10.prototype = {
  104661. call$1(value) {
  104662. return value;
  104663. },
  104664. $signature: 44
  104665. };
  104666. A._EvaluateVisitor__evaluateMacroArguments_closure7.prototype = {
  104667. call$1(value) {
  104668. var t1 = this.restArgs;
  104669. return new A.ValueExpression0(value, t1.get$span(t1));
  104670. },
  104671. $signature: 57
  104672. };
  104673. A._EvaluateVisitor__evaluateMacroArguments_closure8.prototype = {
  104674. call$1(value) {
  104675. var t1 = this.restArgs;
  104676. return new A.ValueExpression0(this.$this._evaluate0$_withoutSlash$2(value, this.restNodeForSpan), t1.get$span(t1));
  104677. },
  104678. $signature: 57
  104679. };
  104680. A._EvaluateVisitor__evaluateMacroArguments_closure9.prototype = {
  104681. call$2(key, value) {
  104682. var _this = this,
  104683. t1 = _this.restArgs;
  104684. _this.named.$indexSet(0, key, new A.ValueExpression0(_this.$this._evaluate0$_withoutSlash$2(value, _this.restNodeForSpan), t1.get$span(t1)));
  104685. },
  104686. $signature: 112
  104687. };
  104688. A._EvaluateVisitor__evaluateMacroArguments_closure10.prototype = {
  104689. call$1(value) {
  104690. var t1 = this.keywordRestArgs;
  104691. return new A.ValueExpression0(this.$this._evaluate0$_withoutSlash$2(value, this.keywordRestNodeForSpan), t1.get$span(t1));
  104692. },
  104693. $signature: 57
  104694. };
  104695. A._EvaluateVisitor__addRestMap_closure1.prototype = {
  104696. call$2(key, value) {
  104697. var t2, _this = this,
  104698. t1 = _this.$this;
  104699. if (key instanceof A.SassString0)
  104700. _this.values.$indexSet(0, key._string0$_text, _this.convert.call$1(t1._evaluate0$_withoutSlash$2(value, _this.expressionNode)));
  104701. else {
  104702. t2 = _this.nodeWithSpan;
  104703. 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)));
  104704. }
  104705. },
  104706. $signature: 107
  104707. };
  104708. A._EvaluateVisitor__verifyArguments_closure1.prototype = {
  104709. call$0() {
  104710. return this.parameters.verify$2(this.positional, new A.MapKeySet(this.named, type$.MapKeySet_String));
  104711. },
  104712. $signature: 0
  104713. };
  104714. A._EvaluateVisitor_visitCssAtRule_closure3.prototype = {
  104715. call$0() {
  104716. var t1, t2, t3, t4;
  104717. 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();) {
  104718. t4 = t1.__internal$_current;
  104719. (t4 == null ? t2._as(t4) : t4).accept$1(t3);
  104720. }
  104721. },
  104722. $signature: 1
  104723. };
  104724. A._EvaluateVisitor_visitCssAtRule_closure4.prototype = {
  104725. call$1(node) {
  104726. return node instanceof A.ModifiableCssStyleRule0;
  104727. },
  104728. $signature: 8
  104729. };
  104730. A._EvaluateVisitor_visitCssKeyframeBlock_closure3.prototype = {
  104731. call$0() {
  104732. var t1, t2, t3, t4;
  104733. 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();) {
  104734. t4 = t1.__internal$_current;
  104735. (t4 == null ? t2._as(t4) : t4).accept$1(t3);
  104736. }
  104737. },
  104738. $signature: 1
  104739. };
  104740. A._EvaluateVisitor_visitCssKeyframeBlock_closure4.prototype = {
  104741. call$1(node) {
  104742. return node instanceof A.ModifiableCssStyleRule0;
  104743. },
  104744. $signature: 8
  104745. };
  104746. A._EvaluateVisitor_visitCssMediaRule_closure5.prototype = {
  104747. call$1(mediaQueries) {
  104748. return this.$this._evaluate0$_mergeMediaQueries$2(mediaQueries, this.node.queries);
  104749. },
  104750. $signature: 104
  104751. };
  104752. A._EvaluateVisitor_visitCssMediaRule_closure6.prototype = {
  104753. call$0() {
  104754. var _this = this,
  104755. t1 = _this.$this,
  104756. t2 = _this.mergedQueries;
  104757. if (t2 == null)
  104758. t2 = _this.node.queries;
  104759. t1._evaluate0$_withMediaQueries$3(t2, _this.mergedSources, new A._EvaluateVisitor_visitCssMediaRule__closure1(t1, _this.node));
  104760. },
  104761. $signature: 1
  104762. };
  104763. A._EvaluateVisitor_visitCssMediaRule__closure1.prototype = {
  104764. call$0() {
  104765. var t2, t3, t4,
  104766. t1 = this.$this,
  104767. _0_0 = t1._evaluate0$_atRootExcludingStyleRule ? null : t1._evaluate0$_styleRuleIgnoringAtRoot;
  104768. if (_0_0 != null)
  104769. 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);
  104770. else
  104771. 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();) {
  104772. t4 = t2.__internal$_current;
  104773. (t4 == null ? t3._as(t4) : t4).accept$1(t1);
  104774. }
  104775. },
  104776. $signature: 1
  104777. };
  104778. A._EvaluateVisitor_visitCssMediaRule___closure1.prototype = {
  104779. call$0() {
  104780. var t1, t2, t3, t4;
  104781. 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();) {
  104782. t4 = t1.__internal$_current;
  104783. (t4 == null ? t2._as(t4) : t4).accept$1(t3);
  104784. }
  104785. },
  104786. $signature: 1
  104787. };
  104788. A._EvaluateVisitor_visitCssMediaRule_closure7.prototype = {
  104789. call$1(node) {
  104790. var t1;
  104791. if (!(node instanceof A.ModifiableCssStyleRule0)) {
  104792. t1 = this.mergedSources;
  104793. t1 = t1.get$isNotEmpty(t1) && node instanceof A.ModifiableCssMediaRule0 && B.JSArray_methods.every$1(node.queries, t1.get$contains(t1));
  104794. } else
  104795. t1 = true;
  104796. return t1;
  104797. },
  104798. $signature: 8
  104799. };
  104800. A._EvaluateVisitor_visitCssStyleRule_closure4.prototype = {
  104801. call$0() {
  104802. var t1 = this.$this;
  104803. t1._evaluate0$_withStyleRule$2(this.rule, new A._EvaluateVisitor_visitCssStyleRule__closure1(t1, this.node));
  104804. },
  104805. $signature: 1
  104806. };
  104807. A._EvaluateVisitor_visitCssStyleRule__closure1.prototype = {
  104808. call$0() {
  104809. var t1, t2, t3, t4;
  104810. 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();) {
  104811. t4 = t1.__internal$_current;
  104812. (t4 == null ? t2._as(t4) : t4).accept$1(t3);
  104813. }
  104814. },
  104815. $signature: 1
  104816. };
  104817. A._EvaluateVisitor_visitCssStyleRule_closure3.prototype = {
  104818. call$1(node) {
  104819. return node instanceof A.ModifiableCssStyleRule0;
  104820. },
  104821. $signature: 8
  104822. };
  104823. A._EvaluateVisitor_visitCssSupportsRule_closure3.prototype = {
  104824. call$0() {
  104825. var t2, t3, t4,
  104826. t1 = this.$this,
  104827. _0_0 = t1._evaluate0$_atRootExcludingStyleRule ? null : t1._evaluate0$_styleRuleIgnoringAtRoot;
  104828. if (_0_0 != null)
  104829. 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);
  104830. else
  104831. 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();) {
  104832. t4 = t2.__internal$_current;
  104833. (t4 == null ? t3._as(t4) : t4).accept$1(t1);
  104834. }
  104835. },
  104836. $signature: 1
  104837. };
  104838. A._EvaluateVisitor_visitCssSupportsRule__closure1.prototype = {
  104839. call$0() {
  104840. var t1, t2, t3, t4;
  104841. 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();) {
  104842. t4 = t1.__internal$_current;
  104843. (t4 == null ? t2._as(t4) : t4).accept$1(t3);
  104844. }
  104845. },
  104846. $signature: 1
  104847. };
  104848. A._EvaluateVisitor_visitCssSupportsRule_closure4.prototype = {
  104849. call$1(node) {
  104850. return node instanceof A.ModifiableCssStyleRule0;
  104851. },
  104852. $signature: 8
  104853. };
  104854. A._EvaluateVisitor__performInterpolationHelper_closure1.prototype = {
  104855. call$1(targetLocations) {
  104856. return A.InterpolationMap$0(this.interpolation, targetLocations);
  104857. },
  104858. $signature: 218
  104859. };
  104860. A._EvaluateVisitor__serialize_closure1.prototype = {
  104861. call$0() {
  104862. return A.serializeValue0(this.value, false, this.quote);
  104863. },
  104864. $signature: 27
  104865. };
  104866. A._EvaluateVisitor__expressionNode_closure1.prototype = {
  104867. call$0() {
  104868. var t1 = this.expression;
  104869. return this.$this._evaluate0$_environment.getVariableNode$2$namespace(t1.name, t1.namespace);
  104870. },
  104871. $signature: 219
  104872. };
  104873. A._EvaluateVisitor__withoutSlash_recommendation1.prototype = {
  104874. call$1(number) {
  104875. var before, after, t1,
  104876. _1_0 = number.asSlash;
  104877. $label0$0: {
  104878. if (type$.Record_2_nullable_Object_and_nullable_Object._is(_1_0)) {
  104879. before = _1_0._0;
  104880. after = _1_0._1;
  104881. t1 = "math.div(" + A.S(this.call$1(before)) + ", " + A.S(this.call$1(after)) + ")";
  104882. break $label0$0;
  104883. }
  104884. t1 = A.serializeValue0(number, true, true);
  104885. break $label0$0;
  104886. }
  104887. return t1;
  104888. },
  104889. $signature: 220
  104890. };
  104891. A._EvaluateVisitor__stackFrame_closure1.prototype = {
  104892. call$1(url) {
  104893. var t1 = this.$this._evaluate0$_importCache;
  104894. t1 = t1 == null ? null : t1.humanize$1(url);
  104895. return t1 == null ? url : t1;
  104896. },
  104897. $signature: 48
  104898. };
  104899. A._ImportedCssVisitor1.prototype = {
  104900. visitCssAtRule$1(node) {
  104901. var t1 = node.isChildless ? null : new A._ImportedCssVisitor_visitCssAtRule_closure1();
  104902. this._evaluate0$_visitor._evaluate0$_addChild$2$through(node, t1);
  104903. },
  104904. visitCssComment$1(node) {
  104905. return this._evaluate0$_visitor._evaluate0$_addChild$1(node);
  104906. },
  104907. visitCssDeclaration$1(node) {
  104908. },
  104909. visitCssImport$1(node) {
  104910. var t2,
  104911. _s13_ = "_endOfImports",
  104912. t1 = this._evaluate0$_visitor;
  104913. if (t1._evaluate0$_assertInModule$2(t1._evaluate0$__parent, "__parent") !== t1._evaluate0$_assertInModule$2(t1._evaluate0$__root, "_root"))
  104914. t1._evaluate0$_addChild$1(node);
  104915. 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)) {
  104916. t1._evaluate0$_addChild$1(node);
  104917. t1._evaluate0$__endOfImports = t1._evaluate0$_assertInModule$2(t1._evaluate0$__endOfImports, _s13_) + 1;
  104918. } else {
  104919. t2 = t1._evaluate0$_outOfOrderImports;
  104920. (t2 == null ? t1._evaluate0$_outOfOrderImports = A._setArrayType([], type$.JSArray_ModifiableCssImport_2) : t2).push(node);
  104921. }
  104922. },
  104923. visitCssKeyframeBlock$1(node) {
  104924. },
  104925. visitCssMediaRule$1(node) {
  104926. var t1 = this._evaluate0$_visitor,
  104927. mediaQueries = t1._evaluate0$_mediaQueries;
  104928. t1._evaluate0$_addChild$2$through(node, new A._ImportedCssVisitor_visitCssMediaRule_closure1(mediaQueries == null || t1._evaluate0$_mergeMediaQueries$2(mediaQueries, node.queries) != null));
  104929. },
  104930. visitCssStyleRule$1(node) {
  104931. return this._evaluate0$_visitor._evaluate0$_addChild$2$through(node, new A._ImportedCssVisitor_visitCssStyleRule_closure1());
  104932. },
  104933. visitCssStylesheet$1(node) {
  104934. var t1, t2, t3;
  104935. 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();) {
  104936. t3 = t1.__internal$_current;
  104937. (t3 == null ? t2._as(t3) : t3).accept$1(this);
  104938. }
  104939. },
  104940. visitCssSupportsRule$1(node) {
  104941. return this._evaluate0$_visitor._evaluate0$_addChild$2$through(node, new A._ImportedCssVisitor_visitCssSupportsRule_closure1());
  104942. }
  104943. };
  104944. A._ImportedCssVisitor_visitCssAtRule_closure1.prototype = {
  104945. call$1(node) {
  104946. return node instanceof A.ModifiableCssStyleRule0;
  104947. },
  104948. $signature: 8
  104949. };
  104950. A._ImportedCssVisitor_visitCssMediaRule_closure1.prototype = {
  104951. call$1(node) {
  104952. var t1;
  104953. if (!(node instanceof A.ModifiableCssStyleRule0))
  104954. t1 = this.hasBeenMerged && node instanceof A.ModifiableCssMediaRule0;
  104955. else
  104956. t1 = true;
  104957. return t1;
  104958. },
  104959. $signature: 8
  104960. };
  104961. A._ImportedCssVisitor_visitCssStyleRule_closure1.prototype = {
  104962. call$1(node) {
  104963. return node instanceof A.ModifiableCssStyleRule0;
  104964. },
  104965. $signature: 8
  104966. };
  104967. A._ImportedCssVisitor_visitCssSupportsRule_closure1.prototype = {
  104968. call$1(node) {
  104969. return node instanceof A.ModifiableCssStyleRule0;
  104970. },
  104971. $signature: 8
  104972. };
  104973. A._EvaluationContext1.prototype = {
  104974. get$currentCallableSpan() {
  104975. var _0_0 = this._evaluate0$_visitor._evaluate0$_callableNode;
  104976. if (_0_0 != null)
  104977. return _0_0.get$span(_0_0);
  104978. throw A.wrapException(A.StateError$(string$.No_Sasc));
  104979. },
  104980. warn$2(_, message, deprecation) {
  104981. var t1 = this._evaluate0$_visitor,
  104982. t2 = t1._evaluate0$_importSpan;
  104983. if (t2 == null) {
  104984. t2 = t1._evaluate0$_callableNode;
  104985. t2 = t2 == null ? null : t2.get$span(t2);
  104986. }
  104987. t1._evaluate0$_warn$3(message, t2 == null ? this._evaluate0$_defaultWarnNodeWithSpan.span : t2, deprecation);
  104988. },
  104989. $isEvaluationContext0: 1
  104990. };
  104991. A.EveryCssVisitor0.prototype = {
  104992. visitCssAtRule$1(node) {
  104993. var t1 = node.children;
  104994. return t1.every$1(t1, new A.EveryCssVisitor_visitCssAtRule_closure0(this));
  104995. },
  104996. visitCssComment$1(node) {
  104997. return false;
  104998. },
  104999. visitCssDeclaration$1(node) {
  105000. return false;
  105001. },
  105002. visitCssImport$1(node) {
  105003. return false;
  105004. },
  105005. visitCssKeyframeBlock$1(node) {
  105006. var t1 = node.children;
  105007. return t1.every$1(t1, new A.EveryCssVisitor_visitCssKeyframeBlock_closure0(this));
  105008. },
  105009. visitCssMediaRule$1(node) {
  105010. var t1 = node.children;
  105011. return t1.every$1(t1, new A.EveryCssVisitor_visitCssMediaRule_closure0(this));
  105012. },
  105013. visitCssStyleRule$1(node) {
  105014. var t1 = node.children;
  105015. return t1.every$1(t1, new A.EveryCssVisitor_visitCssStyleRule_closure0(this));
  105016. },
  105017. visitCssStylesheet$1(node) {
  105018. return J.every$1$ax(node.get$children(node), new A.EveryCssVisitor_visitCssStylesheet_closure0(this));
  105019. },
  105020. visitCssSupportsRule$1(node) {
  105021. var t1 = node.children;
  105022. return t1.every$1(t1, new A.EveryCssVisitor_visitCssSupportsRule_closure0(this));
  105023. }
  105024. };
  105025. A.EveryCssVisitor_visitCssAtRule_closure0.prototype = {
  105026. call$1(child) {
  105027. return child.accept$1(this.$this);
  105028. },
  105029. $signature: 8
  105030. };
  105031. A.EveryCssVisitor_visitCssKeyframeBlock_closure0.prototype = {
  105032. call$1(child) {
  105033. return child.accept$1(this.$this);
  105034. },
  105035. $signature: 8
  105036. };
  105037. A.EveryCssVisitor_visitCssMediaRule_closure0.prototype = {
  105038. call$1(child) {
  105039. return child.accept$1(this.$this);
  105040. },
  105041. $signature: 8
  105042. };
  105043. A.EveryCssVisitor_visitCssStyleRule_closure0.prototype = {
  105044. call$1(child) {
  105045. return child.accept$1(this.$this);
  105046. },
  105047. $signature: 8
  105048. };
  105049. A.EveryCssVisitor_visitCssStylesheet_closure0.prototype = {
  105050. call$1(child) {
  105051. return child.accept$1(this.$this);
  105052. },
  105053. $signature: 8
  105054. };
  105055. A.EveryCssVisitor_visitCssSupportsRule_closure0.prototype = {
  105056. call$1(child) {
  105057. return child.accept$1(this.$this);
  105058. },
  105059. $signature: 8
  105060. };
  105061. A._NodeException.prototype = {};
  105062. A.exceptionClass_closure.prototype = {
  105063. call$0() {
  105064. 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());
  105065. A.defineGetter(jsClass, "name", null, "sass.Exception");
  105066. 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));
  105067. return jsClass;
  105068. },
  105069. $signature: 15
  105070. };
  105071. A.exceptionClass__closure.prototype = {
  105072. call$1(exception) {
  105073. return J.get$_dartException$x(exception)._span_exception$_message;
  105074. },
  105075. $signature: 242
  105076. };
  105077. A.exceptionClass__closure0.prototype = {
  105078. call$1(exception) {
  105079. return J.get$trace$z(J.get$_dartException$x(exception)).toString$0(0);
  105080. },
  105081. $signature: 242
  105082. };
  105083. A.exceptionClass__closure1.prototype = {
  105084. call$1(exception) {
  105085. var t1 = J.get$_dartException$x(exception),
  105086. t2 = J.getInterceptor$z(t1);
  105087. return A.SourceSpanException.prototype.get$span.call(t2, t1);
  105088. },
  105089. $signature: 464
  105090. };
  105091. A.SassException0.prototype = {
  105092. get$trace(_) {
  105093. return A.Trace$(A._setArrayType([A.frameForSpan0(A.SourceSpanException.prototype.get$span.call(this, 0), "root stylesheet", null)], type$.JSArray_Frame), null);
  105094. },
  105095. get$span(_) {
  105096. return A.SourceSpanException.prototype.get$span.call(this, 0);
  105097. },
  105098. withAdditionalSpan$2(span, label) {
  105099. 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);
  105100. },
  105101. withTrace$1(trace) {
  105102. var t1 = A.SourceSpanException.prototype.get$span.call(this, 0),
  105103. t2 = A.Set_Set$unmodifiable(this.loadedUrls, type$.Uri);
  105104. return new A.SassRuntimeException0(trace, t2, this._span_exception$_message, t1);
  105105. },
  105106. withLoadedUrls$1(loadedUrls) {
  105107. var t1 = A.SourceSpanException.prototype.get$span.call(this, 0),
  105108. t2 = A.Set_Set$unmodifiable(loadedUrls, type$.Uri);
  105109. return new A.SassException0(t2, this._span_exception$_message, t1);
  105110. },
  105111. toString$1$color(_, color) {
  105112. var t2, _i, frame, _this = this,
  105113. buffer = new A.StringBuffer(""),
  105114. t1 = "" + ("Error: " + _this._span_exception$_message + "\n");
  105115. buffer._contents = t1;
  105116. buffer._contents = t1 + A.SourceSpanException.prototype.get$span.call(_this, 0).highlight$1$color(color);
  105117. for (t1 = _this.get$trace(_this).toString$0(0).split("\n"), t2 = t1.length, _i = 0; _i < t2; ++_i) {
  105118. frame = t1[_i];
  105119. if (frame.length === 0)
  105120. continue;
  105121. buffer._contents = (buffer._contents += "\n") + (" " + frame);
  105122. }
  105123. t1 = buffer._contents;
  105124. return t1.charCodeAt(0) == 0 ? t1 : t1;
  105125. },
  105126. toString$0(_) {
  105127. return this.toString$1$color(0, null);
  105128. }
  105129. };
  105130. A.MultiSpanSassException0.prototype = {
  105131. withAdditionalSpan$2(span, label) {
  105132. var _this = this,
  105133. t1 = A.SourceSpanException.prototype.get$span.call(_this, 0),
  105134. t2 = A.LinkedHashMap_LinkedHashMap$of(_this.secondarySpans, type$.FileSpan, type$.String);
  105135. t2.$indexSet(0, span, label);
  105136. return A.MultiSpanSassException$0(_this._span_exception$_message, t1, _this.primaryLabel, t2, _this.loadedUrls);
  105137. },
  105138. withTrace$1(trace) {
  105139. var _this = this;
  105140. return A.MultiSpanSassRuntimeException$0(_this._span_exception$_message, A.SourceSpanException.prototype.get$span.call(_this, 0), _this.primaryLabel, _this.secondarySpans, trace, _this.loadedUrls);
  105141. },
  105142. withLoadedUrls$1(loadedUrls) {
  105143. var _this = this;
  105144. return A.MultiSpanSassException$0(_this._span_exception$_message, A.SourceSpanException.prototype.get$span.call(_this, 0), _this.primaryLabel, _this.secondarySpans, loadedUrls);
  105145. },
  105146. toString$1$color(_, color) {
  105147. var t1, t2, _i, frame, _this = this,
  105148. useColor = color === true,
  105149. buffer = new A.StringBuffer("Error: " + _this._span_exception$_message + "\n");
  105150. 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));
  105151. for (t1 = _this.get$trace(_this).toString$0(0).split("\n"), t2 = t1.length, _i = 0; _i < t2; ++_i) {
  105152. frame = t1[_i];
  105153. if (frame.length === 0)
  105154. continue;
  105155. buffer._contents = (buffer._contents += "\n") + (" " + frame);
  105156. }
  105157. t1 = buffer._contents;
  105158. return t1.charCodeAt(0) == 0 ? t1 : t1;
  105159. },
  105160. toString$0(_) {
  105161. return this.toString$1$color(0, null);
  105162. },
  105163. get$primaryLabel() {
  105164. return this.primaryLabel;
  105165. },
  105166. get$secondarySpans() {
  105167. return this.secondarySpans;
  105168. }
  105169. };
  105170. A.SassRuntimeException0.prototype = {
  105171. withAdditionalSpan$2(span, label) {
  105172. var _this = this;
  105173. 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);
  105174. },
  105175. withLoadedUrls$1(loadedUrls) {
  105176. var t1 = A.SourceSpanException.prototype.get$span.call(this, 0),
  105177. t2 = A.Set_Set$unmodifiable(loadedUrls, type$.Uri);
  105178. return new A.SassRuntimeException0(this.trace, t2, this._span_exception$_message, t1);
  105179. },
  105180. get$trace(receiver) {
  105181. return this.trace;
  105182. }
  105183. };
  105184. A.MultiSpanSassRuntimeException0.prototype = {
  105185. withAdditionalSpan$2(span, label) {
  105186. var _this = this,
  105187. t1 = A.SourceSpanException.prototype.get$span.call(_this, 0),
  105188. t2 = A.LinkedHashMap_LinkedHashMap$of(_this.secondarySpans, type$.FileSpan, type$.String);
  105189. t2.$indexSet(0, span, label);
  105190. return A.MultiSpanSassRuntimeException$0(_this._span_exception$_message, t1, _this.primaryLabel, t2, _this.trace, _this.loadedUrls);
  105191. },
  105192. withLoadedUrls$1(loadedUrls) {
  105193. var _this = this;
  105194. return A.MultiSpanSassRuntimeException$0(_this._span_exception$_message, A.SourceSpanException.prototype.get$span.call(_this, 0), _this.primaryLabel, _this.secondarySpans, _this.trace, loadedUrls);
  105195. },
  105196. $isSassRuntimeException0: 1,
  105197. get$trace(receiver) {
  105198. return this.trace;
  105199. }
  105200. };
  105201. A.SassFormatException0.prototype = {
  105202. get$source() {
  105203. var t1 = A.SourceSpanException.prototype.get$span.call(this, 0);
  105204. return A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t1.get$file(t1)._decodedChars, 0, null), 0, null);
  105205. },
  105206. withAdditionalSpan$2(span, label) {
  105207. 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);
  105208. },
  105209. withLoadedUrls$1(loadedUrls) {
  105210. var t1 = A.SourceSpanException.prototype.get$span.call(this, 0),
  105211. t2 = A.Set_Set$unmodifiable(loadedUrls, type$.Uri);
  105212. return new A.SassFormatException0(t2, this._span_exception$_message, t1);
  105213. },
  105214. $isFormatException: 1,
  105215. $isSourceSpanFormatException: 1
  105216. };
  105217. A.MultiSpanSassFormatException0.prototype = {
  105218. get$source() {
  105219. var t1 = A.SourceSpanException.prototype.get$span.call(this, 0);
  105220. return A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t1.get$file(t1)._decodedChars, 0, null), 0, null);
  105221. },
  105222. withAdditionalSpan$2(span, label) {
  105223. var _this = this,
  105224. t1 = A.SourceSpanException.prototype.get$span.call(_this, 0),
  105225. t2 = A.LinkedHashMap_LinkedHashMap$of(_this.secondarySpans, type$.FileSpan, type$.String);
  105226. t2.$indexSet(0, span, label);
  105227. return A.MultiSpanSassFormatException$0(_this._span_exception$_message, t1, _this.primaryLabel, t2, _this.loadedUrls);
  105228. },
  105229. withLoadedUrls$1(loadedUrls) {
  105230. var _this = this;
  105231. return A.MultiSpanSassFormatException$0(_this._span_exception$_message, A.SourceSpanException.prototype.get$span.call(_this, 0), _this.primaryLabel, _this.secondarySpans, loadedUrls);
  105232. },
  105233. $isFormatException: 1,
  105234. $isSourceSpanFormatException: 1,
  105235. $isMultiSourceSpanFormatException: 1,
  105236. $isSassFormatException0: 1
  105237. };
  105238. A.SassScriptException0.prototype = {
  105239. withSpan$1(span) {
  105240. return new A.SassException0(B.Set_empty, this.message, span);
  105241. },
  105242. toString$0(_) {
  105243. return this.message + string$.x0a_BUG_;
  105244. },
  105245. get$message(receiver) {
  105246. return this.message;
  105247. }
  105248. };
  105249. A.MultiSpanSassScriptException0.prototype = {
  105250. withSpan$1(span) {
  105251. return A.MultiSpanSassException$0(this.message, span, this.primaryLabel, this.secondarySpans, null);
  105252. }
  105253. };
  105254. A.Exports.prototype = {};
  105255. A.LoggerNamespace.prototype = {};
  105256. A.Expression0.prototype = {$isAstNode0: 1, $isSassNode: 1};
  105257. A.JSExpressionVisitor.prototype = {
  105258. visitBinaryOperationExpression$1(_, node) {
  105259. return J.visitBinaryOperationExpression$1$x(this._expression$_inner, node);
  105260. },
  105261. visitBooleanExpression$1(_, node) {
  105262. return J.visitBooleanExpression$1$x(this._expression$_inner, node);
  105263. },
  105264. visitColorExpression$1(_, node) {
  105265. return J.visitColorExpression$1$x(this._expression$_inner, node);
  105266. },
  105267. visitInterpolatedFunctionExpression$1(_, node) {
  105268. return J.visitInterpolatedFunctionExpression$1$x(this._expression$_inner, node);
  105269. },
  105270. visitFunctionExpression$1(_, node) {
  105271. return J.visitFunctionExpression$1$x(this._expression$_inner, node);
  105272. },
  105273. visitIfExpression$1(_, node) {
  105274. return J.visitIfExpression$1$x(this._expression$_inner, node);
  105275. },
  105276. visitListExpression$1(_, node) {
  105277. return J.visitListExpression$1$x(this._expression$_inner, node);
  105278. },
  105279. visitMapExpression$1(_, node) {
  105280. return J.visitMapExpression$1$x(this._expression$_inner, node);
  105281. },
  105282. visitNullExpression$1(_, node) {
  105283. return J.visitNullExpression$1$x(this._expression$_inner, node);
  105284. },
  105285. visitNumberExpression$1(_, node) {
  105286. return J.visitNumberExpression$1$x(this._expression$_inner, node);
  105287. },
  105288. visitParenthesizedExpression$1(_, node) {
  105289. return J.visitParenthesizedExpression$1$x(this._expression$_inner, node);
  105290. },
  105291. visitSelectorExpression$1(_, node) {
  105292. return J.visitSelectorExpression$1$x(this._expression$_inner, node);
  105293. },
  105294. visitStringExpression$1(_, node) {
  105295. return J.visitStringExpression$1$x(this._expression$_inner, node);
  105296. },
  105297. visitSupportsExpression$1(_, node) {
  105298. return J.visitSupportsExpression$1$x(this._expression$_inner, node);
  105299. },
  105300. visitUnaryOperationExpression$1(_, node) {
  105301. return J.visitUnaryOperationExpression$1$x(this._expression$_inner, node);
  105302. },
  105303. visitValueExpression$1(_, node) {
  105304. return J.visitValueExpression$1$x(this._expression$_inner, node);
  105305. },
  105306. visitVariableExpression$1(_, node) {
  105307. return J.visitVariableExpression$1$x(this._expression$_inner, node);
  105308. },
  105309. $isExpressionVisitor: 1
  105310. };
  105311. A.JSExpressionVisitorObject.prototype = {};
  105312. A._MakeExpressionCalculationSafe0.prototype = {
  105313. visitBinaryOperationExpression$1(_, node) {
  105314. var t1, t2, t3, t4;
  105315. if (node.operator === B.BinaryOperator_s7T0) {
  105316. t1 = A._setArrayType([node], type$.JSArray_Expression_2);
  105317. t2 = node.get$span(0);
  105318. t3 = type$.Expression_2;
  105319. t1 = A.List_List$unmodifiable(t1, t3);
  105320. t3 = A.ConstantMap_ConstantMap$from(B.Map_empty14, type$.String, t3);
  105321. t4 = node.get$span(0);
  105322. t1 = new A.FunctionExpression0("math", A.stringReplaceAllUnchecked("max", "_", "-"), "max", new A.ArgumentList0(t1, t3, null, null, t2), t4);
  105323. } else
  105324. t1 = this.super$ReplaceExpressionVisitor$visitBinaryOperationExpression0(0, node);
  105325. return t1;
  105326. },
  105327. visitInterpolatedFunctionExpression$1(_, node) {
  105328. return node;
  105329. },
  105330. visitUnaryOperationExpression$1(_, node) {
  105331. var t1,
  105332. _0_0 = node.operator;
  105333. $label0$0: {
  105334. if (B.UnaryOperator_Rbl0 === _0_0) {
  105335. t1 = node.operand;
  105336. break $label0$0;
  105337. }
  105338. if (B.UnaryOperator_UCP0 === _0_0) {
  105339. t1 = new A.BinaryOperationExpression0(B.BinaryOperator_tht0, new A.NumberExpression0(-1, null, node.span), node.operand, false);
  105340. break $label0$0;
  105341. }
  105342. t1 = this.super$ReplaceExpressionVisitor$visitUnaryOperationExpression0(0, node);
  105343. break $label0$0;
  105344. }
  105345. return t1;
  105346. },
  105347. $isExpressionVisitor: 1
  105348. };
  105349. A.__MakeExpressionCalculationSafe_Object_ReplaceExpressionVisitor0.prototype = {};
  105350. A.ExtendRule0.prototype = {
  105351. accept$1$1(visitor) {
  105352. return visitor.visitExtendRule$1(0, this);
  105353. },
  105354. accept$1(visitor) {
  105355. return this.accept$1$1(visitor, type$.dynamic);
  105356. },
  105357. toString$0(_) {
  105358. var t1 = this.selector.toString$0(0),
  105359. t2 = this.isOptional ? " !optional" : "";
  105360. return "@extend " + t1 + t2 + ";";
  105361. },
  105362. get$span(receiver) {
  105363. return this.span;
  105364. }
  105365. };
  105366. A.Extension0.prototype = {
  105367. toString$0(_) {
  105368. var t1 = this.extender.toString$0(0),
  105369. t2 = this.target.toString$0(0),
  105370. t3 = this.isOptional ? " !optional" : "";
  105371. return t1 + " {@extend " + t2 + t3 + "}";
  105372. }
  105373. };
  105374. A.Extender0.prototype = {
  105375. assertCompatibleMediaContext$1(mediaContext) {
  105376. var expectedMediaContext,
  105377. extension = this._extension$_extension;
  105378. if (extension == null)
  105379. return;
  105380. expectedMediaContext = extension.mediaContext;
  105381. if (expectedMediaContext == null)
  105382. return;
  105383. if (mediaContext != null && B.C_ListEquality.equals$2(0, expectedMediaContext, mediaContext))
  105384. return;
  105385. throw A.wrapException(A.SassException$0(string$.You_ma, extension.span, null));
  105386. },
  105387. toString$0(_) {
  105388. return A.serializeSelector0(this.selector, true);
  105389. }
  105390. };
  105391. A.ExtensionStore0.prototype = {
  105392. get$isEmpty(_) {
  105393. return this._extension_store$_extensions.__js_helper$_length === 0;
  105394. },
  105395. get$simpleSelectors() {
  105396. return new A.MapKeySet(this._extension_store$_selectors, type$.MapKeySet_SimpleSelector_2);
  105397. },
  105398. extensionsWhereTarget$1(callback) {
  105399. return new A._SyncStarIterable(this.extensionsWhereTarget$body$ExtensionStore0(callback), type$._SyncStarIterable_Extension_2);
  105400. },
  105401. extensionsWhereTarget$body$ExtensionStore0($async$callback) {
  105402. var $async$self = this;
  105403. return function() {
  105404. var callback = $async$callback;
  105405. var $async$goto = 0, $async$handler = 1, $async$errorStack = [], t1, t2, simple, sources, t3;
  105406. return function $async$extensionsWhereTarget$1($async$iterator, $async$errorCode, $async$result) {
  105407. if ($async$errorCode === 1) {
  105408. $async$errorStack.push($async$result);
  105409. $async$goto = $async$handler;
  105410. }
  105411. while (true)
  105412. switch ($async$goto) {
  105413. case 0:
  105414. // Function start
  105415. t1 = A.MapExtensions_get_pairs0($async$self._extension_store$_extensions, type$.SimpleSelector_2, type$.Map_ComplexSelector_Extension_2), t1 = t1.get$iterator(t1);
  105416. case 2:
  105417. // for condition
  105418. if (!t1.moveNext$0()) {
  105419. // goto after for
  105420. $async$goto = 3;
  105421. break;
  105422. }
  105423. t2 = t1.get$current(t1);
  105424. simple = t2._0;
  105425. sources = t2._1;
  105426. if (!callback.call$1(simple)) {
  105427. // goto for condition
  105428. $async$goto = 2;
  105429. break;
  105430. }
  105431. t2 = sources.get$values(sources), t2 = t2.get$iterator(t2);
  105432. case 4:
  105433. // for condition
  105434. if (!t2.moveNext$0()) {
  105435. // goto after for
  105436. $async$goto = 5;
  105437. break;
  105438. }
  105439. t3 = t2.get$current(t2);
  105440. $async$goto = t3 instanceof A.MergedExtension0 ? 6 : 8;
  105441. break;
  105442. case 6:
  105443. // then
  105444. t3 = t3.unmerge$0();
  105445. $async$goto = 9;
  105446. return $async$iterator._yieldStar$1(new A.WhereIterable(t3, new A.ExtensionStore_extensionsWhereTarget_closure0(), t3.$ti._eval$1("WhereIterable<Iterable.E>")));
  105447. case 9:
  105448. // after yield
  105449. // goto join
  105450. $async$goto = 7;
  105451. break;
  105452. case 8:
  105453. // else
  105454. $async$goto = !t3.isOptional ? 10 : 11;
  105455. break;
  105456. case 10:
  105457. // then
  105458. $async$goto = 12;
  105459. return $async$iterator._async$_current = t3, 1;
  105460. case 12:
  105461. // after yield
  105462. case 11:
  105463. // join
  105464. case 7:
  105465. // join
  105466. // goto for condition
  105467. $async$goto = 4;
  105468. break;
  105469. case 5:
  105470. // after for
  105471. // goto for condition
  105472. $async$goto = 2;
  105473. break;
  105474. case 3:
  105475. // after for
  105476. // implicit return
  105477. return 0;
  105478. case 1:
  105479. // rethrow
  105480. return $async$iterator._datum = $async$errorStack.at(-1), 3;
  105481. }
  105482. };
  105483. };
  105484. },
  105485. addSelector$2(selector, mediaContext) {
  105486. var originalSelector, error, stackTrace, t1, exception, t2, t3, t4, modifiableSelector, _this = this;
  105487. selector = selector;
  105488. originalSelector = selector;
  105489. if (!originalSelector.accept$1(B._IsInvisibleVisitor_true0))
  105490. _this._extension_store$_originals.addAll$1(0, originalSelector.components);
  105491. t1 = _this._extension_store$_extensions;
  105492. if (t1.__js_helper$_length !== 0)
  105493. try {
  105494. selector = _this._extension_store$_extendList$3(originalSelector, t1, mediaContext);
  105495. } catch (exception) {
  105496. t1 = A.unwrapException(exception);
  105497. if (t1 instanceof A.SassException0) {
  105498. error = t1;
  105499. stackTrace = A.getTraceFromException(exception);
  105500. t1 = error;
  105501. t2 = J.getInterceptor$z(t1);
  105502. t1 = A.SourceSpanException.prototype.get$span.call(t2, t1).message$1(0, "");
  105503. t2 = error._span_exception$_message;
  105504. t3 = error;
  105505. t4 = J.getInterceptor$z(t3);
  105506. t3 = A.SourceSpanException.prototype.get$span.call(t4, t3);
  105507. A.throwWithTrace0(new A.SassException0(B.Set_empty, "From " + t1 + "\n" + t2, t3), error, stackTrace);
  105508. } else
  105509. throw exception;
  105510. }
  105511. modifiableSelector = new A.ModifiableBox0(selector, type$.ModifiableBox_SelectorList_2);
  105512. if (mediaContext != null)
  105513. _this._extension_store$_mediaContexts.$indexSet(0, modifiableSelector, mediaContext);
  105514. _this._extension_store$_registerSelector$2(selector, modifiableSelector);
  105515. return new A.Box0(modifiableSelector, type$.Box_SelectorList_2);
  105516. },
  105517. _extension_store$_registerSelector$2(list, selector) {
  105518. var t1, t2, t3, t4, _i, t5, t6, _i0, t7, t8, _i1, simple, _0_2_isSet, _0_2, t9, selectorInPseudo;
  105519. for (t1 = list.components, t2 = t1.length, t3 = this._extension_store$_selectors, t4 = type$.SelectorList_2, _i = 0; _i < t2; ++_i)
  105520. for (t5 = t1[_i].components, t6 = t5.length, _i0 = 0; _i0 < t6; ++_i0)
  105521. for (t7 = t5[_i0].selector.components, t8 = t7.length, _i1 = 0; _i1 < t8; ++_i1) {
  105522. simple = t7[_i1];
  105523. t3.putIfAbsent$2(simple, new A.ExtensionStore__registerSelector_closure0()).add$1(0, selector);
  105524. _0_2_isSet = simple instanceof A.PseudoSelector0;
  105525. _0_2 = null;
  105526. if (_0_2_isSet) {
  105527. _0_2 = simple.selector;
  105528. t9 = _0_2;
  105529. t9 = t9 != null;
  105530. } else
  105531. t9 = false;
  105532. if (t9) {
  105533. selectorInPseudo = _0_2_isSet ? _0_2 : simple.selector;
  105534. this._extension_store$_registerSelector$2(selectorInPseudo == null ? t4._as(selectorInPseudo) : selectorInPseudo, selector);
  105535. }
  105536. }
  105537. },
  105538. addExtension$4(extender, target, extend, mediaContext) {
  105539. var t2, t3, t4, t5, t6, t7, t8, t9, t10, newExtensions, _i, complex, t11, extension, _0_0, t12, newExtensionsByTarget, additionalExtensions, _this = this,
  105540. selectors = _this._extension_store$_selectors.$index(0, target),
  105541. t1 = _this._extension_store$_extensionsByExtender,
  105542. existingExtensions = t1.$index(0, target),
  105543. sources = _this._extension_store$_extensions.putIfAbsent$2(target, new A.ExtensionStore_addExtension_closure2());
  105544. 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) {
  105545. complex = t2[_i];
  105546. if (complex.accept$1(B.C__IsUselessVisitor0))
  105547. continue;
  105548. complex.get$specificity();
  105549. t11 = new A.Extender0(complex, false);
  105550. extension = t11._extension$_extension = new A.Extension0(t11, target, mediaContext, t7, t6);
  105551. _0_0 = sources.$index(0, complex);
  105552. if (_0_0 != null) {
  105553. sources.$indexSet(0, complex, A.MergedExtension_merge0(_0_0, extension));
  105554. continue;
  105555. }
  105556. sources.$indexSet(0, complex, extension);
  105557. for (t11 = new A._SyncStarIterator(_this._extension_store$_simpleSelectors$1(complex)._outerHelper()); t11.moveNext$0();) {
  105558. t12 = t11._async$_current;
  105559. J.add$1$ax(t1.putIfAbsent$2(t12, new A.ExtensionStore_addExtension_closure3()), extension);
  105560. t5.putIfAbsent$2(t12, new A.ExtensionStore_addExtension_closure4(complex));
  105561. }
  105562. if (!t4 || t8) {
  105563. if (newExtensions == null)
  105564. newExtensions = A.LinkedHashMap_LinkedHashMap$_empty(t9, t10);
  105565. newExtensions.$indexSet(0, complex, extension);
  105566. }
  105567. }
  105568. if (newExtensions == null)
  105569. return;
  105570. t1 = type$.SimpleSelector_2;
  105571. newExtensionsByTarget = A.LinkedHashMap_LinkedHashMap$_literal([target, newExtensions], t1, type$.Map_ComplexSelector_Extension_2);
  105572. if (t8) {
  105573. additionalExtensions = _this._extension_store$_extendExistingExtensions$2(existingExtensions, newExtensionsByTarget);
  105574. if (additionalExtensions != null)
  105575. A.mapAddAll20(newExtensionsByTarget, additionalExtensions, t1, t9, t10);
  105576. }
  105577. if (!t4)
  105578. _this._extension_store$_extendExistingSelectors$2(selectors, newExtensionsByTarget);
  105579. },
  105580. _extension_store$_simpleSelectors$1(complex) {
  105581. return new A._SyncStarIterable(this._simpleSelectors$body$ExtensionStore0(complex), type$._SyncStarIterable_SimpleSelector_2);
  105582. },
  105583. _simpleSelectors$body$ExtensionStore0($async$complex) {
  105584. var $async$self = this;
  105585. return function() {
  105586. var complex = $async$complex;
  105587. 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;
  105588. return function $async$_extension_store$_simpleSelectors$1($async$iterator, $async$errorCode, $async$result) {
  105589. if ($async$errorCode === 1) {
  105590. $async$errorStack.push($async$result);
  105591. $async$goto = $async$handler;
  105592. }
  105593. while (true)
  105594. switch ($async$goto) {
  105595. case 0:
  105596. // Function start
  105597. t1 = complex.components, t2 = t1.length, t3 = type$.SelectorList_2, _i = 0;
  105598. case 2:
  105599. // for condition
  105600. if (!(_i < t2)) {
  105601. // goto after for
  105602. $async$goto = 4;
  105603. break;
  105604. }
  105605. t4 = t1[_i].selector.components, t5 = t4.length, _i0 = 0;
  105606. case 5:
  105607. // for condition
  105608. if (!(_i0 < t5)) {
  105609. // goto after for
  105610. $async$goto = 7;
  105611. break;
  105612. }
  105613. simple = t4[_i0];
  105614. $async$goto = 8;
  105615. return $async$iterator._async$_current = simple, 1;
  105616. case 8:
  105617. // after yield
  105618. _0_2_isSet = simple instanceof A.PseudoSelector0;
  105619. _0_2 = null;
  105620. if (_0_2_isSet) {
  105621. _0_2 = simple.selector;
  105622. t6 = _0_2;
  105623. t6 = t6 != null;
  105624. } else
  105625. t6 = false;
  105626. $async$goto = t6 ? 9 : 10;
  105627. break;
  105628. case 9:
  105629. // then
  105630. selector = _0_2_isSet ? _0_2 : simple.selector;
  105631. t6 = (selector == null ? t3._as(selector) : selector).components, t7 = t6.length, _i1 = 0;
  105632. case 11:
  105633. // for condition
  105634. if (!(_i1 < t7)) {
  105635. // goto after for
  105636. $async$goto = 13;
  105637. break;
  105638. }
  105639. $async$goto = 14;
  105640. return $async$iterator._yieldStar$1($async$self._extension_store$_simpleSelectors$1(t6[_i1]));
  105641. case 14:
  105642. // after yield
  105643. case 12:
  105644. // for update
  105645. ++_i1;
  105646. // goto for condition
  105647. $async$goto = 11;
  105648. break;
  105649. case 13:
  105650. // after for
  105651. case 10:
  105652. // join
  105653. case 6:
  105654. // for update
  105655. ++_i0;
  105656. // goto for condition
  105657. $async$goto = 5;
  105658. break;
  105659. case 7:
  105660. // after for
  105661. case 3:
  105662. // for update
  105663. ++_i;
  105664. // goto for condition
  105665. $async$goto = 2;
  105666. break;
  105667. case 4:
  105668. // after for
  105669. // implicit return
  105670. return 0;
  105671. case 1:
  105672. // rethrow
  105673. return $async$iterator._datum = $async$errorStack.at(-1), 3;
  105674. }
  105675. };
  105676. };
  105677. },
  105678. _extension_store$_extendExistingExtensions$2(extensions, newExtensions) {
  105679. 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;
  105680. 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) {
  105681. extension = t1[_i];
  105682. t7 = t6.$index(0, extension.target);
  105683. t7.toString;
  105684. selectors = null;
  105685. try {
  105686. selectors = this._extension_store$_extendComplex$3(extension.extender.selector, newExtensions, extension.mediaContext);
  105687. if (selectors == null)
  105688. continue;
  105689. } catch (exception) {
  105690. t8 = A.unwrapException(exception);
  105691. if (t8 instanceof A.SassException0) {
  105692. error = t8;
  105693. stackTrace = A.getTraceFromException(exception);
  105694. A.throwWithTrace0(error.withAdditionalSpan$2(extension.extender.selector.span, "target selector"), error, stackTrace);
  105695. } else
  105696. throw exception;
  105697. }
  105698. t8 = J.get$first$ax(selectors);
  105699. t9 = extension.extender.selector;
  105700. if (B.C_ListEquality.equals$2(0, t8.leadingCombinators, t9.leadingCombinators) && B.C_ListEquality.equals$2(0, t8.components, t9.components)) {
  105701. t8 = selectors;
  105702. t9 = A._arrayInstanceType(t8);
  105703. selectors0 = new A.SubListIterable(t8, 1, null, t9._eval$1("SubListIterable<1>"));
  105704. selectors0.SubListIterable$3(t8, 1, null, t9._precomputed1);
  105705. selectors = selectors0;
  105706. }
  105707. for (t8 = J.get$iterator$ax(selectors); t8.moveNext$0();) {
  105708. t9 = t8.get$current(t8);
  105709. t10 = extension;
  105710. t11 = t10.target;
  105711. t12 = t10.span;
  105712. t13 = t10.mediaContext;
  105713. t10 = t10.isOptional;
  105714. t9.get$specificity();
  105715. t14 = new A.Extender0(t9, false);
  105716. withExtender = t14._extension$_extension = new A.Extension0(t14, t11, t13, t10, t12);
  105717. _0_0 = t7.$index(0, t9);
  105718. if (_0_0 != null)
  105719. t7.$indexSet(0, t9, A.MergedExtension_merge0(_0_0, withExtender));
  105720. else {
  105721. t7.$indexSet(0, t9, withExtender);
  105722. for (t10 = t9.components, t11 = t10.length, _i0 = 0; _i0 < t11; ++_i0)
  105723. for (t12 = t10[_i0].selector.components, t13 = t12.length, _i1 = 0; _i1 < t13; ++_i1)
  105724. J.add$1$ax(t3.putIfAbsent$2(t12[_i1], new A.ExtensionStore__extendExistingExtensions_closure1()), withExtender);
  105725. if (newExtensions.containsKey$1(extension.target)) {
  105726. if (additionalExtensions == null)
  105727. additionalExtensions = A.LinkedHashMap_LinkedHashMap$_empty(t4, t5);
  105728. additionalExtensions.putIfAbsent$2(extension.target, new A.ExtensionStore__extendExistingExtensions_closure2()).$indexSet(0, t9, withExtender);
  105729. }
  105730. }
  105731. }
  105732. }
  105733. return additionalExtensions;
  105734. },
  105735. _extension_store$_extendExistingSelectors$2(selectors, newExtensions) {
  105736. var selector, error, stackTrace, t1, t2, oldValue, exception, t3, t4, t5, t6;
  105737. for (t1 = selectors.get$iterator(selectors), t2 = this._extension_store$_mediaContexts; t1.moveNext$0();) {
  105738. selector = t1.get$current(t1);
  105739. oldValue = selector.value;
  105740. try {
  105741. selector.value = this._extension_store$_extendList$3(selector.value, newExtensions, t2.$index(0, selector));
  105742. } catch (exception) {
  105743. t3 = A.unwrapException(exception);
  105744. if (t3 instanceof A.SassException0) {
  105745. error = t3;
  105746. stackTrace = A.getTraceFromException(exception);
  105747. t3 = selector.value.span.message$1(0, "");
  105748. t4 = error._span_exception$_message;
  105749. t5 = error;
  105750. t6 = J.getInterceptor$z(t5);
  105751. t5 = A.SourceSpanException.prototype.get$span.call(t6, t5);
  105752. A.throwWithTrace0(new A.SassException0(B.Set_empty, "From " + t3 + "\n" + t4, t5), error, stackTrace);
  105753. } else
  105754. throw exception;
  105755. }
  105756. if (oldValue === selector.value)
  105757. continue;
  105758. this._extension_store$_registerSelector$2(selector.value, selector);
  105759. }
  105760. },
  105761. addExtensions$1(extensionStores) {
  105762. 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;
  105763. 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();) {
  105764. t12 = t1.get$current(t1);
  105765. if (t12.get$isEmpty(t12))
  105766. continue;
  105767. t11.addAll$1(0, t12.get$_extension_store$_sourceSpecificity());
  105768. for (t12 = A.MapExtensions_get_pairs0(t12.get$_extension_store$_extensions(), t2, t3), t12 = t12.get$iterator(t12); t12.moveNext$0();) {
  105769. t13 = t12.get$current(t12);
  105770. target = t13._0;
  105771. newSources = t13._1;
  105772. if (target instanceof A.PlaceholderSelector0) {
  105773. first = target.name.charCodeAt(0);
  105774. t13 = first === 45 || first === 95;
  105775. } else
  105776. t13 = false;
  105777. if (t13)
  105778. continue;
  105779. extensionsForTarget = t8.$index(0, target);
  105780. t13 = extensionsForTarget == null;
  105781. if (!t13) {
  105782. if (extensionsToExtend == null) {
  105783. extensionsToExtend = A._setArrayType([], t9);
  105784. t14 = extensionsToExtend;
  105785. } else
  105786. t14 = extensionsToExtend;
  105787. B.JSArray_methods.addAll$1(t14, extensionsForTarget);
  105788. }
  105789. selectorsForTarget = t7.$index(0, target);
  105790. t14 = selectorsForTarget != null;
  105791. if (t14) {
  105792. if (selectorsToExtend == null) {
  105793. selectorsToExtend = A.LinkedHashSet_LinkedHashSet$_empty(t10);
  105794. t15 = selectorsToExtend;
  105795. } else
  105796. t15 = selectorsToExtend;
  105797. t15.addAll$1(0, selectorsForTarget);
  105798. }
  105799. _2_0 = t4.$index(0, target);
  105800. if (_2_0 != null)
  105801. for (t15 = A.MapExtensions_get_pairs0(newSources, t5, t6), t15 = t15.get$iterator(t15); t15.moveNext$0();) {
  105802. t16 = t15.get$current(t15);
  105803. extender = t16._0;
  105804. extension = t16._1;
  105805. if (_2_0.containsKey$1(extender)) {
  105806. t16 = _2_0.$index(0, extender);
  105807. extension = A.MergedExtension_merge0(t16 == null ? t6._as(t16) : t16, extension);
  105808. _2_0.$indexSet(0, extender, extension);
  105809. } else
  105810. _2_0.$indexSet(0, extender, extension);
  105811. if (!t13 || t14) {
  105812. if (newExtensions == null) {
  105813. newExtensions = A.LinkedHashMap_LinkedHashMap$_empty(t2, t3);
  105814. t16 = newExtensions;
  105815. } else
  105816. t16 = newExtensions;
  105817. t16.putIfAbsent$2(target, new A.ExtensionStore_addExtensions_closure0()).$indexSet(0, extender, extension);
  105818. }
  105819. }
  105820. else {
  105821. t15 = A.LinkedHashMap_LinkedHashMap(_null, _null, _null, t5, t6);
  105822. t15.addAll$1(0, newSources);
  105823. t4.$indexSet(0, target, t15);
  105824. if (!t13 || t14) {
  105825. if (newExtensions == null) {
  105826. newExtensions = A.LinkedHashMap_LinkedHashMap$_empty(t2, t3);
  105827. t13 = newExtensions;
  105828. } else
  105829. t13 = newExtensions;
  105830. t14 = A.LinkedHashMap_LinkedHashMap(_null, _null, _null, t5, t6);
  105831. t14.addAll$1(0, newSources);
  105832. t13.$indexSet(0, target, t14);
  105833. }
  105834. }
  105835. }
  105836. }
  105837. if (newExtensions != null) {
  105838. if (extensionsToExtend != null)
  105839. _this._extension_store$_extendExistingExtensions$2(extensionsToExtend, newExtensions);
  105840. if (selectorsToExtend != null)
  105841. _this._extension_store$_extendExistingSelectors$2(selectorsToExtend, newExtensions);
  105842. }
  105843. },
  105844. _extension_store$_extendList$3(list, extensions, mediaQueryContext) {
  105845. var t1, t2, t3, extended, i, complex, result, t4;
  105846. for (t1 = list.components, t2 = t1.length, t3 = type$.JSArray_ComplexSelector_2, extended = null, i = 0; i < t2; ++i) {
  105847. complex = t1[i];
  105848. result = this._extension_store$_extendComplex$3(complex, extensions, mediaQueryContext);
  105849. if (result == null) {
  105850. if (extended != null)
  105851. extended.push(complex);
  105852. } else {
  105853. if (extended == null)
  105854. if (i === 0)
  105855. extended = A._setArrayType([], t3);
  105856. else {
  105857. t4 = B.JSArray_methods.sublist$2(t1, 0, i);
  105858. extended = A._setArrayType(t4.slice(0), A._arrayInstanceType(t4));
  105859. }
  105860. B.JSArray_methods.addAll$1(extended, result);
  105861. }
  105862. }
  105863. if (extended == null)
  105864. return list;
  105865. t1 = this._extension_store$_originals;
  105866. return A.SelectorList$0(this._extension_store$_trim$2(extended, t1.get$contains(t1)), list.span);
  105867. },
  105868. _extension_store$_extendList$2(list, extensions) {
  105869. return this._extension_store$_extendList$3(list, extensions, null);
  105870. },
  105871. _extension_store$_extendComplex$3(complex, extensions, mediaQueryContext) {
  105872. var isOriginal, t3, t4, t5, t6, t7, t8, t9, t10, extendedNotExpanded, i, component, extended, t11, t12, t13, t14, _box_0 = {},
  105873. t1 = complex.leadingCombinators,
  105874. t2 = t1.length;
  105875. if (t2 > 1)
  105876. return null;
  105877. isOriginal = this._extension_store$_originals.contains$1(0, complex);
  105878. 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) {
  105879. component = t3[i];
  105880. extended = this._extension_store$_extendCompound$4$inOriginal(component, extensions, mediaQueryContext, isOriginal);
  105881. if (extended == null) {
  105882. if (extendedNotExpanded != null)
  105883. extendedNotExpanded.push(A._setArrayType([A.ComplexSelector$0(B.List_empty16, A._setArrayType([component], t10), t8, t6)], t9));
  105884. } else if (extendedNotExpanded != null)
  105885. extendedNotExpanded.push(extended);
  105886. else if (i !== 0) {
  105887. t11 = A._arrayInstanceType(t3);
  105888. t12 = new A.SubListIterable(t3, 0, i, t11._eval$1("SubListIterable<1>"));
  105889. t12.SubListIterable$3(t3, 0, i, t11._precomputed1);
  105890. extendedNotExpanded = A._setArrayType([A._setArrayType([A.ComplexSelector$0(t1, t12, t8, t6)], t9), extended], t5);
  105891. } else if (t2)
  105892. extendedNotExpanded = A._setArrayType([extended], t5);
  105893. else {
  105894. t11 = A._setArrayType([], t9);
  105895. for (t12 = J.get$iterator$ax(extended); t12.moveNext$0();) {
  105896. t13 = t12.get$current(t12);
  105897. t14 = t13.leadingCombinators;
  105898. if (t14.length === 0 || B.C_ListEquality.equals$2(0, t1, t14)) {
  105899. t14 = t13.components;
  105900. t11.push(A.ComplexSelector$0(t1, t14, t8, !t7 || t13.lineBreak));
  105901. }
  105902. }
  105903. extendedNotExpanded = A._setArrayType([t11], t5);
  105904. }
  105905. }
  105906. if (extendedNotExpanded == null)
  105907. return null;
  105908. _box_0.first = true;
  105909. t1 = type$.ComplexSelector_2;
  105910. t1 = J.expand$1$1$ax(A.paths0(extendedNotExpanded, t1), new A.ExtensionStore__extendComplex_closure0(_box_0, this, complex), t1);
  105911. t1 = A.List_List$_of(t1, t1.$ti._eval$1("Iterable.E"));
  105912. return t1;
  105913. },
  105914. _extension_store$_extendCompound$4$inOriginal(component, extensions, mediaQueryContext, inOriginal) {
  105915. 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,
  105916. t1 = _this._extension_store$_mode,
  105917. targetsUsed = t1 === B.ExtendMode_normal_normal0 || extensions.__js_helper$_length < 2 ? _null : A.LinkedHashSet_LinkedHashSet$_empty(type$.SimpleSelector_2),
  105918. t2 = component.selector,
  105919. simples = t2.components;
  105920. 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) {
  105921. simple = simples[i];
  105922. extended = _this._extension_store$_extendSimple$4(simple, extensions, mediaQueryContext, targetsUsed);
  105923. if (extended == null) {
  105924. if (options != null)
  105925. options.push(A._setArrayType([_this._extension_store$_extenderForSimple$1(simple)], t5));
  105926. } else {
  105927. if (options == null) {
  105928. options = A._setArrayType([], t4);
  105929. if (i !== 0) {
  105930. t12 = new A.SubListIterable(simples, 0, i, t8);
  105931. t12.SubListIterable$3(simples, 0, i, t9);
  105932. result = A.List_List$from(t12, false, t11);
  105933. result.$flags = 3;
  105934. t12 = result;
  105935. compound = new A.CompoundSelector0(t12, t10);
  105936. if (t12.length === 0)
  105937. A.throwExpression(A.ArgumentError$("components may not be empty.", _null));
  105938. result = A.List_List$from(B.List_empty16, false, t6);
  105939. result.$flags = 3;
  105940. t12 = A.ComplexSelector$0(B.List_empty16, A._setArrayType([new A.ComplexSelectorComponent0(compound, result, t10)], t7), t10, false);
  105941. _this._extension_store$_sourceSpecificityFor$1(compound);
  105942. options.push(A._setArrayType([new A.Extender0(t12, true)], t5));
  105943. }
  105944. }
  105945. B.JSArray_methods.addAll$1(options, extended);
  105946. }
  105947. }
  105948. if (options == null)
  105949. return _null;
  105950. if (targetsUsed != null && targetsUsed._collection$_length !== extensions.__js_helper$_length)
  105951. return _null;
  105952. if (options.length === 1) {
  105953. for (t1 = J.get$iterator$ax(options[0]), t2 = component.combinators, t3 = type$.JSArray_ComplexSelector_2, result = _null; t1.moveNext$0();) {
  105954. t4 = t1.get$current(t1);
  105955. t4.assertCompatibleMediaContext$1(mediaQueryContext);
  105956. complex = t4.selector.withAdditionalCombinators$1(t2);
  105957. if (complex.accept$1(B.C__IsUselessVisitor0))
  105958. continue;
  105959. if (result == null)
  105960. result = A._setArrayType([], t3);
  105961. result.push(complex);
  105962. }
  105963. return result;
  105964. }
  105965. extenderPaths = A.paths0(options, type$.Extender_2);
  105966. t3 = A._setArrayType([], type$.JSArray_ComplexSelector_2);
  105967. t1 = t1 === B.ExtendMode_replace_replace0;
  105968. t4 = !t1;
  105969. if (t4)
  105970. 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));
  105971. t2 = J.skip$1$ax(extenderPaths, t1 ? 0 : 1);
  105972. t5 = t2.$ti;
  105973. t2 = new A.ListIterator(t2, t2.get$length(0), t5._eval$1("ListIterator<ListIterable.E>"));
  105974. t6 = component.combinators;
  105975. t5 = t5._eval$1("ListIterable.E");
  105976. for (; t2.moveNext$0();) {
  105977. t1 = t2.__internal$_current;
  105978. extended = _this._extension_store$_unifyExtenders$3(t1 == null ? t5._as(t1) : t1, mediaQueryContext, t10);
  105979. if (extended == null)
  105980. continue;
  105981. for (t1 = J.get$iterator$ax(extended); t1.moveNext$0();) {
  105982. withCombinators = t1.get$current(t1).withAdditionalCombinators$1(t6);
  105983. if (!withCombinators.accept$1(B.C__IsUselessVisitor0))
  105984. t3.push(withCombinators);
  105985. }
  105986. }
  105987. isOriginal = new A.ExtensionStore__extendCompound_closure3();
  105988. return _this._extension_store$_trim$2(t3, inOriginal && t4 ? new A.ExtensionStore__extendCompound_closure4(B.JSArray_methods.get$first(t3)) : isOriginal);
  105989. },
  105990. _extension_store$_unifyExtenders$3(extenders, mediaQueryContext, span) {
  105991. var t1, t2, t3, originals, originalsLineBreak, t4, complexes, _null = null,
  105992. toUnify = A.QueueList$(_null, type$.ComplexSelector_2);
  105993. for (t1 = J.getInterceptor$ax(extenders), t2 = t1.get$iterator(extenders), t3 = type$.JSArray_SimpleSelector_2, originals = _null, originalsLineBreak = false; t2.moveNext$0();) {
  105994. t4 = t2.get$current(t2);
  105995. if (t4.isOriginal) {
  105996. if (originals == null)
  105997. originals = A._setArrayType([], t3);
  105998. t4 = t4.selector;
  105999. B.JSArray_methods.addAll$1(originals, B.JSArray_methods.get$last(t4.components).selector.components);
  106000. originalsLineBreak = originalsLineBreak || t4.lineBreak;
  106001. } else {
  106002. t4 = t4.selector;
  106003. if (t4.accept$1(B.C__IsUselessVisitor0))
  106004. return _null;
  106005. else
  106006. toUnify._queue_list$_add$1(t4);
  106007. }
  106008. }
  106009. if (originals != null)
  106010. 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));
  106011. complexes = A.unifyComplex0(toUnify, span);
  106012. if (complexes == null)
  106013. return _null;
  106014. for (t1 = t1.get$iterator(extenders); t1.moveNext$0();)
  106015. t1.get$current(t1).assertCompatibleMediaContext$1(mediaQueryContext);
  106016. return complexes;
  106017. },
  106018. _extension_store$_extendSimple$4(simple, extensions, mediaQueryContext, targetsUsed) {
  106019. var t2, _1_0,
  106020. t1 = new A.ExtensionStore__extendSimple_withoutPseudo0(this, extensions, targetsUsed);
  106021. if (simple instanceof A.PseudoSelector0)
  106022. t2 = simple.selector != null;
  106023. else
  106024. t2 = false;
  106025. if (t2) {
  106026. _1_0 = this._extension_store$_extendPseudo$3(simple, extensions, mediaQueryContext);
  106027. if (_1_0 != null)
  106028. return new A.MappedListIterable(_1_0, new A.ExtensionStore__extendSimple_closure1(this, t1), A._arrayInstanceType(_1_0)._eval$1("MappedListIterable<1,List<Extender0>>"));
  106029. }
  106030. return A.NullableExtension_andThen0(t1.call$1(simple), new A.ExtensionStore__extendSimple_closure2());
  106031. },
  106032. _extension_store$_extenderForSimple$1(simple) {
  106033. var t1 = simple.span;
  106034. 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);
  106035. this._extension_store$_sourceSpecificity.$index(0, simple);
  106036. return new A.Extender0(t1, true);
  106037. },
  106038. _extension_store$_extendPseudo$3(pseudo, extensions, mediaQueryContext) {
  106039. var extended, complexes, t1, result,
  106040. selector = pseudo.selector;
  106041. if (selector == null)
  106042. throw A.wrapException(A.ArgumentError$("Selector " + pseudo.toString$0(0) + " must have a selector argument.", null));
  106043. extended = this._extension_store$_extendList$3(selector, extensions, mediaQueryContext);
  106044. if (extended === selector)
  106045. return null;
  106046. complexes = extended.components;
  106047. t1 = pseudo.normalizedName === "not";
  106048. 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()))
  106049. complexes = new A.WhereIterable(complexes, new A.ExtensionStore__extendPseudo_closure6(), A._arrayInstanceType(complexes)._eval$1("WhereIterable<1>"));
  106050. complexes = J.expand$1$1$ax(complexes, new A.ExtensionStore__extendPseudo_closure7(pseudo), type$.ComplexSelector_2);
  106051. if (t1 && selector.components.length === 1) {
  106052. t1 = A.MappedIterable_MappedIterable(complexes, new A.ExtensionStore__extendPseudo_closure8(pseudo, selector), complexes.$ti._eval$1("Iterable.E"), type$.PseudoSelector_2);
  106053. result = A.List_List$_of(t1, A._instanceType(t1)._eval$1("Iterable.E"));
  106054. return result.length === 0 ? null : result;
  106055. } else
  106056. return A._setArrayType([pseudo.withSelector$1(A.SelectorList$0(complexes, selector.span))], type$.JSArray_PseudoSelector_2);
  106057. },
  106058. _extension_store$_trim$2(selectors, isOriginal) {
  106059. var result, i, t1, t2, numOriginals, _box_0, complex1, j, t3, t4, _i, t5, maxSpecificity;
  106060. if (selectors.length > 100)
  106061. return selectors;
  106062. result = A.QueueList$(null, type$.ComplexSelector_2);
  106063. $label0$0:
  106064. for (i = selectors.length - 1, t1 = A._arrayInstanceType(selectors), t2 = t1._precomputed1, t1 = t1._eval$1("SubListIterable<1>"), numOriginals = 0; i >= 0; --i) {
  106065. _box_0 = {};
  106066. complex1 = selectors[i];
  106067. if (isOriginal.call$1(complex1)) {
  106068. for (j = 0; j < numOriginals; ++j)
  106069. if (result.$index(0, j).$eq(0, complex1)) {
  106070. A.rotateSlice0(result, 0, j + 1);
  106071. continue $label0$0;
  106072. }
  106073. ++numOriginals;
  106074. result.addFirst$1(complex1);
  106075. continue $label0$0;
  106076. }
  106077. _box_0.maxSpecificity = 0;
  106078. for (t3 = complex1.components, t4 = t3.length, _i = 0, t5 = 0; _i < t4; ++_i, t5 = maxSpecificity) {
  106079. maxSpecificity = Math.max(t5, this._extension_store$_sourceSpecificityFor$1(t3[_i].selector));
  106080. _box_0.maxSpecificity = maxSpecificity;
  106081. }
  106082. if (result.any$1(result, new A.ExtensionStore__trim_closure1(_box_0, complex1)))
  106083. continue $label0$0;
  106084. t3 = new A.SubListIterable(selectors, 0, i, t1);
  106085. t3.SubListIterable$3(selectors, 0, i, t2);
  106086. if (t3.any$1(0, new A.ExtensionStore__trim_closure2(_box_0, complex1)))
  106087. continue $label0$0;
  106088. result.addFirst$1(complex1);
  106089. }
  106090. return result;
  106091. },
  106092. _extension_store$_sourceSpecificityFor$1(compound) {
  106093. var t1, t2, t3, specificity, _i, t4;
  106094. for (t1 = compound.components, t2 = t1.length, t3 = this._extension_store$_sourceSpecificity, specificity = 0, _i = 0; _i < t2; ++_i) {
  106095. t4 = t3.$index(0, t1[_i]);
  106096. if (t4 == null)
  106097. t4 = 0;
  106098. specificity = Math.max(specificity, t4);
  106099. }
  106100. return specificity;
  106101. },
  106102. clone$0() {
  106103. var t2, t3, t4, _this = this,
  106104. t1 = type$.SimpleSelector_2,
  106105. newSelectors = A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.Set_ModifiableBox_SelectorList_2),
  106106. newMediaContexts = A.LinkedHashMap_LinkedHashMap$_empty(type$.ModifiableBox_SelectorList_2, type$.List_CssMediaQuery_2),
  106107. oldToNewSelectors = new A.JsIdentityLinkedHashMap(type$.JsIdentityLinkedHashMap_of_SelectorList_and_Box_SelectorList_2);
  106108. _this._extension_store$_selectors.forEach$1(0, new A.ExtensionStore_clone_closure0(_this, newSelectors, oldToNewSelectors, newMediaContexts));
  106109. t2 = type$.Extension_2;
  106110. t3 = A.copyMapOfMap0(_this._extension_store$_extensions, t1, type$.ComplexSelector_2, t2);
  106111. t2 = A.copyMapOfList0(_this._extension_store$_extensionsByExtender, t1, t2);
  106112. t1 = new A.JsIdentityLinkedHashMap(type$.JsIdentityLinkedHashMap_SimpleSelector_int_2);
  106113. t1.addAll$1(0, _this._extension_store$_sourceSpecificity);
  106114. t4 = new A._LinkedIdentityHashSet(type$._LinkedIdentityHashSet_ComplexSelector_2);
  106115. t4.addAll$1(0, _this._extension_store$_originals);
  106116. return new A._Record_2(new A.ExtensionStore0(newSelectors, t3, t2, newMediaContexts, t1, t4, B.ExtendMode_normal_normal0), oldToNewSelectors);
  106117. },
  106118. get$_extension_store$_extensions() {
  106119. return this._extension_store$_extensions;
  106120. },
  106121. get$_extension_store$_sourceSpecificity() {
  106122. return this._extension_store$_sourceSpecificity;
  106123. }
  106124. };
  106125. A.ExtensionStore_extensionsWhereTarget_closure0.prototype = {
  106126. call$1(extension) {
  106127. return !extension.isOptional;
  106128. },
  106129. $signature: 465
  106130. };
  106131. A.ExtensionStore__registerSelector_closure0.prototype = {
  106132. call$0() {
  106133. return A.LinkedHashSet_LinkedHashSet$_empty(type$.ModifiableBox_SelectorList_2);
  106134. },
  106135. $signature: 466
  106136. };
  106137. A.ExtensionStore_addExtension_closure2.prototype = {
  106138. call$0() {
  106139. return A.LinkedHashMap_LinkedHashMap$_empty(type$.ComplexSelector_2, type$.Extension_2);
  106140. },
  106141. $signature: 131
  106142. };
  106143. A.ExtensionStore_addExtension_closure3.prototype = {
  106144. call$0() {
  106145. return A._setArrayType([], type$.JSArray_Extension_2);
  106146. },
  106147. $signature: 244
  106148. };
  106149. A.ExtensionStore_addExtension_closure4.prototype = {
  106150. call$0() {
  106151. return this.complex.get$specificity();
  106152. },
  106153. $signature: 10
  106154. };
  106155. A.ExtensionStore__extendExistingExtensions_closure1.prototype = {
  106156. call$0() {
  106157. return A._setArrayType([], type$.JSArray_Extension_2);
  106158. },
  106159. $signature: 244
  106160. };
  106161. A.ExtensionStore__extendExistingExtensions_closure2.prototype = {
  106162. call$0() {
  106163. return A.LinkedHashMap_LinkedHashMap$_empty(type$.ComplexSelector_2, type$.Extension_2);
  106164. },
  106165. $signature: 131
  106166. };
  106167. A.ExtensionStore_addExtensions_closure0.prototype = {
  106168. call$0() {
  106169. return A.LinkedHashMap_LinkedHashMap$_empty(type$.ComplexSelector_2, type$.Extension_2);
  106170. },
  106171. $signature: 131
  106172. };
  106173. A.ExtensionStore__extendComplex_closure0.prototype = {
  106174. call$1(path) {
  106175. var t1 = this.complex;
  106176. 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);
  106177. },
  106178. $signature: 469
  106179. };
  106180. A.ExtensionStore__extendComplex__closure0.prototype = {
  106181. call$1(outputComplex) {
  106182. var _this = this,
  106183. t1 = _this._box_0;
  106184. if (t1.first && _this.$this._extension_store$_originals.contains$1(0, _this.complex))
  106185. _this.$this._extension_store$_originals.add$1(0, outputComplex);
  106186. t1.first = false;
  106187. return outputComplex;
  106188. },
  106189. $signature: 58
  106190. };
  106191. A.ExtensionStore__extendCompound_closure2.prototype = {
  106192. call$1(extender) {
  106193. return B.JSArray_methods.get$last(extender.selector.components).selector.components;
  106194. },
  106195. $signature: 471
  106196. };
  106197. A.ExtensionStore__extendCompound_closure3.prototype = {
  106198. call$1(_) {
  106199. return false;
  106200. },
  106201. $signature: 21
  106202. };
  106203. A.ExtensionStore__extendCompound_closure4.prototype = {
  106204. call$1(complex) {
  106205. return complex.$eq(0, this.original);
  106206. },
  106207. $signature: 21
  106208. };
  106209. A.ExtensionStore__extendSimple_withoutPseudo0.prototype = {
  106210. call$1(simple) {
  106211. var t1, t2,
  106212. extensionsForSimple = this.extensions.$index(0, simple);
  106213. if (extensionsForSimple == null)
  106214. return null;
  106215. t1 = this.targetsUsed;
  106216. if (t1 != null)
  106217. t1.add$1(0, simple);
  106218. t1 = A._setArrayType([], type$.JSArray_Extender_2);
  106219. t2 = this.$this;
  106220. if (t2._extension_store$_mode !== B.ExtendMode_replace_replace0)
  106221. t1.push(t2._extension_store$_extenderForSimple$1(simple));
  106222. for (t2 = extensionsForSimple.get$values(extensionsForSimple), t2 = t2.get$iterator(t2); t2.moveNext$0();)
  106223. t1.push(t2.get$current(t2).extender);
  106224. return t1;
  106225. },
  106226. $signature: 472
  106227. };
  106228. A.ExtensionStore__extendSimple_closure1.prototype = {
  106229. call$1(pseudo) {
  106230. var t1 = this.withoutPseudo.call$1(pseudo);
  106231. return t1 == null ? A._setArrayType([this.$this._extension_store$_extenderForSimple$1(pseudo)], type$.JSArray_Extender_2) : t1;
  106232. },
  106233. $signature: 473
  106234. };
  106235. A.ExtensionStore__extendSimple_closure2.prototype = {
  106236. call$1(result) {
  106237. return A._setArrayType([result], type$.JSArray_List_Extender_2);
  106238. },
  106239. $signature: 474
  106240. };
  106241. A.ExtensionStore__extendPseudo_closure4.prototype = {
  106242. call$1(complex) {
  106243. return complex.components.length > 1;
  106244. },
  106245. $signature: 21
  106246. };
  106247. A.ExtensionStore__extendPseudo_closure5.prototype = {
  106248. call$1(complex) {
  106249. return complex.components.length === 1;
  106250. },
  106251. $signature: 21
  106252. };
  106253. A.ExtensionStore__extendPseudo_closure6.prototype = {
  106254. call$1(complex) {
  106255. return complex.components.length <= 1;
  106256. },
  106257. $signature: 21
  106258. };
  106259. A.ExtensionStore__extendPseudo_closure7.prototype = {
  106260. call$1(complex) {
  106261. var innerPseudo, innerSelector,
  106262. t1 = complex.get$singleCompound();
  106263. if (t1 == null)
  106264. innerPseudo = null;
  106265. else {
  106266. t1 = t1.components;
  106267. innerPseudo = t1.length === 1 ? B.JSArray_methods.get$first(t1) : null;
  106268. }
  106269. if (!(innerPseudo instanceof A.PseudoSelector0))
  106270. return A._setArrayType([complex], type$.JSArray_ComplexSelector_2);
  106271. innerSelector = innerPseudo.selector;
  106272. if (innerSelector == null)
  106273. return A._setArrayType([complex], type$.JSArray_ComplexSelector_2);
  106274. t1 = this.pseudo;
  106275. switch (t1.normalizedName) {
  106276. case "not":
  106277. if (!B.Set_0egh6.contains$1(0, innerPseudo.normalizedName))
  106278. return A._setArrayType([], type$.JSArray_ComplexSelector_2);
  106279. return innerSelector.components;
  106280. case "is":
  106281. case "matches":
  106282. case "where":
  106283. case "any":
  106284. case "current":
  106285. case "nth-child":
  106286. case "nth-last-child":
  106287. if (innerPseudo.name !== t1.name)
  106288. return A._setArrayType([], type$.JSArray_ComplexSelector_2);
  106289. if (innerPseudo.argument != t1.argument)
  106290. return A._setArrayType([], type$.JSArray_ComplexSelector_2);
  106291. return innerSelector.components;
  106292. case "has":
  106293. case "host":
  106294. case "host-context":
  106295. case "slotted":
  106296. return A._setArrayType([complex], type$.JSArray_ComplexSelector_2);
  106297. default:
  106298. return A._setArrayType([], type$.JSArray_ComplexSelector_2);
  106299. }
  106300. },
  106301. $signature: 475
  106302. };
  106303. A.ExtensionStore__extendPseudo_closure8.prototype = {
  106304. call$1(complex) {
  106305. return this.pseudo.withSelector$1(A.SelectorList$0(A._setArrayType([complex], type$.JSArray_ComplexSelector_2), this.selector.span));
  106306. },
  106307. $signature: 476
  106308. };
  106309. A.ExtensionStore__trim_closure1.prototype = {
  106310. call$1(complex2) {
  106311. return complex2.get$specificity() >= this._box_0.maxSpecificity && complex2.isSuperselector$1(this.complex1);
  106312. },
  106313. $signature: 21
  106314. };
  106315. A.ExtensionStore__trim_closure2.prototype = {
  106316. call$1(complex2) {
  106317. return complex2.get$specificity() >= this._box_0.maxSpecificity && complex2.isSuperselector$1(this.complex1);
  106318. },
  106319. $signature: 21
  106320. };
  106321. A.ExtensionStore_clone_closure0.prototype = {
  106322. call$2(simple, selectors) {
  106323. var t2, t3, t4, t5, t6, t7, newSelector, _0_0, _this = this,
  106324. t1 = type$.ModifiableBox_SelectorList_2,
  106325. newSelectorSet = A.LinkedHashSet_LinkedHashSet$_empty(t1);
  106326. _this.newSelectors.$indexSet(0, simple, newSelectorSet);
  106327. 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();) {
  106328. t7 = t2.get$current(t2);
  106329. newSelector = new A.ModifiableBox0(t7.value, t1);
  106330. newSelectorSet.add$1(0, newSelector);
  106331. t3.$indexSet(0, t7.value, new A.Box0(newSelector, t4));
  106332. _0_0 = t5.$index(0, t7);
  106333. if (_0_0 != null)
  106334. t6.$indexSet(0, newSelector, _0_0);
  106335. }
  106336. },
  106337. $signature: 477
  106338. };
  106339. A.FiberClass.prototype = {};
  106340. A.Fiber.prototype = {};
  106341. A.JSToDartFileImporter.prototype = {
  106342. canonicalize$1(_, url) {
  106343. var result, t1, resultUrl;
  106344. if (url.get$scheme() === "file")
  106345. return $.$get$FilesystemImporter_cwd0().canonicalize$1(0, url);
  106346. result = A.wrapJSExceptions(new A.JSToDartFileImporter_canonicalize_closure(this, url));
  106347. if (result == null)
  106348. return null;
  106349. t1 = self.Promise;
  106350. if (result instanceof t1)
  106351. A.jsThrow(new self.Error("The findFileUrl() function can't return a Promise for synchron compile functions."));
  106352. else {
  106353. t1 = self.URL;
  106354. if (!(result instanceof t1))
  106355. A.jsThrow(new self.Error(string$.The_fie));
  106356. }
  106357. resultUrl = A.Uri_parse(J.toString$0$(type$.JSUrl._as(result)));
  106358. if (resultUrl.get$scheme() !== "file")
  106359. A.jsThrow(new self.Error(string$.The_fiu + url.toString$0(0) + '".'));
  106360. return $.$get$FilesystemImporter_cwd0().canonicalize$1(0, resultUrl);
  106361. },
  106362. load$1(_, url) {
  106363. return $.$get$FilesystemImporter_cwd0().load$1(0, url);
  106364. },
  106365. isNonCanonicalScheme$1(scheme) {
  106366. return scheme !== "file";
  106367. }
  106368. };
  106369. A.JSToDartFileImporter_canonicalize_closure.prototype = {
  106370. call$0() {
  106371. return this.$this._file0$_findFileUrl.call$2(this.url.toString$0(0), A.canonicalizeContext0());
  106372. },
  106373. $signature: 36
  106374. };
  106375. A.FilesystemImporter0.prototype = {
  106376. canonicalize$1(_, url) {
  106377. var resolved;
  106378. if (url.get$scheme() === "file")
  106379. resolved = A.resolveImportPath0($.$get$context().style.pathFromUri$1(A._parseUri(url)));
  106380. else if (url.get$scheme() !== "")
  106381. return null;
  106382. else {
  106383. resolved = A.resolveImportPath0(A.join(this._filesystem$_loadPath, $.$get$context().style.pathFromUri$1(A._parseUri(url)), null));
  106384. if (resolved != null && this._filesystem$_loadPathDeprecated)
  106385. A.warnForDeprecation0(string$.Using_t, B.Deprecation_Ds6);
  106386. }
  106387. return A.NullableExtension_andThen0(resolved, new A.FilesystemImporter_canonicalize_closure0());
  106388. },
  106389. load$1(_, url) {
  106390. var path = $.$get$context().style.pathFromUri$1(A._parseUri(url));
  106391. return A.ImporterResult$(A.readFile0(path), url, A.Syntax_forPath0(path));
  106392. },
  106393. toString$0(_) {
  106394. return this._filesystem$_loadPath;
  106395. }
  106396. };
  106397. A.FilesystemImporter_canonicalize_closure0.prototype = {
  106398. call$1(resolved) {
  106399. var t2, t0, _null = null,
  106400. t1 = A.isNodeJs() ? self.process : _null;
  106401. if (!J.$eq$(t1 == null ? _null : J.get$platform$x(t1), "win32")) {
  106402. t1 = A.isNodeJs() ? self.process : _null;
  106403. t1 = J.$eq$(t1 == null ? _null : J.get$platform$x(t1), "darwin");
  106404. } else
  106405. t1 = true;
  106406. if (t1) {
  106407. t1 = A.absolute(resolved, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null);
  106408. t2 = $.$get$context();
  106409. t1 = A._realCasePath0(t2.normalize$1(t1));
  106410. } else {
  106411. t1 = $.$get$context();
  106412. t2 = t1.canonicalize$1(0, resolved);
  106413. t0 = t2;
  106414. t2 = t1;
  106415. t1 = t0;
  106416. }
  106417. return t2.toUri$1(t1);
  106418. },
  106419. $signature: 127
  106420. };
  106421. A.ForRule0.prototype = {
  106422. accept$1$1(visitor) {
  106423. return visitor.visitForRule$1(0, this);
  106424. },
  106425. accept$1(visitor) {
  106426. return this.accept$1$1(visitor, type$.dynamic);
  106427. },
  106428. toString$0(_) {
  106429. var _this = this,
  106430. t1 = _this.from.toString$0(0),
  106431. t2 = _this.isExclusive ? "to" : "through",
  106432. t3 = _this.children;
  106433. return "@for $" + _this.variable + " from " + t1 + " " + t2 + " " + _this.to.toString$0(0) + " {" + (t3 && B.JSArray_methods).join$1(t3, " ") + "}";
  106434. },
  106435. get$span(receiver) {
  106436. return this.span;
  106437. }
  106438. };
  106439. A.ForwardRule0.prototype = {
  106440. accept$1$1(visitor) {
  106441. return visitor.visitForwardRule$1(0, this);
  106442. },
  106443. accept$1(visitor) {
  106444. return this.accept$1$1(visitor, type$.dynamic);
  106445. },
  106446. toString$0(_) {
  106447. var t2, prefix, _this = this,
  106448. t1 = "@forward " + A.StringExpression_quoteText0(_this.url.toString$0(0)),
  106449. shownMixinsAndFunctions = _this.shownMixinsAndFunctions,
  106450. hiddenMixinsAndFunctions = _this.hiddenMixinsAndFunctions;
  106451. if (shownMixinsAndFunctions != null) {
  106452. t2 = _this.shownVariables;
  106453. t2.toString;
  106454. t2 = t1 + " show " + _this._forward_rule0$_memberList$2(shownMixinsAndFunctions, t2);
  106455. t1 = t2;
  106456. } else if (hiddenMixinsAndFunctions != null && hiddenMixinsAndFunctions._base.get$isNotEmpty(0)) {
  106457. t2 = _this.hiddenVariables;
  106458. t2.toString;
  106459. t2 = t1 + " hide " + _this._forward_rule0$_memberList$2(hiddenMixinsAndFunctions, t2);
  106460. t1 = t2;
  106461. }
  106462. prefix = _this.prefix;
  106463. if (prefix != null)
  106464. t1 += " as " + prefix + "*";
  106465. t2 = _this.configuration;
  106466. t1 = (t2.length !== 0 ? t1 + (" with (" + B.JSArray_methods.join$1(t2, ", ") + ")") : t1) + ";";
  106467. return t1.charCodeAt(0) == 0 ? t1 : t1;
  106468. },
  106469. _forward_rule0$_memberList$2(mixinsAndFunctions, variables) {
  106470. var t2,
  106471. t1 = A.List_List$_of(mixinsAndFunctions, type$.String);
  106472. for (t2 = variables._base.get$iterator(0); t2.moveNext$0();)
  106473. t1.push("$" + t2.get$current(0));
  106474. return B.JSArray_methods.join$1(t1, ", ");
  106475. },
  106476. get$span(receiver) {
  106477. return this.span;
  106478. }
  106479. };
  106480. A.ForwardedModuleView0.prototype = {
  106481. get$url(_) {
  106482. var t1 = this._forwarded_view0$_inner;
  106483. return t1.get$url(t1);
  106484. },
  106485. get$upstream() {
  106486. return this._forwarded_view0$_inner.get$upstream();
  106487. },
  106488. get$extensionStore() {
  106489. return this._forwarded_view0$_inner.get$extensionStore();
  106490. },
  106491. get$css(_) {
  106492. var t1 = this._forwarded_view0$_inner;
  106493. return t1.get$css(t1);
  106494. },
  106495. get$preModuleComments() {
  106496. return this._forwarded_view0$_inner.get$preModuleComments();
  106497. },
  106498. get$transitivelyContainsCss() {
  106499. return this._forwarded_view0$_inner.get$transitivelyContainsCss();
  106500. },
  106501. get$transitivelyContainsExtensions() {
  106502. return this._forwarded_view0$_inner.get$transitivelyContainsExtensions();
  106503. },
  106504. setVariable$3($name, value, nodeWithSpan) {
  106505. var t2, _1_0, _2_0,
  106506. _s19_ = "Undefined variable.",
  106507. t1 = this._forwarded_view0$_rule,
  106508. _0_0 = t1.shownVariables;
  106509. if (_0_0 != null)
  106510. t2 = !_0_0._base.contains$1(0, $name);
  106511. else
  106512. t2 = false;
  106513. if (t2)
  106514. throw A.wrapException(A.SassScriptException$0(_s19_, null));
  106515. else {
  106516. _1_0 = t1.hiddenVariables;
  106517. if (_1_0 != null)
  106518. t2 = _1_0._base.contains$1(0, $name);
  106519. else
  106520. t2 = false;
  106521. if (t2)
  106522. throw A.wrapException(A.SassScriptException$0(_s19_, null));
  106523. }
  106524. _2_0 = t1.prefix;
  106525. if (_2_0 != null) {
  106526. if (!B.JSString_methods.startsWith$1($name, _2_0))
  106527. throw A.wrapException(A.SassScriptException$0(_s19_, null));
  106528. $name = B.JSString_methods.substring$1($name, _2_0.length);
  106529. }
  106530. return this._forwarded_view0$_inner.setVariable$3($name, value, nodeWithSpan);
  106531. },
  106532. variableIdentity$1($name) {
  106533. var _0_0 = this._forwarded_view0$_rule.prefix;
  106534. if (_0_0 != null)
  106535. $name = B.JSString_methods.substring$1($name, _0_0.length);
  106536. return this._forwarded_view0$_inner.variableIdentity$1($name);
  106537. },
  106538. couldHaveBeenConfigured$1(variables) {
  106539. var t5, t6, _1_0, _2_0, blocklist, _this = this,
  106540. t1 = _this._forwarded_view0$_rule,
  106541. t2 = t1.prefix,
  106542. t3 = t2 == null,
  106543. t4 = false;
  106544. if (t3)
  106545. if (t1.shownVariables == null) {
  106546. t4 = t1.hiddenVariables;
  106547. t4 = t4 == null ? null : t4._base.get$isEmpty(0);
  106548. t4 = t4 !== false;
  106549. }
  106550. if (t4)
  106551. return _this._forwarded_view0$_inner.couldHaveBeenConfigured$1(variables);
  106552. if (!t3) {
  106553. t3 = A.LinkedHashSet_LinkedHashSet$_empty(type$.String);
  106554. for (t4 = variables.get$iterator(variables), t5 = t2.length; t4.moveNext$0();) {
  106555. t6 = t4.get$current(t4);
  106556. if (B.JSString_methods.startsWith$1(t6, t2))
  106557. t3.add$1(0, B.JSString_methods.substring$1(t6, t5));
  106558. }
  106559. variables = t3;
  106560. }
  106561. _1_0 = t1.shownVariables;
  106562. if (_1_0 != null)
  106563. return _this._forwarded_view0$_inner.couldHaveBeenConfigured$1(variables.intersection$1(_1_0));
  106564. else {
  106565. _2_0 = t1.hiddenVariables;
  106566. if (_2_0 != null) {
  106567. t1 = _2_0._base.get$isNotEmpty(0);
  106568. blocklist = _2_0;
  106569. } else {
  106570. blocklist = null;
  106571. t1 = false;
  106572. }
  106573. t2 = _this._forwarded_view0$_inner;
  106574. if (t1)
  106575. return t2.couldHaveBeenConfigured$1(variables.difference$1(blocklist));
  106576. else
  106577. return t2.couldHaveBeenConfigured$1(variables);
  106578. }
  106579. },
  106580. $eq(_, other) {
  106581. if (other == null)
  106582. return false;
  106583. return other instanceof A.ForwardedModuleView0 && this._forwarded_view0$_inner.$eq(0, other._forwarded_view0$_inner) && this._forwarded_view0$_rule === other._forwarded_view0$_rule;
  106584. },
  106585. get$hashCode(_) {
  106586. var t1 = this._forwarded_view0$_inner;
  106587. return (t1.get$hashCode(t1) ^ A.Primitives_objectHashCode(this._forwarded_view0$_rule)) >>> 0;
  106588. },
  106589. cloneCss$0() {
  106590. return A.ForwardedModuleView$0(this._forwarded_view0$_inner.cloneCss$0(), this._forwarded_view0$_rule, this.$ti._precomputed1);
  106591. },
  106592. toString$0(_) {
  106593. return "forwarded " + this._forwarded_view0$_inner.toString$0(0);
  106594. },
  106595. $isModule1: 1,
  106596. get$variables() {
  106597. return this.variables;
  106598. },
  106599. get$variableNodes() {
  106600. return this.variableNodes;
  106601. },
  106602. get$functions(receiver) {
  106603. return this.functions;
  106604. },
  106605. get$mixins() {
  106606. return this.mixins;
  106607. }
  106608. };
  106609. A.FunctionExpression0.prototype = {
  106610. get$nameSpan() {
  106611. if (this.namespace == null)
  106612. return A.SpanExtensions_initialIdentifier0(this.span);
  106613. return A.SpanExtensions_initialIdentifier0(A.FileSpanExtension_subspan(A.SpanExtensions_withoutInitialIdentifier0(this.span), 1, null));
  106614. },
  106615. accept$1$1(visitor) {
  106616. return visitor.visitFunctionExpression$1(0, this);
  106617. },
  106618. accept$1(visitor) {
  106619. return this.accept$1$1(visitor, type$.dynamic);
  106620. },
  106621. toString$0(_) {
  106622. var t1 = this.namespace;
  106623. t1 = t1 != null ? "" + (t1 + ".") : "";
  106624. t1 += this.originalName + this.$arguments.toString$0(0);
  106625. return t1.charCodeAt(0) == 0 ? t1 : t1;
  106626. },
  106627. get$span(receiver) {
  106628. return this.span;
  106629. }
  106630. };
  106631. A.JSFunction0.prototype = {};
  106632. A.SupportsFunction0.prototype = {
  106633. toInterpolation$0() {
  106634. var t4, t5,
  106635. t1 = new A.StringBuffer(""),
  106636. t2 = new A.InterpolationBuffer0(t1, A._setArrayType([], type$.JSArray_Object), A._setArrayType([], type$.JSArray_nullable_FileSpan)),
  106637. t3 = this.name;
  106638. t2.addInterpolation$1(t3);
  106639. t4 = this.$arguments;
  106640. t5 = t4.span;
  106641. t3 = A.SpanExtensions_between(t3.span, t5);
  106642. t3 = A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t3.file._decodedChars, t3._file$_start, t3._end), 0, null);
  106643. t1._contents += t3;
  106644. t2.addInterpolation$1(t4);
  106645. t4 = this.span;
  106646. t5 = A.SpanExtensions_after(t4, t5);
  106647. t5 = A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t5.file._decodedChars, t5._file$_start, t5._end), 0, null);
  106648. t1._contents += t5;
  106649. return t2.interpolation$1(t4);
  106650. },
  106651. withSpan$1(span) {
  106652. return new A.SupportsFunction0(this.name, this.$arguments, span);
  106653. },
  106654. toString$0(_) {
  106655. return this.name.toString$0(0) + "(" + this.$arguments.toString$0(0) + ")";
  106656. },
  106657. $isAstNode0: 1,
  106658. $isSassNode: 1,
  106659. $isSupportsCondition: 1,
  106660. get$span(receiver) {
  106661. return this.span;
  106662. }
  106663. };
  106664. A.functionClass_closure.prototype = {
  106665. call$0() {
  106666. var t1 = type$.JSClass,
  106667. jsClass = t1._as(A.allowInteropCaptureThisNamed("sass.SassFunction", new A.functionClass__closure()));
  106668. A.JSClassExtension_injectSuperclass(t1._as(new A.SassFunction0(A.BuiltInCallable$function0("f", "", new A.functionClass__closure0(), null), null).constructor), jsClass);
  106669. return jsClass;
  106670. },
  106671. $signature: 15
  106672. };
  106673. A.functionClass__closure.prototype = {
  106674. call$3($self, signature, callback) {
  106675. var paren = B.JSString_methods.indexOf$1(signature, "(");
  106676. if (paren === -1 || !B.JSString_methods.endsWith$1(signature, ")"))
  106677. A.jsThrow(new self.Error('Invalid signature for new sass.SassFunction(): "' + signature + '"'));
  106678. 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);
  106679. },
  106680. "call*": "call$3",
  106681. $requiredArgCount: 3,
  106682. $signature: 478
  106683. };
  106684. A.functionClass__closure0.prototype = {
  106685. call$1(_) {
  106686. return B.C__SassNull0;
  106687. },
  106688. $signature: 3
  106689. };
  106690. A.SassFunction0.prototype = {
  106691. accept$1$1(visitor) {
  106692. var t1, t2;
  106693. if (!visitor._serialize0$_inspect)
  106694. A.throwExpression(A.SassScriptException$0(this.toString$0(0) + " isn't a valid CSS value.", null));
  106695. t1 = visitor._serialize0$_buffer;
  106696. t1.write$1(0, "get-function(");
  106697. t2 = this.callable;
  106698. visitor._serialize0$_visitQuotedString$1(t2.get$name(t2));
  106699. t1.writeCharCode$1(41);
  106700. return null;
  106701. },
  106702. accept$1(visitor) {
  106703. return this.accept$1$1(visitor, type$.dynamic);
  106704. },
  106705. assertFunction$1($name) {
  106706. return this;
  106707. },
  106708. assertCompileContext$1(compileContext) {
  106709. var t1 = this._function0$_compileContext;
  106710. if (t1 != null)
  106711. t1 = t1 !== compileContext;
  106712. else
  106713. t1 = false;
  106714. if (t1)
  106715. throw A.wrapException(A.SassScriptException$0(this.toString$0(0) + " does not belong to current compilation.", null));
  106716. return this;
  106717. },
  106718. $eq(_, other) {
  106719. if (other == null)
  106720. return false;
  106721. return other instanceof A.SassFunction0 && this.callable.$eq(0, other.callable);
  106722. },
  106723. get$hashCode(_) {
  106724. var t1 = this.callable;
  106725. return t1.get$hashCode(t1);
  106726. }
  106727. };
  106728. A.FunctionRule0.prototype = {
  106729. accept$1$1(visitor) {
  106730. return visitor.visitFunctionRule$1(0, this);
  106731. },
  106732. accept$1(visitor) {
  106733. return this.accept$1$1(visitor, type$.dynamic);
  106734. },
  106735. toString$0(_) {
  106736. var t1 = this.children;
  106737. return "@function " + this.name + "(" + this.parameters.toString$0(0) + ") {" + (t1 && B.JSArray_methods).join$1(t1, " ") + "}";
  106738. }
  106739. };
  106740. A.unifyComplex_closure0.prototype = {
  106741. call$1(complex) {
  106742. return complex.lineBreak;
  106743. },
  106744. $signature: 21
  106745. };
  106746. A._weaveParents_closure3.prototype = {
  106747. call$2(group1, group2) {
  106748. var t1, unified;
  106749. if (B.C_ListEquality.equals$2(0, group1, group2))
  106750. return group1;
  106751. if (A._complexIsParentSuperselector0(group1, group2))
  106752. return group2;
  106753. if (A._complexIsParentSuperselector0(group2, group1))
  106754. return group1;
  106755. if (!A._mustUnify0(group1, group2))
  106756. return null;
  106757. t1 = this.span;
  106758. 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);
  106759. if (unified == null)
  106760. t1 = null;
  106761. else {
  106762. t1 = A.IterableExtension_get_singleOrNull(unified);
  106763. t1 = t1 == null ? null : t1.components;
  106764. }
  106765. return t1;
  106766. },
  106767. $signature: 479
  106768. };
  106769. A._weaveParents_closure4.prototype = {
  106770. call$1(sequence) {
  106771. return A._complexIsParentSuperselector0(sequence.get$first(sequence), this.group);
  106772. },
  106773. $signature: 245
  106774. };
  106775. A._weaveParents_closure5.prototype = {
  106776. call$1(sequence) {
  106777. return sequence.get$length(0) === 0;
  106778. },
  106779. $signature: 245
  106780. };
  106781. A._weaveParents_closure6.prototype = {
  106782. call$1(choice) {
  106783. return J.get$isNotEmpty$asx(choice);
  106784. },
  106785. $signature: 481
  106786. };
  106787. A._mustUnify_closure0.prototype = {
  106788. call$1(component) {
  106789. return B.JSArray_methods.any$1(component.selector.components, new A._mustUnify__closure0(this.uniqueSelectors));
  106790. },
  106791. $signature: 54
  106792. };
  106793. A._mustUnify__closure0.prototype = {
  106794. call$1(simple) {
  106795. var t1;
  106796. if (!(simple instanceof A.IDSelector0))
  106797. t1 = simple instanceof A.PseudoSelector0 && !simple.isClass;
  106798. else
  106799. t1 = true;
  106800. return t1 && this.uniqueSelectors.contains$1(0, simple);
  106801. },
  106802. $signature: 13
  106803. };
  106804. A.paths_closure0.prototype = {
  106805. call$2(paths, choice) {
  106806. var t1 = this.T;
  106807. t1 = J.expand$1$1$ax(choice, new A.paths__closure0(paths, t1), t1._eval$1("List<0>"));
  106808. t1 = A.List_List$_of(t1, t1.$ti._eval$1("Iterable.E"));
  106809. return t1;
  106810. },
  106811. $signature() {
  106812. return this.T._eval$1("List<List<0>>(List<List<0>>,List<0>)");
  106813. }
  106814. };
  106815. A.paths__closure0.prototype = {
  106816. call$1(option) {
  106817. var t1 = this.T;
  106818. return J.map$1$1$ax(this.paths, new A.paths___closure0(option, t1), t1._eval$1("List<0>"));
  106819. },
  106820. $signature() {
  106821. return this.T._eval$1("Iterable<List<0>>(0)");
  106822. }
  106823. };
  106824. A.paths___closure0.prototype = {
  106825. call$1(path) {
  106826. var t1 = A.List_List$_of(path, this.T);
  106827. t1.push(this.option);
  106828. return t1;
  106829. },
  106830. $signature() {
  106831. return this.T._eval$1("List<0>(List<0>)");
  106832. }
  106833. };
  106834. A.listIsSuperselector_closure0.prototype = {
  106835. call$1(complex1) {
  106836. return B.JSArray_methods.any$1(this.list1, new A.listIsSuperselector__closure0(complex1));
  106837. },
  106838. $signature: 21
  106839. };
  106840. A.listIsSuperselector__closure0.prototype = {
  106841. call$1(complex2) {
  106842. return complex2.isSuperselector$1(this.complex1);
  106843. },
  106844. $signature: 21
  106845. };
  106846. A.complexIsSuperselector_closure1.prototype = {
  106847. call$1($parent) {
  106848. return $parent.combinators.length > 1;
  106849. },
  106850. $signature: 54
  106851. };
  106852. A.complexIsSuperselector_closure2.prototype = {
  106853. call$1(component) {
  106854. return A._isSupercombinator0(this.combinator1, A.IterableExtension_get_firstOrNull(component.combinators));
  106855. },
  106856. $signature: 54
  106857. };
  106858. A._compatibleWithPreviousCombinator_closure0.prototype = {
  106859. call$1(component) {
  106860. var t1 = component.combinators,
  106861. t2 = A.IterableExtension_get_firstOrNull(t1);
  106862. if (!J.$eq$(t2 == null ? null : t2.value, B.Combinator_55N0)) {
  106863. t1 = A.IterableExtension_get_firstOrNull(t1);
  106864. t1 = J.$eq$(t1 == null ? null : t1.value, B.Combinator_bOP0);
  106865. } else
  106866. t1 = true;
  106867. return t1;
  106868. },
  106869. $signature: 54
  106870. };
  106871. A.compoundIsSuperselector_closure0.prototype = {
  106872. call$1(simple1) {
  106873. return B.JSArray_methods.any$1(this.compound2.components, simple1.get$isSuperselector());
  106874. },
  106875. $signature: 13
  106876. };
  106877. A._selectorPseudoIsSuperselector_closure6.prototype = {
  106878. call$1(selector2) {
  106879. return A.listIsSuperselector0(this.selector1.components, selector2.components);
  106880. },
  106881. $signature: 73
  106882. };
  106883. A._selectorPseudoIsSuperselector_closure7.prototype = {
  106884. call$1(complex1) {
  106885. var t1, t2;
  106886. if (complex1.leadingCombinators.length === 0) {
  106887. t1 = A._setArrayType([], type$.JSArray_ComplexSelectorComponent_2);
  106888. t2 = this.parents;
  106889. if (t2 != null)
  106890. B.JSArray_methods.addAll$1(t1, t2);
  106891. t2 = this.compound2;
  106892. t1.push(new A.ComplexSelectorComponent0(t2, A.List_List$unmodifiable(B.List_empty16, type$.CssValue_Combinator_2), t2.span));
  106893. t1 = A.complexIsSuperselector0(complex1.components, t1);
  106894. } else
  106895. t1 = false;
  106896. return t1;
  106897. },
  106898. $signature: 21
  106899. };
  106900. A._selectorPseudoIsSuperselector_closure8.prototype = {
  106901. call$1(selector2) {
  106902. return A.listIsSuperselector0(this.selector1.components, selector2.components);
  106903. },
  106904. $signature: 73
  106905. };
  106906. A._selectorPseudoIsSuperselector_closure9.prototype = {
  106907. call$1(selector2) {
  106908. return A.listIsSuperselector0(this.selector1.components, selector2.components);
  106909. },
  106910. $signature: 73
  106911. };
  106912. A._selectorPseudoIsSuperselector_closure10.prototype = {
  106913. call$1(complex) {
  106914. if (complex.accept$1(B._IsBogusVisitor_true0))
  106915. return false;
  106916. return B.JSArray_methods.any$1(this.compound2.components, new A._selectorPseudoIsSuperselector__closure0(complex, this.pseudo1));
  106917. },
  106918. $signature: 21
  106919. };
  106920. A._selectorPseudoIsSuperselector__closure0.prototype = {
  106921. call$1(simple2) {
  106922. var t1, selector2, _0_4, _this = this;
  106923. $label0$1: {
  106924. if (simple2 instanceof A.TypeSelector0) {
  106925. t1 = B.JSArray_methods.any$1(B.JSArray_methods.get$last(_this.complex.components).selector.components, new A._selectorPseudoIsSuperselector___closure1(simple2));
  106926. break $label0$1;
  106927. }
  106928. if (simple2 instanceof A.IDSelector0) {
  106929. t1 = B.JSArray_methods.any$1(B.JSArray_methods.get$last(_this.complex.components).selector.components, new A._selectorPseudoIsSuperselector___closure2(simple2));
  106930. break $label0$1;
  106931. }
  106932. selector2 = null;
  106933. t1 = false;
  106934. if (simple2 instanceof A.PseudoSelector0) {
  106935. _0_4 = simple2.selector;
  106936. if (_0_4 != null) {
  106937. selector2 = _0_4 == null ? type$.SelectorList_2._as(_0_4) : _0_4;
  106938. t1 = simple2.name === _this.pseudo1.name;
  106939. }
  106940. }
  106941. if (t1) {
  106942. t1 = A.listIsSuperselector0(selector2.components, A._setArrayType([_this.complex], type$.JSArray_ComplexSelector_2));
  106943. break $label0$1;
  106944. }
  106945. t1 = false;
  106946. break $label0$1;
  106947. }
  106948. return t1;
  106949. },
  106950. $signature: 13
  106951. };
  106952. A._selectorPseudoIsSuperselector___closure1.prototype = {
  106953. call$1(simple1) {
  106954. var t1;
  106955. if (simple1 instanceof A.TypeSelector0) {
  106956. t1 = this.simple2.name.$eq(0, simple1.name);
  106957. t1 = !t1;
  106958. } else
  106959. t1 = false;
  106960. return t1;
  106961. },
  106962. $signature: 13
  106963. };
  106964. A._selectorPseudoIsSuperselector___closure2.prototype = {
  106965. call$1(simple1) {
  106966. var t1;
  106967. if (simple1 instanceof A.IDSelector0)
  106968. t1 = this.simple2.name !== simple1.name;
  106969. else
  106970. t1 = false;
  106971. return t1;
  106972. },
  106973. $signature: 13
  106974. };
  106975. A._selectorPseudoIsSuperselector_closure11.prototype = {
  106976. call$1(selector2) {
  106977. var t1 = B.C_ListEquality.equals$2(0, this.selector1.components, selector2.components);
  106978. return t1;
  106979. },
  106980. $signature: 73
  106981. };
  106982. A._selectorPseudoIsSuperselector_closure12.prototype = {
  106983. call$1(pseudo2) {
  106984. var t1, selector2;
  106985. if (!(pseudo2 instanceof A.PseudoSelector0))
  106986. return false;
  106987. t1 = this.pseudo1;
  106988. if (pseudo2.name !== t1.name)
  106989. return false;
  106990. if (pseudo2.argument != t1.argument)
  106991. return false;
  106992. selector2 = pseudo2.selector;
  106993. if (selector2 == null)
  106994. return false;
  106995. return A.listIsSuperselector0(this.selector1.components, selector2.components);
  106996. },
  106997. $signature: 13
  106998. };
  106999. A._selectorPseudoArgs_closure1.prototype = {
  107000. call$1(pseudo) {
  107001. return pseudo.isClass === this.isClass && pseudo.name === this.name;
  107002. },
  107003. $signature: 483
  107004. };
  107005. A._selectorPseudoArgs_closure2.prototype = {
  107006. call$1(pseudo) {
  107007. return pseudo.selector;
  107008. },
  107009. $signature: 484
  107010. };
  107011. A.globalFunctions_closure0.prototype = {
  107012. call$1($arguments) {
  107013. var t1 = J.getInterceptor$asx($arguments);
  107014. return t1.$index($arguments, 0).get$isTruthy() ? t1.$index($arguments, 1) : t1.$index($arguments, 2);
  107015. },
  107016. $signature: 3
  107017. };
  107018. A.GamutMapMethod0.prototype = {
  107019. toString$0(_) {
  107020. return this.name;
  107021. }
  107022. };
  107023. A.HslColorSpace0.prototype = {
  107024. get$isBoundedInternal() {
  107025. return true;
  107026. },
  107027. get$isLegacyInternal() {
  107028. return true;
  107029. },
  107030. get$isPolarInternal() {
  107031. return true;
  107032. },
  107033. convert$5(dest, hue, saturation, lightness, alpha) {
  107034. var t1 = hue == null,
  107035. scaledHue = B.JSNumber_methods.$mod((t1 ? 0 : hue) / 360, 1),
  107036. t2 = saturation == null,
  107037. scaledSaturation = (t2 ? 0 : saturation) / 100,
  107038. t3 = lightness == null,
  107039. scaledLightness = (t3 ? 0 : lightness) / 100,
  107040. m2 = scaledLightness <= 0.5 ? scaledLightness * (scaledSaturation + 1) : scaledLightness + scaledSaturation - scaledLightness * scaledSaturation,
  107041. m1 = scaledLightness * 2 - m2;
  107042. 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);
  107043. }
  107044. };
  107045. A.HwbColorSpace0.prototype = {
  107046. get$isBoundedInternal() {
  107047. return true;
  107048. },
  107049. get$isLegacyInternal() {
  107050. return true;
  107051. },
  107052. get$isPolarInternal() {
  107053. return true;
  107054. },
  107055. convert$5(dest, hue, whiteness, blackness, alpha) {
  107056. var t3, t1 = {},
  107057. t2 = hue == null,
  107058. scaledHue = B.JSNumber_methods.$mod(t2 ? 0 : hue, 360) / 360,
  107059. scaledWhiteness = t1.scaledWhiteness = (whiteness == null ? 0 : whiteness) / 100,
  107060. scaledBlackness = (blackness == null ? 0 : blackness) / 100,
  107061. sum = scaledWhiteness + scaledBlackness;
  107062. if (sum > 1) {
  107063. t3 = t1.scaledWhiteness = scaledWhiteness / sum;
  107064. scaledBlackness /= sum;
  107065. } else
  107066. t3 = scaledWhiteness;
  107067. t3 = new A.HwbColorSpace_convert_toRgb0(t1, 1 - t3 - scaledBlackness);
  107068. 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);
  107069. }
  107070. };
  107071. A.HwbColorSpace_convert_toRgb0.prototype = {
  107072. call$1(hue) {
  107073. return A.hueToRgb0(0, 1, hue) * this.factor + this._box_0.scaledWhiteness;
  107074. },
  107075. $signature: 16
  107076. };
  107077. A.IDSelector0.prototype = {
  107078. get$specificity() {
  107079. return A._asInt(Math.pow(A.SimpleSelector0.prototype.get$specificity.call(this), 2));
  107080. },
  107081. accept$1$1(visitor) {
  107082. return visitor.visitIDSelector$1(this);
  107083. },
  107084. accept$1(visitor) {
  107085. return this.accept$1$1(visitor, type$.dynamic);
  107086. },
  107087. addSuffix$1(suffix) {
  107088. return new A.IDSelector0(this.name + suffix, this.span);
  107089. },
  107090. unify$1(compound) {
  107091. if (B.JSArray_methods.any$1(compound, new A.IDSelector_unify_closure0(this)))
  107092. return null;
  107093. return this.super$SimpleSelector$unify0(compound);
  107094. },
  107095. $eq(_, other) {
  107096. if (other == null)
  107097. return false;
  107098. return other instanceof A.IDSelector0 && other.name === this.name;
  107099. },
  107100. get$hashCode(_) {
  107101. return B.JSString_methods.get$hashCode(this.name);
  107102. }
  107103. };
  107104. A.IDSelector_unify_closure0.prototype = {
  107105. call$1(simple) {
  107106. var t1;
  107107. if (simple instanceof A.IDSelector0)
  107108. t1 = this.$this.name !== simple.name;
  107109. else
  107110. t1 = false;
  107111. return t1;
  107112. },
  107113. $signature: 13
  107114. };
  107115. A.IfExpression0.prototype = {
  107116. accept$1$1(visitor) {
  107117. return visitor.visitIfExpression$1(0, this);
  107118. },
  107119. accept$1(visitor) {
  107120. return this.accept$1$1(visitor, type$.dynamic);
  107121. },
  107122. toString$0(_) {
  107123. return "if" + this.$arguments.toString$0(0);
  107124. },
  107125. get$span(receiver) {
  107126. return this.span;
  107127. }
  107128. };
  107129. A.IfRule0.prototype = {
  107130. accept$1$1(visitor) {
  107131. return visitor.visitIfRule$1(0, this);
  107132. },
  107133. accept$1(visitor) {
  107134. return this.accept$1$1(visitor, type$.dynamic);
  107135. },
  107136. toString$0(_) {
  107137. var result = A.ListExtensions_mapIndexed(this.clauses, new A.IfRule_toString_closure0(), type$.IfClause_2, type$.String).join$1(0, " "),
  107138. lastClause = this.lastClause;
  107139. return lastClause != null ? result + (" " + lastClause.toString$0(0)) : result;
  107140. },
  107141. get$span(receiver) {
  107142. return this.span;
  107143. }
  107144. };
  107145. A.IfRule_toString_closure0.prototype = {
  107146. call$2(index, clause) {
  107147. var t1 = index === 0 ? "if" : "else if";
  107148. return "@" + t1 + " " + clause.expression.toString$0(0) + " {" + B.JSArray_methods.join$1(clause.children, " ") + "}";
  107149. },
  107150. $signature: 485
  107151. };
  107152. A.IfRuleClause0.prototype = {};
  107153. A.IfRuleClause$__closure0.prototype = {
  107154. call$1(child) {
  107155. var t1;
  107156. $label0$0: {
  107157. if (child instanceof A.VariableDeclaration0 || child instanceof A.FunctionRule0 || child instanceof A.MixinRule0) {
  107158. t1 = true;
  107159. break $label0$0;
  107160. }
  107161. if (child instanceof A.ImportRule0) {
  107162. t1 = B.JSArray_methods.any$1(child.imports, new A.IfRuleClause$___closure0());
  107163. break $label0$0;
  107164. }
  107165. t1 = false;
  107166. break $label0$0;
  107167. }
  107168. return t1;
  107169. },
  107170. $signature: 246
  107171. };
  107172. A.IfRuleClause$___closure0.prototype = {
  107173. call$1($import) {
  107174. return $import instanceof A.DynamicImport0;
  107175. },
  107176. $signature: 247
  107177. };
  107178. A.IfClause0.prototype = {
  107179. toString$0(_) {
  107180. return "@if " + this.expression.toString$0(0) + " {" + B.JSArray_methods.join$1(this.children, " ") + "}";
  107181. }
  107182. };
  107183. A.ElseClause0.prototype = {
  107184. toString$0(_) {
  107185. return "@else {" + B.JSArray_methods.join$1(this.children, " ") + "}";
  107186. }
  107187. };
  107188. A.ImmutableList0.prototype = {};
  107189. A.ImmutableMap0.prototype = {};
  107190. A.immutableMapToDartMap_closure.prototype = {
  107191. call$3(value, key, _) {
  107192. this.dartMap.$indexSet(0, key, value);
  107193. },
  107194. "call*": "call$3",
  107195. $requiredArgCount: 3,
  107196. $signature: 488
  107197. };
  107198. A.NodeImporter.prototype = {
  107199. loadRelative$3(url, previous, forImport) {
  107200. var t1, t2, _null = null;
  107201. if ($.$get$url().style.rootLength$1(url) > 0) {
  107202. if (!B.JSString_methods.startsWith$1(url, "/") && !B.JSString_methods.startsWith$1(url, "file:"))
  107203. return _null;
  107204. return this._tryPath$2($.$get$context().style.pathFromUri$1(A._parseUri(url)), forImport);
  107205. }
  107206. if ((previous == null ? _null : previous.get$scheme()) !== "file")
  107207. return _null;
  107208. t1 = $.$get$context();
  107209. previous.toString;
  107210. t2 = t1.style;
  107211. return this._tryPath$2(A.join(t1.dirname$1(t2.pathFromUri$1(A._parseUri(previous))), t2.pathFromUri$1(A._parseUri(url)), _null), forImport);
  107212. },
  107213. load$3(_, url, previous, forImport) {
  107214. var t1, t2, _i, _0_0, _this = this,
  107215. previousString = _this._previousToString$1(previous);
  107216. for (t1 = _this._implementation$_importers, t2 = t1.length, _i = 0; _i < t2; ++_i) {
  107217. _0_0 = A.wrapJSExceptions(new A.NodeImporter_load_closure(_this, t1[_i], forImport, url, previousString));
  107218. if (_0_0 != null)
  107219. return _this._handleImportResult$4(url, previous, _0_0, forImport);
  107220. }
  107221. return _this._resolveLoadPathFromUrl$2(A.Uri_parse(url), forImport);
  107222. },
  107223. loadAsync$3(url, previous, forImport) {
  107224. return this.loadAsync$body$NodeImporter(url, previous, forImport);
  107225. },
  107226. loadAsync$body$NodeImporter(url, previous, forImport) {
  107227. var $async$goto = 0,
  107228. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Record_2_String_and_String),
  107229. $async$returnValue, $async$self = this, t1, t2, _i, _0_0, previousString;
  107230. var $async$loadAsync$3 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  107231. if ($async$errorCode === 1)
  107232. return A._asyncRethrow($async$result, $async$completer);
  107233. while (true)
  107234. switch ($async$goto) {
  107235. case 0:
  107236. // Function start
  107237. previousString = $async$self._previousToString$1(previous);
  107238. t1 = $async$self._implementation$_importers, t2 = t1.length, _i = 0;
  107239. case 3:
  107240. // for condition
  107241. if (!(_i < t2)) {
  107242. // goto after for
  107243. $async$goto = 5;
  107244. break;
  107245. }
  107246. $async$goto = 6;
  107247. return A._asyncAwait($async$self._callImporterAsync$4(t1[_i], url, previousString, forImport), $async$loadAsync$3);
  107248. case 6:
  107249. // returning from await.
  107250. _0_0 = $async$result;
  107251. if (_0_0 != null) {
  107252. $async$returnValue = $async$self._handleImportResult$4(url, previous, _0_0, forImport);
  107253. // goto return
  107254. $async$goto = 1;
  107255. break;
  107256. }
  107257. case 4:
  107258. // for update
  107259. ++_i;
  107260. // goto for condition
  107261. $async$goto = 3;
  107262. break;
  107263. case 5:
  107264. // after for
  107265. $async$returnValue = $async$self._resolveLoadPathFromUrl$2(A.Uri_parse(url), forImport);
  107266. // goto return
  107267. $async$goto = 1;
  107268. break;
  107269. case 1:
  107270. // return
  107271. return A._asyncReturn($async$returnValue, $async$completer);
  107272. }
  107273. });
  107274. return A._asyncStartSync($async$loadAsync$3, $async$completer);
  107275. },
  107276. _previousToString$1(previous) {
  107277. var t1;
  107278. $label0$0: {
  107279. if (previous == null) {
  107280. t1 = "stdin";
  107281. break $label0$0;
  107282. }
  107283. if ("file" === previous.get$scheme()) {
  107284. t1 = $.$get$context().style.pathFromUri$1(A._parseUri(previous));
  107285. break $label0$0;
  107286. }
  107287. t1 = previous.toString$0(0);
  107288. break $label0$0;
  107289. }
  107290. return t1;
  107291. },
  107292. _resolveLoadPathFromUrl$2(url, forImport) {
  107293. return url.get$scheme() === "" || url.get$scheme() === "file" ? this._resolveLoadPath$2($.$get$context().style.pathFromUri$1(A._parseUri(url)), forImport) : null;
  107294. },
  107295. _resolveLoadPath$2(path, forImport) {
  107296. var t1, t2, _i, t3, _1_0, _null = null,
  107297. _0_0 = this._tryPath$2(A.absolute(path, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null), forImport);
  107298. if (_0_0 != null)
  107299. return _0_0;
  107300. for (t1 = this._includePaths, t2 = t1.length, _i = 0; _i < t2; ++_i) {
  107301. t3 = A.join(t1[_i], path, _null);
  107302. _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);
  107303. if (_1_0 != null)
  107304. return _1_0;
  107305. }
  107306. return _null;
  107307. },
  107308. _tryPath$2(path, forImport) {
  107309. var t1 = forImport ? A.inImportRule(new A.NodeImporter__tryPath_closure(path), type$.nullable_String) : A.resolveImportPath0(path);
  107310. return A.NullableExtension_andThen0(t1, new A.NodeImporter__tryPath_closure0());
  107311. },
  107312. _handleImportResult$4(url, previous, value, forImport) {
  107313. var t1, file, contents, t2, resolved;
  107314. if (value instanceof self.Error)
  107315. throw A.wrapException(value);
  107316. if (!type$.NodeImporterResult._is(value))
  107317. return null;
  107318. t1 = J.getInterceptor$x(value);
  107319. file = t1.get$file(value);
  107320. contents = t1.get$contents(value);
  107321. t1 = contents == null;
  107322. t2 = !t1;
  107323. if (t2 && A._asString(new self.Function("value", "return typeof value").call$1(contents)) !== "string")
  107324. A.jsThrow(new A.ArgumentError(true, contents, "contents", "must be a string but was: " + A.jsType(contents)));
  107325. if (file == null)
  107326. return new A._Record_2(t1 ? "" : contents, url);
  107327. else if (t2)
  107328. return new A._Record_2(contents, $.$get$context().toUri$1(file).toString$0(0));
  107329. else {
  107330. resolved = this.loadRelative$3($.$get$context().toUri$1(file).toString$0(0), previous, forImport);
  107331. if (resolved == null)
  107332. resolved = this._resolveLoadPath$2(file, forImport);
  107333. if (resolved != null)
  107334. return resolved;
  107335. throw A.wrapException("Can't find stylesheet to import.");
  107336. }
  107337. },
  107338. _callImporterAsync$4(importer, url, previousString, forImport) {
  107339. return this._callImporterAsync$body$NodeImporter(importer, url, previousString, forImport);
  107340. },
  107341. _callImporterAsync$body$NodeImporter(importer, url, previousString, forImport) {
  107342. var $async$goto = 0,
  107343. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Object),
  107344. $async$returnValue, $async$self = this, t1, result;
  107345. var $async$_callImporterAsync$4 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  107346. if ($async$errorCode === 1)
  107347. return A._asyncRethrow($async$result, $async$completer);
  107348. while (true)
  107349. switch ($async$goto) {
  107350. case 0:
  107351. // Function start
  107352. t1 = new A._Future($.Zone__current, type$._Future_Object);
  107353. result = A.wrapJSExceptions(new A.NodeImporter__callImporterAsync_closure($async$self, importer, forImport, url, previousString, new A._AsyncCompleter(t1, type$._AsyncCompleter_Object)));
  107354. $async$goto = A._asBool($.$get$_isUndefined().call$1(result)) ? 3 : 4;
  107355. break;
  107356. case 3:
  107357. // then
  107358. $async$goto = 5;
  107359. return A._asyncAwait(t1, $async$_callImporterAsync$4);
  107360. case 5:
  107361. // returning from await.
  107362. $async$returnValue = $async$result;
  107363. // goto return
  107364. $async$goto = 1;
  107365. break;
  107366. case 4:
  107367. // join
  107368. $async$returnValue = result;
  107369. // goto return
  107370. $async$goto = 1;
  107371. break;
  107372. case 1:
  107373. // return
  107374. return A._asyncReturn($async$returnValue, $async$completer);
  107375. }
  107376. });
  107377. return A._asyncStartSync($async$_callImporterAsync$4, $async$completer);
  107378. },
  107379. _renderContext$1(fromImport) {
  107380. var context = {options: type$.RenderContextOptions._as(this._implementation$_options), fromImport: fromImport};
  107381. J.set$context$x(J.get$options$x(context), context);
  107382. return context;
  107383. }
  107384. };
  107385. A.NodeImporter_load_closure.prototype = {
  107386. call$0() {
  107387. var _this = this;
  107388. return J.apply$2$x(_this.importer, _this.$this._renderContext$1(_this.forImport), A._setArrayType([_this.url, _this.previousString], type$.JSArray_Object));
  107389. },
  107390. $signature: 36
  107391. };
  107392. A.NodeImporter__tryPath_closure.prototype = {
  107393. call$0() {
  107394. return A.resolveImportPath0(this.path);
  107395. },
  107396. $signature: 45
  107397. };
  107398. A.NodeImporter__tryPath_closure0.prototype = {
  107399. call$1(resolved) {
  107400. return new A._Record_2(A.readFile0(resolved), $.$get$context().toUri$1(resolved).toString$0(0));
  107401. },
  107402. $signature: 489
  107403. };
  107404. A.NodeImporter__callImporterAsync_closure.prototype = {
  107405. call$0() {
  107406. var _this = this;
  107407. 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));
  107408. },
  107409. $signature: 36
  107410. };
  107411. A.ModifiableCssImport0.prototype = {
  107412. accept$1$1(visitor) {
  107413. return visitor.visitCssImport$1(this);
  107414. },
  107415. accept$1(visitor) {
  107416. return this.accept$1$1(visitor, type$.dynamic);
  107417. },
  107418. get$span(receiver) {
  107419. return this.span;
  107420. }
  107421. };
  107422. A.ImportCache0.prototype = {
  107423. canonicalize$4$baseImporter$baseUrl$forImport(_, url, baseImporter, baseUrl, forImport) {
  107424. 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;
  107425. if (A.isBrowser())
  107426. t1 = (baseImporter == null || baseImporter instanceof A.NoOpImporter0) && _this._import_cache$_importers.length === 0;
  107427. else
  107428. t1 = false;
  107429. if (t1)
  107430. throw A.wrapException(string$.Custom);
  107431. if (baseImporter != null && url.get$scheme() === "") {
  107432. resolvedUrl = baseUrl == null ? _null : baseUrl.resolveUri$1(url);
  107433. if (resolvedUrl == null)
  107434. resolvedUrl = url;
  107435. key = new A._Record_3_forImport(baseImporter, resolvedUrl, forImport);
  107436. relativeResult = _this._import_cache$_perImporterCanonicalizeCache.putIfAbsent$2(key, new A.ImportCache_canonicalize_closure0(_this, baseImporter, resolvedUrl, baseUrl, forImport, key, url));
  107437. if (relativeResult != null)
  107438. return relativeResult;
  107439. }
  107440. key = new A._Record_2_forImport(url, forImport);
  107441. t1 = _this._import_cache$_canonicalizeCache;
  107442. if (t1.containsKey$1(key))
  107443. return t1.$index(0, key);
  107444. 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) {
  107445. importer = t2[i];
  107446. perImporterKey = new A._Record_3_forImport(importer, url, forImport);
  107447. if (t4.containsKey$1(perImporterKey)) {
  107448. t7 = t4.$index(0, perImporterKey);
  107449. _1_0 = new A._Record_1(t7 == null ? t5._as(t7) : t7);
  107450. } else
  107451. _1_0 = _null;
  107452. _1_2_isSet = t3._is(_1_0);
  107453. result = _null;
  107454. if (_1_2_isSet) {
  107455. _1_2 = _1_0._0;
  107456. t7 = _1_2 != null;
  107457. if (t7) {
  107458. t6._as(_1_2);
  107459. result = _1_2;
  107460. }
  107461. } else {
  107462. _1_2 = _null;
  107463. t7 = false;
  107464. }
  107465. if (t7)
  107466. return result;
  107467. if (_1_2_isSet)
  107468. t7 = _1_2 == null;
  107469. else
  107470. t7 = false;
  107471. if (t7)
  107472. continue;
  107473. $label0$1: {
  107474. _2_0 = _this._import_cache$_canonicalize$4(importer, url, baseUrl, forImport);
  107475. _2_1 = _2_0._0;
  107476. _2_5_isSet = _2_1 != null;
  107477. _2_5 = _null;
  107478. _2_3 = _null;
  107479. t7 = false;
  107480. if (_2_5_isSet) {
  107481. result = _2_1 == null ? t6._as(_2_1) : _2_1;
  107482. _2_3 = _2_0._1;
  107483. t7 = _2_3;
  107484. _2_5 = t7;
  107485. t7 = t7 && cacheable;
  107486. } else
  107487. result = _null;
  107488. if (t7) {
  107489. t1.$indexSet(0, key, result);
  107490. return result;
  107491. }
  107492. if (_2_5_isSet) {
  107493. t7 = _2_5;
  107494. _2_3_isSet = _2_5_isSet;
  107495. } else {
  107496. _2_3 = _2_0._1;
  107497. t7 = _2_3;
  107498. _2_3_isSet = true;
  107499. }
  107500. t7 = t7 && !cacheable;
  107501. if (t7) {
  107502. t4.$indexSet(0, perImporterKey, _2_1);
  107503. if (_2_1 != null)
  107504. return _2_1;
  107505. break $label0$1;
  107506. }
  107507. t7 = !(_2_3_isSet ? _2_3 : _2_0._1);
  107508. if (t7) {
  107509. if (cacheable) {
  107510. for (j = 0; j < i; ++j)
  107511. t4.$indexSet(0, new A._Record_3_forImport(t2[j], url, forImport), _null);
  107512. cacheable = false;
  107513. }
  107514. if (_2_1 != null)
  107515. return _2_1;
  107516. }
  107517. }
  107518. }
  107519. if (cacheable)
  107520. t1.$indexSet(0, key, _null);
  107521. return _null;
  107522. },
  107523. _import_cache$_canonicalize$4(importer, url, baseUrl, forImport) {
  107524. var passContainingUrl, canonicalizeContext, t1, result, cacheable;
  107525. if (baseUrl != null)
  107526. passContainingUrl = url.get$scheme() === "" || importer.isNonCanonicalScheme$1(url.get$scheme());
  107527. else
  107528. passContainingUrl = false;
  107529. canonicalizeContext = new A.CanonicalizeContext0(forImport, passContainingUrl ? baseUrl : null);
  107530. t1 = type$.nullable_Object;
  107531. result = A.runZoned(new A.ImportCache__canonicalize_closure0(importer, url), A.LinkedHashMap_LinkedHashMap$_literal([B.Symbol__canonicalizeContext, canonicalizeContext], t1, t1), type$.nullable_Uri);
  107532. cacheable = !passContainingUrl || !canonicalizeContext._canonicalize_context$_wasContainingUrlAccessed;
  107533. if (result == null)
  107534. return new A._Record_2(null, cacheable);
  107535. if (result.get$scheme() !== "" && importer.isNonCanonicalScheme$1(result.get$scheme()))
  107536. throw A.wrapException("Importer " + importer.toString$0(0) + " canonicalized " + url.toString$0(0) + " to " + result.toString$0(0) + string$.x2c_whicu);
  107537. return new A._Record_2(new A._Record_3_originalUrl(importer, result, url), cacheable);
  107538. },
  107539. importCanonical$3$originalUrl(importer, canonicalUrl, originalUrl) {
  107540. return this._import_cache$_importCache.putIfAbsent$2(canonicalUrl, new A.ImportCache_importCanonical_closure0(this, importer, canonicalUrl, originalUrl));
  107541. },
  107542. humanize$1(canonicalUrl) {
  107543. var t1 = this._import_cache$_canonicalizeCache,
  107544. t2 = type$.NonNullsIterable_Record_3_Importer_and_Uri_and_Uri_originalUrl_2;
  107545. 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));
  107546. return t2 == null ? canonicalUrl : t2;
  107547. },
  107548. sourceMapUrl$1(_, canonicalUrl) {
  107549. var t1 = this._import_cache$_resultsCache.$index(0, canonicalUrl);
  107550. t1 = t1 == null ? null : t1.get$sourceMapUrl(0);
  107551. return t1 == null ? canonicalUrl : t1;
  107552. }
  107553. };
  107554. A.ImportCache_canonicalize_closure0.prototype = {
  107555. call$0() {
  107556. var _this = this,
  107557. t1 = _this.$this,
  107558. t2 = _this.baseUrl,
  107559. _0_0 = t1._import_cache$_canonicalize$4(_this.baseImporter, _this.resolvedUrl, t2, _this.forImport);
  107560. if (t2 != null)
  107561. t1._import_cache$_nonCanonicalRelativeUrls.$indexSet(0, _this.key, _this.url);
  107562. return _0_0._0;
  107563. },
  107564. $signature: 490
  107565. };
  107566. A.ImportCache__canonicalize_closure0.prototype = {
  107567. call$0() {
  107568. return this.importer.canonicalize$1(0, this.url);
  107569. },
  107570. $signature: 144
  107571. };
  107572. A.ImportCache_importCanonical_closure0.prototype = {
  107573. call$0() {
  107574. var t3, _this = this,
  107575. t1 = Date.now(),
  107576. t2 = _this.canonicalUrl,
  107577. result = _this.importer.load$1(0, t2);
  107578. if (result == null)
  107579. return null;
  107580. t3 = _this.$this;
  107581. t3._import_cache$_loadTimes.$indexSet(0, t2, new A.DateTime(t1, 0, false));
  107582. t3._import_cache$_resultsCache.$indexSet(0, t2, result);
  107583. t3 = result.contents;
  107584. t1 = result.syntax;
  107585. t2 = _this.originalUrl.resolveUri$1(t2);
  107586. return A.Stylesheet_Stylesheet$parse0(t3, t1, t2);
  107587. },
  107588. $signature: 491
  107589. };
  107590. A.ImportCache_humanize_closure3.prototype = {
  107591. call$1(result) {
  107592. return result._1.$eq(0, this.canonicalUrl);
  107593. },
  107594. $signature: 492
  107595. };
  107596. A.ImportCache_humanize_closure4.prototype = {
  107597. call$1(result) {
  107598. return result._2;
  107599. },
  107600. $signature: 493
  107601. };
  107602. A.ImportCache_humanize_closure5.prototype = {
  107603. call$1(url) {
  107604. return url.get$path(url).length;
  107605. },
  107606. $signature: 102
  107607. };
  107608. A.ImportCache_humanize_closure6.prototype = {
  107609. call$1(url) {
  107610. var t1 = $.$get$url(),
  107611. t2 = this.canonicalUrl;
  107612. return url.resolve$1(0, A.ParsedPath_ParsedPath$parse(t2.get$path(t2), t1.style).get$basename());
  107613. },
  107614. $signature: 48
  107615. };
  107616. A.ImportRule0.prototype = {
  107617. accept$1$1(visitor) {
  107618. return visitor.visitImportRule$1(0, this);
  107619. },
  107620. accept$1(visitor) {
  107621. return this.accept$1$1(visitor, type$.dynamic);
  107622. },
  107623. toString$0(_) {
  107624. return "@import " + B.JSArray_methods.join$1(this.imports, ", ") + ";";
  107625. },
  107626. get$span(receiver) {
  107627. return this.span;
  107628. }
  107629. };
  107630. A.JSImporter.prototype = {};
  107631. A.JSImporterResult.prototype = {};
  107632. A.Importer0.prototype = {
  107633. isNonCanonicalScheme$1(scheme) {
  107634. return false;
  107635. }
  107636. };
  107637. A.NodeImporterResult0.prototype = {};
  107638. A.IncludeRule0.prototype = {
  107639. get$spanWithoutContent() {
  107640. var t2, t3,
  107641. t1 = this.span;
  107642. if (!(this.content == null)) {
  107643. t2 = t1.file;
  107644. t3 = this.$arguments.span;
  107645. t3 = A.SpanExtensions_trimRight0(A.SpanExtensions_trimLeft0(t2.span$2(0, A.FileLocation$_(t2, t1._file$_start).offset, t3.get$end(t3).offset)));
  107646. t1 = t3;
  107647. }
  107648. return t1;
  107649. },
  107650. get$nameSpan() {
  107651. var startSpan, scanner, _null = null,
  107652. t1 = this.span,
  107653. t2 = t1._file$_start,
  107654. t3 = t1._end,
  107655. t4 = t1.file._decodedChars;
  107656. if (B.JSString_methods.startsWith$1(A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t4, t2, t3), 0, _null), "+"))
  107657. startSpan = A.SpanExtensions_trimLeft0(A.FileSpanExtension_subspan(t1, 1, _null));
  107658. else {
  107659. scanner = A.StringScanner$(A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t4, t2, t3), 0, _null), _null, _null);
  107660. scanner.expectChar$1(64);
  107661. A._scanIdentifier0(scanner);
  107662. startSpan = A.SpanExtensions_trimLeft0(A.FileSpanExtension_subspan(t1, scanner._string_scanner$_position, _null));
  107663. }
  107664. return A.SpanExtensions_initialIdentifier0(this.namespace != null ? A.FileSpanExtension_subspan(A.SpanExtensions_withoutInitialIdentifier0(startSpan), 1, _null) : startSpan);
  107665. },
  107666. accept$1$1(visitor) {
  107667. return visitor.visitIncludeRule$1(0, this);
  107668. },
  107669. accept$1(visitor) {
  107670. return this.accept$1$1(visitor, type$.dynamic);
  107671. },
  107672. toString$0(_) {
  107673. var t2, _this = this,
  107674. t1 = _this.namespace;
  107675. t1 = t1 != null ? "@include " + (t1 + ".") : "@include ";
  107676. t1 += _this.name;
  107677. t2 = _this.$arguments;
  107678. if (!t2.get$isEmpty(0))
  107679. t1 += "(" + t2.toString$0(0) + ")";
  107680. t2 = _this.content;
  107681. t1 += t2 == null ? ";" : " " + t2.toString$0(0);
  107682. return t1.charCodeAt(0) == 0 ? t1 : t1;
  107683. },
  107684. get$span(receiver) {
  107685. return this.span;
  107686. }
  107687. };
  107688. A.InterpolatedFunctionExpression0.prototype = {
  107689. accept$1$1(visitor) {
  107690. return visitor.visitInterpolatedFunctionExpression$1(0, this);
  107691. },
  107692. accept$1(visitor) {
  107693. return this.accept$1$1(visitor, type$.dynamic);
  107694. },
  107695. toString$0(_) {
  107696. return this.name.toString$0(0) + this.$arguments.toString$0(0);
  107697. },
  107698. get$span(receiver) {
  107699. return this.span;
  107700. }
  107701. };
  107702. A.Interpolation0.prototype = {
  107703. get$asPlain() {
  107704. var _0_1, t1, _0_6_isSet, _0_6, _0_60, first,
  107705. _0_0 = this.contents;
  107706. $label0$0: {
  107707. _0_1 = _0_0.length;
  107708. if (_0_1 <= 0) {
  107709. t1 = "";
  107710. break $label0$0;
  107711. }
  107712. _0_6_isSet = _0_1 === 1;
  107713. if (_0_6_isSet) {
  107714. _0_6 = _0_0[0];
  107715. _0_60 = _0_6;
  107716. t1 = typeof _0_6 == "string";
  107717. _0_6 = _0_60;
  107718. } else {
  107719. _0_6 = null;
  107720. t1 = false;
  107721. }
  107722. if (t1) {
  107723. first = A._asString(_0_6_isSet ? _0_6 : _0_0[0]);
  107724. t1 = first;
  107725. break $label0$0;
  107726. }
  107727. t1 = null;
  107728. break $label0$0;
  107729. }
  107730. return t1;
  107731. },
  107732. get$initialPlain() {
  107733. var _0_4_isSet, _0_4, _0_40, t1, first,
  107734. _0_0 = this.contents;
  107735. $label0$0: {
  107736. _0_4_isSet = _0_0.length >= 1;
  107737. if (_0_4_isSet) {
  107738. _0_4 = _0_0[0];
  107739. _0_40 = _0_4;
  107740. t1 = typeof _0_4 == "string";
  107741. _0_4 = _0_40;
  107742. } else {
  107743. _0_4 = null;
  107744. t1 = false;
  107745. }
  107746. if (t1) {
  107747. first = A._asString(_0_4_isSet ? _0_4 : _0_0[0]);
  107748. t1 = first;
  107749. break $label0$0;
  107750. }
  107751. t1 = "";
  107752. break $label0$0;
  107753. }
  107754. return t1;
  107755. },
  107756. spanForElement$1(index) {
  107757. var t1, t2, t3, t4, t5, _this = this;
  107758. $label0$0: {
  107759. if (typeof _this.contents[index] == "string") {
  107760. t1 = _this.span;
  107761. t2 = t1.get$file(t1);
  107762. if (index === 0)
  107763. t3 = t1.get$start(t1);
  107764. else {
  107765. t3 = _this.spans[index - 1];
  107766. t3 = t3.get$end(t3);
  107767. }
  107768. t4 = index + 1;
  107769. t5 = _this.spans;
  107770. if (t4 === t5.length)
  107771. t1 = t1.get$end(t1);
  107772. else {
  107773. t1 = t5[t4];
  107774. t1 = t1.get$start(t1);
  107775. }
  107776. t1 = t2.span$2(0, t3.offset, t1.offset);
  107777. break $label0$0;
  107778. }
  107779. t1 = _this.spans[index];
  107780. t1.toString;
  107781. break $label0$0;
  107782. }
  107783. return t1;
  107784. },
  107785. Interpolation$30(contents, spans, span) {
  107786. var t1, t2, t3, t4, i, t5, isString, _s5_ = "spans",
  107787. _s8_ = "contents";
  107788. if (spans.length !== J.get$length$asx(contents))
  107789. throw A.wrapException(A.ArgumentError$value(this.spans, _s5_, "Must be the same length as contents."));
  107790. for (t1 = this.contents, t2 = t1.length, t3 = spans.length, t4 = this.spans, i = 0; i < t2; ++i) {
  107791. t5 = t1[i];
  107792. isString = typeof t5 == "string";
  107793. if (!isString && !(t5 instanceof A.Expression0))
  107794. throw A.wrapException(A.ArgumentError$value(t1, _s8_, "May only contain Strings or Expressions."));
  107795. else if (isString) {
  107796. if (i !== 0 && typeof t1[i - 1] == "string")
  107797. throw A.wrapException(A.ArgumentError$value(t1, _s8_, "May not contain adjacent Strings."));
  107798. else if (i < t3 && t4[i] != null)
  107799. throw A.wrapException(A.ArgumentError$value(t4, _s5_, string$.May_no + i + ")."));
  107800. } else if (i >= t3 || t4[i] == null)
  107801. throw A.wrapException(A.ArgumentError$value(t4, _s5_, string$.Must_n + i + ")."));
  107802. }
  107803. },
  107804. toString$0(_) {
  107805. var t1 = this.contents;
  107806. return new A.MappedListIterable(t1, new A.Interpolation_toString_closure0(), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,String>")).join$0(0);
  107807. },
  107808. $isAstNode0: 1,
  107809. $isSassNode: 1,
  107810. get$span(receiver) {
  107811. return this.span;
  107812. }
  107813. };
  107814. A.Interpolation_toString_closure0.prototype = {
  107815. call$1(value) {
  107816. return typeof value == "string" ? value : "#{" + A.S(value) + "}";
  107817. },
  107818. $signature: 132
  107819. };
  107820. A.SupportsInterpolation0.prototype = {
  107821. toInterpolation$0() {
  107822. var t1 = this.span;
  107823. return A.Interpolation$0(A._setArrayType([this.expression], type$.JSArray_Object), A._setArrayType([t1], type$.JSArray_nullable_FileSpan), t1);
  107824. },
  107825. withSpan$1(span) {
  107826. return new A.SupportsInterpolation0(this.expression, span);
  107827. },
  107828. toString$0(_) {
  107829. return "#{" + this.expression.toString$0(0) + "}";
  107830. },
  107831. $isAstNode0: 1,
  107832. $isSassNode: 1,
  107833. $isSupportsCondition: 1,
  107834. get$span(receiver) {
  107835. return this.span;
  107836. }
  107837. };
  107838. A.InterpolationBuffer0.prototype = {
  107839. writeCharCode$1(character) {
  107840. var t1 = this._interpolation_buffer0$_text,
  107841. t2 = A.Primitives_stringFromCharCode(character);
  107842. t1._contents += t2;
  107843. return null;
  107844. },
  107845. add$2(_, expression, span) {
  107846. this._interpolation_buffer0$_flushText$0();
  107847. this._interpolation_buffer0$_contents.push(expression);
  107848. this._interpolation_buffer0$_spans.push(span);
  107849. },
  107850. addInterpolation$1(interpolation) {
  107851. var spansToAdd, _0_4_isSet, _0_4, _0_40, first, rest, t2, t3, _this = this,
  107852. toAdd = interpolation.contents,
  107853. t1 = toAdd.length;
  107854. if (t1 === 0)
  107855. return;
  107856. spansToAdd = interpolation.spans;
  107857. _0_4_isSet = t1 >= 1;
  107858. if (_0_4_isSet) {
  107859. _0_4 = toAdd[0];
  107860. _0_40 = _0_4;
  107861. t1 = typeof _0_4 == "string";
  107862. _0_4 = _0_40;
  107863. } else {
  107864. _0_4 = null;
  107865. t1 = false;
  107866. }
  107867. if (t1) {
  107868. first = A._asString(_0_4_isSet ? _0_4 : toAdd[0]);
  107869. rest = B.JSArray_methods.sublist$1(toAdd, 1);
  107870. t1 = _this._interpolation_buffer0$_text;
  107871. t1._contents += first;
  107872. spansToAdd = A.SubListIterable$(spansToAdd, 1, null, A._arrayInstanceType(spansToAdd)._precomputed1);
  107873. toAdd = rest;
  107874. }
  107875. _this._interpolation_buffer0$_flushText$0();
  107876. t1 = _this._interpolation_buffer0$_contents;
  107877. B.JSArray_methods.addAll$1(t1, toAdd);
  107878. t2 = _this._interpolation_buffer0$_spans;
  107879. B.JSArray_methods.addAll$1(t2, spansToAdd);
  107880. if (typeof B.JSArray_methods.get$last(t1) == "string") {
  107881. t3 = _this._interpolation_buffer0$_text;
  107882. t1 = A.S(t1.pop());
  107883. t3._contents += t1;
  107884. t2.pop();
  107885. }
  107886. },
  107887. _interpolation_buffer0$_flushText$0() {
  107888. var t1 = this._interpolation_buffer0$_text,
  107889. t2 = t1._contents;
  107890. if (t2.length === 0)
  107891. return;
  107892. this._interpolation_buffer0$_contents.push(t2.charCodeAt(0) == 0 ? t2 : t2);
  107893. this._interpolation_buffer0$_spans.push(null);
  107894. t1._contents = "";
  107895. },
  107896. interpolation$1(span) {
  107897. var t1 = A.List_List$_of(this._interpolation_buffer0$_contents, type$.Object),
  107898. t2 = this._interpolation_buffer0$_text,
  107899. t3 = t2._contents;
  107900. if (t3.length !== 0)
  107901. t1.push(t3.charCodeAt(0) == 0 ? t3 : t3);
  107902. t3 = A.List_List$_of(this._interpolation_buffer0$_spans, type$.nullable_FileSpan);
  107903. if (t2._contents.length !== 0)
  107904. t3.push(null);
  107905. return A.Interpolation$0(t1, t3, span);
  107906. },
  107907. toString$0(_) {
  107908. var t1, t2, _i, t3, element;
  107909. for (t1 = this._interpolation_buffer0$_contents, t2 = t1.length, _i = 0, t3 = ""; _i < t1.length; t1.length === t2 || (0, A.throwConcurrentModificationError)(t1), ++_i) {
  107910. element = t1[_i];
  107911. t3 = typeof element == "string" ? t3 + element : t3 + "#{" + A.S(element) + A.Primitives_stringFromCharCode(125);
  107912. }
  107913. t1 = t3 + this._interpolation_buffer0$_text.toString$0(0);
  107914. return t1.charCodeAt(0) == 0 ? t1 : t1;
  107915. }
  107916. };
  107917. A.InterpolationMap0.prototype = {
  107918. mapException$1(error) {
  107919. var source, startIndex, endIndex, t3, t4, _this = this,
  107920. target = error.get$span(error),
  107921. t1 = _this._interpolation_map$_interpolation,
  107922. t2 = t1.contents;
  107923. if (t2.length === 0)
  107924. return new A.SourceSpanFormatException(error.get$source(), error._span_exception$_message, t1.span);
  107925. source = _this.mapSpan$1(target);
  107926. startIndex = _this._interpolation_map$_indexInContents$1(target.get$start(target));
  107927. endIndex = _this._interpolation_map$_indexInContents$1(target.get$end(target));
  107928. t1 = error._span_exception$_message;
  107929. if (!A.SubListIterable$(t2, startIndex, null, A._arrayInstanceType(t2)._precomputed1).take$1(0, endIndex - startIndex + 1).any$1(0, new A.InterpolationMap_mapException_closure0()))
  107930. return new A.SourceSpanFormatException(error.get$source(), t1, source);
  107931. else {
  107932. t2 = type$.SourceSpan;
  107933. t3 = type$.String;
  107934. t4 = A.LinkedHashMap_LinkedHashMap$_literal([target, "error in interpolated output"], t2, t3);
  107935. return new A.MultiSourceSpanFormatException(error.get$source(), "", A.ConstantMap_ConstantMap$from(t4, t2, t3), t1, source);
  107936. }
  107937. },
  107938. mapSpan$1(target) {
  107939. var _0_10, t1, _0_2_isSet, _0_20, t2, start, t3, end, _this = this, _null = null,
  107940. _0_1 = _this._interpolation_map$_mapLocation$1(target.get$start(target)),
  107941. _0_2 = _this._interpolation_map$_mapLocation$1(target.get$end(target));
  107942. $label0$0: {
  107943. _0_10 = _0_1;
  107944. t1 = type$.FileSpan;
  107945. _0_2_isSet = t1._is(_0_1);
  107946. _0_20 = _null;
  107947. t2 = false;
  107948. if (_0_2_isSet) {
  107949. start = t1._as(_0_10);
  107950. _0_20 = _0_2;
  107951. t2 = t1._is(_0_2);
  107952. } else
  107953. start = _null;
  107954. if (t2) {
  107955. t1 = start.expand$1(0, t1._as(_0_2_isSet ? _0_20 : _0_2));
  107956. break $label0$0;
  107957. }
  107958. t2 = false;
  107959. if (t1._is(_0_10)) {
  107960. start = t1._as(_0_10);
  107961. if (_0_2_isSet)
  107962. t2 = _0_20;
  107963. else {
  107964. t2 = _0_2;
  107965. _0_20 = t2;
  107966. _0_2_isSet = true;
  107967. }
  107968. t2 = t2 instanceof A.FileLocation;
  107969. } else
  107970. start = _null;
  107971. if (t2) {
  107972. t1 = _0_2_isSet ? _0_20 : _0_2;
  107973. type$.FileLocation._as(t1);
  107974. t2 = _this._interpolation_map$_interpolation.span;
  107975. t1 = t2.get$file(t2).span$2(0, _this._interpolation_map$_expandInterpolationSpanLeft$1(start.get$start(start)), t1.offset);
  107976. break $label0$0;
  107977. }
  107978. t2 = false;
  107979. if (_0_10 instanceof A.FileLocation) {
  107980. t3 = _0_10;
  107981. type$.FileLocation._as(t3);
  107982. if (_0_2_isSet)
  107983. t2 = _0_20;
  107984. else {
  107985. t2 = _0_2;
  107986. _0_20 = t2;
  107987. _0_2_isSet = true;
  107988. }
  107989. t2 = t1._is(t2);
  107990. start = t3;
  107991. } else
  107992. start = _null;
  107993. if (t2) {
  107994. end = t1._as(_0_2_isSet ? _0_20 : _0_2);
  107995. t1 = _this._interpolation_map$_interpolation.span;
  107996. t1 = t1.get$file(t1).span$2(0, start.offset, _this._interpolation_map$_expandInterpolationSpanRight$1(end.get$end(end)));
  107997. break $label0$0;
  107998. }
  107999. t1 = false;
  108000. if (_0_10 instanceof A.FileLocation) {
  108001. t2 = _0_10;
  108002. type$.FileLocation._as(t2);
  108003. if (_0_2_isSet)
  108004. t1 = _0_20;
  108005. else {
  108006. t1 = _0_2;
  108007. _0_20 = t1;
  108008. _0_2_isSet = true;
  108009. }
  108010. t1 = t1 instanceof A.FileLocation;
  108011. start = t2;
  108012. } else
  108013. start = _null;
  108014. if (t1) {
  108015. t1 = _0_2_isSet ? _0_20 : _0_2;
  108016. type$.FileLocation._as(t1);
  108017. t2 = _this._interpolation_map$_interpolation.span;
  108018. t1 = t2.get$file(t2).span$2(0, start.offset, t1.offset);
  108019. break $label0$0;
  108020. }
  108021. t1 = A.throwExpression("[BUG] Unreachable");
  108022. }
  108023. return t1;
  108024. },
  108025. _interpolation_map$_mapLocation$1(target) {
  108026. var index, _0_0, t3, previousLocation, _this = this,
  108027. t1 = _this._interpolation_map$_interpolation,
  108028. t2 = t1.contents;
  108029. if (t2.length === 0)
  108030. return t1.span;
  108031. index = _this._interpolation_map$_indexInContents$1(target);
  108032. _0_0 = t2[index];
  108033. if (_0_0 instanceof A.Expression0)
  108034. return _0_0.get$span(_0_0);
  108035. t3 = index === 0;
  108036. t1 = t1.span;
  108037. if (t3)
  108038. previousLocation = t1.get$start(t1);
  108039. else {
  108040. t1 = t1.get$file(t1);
  108041. t2 = type$.Expression_2._as(t2[index - 1]);
  108042. t2 = t2.get$span(t2);
  108043. previousLocation = A.FileLocation$_(t1, _this._interpolation_map$_expandInterpolationSpanRight$1(t2.get$end(t2)));
  108044. }
  108045. t1 = t3 ? 0 : _this._interpolation_map$_targetLocations[index - 1].get$offset();
  108046. return A.FileLocation$_(previousLocation.file, previousLocation.offset + (target.offset - t1));
  108047. },
  108048. _interpolation_map$_indexInContents$1(target) {
  108049. var t1, t2, t3, i;
  108050. for (t1 = this._interpolation_map$_targetLocations, t2 = t1.length, t3 = target.offset, i = 0; i < t2; ++i)
  108051. if (t3 < t1[i].get$offset())
  108052. return i;
  108053. return this._interpolation_map$_interpolation.contents.length - 1;
  108054. },
  108055. _interpolation_map$_expandInterpolationSpanLeft$1(start) {
  108056. var i0, prev, char,
  108057. source = start.file._decodedChars,
  108058. i = start.offset - 1;
  108059. for (; i >= 0;) {
  108060. i0 = i - 1;
  108061. prev = source[i];
  108062. if (prev === 123) {
  108063. if (source[i0] === 35) {
  108064. i = i0;
  108065. break;
  108066. }
  108067. i = i0;
  108068. } else if (prev === 47) {
  108069. i = i0 - 1;
  108070. if (source[i0] === 42)
  108071. for (; true;) {
  108072. i0 = i - 1;
  108073. if (source[i] !== 42) {
  108074. i = i0;
  108075. continue;
  108076. }
  108077. i = i0;
  108078. do {
  108079. i0 = i - 1;
  108080. char = source[i];
  108081. if (char === 42) {
  108082. i = i0;
  108083. continue;
  108084. } else
  108085. break;
  108086. } while (true);
  108087. if (char === 47) {
  108088. i = i0;
  108089. break;
  108090. }
  108091. i = i0;
  108092. }
  108093. } else
  108094. i = i0;
  108095. }
  108096. return i;
  108097. },
  108098. _interpolation_map$_expandInterpolationSpanRight$1(end) {
  108099. var t1, i0, next, second, t2, char,
  108100. source = end.file._decodedChars,
  108101. i = end.offset;
  108102. for (t1 = source.length; i < t1;) {
  108103. i0 = i + 1;
  108104. next = source[i];
  108105. if (next === 125) {
  108106. i = i0;
  108107. break;
  108108. }
  108109. if (next === 47) {
  108110. i = i0 + 1;
  108111. second = source[i0];
  108112. if (second === 47) {
  108113. while (true) {
  108114. i0 = i + 1;
  108115. t2 = source[i];
  108116. if (!!(t2 === 10 || t2 === 13 || t2 === 12))
  108117. break;
  108118. i = i0;
  108119. }
  108120. i = i0;
  108121. } else if (second === 42)
  108122. for (; true;) {
  108123. i0 = i + 1;
  108124. if (source[i] !== 42) {
  108125. i = i0;
  108126. continue;
  108127. }
  108128. i = i0;
  108129. do {
  108130. i0 = i + 1;
  108131. char = source[i];
  108132. if (char === 42) {
  108133. i = i0;
  108134. continue;
  108135. } else
  108136. break;
  108137. } while (true);
  108138. if (char === 47) {
  108139. i = i0;
  108140. break;
  108141. }
  108142. i = i0;
  108143. }
  108144. } else
  108145. i = i0;
  108146. }
  108147. return i;
  108148. }
  108149. };
  108150. A.InterpolationMap_mapException_closure0.prototype = {
  108151. call$1($content) {
  108152. return $content instanceof A.Expression0;
  108153. },
  108154. $signature: 71
  108155. };
  108156. A.InterpolationMethod0.prototype = {
  108157. toString$0(_) {
  108158. var t1 = this.hue;
  108159. t1 = t1 == null ? "" : " " + t1.toString$0(0) + " hue";
  108160. return this.space.name + t1;
  108161. }
  108162. };
  108163. A.HueInterpolationMethod0.prototype = {
  108164. _enumToString$0() {
  108165. return "HueInterpolationMethod." + this._name;
  108166. }
  108167. };
  108168. A._realCasePath_helper0.prototype = {
  108169. call$2(path, realPath) {
  108170. var dirname = $.$get$context().dirname$1(path);
  108171. if (dirname === path)
  108172. return path;
  108173. return $._realCaseCache0.putIfAbsent$2(path, new A._realCasePath_helper_closure0(path, realPath, this, dirname));
  108174. },
  108175. call$1(path) {
  108176. return this.call$2(path, null);
  108177. },
  108178. $signature: 149
  108179. };
  108180. A._realCasePath_helper_closure0.prototype = {
  108181. call$0() {
  108182. var realPathNonNull, realDirname, basename, matches, t1, _0_0, match, realPathNonNull0, exception, _this = this,
  108183. t2 = _this.path;
  108184. if (!A.linkExists0(t2)) {
  108185. realPathNonNull = null;
  108186. try {
  108187. realPathNonNull0 = _this.realPath;
  108188. realPathNonNull = realPathNonNull0 == null ? A.realpath0(t2) : realPathNonNull0;
  108189. } catch (exception) {
  108190. if (A.unwrapException(exception) instanceof A.FileSystemException0)
  108191. return t2;
  108192. else
  108193. throw exception;
  108194. }
  108195. t1 = realPathNonNull;
  108196. t2 = $.$get$context();
  108197. return A.join(_this.helper.call$2(_this.dirname, t2.dirname$1(t1)), A.ParsedPath_ParsedPath$parse(realPathNonNull, t2.style).get$basename(), null);
  108198. }
  108199. realDirname = _this.helper.call$1(_this.dirname);
  108200. basename = A.ParsedPath_ParsedPath$parse(t2, $.$get$context().style).get$basename();
  108201. try {
  108202. matches = J.where$1$ax(A.listDir0(realDirname), new A._realCasePath_helper__closure0(basename)).toList$0(0);
  108203. t1 = null;
  108204. _0_0 = matches;
  108205. $label0$0: {
  108206. match = null;
  108207. if (J.get$length$asx(_0_0) === 1) {
  108208. match = J.$index$asx(_0_0, 0);
  108209. t1 = match;
  108210. break $label0$0;
  108211. }
  108212. t1 = A.join(realDirname, basename, null);
  108213. break $label0$0;
  108214. }
  108215. t1 = t1;
  108216. return t1;
  108217. } catch (exception) {
  108218. if (A.unwrapException(exception) instanceof A.FileSystemException0)
  108219. return t2;
  108220. else
  108221. throw exception;
  108222. }
  108223. },
  108224. $signature: 27
  108225. };
  108226. A._realCasePath_helper__closure0.prototype = {
  108227. call$1(realPath) {
  108228. return A.equalsIgnoreCase0(A.ParsedPath_ParsedPath$parse(realPath, $.$get$context().style).get$basename(), this.basename);
  108229. },
  108230. $signature: 5
  108231. };
  108232. A.IsCalculationSafeVisitor0.prototype = {
  108233. visitBinaryOperationExpression$1(_, node) {
  108234. return B.Set_oQTdo0.contains$1(0, node.operator) && node.left.accept$1(this) && node.right.accept$1(this);
  108235. },
  108236. visitBooleanExpression$1(_, node) {
  108237. return false;
  108238. },
  108239. visitColorExpression$1(_, node) {
  108240. return false;
  108241. },
  108242. visitFunctionExpression$1(_, node) {
  108243. return true;
  108244. },
  108245. visitInterpolatedFunctionExpression$1(_, node) {
  108246. return true;
  108247. },
  108248. visitIfExpression$1(_, node) {
  108249. return true;
  108250. },
  108251. visitListExpression$1(_, node) {
  108252. var t1 = false;
  108253. if (node.separator === B.ListSeparator_qSL0)
  108254. if (!node.hasBrackets) {
  108255. t1 = node.contents;
  108256. t1 = t1.length > 1 && B.JSArray_methods.every$1(t1, new A.IsCalculationSafeVisitor_visitListExpression_closure0(this));
  108257. }
  108258. return t1;
  108259. },
  108260. visitMapExpression$1(_, node) {
  108261. return false;
  108262. },
  108263. visitNullExpression$1(_, node) {
  108264. return false;
  108265. },
  108266. visitNumberExpression$1(_, node) {
  108267. return true;
  108268. },
  108269. visitParenthesizedExpression$1(_, node) {
  108270. return node.expression.accept$1(this);
  108271. },
  108272. visitSelectorExpression$1(_, node) {
  108273. return false;
  108274. },
  108275. visitStringExpression$1(_, node) {
  108276. var text, t1, t2;
  108277. if (node.hasQuotes)
  108278. return false;
  108279. text = node.text.get$initialPlain();
  108280. t1 = false;
  108281. if (!B.JSString_methods.startsWith$1(text, "!"))
  108282. if (!B.JSString_methods.startsWith$1(text, "#")) {
  108283. t2 = text.length;
  108284. if ((1 >= t2 ? null : text.charCodeAt(1)) !== 43)
  108285. t1 = (3 >= t2 ? null : text.charCodeAt(3)) !== 40;
  108286. }
  108287. return t1;
  108288. },
  108289. visitSupportsExpression$1(_, node) {
  108290. return false;
  108291. },
  108292. visitUnaryOperationExpression$1(_, node) {
  108293. return false;
  108294. },
  108295. visitValueExpression$1(_, node) {
  108296. return false;
  108297. },
  108298. visitVariableExpression$1(_, node) {
  108299. return true;
  108300. },
  108301. $isExpressionVisitor: 1
  108302. };
  108303. A.IsCalculationSafeVisitor_visitListExpression_closure0.prototype = {
  108304. call$1(expression) {
  108305. return expression.accept$1(this.$this);
  108306. },
  108307. $signature: 117
  108308. };
  108309. A.FileSystemException0.prototype = {
  108310. toString$0(_) {
  108311. var t1 = $.$get$context();
  108312. return t1.prettyUri$1(t1.toUri$1(this.path)) + ": " + this.message;
  108313. },
  108314. get$message(receiver) {
  108315. return this.message;
  108316. }
  108317. };
  108318. A._readFile_closure0.prototype = {
  108319. call$0() {
  108320. return J.readFileSync$2$x(A.fs(), this.path, this.encoding);
  108321. },
  108322. $signature: 59
  108323. };
  108324. A.fileExists_closure0.prototype = {
  108325. call$0() {
  108326. var error, systemError, exception,
  108327. t1 = this.path;
  108328. if (!J.existsSync$1$x(A.fs(), t1))
  108329. return false;
  108330. try {
  108331. t1 = J.isFile$0$x(J.statSync$1$x(A.fs(), t1));
  108332. return t1;
  108333. } catch (exception) {
  108334. error = A.unwrapException(exception);
  108335. systemError = type$.JsSystemError._as(error);
  108336. if (J.$eq$(J.get$code$x(systemError), "ENOENT"))
  108337. return false;
  108338. throw exception;
  108339. }
  108340. },
  108341. $signature: 20
  108342. };
  108343. A.dirExists_closure0.prototype = {
  108344. call$0() {
  108345. var error, systemError, exception,
  108346. t1 = this.path;
  108347. if (!J.existsSync$1$x(A.fs(), t1))
  108348. return false;
  108349. try {
  108350. t1 = J.isDirectory$0$x(J.statSync$1$x(A.fs(), t1));
  108351. return t1;
  108352. } catch (exception) {
  108353. error = A.unwrapException(exception);
  108354. systemError = type$.JsSystemError._as(error);
  108355. if (J.$eq$(J.get$code$x(systemError), "ENOENT"))
  108356. return false;
  108357. throw exception;
  108358. }
  108359. },
  108360. $signature: 20
  108361. };
  108362. A.linkExists_closure0.prototype = {
  108363. call$0() {
  108364. var error, systemError, t1, exception;
  108365. try {
  108366. t1 = J.isSymbolicLink$0$x(J.lstatSync$1$x(A.fs(), this.path));
  108367. return t1;
  108368. } catch (exception) {
  108369. error = A.unwrapException(exception);
  108370. systemError = type$.JsSystemError._as(error);
  108371. if (J.$eq$(J.get$code$x(systemError), "ENOENT"))
  108372. return false;
  108373. throw exception;
  108374. }
  108375. },
  108376. $signature: 20
  108377. };
  108378. A.listDir_closure0.prototype = {
  108379. call$0() {
  108380. var t1 = this.path;
  108381. if (!this.recursive)
  108382. 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());
  108383. else
  108384. return new A.listDir_closure_list0().call$1(t1);
  108385. },
  108386. $signature: 152
  108387. };
  108388. A.listDir__closure1.prototype = {
  108389. call$1(child) {
  108390. return A.join(this.path, A._asString(child), null);
  108391. },
  108392. $signature: 134
  108393. };
  108394. A.listDir__closure2.prototype = {
  108395. call$1(child) {
  108396. return !A.dirExists0(child);
  108397. },
  108398. $signature: 5
  108399. };
  108400. A.listDir_closure_list0.prototype = {
  108401. call$1($parent) {
  108402. return J.expand$1$1$ax(J.readdirSync$1$x(A.fs(), $parent), new A.listDir__list_closure0($parent, this), type$.String);
  108403. },
  108404. $signature: 153
  108405. };
  108406. A.listDir__list_closure0.prototype = {
  108407. call$1(child) {
  108408. var path = A.join(this.parent, A._asString(child), null);
  108409. return A.dirExists0(path) ? this.list.call$1(path) : A._setArrayType([path], type$.JSArray_String);
  108410. },
  108411. $signature: 154
  108412. };
  108413. A.realpath_closure0.prototype = {
  108414. call$0() {
  108415. return J.native$1$x(J.get$realpathSync$x(A.fs()), this.path);
  108416. },
  108417. $signature: 27
  108418. };
  108419. A.main_closure.prototype = {
  108420. call$2(_, __) {
  108421. },
  108422. $signature: 494
  108423. };
  108424. A.main_closure0.prototype = {
  108425. call$2(_, __) {
  108426. },
  108427. $signature: 495
  108428. };
  108429. A.JSToDartLogger.prototype = {
  108430. internalWarn$4$deprecation$span$trace(message, deprecation, span, trace) {
  108431. var t2, t3, t4,
  108432. t1 = this._node,
  108433. _0_0 = t1 == null ? null : J.get$warn$x(t1);
  108434. if (_0_0 != null) {
  108435. t1 = span == null ? self.undefined : span;
  108436. t2 = J.toString$0$(trace);
  108437. t3 = deprecation == null;
  108438. t4 = $.$get$deprecations();
  108439. _0_0.call$2(message, {deprecation: !t3, deprecationType: t4.$index(0, t3 ? null : deprecation.id), span: t1, stack: t2});
  108440. } else
  108441. this._withAscii$1(new A.JSToDartLogger_internalWarn_closure(this, message, span, trace, deprecation));
  108442. },
  108443. debug$2(_, message, span) {
  108444. var t1 = this._node,
  108445. _0_0 = t1 == null ? null : J.get$debug$x(t1);
  108446. if (_0_0 != null)
  108447. _0_0.call$2(message, {span: span});
  108448. else
  108449. this._withAscii$1(new A.JSToDartLogger_debug_closure(this, message, span));
  108450. },
  108451. _withAscii$1$1(callback) {
  108452. var t1,
  108453. wasAscii = $._glyphs === B.C_AsciiGlyphSet;
  108454. $._glyphs = this._ascii ? B.C_AsciiGlyphSet : B.C_UnicodeGlyphSet;
  108455. try {
  108456. t1 = callback.call$0();
  108457. return t1;
  108458. } finally {
  108459. $._glyphs = wasAscii ? B.C_AsciiGlyphSet : B.C_UnicodeGlyphSet;
  108460. }
  108461. },
  108462. _withAscii$1(callback) {
  108463. callback.toString;
  108464. return this._withAscii$1$1(callback, type$.dynamic);
  108465. }
  108466. };
  108467. A.JSToDartLogger_internalWarn_closure.prototype = {
  108468. call$0() {
  108469. var _this = this;
  108470. $label0$0: {
  108471. _this.$this._fallback.internalWarn$4$deprecation$span$trace(_this.message, _this.deprecation, _this.span, _this.trace);
  108472. break $label0$0;
  108473. }
  108474. },
  108475. $signature: 1
  108476. };
  108477. A.JSToDartLogger_debug_closure.prototype = {
  108478. call$0() {
  108479. return this.$this._fallback.debug$2(0, this.message, this.span);
  108480. },
  108481. $signature: 0
  108482. };
  108483. A.ModifiableCssKeyframeBlock0.prototype = {
  108484. accept$1$1(visitor) {
  108485. return visitor.visitCssKeyframeBlock$1(this);
  108486. },
  108487. accept$1(visitor) {
  108488. return this.accept$1$1(visitor, type$.dynamic);
  108489. },
  108490. equalsIgnoringChildren$1(other) {
  108491. return other instanceof A.ModifiableCssKeyframeBlock0 && B.C_ListEquality.equals$2(0, this.selector.value, other.selector.value);
  108492. },
  108493. copyWithoutChildren$0() {
  108494. return A.ModifiableCssKeyframeBlock$0(this.selector, this.span);
  108495. },
  108496. get$span(receiver) {
  108497. return this.span;
  108498. }
  108499. };
  108500. A.KeyframeSelectorParser0.prototype = {
  108501. parse$0(_) {
  108502. return this.wrapSpanFormatException$1(new A.KeyframeSelectorParser_parse_closure0(this));
  108503. },
  108504. _keyframe_selector$_percentage$0() {
  108505. var $self, _0_0,
  108506. t1 = this.scanner,
  108507. t2 = t1.scanChar$1(43) ? "" + A.Primitives_stringFromCharCode(43) : "",
  108508. second = t1.peekChar$0();
  108509. if (!(second != null && second >= 48 && second <= 57) && second !== 46)
  108510. t1.error$1(0, "Expected number.");
  108511. while (true) {
  108512. $self = t1.peekChar$0();
  108513. if (!($self != null && $self >= 48 && $self <= 57))
  108514. break;
  108515. t2 += A.Primitives_stringFromCharCode(t1.readChar$0());
  108516. }
  108517. if (t1.peekChar$0() === 46) {
  108518. t2 += A.Primitives_stringFromCharCode(t1.readChar$0());
  108519. while (true) {
  108520. $self = t1.peekChar$0();
  108521. if (!($self != null && $self >= 48 && $self <= 57))
  108522. break;
  108523. t2 += A.Primitives_stringFromCharCode(t1.readChar$0());
  108524. }
  108525. }
  108526. if (this.scanIdentChar$1(101)) {
  108527. t2 += A.Primitives_stringFromCharCode(101);
  108528. _0_0 = t1.peekChar$0();
  108529. if (43 === _0_0 || 45 === _0_0)
  108530. t2 += A.Primitives_stringFromCharCode(t1.readChar$0());
  108531. $self = t1.peekChar$0();
  108532. if (!($self != null && $self >= 48 && $self <= 57))
  108533. t1.error$1(0, "Expected digit.");
  108534. do {
  108535. t2 += A.Primitives_stringFromCharCode(t1.readChar$0());
  108536. $self = t1.peekChar$0();
  108537. } while ($self != null && $self >= 48 && $self <= 57);
  108538. }
  108539. t1.expectChar$1(37);
  108540. t2 += A.Primitives_stringFromCharCode(37);
  108541. return t2.charCodeAt(0) == 0 ? t2 : t2;
  108542. }
  108543. };
  108544. A.KeyframeSelectorParser_parse_closure0.prototype = {
  108545. call$0() {
  108546. var selectors = A._setArrayType([], type$.JSArray_String),
  108547. t1 = this.$this,
  108548. t2 = t1.scanner;
  108549. do {
  108550. t1.whitespace$1$consumeNewlines(true);
  108551. if (t1.lookingAtIdentifier$0())
  108552. if (t1.scanIdentifier$1("from"))
  108553. selectors.push("from");
  108554. else {
  108555. t1.expectIdentifier$2$name("to", '"to" or "from"');
  108556. selectors.push("to");
  108557. }
  108558. else
  108559. selectors.push(t1._keyframe_selector$_percentage$0());
  108560. t1.whitespace$1$consumeNewlines(true);
  108561. } while (t2.scanChar$1(44));
  108562. t2.expectDone$0();
  108563. return selectors;
  108564. },
  108565. $signature: 138
  108566. };
  108567. A.LabColorSpace0.prototype = {
  108568. get$isBoundedInternal() {
  108569. return false;
  108570. },
  108571. convert$7$missingChroma$missingHue(dest, lightness, a, b, alpha, missingChroma, missingHue) {
  108572. var powerlessAB, t1, missingLightness, f1, t2, t3, t4;
  108573. switch (dest) {
  108574. case B.LabColorSpace_2nT0:
  108575. powerlessAB = lightness == null || A.fuzzyEquals0(lightness, 0);
  108576. t1 = a == null || powerlessAB ? null : a;
  108577. return A.SassColor$_forSpace0(B.LabColorSpace_2nT0, lightness, t1, b == null || powerlessAB ? null : b, alpha, null);
  108578. case B.LchColorSpace_Bpv0:
  108579. return A.labToLch0(dest, lightness, a, b, alpha, false, false);
  108580. default:
  108581. missingLightness = lightness == null;
  108582. if (missingLightness)
  108583. lightness = 0;
  108584. f1 = (lightness + 16) / 116;
  108585. t1 = a == null;
  108586. t2 = this._lab$_convertFToXorZ$1((t1 ? 0 : a) / 500 + f1);
  108587. t3 = lightness > 8 ? Math.pow(f1, 3) : lightness / 903.2962962962963;
  108588. t4 = b == null;
  108589. 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);
  108590. }
  108591. },
  108592. convert$5(dest, lightness, a, b, alpha) {
  108593. return this.convert$7$missingChroma$missingHue(dest, lightness, a, b, alpha, false, false);
  108594. },
  108595. _lab$_convertFToXorZ$1(component) {
  108596. var cubed = Math.pow(component, 3) + 0;
  108597. return cubed > 0.008856451679035631 ? cubed : (116 * component - 16) / 903.2962962962963;
  108598. }
  108599. };
  108600. A.LazyFileSpan0.prototype = {
  108601. get$span(_) {
  108602. var t1 = this._lazy_file_span0$_span;
  108603. return t1 == null ? this._lazy_file_span0$_span = this._lazy_file_span0$_builder.call$0() : t1;
  108604. },
  108605. compareTo$1(_, other) {
  108606. return this.get$span(0).compareTo$1(0, other);
  108607. },
  108608. get$context(_) {
  108609. var t1 = this.get$span(0);
  108610. return t1.get$context(t1);
  108611. },
  108612. get$end(_) {
  108613. var t1 = this.get$span(0);
  108614. return t1.get$end(t1);
  108615. },
  108616. expand$1(_, other) {
  108617. return this.get$span(0).expand$1(0, other);
  108618. },
  108619. get$file(_) {
  108620. var t1 = this.get$span(0);
  108621. return t1.get$file(t1);
  108622. },
  108623. highlight$1$color(color) {
  108624. return this.get$span(0).highlight$1$color(color);
  108625. },
  108626. get$length(_) {
  108627. var t1 = this.get$span(0);
  108628. return t1.get$length(t1);
  108629. },
  108630. message$2$color(_, message, color) {
  108631. return this.get$span(0).message$2$color(0, message, color);
  108632. },
  108633. message$1(_, message) {
  108634. return this.message$2$color(0, message, null);
  108635. },
  108636. get$sourceUrl(_) {
  108637. var t1 = this.get$span(0);
  108638. return t1.get$sourceUrl(t1);
  108639. },
  108640. get$start(_) {
  108641. var t1 = this.get$span(0);
  108642. return t1.get$start(t1);
  108643. },
  108644. get$text() {
  108645. return this.get$span(0).get$text();
  108646. },
  108647. $isComparable: 1,
  108648. $isFileSpan: 1,
  108649. $isSourceSpan: 1,
  108650. $isSourceSpanWithContext: 1
  108651. };
  108652. A.LchColorSpace0.prototype = {
  108653. get$isBoundedInternal() {
  108654. return false;
  108655. },
  108656. get$isPolarInternal() {
  108657. return true;
  108658. },
  108659. convert$5(dest, lightness, chroma, hue, alpha) {
  108660. var t1 = hue == null,
  108661. hueRadians = (t1 ? 0 : hue) * 3.141592653589793 / 180,
  108662. t2 = chroma == null,
  108663. t3 = t2 ? 0 : chroma,
  108664. t4 = Math.cos(hueRadians),
  108665. t5 = t2 ? 0 : chroma;
  108666. return B.LabColorSpace_2nT0.convert$7$missingChroma$missingHue(dest, lightness, t3 * t4, t5 * Math.sin(hueRadians), alpha, t2, t1);
  108667. }
  108668. };
  108669. A.render_closure.prototype = {
  108670. call$0() {
  108671. var error, exception;
  108672. try {
  108673. this.callback.call$2(null, A.renderSync(this.options));
  108674. } catch (exception) {
  108675. error = A.unwrapException(exception);
  108676. this.callback.call$2(error, null);
  108677. }
  108678. return null;
  108679. },
  108680. $signature: 1
  108681. };
  108682. A.render_closure0.prototype = {
  108683. call$1(result) {
  108684. this.callback.call$2(null, result);
  108685. },
  108686. $signature: 586
  108687. };
  108688. A.render_closure1.prototype = {
  108689. call$2(error, stackTrace) {
  108690. var t2, t3, _null = null,
  108691. t1 = this.callback;
  108692. if (error instanceof A.SassException0)
  108693. t1.call$2(A._wrapException(error, stackTrace), _null);
  108694. else {
  108695. t2 = J.toString$0$(error);
  108696. t3 = A.getTrace0(error);
  108697. t1.call$2(A._newRenderError(t2, t3 == null ? stackTrace : t3, _null, _null, _null, 3), _null);
  108698. }
  108699. },
  108700. $signature: 51
  108701. };
  108702. A._parseFunctions_closure.prototype = {
  108703. call$2(signature, callback) {
  108704. var _0_0, _this = this,
  108705. t1 = _this.options,
  108706. context = {options: A._contextOptions(t1, _this.start)};
  108707. J.set$context$x(J.get$options$x(context), context);
  108708. _0_0 = J.get$fiber$x(t1);
  108709. t1 = {};
  108710. t1.fiber = null;
  108711. if (_0_0 != null) {
  108712. t1.fiber = _0_0;
  108713. _this.result.push(A.Callable_Callable$fromSignature(B.JSString_methods.trimLeft$0(signature), new A._parseFunctions__closure(t1, callback, context), false));
  108714. } else {
  108715. t1 = _this.result;
  108716. if (!_this.asynch)
  108717. t1.push(A.Callable_Callable$fromSignature(B.JSString_methods.trimLeft$0(signature), new A._parseFunctions__closure0(callback, context), false));
  108718. else
  108719. t1.push(A.AsyncCallable_AsyncCallable$fromSignature(B.JSString_methods.trimLeft$0(signature), new A._parseFunctions__closure1(callback, context), false));
  108720. }
  108721. },
  108722. $signature: 126
  108723. };
  108724. A._parseFunctions__closure.prototype = {
  108725. call$1($arguments) {
  108726. var result,
  108727. t1 = this._box_0,
  108728. currentFiber = J.get$current$x(t1.fiber),
  108729. t2 = type$.Object;
  108730. t2 = A.List_List$_of(J.map$1$1$ax($arguments, A.value0__wrapValue$closure(), t2), t2);
  108731. t2.push(A.allowInterop(new A._parseFunctions___closure2(currentFiber)));
  108732. result = A.wrapJSExceptions(new A._parseFunctions___closure3(this.callback, this.context, t2));
  108733. return A.unwrapValue(A._asBool($.$get$_isUndefined().call$1(result)) ? A.runZoned(new A._parseFunctions___closure4(t1), null, type$.nullable_Object) : result);
  108734. },
  108735. $signature: 3
  108736. };
  108737. A._parseFunctions___closure2.prototype = {
  108738. call$1(result) {
  108739. A.scheduleMicrotask(new A._parseFunctions____closure(this.currentFiber, result));
  108740. },
  108741. call$0() {
  108742. return this.call$1(null);
  108743. },
  108744. "call*": "call$1",
  108745. $requiredArgCount: 0,
  108746. $defaultValues() {
  108747. return [null];
  108748. },
  108749. $signature: 111
  108750. };
  108751. A._parseFunctions____closure.prototype = {
  108752. call$0() {
  108753. return J.run$1$x(this.currentFiber, this.result);
  108754. },
  108755. $signature: 0
  108756. };
  108757. A._parseFunctions___closure3.prototype = {
  108758. call$0() {
  108759. return J.apply$2$x(type$.JSFunction._as(this.callback), this.context, this.jsArguments);
  108760. },
  108761. $signature: 36
  108762. };
  108763. A._parseFunctions___closure4.prototype = {
  108764. call$0() {
  108765. return J.yield$0$x(this._box_0.fiber);
  108766. },
  108767. $signature: 91
  108768. };
  108769. A._parseFunctions__closure0.prototype = {
  108770. call$1($arguments) {
  108771. return A.unwrapValue(A.wrapJSExceptions(new A._parseFunctions___closure1(this.callback, this.context, $arguments)));
  108772. },
  108773. $signature: 3
  108774. };
  108775. A._parseFunctions___closure1.prototype = {
  108776. call$0() {
  108777. var t1 = type$.JSFunction._as(this.callback),
  108778. t2 = J.map$1$1$ax(this.$arguments, A.value0__wrapValue$closure(), type$.Object);
  108779. t2 = A.List_List$_of(t2, t2.$ti._eval$1("ListIterable.E"));
  108780. return J.apply$2$x(t1, this.context, t2);
  108781. },
  108782. $signature: 36
  108783. };
  108784. A._parseFunctions__closure1.prototype = {
  108785. call$1($arguments) {
  108786. return this.$call$body$_parseFunctions__closure($arguments);
  108787. },
  108788. $call$body$_parseFunctions__closure($arguments) {
  108789. var $async$goto = 0,
  108790. $async$completer = A._makeAsyncAwaitCompleter(type$.Value_2),
  108791. $async$returnValue, $async$self = this, result, t1, t2, $async$temp1;
  108792. var $async$call$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  108793. if ($async$errorCode === 1)
  108794. return A._asyncRethrow($async$result, $async$completer);
  108795. while (true)
  108796. switch ($async$goto) {
  108797. case 0:
  108798. // Function start
  108799. t1 = new A._Future($.Zone__current, type$._Future_nullable_Object);
  108800. t2 = type$.Object;
  108801. t2 = A.List_List$_of(J.map$1$1$ax($arguments, A.value0__wrapValue$closure(), t2), t2);
  108802. t2.push(A.allowInterop(new A._parseFunctions___closure(new A._AsyncCompleter(t1, type$._AsyncCompleter_nullable_Object))));
  108803. result = A.wrapJSExceptions(new A._parseFunctions___closure0($async$self.callback, $async$self.context, t2));
  108804. $async$temp1 = A;
  108805. $async$goto = A._asBool($.$get$_isUndefined().call$1(result)) ? 3 : 5;
  108806. break;
  108807. case 3:
  108808. // then
  108809. $async$goto = 6;
  108810. return A._asyncAwait(t1, $async$call$1);
  108811. case 6:
  108812. // returning from await.
  108813. // goto join
  108814. $async$goto = 4;
  108815. break;
  108816. case 5:
  108817. // else
  108818. $async$result = result;
  108819. case 4:
  108820. // join
  108821. $async$returnValue = $async$temp1.unwrapValue($async$result);
  108822. // goto return
  108823. $async$goto = 1;
  108824. break;
  108825. case 1:
  108826. // return
  108827. return A._asyncReturn($async$returnValue, $async$completer);
  108828. }
  108829. });
  108830. return A._asyncStartSync($async$call$1, $async$completer);
  108831. },
  108832. $signature: 109
  108833. };
  108834. A._parseFunctions___closure.prototype = {
  108835. call$1(result) {
  108836. return this.completer.complete$1(result);
  108837. },
  108838. call$0() {
  108839. return this.call$1(null);
  108840. },
  108841. "call*": "call$1",
  108842. $requiredArgCount: 0,
  108843. $defaultValues() {
  108844. return [null];
  108845. },
  108846. $signature: 217
  108847. };
  108848. A._parseFunctions___closure0.prototype = {
  108849. call$0() {
  108850. return J.apply$2$x(type$.JSFunction._as(this.callback), this.context, this.jsArguments);
  108851. },
  108852. $signature: 36
  108853. };
  108854. A._parseImporter_closure.prototype = {
  108855. call$1(importer) {
  108856. return type$.JSFunction._as(A.allowInteropCaptureThis(new A._parseImporter__closure(this._box_0, importer)));
  108857. },
  108858. $signature: 497
  108859. };
  108860. A._parseImporter__closure.prototype = {
  108861. call$4(thisArg, url, previous, _) {
  108862. var t1 = this._box_0,
  108863. 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));
  108864. if (A._asBool($.$get$_isUndefined().call$1(result)))
  108865. return A.runZoned(new A._parseImporter___closure0(t1), null, type$.Object);
  108866. return result;
  108867. },
  108868. call$3(thisArg, url, previous) {
  108869. return this.call$4(thisArg, url, previous, null);
  108870. },
  108871. "call*": "call$4",
  108872. $requiredArgCount: 3,
  108873. $defaultValues() {
  108874. return [null];
  108875. },
  108876. $signature: 498
  108877. };
  108878. A._parseImporter___closure.prototype = {
  108879. call$1(result) {
  108880. A.scheduleMicrotask(new A._parseImporter____closure(this.currentFiber, result));
  108881. },
  108882. $signature: 499
  108883. };
  108884. A._parseImporter____closure.prototype = {
  108885. call$0() {
  108886. return J.run$1$x(this.currentFiber, this.result);
  108887. },
  108888. $signature: 0
  108889. };
  108890. A._parseImporter___closure0.prototype = {
  108891. call$0() {
  108892. return J.yield$0$x(this._box_0.fiber);
  108893. },
  108894. $signature: 91
  108895. };
  108896. A.LimitedMapView0.prototype = {
  108897. get$keys(_) {
  108898. return this._limited_map_view0$_keys;
  108899. },
  108900. get$length(_) {
  108901. return this._limited_map_view0$_keys._collection$_length;
  108902. },
  108903. get$isEmpty(_) {
  108904. return this._limited_map_view0$_keys._collection$_length === 0;
  108905. },
  108906. get$isNotEmpty(_) {
  108907. return this._limited_map_view0$_keys._collection$_length !== 0;
  108908. },
  108909. $index(_, key) {
  108910. return this._limited_map_view0$_keys.contains$1(0, key) ? this._limited_map_view0$_map.$index(0, key) : null;
  108911. },
  108912. containsKey$1(key) {
  108913. return this._limited_map_view0$_keys.contains$1(0, key);
  108914. },
  108915. remove$1(_, key) {
  108916. return this._limited_map_view0$_keys.contains$1(0, key) ? this._limited_map_view0$_map.remove$1(0, key) : null;
  108917. }
  108918. };
  108919. A.ListExpression0.prototype = {
  108920. accept$1$1(visitor) {
  108921. return visitor.visitListExpression$1(0, this);
  108922. },
  108923. accept$1(visitor) {
  108924. return this.accept$1$1(visitor, type$.dynamic);
  108925. },
  108926. toString$0(_) {
  108927. var t2, t3, t4, t5, _this = this,
  108928. t1 = _this.hasBrackets;
  108929. if (t1)
  108930. t2 = "" + A.Primitives_stringFromCharCode(91);
  108931. else {
  108932. t2 = _this.contents.length;
  108933. if (t2 !== 0)
  108934. t2 = t2 === 1 && _this.separator === B.ListSeparator_qVN0;
  108935. else
  108936. t2 = true;
  108937. t2 = t2 ? "" + A.Primitives_stringFromCharCode(40) : "";
  108938. }
  108939. t3 = _this.contents;
  108940. t4 = _this.separator === B.ListSeparator_qVN0;
  108941. t5 = t4 ? ", " : " ";
  108942. t5 = t2 + new A.MappedListIterable(t3, new A.ListExpression_toString_closure0(_this), A._arrayInstanceType(t3)._eval$1("MappedListIterable<1,String>")).join$1(0, t5);
  108943. if (t1)
  108944. t1 = t5 + A.Primitives_stringFromCharCode(93);
  108945. else {
  108946. t1 = t3.length;
  108947. if (t1 === 0)
  108948. t1 = t5 + A.Primitives_stringFromCharCode(41);
  108949. else
  108950. t1 = t1 === 1 && t4 ? t5 + ",)" : t5;
  108951. }
  108952. return t1.charCodeAt(0) == 0 ? t1 : t1;
  108953. },
  108954. _list3$_elementNeedsParens$1(expression) {
  108955. var childSeparator, t1, _0_13;
  108956. $label0$0: {
  108957. if (expression instanceof A.ListExpression0 && expression.contents.length >= 2 && !expression.hasBrackets) {
  108958. childSeparator = expression.separator;
  108959. t1 = this.separator === B.ListSeparator_qVN0 ? childSeparator === B.ListSeparator_qVN0 : childSeparator !== B.ListSeparator_undecided_null_undecided0;
  108960. break $label0$0;
  108961. }
  108962. if (expression instanceof A.UnaryOperationExpression0) {
  108963. _0_13 = expression.operator;
  108964. if (B.UnaryOperator_Rbl0 !== _0_13)
  108965. t1 = B.UnaryOperator_UCP0 === _0_13;
  108966. else
  108967. t1 = true;
  108968. } else
  108969. t1 = false;
  108970. if (t1) {
  108971. t1 = this.separator === B.ListSeparator_qSL0;
  108972. break $label0$0;
  108973. }
  108974. t1 = false;
  108975. break $label0$0;
  108976. }
  108977. return t1;
  108978. },
  108979. get$span(receiver) {
  108980. return this.span;
  108981. }
  108982. };
  108983. A.ListExpression_toString_closure0.prototype = {
  108984. call$1(element) {
  108985. return this.$this._list3$_elementNeedsParens$1(element) ? "(" + element.toString$0(0) + ")" : element.toString$0(0);
  108986. },
  108987. $signature: 118
  108988. };
  108989. A._length_closure2.prototype = {
  108990. call$1($arguments) {
  108991. return A.SassNumber_SassNumber0(J.$index$asx($arguments, 0).get$asList().length, null);
  108992. },
  108993. $signature: 23
  108994. };
  108995. A._nth_closure0.prototype = {
  108996. call$1($arguments) {
  108997. var t1 = J.getInterceptor$asx($arguments),
  108998. list = t1.$index($arguments, 0),
  108999. index = t1.$index($arguments, 1);
  109000. return list.get$asList()[list.sassIndexToListIndex$2(index, "n")];
  109001. },
  109002. $signature: 3
  109003. };
  109004. A._setNth_closure0.prototype = {
  109005. call$1($arguments) {
  109006. var newList,
  109007. t1 = J.getInterceptor$asx($arguments),
  109008. list = t1.$index($arguments, 0),
  109009. index = t1.$index($arguments, 1),
  109010. value = t1.$index($arguments, 2);
  109011. t1 = list.get$asList();
  109012. newList = A._setArrayType(t1.slice(0), A._arrayInstanceType(t1));
  109013. newList[list.sassIndexToListIndex$2(index, "n")] = value;
  109014. return list.withListContents$1(newList);
  109015. },
  109016. $signature: 29
  109017. };
  109018. A._join_closure0.prototype = {
  109019. call$1($arguments) {
  109020. var _0_1, _0_4, _0_3, _0_4_isSet, t2, _0_40, separator, bracketed,
  109021. t1 = J.getInterceptor$asx($arguments),
  109022. list1 = t1.$index($arguments, 0),
  109023. list2 = t1.$index($arguments, 1),
  109024. separatorParam = t1.$index($arguments, 2).assertString$1("separator"),
  109025. bracketedParam = t1.$index($arguments, 3),
  109026. _1_0 = separatorParam._string0$_text;
  109027. $label1$1: {
  109028. if ("auto" === _1_0) {
  109029. _0_1 = list1.get$separator(list1);
  109030. _0_4 = list2.get$separator(list2);
  109031. $label0$0: {
  109032. t1 = null;
  109033. _0_3 = B.ListSeparator_undecided_null_undecided0 === _0_1;
  109034. _0_4_isSet = _0_3;
  109035. if (_0_4_isSet) {
  109036. t2 = B.ListSeparator_undecided_null_undecided0 === _0_4;
  109037. _0_40 = _0_4;
  109038. } else {
  109039. _0_40 = null;
  109040. t2 = false;
  109041. }
  109042. if (t2) {
  109043. t1 = B.ListSeparator_qSL0;
  109044. break $label0$0;
  109045. }
  109046. if (_0_3)
  109047. separator = _0_4_isSet ? _0_40 : _0_4;
  109048. else
  109049. separator = t1;
  109050. if (!_0_3)
  109051. separator = _0_1;
  109052. t1 = separator;
  109053. break $label0$0;
  109054. }
  109055. break $label1$1;
  109056. }
  109057. if ("space" === _1_0) {
  109058. t1 = B.ListSeparator_qSL0;
  109059. break $label1$1;
  109060. }
  109061. if ("comma" === _1_0) {
  109062. t1 = B.ListSeparator_qVN0;
  109063. break $label1$1;
  109064. }
  109065. if ("slash" === _1_0) {
  109066. t1 = B.ListSeparator_bRz0;
  109067. break $label1$1;
  109068. }
  109069. t1 = A.throwExpression(A.SassScriptException$0(string$.x24separ, null));
  109070. }
  109071. bracketed = bracketedParam instanceof A.SassString0 && bracketedParam._string0$_text === "auto" ? list1.get$hasBrackets() : bracketedParam.get$isTruthy();
  109072. t2 = A.List_List$_of(list1.get$asList(), type$.Value_2);
  109073. B.JSArray_methods.addAll$1(t2, list2.get$asList());
  109074. return A.SassList$0(t2, t1, bracketed);
  109075. },
  109076. $signature: 29
  109077. };
  109078. A._append_closure2.prototype = {
  109079. call$1($arguments) {
  109080. var t2,
  109081. t1 = J.getInterceptor$asx($arguments),
  109082. list = t1.$index($arguments, 0),
  109083. value = t1.$index($arguments, 1),
  109084. _0_0 = t1.$index($arguments, 2).assertString$1("separator")._string0$_text;
  109085. $label0$0: {
  109086. if ("auto" === _0_0) {
  109087. t1 = list.get$separator(list) === B.ListSeparator_undecided_null_undecided0 ? B.ListSeparator_qSL0 : list.get$separator(list);
  109088. break $label0$0;
  109089. }
  109090. if ("space" === _0_0) {
  109091. t1 = B.ListSeparator_qSL0;
  109092. break $label0$0;
  109093. }
  109094. if ("comma" === _0_0) {
  109095. t1 = B.ListSeparator_qVN0;
  109096. break $label0$0;
  109097. }
  109098. if ("slash" === _0_0) {
  109099. t1 = B.ListSeparator_bRz0;
  109100. break $label0$0;
  109101. }
  109102. t1 = A.throwExpression(A.SassScriptException$0(string$.x24separ, null));
  109103. }
  109104. t2 = A.List_List$_of(list.get$asList(), type$.Value_2);
  109105. t2.push(value);
  109106. return list.withListContents$2$separator(t2, t1);
  109107. },
  109108. $signature: 29
  109109. };
  109110. A._zip_closure0.prototype = {
  109111. call$1($arguments) {
  109112. var results, result, _box_0 = {},
  109113. t1 = J.$index$asx($arguments, 0).get$asList(),
  109114. t2 = A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,List<Value0>>"),
  109115. lists = A.List_List$_of(new A.MappedListIterable(t1, new A._zip__closure2(), t2), t2._eval$1("ListIterable.E"));
  109116. if (lists.length === 0)
  109117. return B.SassList_BlY0;
  109118. _box_0.i = 0;
  109119. results = A._setArrayType([], type$.JSArray_SassList_2);
  109120. 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));) {
  109121. result = A.List_List$from(new A.MappedListIterable(lists, new A._zip__closure4(_box_0), t1), false, t2);
  109122. result.$flags = 3;
  109123. results.push(new A.SassList0(result, B.ListSeparator_qSL0, false));
  109124. ++_box_0.i;
  109125. }
  109126. return A.SassList$0(results, B.ListSeparator_qVN0, false);
  109127. },
  109128. $signature: 29
  109129. };
  109130. A._zip__closure2.prototype = {
  109131. call$1(list) {
  109132. return list.get$asList();
  109133. },
  109134. $signature: 501
  109135. };
  109136. A._zip__closure3.prototype = {
  109137. call$1(list) {
  109138. return this._box_0.i !== J.get$length$asx(list);
  109139. },
  109140. $signature: 502
  109141. };
  109142. A._zip__closure4.prototype = {
  109143. call$1(list) {
  109144. return J.$index$asx(list, this._box_0.i);
  109145. },
  109146. $signature: 3
  109147. };
  109148. A._index_closure2.prototype = {
  109149. call$1($arguments) {
  109150. var t1 = J.getInterceptor$asx($arguments),
  109151. index = B.JSArray_methods.indexOf$1(t1.$index($arguments, 0).get$asList(), t1.$index($arguments, 1));
  109152. return index === -1 ? B.C__SassNull0 : A.SassNumber_SassNumber0(index + 1, null);
  109153. },
  109154. $signature: 3
  109155. };
  109156. A._separator_closure0.prototype = {
  109157. call$1($arguments) {
  109158. var t1 = J.$index$asx($arguments, 0),
  109159. _0_0 = t1.get$separator(t1);
  109160. $label0$0: {
  109161. if (B.ListSeparator_qVN0 === _0_0) {
  109162. t1 = new A.SassString0("comma", false);
  109163. break $label0$0;
  109164. }
  109165. if (B.ListSeparator_bRz0 === _0_0) {
  109166. t1 = new A.SassString0("slash", false);
  109167. break $label0$0;
  109168. }
  109169. t1 = new A.SassString0("space", false);
  109170. break $label0$0;
  109171. }
  109172. return t1;
  109173. },
  109174. $signature: 18
  109175. };
  109176. A._isBracketed_closure0.prototype = {
  109177. call$1($arguments) {
  109178. return J.$index$asx($arguments, 0).get$hasBrackets() ? B.SassBoolean_true0 : B.SassBoolean_false0;
  109179. },
  109180. $signature: 11
  109181. };
  109182. A._slash_closure0.prototype = {
  109183. call$1($arguments) {
  109184. var list = J.$index$asx($arguments, 0).get$asList();
  109185. if (list.length < 2)
  109186. throw A.wrapException(A.SassScriptException$0("At least two elements are required.", null));
  109187. return A.SassList$0(list, B.ListSeparator_bRz0, false);
  109188. },
  109189. $signature: 29
  109190. };
  109191. A.SelectorList0.prototype = {
  109192. get$asSassList() {
  109193. var t1 = this.components;
  109194. 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);
  109195. },
  109196. accept$1$1(visitor) {
  109197. return visitor.visitSelectorList$1(this);
  109198. },
  109199. accept$1(visitor) {
  109200. return this.accept$1$1(visitor, type$.dynamic);
  109201. },
  109202. unify$1(other) {
  109203. var t3, t4, t5, t6, _i, complex1, t7, _i0, t8,
  109204. t1 = type$.JSArray_ComplexSelector_2,
  109205. t2 = A._setArrayType([], t1);
  109206. for (t3 = this.components, t4 = t3.length, t5 = other.components, t6 = t5.length, _i = 0; _i < t4; ++_i) {
  109207. complex1 = t3[_i];
  109208. for (t7 = complex1.span, _i0 = 0; _i0 < t6; ++_i0) {
  109209. t8 = A.unifyComplex0(A._setArrayType([complex1, t5[_i0]], t1), t7);
  109210. if (t8 != null)
  109211. B.JSArray_methods.addAll$1(t2, t8);
  109212. }
  109213. }
  109214. return t2.length === 0 ? null : A.SelectorList$0(t2, this.span);
  109215. },
  109216. nestWithin$3$implicitParent$preserveParentSelectors($parent, implicitParent, preserveParentSelectors) {
  109217. var parentSelector, t1, _this = this;
  109218. if ($parent == null) {
  109219. if (preserveParentSelectors)
  109220. return _this;
  109221. parentSelector = B.C__ParentSelectorVisitor0.visitSelectorList$1(_this);
  109222. if (parentSelector == null)
  109223. return _this;
  109224. throw A.wrapException(A.SassException$0(string$.Top_les, parentSelector.span, null));
  109225. }
  109226. t1 = _this.components;
  109227. 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);
  109228. },
  109229. nestWithin$1($parent) {
  109230. return this.nestWithin$3$implicitParent$preserveParentSelectors($parent, true, false);
  109231. },
  109232. nestWithin$2$implicitParent($parent, implicitParent) {
  109233. return this.nestWithin$3$implicitParent$preserveParentSelectors($parent, implicitParent, false);
  109234. },
  109235. _list2$_nestWithinCompound$2(component, $parent) {
  109236. var resolvedSimples, parentSelector, error, stackTrace, t2, resolvedSimples0, exception,
  109237. t1 = component.selector,
  109238. simples = t1.components,
  109239. containsSelectorPseudo = J.any$1$ax(simples, new A.SelectorList__nestWithinCompound_closure2());
  109240. if (!containsSelectorPseudo && !(J.get$first$ax(simples) instanceof A.ParentSelector0))
  109241. return null;
  109242. if (containsSelectorPseudo) {
  109243. t2 = simples;
  109244. resolvedSimples0 = new A.MappedListIterable(t2, new A.SelectorList__nestWithinCompound_closure3($parent), A._arrayInstanceType(t2)._eval$1("MappedListIterable<1,SimpleSelector0>"));
  109245. } else
  109246. resolvedSimples0 = simples;
  109247. resolvedSimples = resolvedSimples0;
  109248. parentSelector = J.get$first$ax(simples);
  109249. try {
  109250. if (!(parentSelector instanceof A.ParentSelector0)) {
  109251. t2 = component.span;
  109252. 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);
  109253. return t2;
  109254. } else if (J.get$length$asx(simples) === 1 && parentSelector.suffix == null) {
  109255. t1 = $parent.withAdditionalCombinators$1(component.combinators);
  109256. return t1.components;
  109257. }
  109258. } catch (exception) {
  109259. t1 = A.unwrapException(exception);
  109260. if (t1 instanceof A.SassException0) {
  109261. error = t1;
  109262. stackTrace = A.getTraceFromException(exception);
  109263. A.throwWithTrace0(error.withAdditionalSpan$2(parentSelector.span, "parent selector"), error, stackTrace);
  109264. } else
  109265. throw exception;
  109266. }
  109267. t1 = $parent.components;
  109268. return new A.MappedListIterable(t1, new A.SelectorList__nestWithinCompound_closure4(parentSelector, resolvedSimples, component), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,ComplexSelector0>"));
  109269. },
  109270. isSuperselector$1(other) {
  109271. return A.listIsSuperselector0(this.components, other.components);
  109272. },
  109273. withAdditionalCombinators$1(combinators) {
  109274. var t1;
  109275. if (combinators.length === 0)
  109276. t1 = this;
  109277. else {
  109278. t1 = this.components;
  109279. t1 = A.SelectorList$0(new A.MappedListIterable(t1, new A.SelectorList_withAdditionalCombinators_closure0(combinators), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,ComplexSelector0>")), this.span);
  109280. }
  109281. return t1;
  109282. },
  109283. get$hashCode(_) {
  109284. return B.C_ListEquality0.hash$1(this.components);
  109285. },
  109286. $eq(_, other) {
  109287. if (other == null)
  109288. return false;
  109289. return other instanceof A.SelectorList0 && B.C_ListEquality.equals$2(0, this.components, other.components);
  109290. }
  109291. };
  109292. A.SelectorList_asSassList_closure0.prototype = {
  109293. call$1(complex) {
  109294. var t3, t4, _i, component, visitor, t5, t6, t7, _i0, _null = null,
  109295. t1 = type$.JSArray_Value_2,
  109296. t2 = A._setArrayType([], t1);
  109297. for (t3 = complex.leadingCombinators, t4 = t3.length, _i = 0; _i < t4; ++_i)
  109298. t2.push(new A.SassString0(J.toString$0$(t3[_i].value), false));
  109299. for (t3 = complex.components, t4 = t3.length, _i = 0; _i < t4; ++_i) {
  109300. component = t3[_i];
  109301. visitor = A._SerializeVisitor$0(_null, true, _null, _null, true, false, _null, true);
  109302. component.selector.accept$1(visitor);
  109303. t5 = A._setArrayType([new A.SassString0(visitor._serialize0$_buffer.toString$0(0), false)], t1);
  109304. for (t6 = component.combinators, t7 = t6.length, _i0 = 0; _i0 < t7; ++_i0)
  109305. t5.push(new A.SassString0(J.toString$0$(t6[_i0].value), false));
  109306. B.JSArray_methods.addAll$1(t2, t5);
  109307. }
  109308. return A.SassList$0(t2, B.ListSeparator_qSL0, false);
  109309. },
  109310. $signature: 503
  109311. };
  109312. A.SelectorList_nestWithin_closure0.prototype = {
  109313. call$1(complex) {
  109314. 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;
  109315. if (_this.preserveParentSelectors || complex.accept$1(B.C__ParentSelectorVisitor0) == null) {
  109316. if (!_this.implicitParent)
  109317. return A._setArrayType([complex], type$.JSArray_ComplexSelector_2);
  109318. t1 = _this.parent.components;
  109319. return new A.MappedListIterable(t1, new A.SelectorList_nestWithin__closure1(complex), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,ComplexSelector0>"));
  109320. }
  109321. t1 = type$.JSArray_ComplexSelector_2;
  109322. newComplexes = A._setArrayType([], t1);
  109323. 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) {
  109324. component = t2[_i];
  109325. resolved = t4._list2$_nestWithinCompound$2(component, t5);
  109326. if (resolved == null)
  109327. if (newComplexes.length === 0)
  109328. newComplexes.push(A.ComplexSelector$0(t7, A._setArrayType([component], t11), t9, false));
  109329. else
  109330. for (i = 0; i < newComplexes.length; ++i) {
  109331. t12 = newComplexes[i];
  109332. t13 = A.List_List$_of(t12.components, t10);
  109333. t13.push(component);
  109334. newComplexes[i] = A.ComplexSelector$0(t12.leadingCombinators, t13, t9, t12.lineBreak);
  109335. }
  109336. else if (newComplexes.length === 0)
  109337. B.JSArray_methods.addAll$1(newComplexes, t8 ? resolved : J.map$1$1$ax(resolved, new A.SelectorList_nestWithin__closure2(complex), t6));
  109338. else {
  109339. t12 = A._setArrayType([], t1);
  109340. for (t13 = newComplexes.length, t14 = J.getInterceptor$ax(resolved), _i0 = 0; _i0 < newComplexes.length; newComplexes.length === t13 || (0, A.throwConcurrentModificationError)(newComplexes), ++_i0) {
  109341. newComplex = newComplexes[_i0];
  109342. for (t15 = t14.get$iterator(resolved), t16 = newComplex.span; t15.moveNext$0();)
  109343. t12.push(newComplex.concatenate$2(t15.get$current(t15), t16));
  109344. }
  109345. newComplexes = t12;
  109346. }
  109347. }
  109348. return newComplexes;
  109349. },
  109350. $signature: 504
  109351. };
  109352. A.SelectorList_nestWithin__closure1.prototype = {
  109353. call$1(parentComplex) {
  109354. var t1 = this.complex;
  109355. return parentComplex.concatenate$2(t1, t1.span);
  109356. },
  109357. $signature: 58
  109358. };
  109359. A.SelectorList_nestWithin__closure2.prototype = {
  109360. call$1(resolvedComplex) {
  109361. var t1 = resolvedComplex.leadingCombinators,
  109362. t2 = this.complex,
  109363. t3 = t2.leadingCombinators;
  109364. if (t1.length === 0)
  109365. t1 = t3;
  109366. else {
  109367. t3 = A.List_List$_of(t3, type$.CssValue_Combinator_2);
  109368. B.JSArray_methods.addAll$1(t3, t1);
  109369. t1 = t3;
  109370. }
  109371. return A.ComplexSelector$0(t1, resolvedComplex.components, t2.span, resolvedComplex.lineBreak);
  109372. },
  109373. $signature: 58
  109374. };
  109375. A.SelectorList__nestWithinCompound_closure2.prototype = {
  109376. call$1(simple) {
  109377. var selector;
  109378. if (!(simple instanceof A.PseudoSelector0))
  109379. return false;
  109380. selector = simple.selector;
  109381. return selector != null && selector.accept$1(B.C__ParentSelectorVisitor0) != null;
  109382. },
  109383. $signature: 13
  109384. };
  109385. A.SelectorList__nestWithinCompound_closure3.prototype = {
  109386. call$1(simple) {
  109387. var selector, t1, _0_2;
  109388. $label0$0: {
  109389. selector = null;
  109390. t1 = false;
  109391. if (simple instanceof A.PseudoSelector0) {
  109392. _0_2 = simple.selector;
  109393. if (_0_2 != null) {
  109394. selector = _0_2 == null ? type$.SelectorList_2._as(_0_2) : _0_2;
  109395. t1 = selector.accept$1(B.C__ParentSelectorVisitor0) != null;
  109396. }
  109397. }
  109398. if (t1) {
  109399. t1 = simple.withSelector$1(selector.nestWithin$2$implicitParent(this.parent, false));
  109400. break $label0$0;
  109401. }
  109402. t1 = simple;
  109403. break $label0$0;
  109404. }
  109405. return t1;
  109406. },
  109407. $signature: 505
  109408. };
  109409. A.SelectorList__nestWithinCompound_closure4.prototype = {
  109410. call$1(complex) {
  109411. var lastComponent, suffix, lastSimples, t1, t2, last, t3, error, stackTrace, t4, t5, exception, _this = this;
  109412. try {
  109413. t4 = complex.components;
  109414. lastComponent = B.JSArray_methods.get$last(t4);
  109415. if (lastComponent.combinators.length !== 0) {
  109416. 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);
  109417. throw A.wrapException(t1);
  109418. }
  109419. suffix = _this.parentSelector.suffix;
  109420. lastSimples = lastComponent.selector.components;
  109421. t5 = type$.SimpleSelector_2;
  109422. if (suffix == null) {
  109423. t2 = A.List_List$_of(lastSimples, t5);
  109424. t1 = t2;
  109425. J.addAll$1$ax(t1, J.skip$1$ax(_this.resolvedSimples, 1));
  109426. t1 = t1;
  109427. } else {
  109428. t1 = A.List_List$_of(A.IterableExtension_get_exceptLast0(lastSimples), t5);
  109429. t2 = t1;
  109430. J.add$1$ax(t2, J.get$last$ax(lastSimples).addSuffix$1(suffix));
  109431. J.addAll$1$ax(t2, J.skip$1$ax(_this.resolvedSimples, 1));
  109432. t1 = t2;
  109433. }
  109434. t2 = _this.component;
  109435. last = A.CompoundSelector$0(t1, t2.selector.span);
  109436. t1 = A.List_List$_of(A.IterableExtension_get_exceptLast0(t4), type$.ComplexSelectorComponent_2);
  109437. t3 = t1;
  109438. t1 = t2.span;
  109439. J.add$1$ax(t3, new A.ComplexSelectorComponent0(last, A.List_List$unmodifiable(t2.combinators, type$.CssValue_Combinator_2), t1));
  109440. t1 = A.ComplexSelector$0(complex.leadingCombinators, t3, t1, complex.lineBreak);
  109441. return t1;
  109442. } catch (exception) {
  109443. t1 = A.unwrapException(exception);
  109444. if (t1 instanceof A.SassException0) {
  109445. error = t1;
  109446. stackTrace = A.getTraceFromException(exception);
  109447. A.throwWithTrace0(error.withAdditionalSpan$2(_this.parentSelector.span, "parent selector"), error, stackTrace);
  109448. } else
  109449. throw exception;
  109450. }
  109451. },
  109452. $signature: 58
  109453. };
  109454. A.SelectorList_withAdditionalCombinators_closure0.prototype = {
  109455. call$1(complex) {
  109456. return complex.withAdditionalCombinators$1(this.combinators);
  109457. },
  109458. $signature: 58
  109459. };
  109460. A._ParentSelectorVisitor0.prototype = {
  109461. visitParentSelector$1(selector) {
  109462. return selector;
  109463. }
  109464. };
  109465. A.__ParentSelectorVisitor_Object_SelectorSearchVisitor0.prototype = {};
  109466. A.listClass_closure.prototype = {
  109467. call$0() {
  109468. var t1 = type$.JSClass,
  109469. jsClass = t1._as(A.allowInteropCaptureThisNamed("sass.SassList", new A.listClass__closure()));
  109470. J.get$$prototype$x(jsClass).get = A.allowInteropCaptureThisNamed("get", new A.listClass__closure0());
  109471. A.JSClassExtension_injectSuperclass(t1._as(B.SassList_apG.constructor), jsClass);
  109472. return jsClass;
  109473. },
  109474. $signature: 15
  109475. };
  109476. A.listClass__closure.prototype = {
  109477. call$3($self, contentsOrOptions, options) {
  109478. var contents, t1, t2;
  109479. if (self.immutable.isList(contentsOrOptions))
  109480. contents = J.cast$1$0$ax(J.toArray$0$x(type$.ImmutableList._as(contentsOrOptions)), type$.Value_2);
  109481. else if (type$.List_dynamic._is(contentsOrOptions))
  109482. contents = J.cast$1$0$ax(contentsOrOptions, type$.Value_2);
  109483. else {
  109484. contents = A._setArrayType([], type$.JSArray_Value_2);
  109485. type$.nullable__ConstructorOptions._as(contentsOrOptions);
  109486. options = contentsOrOptions;
  109487. }
  109488. t1 = options == null;
  109489. if (!t1) {
  109490. t2 = J.get$separator$x(options);
  109491. t2 = A._asBool($.$get$_isUndefined().call$1(t2));
  109492. } else
  109493. t2 = true;
  109494. t2 = t2 ? B.ListSeparator_qVN0 : A.jsToDartSeparator(J.get$separator$x(options));
  109495. t1 = t1 ? null : J.get$brackets$x(options);
  109496. return A.SassList$0(contents, t2, t1 == null ? false : t1);
  109497. },
  109498. call$1($self) {
  109499. return this.call$3($self, null, null);
  109500. },
  109501. call$2($self, contentsOrOptions) {
  109502. return this.call$3($self, contentsOrOptions, null);
  109503. },
  109504. "call*": "call$3",
  109505. $requiredArgCount: 1,
  109506. $defaultValues() {
  109507. return [null, null];
  109508. },
  109509. $signature: 506
  109510. };
  109511. A.listClass__closure0.prototype = {
  109512. call$2($self, indexFloat) {
  109513. var index = B.JSNumber_methods.floor$0(indexFloat);
  109514. if (index < 0)
  109515. index = $self.get$asList().length + index;
  109516. if (index < 0 || index >= $self.get$asList().length)
  109517. return self.undefined;
  109518. return $self.get$asList()[index];
  109519. },
  109520. $signature: 248
  109521. };
  109522. A._ConstructorOptions.prototype = {};
  109523. A._NodeSassList.prototype = {};
  109524. A.legacyListClass_closure.prototype = {
  109525. call$4(thisArg, $length, commaSeparator, dartValue) {
  109526. var t1;
  109527. if (dartValue == null) {
  109528. $length.toString;
  109529. t1 = A.Iterable_Iterable$generate($length, new A.legacyListClass__closure(), type$.Value_2);
  109530. t1 = A.SassList$0(t1, commaSeparator !== false ? B.ListSeparator_qVN0 : B.ListSeparator_qSL0, false);
  109531. } else
  109532. t1 = dartValue;
  109533. J.set$dartValue$x(thisArg, t1);
  109534. },
  109535. call$2(thisArg, $length) {
  109536. return this.call$4(thisArg, $length, null, null);
  109537. },
  109538. call$3(thisArg, $length, commaSeparator) {
  109539. return this.call$4(thisArg, $length, commaSeparator, null);
  109540. },
  109541. "call*": "call$4",
  109542. $requiredArgCount: 2,
  109543. $defaultValues() {
  109544. return [null, null];
  109545. },
  109546. $signature: 508
  109547. };
  109548. A.legacyListClass__closure.prototype = {
  109549. call$1(_) {
  109550. return B.C__SassNull0;
  109551. },
  109552. $signature: 249
  109553. };
  109554. A.legacyListClass_closure0.prototype = {
  109555. call$2(thisArg, index) {
  109556. return A.wrapValue(J.get$dartValue$x(thisArg)._list1$_contents[index]);
  109557. },
  109558. $signature: 510
  109559. };
  109560. A.legacyListClass_closure1.prototype = {
  109561. call$3(thisArg, index, value) {
  109562. var t1 = J.getInterceptor$x(thisArg),
  109563. t2 = t1.get$dartValue(thisArg)._list1$_contents,
  109564. mutable = A._setArrayType(t2.slice(0), A._arrayInstanceType(t2));
  109565. mutable[index] = A.unwrapValue(value);
  109566. t1.set$dartValue(thisArg, t1.get$dartValue(thisArg).withListContents$1(mutable));
  109567. },
  109568. "call*": "call$3",
  109569. $requiredArgCount: 3,
  109570. $signature: 511
  109571. };
  109572. A.legacyListClass_closure2.prototype = {
  109573. call$1(thisArg) {
  109574. return J.get$dartValue$x(thisArg)._list1$_separator === B.ListSeparator_qVN0;
  109575. },
  109576. $signature: 512
  109577. };
  109578. A.legacyListClass_closure3.prototype = {
  109579. call$2(thisArg, isComma) {
  109580. var t1 = J.getInterceptor$x(thisArg),
  109581. t2 = t1.get$dartValue(thisArg)._list1$_contents,
  109582. t3 = isComma ? B.ListSeparator_qVN0 : B.ListSeparator_qSL0;
  109583. t1.set$dartValue(thisArg, A.SassList$0(t2, t3, t1.get$dartValue(thisArg)._list1$_hasBrackets));
  109584. },
  109585. $signature: 513
  109586. };
  109587. A.legacyListClass_closure4.prototype = {
  109588. call$1(thisArg) {
  109589. return J.get$dartValue$x(thisArg)._list1$_contents.length;
  109590. },
  109591. $signature: 514
  109592. };
  109593. A.SassList0.prototype = {
  109594. get$separator(_) {
  109595. return this._list1$_separator;
  109596. },
  109597. get$hasBrackets() {
  109598. return this._list1$_hasBrackets;
  109599. },
  109600. get$isBlank() {
  109601. return !this._list1$_hasBrackets && B.JSArray_methods.every$1(this._list1$_contents, new A.SassList_isBlank_closure0());
  109602. },
  109603. get$asList() {
  109604. return this._list1$_contents;
  109605. },
  109606. get$lengthAsList() {
  109607. return this._list1$_contents.length;
  109608. },
  109609. SassList$3$brackets0(contents, _separator, brackets) {
  109610. if (this._list1$_separator === B.ListSeparator_undecided_null_undecided0 && this._list1$_contents.length > 1)
  109611. throw A.wrapException(A.ArgumentError$(string$.A_list, null));
  109612. },
  109613. toString$0(_) {
  109614. var t2, _this = this,
  109615. t1 = true;
  109616. if (!_this._list1$_hasBrackets) {
  109617. t2 = _this._list1$_contents.length;
  109618. if (t2 !== 0)
  109619. t1 = t2 === 1 && _this._list1$_separator === B.ListSeparator_qVN0;
  109620. }
  109621. if (t1)
  109622. return _this.super$Value$toString0(0);
  109623. return "(" + _this.super$Value$toString0(0) + ")";
  109624. },
  109625. accept$1$1(visitor) {
  109626. return visitor.visitList$1(this);
  109627. },
  109628. accept$1(visitor) {
  109629. return this.accept$1$1(visitor, type$.dynamic);
  109630. },
  109631. assertMap$1($name) {
  109632. return this._list1$_contents.length === 0 ? B.SassMap_Map_empty0 : this.super$Value$assertMap0($name);
  109633. },
  109634. tryMap$0() {
  109635. return this._list1$_contents.length === 0 ? B.SassMap_Map_empty0 : null;
  109636. },
  109637. $eq(_, other) {
  109638. var t1, _this = this;
  109639. if (other == null)
  109640. return false;
  109641. 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)))
  109642. t1 = _this._list1$_contents.length === 0 && other instanceof A.SassMap0 && other.get$asList().length === 0;
  109643. else
  109644. t1 = true;
  109645. return t1;
  109646. },
  109647. get$hashCode(_) {
  109648. return B.C_ListEquality0.hash$1(this._list1$_contents);
  109649. }
  109650. };
  109651. A.SassList_isBlank_closure0.prototype = {
  109652. call$1(element) {
  109653. return element.get$isBlank();
  109654. },
  109655. $signature: 55
  109656. };
  109657. A.ListSeparator0.prototype = {
  109658. _enumToString$0() {
  109659. return "ListSeparator." + this._name;
  109660. },
  109661. toString$0(_) {
  109662. return this._list1$_name;
  109663. }
  109664. };
  109665. A.LmsColorSpace0.prototype = {
  109666. get$isBoundedInternal() {
  109667. return false;
  109668. },
  109669. convert$10$missingA$missingB$missingChroma$missingHue$missingLightness(dest, long, medium, short, alpha, missingA, missingB, missingChroma, missingHue, missingLightness) {
  109670. var t1, longScaled, mediumScaled, shortScaled, lightness, t2, t3, _null = null;
  109671. switch (dest) {
  109672. case B.OklabColorSpace_5400:
  109673. t1 = long == null ? 0 : long;
  109674. longScaled = Math.pow(Math.abs(t1), 0.3333333333333333) * J.get$sign$in(t1);
  109675. t1 = medium == null ? 0 : medium;
  109676. mediumScaled = Math.pow(Math.abs(t1), 0.3333333333333333) * J.get$sign$in(t1);
  109677. t1 = short == null ? 0 : short;
  109678. shortScaled = Math.pow(Math.abs(t1), 0.3333333333333333) * J.get$sign$in(t1);
  109679. t1 = $.$get$lmsToOklab0();
  109680. lightness = t1[0] * longScaled + t1[1] * mediumScaled + t1[2] * shortScaled;
  109681. t2 = missingLightness ? _null : lightness;
  109682. t3 = missingA ? _null : t1[3] * longScaled + t1[4] * mediumScaled + t1[5] * shortScaled;
  109683. return A.SassColor$_forSpace0(B.OklabColorSpace_5400, t2, t3, missingB ? _null : t1[6] * longScaled + t1[7] * mediumScaled + t1[8] * shortScaled, alpha, _null);
  109684. case B.OklchColorSpace_9Gj0:
  109685. t1 = long == null ? 0 : long;
  109686. longScaled = Math.pow(Math.abs(t1), 0.3333333333333333) * J.get$sign$in(t1);
  109687. t1 = medium == null ? 0 : medium;
  109688. mediumScaled = Math.pow(Math.abs(t1), 0.3333333333333333) * J.get$sign$in(t1);
  109689. t1 = short == null ? 0 : short;
  109690. shortScaled = Math.pow(Math.abs(t1), 0.3333333333333333) * J.get$sign$in(t1);
  109691. if (missingLightness)
  109692. t1 = _null;
  109693. else {
  109694. t1 = $.$get$lmsToOklab0();
  109695. t1 = t1[0] * longScaled + t1[1] * mediumScaled + t1[2] * shortScaled;
  109696. }
  109697. t2 = $.$get$lmsToOklab0();
  109698. 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);
  109699. default:
  109700. return this.super$ColorSpace$convertLinear0(dest, long, medium, short, alpha, missingA, missingB, missingChroma, missingHue, missingLightness);
  109701. }
  109702. },
  109703. convert$5(dest, long, medium, short, alpha) {
  109704. return this.convert$10$missingA$missingB$missingChroma$missingHue$missingLightness(dest, long, medium, short, alpha, false, false, false, false, false);
  109705. },
  109706. toLinear$1(channel) {
  109707. return channel;
  109708. },
  109709. fromLinear$1(channel) {
  109710. return channel;
  109711. },
  109712. transformationMatrix$1(dest) {
  109713. var t1;
  109714. $label0$0: {
  109715. if (B.SrgbLinearColorSpace_kUj0 === dest || B.SrgbColorSpace_thf0 === dest || B.RgbColorSpace_i0P0 === dest) {
  109716. t1 = $.$get$lmsToLinearSrgb0();
  109717. break $label0$0;
  109718. }
  109719. if (B.A98RgbColorSpace_lf20 === dest) {
  109720. t1 = $.$get$lmsToLinearA98Rgb0();
  109721. break $label0$0;
  109722. }
  109723. if (B.ProphotoRgbColorSpace_BDz0 === dest) {
  109724. t1 = $.$get$lmsToLinearProphotoRgb0();
  109725. break $label0$0;
  109726. }
  109727. if (B.DisplayP3ColorSpace_MmT0 === dest) {
  109728. t1 = $.$get$lmsToLinearDisplayP30();
  109729. break $label0$0;
  109730. }
  109731. if (B.Rec2020ColorSpace_6oo0 === dest) {
  109732. t1 = $.$get$lmsToLinearRec20200();
  109733. break $label0$0;
  109734. }
  109735. if (B.XyzD65ColorSpace_WiJ0 === dest) {
  109736. t1 = $.$get$lmsToXyzD650();
  109737. break $label0$0;
  109738. }
  109739. if (B.XyzD50ColorSpace_2OB0 === dest) {
  109740. t1 = $.$get$lmsToXyzD500();
  109741. break $label0$0;
  109742. }
  109743. t1 = this.super$ColorSpace$transformationMatrix0(dest);
  109744. break $label0$0;
  109745. }
  109746. return t1;
  109747. }
  109748. };
  109749. A.LocalMindeGamutMap0.prototype = {
  109750. map$1(_, color) {
  109751. var clipped, max, min, minInGamut, chroma, current, e,
  109752. originOklch = color.toSpace$1(B.OklchColorSpace_9Gj0),
  109753. lightness = originOklch.channel0OrNull,
  109754. hue = originOklch.channel2OrNull,
  109755. alpha = originOklch.alphaOrNull,
  109756. t1 = lightness == null,
  109757. t2 = t1 ? 0 : lightness;
  109758. if (t2 > 1 || A.fuzzyEquals0(t2, 1)) {
  109759. t1 = color._color0$_space;
  109760. t2 = color.alphaOrNull;
  109761. 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);
  109762. } else {
  109763. t1 = t1 ? 0 : lightness;
  109764. if (t1 < 0 || A.fuzzyEquals0(t1, 0))
  109765. return A.SassColor_SassColor$rgbInternal0(0, 0, 0, color.alphaOrNull, null).toSpace$1(color._color0$_space);
  109766. }
  109767. clipped = color.get$isInGamut() ? color : B.ClipGamutMap_clip0.map$1(0, color);
  109768. if (this._local_minde$_deltaEOK$2(clipped, color) < 0.02)
  109769. return clipped;
  109770. max = originOklch.channel1OrNull;
  109771. if (max == null)
  109772. max = 0;
  109773. for (t1 = color._color0$_space, min = 0, minInGamut = true; max - min > 0.0001;) {
  109774. chroma = (min + max) / 2;
  109775. current = B.OklchColorSpace_9Gj0.convert$5(t1, lightness, chroma, hue, alpha);
  109776. if (minInGamut && current.get$isInGamut()) {
  109777. min = chroma;
  109778. continue;
  109779. }
  109780. clipped = current.get$isInGamut() ? current : B.ClipGamutMap_clip0.map$1(0, current);
  109781. e = this._local_minde$_deltaEOK$2(clipped, current);
  109782. if (e < 0.02) {
  109783. if (0.02 - e < 0.0001)
  109784. return clipped;
  109785. min = chroma;
  109786. minInGamut = false;
  109787. } else
  109788. max = chroma;
  109789. }
  109790. return clipped;
  109791. },
  109792. _local_minde$_deltaEOK$2(color1, color2) {
  109793. var t2, t3, t4,
  109794. lab1 = color1.toSpace$1(B.OklabColorSpace_5400),
  109795. lab2 = color2.toSpace$1(B.OklabColorSpace_5400),
  109796. t1 = lab1.channel0OrNull;
  109797. if (t1 == null)
  109798. t1 = 0;
  109799. t2 = lab2.channel0OrNull;
  109800. t1 = Math.pow(t1 - (t2 == null ? 0 : t2), 2);
  109801. t2 = lab1.channel1OrNull;
  109802. if (t2 == null)
  109803. t2 = 0;
  109804. t3 = lab2.channel1OrNull;
  109805. t2 = Math.pow(t2 - (t3 == null ? 0 : t3), 2);
  109806. t3 = lab1.channel2OrNull;
  109807. if (t3 == null)
  109808. t3 = 0;
  109809. t4 = lab2.channel2OrNull;
  109810. return Math.sqrt(t1 + t2 + Math.pow(t3 - (t4 == null ? 0 : t4), 2));
  109811. }
  109812. };
  109813. A.JSLogger.prototype = {};
  109814. A.WarnOptions.prototype = {};
  109815. A.DebugOptions.prototype = {};
  109816. A.LoggerWithDeprecationType0.prototype = {};
  109817. A.LoudComment0.prototype = {
  109818. get$span(_) {
  109819. return this.text.span;
  109820. },
  109821. accept$1$1(visitor) {
  109822. return visitor.visitLoudComment$1(0, this);
  109823. },
  109824. accept$1(visitor) {
  109825. return this.accept$1$1(visitor, type$.dynamic);
  109826. },
  109827. toString$0(_) {
  109828. return this.text.toString$0(0);
  109829. }
  109830. };
  109831. A.MapExpression0.prototype = {
  109832. accept$1$1(visitor) {
  109833. return visitor.visitMapExpression$1(0, this);
  109834. },
  109835. accept$1(visitor) {
  109836. return this.accept$1$1(visitor, type$.dynamic);
  109837. },
  109838. toString$0(_) {
  109839. var t2, t3, _i, t4,
  109840. t1 = A._setArrayType([], type$.JSArray_String);
  109841. for (t2 = this.pairs, t3 = t2.length, _i = 0; _i < t3; ++_i) {
  109842. t4 = t2[_i];
  109843. t1.push(t4._0.toString$0(0) + ": " + t4._1.toString$0(0));
  109844. }
  109845. return "(" + B.JSArray_methods.join$1(t1, ", ") + ")";
  109846. },
  109847. get$span(receiver) {
  109848. return this.span;
  109849. }
  109850. };
  109851. A._get_closure0.prototype = {
  109852. call$1($arguments) {
  109853. var value,
  109854. t1 = J.getInterceptor$asx($arguments),
  109855. map = t1.$index($arguments, 0).assertMap$1("map"),
  109856. t2 = A._setArrayType([t1.$index($arguments, 1)], type$.JSArray_Value_2);
  109857. B.JSArray_methods.addAll$1(t2, t1.$index($arguments, 2).get$asList());
  109858. for (t1 = A.IterableExtension_get_exceptLast0(t2), t1 = t1.get$iterator(t1); t1.moveNext$0(); map = value) {
  109859. value = map._map0$_contents.$index(0, t1.get$current(t1));
  109860. if (!(value instanceof A.SassMap0))
  109861. return B.C__SassNull0;
  109862. }
  109863. t1 = map._map0$_contents.$index(0, B.JSArray_methods.get$last(t2));
  109864. return t1 == null ? B.C__SassNull0 : t1;
  109865. },
  109866. $signature: 3
  109867. };
  109868. A._set_closure1.prototype = {
  109869. call$1($arguments) {
  109870. var t1 = J.getInterceptor$asx($arguments);
  109871. 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);
  109872. },
  109873. $signature: 3
  109874. };
  109875. A._set__closure2.prototype = {
  109876. call$1(_) {
  109877. return J.$index$asx(this.$arguments, 2);
  109878. },
  109879. $signature: 44
  109880. };
  109881. A._set_closure2.prototype = {
  109882. call$1($arguments) {
  109883. var keys, t2, t3,
  109884. t1 = J.getInterceptor$asx($arguments),
  109885. map = t1.$index($arguments, 0).assertMap$1("map"),
  109886. _0_0 = t1.$index($arguments, 1).get$asList(),
  109887. _0_1 = _0_0.length;
  109888. if (_0_1 <= 0)
  109889. throw A.wrapException(A.SassScriptException$0("Expected $args to contain a key.", null));
  109890. if (_0_1 === 1)
  109891. throw A.wrapException(A.SassScriptException$0("Expected $args to contain a value.", null));
  109892. t1 = {};
  109893. keys = t1.value = null;
  109894. t2 = _0_1 >= 1;
  109895. if (t2) {
  109896. t3 = _0_1 - 1;
  109897. keys = B.JSArray_methods.sublist$2(_0_0, 0, t3);
  109898. t1.value = _0_0[t3];
  109899. }
  109900. if (t2)
  109901. return A._modify0(map, keys, new A._set__closure1(t1), true);
  109902. throw A.wrapException("[BUG] Unreachable code");
  109903. },
  109904. $signature: 3
  109905. };
  109906. A._set__closure1.prototype = {
  109907. call$1(_) {
  109908. return this._box_0.value;
  109909. },
  109910. $signature: 44
  109911. };
  109912. A._merge_closure1.prototype = {
  109913. call$1($arguments) {
  109914. var t2,
  109915. t1 = J.getInterceptor$asx($arguments),
  109916. map1 = t1.$index($arguments, 0).assertMap$1("map1"),
  109917. map2 = t1.$index($arguments, 1).assertMap$1("map2");
  109918. t1 = type$.Value_2;
  109919. t2 = A.LinkedHashMap_LinkedHashMap$of(map1._map0$_contents, t1, t1);
  109920. t2.addAll$1(0, map2._map0$_contents);
  109921. return new A.SassMap0(A.ConstantMap_ConstantMap$from(t2, t1, t1));
  109922. },
  109923. $signature: 38
  109924. };
  109925. A._merge_closure2.prototype = {
  109926. call$1($arguments) {
  109927. var last, t2, keys, _null = null,
  109928. t1 = J.getInterceptor$asx($arguments),
  109929. map1 = t1.$index($arguments, 0).assertMap$1("map1"),
  109930. _0_0 = t1.$index($arguments, 1).get$asList(),
  109931. _0_1 = _0_0.length;
  109932. if (_0_1 <= 0)
  109933. throw A.wrapException(A.SassScriptException$0("Expected $args to contain a key.", _null));
  109934. if (_0_1 === 1)
  109935. throw A.wrapException(A.SassScriptException$0("Expected $args to contain a map.", _null));
  109936. t1 = _0_1 >= 1;
  109937. last = _null;
  109938. if (t1) {
  109939. t2 = _0_1 - 1;
  109940. keys = B.JSArray_methods.sublist$2(_0_0, 0, t2);
  109941. last = _0_0[t2];
  109942. } else
  109943. keys = _null;
  109944. if (t1)
  109945. return A._modify0(map1, keys, new A._merge__closure0(last.assertMap$1("map2")), true);
  109946. throw A.wrapException("[BUG] Unreachable code");
  109947. },
  109948. $signature: 3
  109949. };
  109950. A._merge__closure0.prototype = {
  109951. call$1(oldValue) {
  109952. var t1, t2,
  109953. nestedMap = oldValue.tryMap$0();
  109954. if (nestedMap == null)
  109955. return this.map2;
  109956. t1 = type$.Value_2;
  109957. t2 = A.LinkedHashMap_LinkedHashMap$of(nestedMap._map0$_contents, t1, t1);
  109958. t2.addAll$1(0, this.map2._map0$_contents);
  109959. return new A.SassMap0(A.ConstantMap_ConstantMap$from(t2, t1, t1));
  109960. },
  109961. $signature: 515
  109962. };
  109963. A._deepMerge_closure0.prototype = {
  109964. call$1($arguments) {
  109965. var t1 = J.getInterceptor$asx($arguments);
  109966. return A._deepMergeImpl0(t1.$index($arguments, 0).assertMap$1("map1"), t1.$index($arguments, 1).assertMap$1("map2"));
  109967. },
  109968. $signature: 38
  109969. };
  109970. A._deepRemove_closure0.prototype = {
  109971. call$1($arguments) {
  109972. var t1 = J.getInterceptor$asx($arguments),
  109973. map = t1.$index($arguments, 0).assertMap$1("map"),
  109974. t2 = A._setArrayType([t1.$index($arguments, 1)], type$.JSArray_Value_2);
  109975. B.JSArray_methods.addAll$1(t2, t1.$index($arguments, 2).get$asList());
  109976. return A._modify0(map, A.IterableExtension_get_exceptLast0(t2), new A._deepRemove__closure0(t2), false);
  109977. },
  109978. $signature: 3
  109979. };
  109980. A._deepRemove__closure0.prototype = {
  109981. call$1(value) {
  109982. var t1, nestedMap, t2,
  109983. _0_0 = value.tryMap$0();
  109984. if (_0_0 != null) {
  109985. t1 = _0_0._map0$_contents.containsKey$1(B.JSArray_methods.get$last(this.keys));
  109986. nestedMap = _0_0;
  109987. } else {
  109988. nestedMap = null;
  109989. t1 = false;
  109990. }
  109991. if (t1) {
  109992. t1 = type$.Value_2;
  109993. t2 = A.LinkedHashMap_LinkedHashMap$of(nestedMap._map0$_contents, t1, t1);
  109994. t2.remove$1(0, B.JSArray_methods.get$last(this.keys));
  109995. return new A.SassMap0(A.ConstantMap_ConstantMap$from(t2, t1, t1));
  109996. }
  109997. return value;
  109998. },
  109999. $signature: 44
  110000. };
  110001. A._remove_closure1.prototype = {
  110002. call$1($arguments) {
  110003. return J.$index$asx($arguments, 0).assertMap$1("map");
  110004. },
  110005. $signature: 38
  110006. };
  110007. A._remove_closure2.prototype = {
  110008. call$1($arguments) {
  110009. var mutableMap, t3, _i,
  110010. t1 = J.getInterceptor$asx($arguments),
  110011. map = t1.$index($arguments, 0).assertMap$1("map"),
  110012. t2 = A._setArrayType([t1.$index($arguments, 1)], type$.JSArray_Value_2);
  110013. B.JSArray_methods.addAll$1(t2, t1.$index($arguments, 2).get$asList());
  110014. t1 = type$.Value_2;
  110015. mutableMap = A.LinkedHashMap_LinkedHashMap$of(map._map0$_contents, t1, t1);
  110016. for (t3 = t2.length, _i = 0; _i < t2.length; t2.length === t3 || (0, A.throwConcurrentModificationError)(t2), ++_i)
  110017. mutableMap.remove$1(0, t2[_i]);
  110018. return new A.SassMap0(A.ConstantMap_ConstantMap$from(mutableMap, t1, t1));
  110019. },
  110020. $signature: 38
  110021. };
  110022. A._keys_closure0.prototype = {
  110023. call$1($arguments) {
  110024. var t1 = J.$index$asx($arguments, 0).assertMap$1("map")._map0$_contents;
  110025. return A.SassList$0(t1.get$keys(t1), B.ListSeparator_qVN0, false);
  110026. },
  110027. $signature: 29
  110028. };
  110029. A._values_closure0.prototype = {
  110030. call$1($arguments) {
  110031. var t1 = J.$index$asx($arguments, 0).assertMap$1("map")._map0$_contents;
  110032. return A.SassList$0(t1.get$values(t1), B.ListSeparator_qVN0, false);
  110033. },
  110034. $signature: 29
  110035. };
  110036. A._hasKey_closure0.prototype = {
  110037. call$1($arguments) {
  110038. var value,
  110039. t1 = J.getInterceptor$asx($arguments),
  110040. map = t1.$index($arguments, 0).assertMap$1("map"),
  110041. t2 = A._setArrayType([t1.$index($arguments, 1)], type$.JSArray_Value_2);
  110042. B.JSArray_methods.addAll$1(t2, t1.$index($arguments, 2).get$asList());
  110043. for (t1 = A.IterableExtension_get_exceptLast0(t2), t1 = t1.get$iterator(t1); t1.moveNext$0(); map = value) {
  110044. value = map._map0$_contents.$index(0, t1.get$current(t1));
  110045. if (!(value instanceof A.SassMap0))
  110046. return B.SassBoolean_false0;
  110047. }
  110048. return map._map0$_contents.containsKey$1(B.JSArray_methods.get$last(t2)) ? B.SassBoolean_true0 : B.SassBoolean_false0;
  110049. },
  110050. $signature: 11
  110051. };
  110052. A._modify_modifyNestedMap0.prototype = {
  110053. call$1(map) {
  110054. var nestedMap, _this = this,
  110055. t1 = type$.Value_2,
  110056. mutableMap = A.LinkedHashMap_LinkedHashMap$of(map._map0$_contents, t1, t1),
  110057. t2 = _this.keyIterator,
  110058. key = t2.get$current(t2);
  110059. if (!t2.moveNext$0()) {
  110060. t2 = mutableMap.$index(0, key);
  110061. if (t2 == null)
  110062. t2 = B.C__SassNull0;
  110063. mutableMap.$indexSet(0, key, _this.modify.call$1(t2));
  110064. return new A.SassMap0(A.ConstantMap_ConstantMap$from(mutableMap, t1, t1));
  110065. }
  110066. t2 = mutableMap.$index(0, key);
  110067. nestedMap = t2 == null ? null : t2.tryMap$0();
  110068. t2 = nestedMap == null;
  110069. if (t2 && !_this.addNesting)
  110070. return new A.SassMap0(A.ConstantMap_ConstantMap$from(mutableMap, t1, t1));
  110071. mutableMap.$indexSet(0, key, _this.call$1(t2 ? B.SassMap_Map_empty0 : nestedMap));
  110072. return new A.SassMap0(A.ConstantMap_ConstantMap$from(mutableMap, t1, t1));
  110073. },
  110074. $signature: 516
  110075. };
  110076. A.MapExtensions_get_pairs_closure0.prototype = {
  110077. call$1(e) {
  110078. return new A._Record_2(e.key, e.value);
  110079. },
  110080. $signature() {
  110081. return this.K._eval$1("@<0>")._bind$1(this.V)._eval$1("+(1,2)(MapEntry<1,2>)");
  110082. }
  110083. };
  110084. A.mapClass_closure.prototype = {
  110085. call$0() {
  110086. var t1 = type$.JSClass,
  110087. jsClass = t1._as(A.allowInteropCaptureThisNamed("sass.SassMap", new A.mapClass__closure())),
  110088. t2 = J.getInterceptor$x(jsClass);
  110089. A.defineGetter(t2.get$$prototype(jsClass), "contents", new A.mapClass__closure0(), null);
  110090. t2.get$$prototype(jsClass).get = A.allowInteropCaptureThisNamed("get", new A.mapClass__closure1());
  110091. A.JSClassExtension_injectSuperclass(t1._as(B.SassMap_Map_empty0.constructor), jsClass);
  110092. return jsClass;
  110093. },
  110094. $signature: 15
  110095. };
  110096. A.mapClass__closure.prototype = {
  110097. call$2($self, contents) {
  110098. var t1;
  110099. if (contents == null)
  110100. t1 = B.SassMap_Map_empty0;
  110101. else {
  110102. t1 = type$.Value_2;
  110103. t1 = new A.SassMap0(A.ConstantMap_ConstantMap$from(A.immutableMapToDartMap(contents).cast$2$0(0, t1, t1), t1, t1));
  110104. }
  110105. return t1;
  110106. },
  110107. call$1($self) {
  110108. return this.call$2($self, null);
  110109. },
  110110. "call*": "call$2",
  110111. $requiredArgCount: 1,
  110112. $defaultValues() {
  110113. return [null];
  110114. },
  110115. $signature: 517
  110116. };
  110117. A.mapClass__closure0.prototype = {
  110118. call$1($self) {
  110119. return A.dartMapToImmutableMap($self._map0$_contents);
  110120. },
  110121. $signature: 518
  110122. };
  110123. A.mapClass__closure1.prototype = {
  110124. call$2($self, indexOrKey) {
  110125. var index, t1, _0_0;
  110126. if (typeof indexOrKey == "number") {
  110127. index = B.JSNumber_methods.floor$0(indexOrKey);
  110128. if (index < 0) {
  110129. t1 = $self._map0$_contents;
  110130. index = t1.get$length(t1) + index;
  110131. }
  110132. if (index >= 0) {
  110133. t1 = $self._map0$_contents;
  110134. t1 = index >= t1.get$length(t1);
  110135. } else
  110136. t1 = true;
  110137. if (t1)
  110138. return self.undefined;
  110139. t1 = type$.Value_2;
  110140. _0_0 = A.MapExtensions_get_pairs0($self._map0$_contents, t1, t1).elementAt$1(0, index);
  110141. return A.SassList$0(A._setArrayType([_0_0._0, _0_0._1], type$.JSArray_Value_2), B.ListSeparator_qSL0, false);
  110142. } else {
  110143. t1 = $self._map0$_contents.$index(0, indexOrKey);
  110144. return t1 == null ? self.undefined : t1;
  110145. }
  110146. },
  110147. $signature: 519
  110148. };
  110149. A._NodeSassMap.prototype = {};
  110150. A.legacyMapClass_closure.prototype = {
  110151. call$3(thisArg, $length, dartValue) {
  110152. var t1, t2, t3, map;
  110153. if (dartValue == null) {
  110154. $length.toString;
  110155. t1 = type$.Value_2;
  110156. t2 = A.Iterable_Iterable$generate($length, new A.legacyMapClass__closure(), t1);
  110157. t3 = A.Iterable_Iterable$generate($length, new A.legacyMapClass__closure0(), t1);
  110158. map = A.LinkedHashMap_LinkedHashMap(null, null, null, t1, t1);
  110159. A.MapBase__fillMapWithIterables(map, t2, t3);
  110160. t1 = new A.SassMap0(A.ConstantMap_ConstantMap$from(map, t1, t1));
  110161. } else
  110162. t1 = dartValue;
  110163. J.set$dartValue$x(thisArg, t1);
  110164. },
  110165. call$2(thisArg, $length) {
  110166. return this.call$3(thisArg, $length, null);
  110167. },
  110168. "call*": "call$3",
  110169. $requiredArgCount: 2,
  110170. $defaultValues() {
  110171. return [null];
  110172. },
  110173. $signature: 520
  110174. };
  110175. A.legacyMapClass__closure.prototype = {
  110176. call$1(i) {
  110177. return A.SassNumber_SassNumber0(i, null);
  110178. },
  110179. $signature: 521
  110180. };
  110181. A.legacyMapClass__closure0.prototype = {
  110182. call$1(_) {
  110183. return B.C__SassNull0;
  110184. },
  110185. $signature: 249
  110186. };
  110187. A.legacyMapClass_closure0.prototype = {
  110188. call$2(thisArg, index) {
  110189. var t1 = J.get$dartValue$x(thisArg)._map0$_contents;
  110190. return A.wrapValue(J.elementAt$1$ax(t1.get$keys(t1), index));
  110191. },
  110192. $signature: 250
  110193. };
  110194. A.legacyMapClass_closure1.prototype = {
  110195. call$2(thisArg, index) {
  110196. var t1 = J.get$dartValue$x(thisArg)._map0$_contents;
  110197. t1 = t1.get$values(t1);
  110198. return A.wrapValue(t1.elementAt$1(t1, index));
  110199. },
  110200. $signature: 250
  110201. };
  110202. A.legacyMapClass_closure2.prototype = {
  110203. call$1(thisArg) {
  110204. var t1 = J.get$dartValue$x(thisArg)._map0$_contents;
  110205. return t1.get$length(t1);
  110206. },
  110207. $signature: 523
  110208. };
  110209. A.legacyMapClass_closure3.prototype = {
  110210. call$3(thisArg, index, key) {
  110211. var newKey, t2, newMap, t3, i, t4, oldKey, oldValue,
  110212. t1 = J.getInterceptor$x(thisArg),
  110213. oldMap = t1.get$dartValue(thisArg)._map0$_contents,
  110214. $length = oldMap.get$length(oldMap);
  110215. A.IndexError_check(index, $length, oldMap, null, "index");
  110216. newKey = A.unwrapValue(key);
  110217. t2 = type$.Value_2;
  110218. newMap = A.LinkedHashMap_LinkedHashMap$_empty(t2, t2);
  110219. for (t3 = A.MapExtensions_get_pairs0(t1.get$dartValue(thisArg)._map0$_contents, t2, t2), t3 = t3.get$iterator(t3), i = 0; t3.moveNext$0();) {
  110220. t4 = t3.get$current(t3);
  110221. oldKey = t4._0;
  110222. oldValue = t4._1;
  110223. if (i === index)
  110224. newMap.$indexSet(0, newKey, oldValue);
  110225. else {
  110226. if (newKey.$eq(0, oldKey))
  110227. throw A.wrapException(A.ArgumentError$value(key, "key", "is already in the map"));
  110228. newMap.$indexSet(0, oldKey, oldValue);
  110229. }
  110230. ++i;
  110231. }
  110232. t1.set$dartValue(thisArg, new A.SassMap0(A.ConstantMap_ConstantMap$from(newMap, t2, t2)));
  110233. },
  110234. "call*": "call$3",
  110235. $requiredArgCount: 3,
  110236. $signature: 251
  110237. };
  110238. A.legacyMapClass_closure4.prototype = {
  110239. call$3(thisArg, index, value) {
  110240. var t3,
  110241. t1 = J.getInterceptor$x(thisArg),
  110242. t2 = t1.get$dartValue(thisArg)._map0$_contents,
  110243. key = J.elementAt$1$ax(t2.get$keys(t2), index);
  110244. t2 = type$.Value_2;
  110245. t3 = A.LinkedHashMap_LinkedHashMap$of(t1.get$dartValue(thisArg)._map0$_contents, t2, t2);
  110246. t3.$indexSet(0, key, A.unwrapValue(value));
  110247. t1.set$dartValue(thisArg, new A.SassMap0(A.ConstantMap_ConstantMap$from(t3, t2, t2)));
  110248. },
  110249. "call*": "call$3",
  110250. $requiredArgCount: 3,
  110251. $signature: 251
  110252. };
  110253. A.SassMap0.prototype = {
  110254. get$separator(_) {
  110255. var t1 = this._map0$_contents;
  110256. return t1.get$isEmpty(t1) ? B.ListSeparator_undecided_null_undecided0 : B.ListSeparator_qVN0;
  110257. },
  110258. get$asList() {
  110259. var t3, t4, t5, result,
  110260. t1 = type$.JSArray_Value_2,
  110261. t2 = A._setArrayType([], t1);
  110262. for (t3 = type$.Value_2, t4 = A.MapExtensions_get_pairs0(this._map0$_contents, t3, t3), t4 = t4.get$iterator(t4); t4.moveNext$0();) {
  110263. t5 = t4.get$current(t4);
  110264. result = A.List_List$from(A._setArrayType([t5._0, t5._1], t1), false, t3);
  110265. result.$flags = 3;
  110266. t2.push(new A.SassList0(result, B.ListSeparator_qSL0, false));
  110267. }
  110268. return t2;
  110269. },
  110270. get$lengthAsList() {
  110271. var t1 = this._map0$_contents;
  110272. return t1.get$length(t1);
  110273. },
  110274. accept$1$1(visitor) {
  110275. return visitor.visitMap$1(this);
  110276. },
  110277. accept$1(visitor) {
  110278. return this.accept$1$1(visitor, type$.dynamic);
  110279. },
  110280. assertMap$1($name) {
  110281. return this;
  110282. },
  110283. tryMap$0() {
  110284. return this;
  110285. },
  110286. $eq(_, other) {
  110287. var t1;
  110288. if (other == null)
  110289. return false;
  110290. if (!(other instanceof A.SassMap0 && B.C_MapEquality.equals$2(0, other._map0$_contents, this._map0$_contents))) {
  110291. t1 = this._map0$_contents;
  110292. t1 = t1.get$isEmpty(t1) && other instanceof A.SassList0 && other._list1$_contents.length === 0;
  110293. } else
  110294. t1 = true;
  110295. return t1;
  110296. },
  110297. get$hashCode(_) {
  110298. var t1 = this._map0$_contents;
  110299. return t1.get$isEmpty(t1) ? B.C_ListEquality0.hash$1(B.List_empty22) : B.C_MapEquality.hash$1(t1);
  110300. }
  110301. };
  110302. A.global_closure43.prototype = {
  110303. call$1($arguments) {
  110304. var t1,
  110305. number = J.$index$asx($arguments, 0).assertNumber$1("number");
  110306. if (number.hasUnit$1("%"))
  110307. 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);
  110308. else
  110309. A.warnForDeprecation0(string$.Globalm, B.Deprecation_ZDV);
  110310. t1 = number.get$numeratorUnits(number);
  110311. return A.SassNumber_SassNumber$withUnits0(Math.abs(number._number1$_value), number.get$denominatorUnits(number), t1);
  110312. },
  110313. $signature: 23
  110314. };
  110315. A.module_closure26.prototype = {
  110316. call$1(value) {
  110317. return Math.abs(value);
  110318. },
  110319. $signature: 16
  110320. };
  110321. A._ceil_closure0.prototype = {
  110322. call$1(value) {
  110323. return B.JSNumber_methods.ceil$0(value);
  110324. },
  110325. $signature: 16
  110326. };
  110327. A._clamp_closure0.prototype = {
  110328. call$1($arguments) {
  110329. var t1 = J.getInterceptor$asx($arguments),
  110330. min = t1.$index($arguments, 0).assertNumber$1("min"),
  110331. number = t1.$index($arguments, 1).assertNumber$1("number"),
  110332. max = t1.$index($arguments, 2).assertNumber$1("max");
  110333. number.convertValueToMatch$3(min, "number", "min");
  110334. max.convertValueToMatch$3(min, "max", "min");
  110335. if (min.greaterThanOrEquals$1(max).value)
  110336. return min;
  110337. if (min.greaterThanOrEquals$1(number).value)
  110338. return min;
  110339. if (number.greaterThanOrEquals$1(max).value)
  110340. return max;
  110341. return number;
  110342. },
  110343. $signature: 23
  110344. };
  110345. A._floor_closure0.prototype = {
  110346. call$1(value) {
  110347. return B.JSNumber_methods.floor$0(value);
  110348. },
  110349. $signature: 16
  110350. };
  110351. A._max_closure0.prototype = {
  110352. call$1($arguments) {
  110353. var t1, t2, max, _i, number;
  110354. 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) {
  110355. number = t1[_i].assertNumber$0();
  110356. if (max == null || max.lessThan$1(number).value)
  110357. max = number;
  110358. }
  110359. if (max != null)
  110360. return max;
  110361. throw A.wrapException(A.SassScriptException$0("At least one argument must be passed.", null));
  110362. },
  110363. $signature: 23
  110364. };
  110365. A._min_closure0.prototype = {
  110366. call$1($arguments) {
  110367. var t1, t2, min, _i, number;
  110368. 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) {
  110369. number = t1[_i].assertNumber$0();
  110370. if (min == null || min.greaterThan$1(number).value)
  110371. min = number;
  110372. }
  110373. if (min != null)
  110374. return min;
  110375. throw A.wrapException(A.SassScriptException$0("At least one argument must be passed.", null));
  110376. },
  110377. $signature: 23
  110378. };
  110379. A._round_closure0.prototype = {
  110380. call$1(number) {
  110381. return B.JSNumber_methods.round$0(number);
  110382. },
  110383. $signature: 16
  110384. };
  110385. A._hypot_closure0.prototype = {
  110386. call$1($arguments) {
  110387. var subtotal, i, i0, t3,
  110388. t1 = J.$index$asx($arguments, 0).get$asList(),
  110389. t2 = A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,SassNumber0>"),
  110390. numbers = A.List_List$_of(new A.MappedListIterable(t1, new A._hypot__closure0(), t2), t2._eval$1("ListIterable.E"));
  110391. if (numbers.length === 0)
  110392. throw A.wrapException(A.SassScriptException$0("At least one argument must be passed.", null));
  110393. for (subtotal = 0, i = 0; i < numbers.length; i = i0) {
  110394. i0 = i + 1;
  110395. subtotal += Math.pow(numbers[i].convertValueToMatch$3(numbers[0], "numbers[" + i0 + "]", "numbers[1]"), 2);
  110396. }
  110397. t1 = Math.sqrt(subtotal);
  110398. t2 = numbers[0];
  110399. t2 = t2.get$numeratorUnits(t2);
  110400. t3 = numbers[0];
  110401. return A.SassNumber_SassNumber$withUnits0(t1, t3.get$denominatorUnits(t3), t2);
  110402. },
  110403. $signature: 23
  110404. };
  110405. A._hypot__closure0.prototype = {
  110406. call$1(argument) {
  110407. return argument.assertNumber$0();
  110408. },
  110409. $signature: 525
  110410. };
  110411. A._log_closure0.prototype = {
  110412. call$1($arguments) {
  110413. var base,
  110414. _s18_ = " to have no units.",
  110415. _null = null,
  110416. t1 = J.getInterceptor$asx($arguments),
  110417. number = t1.$index($arguments, 0).assertNumber$1("number");
  110418. if (number.get$hasUnits())
  110419. throw A.wrapException(A.SassScriptException$0("$number: Expected " + number.toString$0(0) + _s18_, _null));
  110420. else if (t1.$index($arguments, 1).$eq(0, B.C__SassNull0))
  110421. return A.SassNumber_SassNumber0(Math.log(number._number1$_value), _null);
  110422. base = t1.$index($arguments, 1).assertNumber$1("base");
  110423. if (base.get$hasUnits())
  110424. throw A.wrapException(A.SassScriptException$0("$base: Expected " + base.toString$0(0) + _s18_, _null));
  110425. else
  110426. return A.SassNumber_SassNumber0(Math.log(number._number1$_value) / Math.log(base._number1$_value), _null);
  110427. },
  110428. $signature: 23
  110429. };
  110430. A._pow_closure0.prototype = {
  110431. call$1($arguments) {
  110432. var t1 = J.getInterceptor$asx($arguments);
  110433. return A.pow1(t1.$index($arguments, 0).assertNumber$1("base"), t1.$index($arguments, 1).assertNumber$1("exponent"));
  110434. },
  110435. $signature: 23
  110436. };
  110437. A._atan2_closure0.prototype = {
  110438. call$1($arguments) {
  110439. var t1 = J.getInterceptor$asx($arguments),
  110440. y = t1.$index($arguments, 0).assertNumber$1("y");
  110441. 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));
  110442. },
  110443. $signature: 23
  110444. };
  110445. A._compatible_closure0.prototype = {
  110446. call$1($arguments) {
  110447. var t1 = J.getInterceptor$asx($arguments);
  110448. return t1.$index($arguments, 0).assertNumber$1("number1").isComparableTo$1(t1.$index($arguments, 1).assertNumber$1("number2")) ? B.SassBoolean_true0 : B.SassBoolean_false0;
  110449. },
  110450. $signature: 11
  110451. };
  110452. A._isUnitless_closure0.prototype = {
  110453. call$1($arguments) {
  110454. return !J.$index$asx($arguments, 0).assertNumber$1("number").get$hasUnits() ? B.SassBoolean_true0 : B.SassBoolean_false0;
  110455. },
  110456. $signature: 11
  110457. };
  110458. A._unit_closure0.prototype = {
  110459. call$1($arguments) {
  110460. return new A.SassString0(J.$index$asx($arguments, 0).assertNumber$1("number").get$unitString(), true);
  110461. },
  110462. $signature: 18
  110463. };
  110464. A._percentage_closure0.prototype = {
  110465. call$1($arguments) {
  110466. var number = J.$index$asx($arguments, 0).assertNumber$1("number");
  110467. number.assertNoUnits$1("number");
  110468. return A.SassNumber_SassNumber0(number._number1$_value * 100, "%");
  110469. },
  110470. $signature: 23
  110471. };
  110472. A._randomFunction_closure0.prototype = {
  110473. call$1($arguments) {
  110474. var limit, limitScalar,
  110475. t1 = J.getInterceptor$asx($arguments);
  110476. if (t1.$index($arguments, 0).$eq(0, B.C__SassNull0))
  110477. return A.SassNumber_SassNumber0($.$get$_random2().nextDouble$0(), null);
  110478. limit = t1.$index($arguments, 0).assertNumber$1("limit");
  110479. if (limit.get$hasUnits())
  110480. 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);
  110481. limitScalar = limit.assertInt$1("limit");
  110482. if (limitScalar < 1)
  110483. throw A.wrapException(A.SassScriptException$0("$limit: Must be greater than 0, was " + limit.toString$0(0) + ".", null));
  110484. return A.SassNumber_SassNumber0($.$get$_random2().nextInt$1(limitScalar) + 1, null);
  110485. },
  110486. $signature: 23
  110487. };
  110488. A._div_closure0.prototype = {
  110489. call$1($arguments) {
  110490. var t1 = J.getInterceptor$asx($arguments),
  110491. number1 = t1.$index($arguments, 0),
  110492. number2 = t1.$index($arguments, 1);
  110493. if (!(number1 instanceof A.SassNumber0) || !(number2 instanceof A.SassNumber0))
  110494. A.warn0(string$.math_d);
  110495. return number1.dividedBy$1(number2);
  110496. },
  110497. $signature: 3
  110498. };
  110499. A._singleArgumentMathFunc_closure0.prototype = {
  110500. call$1($arguments) {
  110501. return this.mathFunc.call$1(J.$index$asx($arguments, 0).assertNumber$1("number"));
  110502. },
  110503. $signature: 23
  110504. };
  110505. A._numberFunction_closure0.prototype = {
  110506. call$1($arguments) {
  110507. var number = J.$index$asx($arguments, 0).assertNumber$1("number"),
  110508. t1 = this.transform.call$1(number._number1$_value),
  110509. t2 = number.get$numeratorUnits(number);
  110510. return A.SassNumber_SassNumber$withUnits0(t1, number.get$denominatorUnits(number), t2);
  110511. },
  110512. $signature: 23
  110513. };
  110514. A.CssMediaQuery0.prototype = {
  110515. merge$1(other) {
  110516. 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";
  110517. if (!_this.conjunction || !other.conjunction)
  110518. return B._SingletonCssMediaQueryMergeResult_10;
  110519. t1 = _this.modifier;
  110520. ourModifier = t1 == null ? _null : t1.toLowerCase();
  110521. t2 = _this.type;
  110522. t3 = t2 == null;
  110523. ourType = t3 ? _null : t2.toLowerCase();
  110524. t4 = other.modifier;
  110525. theirModifier = t4 == null ? _null : t4.toLowerCase();
  110526. t5 = other.type;
  110527. t6 = t5 == null;
  110528. theirType = t6 ? _null : t5.toLowerCase();
  110529. t7 = ourType == null;
  110530. if (t7 && theirType == null) {
  110531. t1 = A.List_List$_of(_this.conditions, type$.String);
  110532. B.JSArray_methods.addAll$1(t1, other.conditions);
  110533. return new A.MediaQuerySuccessfulMergeResult0(A.CssMediaQuery$condition0(t1, true));
  110534. }
  110535. t8 = ourModifier === "not";
  110536. if (t8 !== (theirModifier === "not")) {
  110537. if (ourType == theirType) {
  110538. negativeConditions = t8 ? _this.conditions : other.conditions;
  110539. if (B.JSArray_methods.every$1(negativeConditions, B.JSArray_methods.get$contains(t8 ? other.conditions : _this.conditions)))
  110540. return B._SingletonCssMediaQueryMergeResult_00;
  110541. else
  110542. return B._SingletonCssMediaQueryMergeResult_10;
  110543. } else if (t3 || A.equalsIgnoreCase0(t2, _s3_) || t6 || A.equalsIgnoreCase0(t5, _s3_))
  110544. return B._SingletonCssMediaQueryMergeResult_10;
  110545. if (t8) {
  110546. conditions = other.conditions;
  110547. type = theirType;
  110548. modifier = theirModifier;
  110549. } else {
  110550. conditions = _this.conditions;
  110551. type = ourType;
  110552. modifier = ourModifier;
  110553. }
  110554. } else if (t8) {
  110555. if (ourType != theirType)
  110556. return B._SingletonCssMediaQueryMergeResult_10;
  110557. fewerConditions = _this.conditions;
  110558. fewerConditions0 = other.conditions;
  110559. t3 = fewerConditions.length > fewerConditions0.length;
  110560. moreConditions = t3 ? fewerConditions : fewerConditions0;
  110561. if (t3)
  110562. fewerConditions = fewerConditions0;
  110563. if (!B.JSArray_methods.every$1(fewerConditions, B.JSArray_methods.get$contains(moreConditions)))
  110564. return B._SingletonCssMediaQueryMergeResult_10;
  110565. conditions = moreConditions;
  110566. type = ourType;
  110567. modifier = ourModifier;
  110568. } else if (t3 || A.equalsIgnoreCase0(t2, _s3_)) {
  110569. type = (t6 || A.equalsIgnoreCase0(t5, _s3_)) && t7 ? _null : theirType;
  110570. t3 = A.List_List$_of(_this.conditions, type$.String);
  110571. B.JSArray_methods.addAll$1(t3, other.conditions);
  110572. conditions = t3;
  110573. modifier = theirModifier;
  110574. } else {
  110575. if (t6 || A.equalsIgnoreCase0(t5, _s3_)) {
  110576. t3 = A.List_List$_of(_this.conditions, type$.String);
  110577. B.JSArray_methods.addAll$1(t3, other.conditions);
  110578. conditions = t3;
  110579. modifier = ourModifier;
  110580. } else {
  110581. if (ourType != theirType)
  110582. return B._SingletonCssMediaQueryMergeResult_00;
  110583. else {
  110584. modifier = ourModifier == null ? theirModifier : ourModifier;
  110585. t3 = A.List_List$_of(_this.conditions, type$.String);
  110586. B.JSArray_methods.addAll$1(t3, other.conditions);
  110587. }
  110588. conditions = t3;
  110589. }
  110590. type = ourType;
  110591. }
  110592. t2 = type == ourType ? t2 : t5;
  110593. return new A.MediaQuerySuccessfulMergeResult0(A.CssMediaQuery$type0(t2, conditions, modifier == ourModifier ? t1 : t4));
  110594. },
  110595. $eq(_, other) {
  110596. if (other == null)
  110597. return false;
  110598. return other instanceof A.CssMediaQuery0 && other.modifier == this.modifier && other.type == this.type && B.C_ListEquality.equals$2(0, other.conditions, this.conditions);
  110599. },
  110600. get$hashCode(_) {
  110601. return J.get$hashCode$(this.modifier) ^ J.get$hashCode$(this.type) ^ B.C_ListEquality0.hash$1(this.conditions);
  110602. },
  110603. toString$0(_) {
  110604. var t2, _this = this,
  110605. t1 = _this.modifier;
  110606. t1 = t1 != null ? "" + (t1 + " ") : "";
  110607. t2 = _this.type;
  110608. if (t2 != null) {
  110609. t1 += t2;
  110610. if (_this.conditions.length !== 0)
  110611. t1 += " and ";
  110612. }
  110613. t2 = _this.conjunction ? " and " : " or ";
  110614. t2 = t1 + B.JSArray_methods.join$1(_this.conditions, t2);
  110615. return t2.charCodeAt(0) == 0 ? t2 : t2;
  110616. }
  110617. };
  110618. A._SingletonCssMediaQueryMergeResult0.prototype = {
  110619. _enumToString$0() {
  110620. return "_SingletonCssMediaQueryMergeResult." + this._name;
  110621. }
  110622. };
  110623. A.MediaQuerySuccessfulMergeResult0.prototype = {
  110624. toString$0(_) {
  110625. return this.query.toString$0(0);
  110626. }
  110627. };
  110628. A.MediaQueryParser0.prototype = {
  110629. parse$0(_) {
  110630. return this.wrapSpanFormatException$1(new A.MediaQueryParser_parse_closure0(this));
  110631. },
  110632. _media_query$_mediaQuery$0() {
  110633. var conditions, conjunction, t1, identifier1, identifier2, type, modifier, _this = this, _null = null, _s3_ = "and";
  110634. if (_this.scanner.peekChar$0() === 40) {
  110635. conditions = A._setArrayType([_this._media_query$_mediaInParens$0()], type$.JSArray_String);
  110636. _this.whitespace$1$consumeNewlines(true);
  110637. if (_this.scanIdentifier$1(_s3_)) {
  110638. _this.expectWhitespace$0();
  110639. B.JSArray_methods.addAll$1(conditions, _this._media_query$_mediaLogicSequence$1(_s3_));
  110640. conjunction = true;
  110641. } else {
  110642. t1 = _this.scanIdentifier$1("or");
  110643. if (t1) {
  110644. _this.expectWhitespace$0();
  110645. B.JSArray_methods.addAll$1(conditions, _this._media_query$_mediaLogicSequence$1("or"));
  110646. }
  110647. conjunction = !t1;
  110648. }
  110649. return A.CssMediaQuery$condition0(conditions, conjunction);
  110650. }
  110651. identifier1 = _this.identifier$0();
  110652. if (A.equalsIgnoreCase0(identifier1, "not")) {
  110653. _this.expectWhitespace$0();
  110654. if (!_this.lookingAtIdentifier$0())
  110655. return A.CssMediaQuery$condition0(A._setArrayType(["(not " + _this._media_query$_mediaInParens$0() + ")"], type$.JSArray_String), _null);
  110656. }
  110657. _this.whitespace$1$consumeNewlines(true);
  110658. if (!_this.lookingAtIdentifier$0())
  110659. return A.CssMediaQuery$type0(identifier1, _null, _null);
  110660. identifier2 = _this.identifier$0();
  110661. if (A.equalsIgnoreCase0(identifier2, _s3_)) {
  110662. _this.expectWhitespace$0();
  110663. type = identifier1;
  110664. modifier = _null;
  110665. } else {
  110666. _this.whitespace$1$consumeNewlines(true);
  110667. if (_this.scanIdentifier$1(_s3_))
  110668. _this.expectWhitespace$0();
  110669. else
  110670. return A.CssMediaQuery$type0(identifier2, _null, identifier1);
  110671. type = identifier2;
  110672. modifier = identifier1;
  110673. }
  110674. if (_this.scanIdentifier$1("not")) {
  110675. _this.expectWhitespace$0();
  110676. return A.CssMediaQuery$type0(type, A._setArrayType(["(not " + _this._media_query$_mediaInParens$0() + ")"], type$.JSArray_String), modifier);
  110677. }
  110678. return A.CssMediaQuery$type0(type, _this._media_query$_mediaLogicSequence$1(_s3_), modifier);
  110679. },
  110680. _media_query$_mediaLogicSequence$1(operator) {
  110681. var t1, t2, _this = this,
  110682. result = A._setArrayType([], type$.JSArray_String);
  110683. for (t1 = _this.scanner; true;) {
  110684. t1.expectChar$2$name(40, "media condition in parentheses");
  110685. t2 = _this.declarationValue$0();
  110686. t1.expectChar$1(41);
  110687. result.push("(" + t2 + ")");
  110688. _this.whitespace$1$consumeNewlines(true);
  110689. if (!_this.scanIdentifier$1(operator))
  110690. return result;
  110691. _this.expectWhitespace$0();
  110692. }
  110693. },
  110694. _media_query$_mediaInParens$0() {
  110695. var t2,
  110696. t1 = this.scanner;
  110697. t1.expectChar$2$name(40, "media condition in parentheses");
  110698. t2 = this.declarationValue$0();
  110699. t1.expectChar$1(41);
  110700. return "(" + t2 + ")";
  110701. }
  110702. };
  110703. A.MediaQueryParser_parse_closure0.prototype = {
  110704. call$0() {
  110705. var queries = A._setArrayType([], type$.JSArray_CssMediaQuery_2),
  110706. t1 = this.$this,
  110707. t2 = t1.scanner;
  110708. do {
  110709. t1.whitespace$1$consumeNewlines(true);
  110710. queries.push(t1._media_query$_mediaQuery$0());
  110711. t1.whitespace$1$consumeNewlines(true);
  110712. } while (t2.scanChar$1(44));
  110713. t2.expectDone$0();
  110714. return queries;
  110715. },
  110716. $signature: 526
  110717. };
  110718. A.ModifiableCssMediaRule0.prototype = {
  110719. accept$1$1(visitor) {
  110720. return visitor.visitCssMediaRule$1(this);
  110721. },
  110722. accept$1(visitor) {
  110723. return this.accept$1$1(visitor, type$.dynamic);
  110724. },
  110725. equalsIgnoringChildren$1(other) {
  110726. return other instanceof A.ModifiableCssMediaRule0 && B.C_ListEquality.equals$2(0, this.queries, other.queries);
  110727. },
  110728. copyWithoutChildren$0() {
  110729. return A.ModifiableCssMediaRule$0(this.queries, this.span);
  110730. },
  110731. get$span(receiver) {
  110732. return this.span;
  110733. }
  110734. };
  110735. A.MediaRule0.prototype = {
  110736. accept$1$1(visitor) {
  110737. return visitor.visitMediaRule$1(0, this);
  110738. },
  110739. accept$1(visitor) {
  110740. return this.accept$1$1(visitor, type$.dynamic);
  110741. },
  110742. toString$0(_) {
  110743. var t1 = this.children;
  110744. return "@media " + this.query.toString$0(0) + " {" + (t1 && B.JSArray_methods).join$1(t1, " ") + "}";
  110745. },
  110746. get$span(receiver) {
  110747. return this.span;
  110748. }
  110749. };
  110750. A.MergedExtension0.prototype = {
  110751. unmerge$0() {
  110752. return new A._SyncStarIterable(this.unmerge$body$MergedExtension0(), type$._SyncStarIterable_Extension_2);
  110753. },
  110754. unmerge$body$MergedExtension0() {
  110755. var $async$self = this;
  110756. return function() {
  110757. var $async$goto = 0, $async$handler = 1, $async$errorStack = [], right, left;
  110758. return function $async$unmerge$0($async$iterator, $async$errorCode, $async$result) {
  110759. if ($async$errorCode === 1) {
  110760. $async$errorStack.push($async$result);
  110761. $async$goto = $async$handler;
  110762. }
  110763. while (true)
  110764. switch ($async$goto) {
  110765. case 0:
  110766. // Function start
  110767. left = $async$self.left;
  110768. $async$goto = left instanceof A.MergedExtension0 ? 2 : 4;
  110769. break;
  110770. case 2:
  110771. // then
  110772. $async$goto = 5;
  110773. return $async$iterator._yieldStar$1(left.unmerge$0());
  110774. case 5:
  110775. // after yield
  110776. // goto join
  110777. $async$goto = 3;
  110778. break;
  110779. case 4:
  110780. // else
  110781. $async$goto = 6;
  110782. return $async$iterator._async$_current = left, 1;
  110783. case 6:
  110784. // after yield
  110785. case 3:
  110786. // join
  110787. right = $async$self.right;
  110788. $async$goto = right instanceof A.MergedExtension0 ? 7 : 9;
  110789. break;
  110790. case 7:
  110791. // then
  110792. $async$goto = 10;
  110793. return $async$iterator._yieldStar$1(right.unmerge$0());
  110794. case 10:
  110795. // after yield
  110796. // goto join
  110797. $async$goto = 8;
  110798. break;
  110799. case 9:
  110800. // else
  110801. $async$goto = 11;
  110802. return $async$iterator._async$_current = right, 1;
  110803. case 11:
  110804. // after yield
  110805. case 8:
  110806. // join
  110807. // implicit return
  110808. return 0;
  110809. case 1:
  110810. // rethrow
  110811. return $async$iterator._datum = $async$errorStack.at(-1), 3;
  110812. }
  110813. };
  110814. };
  110815. }
  110816. };
  110817. A.MergedMapView0.prototype = {
  110818. get$keys(_) {
  110819. var t1 = this._merged_map_view$_mapsByKey;
  110820. return new A.LinkedHashMapKeysIterable(t1, A._instanceType(t1)._eval$1("LinkedHashMapKeysIterable<1>"));
  110821. },
  110822. get$length(_) {
  110823. return this._merged_map_view$_mapsByKey.__js_helper$_length;
  110824. },
  110825. get$isEmpty(_) {
  110826. return this._merged_map_view$_mapsByKey.__js_helper$_length === 0;
  110827. },
  110828. get$isNotEmpty(_) {
  110829. return this._merged_map_view$_mapsByKey.__js_helper$_length !== 0;
  110830. },
  110831. MergedMapView$10(maps, $K, $V) {
  110832. var t1, t2, _i, map, t3, t4;
  110833. for (t1 = maps.length, t2 = this._merged_map_view$_mapsByKey, _i = 0; _i < maps.length; maps.length === t1 || (0, A.throwConcurrentModificationError)(maps), ++_i) {
  110834. map = maps[_i];
  110835. if (map instanceof A.MergedMapView0)
  110836. for (t3 = map._merged_map_view$_mapsByKey, t3 = new A.LinkedHashMapValueIterator(t3, t3._modifications, t3._first); t3.moveNext$0();) {
  110837. t4 = t3.__js_helper$_current;
  110838. A.setAll0(t2, t4.get$keys(t4), t4);
  110839. }
  110840. else
  110841. A.setAll0(t2, map.get$keys(map), map);
  110842. }
  110843. },
  110844. $index(_, key) {
  110845. var t1 = this._merged_map_view$_mapsByKey.$index(0, this.$ti._precomputed1._as(key));
  110846. return t1 == null ? null : t1.$index(0, key);
  110847. },
  110848. $indexSet(_, key, value) {
  110849. var _0_0 = this._merged_map_view$_mapsByKey.$index(0, key);
  110850. if (_0_0 != null)
  110851. _0_0.$indexSet(0, key, value);
  110852. else
  110853. throw A.wrapException(A.UnsupportedError$(string$.New_en));
  110854. },
  110855. remove$1(_, key) {
  110856. throw A.wrapException(A.UnsupportedError$(string$.Entrie));
  110857. },
  110858. containsKey$1(key) {
  110859. return this._merged_map_view$_mapsByKey.containsKey$1(key);
  110860. }
  110861. };
  110862. A._shared_closure3.prototype = {
  110863. call$1($arguments) {
  110864. A.warnForDeprecation0(string$.The_fe, B.Deprecation_HIp);
  110865. return $._features0.contains$1(0, J.$index$asx($arguments, 0).assertString$1("feature")._string0$_text) ? B.SassBoolean_true0 : B.SassBoolean_false0;
  110866. },
  110867. $signature: 11
  110868. };
  110869. A._shared_closure4.prototype = {
  110870. call$1($arguments) {
  110871. return new A.SassString0(A.serializeValue0(J.get$first$ax($arguments), true, true), false);
  110872. },
  110873. $signature: 18
  110874. };
  110875. A._shared_closure5.prototype = {
  110876. call$1($arguments) {
  110877. var t1 = J.getInterceptor$asx($arguments),
  110878. _0_0 = t1.$index($arguments, 0);
  110879. $label0$0: {
  110880. if (_0_0 instanceof A.SassArgumentList0) {
  110881. t1 = "arglist";
  110882. break $label0$0;
  110883. }
  110884. if (_0_0 instanceof A.SassBoolean0) {
  110885. t1 = "bool";
  110886. break $label0$0;
  110887. }
  110888. if (_0_0 instanceof A.SassColor0) {
  110889. t1 = "color";
  110890. break $label0$0;
  110891. }
  110892. if (_0_0 instanceof A.SassList0) {
  110893. t1 = "list";
  110894. break $label0$0;
  110895. }
  110896. if (_0_0 instanceof A.SassMap0) {
  110897. t1 = "map";
  110898. break $label0$0;
  110899. }
  110900. if (B.C__SassNull0 === _0_0) {
  110901. t1 = "null";
  110902. break $label0$0;
  110903. }
  110904. if (_0_0 instanceof A.SassNumber0) {
  110905. t1 = "number";
  110906. break $label0$0;
  110907. }
  110908. if (_0_0 instanceof A.SassFunction0) {
  110909. t1 = "function";
  110910. break $label0$0;
  110911. }
  110912. if (_0_0 instanceof A.SassMixin0) {
  110913. t1 = "mixin";
  110914. break $label0$0;
  110915. }
  110916. if (_0_0 instanceof A.SassCalculation0) {
  110917. t1 = "calculation";
  110918. break $label0$0;
  110919. }
  110920. if (_0_0 instanceof A.SassString0) {
  110921. t1 = "string";
  110922. break $label0$0;
  110923. }
  110924. t1 = A.throwExpression("[BUG] Unknown value type " + t1.$index($arguments, 0).toString$0(0));
  110925. }
  110926. return new A.SassString0(t1, false);
  110927. },
  110928. $signature: 18
  110929. };
  110930. A._shared_closure6.prototype = {
  110931. call$1($arguments) {
  110932. var t2, t3, t4,
  110933. t1 = J.getInterceptor$asx($arguments),
  110934. _1_0 = t1.$index($arguments, 0);
  110935. if (_1_0 instanceof A.SassArgumentList0) {
  110936. _1_0._argument_list$_wereKeywordsAccessed = true;
  110937. t1 = type$.Value_2;
  110938. t2 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
  110939. for (t3 = A.MapExtensions_get_pairs0(_1_0._argument_list$_keywords, type$.String, t1), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
  110940. t4 = t3.get$current(t3);
  110941. t2.$indexSet(0, new A.SassString0(t4._0, false), t4._1);
  110942. }
  110943. return new A.SassMap0(A.ConstantMap_ConstantMap$from(t2, t1, t1));
  110944. } else
  110945. throw A.wrapException("$args: " + t1.$index($arguments, 0).toString$0(0) + " is not an argument list.");
  110946. },
  110947. $signature: 38
  110948. };
  110949. A.moduleFunctions_closure2.prototype = {
  110950. call$1($arguments) {
  110951. return new A.SassString0(J.$index$asx($arguments, 0).assertCalculation$1("calc").name, true);
  110952. },
  110953. $signature: 18
  110954. };
  110955. A.moduleFunctions_closure3.prototype = {
  110956. call$1($arguments) {
  110957. var t1 = J.$index$asx($arguments, 0).assertCalculation$1("calc").$arguments;
  110958. return A.SassList$0(new A.MappedListIterable(t1, new A.moduleFunctions__closure0(), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,Value0>")), B.ListSeparator_qVN0, false);
  110959. },
  110960. $signature: 29
  110961. };
  110962. A.moduleFunctions__closure0.prototype = {
  110963. call$1(argument) {
  110964. return argument instanceof A.Value0 ? argument : new A.SassString0(J.toString$0$(argument), false);
  110965. },
  110966. $signature: 527
  110967. };
  110968. A.moduleFunctions_closure4.prototype = {
  110969. call$1($arguments) {
  110970. var _0_2_isSet, acceptsContent, t1, _0_5_isSet, _0_5, hasContent,
  110971. mixin = J.$index$asx($arguments, 0).assertMixin$1("mixin"),
  110972. _0_0 = mixin.callable;
  110973. $label0$0: {
  110974. _0_2_isSet = type$.AsyncBuiltInCallable_2._is(_0_0);
  110975. if (_0_2_isSet)
  110976. acceptsContent = _0_0.get$acceptsContent();
  110977. else
  110978. acceptsContent = null;
  110979. if (!_0_2_isSet) {
  110980. _0_2_isSet = _0_0 instanceof A.BuiltInCallable0;
  110981. if (_0_2_isSet)
  110982. acceptsContent = _0_0.acceptsContent;
  110983. t1 = _0_2_isSet;
  110984. } else
  110985. t1 = true;
  110986. if (t1) {
  110987. t1 = acceptsContent;
  110988. break $label0$0;
  110989. }
  110990. _0_5_isSet = _0_0 instanceof A.UserDefinedCallable0;
  110991. if (_0_5_isSet) {
  110992. _0_5 = _0_0.declaration;
  110993. t1 = _0_5;
  110994. t1 = t1 instanceof A.MixinRule0;
  110995. } else {
  110996. _0_5 = null;
  110997. t1 = false;
  110998. }
  110999. if (t1) {
  111000. t1 = _0_5_isSet ? _0_5 : _0_0.declaration;
  111001. hasContent = type$.MixinRule_2._as(t1).get$hasContent();
  111002. t1 = hasContent;
  111003. break $label0$0;
  111004. }
  111005. t1 = A.throwExpression(A.UnsupportedError$("Unknown callable type " + mixin.toString$0(0) + "."));
  111006. }
  111007. return t1 ? B.SassBoolean_true0 : B.SassBoolean_false0;
  111008. },
  111009. $signature: 11
  111010. };
  111011. A.mixinClass_closure.prototype = {
  111012. call$0() {
  111013. var t1 = type$.JSClass,
  111014. jsClass = t1._as(A.allowInteropCaptureThisNamed("sass.SassMixin", new A.mixinClass__closure()));
  111015. A.JSClassExtension_injectSuperclass(t1._as(new A.SassMixin0(A.BuiltInCallable$function0("f", "", new A.mixinClass__closure0(), null), null).constructor), jsClass);
  111016. return jsClass;
  111017. },
  111018. $signature: 15
  111019. };
  111020. A.mixinClass__closure.prototype = {
  111021. call$1($self) {
  111022. A.jsThrow(new self.Error("It is not possible to construct a SassMixin through the JavaScript API"));
  111023. },
  111024. $signature: 528
  111025. };
  111026. A.mixinClass__closure0.prototype = {
  111027. call$1(_) {
  111028. return B.C__SassNull0;
  111029. },
  111030. $signature: 3
  111031. };
  111032. A.SassMixin0.prototype = {
  111033. accept$1$1(visitor) {
  111034. var t1, t2;
  111035. if (!visitor._serialize0$_inspect)
  111036. A.throwExpression(A.SassScriptException$0(this.toString$0(0) + " isn't a valid CSS value.", null));
  111037. t1 = visitor._serialize0$_buffer;
  111038. t1.write$1(0, "get-mixin(");
  111039. t2 = this.callable;
  111040. visitor._serialize0$_visitQuotedString$1(t2.get$name(t2));
  111041. t1.writeCharCode$1(41);
  111042. return null;
  111043. },
  111044. accept$1(visitor) {
  111045. return this.accept$1$1(visitor, type$.dynamic);
  111046. },
  111047. assertMixin$1($name) {
  111048. return this;
  111049. },
  111050. assertCompileContext$1(compileContext) {
  111051. var t1 = this._mixin0$_compileContext;
  111052. if (t1 != null)
  111053. t1 = t1 !== compileContext;
  111054. else
  111055. t1 = false;
  111056. if (t1)
  111057. throw A.wrapException(A.SassScriptException$0(this.toString$0(0) + " does not belong to current compilation.", null));
  111058. return this;
  111059. },
  111060. $eq(_, other) {
  111061. if (other == null)
  111062. return false;
  111063. return other instanceof A.SassMixin0 && this.callable.$eq(0, other.callable);
  111064. },
  111065. get$hashCode(_) {
  111066. var t1 = this.callable;
  111067. return t1.get$hashCode(t1);
  111068. }
  111069. };
  111070. A.MixinRule0.prototype = {
  111071. get$hasContent() {
  111072. var result, _this = this,
  111073. value = _this._mixin_rule$__MixinRule_hasContent_FI;
  111074. if (value === $) {
  111075. result = J.$eq$(B.C__HasContentVisitor0.visitChildren$1(_this.children), true);
  111076. _this._mixin_rule$__MixinRule_hasContent_FI !== $ && A.throwUnnamedLateFieldADI();
  111077. _this._mixin_rule$__MixinRule_hasContent_FI = result;
  111078. value = result;
  111079. }
  111080. return value;
  111081. },
  111082. accept$1$1(visitor) {
  111083. return visitor.visitMixinRule$1(0, this);
  111084. },
  111085. accept$1(visitor) {
  111086. return this.accept$1$1(visitor, type$.dynamic);
  111087. },
  111088. toString$0(_) {
  111089. var t1 = "@mixin " + this.name,
  111090. t2 = this.parameters;
  111091. if (!(t2.parameters.length === 0 && t2.restParameter == null))
  111092. t1 += "(" + t2.toString$0(0) + ")";
  111093. t2 = this.children;
  111094. t2 = t1 + (" {" + (t2 && B.JSArray_methods).join$1(t2, " ") + "}");
  111095. return t2.charCodeAt(0) == 0 ? t2 : t2;
  111096. }
  111097. };
  111098. A._HasContentVisitor0.prototype = {
  111099. visitContentRule$1(_, _0) {
  111100. return true;
  111101. },
  111102. $isStatementVisitor: 1
  111103. };
  111104. A.__HasContentVisitor_Object_StatementSearchVisitor0.prototype = {};
  111105. A.ExtendMode0.prototype = {
  111106. _enumToString$0() {
  111107. return "ExtendMode." + this._name;
  111108. },
  111109. toString$0(_) {
  111110. return this.name;
  111111. }
  111112. };
  111113. A.JSModule0.prototype = {};
  111114. A.JSModuleRequire0.prototype = {};
  111115. A.MultiSpan0.prototype = {
  111116. get$start(_) {
  111117. var t1 = this._multi_span0$_primary;
  111118. return t1.get$start(t1);
  111119. },
  111120. get$end(_) {
  111121. var t1 = this._multi_span0$_primary;
  111122. return t1.get$end(t1);
  111123. },
  111124. get$text() {
  111125. return this._multi_span0$_primary.get$text();
  111126. },
  111127. get$context(_) {
  111128. var t1 = this._multi_span0$_primary;
  111129. return t1.get$context(t1);
  111130. },
  111131. get$file(_) {
  111132. var t1 = this._multi_span0$_primary;
  111133. return t1.get$file(t1);
  111134. },
  111135. get$length(_) {
  111136. var t1 = this._multi_span0$_primary;
  111137. return t1.get$length(t1);
  111138. },
  111139. get$sourceUrl(_) {
  111140. var t1 = this._multi_span0$_primary;
  111141. return t1.get$sourceUrl(t1);
  111142. },
  111143. compareTo$1(_, other) {
  111144. return this._multi_span0$_primary.compareTo$1(0, other);
  111145. },
  111146. toString$0(_) {
  111147. return this._multi_span0$_primary.toString$0(0);
  111148. },
  111149. expand$1(_, other) {
  111150. return new A.MultiSpan0(this._multi_span0$_primary.expand$1(0, other), this.primaryLabel, this.secondarySpans);
  111151. },
  111152. highlight$1$color(color) {
  111153. return A.Highlighter$multiple(this._multi_span0$_primary, this.primaryLabel, this.secondarySpans, color === true, null, null).highlight$0();
  111154. },
  111155. message$2$color(_, message, color) {
  111156. var t1 = J.$eq$(color, true) || typeof color == "string",
  111157. t2 = typeof color == "string" ? color : null;
  111158. return A.SourceSpanExtension_messageMultiple(this._multi_span0$_primary, message, this.primaryLabel, this.secondarySpans, t1, t2, null);
  111159. },
  111160. message$1(_, message) {
  111161. return this.message$2$color(0, message, null);
  111162. },
  111163. $isComparable: 1,
  111164. $isFileSpan: 1,
  111165. $isSourceSpan: 1,
  111166. $isSourceSpanWithContext: 1
  111167. };
  111168. A.SupportsNegation0.prototype = {
  111169. toInterpolation$0() {
  111170. var t1 = new A.StringBuffer(""),
  111171. t2 = new A.InterpolationBuffer0(t1, A._setArrayType([], type$.JSArray_Object), A._setArrayType([], type$.JSArray_nullable_FileSpan)),
  111172. t3 = this.span,
  111173. t4 = this.condition,
  111174. t5 = A.SpanExtensions_before(t3, t4.get$span(t4));
  111175. t5 = A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t5.file._decodedChars, t5._file$_start, t5._end), 0, null);
  111176. t1._contents += t5;
  111177. t2.addInterpolation$1(t4.toInterpolation$0());
  111178. t4 = A.SpanExtensions_after(t3, t4.get$span(t4));
  111179. t4 = A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t4.file._decodedChars, t4._file$_start, t4._end), 0, null);
  111180. t1._contents += t4;
  111181. return t2.interpolation$1(t3);
  111182. },
  111183. withSpan$1(span) {
  111184. return new A.SupportsNegation0(this.condition, span);
  111185. },
  111186. toString$0(_) {
  111187. var t1 = this.condition;
  111188. if (t1 instanceof A.SupportsNegation0 || t1 instanceof A.SupportsOperation0)
  111189. return "not (" + t1.toString$0(0) + ")";
  111190. else
  111191. return "not " + t1.toString$0(0);
  111192. },
  111193. $isAstNode0: 1,
  111194. $isSassNode: 1,
  111195. $isSupportsCondition: 1,
  111196. get$span(receiver) {
  111197. return this.span;
  111198. }
  111199. };
  111200. A.NoOpImporter0.prototype = {
  111201. canonicalize$1(_, url) {
  111202. return null;
  111203. },
  111204. load$1(_, url) {
  111205. return null;
  111206. },
  111207. toString$0(_) {
  111208. return "(unknown)";
  111209. }
  111210. };
  111211. A.NoSourceMapBuffer0.prototype = {
  111212. get$length(_) {
  111213. return this._no_source_map_buffer0$_buffer._contents.length;
  111214. },
  111215. forSpan$1$2(span, callback) {
  111216. return callback.call$0();
  111217. },
  111218. forSpan$2(span, callback) {
  111219. callback.toString;
  111220. return this.forSpan$1$2(span, callback, type$.dynamic);
  111221. },
  111222. write$1(_, object) {
  111223. var t1 = this._no_source_map_buffer0$_buffer,
  111224. t2 = A.S(object);
  111225. t1._contents += t2;
  111226. return null;
  111227. },
  111228. writeCharCode$1(charCode) {
  111229. var t1 = this._no_source_map_buffer0$_buffer,
  111230. t2 = A.Primitives_stringFromCharCode(charCode);
  111231. t1._contents += t2;
  111232. return null;
  111233. },
  111234. toString$0(_) {
  111235. var t1 = this._no_source_map_buffer0$_buffer._contents;
  111236. return t1.charCodeAt(0) == 0 ? t1 : t1;
  111237. },
  111238. buildSourceMap$1$prefix(prefix) {
  111239. return A.throwExpression(A.UnsupportedError$(string$.NoSour));
  111240. }
  111241. };
  111242. A._FakeAstNode0.prototype = {
  111243. get$span(_) {
  111244. return this._node0$_callback.call$0();
  111245. },
  111246. $isAstNode0: 1
  111247. };
  111248. A.CssNode0.prototype = {
  111249. toString$0(_) {
  111250. var _null = null;
  111251. return A.serialize0(this, true, _null, true, _null, _null, false, _null, true)._0;
  111252. },
  111253. $isAstNode0: 1
  111254. };
  111255. A.CssParentNode0.prototype = {};
  111256. A._IsInvisibleVisitor1.prototype = {
  111257. visitCssAtRule$1(rule) {
  111258. return false;
  111259. },
  111260. visitCssComment$1(comment) {
  111261. return this.includeComments && comment.text.charCodeAt(2) !== 33;
  111262. },
  111263. visitCssStyleRule$1(rule) {
  111264. var t1 = rule._style_rule0$_selector._box0$_inner;
  111265. return (this.includeBogus ? t1.value.accept$1(B._IsInvisibleVisitor_true0) : t1.value.accept$1(B._IsInvisibleVisitor_false0)) || this.super$EveryCssVisitor$visitCssStyleRule0(rule);
  111266. }
  111267. };
  111268. A.__IsInvisibleVisitor_Object_EveryCssVisitor0.prototype = {};
  111269. A.ModifiableCssNode0.prototype = {
  111270. get$parent(_) {
  111271. return this._node$_parent;
  111272. },
  111273. get$hasFollowingSibling() {
  111274. var t2,
  111275. t1 = this._node$_parent;
  111276. if (t1 == null)
  111277. t1 = null;
  111278. else {
  111279. t1 = t1.children;
  111280. t2 = this._node$_indexInParent;
  111281. t2.toString;
  111282. t1 = A.SubListIterable$(t1, t2 + 1, null, t1.$ti._eval$1("ListBase.E")).any$1(0, new A.ModifiableCssNode_hasFollowingSibling_closure0());
  111283. }
  111284. return t1 === true;
  111285. },
  111286. get$isGroupEnd() {
  111287. return this.isGroupEnd;
  111288. }
  111289. };
  111290. A.ModifiableCssNode_hasFollowingSibling_closure0.prototype = {
  111291. call$1(sibling) {
  111292. return !sibling.accept$1(B._IsInvisibleVisitor_true_false0);
  111293. },
  111294. $signature: 529
  111295. };
  111296. A.ModifiableCssParentNode0.prototype = {
  111297. get$isChildless() {
  111298. return false;
  111299. },
  111300. addChild$1(child) {
  111301. var t1;
  111302. child._node$_parent = this;
  111303. t1 = this._node$_children;
  111304. child._node$_indexInParent = t1.length;
  111305. t1.push(child);
  111306. },
  111307. clearChildren$0() {
  111308. var t1, t2, _i, child;
  111309. for (t1 = this._node$_children, t2 = t1.length, _i = 0; _i < t2; ++_i) {
  111310. child = t1[_i];
  111311. child._node$_indexInParent = child._node$_parent = null;
  111312. }
  111313. B.JSArray_methods.clear$0(t1);
  111314. },
  111315. $isCssParentNode0: 1,
  111316. get$children(receiver) {
  111317. return this.children;
  111318. }
  111319. };
  111320. A.NodePackageImporter0.prototype = {
  111321. isNonCanonicalScheme$1(scheme) {
  111322. return scheme === "pkg";
  111323. },
  111324. canonicalize$1(_, url) {
  111325. 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;
  111326. if (url.get$scheme() === "file")
  111327. return $.$get$FilesystemImporter_cwd0().canonicalize$1(0, url);
  111328. if (url.get$scheme() !== "pkg")
  111329. return _null;
  111330. if (url.get$hasAuthority())
  111331. throw A.wrapException(string$.A_pkg_h);
  111332. else {
  111333. t1 = $.$get$url();
  111334. t2 = t1.style;
  111335. if (t2.rootLength$1(url.get$path(url)) > 0)
  111336. throw A.wrapException("A pkg: URL's path must not begin with /.");
  111337. else if (url.get$path(url).length === 0)
  111338. throw A.wrapException("A pkg: URL must not have an empty path.");
  111339. else if (url.get$hasQuery() || url.get$hasFragment())
  111340. throw A.wrapException(string$.A_pkg_q);
  111341. }
  111342. t3 = A.canonicalizeContext0();
  111343. t3._canonicalize_context$_wasContainingUrlAccessed = true;
  111344. t3 = t3._canonicalize_context$_containingUrl;
  111345. if ((t3 == null ? _null : t3.get$scheme()) === "file") {
  111346. t3 = A.canonicalizeContext0();
  111347. t3._canonicalize_context$_wasContainingUrlAccessed = true;
  111348. t3 = t3._canonicalize_context$_containingUrl;
  111349. t3.toString;
  111350. t4 = $.$get$context();
  111351. baseDirectory = t4.dirname$1(t4.style.pathFromUri$1(A._parseUri(t3)));
  111352. } else {
  111353. t3 = _this._node_package$__NodePackageImporter__entryPointDirectory_F;
  111354. t3 === $ && A.throwUnnamedLateFieldNI();
  111355. baseDirectory = t3;
  111356. }
  111357. packageName = null;
  111358. parts = t1.split$1(0, url.get$path(url));
  111359. t3 = B.JSArray_methods.removeAt$1(parts, 0);
  111360. t4 = $.$get$context();
  111361. t3.toString;
  111362. t5 = t4.style;
  111363. $name = t5.pathFromUri$1(A._parseUri(t3));
  111364. if (B.JSString_methods.startsWith$1($name, "@"))
  111365. $name = parts.length !== 0 ? t1.join$2(0, $name, B.JSArray_methods.removeAt$1(parts, 0)) : $name;
  111366. subpath = parts.length !== 0 ? t5.pathFromUri$1(A._parseUri(t1.joinAll$1(parts))) : _null;
  111367. packageName = $name;
  111368. t1 = true;
  111369. if (!J.startsWith$1$s(packageName, "."))
  111370. if (!J.contains$1$asx(packageName, "\\"))
  111371. if (!J.contains$1$asx(packageName, "%"))
  111372. t1 = J.startsWith$1$s(packageName, "@") && !J.contains$1$asx(packageName, t2.get$separator(t2));
  111373. if (t1)
  111374. return _null;
  111375. packageRoot = _this._node_package$_resolvePackageRoot$2(packageName, baseDirectory);
  111376. if (packageRoot == null)
  111377. return _null;
  111378. jsonPath = A.join(packageRoot, "package.json", _null);
  111379. jsonString = A.readFile0(jsonPath);
  111380. packageManifest = null;
  111381. try {
  111382. packageManifest = type$.Map_String_dynamic._as(B.C_JsonCodec.decode$1(jsonString));
  111383. } catch (exception) {
  111384. e = A.unwrapException(exception);
  111385. t1 = A.S(jsonPath);
  111386. t2 = A.S(packageName);
  111387. t3 = A.S(e);
  111388. throw A.wrapException("Failed to parse " + t1 + ' for "pkg:' + t2 + '": ' + t3);
  111389. }
  111390. _1_0 = _this._node_package$_resolvePackageExports$4(packageRoot, subpath, packageManifest, packageName);
  111391. if (_1_0 != null)
  111392. if (B.Set_FTDN4.contains$1(0, A.ParsedPath_ParsedPath$parse(_1_0, t5)._splitExtension$1(1)[1]))
  111393. return t4.toUri$1(t4.canonicalize$1(0, _1_0));
  111394. else {
  111395. t1 = subpath == null ? "root" : subpath;
  111396. throw A.wrapException("The export for '" + t1 + "' in '" + A.S(packageName) + "' resolved to '" + _1_0 + string$.x27x2c_whi);
  111397. }
  111398. if (subpath == null) {
  111399. rootPath = _this._node_package$_resolvePackageRootValues$2(packageRoot, packageManifest);
  111400. return rootPath != null ? t4.toUri$1(t4.canonicalize$1(0, rootPath)) : _null;
  111401. }
  111402. subpathInRoot = A.join(packageRoot, subpath, _null);
  111403. return $.$get$FilesystemImporter_cwd0().canonicalize$1(0, t4.toUri$1(subpathInRoot));
  111404. },
  111405. load$1(_, url) {
  111406. return $.$get$FilesystemImporter_cwd0().load$1(0, url);
  111407. },
  111408. _node_package$_resolvePackageRoot$2(packageName, baseDirectory) {
  111409. var potentialPackage, t1;
  111410. for (; true;) {
  111411. potentialPackage = A.join(baseDirectory, "node_modules", packageName);
  111412. if (A.dirExists0(potentialPackage))
  111413. return potentialPackage;
  111414. t1 = $.$get$context();
  111415. if (t1.split$1(0, baseDirectory).length === 1)
  111416. return null;
  111417. baseDirectory = t1.dirname$1(baseDirectory);
  111418. }
  111419. },
  111420. _node_package$_resolvePackageRootValues$2(packageRoot, packageManifest) {
  111421. var t1, sassValue, _1_0, styleValue, _null = null,
  111422. _0_0 = packageManifest.$index(0, "sass");
  111423. if (typeof _0_0 == "string") {
  111424. t1 = B.Set_FTDN4.contains$1(0, A.ParsedPath_ParsedPath$parse(_0_0, $.$get$url().style)._splitExtension$1(1)[1]);
  111425. sassValue = _0_0;
  111426. } else {
  111427. sassValue = _null;
  111428. t1 = false;
  111429. }
  111430. if (t1)
  111431. return A.join(packageRoot, sassValue, _null);
  111432. else {
  111433. _1_0 = packageManifest.$index(0, "style");
  111434. if (typeof _1_0 == "string") {
  111435. t1 = B.Set_FTDN4.contains$1(0, A.ParsedPath_ParsedPath$parse(_1_0, $.$get$url().style)._splitExtension$1(1)[1]);
  111436. styleValue = _1_0;
  111437. } else {
  111438. styleValue = _null;
  111439. t1 = false;
  111440. }
  111441. if (t1)
  111442. return A.join(packageRoot, styleValue, _null);
  111443. }
  111444. return A.resolveImportPath0(A.join(packageRoot, "index", _null));
  111445. },
  111446. _node_package$_resolvePackageExports$4(packageRoot, subpath, packageManifest, packageName) {
  111447. var _0_0, _1_0, _this = this,
  111448. exports = packageManifest.$index(0, "exports");
  111449. if (exports == null)
  111450. return null;
  111451. _0_0 = _this._node_package$_nodePackageExportsResolve$5(packageRoot, _this._node_package$_exportsToCheck$1(subpath), exports, subpath, packageName);
  111452. if (_0_0 != null)
  111453. return _0_0;
  111454. if (subpath != null && A.ParsedPath_ParsedPath$parse(subpath, $.$get$url().style)._splitExtension$1(1)[1].length !== 0)
  111455. return null;
  111456. _1_0 = _this._node_package$_nodePackageExportsResolve$5(packageRoot, _this._node_package$_exportsToCheck$2$addIndex(subpath, true), exports, subpath, packageName);
  111457. if (_1_0 != null)
  111458. return _1_0;
  111459. return null;
  111460. },
  111461. _node_package$_nodePackageExportsResolve$5(packageRoot, subpathVariants, exports, subpath, packageName) {
  111462. var t1, matches, _1_1, path;
  111463. 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()))
  111464. 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) + ".");
  111465. t1 = type$.NonNullsIterable_String;
  111466. 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"));
  111467. matches = A.List_List$_of(t1, A._instanceType(t1)._precomputed1);
  111468. $label0$1: {
  111469. _1_1 = matches.length;
  111470. if (_1_1 === 1) {
  111471. path = matches[0];
  111472. t1 = path;
  111473. break $label0$1;
  111474. }
  111475. if (_1_1 <= 0) {
  111476. t1 = null;
  111477. break $label0$1;
  111478. }
  111479. t1 = subpath == null ? "root" : subpath;
  111480. t1 = A.throwExpression(string$.Unable + t1 + " in " + packageName + " should be used. \n\nFound:\n" + B.JSArray_methods.join$1(matches, "\n"));
  111481. }
  111482. return t1;
  111483. },
  111484. _node_package$_compareExpansionKeys$2(keyA, keyB) {
  111485. var t1 = B.JSString_methods.contains$1(keyA, "*"),
  111486. baseLengthA = t1 ? B.JSString_methods.indexOf$1(keyA, "*") + 1 : keyA.length,
  111487. t2 = B.JSString_methods.contains$1(keyB, "*"),
  111488. baseLengthB = t2 ? B.JSString_methods.indexOf$1(keyB, "*") + 1 : keyB.length;
  111489. if (baseLengthA > baseLengthB)
  111490. return -1;
  111491. if (baseLengthB > baseLengthA)
  111492. return 1;
  111493. if (!t1)
  111494. return 1;
  111495. if (!t2)
  111496. return -1;
  111497. t1 = keyA.length;
  111498. t2 = keyB.length;
  111499. if (t1 > t2)
  111500. return -1;
  111501. if (t2 > t1)
  111502. return 1;
  111503. return 0;
  111504. },
  111505. _node_package$_packageTargetResolve$4(subpath, exports, packageRoot, patternMatch) {
  111506. var t2, string, path, map, key, value, _1_0, array, _2_0, _null = null,
  111507. t1 = typeof exports == "string";
  111508. if (t1) {
  111509. t2 = !B.JSString_methods.startsWith$1(exports, "./");
  111510. string = exports;
  111511. } else {
  111512. string = _null;
  111513. t2 = false;
  111514. }
  111515. if (t2)
  111516. throw A.wrapException("Export '" + A.S(string) + string$.x27x20must + packageRoot + "'.");
  111517. if (t1) {
  111518. t2 = patternMatch != null;
  111519. string = exports;
  111520. } else {
  111521. string = _null;
  111522. t2 = false;
  111523. }
  111524. if (t2) {
  111525. t1 = J.replaceFirst$2$s(string, "*", patternMatch);
  111526. t2 = $.$get$context();
  111527. path = t2.normalize$1(A.join(packageRoot, t2.style.pathFromUri$1(A._parseUri(t1)), _null));
  111528. return A.fileExists0(path) ? path : _null;
  111529. }
  111530. string = t1 ? exports : _null;
  111531. if (t1) {
  111532. t1 = $.$get$context();
  111533. string.toString;
  111534. return A.join(packageRoot, t1.style.pathFromUri$1(A._parseUri(string)), _null);
  111535. }
  111536. t1 = type$.Map_String_dynamic._is(exports);
  111537. map = t1 ? exports : _null;
  111538. if (t1) {
  111539. for (t1 = A.MapExtensions_get_pairs(map, type$.String, type$.dynamic), t1 = t1.get$iterator(t1); t1.moveNext$0();) {
  111540. t2 = t1.get$current(t1);
  111541. key = t2._0;
  111542. value = t2._1;
  111543. if (!B.Set_8229z.contains$1(0, key))
  111544. continue;
  111545. if (value == null)
  111546. continue;
  111547. _1_0 = this._node_package$_packageTargetResolve$4(subpath, value, packageRoot, patternMatch);
  111548. if (_1_0 != null)
  111549. return _1_0;
  111550. }
  111551. return _null;
  111552. }
  111553. t1 = type$.List_dynamic._is(exports);
  111554. if (t1 && J.get$length$asx(exports) <= 0)
  111555. return _null;
  111556. array = t1 ? exports : _null;
  111557. if (t1) {
  111558. for (t1 = J.get$iterator$ax(array); t1.moveNext$0();) {
  111559. value = t1.get$current(t1);
  111560. if (value == null)
  111561. continue;
  111562. _2_0 = this._node_package$_packageTargetResolve$4(subpath, value, packageRoot, patternMatch);
  111563. if (_2_0 != null)
  111564. return _2_0;
  111565. }
  111566. return _null;
  111567. }
  111568. throw A.wrapException("Invalid 'exports' value " + A.S(exports) + " in " + A.join(packageRoot, "package.json", _null) + ".");
  111569. },
  111570. _node_package$_packageTargetResolve$3(subpath, exports, packageRoot) {
  111571. return this._node_package$_packageTargetResolve$4(subpath, exports, packageRoot, null);
  111572. },
  111573. _node_package$_getMainExport$1(exports) {
  111574. var t1, t2, t3, map, _0_4, t4, $export;
  111575. $label0$0: {
  111576. t1 = null;
  111577. if (typeof exports == "string") {
  111578. t1 = exports;
  111579. break $label0$0;
  111580. }
  111581. if (type$.List_String._is(exports)) {
  111582. t1 = exports;
  111583. break $label0$0;
  111584. }
  111585. t2 = type$.Map_String_dynamic._is(exports);
  111586. if (t2) {
  111587. t3 = !J.any$1$ax(exports.get$keys(exports), new A.NodePackageImporter__getMainExport_closure0());
  111588. map = exports;
  111589. } else {
  111590. map = t1;
  111591. t3 = false;
  111592. }
  111593. if (t3) {
  111594. t1 = map;
  111595. break $label0$0;
  111596. }
  111597. t3 = false;
  111598. if (t2) {
  111599. _0_4 = exports.$index(0, ".");
  111600. if (_0_4 == null)
  111601. t4 = exports.containsKey$1(".");
  111602. else
  111603. t4 = true;
  111604. if (t4)
  111605. t3 = _0_4 != null;
  111606. } else
  111607. _0_4 = null;
  111608. if (t3) {
  111609. $export = t2 ? _0_4 : exports.$index(0, ".");
  111610. t1 = $export;
  111611. break $label0$0;
  111612. }
  111613. break $label0$0;
  111614. }
  111615. return t1;
  111616. },
  111617. _node_package$_exportsToCheck$2$addIndex(subpath, addIndex) {
  111618. var basename, dirname, t3, t4, _i, path,
  111619. t1 = type$.JSArray_String,
  111620. paths = A._setArrayType([], t1),
  111621. t2 = subpath == null;
  111622. if (t2 && addIndex)
  111623. subpath = "index";
  111624. else if (!t2 && addIndex)
  111625. subpath = A.join(subpath, "index", null);
  111626. if (subpath == null)
  111627. return A._setArrayType([null], type$.JSArray_nullable_String);
  111628. if (B.Set_FTDN4.contains$1(0, A.ParsedPath_ParsedPath$parse(subpath, $.$get$url().style)._splitExtension$1(1)[1]))
  111629. paths.push(subpath);
  111630. else
  111631. B.JSArray_methods.addAll$1(paths, A._setArrayType([subpath, subpath + ".scss", subpath + ".sass", subpath + ".css"], t1));
  111632. t1 = $.$get$context();
  111633. t2 = t1.style;
  111634. basename = A.ParsedPath_ParsedPath$parse(subpath, t2).get$basename();
  111635. dirname = t1.dirname$1(subpath);
  111636. if (B.JSString_methods.startsWith$1(basename, "_"))
  111637. return paths;
  111638. t1 = A.List_List$_of(paths, type$.nullable_String);
  111639. for (t3 = paths.length, t4 = dirname === ".", _i = 0; _i < paths.length; paths.length === t3 || (0, A.throwConcurrentModificationError)(paths), ++_i) {
  111640. path = paths[_i];
  111641. if (t4)
  111642. t1.push("_" + A.ParsedPath_ParsedPath$parse(path, t2).get$basename());
  111643. else
  111644. t1.push(A.join(dirname, "_" + A.ParsedPath_ParsedPath$parse(path, t2).get$basename(), null));
  111645. }
  111646. return t1;
  111647. },
  111648. _node_package$_exportsToCheck$1(subpath) {
  111649. return this._node_package$_exportsToCheck$2$addIndex(subpath, false);
  111650. }
  111651. };
  111652. A.NodePackageImporter__nodePackageExportsResolve_closure3.prototype = {
  111653. call$1(key) {
  111654. return B.JSString_methods.startsWith$1(key, ".");
  111655. },
  111656. $signature: 5
  111657. };
  111658. A.NodePackageImporter__nodePackageExportsResolve_closure4.prototype = {
  111659. call$1(key) {
  111660. return !B.JSString_methods.startsWith$1(key, ".");
  111661. },
  111662. $signature: 5
  111663. };
  111664. A.NodePackageImporter__nodePackageExportsResolve_closure5.prototype = {
  111665. call$1(key) {
  111666. return '"' + key + '"';
  111667. },
  111668. $signature: 6
  111669. };
  111670. A.NodePackageImporter__nodePackageExportsResolve_closure6.prototype = {
  111671. call$1(variant) {
  111672. var t1, matchKey, t2, t3, t4, t5, _i, expansionKey, _0_0, t6, patternBase, patternTrailer, t7, target, _this = this, _null = null;
  111673. if (variant == null) {
  111674. t1 = _this.$this;
  111675. return A.NullableExtension_andThen(t1._node_package$_getMainExport$1(_this.exports), new A.NodePackageImporter__nodePackageExportsResolve__closure1(t1, variant, _this.packageRoot));
  111676. } else {
  111677. t1 = _this.exports;
  111678. if (!type$.Map_String_dynamic._is(t1) || J.every$1$ax(t1.get$keys(t1), new A.NodePackageImporter__nodePackageExportsResolve__closure2()))
  111679. return _null;
  111680. }
  111681. matchKey = "./" + $.$get$context().toUri$1(variant).toString$0(0);
  111682. if (t1.containsKey$1(matchKey) && t1.$index(0, matchKey) != null && !B.JSString_methods.contains$1(matchKey, "*")) {
  111683. t1 = t1.$index(0, matchKey);
  111684. if (t1 == null)
  111685. t1 = type$.Object._as(t1);
  111686. return _this.$this._node_package$_packageTargetResolve$3(matchKey, t1, _this.packageRoot);
  111687. }
  111688. t2 = A._setArrayType([], type$.JSArray_String);
  111689. for (t3 = J.get$iterator$ax(t1.get$keys(t1)); t3.moveNext$0();) {
  111690. t4 = t3.get$current(t3);
  111691. if (B.JSString_methods.allMatches$1("*", t4).get$length(0) === 1)
  111692. t2.push(t4);
  111693. }
  111694. t3 = _this.$this;
  111695. B.JSArray_methods.sort$1(t2, t3.get$_node_package$_compareExpansionKeys());
  111696. for (t4 = t2.length, t5 = matchKey.length, _i = 0; _i < t2.length; t2.length === t4 || (0, A.throwConcurrentModificationError)(t2), ++_i) {
  111697. expansionKey = t2[_i];
  111698. _0_0 = expansionKey.split("*");
  111699. t6 = _0_0.length === 2;
  111700. if (t6) {
  111701. patternBase = _0_0[0];
  111702. patternTrailer = _0_0[1];
  111703. } else {
  111704. patternTrailer = _null;
  111705. patternBase = patternTrailer;
  111706. }
  111707. if (!t6)
  111708. throw A.wrapException(A.StateError$("Pattern matching error"));
  111709. if (!B.JSString_methods.startsWith$1(matchKey, patternBase))
  111710. continue;
  111711. if (matchKey === patternBase)
  111712. continue;
  111713. t6 = patternTrailer.length;
  111714. if (t6 !== 0)
  111715. t7 = B.JSString_methods.endsWith$1(matchKey, patternTrailer) && t5 >= expansionKey.length;
  111716. else
  111717. t7 = true;
  111718. if (t7) {
  111719. target = t1.$index(0, expansionKey);
  111720. if (target == null)
  111721. continue;
  111722. return t3._node_package$_packageTargetResolve$4(variant, target, _this.packageRoot, B.JSString_methods.substring$2(matchKey, patternBase.length, t5 - t6));
  111723. }
  111724. }
  111725. return _null;
  111726. },
  111727. $signature: 147
  111728. };
  111729. A.NodePackageImporter__nodePackageExportsResolve__closure1.prototype = {
  111730. call$1(mainExport) {
  111731. return this.$this._node_package$_packageTargetResolve$3(this.variant, mainExport, this.packageRoot);
  111732. },
  111733. $signature: 148
  111734. };
  111735. A.NodePackageImporter__nodePackageExportsResolve__closure2.prototype = {
  111736. call$1(key) {
  111737. return !B.JSString_methods.startsWith$1(key, ".");
  111738. },
  111739. $signature: 5
  111740. };
  111741. A.NodePackageImporter__getMainExport_closure0.prototype = {
  111742. call$1(key) {
  111743. return B.JSString_methods.startsWith$1(key, ".");
  111744. },
  111745. $signature: 5
  111746. };
  111747. A.NullExpression0.prototype = {
  111748. accept$1$1(visitor) {
  111749. return visitor.visitNullExpression$1(0, this);
  111750. },
  111751. accept$1(visitor) {
  111752. return this.accept$1$1(visitor, type$.dynamic);
  111753. },
  111754. toString$0(_) {
  111755. return "null";
  111756. },
  111757. get$span(receiver) {
  111758. return this.span;
  111759. }
  111760. };
  111761. A.legacyNullClass_closure.prototype = {
  111762. call$0() {
  111763. var t1 = type$.JSClass,
  111764. jsClass = t1._as(A.allowInteropCaptureThisNamed("sass.types.Null", new A.legacyNullClass__closure()));
  111765. jsClass.NULL = B.C__SassNull0;
  111766. A.JSClassExtension_injectSuperclass(t1._as(B.C__SassNull0.constructor), jsClass);
  111767. return jsClass;
  111768. },
  111769. $signature: 15
  111770. };
  111771. A.legacyNullClass__closure.prototype = {
  111772. call$2(_, __) {
  111773. throw A.wrapException("new sass.types.Null() isn't allowed. Use sass.types.Null.NULL instead.");
  111774. },
  111775. call$1(_) {
  111776. return this.call$2(_, null);
  111777. },
  111778. "call*": "call$2",
  111779. $requiredArgCount: 1,
  111780. $defaultValues() {
  111781. return [null];
  111782. },
  111783. $signature: 222
  111784. };
  111785. A._SassNull0.prototype = {
  111786. get$isTruthy() {
  111787. return false;
  111788. },
  111789. get$isBlank() {
  111790. return true;
  111791. },
  111792. get$realNull() {
  111793. return null;
  111794. },
  111795. accept$1$1(visitor) {
  111796. if (visitor._serialize0$_inspect)
  111797. visitor._serialize0$_buffer.write$1(0, "null");
  111798. return null;
  111799. },
  111800. accept$1(visitor) {
  111801. return this.accept$1$1(visitor, type$.dynamic);
  111802. },
  111803. unaryNot$0() {
  111804. return B.SassBoolean_true0;
  111805. }
  111806. };
  111807. A.NumberExpression0.prototype = {
  111808. accept$1$1(visitor) {
  111809. return visitor.visitNumberExpression$1(0, this);
  111810. },
  111811. accept$1(visitor) {
  111812. return this.accept$1$1(visitor, type$.dynamic);
  111813. },
  111814. toString$0(_) {
  111815. return A.serializeValue0(A.SassNumber_SassNumber0(this.value, this.unit), true, true);
  111816. },
  111817. get$span(receiver) {
  111818. return this.span;
  111819. }
  111820. };
  111821. A.numberClass_closure.prototype = {
  111822. call$0() {
  111823. var t1 = type$.JSClass,
  111824. jsClass = t1._as(A.allowInteropCaptureThisNamed("sass.SassNumber", new A.numberClass__closure())),
  111825. t2 = type$.String,
  111826. t3 = type$.Function;
  111827. 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));
  111828. 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));
  111829. A.JSClassExtension_injectSuperclass(t1._as(self.Object.getPrototypeOf(J.get$$prototype$x(t1._as(A.SassNumber_SassNumber0(0, null).constructor))).constructor), jsClass);
  111830. return jsClass;
  111831. },
  111832. $signature: 15
  111833. };
  111834. A.numberClass__closure.prototype = {
  111835. call$3($self, value, unitOrOptions) {
  111836. var t1, t2, _null = null;
  111837. if (typeof unitOrOptions == "string")
  111838. return A.SassNumber_SassNumber0(value, unitOrOptions);
  111839. type$.nullable__ConstructorOptions_2._as(unitOrOptions);
  111840. t1 = unitOrOptions == null;
  111841. if (t1)
  111842. t2 = _null;
  111843. else {
  111844. t2 = A.NullableExtension_andThen0(J.get$numeratorUnits$x(unitOrOptions), A.immutable__jsToDartList$closure());
  111845. t2 = t2 == null ? _null : J.cast$1$0$ax(t2, type$.String);
  111846. }
  111847. if (t1)
  111848. t1 = _null;
  111849. else {
  111850. t1 = A.NullableExtension_andThen0(J.get$denominatorUnits$x(unitOrOptions), A.immutable__jsToDartList$closure());
  111851. t1 = t1 == null ? _null : J.cast$1$0$ax(t1, type$.String);
  111852. }
  111853. return A.SassNumber_SassNumber$withUnits0(value, t1, t2);
  111854. },
  111855. call$2($self, value) {
  111856. return this.call$3($self, value, null);
  111857. },
  111858. "call*": "call$3",
  111859. $requiredArgCount: 2,
  111860. $defaultValues() {
  111861. return [null];
  111862. },
  111863. $signature: 530
  111864. };
  111865. A.numberClass__closure0.prototype = {
  111866. call$1($self) {
  111867. return $self._number1$_value;
  111868. },
  111869. $signature: 86
  111870. };
  111871. A.numberClass__closure1.prototype = {
  111872. call$1($self) {
  111873. return A.fuzzyIsInt0($self._number1$_value);
  111874. },
  111875. $signature: 252
  111876. };
  111877. A.numberClass__closure2.prototype = {
  111878. call$1($self) {
  111879. return A.fuzzyAsInt0($self._number1$_value);
  111880. },
  111881. $signature: 532
  111882. };
  111883. A.numberClass__closure3.prototype = {
  111884. call$1($self) {
  111885. return new self.immutable.List($self.get$numeratorUnits($self));
  111886. },
  111887. $signature: 253
  111888. };
  111889. A.numberClass__closure4.prototype = {
  111890. call$1($self) {
  111891. return new self.immutable.List($self.get$denominatorUnits($self));
  111892. },
  111893. $signature: 253
  111894. };
  111895. A.numberClass__closure5.prototype = {
  111896. call$1($self) {
  111897. return $self.get$hasUnits();
  111898. },
  111899. $signature: 252
  111900. };
  111901. A.numberClass__closure6.prototype = {
  111902. call$2($self, $name) {
  111903. return $self.assertInt$1($name);
  111904. },
  111905. call$1($self) {
  111906. return this.call$2($self, null);
  111907. },
  111908. "call*": "call$2",
  111909. $requiredArgCount: 1,
  111910. $defaultValues() {
  111911. return [null];
  111912. },
  111913. $signature: 534
  111914. };
  111915. A.numberClass__closure7.prototype = {
  111916. call$4($self, min, max, $name) {
  111917. return $self.valueInRange$3(min, max, $name);
  111918. },
  111919. call$3($self, min, max) {
  111920. return this.call$4($self, min, max, null);
  111921. },
  111922. "call*": "call$4",
  111923. $requiredArgCount: 3,
  111924. $defaultValues() {
  111925. return [null];
  111926. },
  111927. $signature: 535
  111928. };
  111929. A.numberClass__closure8.prototype = {
  111930. call$2($self, $name) {
  111931. $self.assertNoUnits$1($name);
  111932. return $self;
  111933. },
  111934. call$1($self) {
  111935. return this.call$2($self, null);
  111936. },
  111937. "call*": "call$2",
  111938. $requiredArgCount: 1,
  111939. $defaultValues() {
  111940. return [null];
  111941. },
  111942. $signature: 536
  111943. };
  111944. A.numberClass__closure9.prototype = {
  111945. call$3($self, unit, $name) {
  111946. $self.assertUnit$2(unit, $name);
  111947. return $self;
  111948. },
  111949. call$2($self, unit) {
  111950. return this.call$3($self, unit, null);
  111951. },
  111952. "call*": "call$3",
  111953. $requiredArgCount: 2,
  111954. $defaultValues() {
  111955. return [null];
  111956. },
  111957. $signature: 537
  111958. };
  111959. A.numberClass__closure10.prototype = {
  111960. call$2($self, unit) {
  111961. return $self.hasUnit$1(unit);
  111962. },
  111963. $signature: 254
  111964. };
  111965. A.numberClass__closure11.prototype = {
  111966. call$2($self, unit) {
  111967. return $self.get$hasUnits() && $self.compatibleWithUnit$1(unit);
  111968. },
  111969. $signature: 254
  111970. };
  111971. A.numberClass__closure12.prototype = {
  111972. call$4($self, numeratorUnits, denominatorUnits, $name) {
  111973. var t1 = self.immutable.isOrderedMap(numeratorUnits) ? J.toArray$0$x(type$.ImmutableList._as(numeratorUnits)) : type$.List_dynamic._as(numeratorUnits),
  111974. t2 = type$.String;
  111975. t1 = J.cast$1$0$ax(t1, t2);
  111976. t2 = J.cast$1$0$ax(self.immutable.isOrderedMap(denominatorUnits) ? J.toArray$0$x(type$.ImmutableList._as(denominatorUnits)) : type$.List_dynamic._as(denominatorUnits), t2);
  111977. return A.SassNumber_SassNumber$withUnits0($self._number1$_coerceOrConvertValue$4$coerceUnitless$name(t1, t2, false, $name), t2, t1);
  111978. },
  111979. call$3($self, numeratorUnits, denominatorUnits) {
  111980. return this.call$4($self, numeratorUnits, denominatorUnits, null);
  111981. },
  111982. "call*": "call$4",
  111983. $requiredArgCount: 3,
  111984. $defaultValues() {
  111985. return [null];
  111986. },
  111987. $signature: 255
  111988. };
  111989. A.numberClass__closure13.prototype = {
  111990. call$4($self, other, $name, otherName) {
  111991. return $self.convertToMatch$3(other, $name, otherName);
  111992. },
  111993. call$2($self, other) {
  111994. return this.call$4($self, other, null, null);
  111995. },
  111996. call$3($self, other, $name) {
  111997. return this.call$4($self, other, $name, null);
  111998. },
  111999. "call*": "call$4",
  112000. $requiredArgCount: 2,
  112001. $defaultValues() {
  112002. return [null, null];
  112003. },
  112004. $signature: 256
  112005. };
  112006. A.numberClass__closure14.prototype = {
  112007. call$4($self, numeratorUnits, denominatorUnits, $name) {
  112008. var t1 = self.immutable.isOrderedMap(numeratorUnits) ? J.toArray$0$x(type$.ImmutableList._as(numeratorUnits)) : type$.List_dynamic._as(numeratorUnits),
  112009. t2 = type$.String;
  112010. t1 = J.cast$1$0$ax(t1, t2);
  112011. 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);
  112012. },
  112013. call$3($self, numeratorUnits, denominatorUnits) {
  112014. return this.call$4($self, numeratorUnits, denominatorUnits, null);
  112015. },
  112016. "call*": "call$4",
  112017. $requiredArgCount: 3,
  112018. $defaultValues() {
  112019. return [null];
  112020. },
  112021. $signature: 257
  112022. };
  112023. A.numberClass__closure15.prototype = {
  112024. call$4($self, other, $name, otherName) {
  112025. return $self.convertValueToMatch$3(other, $name, otherName);
  112026. },
  112027. call$2($self, other) {
  112028. return this.call$4($self, other, null, null);
  112029. },
  112030. call$3($self, other, $name) {
  112031. return this.call$4($self, other, $name, null);
  112032. },
  112033. "call*": "call$4",
  112034. $requiredArgCount: 2,
  112035. $defaultValues() {
  112036. return [null, null];
  112037. },
  112038. $signature: 258
  112039. };
  112040. A.numberClass__closure16.prototype = {
  112041. call$4($self, numeratorUnits, denominatorUnits, $name) {
  112042. var t1 = self.immutable.isOrderedMap(numeratorUnits) ? J.toArray$0$x(type$.ImmutableList._as(numeratorUnits)) : type$.List_dynamic._as(numeratorUnits),
  112043. t2 = type$.String;
  112044. t1 = J.cast$1$0$ax(t1, t2);
  112045. 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);
  112046. },
  112047. call$3($self, numeratorUnits, denominatorUnits) {
  112048. return this.call$4($self, numeratorUnits, denominatorUnits, null);
  112049. },
  112050. "call*": "call$4",
  112051. $requiredArgCount: 3,
  112052. $defaultValues() {
  112053. return [null];
  112054. },
  112055. $signature: 255
  112056. };
  112057. A.numberClass__closure17.prototype = {
  112058. call$4($self, other, $name, otherName) {
  112059. return $self.coerceToMatch$3(other, $name, otherName);
  112060. },
  112061. call$2($self, other) {
  112062. return this.call$4($self, other, null, null);
  112063. },
  112064. call$3($self, other, $name) {
  112065. return this.call$4($self, other, $name, null);
  112066. },
  112067. "call*": "call$4",
  112068. $requiredArgCount: 2,
  112069. $defaultValues() {
  112070. return [null, null];
  112071. },
  112072. $signature: 256
  112073. };
  112074. A.numberClass__closure18.prototype = {
  112075. call$4($self, numeratorUnits, denominatorUnits, $name) {
  112076. var t1 = self.immutable.isOrderedMap(numeratorUnits) ? J.toArray$0$x(type$.ImmutableList._as(numeratorUnits)) : type$.List_dynamic._as(numeratorUnits),
  112077. t2 = type$.String;
  112078. t1 = J.cast$1$0$ax(t1, t2);
  112079. 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);
  112080. },
  112081. call$3($self, numeratorUnits, denominatorUnits) {
  112082. return this.call$4($self, numeratorUnits, denominatorUnits, null);
  112083. },
  112084. "call*": "call$4",
  112085. $requiredArgCount: 3,
  112086. $defaultValues() {
  112087. return [null];
  112088. },
  112089. $signature: 257
  112090. };
  112091. A.numberClass__closure19.prototype = {
  112092. call$4($self, other, $name, otherName) {
  112093. return $self.coerceValueToMatch$3(other, $name, otherName);
  112094. },
  112095. call$2($self, other) {
  112096. return this.call$4($self, other, null, null);
  112097. },
  112098. call$3($self, other, $name) {
  112099. return this.call$4($self, other, $name, null);
  112100. },
  112101. "call*": "call$4",
  112102. $requiredArgCount: 2,
  112103. $defaultValues() {
  112104. return [null, null];
  112105. },
  112106. $signature: 258
  112107. };
  112108. A._ConstructorOptions0.prototype = {};
  112109. A._NodeSassNumber.prototype = {};
  112110. A.legacyNumberClass_closure.prototype = {
  112111. call$4(thisArg, value, unit, dartValue) {
  112112. var t1;
  112113. if (dartValue == null) {
  112114. value.toString;
  112115. t1 = A._parseNumber(value, unit);
  112116. } else
  112117. t1 = dartValue;
  112118. J.set$dartValue$x(thisArg, t1);
  112119. },
  112120. call$2(thisArg, value) {
  112121. return this.call$4(thisArg, value, null, null);
  112122. },
  112123. call$3(thisArg, value, unit) {
  112124. return this.call$4(thisArg, value, unit, null);
  112125. },
  112126. "call*": "call$4",
  112127. $requiredArgCount: 2,
  112128. $defaultValues() {
  112129. return [null, null];
  112130. },
  112131. $signature: 543
  112132. };
  112133. A.legacyNumberClass_closure0.prototype = {
  112134. call$1(thisArg) {
  112135. return J.get$dartValue$x(thisArg)._number1$_value;
  112136. },
  112137. $signature: 544
  112138. };
  112139. A.legacyNumberClass_closure1.prototype = {
  112140. call$2(thisArg, value) {
  112141. var t1 = J.getInterceptor$x(thisArg),
  112142. t2 = J.get$numeratorUnits$x(t1.get$dartValue(thisArg));
  112143. t1.set$dartValue(thisArg, A.SassNumber_SassNumber$withUnits0(value, J.get$denominatorUnits$x(t1.get$dartValue(thisArg)), t2));
  112144. },
  112145. $signature: 545
  112146. };
  112147. A.legacyNumberClass_closure2.prototype = {
  112148. call$1(thisArg) {
  112149. var t1 = J.getInterceptor$x(thisArg),
  112150. t2 = B.JSArray_methods.join$1(J.get$numeratorUnits$x(t1.get$dartValue(thisArg)), "*"),
  112151. t3 = J.get$denominatorUnits$x(t1.get$dartValue(thisArg)).length === 0 ? "" : "/";
  112152. return t2 + t3 + B.JSArray_methods.join$1(J.get$denominatorUnits$x(t1.get$dartValue(thisArg)), "*");
  112153. },
  112154. $signature: 546
  112155. };
  112156. A.legacyNumberClass_closure3.prototype = {
  112157. call$2(thisArg, unit) {
  112158. var t1 = J.getInterceptor$x(thisArg);
  112159. t1.set$dartValue(thisArg, A._parseNumber(t1.get$dartValue(thisArg)._number1$_value, unit));
  112160. },
  112161. $signature: 547
  112162. };
  112163. A._parseNumber_closure.prototype = {
  112164. call$1(unit) {
  112165. return unit.length === 0;
  112166. },
  112167. $signature: 5
  112168. };
  112169. A._parseNumber_closure0.prototype = {
  112170. call$1(unit) {
  112171. return unit.length === 0;
  112172. },
  112173. $signature: 5
  112174. };
  112175. A.SassNumber0.prototype = {
  112176. get$unitString() {
  112177. var _this = this;
  112178. return _this.get$hasUnits() ? _this._number1$_unitString$2(_this.get$numeratorUnits(_this), _this.get$denominatorUnits(_this)) : "";
  112179. },
  112180. accept$1$1(visitor) {
  112181. return visitor.visitNumber$1(this);
  112182. },
  112183. accept$1(visitor) {
  112184. return this.accept$1$1(visitor, type$.dynamic);
  112185. },
  112186. withoutSlash$0() {
  112187. var _this = this;
  112188. return _this.asSlash == null ? _this : _this.withValue$1(_this._number1$_value);
  112189. },
  112190. assertNumber$1($name) {
  112191. return this;
  112192. },
  112193. assertNumber$0() {
  112194. return this.assertNumber$1(null);
  112195. },
  112196. assertInt$1($name) {
  112197. var _0_0 = A.fuzzyAsInt0(this._number1$_value);
  112198. if (_0_0 != null)
  112199. return _0_0;
  112200. throw A.wrapException(A.SassScriptException$0(this.toString$0(0) + " is not an int.", $name));
  112201. },
  112202. assertInt$0() {
  112203. return this.assertInt$1(null);
  112204. },
  112205. valueInRange$3(min, max, $name) {
  112206. var _this = this,
  112207. _0_0 = A.fuzzyCheckRange0(_this._number1$_value, min, max);
  112208. if (_0_0 != null)
  112209. return _0_0;
  112210. 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));
  112211. },
  112212. valueInRangeWithUnit$4(min, max, $name, unit) {
  112213. var _0_0 = A.fuzzyCheckRange0(this._number1$_value, min, max);
  112214. if (_0_0 != null)
  112215. return _0_0;
  112216. throw A.wrapException(A.SassScriptException$0("Expected " + this.toString$0(0) + " to be within " + min + unit + " and " + max + unit + ".", $name));
  112217. },
  112218. hasCompatibleUnits$1(other) {
  112219. var _this = this;
  112220. if (_this.get$numeratorUnits(_this).length !== other.get$numeratorUnits(other).length)
  112221. return false;
  112222. if (_this.get$denominatorUnits(_this).length !== other.get$denominatorUnits(other).length)
  112223. return false;
  112224. return _this.isComparableTo$1(other);
  112225. },
  112226. assertUnit$2(unit, $name) {
  112227. if (this.hasUnit$1(unit))
  112228. return;
  112229. throw A.wrapException(A.SassScriptException$0("Expected " + this.toString$0(0) + ' to have unit "' + unit + '".', $name));
  112230. },
  112231. assertNoUnits$1($name) {
  112232. if (!this.get$hasUnits())
  112233. return;
  112234. throw A.wrapException(A.SassScriptException$0("Expected " + this.toString$0(0) + " to have no units.", $name));
  112235. },
  112236. assertNoUnits$0() {
  112237. return this.assertNoUnits$1(null);
  112238. },
  112239. convertToMatch$3(other, $name, otherName) {
  112240. var t1 = this.convertValueToMatch$3(other, $name, otherName),
  112241. t2 = other.get$numeratorUnits(other);
  112242. return A.SassNumber_SassNumber$withUnits0(t1, other.get$denominatorUnits(other), t2);
  112243. },
  112244. convertValueToMatch$3(other, $name, otherName) {
  112245. return this._number1$_coerceOrConvertValue$6$coerceUnitless$name$other$otherName(other.get$numeratorUnits(other), other.get$denominatorUnits(other), false, $name, other, otherName);
  112246. },
  112247. convertValueToMatch$1(other) {
  112248. return this.convertValueToMatch$3(other, null, null);
  112249. },
  112250. coerce$3(newNumerators, newDenominators, $name) {
  112251. return A.SassNumber_SassNumber$withUnits0(this.coerceValue$3(newNumerators, newDenominators, $name), newDenominators, newNumerators);
  112252. },
  112253. coerce$2(newNumerators, newDenominators) {
  112254. return this.coerce$3(newNumerators, newDenominators, null);
  112255. },
  112256. coerceValue$3(newNumerators, newDenominators, $name) {
  112257. return this._number1$_coerceOrConvertValue$4$coerceUnitless$name(newNumerators, newDenominators, true, $name);
  112258. },
  112259. coerceValueToUnit$2(unit, $name) {
  112260. var t1 = type$.JSArray_String;
  112261. return this.coerceValue$3(A._setArrayType([unit], t1), A._setArrayType([], t1), $name);
  112262. },
  112263. coerceValueToUnit$1(unit) {
  112264. return this.coerceValueToUnit$2(unit, null);
  112265. },
  112266. coerceToMatch$3(other, $name, otherName) {
  112267. var t1 = this.coerceValueToMatch$3(other, $name, otherName),
  112268. t2 = other.get$numeratorUnits(other);
  112269. return A.SassNumber_SassNumber$withUnits0(t1, other.get$denominatorUnits(other), t2);
  112270. },
  112271. coerceValueToMatch$3(other, $name, otherName) {
  112272. return this._number1$_coerceOrConvertValue$6$coerceUnitless$name$other$otherName(other.get$numeratorUnits(other), other.get$denominatorUnits(other), true, $name, other, otherName);
  112273. },
  112274. coerceValueToMatch$1(other) {
  112275. return this.coerceValueToMatch$3(other, null, null);
  112276. },
  112277. _number1$_coerceOrConvertValue$6$coerceUnitless$name$other$otherName(newNumerators, newDenominators, coerceUnitless, $name, other, otherName) {
  112278. var t1, otherHasUnits, t2, compatibilityException, oldNumerators, oldDenominators, _this = this, _box_0 = {};
  112279. if (B.C_ListEquality.equals$2(0, _this.get$numeratorUnits(_this), newNumerators) && B.C_ListEquality.equals$2(0, _this.get$denominatorUnits(_this), newDenominators))
  112280. return _this._number1$_value;
  112281. t1 = J.getInterceptor$asx(newNumerators);
  112282. otherHasUnits = t1.get$isNotEmpty(newNumerators) || J.get$isNotEmpty$asx(newDenominators);
  112283. if (coerceUnitless)
  112284. t2 = !_this.get$hasUnits() || !otherHasUnits;
  112285. else
  112286. t2 = false;
  112287. if (t2)
  112288. return _this._number1$_value;
  112289. compatibilityException = new A.SassNumber__coerceOrConvertValue_compatibilityException0(_this, other, otherName, otherHasUnits, $name, newNumerators, newDenominators);
  112290. _box_0.value = _this._number1$_value;
  112291. t2 = _this.get$numeratorUnits(_this);
  112292. oldNumerators = A._setArrayType(t2.slice(0), A._arrayInstanceType(t2));
  112293. for (t1 = t1.get$iterator(newNumerators); t1.moveNext$0();)
  112294. A.removeFirstWhere0(oldNumerators, new A.SassNumber__coerceOrConvertValue_closure3(_box_0, t1.get$current(t1)), new A.SassNumber__coerceOrConvertValue_closure4(compatibilityException));
  112295. t1 = _this.get$denominatorUnits(_this);
  112296. oldDenominators = A._setArrayType(t1.slice(0), A._arrayInstanceType(t1));
  112297. for (t1 = J.get$iterator$ax(newDenominators); t1.moveNext$0();)
  112298. A.removeFirstWhere0(oldDenominators, new A.SassNumber__coerceOrConvertValue_closure5(_box_0, t1.get$current(t1)), new A.SassNumber__coerceOrConvertValue_closure6(compatibilityException));
  112299. if (oldNumerators.length !== 0 || oldDenominators.length !== 0)
  112300. throw A.wrapException(compatibilityException.call$0());
  112301. return _box_0.value;
  112302. },
  112303. _number1$_coerceOrConvertValue$4$coerceUnitless$name(newNumerators, newDenominators, coerceUnitless, $name) {
  112304. return this._number1$_coerceOrConvertValue$6$coerceUnitless$name$other$otherName(newNumerators, newDenominators, coerceUnitless, $name, null, null);
  112305. },
  112306. isComparableTo$1(other) {
  112307. var exception;
  112308. if (!this.get$hasUnits() || !other.get$hasUnits())
  112309. return true;
  112310. try {
  112311. this.greaterThan$1(other);
  112312. return true;
  112313. } catch (exception) {
  112314. if (A.unwrapException(exception) instanceof A.SassScriptException0)
  112315. return false;
  112316. else
  112317. throw exception;
  112318. }
  112319. },
  112320. greaterThan$1(other) {
  112321. if (other instanceof A.SassNumber0)
  112322. return this._number1$_coerceUnits$2(other, A.number2__fuzzyGreaterThan$closure()) ? B.SassBoolean_true0 : B.SassBoolean_false0;
  112323. throw A.wrapException(A.SassScriptException$0('Undefined operation "' + this.toString$0(0) + " > " + other.toString$0(0) + '".', null));
  112324. },
  112325. greaterThanOrEquals$1(other) {
  112326. if (other instanceof A.SassNumber0)
  112327. return this._number1$_coerceUnits$2(other, A.number2__fuzzyGreaterThanOrEquals$closure()) ? B.SassBoolean_true0 : B.SassBoolean_false0;
  112328. throw A.wrapException(A.SassScriptException$0('Undefined operation "' + this.toString$0(0) + " >= " + other.toString$0(0) + '".', null));
  112329. },
  112330. lessThan$1(other) {
  112331. if (other instanceof A.SassNumber0)
  112332. return this._number1$_coerceUnits$2(other, A.number2__fuzzyLessThan$closure()) ? B.SassBoolean_true0 : B.SassBoolean_false0;
  112333. throw A.wrapException(A.SassScriptException$0('Undefined operation "' + this.toString$0(0) + " < " + other.toString$0(0) + '".', null));
  112334. },
  112335. lessThanOrEquals$1(other) {
  112336. if (other instanceof A.SassNumber0)
  112337. return this._number1$_coerceUnits$2(other, A.number2__fuzzyLessThanOrEquals$closure()) ? B.SassBoolean_true0 : B.SassBoolean_false0;
  112338. throw A.wrapException(A.SassScriptException$0('Undefined operation "' + this.toString$0(0) + " <= " + other.toString$0(0) + '".', null));
  112339. },
  112340. modulo$1(other) {
  112341. if (other instanceof A.SassNumber0)
  112342. return this.withValue$1(this._number1$_coerceUnits$2(other, A.number2__moduloLikeSass$closure()));
  112343. throw A.wrapException(A.SassScriptException$0('Undefined operation "' + this.toString$0(0) + " % " + other.toString$0(0) + '".', null));
  112344. },
  112345. plus$1(other) {
  112346. var _this = this;
  112347. if (other instanceof A.SassNumber0)
  112348. return _this.withValue$1(_this._number1$_coerceUnits$2(other, new A.SassNumber_plus_closure0()));
  112349. if (!(other instanceof A.SassColor0))
  112350. return _this.super$Value$plus0(other);
  112351. throw A.wrapException(A.SassScriptException$0('Undefined operation "' + _this.toString$0(0) + " + " + other.toString$0(0) + '".', null));
  112352. },
  112353. minus$1(other) {
  112354. var _this = this;
  112355. if (other instanceof A.SassNumber0)
  112356. return _this.withValue$1(_this._number1$_coerceUnits$2(other, new A.SassNumber_minus_closure0()));
  112357. if (!(other instanceof A.SassColor0))
  112358. return _this.super$Value$minus0(other);
  112359. throw A.wrapException(A.SassScriptException$0('Undefined operation "' + _this.toString$0(0) + " - " + other.toString$0(0) + '".', null));
  112360. },
  112361. times$1(other) {
  112362. var _this = this;
  112363. if (other instanceof A.SassNumber0) {
  112364. if (!other.get$hasUnits())
  112365. return _this.withValue$1(_this._number1$_value * other._number1$_value);
  112366. return _this.multiplyUnits$3(_this._number1$_value * other._number1$_value, other.get$numeratorUnits(other), other.get$denominatorUnits(other));
  112367. }
  112368. throw A.wrapException(A.SassScriptException$0('Undefined operation "' + _this.toString$0(0) + " * " + other.toString$0(0) + '".', null));
  112369. },
  112370. dividedBy$1(other) {
  112371. var _this = this;
  112372. if (other instanceof A.SassNumber0) {
  112373. if (!other.get$hasUnits())
  112374. return _this.withValue$1(_this._number1$_value / other._number1$_value);
  112375. return _this.multiplyUnits$3(_this._number1$_value / other._number1$_value, other.get$denominatorUnits(other), other.get$numeratorUnits(other));
  112376. }
  112377. return _this.super$Value$dividedBy0(other);
  112378. },
  112379. unaryPlus$0() {
  112380. return this;
  112381. },
  112382. _number1$_coerceUnits$1$2(other, operation) {
  112383. var t1, exception;
  112384. try {
  112385. t1 = operation.call$2(this._number1$_value, other.coerceValueToMatch$1(this));
  112386. return t1;
  112387. } catch (exception) {
  112388. if (A.unwrapException(exception) instanceof A.SassScriptException0) {
  112389. this.coerceValueToMatch$1(other);
  112390. throw exception;
  112391. } else
  112392. throw exception;
  112393. }
  112394. },
  112395. _number1$_coerceUnits$2(other, operation) {
  112396. operation.toString;
  112397. return this._number1$_coerceUnits$1$2(other, operation, type$.dynamic);
  112398. },
  112399. multiplyUnits$3(value, otherNumerators, otherDenominators) {
  112400. 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 = {};
  112401. _box_0.value = value;
  112402. t1 = [_this.get$numeratorUnits(_this), _this.get$denominatorUnits(_this), otherNumerators, otherDenominators];
  112403. _0_1 = t1[0];
  112404. _0_6 = _null;
  112405. _0_3 = _null;
  112406. _0_9 = _null;
  112407. _0_9_isSet = false;
  112408. _0_7 = _null;
  112409. _0_7_isSet = false;
  112410. t2 = false;
  112411. _0_2 = t1[1];
  112412. _0_3 = t1[2];
  112413. _0_6 = _0_3.length <= 0;
  112414. _0_9_isSet = _0_6;
  112415. if (_0_9_isSet) {
  112416. _0_7 = t1[3];
  112417. _0_9 = _0_7.length <= 0;
  112418. t2 = _0_9;
  112419. }
  112420. _0_7_isSet = _0_9_isSet;
  112421. denominators_case_0 = _0_2;
  112422. _0_11_isSet = !t2;
  112423. _0_13 = _null;
  112424. if (_0_11_isSet) {
  112425. _0_11 = _0_1.length <= 0;
  112426. _0_13_isSet = _0_11;
  112427. if (_0_13_isSet) {
  112428. t2 = _0_2;
  112429. _0_13 = t2.length <= 0;
  112430. t2 = _0_13;
  112431. if (t2) {
  112432. numerators_case_0 = _0_3;
  112433. if (_0_7_isSet)
  112434. denominators_case_0 = _0_7;
  112435. else {
  112436. _0_7 = t1[3];
  112437. denominators_case_0 = _0_7;
  112438. _0_7_isSet = true;
  112439. }
  112440. } else
  112441. numerators_case_0 = _0_1;
  112442. } else {
  112443. numerators_case_0 = _0_1;
  112444. t2 = false;
  112445. }
  112446. } else {
  112447. numerators_case_0 = _0_1;
  112448. _0_11 = _null;
  112449. _0_13_isSet = false;
  112450. t2 = true;
  112451. }
  112452. if (t2) {
  112453. t4 = denominators_case_0;
  112454. t3 = numerators_case_0;
  112455. } else {
  112456. t4 = _null;
  112457. t3 = t4;
  112458. }
  112459. if (!t2) {
  112460. t2 = _null;
  112461. t5 = _null;
  112462. if (_0_11_isSet)
  112463. t6 = _0_11;
  112464. else {
  112465. _0_11 = _0_1.length <= 0;
  112466. t6 = _0_11;
  112467. }
  112468. t7 = false;
  112469. if (t6) {
  112470. denominators_case_1 = _0_2;
  112471. numerators_case_1 = _0_3;
  112472. if (_0_9_isSet)
  112473. t2 = _0_9;
  112474. else {
  112475. if (_0_7_isSet)
  112476. t2 = _0_7;
  112477. else {
  112478. _0_7 = t1[3];
  112479. t2 = _0_7;
  112480. _0_7_isSet = true;
  112481. }
  112482. _0_9 = t2.length <= 0;
  112483. t2 = _0_9;
  112484. }
  112485. } else {
  112486. numerators_case_1 = t2;
  112487. t2 = t7;
  112488. denominators_case_1 = t5;
  112489. }
  112490. if (!t2) {
  112491. t2 = false;
  112492. if (_0_13_isSet)
  112493. t5 = _0_13;
  112494. else {
  112495. _0_13 = _0_2.length <= 0;
  112496. t5 = _0_13;
  112497. }
  112498. if (t5) {
  112499. t2 = _0_6;
  112500. if (t2)
  112501. denominators_case_1 = _0_7_isSet ? _0_7 : t1[3];
  112502. t1 = t2;
  112503. } else
  112504. t1 = t2;
  112505. numerators_case_1 = _0_1;
  112506. } else
  112507. t1 = true;
  112508. if (t1) {
  112509. t1 = !_this._number1$_areAnyConvertible$2(numerators_case_1, denominators_case_1);
  112510. if (t1) {
  112511. t3 = denominators_case_1;
  112512. t2 = numerators_case_1;
  112513. } else {
  112514. t2 = t3;
  112515. t3 = t4;
  112516. }
  112517. t0 = t3;
  112518. t3 = t1;
  112519. t1 = t2;
  112520. t2 = t0;
  112521. } else {
  112522. t2 = t4;
  112523. t1 = t3;
  112524. t3 = false;
  112525. }
  112526. } else {
  112527. t2 = t4;
  112528. t1 = t3;
  112529. t3 = true;
  112530. }
  112531. if (t3)
  112532. return A.SassNumber_SassNumber$withUnits0(value, t2, t1);
  112533. newNumerators = A._setArrayType([], type$.JSArray_String);
  112534. mutableOtherDenominators = A._setArrayType(otherDenominators.slice(0), A._arrayInstanceType(otherDenominators));
  112535. for (t1 = _this.get$numeratorUnits(_this), t2 = t1.length, _i = 0; _i < t2; ++_i) {
  112536. numerator = t1[_i];
  112537. A.removeFirstWhere0(mutableOtherDenominators, new A.SassNumber_multiplyUnits_closure3(_box_0, numerator), new A.SassNumber_multiplyUnits_closure4(newNumerators, numerator));
  112538. }
  112539. t1 = _this.get$denominatorUnits(_this);
  112540. mutableDenominatorUnits = A._setArrayType(t1.slice(0), A._arrayInstanceType(t1));
  112541. for (t1 = otherNumerators.length, _i = 0; _i < t1; ++_i) {
  112542. numerator = otherNumerators[_i];
  112543. A.removeFirstWhere0(mutableDenominatorUnits, new A.SassNumber_multiplyUnits_closure5(_box_0, numerator), new A.SassNumber_multiplyUnits_closure6(newNumerators, numerator));
  112544. }
  112545. t1 = _box_0.value;
  112546. B.JSArray_methods.addAll$1(mutableDenominatorUnits, mutableOtherDenominators);
  112547. return A.SassNumber_SassNumber$withUnits0(t1, mutableDenominatorUnits, newNumerators);
  112548. },
  112549. _number1$_areAnyConvertible$2(units1, units2) {
  112550. return B.JSArray_methods.any$1(units1, new A.SassNumber__areAnyConvertible_closure0(units2));
  112551. },
  112552. _number1$_unitString$2(numerators, denominators) {
  112553. var _0_4, _0_6, t1, _0_7, _0_5, _0_9, _0_10, denominator;
  112554. $label0$0: {
  112555. _0_4 = J.get$length$asx(numerators) <= 0;
  112556. if (_0_4) {
  112557. _0_6 = J.get$length$asx(denominators);
  112558. t1 = _0_6;
  112559. _0_7 = t1 <= 0;
  112560. t1 = _0_7;
  112561. _0_5 = denominators;
  112562. } else {
  112563. _0_6 = null;
  112564. _0_5 = null;
  112565. t1 = false;
  112566. }
  112567. if (t1) {
  112568. t1 = "no units";
  112569. break $label0$0;
  112570. }
  112571. if (_0_4) {
  112572. t1 = _0_6;
  112573. _0_9 = t1 === 1;
  112574. t1 = _0_9;
  112575. } else
  112576. t1 = false;
  112577. if (t1) {
  112578. _0_10 = J.$index$asx(_0_4 ? _0_5 : denominators, 0);
  112579. denominator = _0_10;
  112580. t1 = denominator + "^-1";
  112581. break $label0$0;
  112582. }
  112583. if (_0_4) {
  112584. t1 = "(" + J.join$1$ax(denominators, "*") + ")^-1";
  112585. break $label0$0;
  112586. }
  112587. _0_6 = J.get$length$asx(denominators);
  112588. t1 = _0_6;
  112589. _0_5 = denominators;
  112590. _0_7 = t1 <= 0;
  112591. t1 = _0_7;
  112592. if (t1) {
  112593. t1 = J.join$1$ax(numerators, "*");
  112594. break $label0$0;
  112595. }
  112596. t1 = _0_6;
  112597. _0_9 = t1 === 1;
  112598. t1 = _0_9;
  112599. if (t1) {
  112600. _0_10 = J.$index$asx(_0_5, 0);
  112601. denominator = _0_10;
  112602. t1 = J.join$1$ax(numerators, "*") + "/" + denominator;
  112603. break $label0$0;
  112604. }
  112605. t1 = J.join$1$ax(numerators, "*") + "/(" + J.join$1$ax(denominators, "*") + ")";
  112606. break $label0$0;
  112607. }
  112608. return t1;
  112609. },
  112610. $eq(_, other) {
  112611. var _this = this;
  112612. if (other == null)
  112613. return false;
  112614. if (!(other instanceof A.SassNumber0))
  112615. return false;
  112616. if (_this.get$numeratorUnits(_this).length !== other.get$numeratorUnits(other).length || _this.get$denominatorUnits(_this).length !== other.get$denominatorUnits(other).length)
  112617. return false;
  112618. if (!_this.get$hasUnits())
  112619. return A.fuzzyEquals0(_this._number1$_value, other._number1$_value);
  112620. 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))))
  112621. return false;
  112622. 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)));
  112623. },
  112624. get$hashCode(_) {
  112625. var _this = this,
  112626. t1 = _this.hashCache;
  112627. 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;
  112628. },
  112629. _number1$_canonicalizeUnitList$1(units) {
  112630. var type,
  112631. t1 = units.length;
  112632. if (t1 === 0)
  112633. return units;
  112634. if (t1 === 1) {
  112635. type = $.$get$_typesByUnit0().$index(0, B.JSArray_methods.get$first(units));
  112636. if (type == null)
  112637. t1 = units;
  112638. else {
  112639. t1 = B.Map_Sr65K.$index(0, type);
  112640. t1.toString;
  112641. t1 = A._setArrayType([B.JSArray_methods.get$first(t1)], type$.JSArray_String);
  112642. }
  112643. return t1;
  112644. }
  112645. t1 = A._arrayInstanceType(units)._eval$1("MappedListIterable<1,String>");
  112646. t1 = A.List_List$_of(new A.MappedListIterable(units, new A.SassNumber__canonicalizeUnitList_closure0(), t1), t1._eval$1("ListIterable.E"));
  112647. B.JSArray_methods.sort$0(t1);
  112648. return t1;
  112649. },
  112650. _number1$_canonicalMultiplier$1(units) {
  112651. return B.JSArray_methods.fold$2(units, 1, new A.SassNumber__canonicalMultiplier_closure0(this));
  112652. },
  112653. canonicalMultiplierForUnit$1(unit) {
  112654. var t1,
  112655. innerMap = B.Map_NtHoP.$index(0, unit);
  112656. if (innerMap == null)
  112657. t1 = 1;
  112658. else {
  112659. t1 = innerMap.get$values(innerMap);
  112660. t1 = 1 / t1.get$first(t1);
  112661. }
  112662. return t1;
  112663. },
  112664. unitSuggestion$2($name, unit) {
  112665. var t2, t3, result, _this = this,
  112666. t1 = _this.get$denominatorUnits(_this);
  112667. t1 = new A.MappedListIterable(t1, new A.SassNumber_unitSuggestion_closure1(), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,String>")).join$0(0);
  112668. t2 = _this.get$numeratorUnits(_this);
  112669. t2 = new A.MappedListIterable(t2, new A.SassNumber_unitSuggestion_closure2(), A._arrayInstanceType(t2)._eval$1("MappedListIterable<1,String>")).join$0(0);
  112670. t3 = unit == null ? "" : " * 1" + unit;
  112671. result = "$" + $name + t1 + t2 + t3;
  112672. return _this.get$numeratorUnits(_this).length === 0 ? result : "calc(" + result + ")";
  112673. },
  112674. unitSuggestion$1($name) {
  112675. return this.unitSuggestion$2($name, null);
  112676. }
  112677. };
  112678. A.SassNumber__coerceOrConvertValue_compatibilityException0.prototype = {
  112679. call$0() {
  112680. var t2, t3, message, t4, type, unit, _this = this,
  112681. t1 = _this.other;
  112682. if (t1 != null) {
  112683. t2 = _this.$this;
  112684. t3 = t2.toString$0(0) + " and";
  112685. message = new A.StringBuffer(t3);
  112686. t4 = _this.otherName;
  112687. if (t4 != null)
  112688. t3 = message._contents = t3 + (" $" + t4 + ":");
  112689. t1 = t3 + (" " + t1.toString$0(0) + " have incompatible units");
  112690. message._contents = t1;
  112691. if (!t2.get$hasUnits() || !_this.otherHasUnits)
  112692. message._contents = t1 + " (one has units and the other doesn't)";
  112693. t1 = message.toString$0(0) + ".";
  112694. t2 = _this.name;
  112695. return new A.SassScriptException0(t2 == null ? t1 : "$" + t2 + ": " + t1);
  112696. } else if (!_this.otherHasUnits) {
  112697. t1 = "Expected " + _this.$this.toString$0(0) + " to have no units.";
  112698. t2 = _this.name;
  112699. return new A.SassScriptException0(t2 == null ? t1 : "$" + t2 + ": " + t1);
  112700. } else {
  112701. t1 = _this.newNumerators;
  112702. t2 = J.getInterceptor$asx(t1);
  112703. if (t2.get$length(t1) === 1 && J.get$isEmpty$asx(_this.newDenominators)) {
  112704. type = $.$get$_typesByUnit0().$index(0, t2.get$first(t1));
  112705. if (type != null) {
  112706. t1 = _this.$this.toString$0(0);
  112707. t2 = B.JSArray_methods.contains$1(A._setArrayType([97, 101, 105, 111, 117], type$.JSArray_int), type.charCodeAt(0)) ? "an " + type : "a " + type;
  112708. t3 = B.Map_Sr65K.$index(0, type);
  112709. t3.toString;
  112710. t3 = "Expected " + t1 + " to have " + t2 + " unit (" + B.JSArray_methods.join$1(t3, ", ") + ").";
  112711. t2 = _this.name;
  112712. return new A.SassScriptException0(t2 == null ? t3 : "$" + t2 + ": " + t3);
  112713. }
  112714. }
  112715. t3 = _this.newDenominators;
  112716. unit = A.pluralize0("unit", t2.get$length(t1) + J.get$length$asx(t3), null);
  112717. t2 = _this.$this;
  112718. t3 = "Expected " + t2.toString$0(0) + " to have " + unit + " " + t2._number1$_unitString$2(t1, t3) + ".";
  112719. t1 = _this.name;
  112720. return new A.SassScriptException0(t1 == null ? t3 : "$" + t1 + ": " + t3);
  112721. }
  112722. },
  112723. $signature: 548
  112724. };
  112725. A.SassNumber__coerceOrConvertValue_closure3.prototype = {
  112726. call$1(oldNumerator) {
  112727. var factor = A.conversionFactor0(this.newNumerator, oldNumerator);
  112728. if (factor == null)
  112729. return false;
  112730. this._box_0.value *= factor;
  112731. return true;
  112732. },
  112733. $signature: 5
  112734. };
  112735. A.SassNumber__coerceOrConvertValue_closure4.prototype = {
  112736. call$0() {
  112737. return A.throwExpression(this.compatibilityException.call$0());
  112738. },
  112739. $signature: 0
  112740. };
  112741. A.SassNumber__coerceOrConvertValue_closure5.prototype = {
  112742. call$1(oldDenominator) {
  112743. var factor = A.conversionFactor0(this.newDenominator, oldDenominator);
  112744. if (factor == null)
  112745. return false;
  112746. this._box_0.value /= factor;
  112747. return true;
  112748. },
  112749. $signature: 5
  112750. };
  112751. A.SassNumber__coerceOrConvertValue_closure6.prototype = {
  112752. call$0() {
  112753. return A.throwExpression(this.compatibilityException.call$0());
  112754. },
  112755. $signature: 0
  112756. };
  112757. A.SassNumber_plus_closure0.prototype = {
  112758. call$2(num1, num2) {
  112759. return num1 + num2;
  112760. },
  112761. $signature: 61
  112762. };
  112763. A.SassNumber_minus_closure0.prototype = {
  112764. call$2(num1, num2) {
  112765. return num1 - num2;
  112766. },
  112767. $signature: 61
  112768. };
  112769. A.SassNumber_multiplyUnits_closure3.prototype = {
  112770. call$1(denominator) {
  112771. var factor = A.conversionFactor0(this.numerator, denominator);
  112772. if (factor == null)
  112773. return false;
  112774. this._box_0.value /= factor;
  112775. return true;
  112776. },
  112777. $signature: 5
  112778. };
  112779. A.SassNumber_multiplyUnits_closure4.prototype = {
  112780. call$0() {
  112781. return this.newNumerators.push(this.numerator);
  112782. },
  112783. $signature: 0
  112784. };
  112785. A.SassNumber_multiplyUnits_closure5.prototype = {
  112786. call$1(denominator) {
  112787. var factor = A.conversionFactor0(this.numerator, denominator);
  112788. if (factor == null)
  112789. return false;
  112790. this._box_0.value /= factor;
  112791. return true;
  112792. },
  112793. $signature: 5
  112794. };
  112795. A.SassNumber_multiplyUnits_closure6.prototype = {
  112796. call$0() {
  112797. return this.newNumerators.push(this.numerator);
  112798. },
  112799. $signature: 0
  112800. };
  112801. A.SassNumber__areAnyConvertible_closure0.prototype = {
  112802. call$1(unit1) {
  112803. var t1,
  112804. _0_0 = B.Map_NtHoP.$index(0, unit1);
  112805. $label0$0: {
  112806. if (_0_0 != null) {
  112807. t1 = B.JSArray_methods.any$1(this.units2, _0_0.get$containsKey());
  112808. break $label0$0;
  112809. }
  112810. t1 = B.JSArray_methods.contains$1(this.units2, unit1);
  112811. break $label0$0;
  112812. }
  112813. return t1;
  112814. },
  112815. $signature: 5
  112816. };
  112817. A.SassNumber__canonicalizeUnitList_closure0.prototype = {
  112818. call$1(unit) {
  112819. var t1,
  112820. type = $.$get$_typesByUnit0().$index(0, unit);
  112821. if (type == null)
  112822. t1 = unit;
  112823. else {
  112824. t1 = B.Map_Sr65K.$index(0, type);
  112825. t1.toString;
  112826. t1 = B.JSArray_methods.get$first(t1);
  112827. }
  112828. return t1;
  112829. },
  112830. $signature: 6
  112831. };
  112832. A.SassNumber__canonicalMultiplier_closure0.prototype = {
  112833. call$2(multiplier, unit) {
  112834. return multiplier * this.$this.canonicalMultiplierForUnit$1(unit);
  112835. },
  112836. $signature: 165
  112837. };
  112838. A.SassNumber_unitSuggestion_closure1.prototype = {
  112839. call$1(unit) {
  112840. return " * 1" + unit;
  112841. },
  112842. $signature: 6
  112843. };
  112844. A.SassNumber_unitSuggestion_closure2.prototype = {
  112845. call$1(unit) {
  112846. return " / 1" + unit;
  112847. },
  112848. $signature: 6
  112849. };
  112850. A.OklabColorSpace0.prototype = {
  112851. get$isBoundedInternal() {
  112852. return false;
  112853. },
  112854. convert$7$missingChroma$missingHue(dest, lightness, a, b, alpha, missingChroma, missingHue) {
  112855. var missingLightness, missingA, missingB, t1;
  112856. if (dest === B.OklchColorSpace_9Gj0)
  112857. return A.labToLch0(dest, lightness, a, b, alpha, missingChroma, missingHue);
  112858. missingLightness = lightness == null;
  112859. missingA = a == null;
  112860. missingB = b == null;
  112861. if (missingLightness)
  112862. lightness = 0;
  112863. if (missingA)
  112864. a = 0;
  112865. if (missingB)
  112866. b = 0;
  112867. t1 = $.$get$oklabToLms0();
  112868. 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);
  112869. },
  112870. convert$5(dest, lightness, a, b, alpha) {
  112871. return this.convert$7$missingChroma$missingHue(dest, lightness, a, b, alpha, false, false);
  112872. }
  112873. };
  112874. A.OklchColorSpace0.prototype = {
  112875. get$isBoundedInternal() {
  112876. return false;
  112877. },
  112878. get$isPolarInternal() {
  112879. return true;
  112880. },
  112881. convert$5(dest, lightness, chroma, hue, alpha) {
  112882. var t1 = hue == null,
  112883. hueRadians = (t1 ? 0 : hue) * 3.141592653589793 / 180,
  112884. t2 = chroma == null,
  112885. t3 = t2 ? 0 : chroma,
  112886. t4 = Math.cos(hueRadians),
  112887. t5 = t2 ? 0 : chroma;
  112888. return B.OklabColorSpace_5400.convert$7$missingChroma$missingHue(dest, lightness, t3 * t4, t5 * Math.sin(hueRadians), alpha, t2, t1);
  112889. }
  112890. };
  112891. A.SupportsOperation0.prototype = {
  112892. toInterpolation$0() {
  112893. var t1 = new A.StringBuffer(""),
  112894. t2 = new A.InterpolationBuffer0(t1, A._setArrayType([], type$.JSArray_Object), A._setArrayType([], type$.JSArray_nullable_FileSpan)),
  112895. t3 = this.span,
  112896. t4 = this.left,
  112897. t5 = A.SpanExtensions_before(t3, t4.get$span(t4));
  112898. t5 = A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t5.file._decodedChars, t5._file$_start, t5._end), 0, null);
  112899. t1._contents += t5;
  112900. t2.addInterpolation$1(t4.toInterpolation$0());
  112901. t5 = this.right;
  112902. t4 = A.SpanExtensions_between(t4.get$span(t4), t5.get$span(t5));
  112903. t4 = A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t4.file._decodedChars, t4._file$_start, t4._end), 0, null);
  112904. t1._contents += t4;
  112905. t2.addInterpolation$1(t5.toInterpolation$0());
  112906. t5 = A.SpanExtensions_after(t3, t5.get$span(t5));
  112907. t5 = A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t5.file._decodedChars, t5._file$_start, t5._end), 0, null);
  112908. t1._contents += t5;
  112909. return t2.interpolation$1(t3);
  112910. },
  112911. withSpan$1(span) {
  112912. return A.SupportsOperation$0(this.left, this.right, this.operator, span);
  112913. },
  112914. toString$0(_) {
  112915. var _this = this;
  112916. return _this._operation$_parenthesize$1(_this.left) + " " + _this.operator + " " + _this._operation$_parenthesize$1(_this.right);
  112917. },
  112918. _operation$_parenthesize$1(condition) {
  112919. var t1;
  112920. if (!(condition instanceof A.SupportsNegation0))
  112921. t1 = condition instanceof A.SupportsOperation0 && condition.operator === this.operator;
  112922. else
  112923. t1 = true;
  112924. return t1 ? "(" + condition.toString$0(0) + ")" : condition.toString$0(0);
  112925. },
  112926. $isAstNode0: 1,
  112927. $isSassNode: 1,
  112928. $isSupportsCondition: 1,
  112929. get$span(receiver) {
  112930. return this.span;
  112931. }
  112932. };
  112933. A.Parameter0.prototype = {
  112934. toString$0(_) {
  112935. var t1 = this.defaultValue,
  112936. t2 = this.name;
  112937. return t1 == null ? t2 : t2 + ": " + t1.toString$0(0);
  112938. },
  112939. $isAstNode0: 1,
  112940. $isSassNode: 1,
  112941. get$span(receiver) {
  112942. return this.span;
  112943. }
  112944. };
  112945. A.ParameterList0.prototype = {
  112946. get$spanWithName() {
  112947. var t3, t4,
  112948. t1 = this.span,
  112949. t2 = t1.file,
  112950. text = A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t2._decodedChars, 0, null), 0, null),
  112951. i = A.FileLocation$_(t2, t1._file$_start).offset - 1;
  112952. while (true) {
  112953. if (i > 0) {
  112954. t3 = text.charCodeAt(i);
  112955. t3 = t3 === 32 || t3 === 9 || t3 === 10 || t3 === 13 || t3 === 12;
  112956. } else
  112957. t3 = false;
  112958. if (!t3)
  112959. break;
  112960. --i;
  112961. }
  112962. t3 = text.charCodeAt(i);
  112963. if (!(t3 === 95 || A.CharacterExtension_get_isAlphabetic0(t3) || t3 >= 128))
  112964. t3 = t3 >= 48 && t3 <= 57 || t3 === 45;
  112965. else
  112966. t3 = true;
  112967. if (!t3)
  112968. return t1;
  112969. --i;
  112970. while (true) {
  112971. if (i >= 0) {
  112972. t3 = text.charCodeAt(i);
  112973. if (t3 !== 95) {
  112974. if (!(t3 >= 97 && t3 <= 122))
  112975. t4 = t3 >= 65 && t3 <= 90;
  112976. else
  112977. t4 = true;
  112978. t4 = t4 || t3 >= 128;
  112979. } else
  112980. t4 = true;
  112981. if (!t4)
  112982. t3 = t3 >= 48 && t3 <= 57 || t3 === 45;
  112983. else
  112984. t3 = true;
  112985. } else
  112986. t3 = false;
  112987. if (!t3)
  112988. break;
  112989. --i;
  112990. }
  112991. t3 = i + 1;
  112992. t4 = text.charCodeAt(t3);
  112993. if (!(t4 === 95 || A.CharacterExtension_get_isAlphabetic0(t4) || t4 >= 128))
  112994. return t1;
  112995. return A.SpanExtensions_trimRight0(A.SpanExtensions_trimLeft0(t2.span$2(0, t3, A.FileLocation$_(t2, t1._end).offset)));
  112996. },
  112997. verify$2(positional, names) {
  112998. var t1, t2, t3, namedUsed, i, parameter, t4, unknownNames, _this = this,
  112999. _s10_ = "invocation";
  113000. for (t1 = _this.parameters, t2 = t1.length, t3 = names._baseMap, namedUsed = 0, i = 0; i < t2; ++i) {
  113001. parameter = t1[i];
  113002. if (i < positional) {
  113003. t4 = parameter.name;
  113004. if (t3.containsKey$1(t4))
  113005. throw A.wrapException(A.SassScriptException$0("Argument " + _this._parameter_list$_originalParameterName$1(t4) + string$.x20was_p, null));
  113006. } else {
  113007. t4 = parameter.name;
  113008. if (t3.containsKey$1(t4))
  113009. ++namedUsed;
  113010. else if (parameter.defaultValue == null)
  113011. 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)));
  113012. }
  113013. }
  113014. if (_this.restParameter != null)
  113015. return;
  113016. if (positional > t2) {
  113017. t1 = names.get$isEmpty(0) ? "" : "positional ";
  113018. 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)));
  113019. }
  113020. if (namedUsed < t3.get$length(t3)) {
  113021. t2 = type$.String;
  113022. unknownNames = A.LinkedHashSet_LinkedHashSet$of(names, t2);
  113023. unknownNames.removeAll$1(new A.MappedListIterable(t1, new A.ParameterList_verify_closure1(), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,Object?>")));
  113024. 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)));
  113025. }
  113026. },
  113027. _parameter_list$_originalParameterName$1($name) {
  113028. var t1, text, t2, _i, parameter, t3, end;
  113029. if ($name === this.restParameter) {
  113030. t1 = this.span;
  113031. text = A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t1.file._decodedChars, t1._file$_start, t1._end), 0, null);
  113032. 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, "."));
  113033. }
  113034. for (t1 = this.parameters, t2 = t1.length, _i = 0; _i < t2; ++_i) {
  113035. parameter = t1[_i];
  113036. if (parameter.name === $name) {
  113037. t1 = parameter.span;
  113038. if (parameter.defaultValue == null) {
  113039. t2 = t1._file$_start;
  113040. t3 = t1.file._decodedChars;
  113041. t3 = A.String_String$fromCharCodes(new Uint32Array(t3.subarray(t2, A._checkValidRange(t2, t1._end, t3.length))), 0, null);
  113042. t1 = t3;
  113043. } else {
  113044. text = t1.get$text();
  113045. t1 = B.JSString_methods.substring$2(text, 0, B.JSString_methods.indexOf$1(text, ":"));
  113046. end = A._lastNonWhitespace0(t1, false);
  113047. t1 = end == null ? "" : B.JSString_methods.substring$2(t1, 0, end + 1);
  113048. }
  113049. return t1;
  113050. }
  113051. }
  113052. throw A.wrapException(A.ArgumentError$(string$.This_d + $name + '".', null));
  113053. },
  113054. matches$2(positional, names) {
  113055. var t1, t2, t3, namedUsed, i, parameter;
  113056. for (t1 = this.parameters, t2 = t1.length, t3 = names._baseMap, namedUsed = 0, i = 0; i < t2; ++i) {
  113057. parameter = t1[i];
  113058. if (i < positional) {
  113059. if (t3.containsKey$1(parameter.name))
  113060. return false;
  113061. } else if (t3.containsKey$1(parameter.name))
  113062. ++namedUsed;
  113063. else if (parameter.defaultValue == null)
  113064. return false;
  113065. }
  113066. if (this.restParameter != null)
  113067. return true;
  113068. if (positional > t2)
  113069. return false;
  113070. if (namedUsed < t3.get$length(t3))
  113071. return false;
  113072. return true;
  113073. },
  113074. toString$0(_) {
  113075. var t2, t3, _i,
  113076. t1 = A._setArrayType([], type$.JSArray_String);
  113077. for (t2 = this.parameters, t3 = t2.length, _i = 0; _i < t3; ++_i)
  113078. t1.push("$" + t2[_i].toString$0(0));
  113079. t2 = this.restParameter;
  113080. if (t2 != null)
  113081. t1.push("$" + t2 + "...");
  113082. return B.JSArray_methods.join$1(t1, ", ");
  113083. },
  113084. $isAstNode0: 1,
  113085. $isSassNode: 1,
  113086. get$span(receiver) {
  113087. return this.span;
  113088. }
  113089. };
  113090. A.ParameterList_verify_closure1.prototype = {
  113091. call$1(parameter) {
  113092. return parameter.name;
  113093. },
  113094. $signature: 549
  113095. };
  113096. A.ParameterList_verify_closure2.prototype = {
  113097. call$1($name) {
  113098. return "$" + $name;
  113099. },
  113100. $signature: 6
  113101. };
  113102. A.ParentSelector0.prototype = {
  113103. accept$1$1(visitor) {
  113104. return visitor.visitParentSelector$1(this);
  113105. },
  113106. accept$1(visitor) {
  113107. return this.accept$1$1(visitor, type$.dynamic);
  113108. },
  113109. unify$1(compound) {
  113110. return A.throwExpression(A.UnsupportedError$("& doesn't support unification."));
  113111. }
  113112. };
  113113. A.ParentStatement0.prototype = {};
  113114. A.ParentStatement_closure0.prototype = {
  113115. call$1(child) {
  113116. var t1;
  113117. $label0$0: {
  113118. if (child instanceof A.VariableDeclaration0 || child instanceof A.FunctionRule0 || child instanceof A.MixinRule0) {
  113119. t1 = true;
  113120. break $label0$0;
  113121. }
  113122. if (child instanceof A.ImportRule0) {
  113123. t1 = B.JSArray_methods.any$1(child.imports, new A.ParentStatement__closure0());
  113124. break $label0$0;
  113125. }
  113126. t1 = false;
  113127. break $label0$0;
  113128. }
  113129. return t1;
  113130. },
  113131. $signature: 246
  113132. };
  113133. A.ParentStatement__closure0.prototype = {
  113134. call$1($import) {
  113135. return $import instanceof A.DynamicImport0;
  113136. },
  113137. $signature: 247
  113138. };
  113139. A.ParenthesizedExpression0.prototype = {
  113140. accept$1$1(visitor) {
  113141. return visitor.visitParenthesizedExpression$1(0, this);
  113142. },
  113143. accept$1(visitor) {
  113144. return this.accept$1$1(visitor, type$.dynamic);
  113145. },
  113146. toString$0(_) {
  113147. return "(" + this.expression.toString$0(0) + ")";
  113148. },
  113149. get$span(receiver) {
  113150. return this.span;
  113151. }
  113152. };
  113153. A.ParserExports.prototype = {};
  113154. A.loadParserExports_closure.prototype = {
  113155. call$1(inner) {
  113156. return new A.JSExpressionVisitor(inner);
  113157. },
  113158. $signature: 550
  113159. };
  113160. A.loadParserExports_closure0.prototype = {
  113161. call$1(inner) {
  113162. return new A.JSStatementVisitor(inner);
  113163. },
  113164. $signature: 551
  113165. };
  113166. A.loadParserExports_closure1.prototype = {
  113167. call$1(set) {
  113168. var t1 = A.List_List$_of(set, type$.nullable_Object);
  113169. return new self.Set(t1);
  113170. },
  113171. $signature: 552
  113172. };
  113173. A._updateAstPrototypes_closure.prototype = {
  113174. call$3($self, start, end) {
  113175. return A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2($self._decodedChars, start, end), 0, null);
  113176. },
  113177. call$2($self, start) {
  113178. return this.call$3($self, start, null);
  113179. },
  113180. "call*": "call$3",
  113181. $requiredArgCount: 2,
  113182. $defaultValues() {
  113183. return [null];
  113184. },
  113185. $signature: 553
  113186. };
  113187. A._updateAstPrototypes_closure0.prototype = {
  113188. call$1($self) {
  113189. return $self._decodedChars;
  113190. },
  113191. $signature: 554
  113192. };
  113193. A._updateAstPrototypes_closure1.prototype = {
  113194. call$1($self) {
  113195. return $self.get$asPlain();
  113196. },
  113197. $signature: 555
  113198. };
  113199. A._updateAstPrototypes_closure2.prototype = {
  113200. call$2($self, visitor) {
  113201. return $self.accept$1(visitor);
  113202. },
  113203. $signature: 556
  113204. };
  113205. A._updateAstPrototypes_closure3.prototype = {
  113206. call$2($self, visitor) {
  113207. return $self.accept$1(visitor);
  113208. },
  113209. $signature: 557
  113210. };
  113211. A._updateAstPrototypes_closure4.prototype = {
  113212. call$1($self) {
  113213. return $self.$arguments;
  113214. },
  113215. $signature: 558
  113216. };
  113217. A._updateAstPrototypes_closure5.prototype = {
  113218. call$1($self) {
  113219. return $self.$arguments;
  113220. },
  113221. $signature: 559
  113222. };
  113223. A._updateAstPrototypes_closure6.prototype = {
  113224. call$1($self) {
  113225. return $self.$arguments;
  113226. },
  113227. $signature: 560
  113228. };
  113229. A._updateAstPrototypes_closure7.prototype = {
  113230. call$1($self) {
  113231. return $self.$arguments;
  113232. },
  113233. $signature: 561
  113234. };
  113235. A._updateAstPrototypes_closure8.prototype = {
  113236. call$1($self) {
  113237. return $self.$arguments;
  113238. },
  113239. $signature: 562
  113240. };
  113241. A._updateAstPrototypes_closure9.prototype = {
  113242. call$1($self) {
  113243. return $self.get$span($self);
  113244. },
  113245. $signature: 563
  113246. };
  113247. A._addSupportsConditionToInterpolation_closure.prototype = {
  113248. call$1($self) {
  113249. return $self.toInterpolation$0();
  113250. },
  113251. $signature: 564
  113252. };
  113253. A.Parser1.prototype = {
  113254. _parser1$_parseIdentifier$0() {
  113255. return this.wrapSpanFormatException$1(new A.Parser__parseIdentifier_closure0(this));
  113256. },
  113257. whitespace$1$consumeNewlines(consumeNewlines) {
  113258. do
  113259. this.whitespaceWithoutComments$1$consumeNewlines(consumeNewlines);
  113260. while (this.scanComment$0());
  113261. },
  113262. whitespaceWithoutComments$1$consumeNewlines(consumeNewlines) {
  113263. var t3,
  113264. t1 = this.scanner,
  113265. t2 = t1.string.length;
  113266. while (true) {
  113267. if (t1._string_scanner$_position !== t2) {
  113268. t3 = t1.peekChar$0();
  113269. t3 = t3 === 32 || t3 === 9 || t3 === 10 || t3 === 13 || t3 === 12;
  113270. } else
  113271. t3 = false;
  113272. if (!t3)
  113273. break;
  113274. t1.readChar$0();
  113275. }
  113276. },
  113277. spaces$0() {
  113278. var t3,
  113279. t1 = this.scanner,
  113280. t2 = t1.string.length;
  113281. while (true) {
  113282. if (t1._string_scanner$_position !== t2) {
  113283. t3 = t1.peekChar$0();
  113284. t3 = t3 === 32 || t3 === 9;
  113285. } else
  113286. t3 = false;
  113287. if (!t3)
  113288. break;
  113289. t1.readChar$0();
  113290. }
  113291. },
  113292. scanComment$0() {
  113293. var _0_0,
  113294. t1 = this.scanner;
  113295. if (t1.peekChar$0() !== 47)
  113296. return false;
  113297. _0_0 = t1.peekChar$1(1);
  113298. if (47 === _0_0)
  113299. return this.silentComment$0();
  113300. if (42 === _0_0) {
  113301. this.loudComment$0();
  113302. return true;
  113303. }
  113304. return false;
  113305. },
  113306. expectWhitespace$1$consumeNewlines(consumeNewlines) {
  113307. var t2, t3,
  113308. t1 = this.scanner;
  113309. if (t1._string_scanner$_position !== t1.string.length) {
  113310. t2 = t1.peekChar$0();
  113311. t3 = !(t2 === 32 || t2 === 9 || t2 === 10 || t2 === 13 || t2 === 12 || this.scanComment$0());
  113312. t2 = t3;
  113313. } else
  113314. t2 = true;
  113315. if (t2)
  113316. t1.error$1(0, "Expected whitespace.");
  113317. this.whitespace$1$consumeNewlines(consumeNewlines);
  113318. },
  113319. expectWhitespace$0() {
  113320. return this.expectWhitespace$1$consumeNewlines(false);
  113321. },
  113322. silentComment$0() {
  113323. var t2, t3,
  113324. t1 = this.scanner;
  113325. t1.expect$1("//");
  113326. t2 = t1.string.length;
  113327. while (true) {
  113328. if (t1._string_scanner$_position !== t2) {
  113329. t3 = t1.peekChar$0();
  113330. t3 = !(t3 === 10 || t3 === 13 || t3 === 12);
  113331. } else
  113332. t3 = false;
  113333. if (!t3)
  113334. break;
  113335. t1.readChar$0();
  113336. }
  113337. return true;
  113338. },
  113339. loudComment$0() {
  113340. var next,
  113341. t1 = this.scanner;
  113342. t1.expect$1("/*");
  113343. for (; true;) {
  113344. if (t1.readChar$0() !== 42)
  113345. continue;
  113346. do
  113347. next = t1.readChar$0();
  113348. while (next === 42);
  113349. if (next === 47)
  113350. break;
  113351. }
  113352. },
  113353. identifier$2$normalize$unit(normalize, unit) {
  113354. var t2, _0_0, _this = this,
  113355. _s20_ = "Expected identifier.",
  113356. text = new A.StringBuffer(""),
  113357. t1 = _this.scanner;
  113358. if (t1.scanChar$1(45)) {
  113359. t2 = text._contents = "" + A.Primitives_stringFromCharCode(45);
  113360. if (t1.scanChar$1(45)) {
  113361. text._contents = t2 + A.Primitives_stringFromCharCode(45);
  113362. _this._parser1$_identifierBody$3$normalize$unit(text, normalize, unit);
  113363. t1 = text._contents;
  113364. return t1.charCodeAt(0) == 0 ? t1 : t1;
  113365. }
  113366. } else
  113367. t2 = "";
  113368. $label0$0: {
  113369. _0_0 = t1.peekChar$0();
  113370. if (_0_0 == null)
  113371. t1.error$1(0, _s20_);
  113372. if (95 === _0_0 && normalize) {
  113373. t1.readChar$0();
  113374. text._contents = t2 + A.Primitives_stringFromCharCode(45);
  113375. break $label0$0;
  113376. }
  113377. if (_0_0 === 95 || A.CharacterExtension_get_isAlphabetic0(_0_0) || _0_0 >= 128) {
  113378. text._contents = t2 + A.Primitives_stringFromCharCode(t1.readChar$0());
  113379. break $label0$0;
  113380. }
  113381. if (92 === _0_0) {
  113382. text._contents = t2 + _this.escape$1$identifierStart(true);
  113383. break $label0$0;
  113384. }
  113385. t1.error$1(0, _s20_);
  113386. }
  113387. _this._parser1$_identifierBody$3$normalize$unit(text, normalize, unit);
  113388. t1 = text._contents;
  113389. return t1.charCodeAt(0) == 0 ? t1 : t1;
  113390. },
  113391. identifier$0() {
  113392. return this.identifier$2$normalize$unit(false, false);
  113393. },
  113394. identifier$1$normalize(normalize) {
  113395. return this.identifier$2$normalize$unit(normalize, false);
  113396. },
  113397. identifier$1$unit(unit) {
  113398. return this.identifier$2$normalize$unit(false, unit);
  113399. },
  113400. _parser1$_identifierBody$3$normalize$unit(text, normalize, unit) {
  113401. var t1, _1_0, _0_0, t2;
  113402. for (t1 = this.scanner; true;) {
  113403. _1_0 = t1.peekChar$0();
  113404. if (_1_0 == null)
  113405. break;
  113406. if (45 === _1_0 && unit) {
  113407. _0_0 = t1.peekChar$1(1);
  113408. if (46 !== _0_0)
  113409. t2 = A._isInt(_0_0) && _0_0 >= 48 && _0_0 <= 57;
  113410. else
  113411. t2 = true;
  113412. if (t2)
  113413. break;
  113414. t2 = A.Primitives_stringFromCharCode(t1.readChar$0());
  113415. text._contents += t2;
  113416. continue;
  113417. }
  113418. if (95 === _1_0 && normalize) {
  113419. t1.readChar$0();
  113420. t2 = A.Primitives_stringFromCharCode(45);
  113421. text._contents += t2;
  113422. continue;
  113423. }
  113424. if (_1_0 !== 95) {
  113425. if (!(_1_0 >= 97 && _1_0 <= 122))
  113426. t2 = _1_0 >= 65 && _1_0 <= 90;
  113427. else
  113428. t2 = true;
  113429. t2 = t2 || _1_0 >= 128;
  113430. } else
  113431. t2 = true;
  113432. if (!t2)
  113433. t2 = _1_0 >= 48 && _1_0 <= 57 || _1_0 === 45;
  113434. else
  113435. t2 = true;
  113436. if (t2) {
  113437. t2 = A.Primitives_stringFromCharCode(t1.readChar$0());
  113438. text._contents += t2;
  113439. continue;
  113440. }
  113441. if (92 === _1_0) {
  113442. t2 = this.escape$0();
  113443. text._contents += t2;
  113444. continue;
  113445. }
  113446. break;
  113447. }
  113448. },
  113449. _parser1$_identifierBody$1(text) {
  113450. return this._parser1$_identifierBody$3$normalize$unit(text, false, false);
  113451. },
  113452. string$0() {
  113453. var buffer, _0_0, t2,
  113454. t1 = this.scanner,
  113455. quote = t1.readChar$0();
  113456. if (quote !== 39 && quote !== 34)
  113457. t1.error$2$position(0, "Expected string.", t1._string_scanner$_position - 1);
  113458. buffer = new A.StringBuffer("");
  113459. for (; true;) {
  113460. _0_0 = t1.peekChar$0();
  113461. if (_0_0 === quote) {
  113462. t1.readChar$0();
  113463. break;
  113464. }
  113465. if (_0_0 == null || _0_0 === 10 || _0_0 === 13 || _0_0 === 12)
  113466. t1.error$1(0, "Expected " + A.Primitives_stringFromCharCode(quote) + ".");
  113467. if (92 === _0_0) {
  113468. t2 = t1.peekChar$1(1);
  113469. if (t2 === 10 || t2 === 13 || t2 === 12) {
  113470. t1.readChar$0();
  113471. t1.readChar$0();
  113472. } else {
  113473. t2 = A.Primitives_stringFromCharCode(A.consumeEscapedCharacter0(t1));
  113474. buffer._contents += t2;
  113475. }
  113476. continue;
  113477. }
  113478. t2 = A.Primitives_stringFromCharCode(t1.readChar$0());
  113479. buffer._contents += t2;
  113480. }
  113481. t1 = buffer._contents;
  113482. return t1.charCodeAt(0) == 0 ? t1 : t1;
  113483. },
  113484. declarationValue$1$allowEmpty(allowEmpty) {
  113485. var t1, t2, t3, wroteNewline, next, wroteNewline0, t4, start, end, _0_0, _this = this,
  113486. buffer = new A.StringBuffer(""),
  113487. brackets = A._setArrayType([], type$.JSArray_int);
  113488. for (t1 = _this.scanner, t2 = _this.get$loudComment(), t3 = _this.get$string(), wroteNewline = false; true;) {
  113489. next = t1.peekChar$0();
  113490. if (next == null)
  113491. break;
  113492. wroteNewline0 = false;
  113493. if (92 === next) {
  113494. t4 = _this.escape$1$identifierStart(true);
  113495. buffer._contents += t4;
  113496. wroteNewline = wroteNewline0;
  113497. continue;
  113498. }
  113499. if (34 === next || 39 === next) {
  113500. start = t1._string_scanner$_position;
  113501. t3.call$0();
  113502. end = t1._string_scanner$_position;
  113503. buffer._contents += B.JSString_methods.substring$2(t1.string, start, end);
  113504. wroteNewline = wroteNewline0;
  113505. continue;
  113506. }
  113507. if (47 === next) {
  113508. if (t1.peekChar$1(1) === 42) {
  113509. start = t1._string_scanner$_position;
  113510. t2.call$0();
  113511. end = t1._string_scanner$_position;
  113512. buffer._contents += B.JSString_methods.substring$2(t1.string, start, end);
  113513. } else {
  113514. t4 = A.Primitives_stringFromCharCode(t1.readChar$0());
  113515. buffer._contents += t4;
  113516. }
  113517. wroteNewline = wroteNewline0;
  113518. continue;
  113519. }
  113520. if (32 === next || 9 === next) {
  113521. if (!wroteNewline) {
  113522. t4 = t1.peekChar$1(1);
  113523. t4 = !(t4 === 32 || t4 === 9 || t4 === 10 || t4 === 13 || t4 === 12);
  113524. } else
  113525. t4 = true;
  113526. if (t4) {
  113527. t4 = A.Primitives_stringFromCharCode(32);
  113528. buffer._contents += t4;
  113529. }
  113530. t1.readChar$0();
  113531. continue;
  113532. }
  113533. if (10 === next || 13 === next || 12 === next) {
  113534. t4 = t1.peekChar$1(-1);
  113535. if (!(t4 === 10 || t4 === 13 || t4 === 12))
  113536. buffer._contents += "\n";
  113537. t1.readChar$0();
  113538. wroteNewline = true;
  113539. continue;
  113540. }
  113541. if (40 === next || 123 === next || 91 === next) {
  113542. t4 = A.Primitives_stringFromCharCode(next);
  113543. buffer._contents += t4;
  113544. brackets.push(A.opposite0(t1.readChar$0()));
  113545. wroteNewline = wroteNewline0;
  113546. continue;
  113547. }
  113548. if (41 === next || 125 === next || 93 === next) {
  113549. if (brackets.length === 0)
  113550. break;
  113551. t4 = A.Primitives_stringFromCharCode(next);
  113552. buffer._contents += t4;
  113553. t1.expectChar$1(brackets.pop());
  113554. wroteNewline = wroteNewline0;
  113555. continue;
  113556. }
  113557. if (59 === next) {
  113558. if (brackets.length === 0)
  113559. break;
  113560. t4 = A.Primitives_stringFromCharCode(t1.readChar$0());
  113561. buffer._contents += t4;
  113562. continue;
  113563. }
  113564. if (117 === next || 85 === next) {
  113565. _0_0 = _this.tryUrl$0();
  113566. if (_0_0 != null)
  113567. buffer._contents += _0_0;
  113568. else {
  113569. t4 = A.Primitives_stringFromCharCode(t1.readChar$0());
  113570. buffer._contents += t4;
  113571. }
  113572. wroteNewline = wroteNewline0;
  113573. continue;
  113574. }
  113575. if (_this.lookingAtIdentifier$0()) {
  113576. t4 = _this.identifier$0();
  113577. buffer._contents += t4;
  113578. } else {
  113579. t4 = A.Primitives_stringFromCharCode(t1.readChar$0());
  113580. buffer._contents += t4;
  113581. }
  113582. wroteNewline = wroteNewline0;
  113583. }
  113584. if (brackets.length !== 0)
  113585. t1.expectChar$1(B.JSArray_methods.get$last(brackets));
  113586. if (!allowEmpty && buffer._contents.length === 0)
  113587. t1.error$1(0, "Expected token.");
  113588. t1 = buffer._contents;
  113589. return t1.charCodeAt(0) == 0 ? t1 : t1;
  113590. },
  113591. declarationValue$0() {
  113592. return this.declarationValue$1$allowEmpty(false);
  113593. },
  113594. tryUrl$0() {
  113595. var buffer, _0_0, t2, _this = this,
  113596. t1 = _this.scanner,
  113597. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  113598. if (!_this.scanIdentifier$1("url"))
  113599. return null;
  113600. if (!t1.scanChar$1(40)) {
  113601. t1.set$state(start);
  113602. return null;
  113603. }
  113604. _this.whitespace$1$consumeNewlines(true);
  113605. buffer = new A.StringBuffer("");
  113606. buffer._contents = "" + "url(";
  113607. for (; true;) {
  113608. _0_0 = t1.peekChar$0();
  113609. if (_0_0 == null)
  113610. break;
  113611. if (92 === _0_0) {
  113612. t2 = _this.escape$0();
  113613. buffer._contents += t2;
  113614. continue;
  113615. }
  113616. t2 = true;
  113617. if (37 !== _0_0)
  113618. if (38 !== _0_0)
  113619. if (35 !== _0_0)
  113620. t2 = _0_0 >= 42 && _0_0 <= 126 || _0_0 >= 128;
  113621. if (t2) {
  113622. t2 = A.Primitives_stringFromCharCode(t1.readChar$0());
  113623. buffer._contents += t2;
  113624. continue;
  113625. }
  113626. if (_0_0 === 32 || _0_0 === 9 || _0_0 === 10 || _0_0 === 13 || _0_0 === 12) {
  113627. _this.whitespace$1$consumeNewlines(true);
  113628. if (t1.peekChar$0() !== 41)
  113629. break;
  113630. continue;
  113631. }
  113632. if (41 === _0_0) {
  113633. t2 = A.Primitives_stringFromCharCode(t1.readChar$0());
  113634. t2 = buffer._contents += t2;
  113635. return t2.charCodeAt(0) == 0 ? t2 : t2;
  113636. }
  113637. break;
  113638. }
  113639. t1.set$state(start);
  113640. return null;
  113641. },
  113642. variableName$0() {
  113643. this.scanner.expectChar$1(36);
  113644. return this.identifier$1$normalize(true);
  113645. },
  113646. escape$1$identifierStart(identifierStart) {
  113647. var value, _0_0, i, next, t2, exception,
  113648. _s25_ = "Expected escape sequence.",
  113649. t1 = this.scanner,
  113650. start = t1._string_scanner$_position;
  113651. t1.expectChar$1(92);
  113652. value = 0;
  113653. $label0$1: {
  113654. _0_0 = t1.peekChar$0();
  113655. if (_0_0 == null)
  113656. t1.error$1(0, _s25_);
  113657. if (_0_0 === 10 || _0_0 === 13 || _0_0 === 12)
  113658. t1.error$1(0, _s25_);
  113659. if (A.CharacterExtension_get_isHex0(_0_0)) {
  113660. for (i = 0; i < 6; ++i) {
  113661. next = t1.peekChar$0();
  113662. if (next != null) {
  113663. t2 = true;
  113664. if (!(next >= 48 && next <= 57))
  113665. if (!(next >= 97 && next <= 102))
  113666. t2 = next >= 65 && next <= 70;
  113667. t2 = !t2;
  113668. } else
  113669. t2 = true;
  113670. if (t2)
  113671. break;
  113672. value *= 16;
  113673. value += A.asHex0(t1.readChar$0());
  113674. }
  113675. this.scanCharIf$1(new A.Parser_escape_closure0());
  113676. break $label0$1;
  113677. }
  113678. value = t1.readChar$0();
  113679. }
  113680. if (identifierStart) {
  113681. t2 = value;
  113682. t2 = t2 === 95 || A.CharacterExtension_get_isAlphabetic0(t2) || t2 >= 128;
  113683. } else {
  113684. t2 = value;
  113685. if (!(t2 === 95 || A.CharacterExtension_get_isAlphabetic0(t2) || t2 >= 128))
  113686. t2 = t2 >= 48 && t2 <= 57 || t2 === 45;
  113687. else
  113688. t2 = true;
  113689. }
  113690. if (t2)
  113691. try {
  113692. t2 = A.Primitives_stringFromCharCode(value);
  113693. return t2;
  113694. } catch (exception) {
  113695. if (type$.RangeError._is(A.unwrapException(exception)))
  113696. t1.error$3$length$position(0, "Invalid Unicode code point.", t1._string_scanner$_position - start, start);
  113697. else
  113698. throw exception;
  113699. }
  113700. else {
  113701. t1 = true;
  113702. if (!(value <= 31))
  113703. if (!J.$eq$(value, 127))
  113704. if (identifierStart) {
  113705. t1 = value;
  113706. t1 = t1 >= 48 && t1 <= 57;
  113707. } else
  113708. t1 = false;
  113709. if (t1) {
  113710. t1 = "" + A.Primitives_stringFromCharCode(92);
  113711. if (value > 15)
  113712. t1 += A.Primitives_stringFromCharCode(A.hexCharFor0(B.JSNumber_methods._shrOtherPositive$1(value, 4)));
  113713. t1 = t1 + A.Primitives_stringFromCharCode(A.hexCharFor0(value & 15)) + A.Primitives_stringFromCharCode(32);
  113714. return t1.charCodeAt(0) == 0 ? t1 : t1;
  113715. } else
  113716. return A.String_String$fromCharCodes(A._setArrayType([92, value], type$.JSArray_int), 0, null);
  113717. }
  113718. },
  113719. escape$0() {
  113720. return this.escape$1$identifierStart(false);
  113721. },
  113722. scanCharIf$1(condition) {
  113723. var t1 = this.scanner;
  113724. if (!condition.call$1(t1.peekChar$0()))
  113725. return false;
  113726. t1.readChar$0();
  113727. return true;
  113728. },
  113729. scanIdentChar$2$caseSensitive(char, caseSensitive) {
  113730. var t3,
  113731. t1 = new A.Parser_scanIdentChar_matches0(caseSensitive, char),
  113732. t2 = this.scanner,
  113733. _0_0 = t2.peekChar$0();
  113734. if (_0_0 != null)
  113735. t3 = t1.call$1(_0_0);
  113736. else
  113737. t3 = false;
  113738. if (t3) {
  113739. t2.readChar$0();
  113740. return true;
  113741. }
  113742. if (92 === _0_0) {
  113743. t3 = t2._string_scanner$_position;
  113744. if (t1.call$1(A.consumeEscapedCharacter0(t2)))
  113745. return true;
  113746. t2.set$state(new A._SpanScannerState(t2, t3));
  113747. }
  113748. return false;
  113749. },
  113750. scanIdentChar$1(char) {
  113751. return this.scanIdentChar$2$caseSensitive(char, false);
  113752. },
  113753. expectIdentChar$1(letter) {
  113754. var t1;
  113755. if (this.scanIdentChar$2$caseSensitive(letter, false))
  113756. return;
  113757. t1 = this.scanner;
  113758. t1.error$2$position(0, 'Expected "' + A.Primitives_stringFromCharCode(letter) + '".', t1._string_scanner$_position);
  113759. },
  113760. lookingAtIdentifier$1($forward) {
  113761. var t1, _1_0, t2, _0_0;
  113762. if ($forward == null)
  113763. $forward = 0;
  113764. t1 = this.scanner;
  113765. _1_0 = t1.peekChar$1($forward);
  113766. $label0$0: {
  113767. if (A._isInt(_1_0))
  113768. t2 = _1_0 === 95 || A.CharacterExtension_get_isAlphabetic0(_1_0) || _1_0 >= 128;
  113769. else
  113770. t2 = false;
  113771. if (t2 || 92 === _1_0) {
  113772. t1 = true;
  113773. break $label0$0;
  113774. }
  113775. if (45 === _1_0) {
  113776. _0_0 = t1.peekChar$1($forward + 1);
  113777. $label1$1: {
  113778. if (A._isInt(_0_0))
  113779. t1 = _0_0 === 95 || A.CharacterExtension_get_isAlphabetic0(_0_0) || _0_0 >= 128;
  113780. else
  113781. t1 = false;
  113782. t1 = t1 || 92 === _0_0 || 45 === _0_0;
  113783. break $label1$1;
  113784. }
  113785. break $label0$0;
  113786. }
  113787. t1 = false;
  113788. break $label0$0;
  113789. }
  113790. return t1;
  113791. },
  113792. lookingAtIdentifier$0() {
  113793. return this.lookingAtIdentifier$1(null);
  113794. },
  113795. lookingAtIdentifierBody$0() {
  113796. var t1,
  113797. next = this.scanner.peekChar$0();
  113798. if (next != null) {
  113799. if (!(next === 95 || A.CharacterExtension_get_isAlphabetic0(next) || next >= 128))
  113800. t1 = next >= 48 && next <= 57 || next === 45;
  113801. else
  113802. t1 = true;
  113803. t1 = t1 || next === 92;
  113804. } else
  113805. t1 = false;
  113806. return t1;
  113807. },
  113808. scanIdentifier$2$caseSensitive(text, caseSensitive) {
  113809. var t1, t2, _this = this;
  113810. if (!_this.lookingAtIdentifier$0())
  113811. return false;
  113812. t1 = _this.scanner;
  113813. t2 = t1._string_scanner$_position;
  113814. if (_this._parser1$_consumeIdentifier$2(text, caseSensitive) && !_this.lookingAtIdentifierBody$0())
  113815. return true;
  113816. else {
  113817. t1.set$state(new A._SpanScannerState(t1, t2));
  113818. return false;
  113819. }
  113820. },
  113821. scanIdentifier$1(text) {
  113822. return this.scanIdentifier$2$caseSensitive(text, false);
  113823. },
  113824. _parser1$_consumeIdentifier$2(text, caseSensitive) {
  113825. var t1, t2, t3;
  113826. 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();) {
  113827. t3 = t1.__internal$_current;
  113828. if (!this.scanIdentChar$2$caseSensitive(t3 == null ? t2._as(t3) : t3, caseSensitive))
  113829. return false;
  113830. }
  113831. return true;
  113832. },
  113833. expectIdentifier$2$name(text, $name) {
  113834. var t1, start, t2, t3, t4, t5, t6;
  113835. if ($name == null)
  113836. $name = '"' + text + '"';
  113837. t1 = this.scanner;
  113838. start = t1._string_scanner$_position;
  113839. 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();) {
  113840. t6 = t2.__internal$_current;
  113841. if (this.scanIdentChar$2$caseSensitive(t6 == null ? t3._as(t6) : t6, false))
  113842. continue;
  113843. t1.error$2$position(0, t5, start);
  113844. }
  113845. if (!this.lookingAtIdentifierBody$0())
  113846. return;
  113847. t1.error$2$position(0, t4, start);
  113848. },
  113849. expectIdentifier$1(text) {
  113850. return this.expectIdentifier$2$name(text, null);
  113851. },
  113852. rawText$1(consumer) {
  113853. var t1 = this.scanner,
  113854. start = t1._string_scanner$_position;
  113855. consumer.call$0();
  113856. return t1.substring$1(0, start);
  113857. },
  113858. spanFrom$1(state) {
  113859. var span = this.scanner.spanFrom$1(state);
  113860. return this._parser1$_interpolationMap == null ? span : new A.LazyFileSpan0(new A.Parser_spanFrom_closure0(this, span));
  113861. },
  113862. error$3(_, message, span, trace) {
  113863. var exception = new A.StringScannerException(this.scanner.string, message, span);
  113864. if (trace == null)
  113865. throw A.wrapException(exception);
  113866. else
  113867. A.throwWithTrace0(exception, this.get$error(this), trace);
  113868. },
  113869. error$2(_, message, span) {
  113870. return this.error$3(0, message, span, null);
  113871. },
  113872. withErrorMessage$1$2(message, callback) {
  113873. var error, stackTrace, t1, exception;
  113874. try {
  113875. t1 = callback.call$0();
  113876. return t1;
  113877. } catch (exception) {
  113878. t1 = A.unwrapException(exception);
  113879. if (type$.SourceSpanFormatException._is(t1)) {
  113880. error = t1;
  113881. stackTrace = A.getTraceFromException(exception);
  113882. t1 = J.get$span$z(error);
  113883. A.throwWithTrace0(new A.SourceSpanFormatException(error.get$source(), message, t1), error, stackTrace);
  113884. } else
  113885. throw exception;
  113886. }
  113887. },
  113888. withErrorMessage$2(message, callback) {
  113889. callback.toString;
  113890. return this.withErrorMessage$1$2(message, callback, type$.dynamic);
  113891. },
  113892. wrapSpanFormatException$1$1(callback) {
  113893. var error, stackTrace, map, error0, stackTrace0, span, secondarySpans, t1, t2, span0, description, _0_0, error1, stackTrace1, span1, t3, exception, t4, _this = this,
  113894. _s8_ = "expected";
  113895. try {
  113896. try {
  113897. t3 = callback.call$0();
  113898. return t3;
  113899. } catch (exception) {
  113900. t3 = A.unwrapException(exception);
  113901. if (type$.SourceSpanFormatException._is(t3)) {
  113902. error = t3;
  113903. stackTrace = A.getTraceFromException(exception);
  113904. map = _this._parser1$_interpolationMap;
  113905. if (map == null)
  113906. throw exception;
  113907. A.throwWithTrace0(map.mapException$1(error), error, stackTrace);
  113908. } else
  113909. throw exception;
  113910. }
  113911. } catch (exception) {
  113912. t3 = A.unwrapException(exception);
  113913. if (type$.MultiSourceSpanFormatException._is(t3)) {
  113914. error0 = t3;
  113915. stackTrace0 = A.getTraceFromException(exception);
  113916. span = J.get$span$z(error0);
  113917. t3 = type$.FileSpan;
  113918. t4 = type$.String;
  113919. secondarySpans = error0.get$secondarySpans().cast$2$0(0, t3, t4);
  113920. if (A.startsWithIgnoreCase0(error0._span_exception$_message, _s8_)) {
  113921. span = _this._parser1$_adjustExceptionSpan$1(span);
  113922. t1 = A.LinkedHashMap_LinkedHashMap$_empty(t3, t4);
  113923. for (t3 = A.MapExtensions_get_pairs0(secondarySpans, t3, t4), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
  113924. t2 = t3.get$current(t3);
  113925. span0 = null;
  113926. description = null;
  113927. _0_0 = t2;
  113928. span0 = _0_0._0;
  113929. description = _0_0._1;
  113930. J.$indexSet$ax(t1, _this._parser1$_adjustExceptionSpan$1(span0), description);
  113931. }
  113932. secondarySpans = t1;
  113933. }
  113934. A.throwWithTrace0(A.MultiSpanSassFormatException$0(error0._span_exception$_message, span, error0.get$primaryLabel(), secondarySpans, null), error0, stackTrace0);
  113935. } else if (type$.SourceSpanFormatException._is(t3)) {
  113936. error1 = t3;
  113937. stackTrace1 = A.getTraceFromException(exception);
  113938. span1 = J.get$span$z(error1);
  113939. if (A.startsWithIgnoreCase0(error1._span_exception$_message, _s8_))
  113940. span1 = _this._parser1$_adjustExceptionSpan$1(span1);
  113941. t1 = error1._span_exception$_message;
  113942. t2 = span1;
  113943. A.throwWithTrace0(new A.SassFormatException0(B.Set_empty, t1, t2), error1, stackTrace1);
  113944. } else
  113945. throw exception;
  113946. }
  113947. },
  113948. wrapSpanFormatException$1(callback) {
  113949. callback.toString;
  113950. return this.wrapSpanFormatException$1$1(callback, type$.dynamic);
  113951. },
  113952. _parser1$_adjustExceptionSpan$1(span) {
  113953. var start, t1;
  113954. if (span.get$length(span) > 0)
  113955. return span;
  113956. start = this._parser1$_firstNewlineBefore$1(span.get$start(span));
  113957. if (start.$eq(0, span.get$start(span)))
  113958. t1 = span;
  113959. else {
  113960. t1 = start.offset;
  113961. t1 = A._FileSpan$(start.file, t1, t1);
  113962. }
  113963. return t1;
  113964. },
  113965. _parser1$_firstNewlineBefore$1($location) {
  113966. var lastNewline, codeUnit,
  113967. t1 = $location.file,
  113968. t2 = $location.offset,
  113969. text = A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t1._decodedChars, 0, t2), 0, null),
  113970. index = t2 - 1;
  113971. for (lastNewline = null; index >= 0;) {
  113972. codeUnit = text.charCodeAt(index);
  113973. if (!(codeUnit === 32 || codeUnit === 9 || codeUnit === 10 || codeUnit === 13 || codeUnit === 12)) {
  113974. if (lastNewline == null)
  113975. t1 = $location;
  113976. else {
  113977. t2 = new A.FileLocation(t1, lastNewline);
  113978. t2.FileLocation$_$2(t1, lastNewline);
  113979. t1 = t2;
  113980. }
  113981. return t1;
  113982. }
  113983. if (codeUnit === 10 || codeUnit === 13 || codeUnit === 12)
  113984. lastNewline = index;
  113985. --index;
  113986. }
  113987. return $location;
  113988. }
  113989. };
  113990. A.Parser__parseIdentifier_closure0.prototype = {
  113991. call$0() {
  113992. var t1 = this.$this,
  113993. result = t1.identifier$0();
  113994. t1.scanner.expectDone$0();
  113995. return result;
  113996. },
  113997. $signature: 27
  113998. };
  113999. A.Parser_escape_closure0.prototype = {
  114000. call$1(char) {
  114001. return char === 32 || char === 9 || char === 10 || char === 13 || char === 12;
  114002. },
  114003. $signature: 30
  114004. };
  114005. A.Parser_scanIdentChar_matches0.prototype = {
  114006. call$1(actual) {
  114007. var t1 = this.char;
  114008. return this.caseSensitive ? actual === t1 : A.characterEqualsIgnoreCase0(t1, actual);
  114009. },
  114010. $signature: 47
  114011. };
  114012. A.Parser_spanFrom_closure0.prototype = {
  114013. call$0() {
  114014. var t1 = this.$this._parser1$_interpolationMap;
  114015. if (t1 == null)
  114016. t1 = type$.InterpolationMap_2._as(t1);
  114017. return t1.mapSpan$1(this.span);
  114018. },
  114019. $signature: 28
  114020. };
  114021. A.PlaceholderSelector0.prototype = {
  114022. accept$1$1(visitor) {
  114023. return visitor.visitPlaceholderSelector$1(this);
  114024. },
  114025. accept$1(visitor) {
  114026. return this.accept$1$1(visitor, type$.dynamic);
  114027. },
  114028. addSuffix$1(suffix) {
  114029. return new A.PlaceholderSelector0(this.name + suffix, this.span);
  114030. },
  114031. $eq(_, other) {
  114032. if (other == null)
  114033. return false;
  114034. return other instanceof A.PlaceholderSelector0 && other.name === this.name;
  114035. },
  114036. get$hashCode(_) {
  114037. return B.JSString_methods.get$hashCode(this.name);
  114038. }
  114039. };
  114040. A.PlainCssCallable0.prototype = {
  114041. $eq(_, other) {
  114042. if (other == null)
  114043. return false;
  114044. return other instanceof A.PlainCssCallable0 && this.name === other.name;
  114045. },
  114046. get$hashCode(_) {
  114047. return B.JSString_methods.get$hashCode(this.name);
  114048. },
  114049. $isAsyncCallable0: 1,
  114050. $isCallable: 1,
  114051. get$name(receiver) {
  114052. return this.name;
  114053. }
  114054. };
  114055. A.PrefixedMapView0.prototype = {
  114056. get$keys(_) {
  114057. return new A._PrefixedKeys0(this);
  114058. },
  114059. get$length(_) {
  114060. var t1 = this._prefixed_map_view0$_map;
  114061. return t1.get$length(t1);
  114062. },
  114063. get$isEmpty(_) {
  114064. var t1 = this._prefixed_map_view0$_map;
  114065. return t1.get$isEmpty(t1);
  114066. },
  114067. get$isNotEmpty(_) {
  114068. var t1 = this._prefixed_map_view0$_map;
  114069. return t1.get$isNotEmpty(t1);
  114070. },
  114071. $index(_, key) {
  114072. 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;
  114073. },
  114074. containsKey$1(key) {
  114075. 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));
  114076. }
  114077. };
  114078. A._PrefixedKeys0.prototype = {
  114079. get$length(_) {
  114080. var t1 = this._prefixed_map_view0$_view._prefixed_map_view0$_map;
  114081. return t1.get$length(t1);
  114082. },
  114083. get$iterator(_) {
  114084. var t1 = this._prefixed_map_view0$_view._prefixed_map_view0$_map;
  114085. t1 = J.map$1$1$ax(t1.get$keys(t1), new A._PrefixedKeys_iterator_closure0(this), type$.String);
  114086. return t1.get$iterator(t1);
  114087. },
  114088. contains$1(_, key) {
  114089. return this._prefixed_map_view0$_view.containsKey$1(key);
  114090. }
  114091. };
  114092. A._PrefixedKeys_iterator_closure0.prototype = {
  114093. call$1(key) {
  114094. return this.$this._prefixed_map_view0$_view._prefixed_map_view0$_prefix + key;
  114095. },
  114096. $signature: 6
  114097. };
  114098. A.ProphotoRgbColorSpace0.prototype = {
  114099. get$isBoundedInternal() {
  114100. return true;
  114101. },
  114102. toLinear$1(channel) {
  114103. var abs = Math.abs(channel);
  114104. return abs <= 0.03125 ? channel / 16 : J.get$sign$in(channel) * Math.pow(abs, 1.8);
  114105. },
  114106. fromLinear$1(channel) {
  114107. var abs = Math.abs(channel);
  114108. return abs >= 0.001953125 ? J.get$sign$in(channel) * Math.pow(abs, 0.5555555555555556) : 16 * channel;
  114109. },
  114110. transformationMatrix$1(dest) {
  114111. var t1;
  114112. $label0$0: {
  114113. if (B.SrgbLinearColorSpace_kUj0 === dest || B.SrgbColorSpace_thf0 === dest || B.RgbColorSpace_i0P0 === dest) {
  114114. t1 = $.$get$linearProphotoRgbToLinearSrgb0();
  114115. break $label0$0;
  114116. }
  114117. if (B.A98RgbColorSpace_lf20 === dest) {
  114118. t1 = $.$get$linearProphotoRgbToLinearA98Rgb0();
  114119. break $label0$0;
  114120. }
  114121. if (B.DisplayP3ColorSpace_MmT0 === dest) {
  114122. t1 = $.$get$linearProphotoRgbToLinearDisplayP30();
  114123. break $label0$0;
  114124. }
  114125. if (B.Rec2020ColorSpace_6oo0 === dest) {
  114126. t1 = $.$get$linearProphotoRgbToLinearRec20200();
  114127. break $label0$0;
  114128. }
  114129. if (B.XyzD65ColorSpace_WiJ0 === dest) {
  114130. t1 = $.$get$linearProphotoRgbToXyzD650();
  114131. break $label0$0;
  114132. }
  114133. if (B.XyzD50ColorSpace_2OB0 === dest) {
  114134. t1 = $.$get$linearProphotoRgbToXyzD500();
  114135. break $label0$0;
  114136. }
  114137. if (B.LmsColorSpace_Os30 === dest) {
  114138. t1 = $.$get$linearProphotoRgbToLms0();
  114139. break $label0$0;
  114140. }
  114141. t1 = this.super$ColorSpace$transformationMatrix0(dest);
  114142. break $label0$0;
  114143. }
  114144. return t1;
  114145. }
  114146. };
  114147. A.PseudoSelector0.prototype = {
  114148. get$isHostContext() {
  114149. return this.isClass && this.name === "host-context" && this.selector != null;
  114150. },
  114151. get$hasComplicatedSuperselectorSemantics() {
  114152. return !this.isClass || this.selector != null;
  114153. },
  114154. get$specificity() {
  114155. var result, _this = this,
  114156. value = _this._pseudo$__PseudoSelector_specificity_FI;
  114157. if (value === $) {
  114158. result = new A.PseudoSelector_specificity_closure0(_this).call$0();
  114159. _this._pseudo$__PseudoSelector_specificity_FI !== $ && A.throwUnnamedLateFieldADI();
  114160. _this._pseudo$__PseudoSelector_specificity_FI = result;
  114161. value = result;
  114162. }
  114163. return value;
  114164. },
  114165. withSelector$1(selector) {
  114166. var _this = this;
  114167. return A.PseudoSelector$0(_this.name, _this.span, _this.argument, !_this.isClass, selector);
  114168. },
  114169. addSuffix$1(suffix) {
  114170. var _this = this;
  114171. if (_this.argument != null || _this.selector != null)
  114172. _this.super$SimpleSelector$addSuffix0(suffix);
  114173. return A.PseudoSelector$0(_this.name + suffix, _this.span, null, !_this.isClass, null);
  114174. },
  114175. unify$1(compound) {
  114176. var other, result, t2, addedThis, _i, simple, _this = this,
  114177. t1 = _this.name;
  114178. if (t1 === "host" || t1 === "host-context") {
  114179. if (!B.JSArray_methods.every$1(compound, new A.PseudoSelector_unify_closure0()))
  114180. return null;
  114181. } else {
  114182. t1 = false;
  114183. if (compound.length === 1) {
  114184. other = compound[0];
  114185. if (!(other instanceof A.UniversalSelector0)) {
  114186. if (other instanceof A.PseudoSelector0)
  114187. t1 = other.isClass && other.name === "host" || other.get$isHostContext();
  114188. } else
  114189. t1 = true;
  114190. } else
  114191. other = null;
  114192. if (t1)
  114193. return other.unify$1(A._setArrayType([_this], type$.JSArray_SimpleSelector_2));
  114194. }
  114195. if (B.JSArray_methods.contains$1(compound, _this))
  114196. return compound;
  114197. result = A._setArrayType([], type$.JSArray_SimpleSelector_2);
  114198. for (t1 = compound.length, t2 = !_this.isClass, addedThis = false, _i = 0; _i < compound.length; compound.length === t1 || (0, A.throwConcurrentModificationError)(compound), ++_i) {
  114199. simple = compound[_i];
  114200. if (simple instanceof A.PseudoSelector0 && !simple.isClass) {
  114201. if (t2)
  114202. return null;
  114203. result.push(_this);
  114204. addedThis = true;
  114205. }
  114206. result.push(simple);
  114207. }
  114208. if (!addedThis)
  114209. result.push(_this);
  114210. return result;
  114211. },
  114212. isSuperselector$1(other) {
  114213. var selector, t1, t2, _this = this;
  114214. if (_this.super$SimpleSelector$isSuperselector0(other))
  114215. return true;
  114216. selector = _this.selector;
  114217. if (selector == null)
  114218. return _this.$eq(0, other);
  114219. if (other instanceof A.PseudoSelector0 && !_this.isClass && !other.isClass && _this.normalizedName === "slotted" && other.name === _this.name) {
  114220. t1 = A.NullableExtension_andThen0(other.selector, selector.get$isSuperselector());
  114221. return t1 == null ? false : t1;
  114222. }
  114223. t1 = type$.JSArray_SimpleSelector_2;
  114224. t2 = _this.span;
  114225. return A.compoundIsSuperselector0(A.CompoundSelector$0(A._setArrayType([_this], t1), t2), A.CompoundSelector$0(A._setArrayType([other], t1), t2), null);
  114226. },
  114227. accept$1$1(visitor) {
  114228. return visitor.visitPseudoSelector$1(this);
  114229. },
  114230. accept$1(visitor) {
  114231. return this.accept$1$1(visitor, type$.dynamic);
  114232. },
  114233. $eq(_, other) {
  114234. var _this = this;
  114235. if (other == null)
  114236. return false;
  114237. return other instanceof A.PseudoSelector0 && other.name === _this.name && other.isClass === _this.isClass && other.argument == _this.argument && J.$eq$(other.selector, _this.selector);
  114238. },
  114239. get$hashCode(_) {
  114240. var _this = this,
  114241. t1 = B.JSString_methods.get$hashCode(_this.name),
  114242. t2 = !_this.isClass ? 519018 : 218159;
  114243. return t1 ^ t2 ^ J.get$hashCode$(_this.argument) ^ J.get$hashCode$(_this.selector);
  114244. }
  114245. };
  114246. A.PseudoSelector_specificity_closure0.prototype = {
  114247. call$0() {
  114248. var selector, t2,
  114249. t1 = this.$this;
  114250. if (!t1.isClass)
  114251. return 1;
  114252. selector = t1.selector;
  114253. if (selector == null)
  114254. return A.SimpleSelector0.prototype.get$specificity.call(t1);
  114255. switch (t1.normalizedName) {
  114256. case "where":
  114257. return 0;
  114258. case "is":
  114259. case "not":
  114260. case "has":
  114261. case "matches":
  114262. t1 = selector.components;
  114263. return A.IterableIntegerExtension_get_max(new A.MappedListIterable(t1, new A.PseudoSelector_specificity__closure1(), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,int>")));
  114264. case "nth-child":
  114265. case "nth-last-child":
  114266. t1 = A.SimpleSelector0.prototype.get$specificity.call(t1);
  114267. t2 = selector.components;
  114268. return t1 + A.IterableIntegerExtension_get_max(new A.MappedListIterable(t2, new A.PseudoSelector_specificity__closure2(), A._arrayInstanceType(t2)._eval$1("MappedListIterable<1,int>")));
  114269. default:
  114270. return A.SimpleSelector0.prototype.get$specificity.call(t1);
  114271. }
  114272. },
  114273. $signature: 10
  114274. };
  114275. A.PseudoSelector_specificity__closure1.prototype = {
  114276. call$1(component) {
  114277. return component.get$specificity();
  114278. },
  114279. $signature: 259
  114280. };
  114281. A.PseudoSelector_specificity__closure2.prototype = {
  114282. call$1(component) {
  114283. return component.get$specificity();
  114284. },
  114285. $signature: 259
  114286. };
  114287. A.PseudoSelector_unify_closure0.prototype = {
  114288. call$1(simple) {
  114289. var t1;
  114290. if (simple instanceof A.PseudoSelector0)
  114291. t1 = simple.isClass && simple.name === "host" || simple.selector != null;
  114292. else
  114293. t1 = false;
  114294. return t1;
  114295. },
  114296. $signature: 13
  114297. };
  114298. A.PublicMemberMapView0.prototype = {
  114299. get$keys(_) {
  114300. var t1 = this._public_member_map_view0$_inner;
  114301. return J.where$1$ax(t1.get$keys(t1), A.utils1__isPublic$closure());
  114302. },
  114303. containsKey$1(key) {
  114304. return typeof key == "string" && A.isPublic0(key) && this._public_member_map_view0$_inner.containsKey$1(key);
  114305. },
  114306. $index(_, key) {
  114307. if (typeof key == "string" && A.isPublic0(key))
  114308. return this._public_member_map_view0$_inner.$index(0, key);
  114309. return null;
  114310. }
  114311. };
  114312. A.QualifiedName0.prototype = {
  114313. $eq(_, other) {
  114314. if (other == null)
  114315. return false;
  114316. return other instanceof A.QualifiedName0 && other.name === this.name && other.namespace == this.namespace;
  114317. },
  114318. get$hashCode(_) {
  114319. return B.JSString_methods.get$hashCode(this.name) ^ J.get$hashCode$(this.namespace);
  114320. },
  114321. toString$0(_) {
  114322. var t1 = this.namespace,
  114323. t2 = this.name;
  114324. return t1 == null ? t2 : t1 + "|" + t2;
  114325. }
  114326. };
  114327. A.Rec2020ColorSpace0.prototype = {
  114328. get$isBoundedInternal() {
  114329. return true;
  114330. },
  114331. toLinear$1(channel) {
  114332. var abs = Math.abs(channel);
  114333. return abs < 0.08124285829863151 ? channel / 4.5 : J.get$sign$in(channel) * Math.pow((abs + 1.09929682680944 - 1) / 1.09929682680944, 2.2222222222222223);
  114334. },
  114335. fromLinear$1(channel) {
  114336. var abs = Math.abs(channel);
  114337. return abs > 0.018053968510807 ? J.get$sign$in(channel) * (1.09929682680944 * Math.pow(abs, 0.45) - 0.09929682680944008) : 4.5 * channel;
  114338. },
  114339. transformationMatrix$1(dest) {
  114340. var t1;
  114341. $label0$0: {
  114342. if (B.SrgbLinearColorSpace_kUj0 === dest || B.SrgbColorSpace_thf0 === dest || B.RgbColorSpace_i0P0 === dest) {
  114343. t1 = $.$get$linearRec2020ToLinearSrgb0();
  114344. break $label0$0;
  114345. }
  114346. if (B.A98RgbColorSpace_lf20 === dest) {
  114347. t1 = $.$get$linearRec2020ToLinearA98Rgb0();
  114348. break $label0$0;
  114349. }
  114350. if (B.DisplayP3ColorSpace_MmT0 === dest) {
  114351. t1 = $.$get$linearRec2020ToLinearDisplayP30();
  114352. break $label0$0;
  114353. }
  114354. if (B.ProphotoRgbColorSpace_BDz0 === dest) {
  114355. t1 = $.$get$linearRec2020ToLinearProphotoRgb0();
  114356. break $label0$0;
  114357. }
  114358. if (B.XyzD65ColorSpace_WiJ0 === dest) {
  114359. t1 = $.$get$linearRec2020ToXyzD650();
  114360. break $label0$0;
  114361. }
  114362. if (B.XyzD50ColorSpace_2OB0 === dest) {
  114363. t1 = $.$get$linearRec2020ToXyzD500();
  114364. break $label0$0;
  114365. }
  114366. if (B.LmsColorSpace_Os30 === dest) {
  114367. t1 = $.$get$linearRec2020ToLms0();
  114368. break $label0$0;
  114369. }
  114370. t1 = this.super$ColorSpace$transformationMatrix0(dest);
  114371. break $label0$0;
  114372. }
  114373. return t1;
  114374. }
  114375. };
  114376. A.JSClass0.prototype = {};
  114377. A.JSClassExtension_setCustomInspect_closure.prototype = {
  114378. call$4($self, _, __, ___) {
  114379. return this.inspect.call$1($self);
  114380. },
  114381. call$3($self, _, __) {
  114382. return this.call$4($self, _, __, null);
  114383. },
  114384. "call*": "call$4",
  114385. $requiredArgCount: 3,
  114386. $defaultValues() {
  114387. return [null];
  114388. },
  114389. $signature: 566
  114390. };
  114391. A.JSClassExtension_get_defineStaticMethod_closure.prototype = {
  114392. call$2($name, body) {
  114393. this._this[$name] = A.allowInteropNamed($name, body);
  114394. return null;
  114395. },
  114396. $signature: 135
  114397. };
  114398. A.JSClassExtension_get_defineMethod_closure.prototype = {
  114399. call$2($name, body) {
  114400. J.get$$prototype$x(this._this)[$name] = A.allowInteropCaptureThisNamed($name, body);
  114401. return null;
  114402. },
  114403. $signature: 135
  114404. };
  114405. A.JSClassExtension_get_defineGetter_closure.prototype = {
  114406. call$2($name, body) {
  114407. A.defineGetter(J.get$$prototype$x(this._this), $name, body, null);
  114408. return null;
  114409. },
  114410. $signature: 135
  114411. };
  114412. A.RenderContext0.prototype = {};
  114413. A.RenderContextOptions0.prototype = {};
  114414. A.RenderContextResult0.prototype = {};
  114415. A.RenderContextResultStats0.prototype = {};
  114416. A.RenderOptions.prototype = {};
  114417. A.RenderResult.prototype = {};
  114418. A.RenderResultStats.prototype = {};
  114419. A.ReplaceExpressionVisitor0.prototype = {
  114420. visitBinaryOperationExpression$1(_, node) {
  114421. return new A.BinaryOperationExpression0(node.operator, node.left.accept$1(this), node.right.accept$1(this), false);
  114422. },
  114423. visitBooleanExpression$1(_, node) {
  114424. return node;
  114425. },
  114426. visitColorExpression$1(_, node) {
  114427. return node;
  114428. },
  114429. visitFunctionExpression$1(_, node) {
  114430. var t1 = node.originalName,
  114431. t2 = this.visitArgumentList$1(node.$arguments);
  114432. return new A.FunctionExpression0(node.namespace, A.stringReplaceAllUnchecked(t1, "_", "-"), t1, t2, node.span);
  114433. },
  114434. visitInterpolatedFunctionExpression$1(_, node) {
  114435. return new A.InterpolatedFunctionExpression0(this.visitInterpolation$1(node.name), this.visitArgumentList$1(node.$arguments), node.span);
  114436. },
  114437. visitIfExpression$1(_, node) {
  114438. return new A.IfExpression0(this.visitArgumentList$1(node.$arguments), node.span);
  114439. },
  114440. visitListExpression$1(_, node) {
  114441. var t1 = node.contents;
  114442. 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);
  114443. },
  114444. visitMapExpression$1(_, node) {
  114445. var t2, t3, _i, t4,
  114446. t1 = A._setArrayType([], type$.JSArray_Record_2_Expression_and_Expression_2);
  114447. for (t2 = node.pairs, t3 = t2.length, _i = 0; _i < t3; ++_i) {
  114448. t4 = t2[_i];
  114449. t1.push(new A._Record_2(t4._0.accept$1(this), t4._1.accept$1(this)));
  114450. }
  114451. return new A.MapExpression0(A.List_List$unmodifiable(t1, type$.Record_2_Expression_and_Expression_2), node.span);
  114452. },
  114453. visitNullExpression$1(_, node) {
  114454. return node;
  114455. },
  114456. visitNumberExpression$1(_, node) {
  114457. return node;
  114458. },
  114459. visitParenthesizedExpression$1(_, node) {
  114460. return new A.ParenthesizedExpression0(node.expression.accept$1(this), node.span);
  114461. },
  114462. visitSelectorExpression$1(_, node) {
  114463. return node;
  114464. },
  114465. visitStringExpression$1(_, node) {
  114466. return new A.StringExpression0(this.visitInterpolation$1(node.text), node.hasQuotes);
  114467. },
  114468. visitSupportsExpression$1(_, node) {
  114469. return new A.SupportsExpression0(this.visitSupportsCondition$1(node.condition));
  114470. },
  114471. visitUnaryOperationExpression$1(_, node) {
  114472. return new A.UnaryOperationExpression0(node.operator, node.operand.accept$1(this), node.span);
  114473. },
  114474. visitValueExpression$1(_, node) {
  114475. return node;
  114476. },
  114477. visitVariableExpression$1(_, node) {
  114478. return node;
  114479. },
  114480. visitArgumentList$1(invocation) {
  114481. var t5, t6, _this = this,
  114482. t1 = invocation.positional,
  114483. t2 = type$.String,
  114484. t3 = type$.Expression_2,
  114485. t4 = A.LinkedHashMap_LinkedHashMap$_empty(t2, t3);
  114486. for (t5 = A.MapExtensions_get_pairs0(invocation.named, t2, t3), t5 = t5.get$iterator(t5); t5.moveNext$0();) {
  114487. t6 = t5.get$current(t5);
  114488. t4.$indexSet(0, t6._0, t6._1.accept$1(_this));
  114489. }
  114490. t5 = invocation.rest;
  114491. t5 = t5 == null ? null : t5.accept$1(_this);
  114492. t6 = invocation.keywordRest;
  114493. t6 = t6 == null ? null : t6.accept$1(_this);
  114494. 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);
  114495. },
  114496. visitSupportsCondition$1(condition) {
  114497. var _this = this;
  114498. if (condition instanceof A.SupportsOperation0)
  114499. return A.SupportsOperation$0(_this.visitSupportsCondition$1(condition.left), _this.visitSupportsCondition$1(condition.right), condition.operator, condition.span);
  114500. else if (condition instanceof A.SupportsNegation0)
  114501. return new A.SupportsNegation0(_this.visitSupportsCondition$1(condition.condition), condition.span);
  114502. else if (condition instanceof A.SupportsInterpolation0)
  114503. return new A.SupportsInterpolation0(condition.expression.accept$1(_this), condition.span);
  114504. else if (condition instanceof A.SupportsDeclaration0)
  114505. return new A.SupportsDeclaration0(condition.name.accept$1(_this), condition.value.accept$1(_this), condition.span);
  114506. else
  114507. throw A.wrapException(A.SassException$0("BUG: Unknown SupportsCondition " + condition.toString$0(0) + ".", condition.get$span(condition), null));
  114508. },
  114509. visitInterpolation$1(interpolation) {
  114510. var t1 = interpolation.contents;
  114511. 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);
  114512. }
  114513. };
  114514. A.ReplaceExpressionVisitor_visitListExpression_closure0.prototype = {
  114515. call$1(item) {
  114516. return item.accept$1(this.$this);
  114517. },
  114518. $signature: 260
  114519. };
  114520. A.ReplaceExpressionVisitor_visitArgumentList_closure0.prototype = {
  114521. call$1(expression) {
  114522. return expression.accept$1(this.$this);
  114523. },
  114524. $signature: 260
  114525. };
  114526. A.ReplaceExpressionVisitor_visitInterpolation_closure0.prototype = {
  114527. call$1(node) {
  114528. return node instanceof A.Expression0 ? node.accept$1(this.$this) : node;
  114529. },
  114530. $signature: 78
  114531. };
  114532. A.ImporterResult0.prototype = {
  114533. get$sourceMapUrl(_) {
  114534. var t1 = this._result$_sourceMapUrl;
  114535. return t1 == null ? A.Uri_Uri$dataFromString(this.contents, B.C_Utf8Codec, null) : t1;
  114536. }
  114537. };
  114538. A.ReturnRule0.prototype = {
  114539. accept$1$1(visitor) {
  114540. return visitor.visitReturnRule$1(0, this);
  114541. },
  114542. accept$1(visitor) {
  114543. return this.accept$1$1(visitor, type$.dynamic);
  114544. },
  114545. toString$0(_) {
  114546. return "@return " + this.expression.toString$0(0) + ";";
  114547. },
  114548. get$span(receiver) {
  114549. return this.span;
  114550. }
  114551. };
  114552. A.RgbColorSpace0.prototype = {
  114553. get$isBoundedInternal() {
  114554. return true;
  114555. },
  114556. get$isLegacyInternal() {
  114557. return true;
  114558. },
  114559. convert$5(dest, red, green, blue, alpha) {
  114560. var t1 = red == null ? null : red / 255,
  114561. t2 = green == null ? null : green / 255;
  114562. return B.SrgbColorSpace_thf0.convert$5(dest, t1, t2, blue == null ? null : blue / 255, alpha);
  114563. },
  114564. toLinear$1(channel) {
  114565. return A.srgbAndDisplayP3ToLinear0(channel / 255);
  114566. },
  114567. fromLinear$1(channel) {
  114568. return A.srgbAndDisplayP3FromLinear0(channel) * 255;
  114569. }
  114570. };
  114571. A.SassParser0.prototype = {
  114572. get$currentIndentation() {
  114573. return this._sass0$_currentIndentation;
  114574. },
  114575. get$indented() {
  114576. return true;
  114577. },
  114578. styleRuleSelector$0() {
  114579. var t4,
  114580. t1 = this.scanner,
  114581. t2 = t1._string_scanner$_position,
  114582. t3 = new A.StringBuffer(""),
  114583. buffer = new A.InterpolationBuffer0(t3, A._setArrayType([], type$.JSArray_Object), A._setArrayType([], type$.JSArray_nullable_FileSpan));
  114584. do {
  114585. buffer.addInterpolation$1(this.almostAnyValue$1$omitComments(true));
  114586. t4 = A.Primitives_stringFromCharCode(10);
  114587. t4 = t3._contents += t4;
  114588. } 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()));
  114589. return buffer.interpolation$1(t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
  114590. },
  114591. expectStatementSeparator$1($name) {
  114592. var t1, _this = this,
  114593. trailingSemicolon = _this._sass0$_tryTrailingSemicolon$0();
  114594. if (!_this.atEndOfStatement$0())
  114595. _this._sass0$_expectNewline$1$trailingSemicolon(trailingSemicolon);
  114596. if (_this._sass0$_peekIndentation$0() <= _this._sass0$_currentIndentation)
  114597. return;
  114598. t1 = $name == null ? "here" : "beneath a " + $name;
  114599. _this.scanner.error$2$position(0, "Nothing may be indented " + t1 + ".", _this._sass0$_nextIndentationEnd.position);
  114600. },
  114601. expectStatementSeparator$0() {
  114602. return this.expectStatementSeparator$1(null);
  114603. },
  114604. atEndOfStatement$0() {
  114605. var t1 = this.scanner.peekChar$0();
  114606. if (t1 == null)
  114607. t1 = null;
  114608. else
  114609. t1 = t1 === 10 || t1 === 13 || t1 === 12;
  114610. return t1 !== false;
  114611. },
  114612. lookingAtChildren$0() {
  114613. return this.atEndOfStatement$0() && this._sass0$_peekIndentation$0() > this._sass0$_currentIndentation;
  114614. },
  114615. importArgument$0() {
  114616. var url, span, innerError, stackTrace, t1, _0_0, start, next, t2, exception, _this = this;
  114617. $label0$0: {
  114618. t1 = _this.scanner;
  114619. _0_0 = t1.peekChar$0();
  114620. if (117 === _0_0 || 85 === _0_0) {
  114621. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  114622. if (_this.scanIdentifier$1("url"))
  114623. if (t1.scanChar$1(40)) {
  114624. t1.set$state(start);
  114625. return _this.super$StylesheetParser$importArgument0();
  114626. } else
  114627. t1.set$state(start);
  114628. break $label0$0;
  114629. }
  114630. if (39 === _0_0 || 34 === _0_0)
  114631. return _this.super$StylesheetParser$importArgument0();
  114632. }
  114633. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  114634. next = t1.peekChar$0();
  114635. while (true) {
  114636. t2 = false;
  114637. if (next != null)
  114638. if (next !== 44)
  114639. if (next !== 59)
  114640. t2 = !(next === 10 || next === 13 || next === 12);
  114641. if (!t2)
  114642. break;
  114643. t1.readChar$0();
  114644. next = t1.peekChar$0();
  114645. }
  114646. url = t1.substring$1(0, start.position);
  114647. span = t1.spanFrom$1(start);
  114648. if (_this.isPlainImportUrl$1(url))
  114649. 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);
  114650. else
  114651. try {
  114652. t1 = _this.parseImportUrl$1(url);
  114653. return new A.DynamicImport0(t1, span);
  114654. } catch (exception) {
  114655. t1 = A.unwrapException(exception);
  114656. if (type$.FormatException._is(t1)) {
  114657. innerError = t1;
  114658. stackTrace = A.getTraceFromException(exception);
  114659. _this.error$3(0, "Invalid URL: " + J.get$message$x(innerError), span, stackTrace);
  114660. } else
  114661. throw exception;
  114662. }
  114663. },
  114664. scanElse$1(ifIndentation) {
  114665. var t1, t2, startIndentation, startNextIndentation, startNextIndentationEnd, _this = this;
  114666. if (_this._sass0$_peekIndentation$0() !== ifIndentation)
  114667. return false;
  114668. t1 = _this.scanner;
  114669. t2 = t1._string_scanner$_position;
  114670. startIndentation = _this._sass0$_currentIndentation;
  114671. startNextIndentation = _this._sass0$_nextIndentation;
  114672. startNextIndentationEnd = _this._sass0$_nextIndentationEnd;
  114673. _this._sass0$_readIndentation$0();
  114674. if (t1.scanChar$1(64) && _this.scanIdentifier$1("else"))
  114675. return true;
  114676. t1.set$state(new A._SpanScannerState(t1, t2));
  114677. _this._sass0$_currentIndentation = startIndentation;
  114678. _this._sass0$_nextIndentation = startNextIndentation;
  114679. _this._sass0$_nextIndentationEnd = startNextIndentationEnd;
  114680. return false;
  114681. },
  114682. children$1(_, child) {
  114683. var children = A._setArrayType([], type$.JSArray_Statement_2);
  114684. this._sass0$_whileIndentedLower$1(new A.SassParser_children_closure0(this, child, children));
  114685. return children;
  114686. },
  114687. statements$1(statement) {
  114688. var statements, t2, _1_0,
  114689. t1 = this.scanner,
  114690. _0_0 = t1.peekChar$0();
  114691. if (9 === _0_0 || 32 === _0_0)
  114692. t1.error$3$length$position(0, string$.Indent, t1._string_scanner$_position, 0);
  114693. statements = A._setArrayType([], type$.JSArray_Statement_2);
  114694. for (t2 = t1.string.length; t1._string_scanner$_position !== t2;) {
  114695. _1_0 = this._sass0$_child$1(statement);
  114696. if (_1_0 != null)
  114697. statements.push(_1_0);
  114698. this._sass0$_readIndentation$0();
  114699. }
  114700. return statements;
  114701. },
  114702. _sass0$_child$1(child) {
  114703. var _0_0, _this = this,
  114704. t1 = _this.scanner,
  114705. _1_0 = t1.peekChar$0();
  114706. $label0$0: {
  114707. if (13 === _1_0 || 10 === _1_0 || 12 === _1_0) {
  114708. t1 = null;
  114709. break $label0$0;
  114710. }
  114711. if (36 === _1_0) {
  114712. t1 = _this.variableDeclarationWithoutNamespace$0();
  114713. break $label0$0;
  114714. }
  114715. if (47 === _1_0) {
  114716. _0_0 = t1.peekChar$1(1);
  114717. $label1$1: {
  114718. if (47 === _0_0) {
  114719. t1 = _this._sass0$_silentComment$0();
  114720. break $label1$1;
  114721. }
  114722. if (42 === _0_0) {
  114723. t1 = _this._sass0$_loudComment$0();
  114724. break $label1$1;
  114725. }
  114726. t1 = child.call$0();
  114727. break $label1$1;
  114728. }
  114729. break $label0$0;
  114730. }
  114731. t1 = child.call$0();
  114732. break $label0$0;
  114733. }
  114734. return t1;
  114735. },
  114736. _sass0$_silentComment$0() {
  114737. var buffer, parentIndentation, t3, t4, t5, commentPrefix, i, t6, i0, t7, _this = this,
  114738. t1 = _this.scanner,
  114739. t2 = t1._string_scanner$_position;
  114740. t1.expect$1("//");
  114741. buffer = new A.StringBuffer("");
  114742. parentIndentation = _this._sass0$_currentIndentation;
  114743. t3 = t1.string.length;
  114744. t4 = 1 + parentIndentation;
  114745. t5 = 2 + parentIndentation;
  114746. $label0$0:
  114747. do {
  114748. commentPrefix = t1.scanChar$1(47) ? "///" : "//";
  114749. for (i = commentPrefix.length; true;) {
  114750. t6 = buffer._contents += commentPrefix;
  114751. for (i0 = i; i0 < _this._sass0$_currentIndentation - parentIndentation; ++i0) {
  114752. t6 += A.Primitives_stringFromCharCode(32);
  114753. buffer._contents = t6;
  114754. }
  114755. while (true) {
  114756. if (t1._string_scanner$_position !== t3) {
  114757. t7 = t1.peekChar$0();
  114758. t7 = !(t7 === 10 || t7 === 13 || t7 === 12);
  114759. } else
  114760. t7 = false;
  114761. if (!t7)
  114762. break;
  114763. t6 += A.Primitives_stringFromCharCode(t1.readChar$0());
  114764. buffer._contents = t6;
  114765. }
  114766. buffer._contents = t6 + "\n";
  114767. if (_this._sass0$_peekIndentation$0() < parentIndentation)
  114768. break $label0$0;
  114769. if (_this._sass0$_peekIndentation$0() === parentIndentation) {
  114770. if (t1.peekChar$1(t4) === 47 && t1.peekChar$1(t5) === 47)
  114771. _this._sass0$_readIndentation$0();
  114772. break;
  114773. }
  114774. _this._sass0$_readIndentation$0();
  114775. }
  114776. } while (t1.scan$1("//"));
  114777. t3 = buffer._contents;
  114778. return _this.lastSilentComment = new A.SilentComment0(t3.charCodeAt(0) == 0 ? t3 : t3, t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
  114779. },
  114780. _sass0$_loudComment$0() {
  114781. var t2, t3, t4, buffer, parentIndentation, t5, t6, first, beginningOfComment, t7, end, i, _1_0, _0_0, endPosition, span, _this = this,
  114782. t1 = _this.scanner,
  114783. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  114784. t1.expect$1("/*");
  114785. t2 = new A.StringBuffer("");
  114786. t3 = A._setArrayType([], type$.JSArray_Object);
  114787. t4 = A._setArrayType([], type$.JSArray_nullable_FileSpan);
  114788. buffer = new A.InterpolationBuffer0(t2, t3, t4);
  114789. t2._contents = "" + "/*";
  114790. parentIndentation = _this._sass0$_currentIndentation;
  114791. for (t5 = t1.string, t6 = t5.length, first = true; true; first = false) {
  114792. if (first) {
  114793. beginningOfComment = t1._string_scanner$_position;
  114794. _this.spaces$0();
  114795. t7 = t1.peekChar$0();
  114796. if (t7 === 10 || t7 === 13 || t7 === 12) {
  114797. _this._sass0$_readIndentation$0();
  114798. t7 = A.Primitives_stringFromCharCode(32);
  114799. t2._contents += t7;
  114800. } else {
  114801. end = t1._string_scanner$_position;
  114802. t2._contents += B.JSString_methods.substring$2(t5, beginningOfComment, end);
  114803. }
  114804. } else
  114805. t2._contents = (t2._contents += "\n") + " * ";
  114806. for (i = 3; i < _this._sass0$_currentIndentation - parentIndentation; ++i) {
  114807. t7 = A.Primitives_stringFromCharCode(32);
  114808. t2._contents += t7;
  114809. }
  114810. for (; t1._string_scanner$_position !== t6;) {
  114811. _1_0 = t1.peekChar$0();
  114812. if (10 === _1_0 || 13 === _1_0 || 12 === _1_0)
  114813. break;
  114814. if (35 === _1_0) {
  114815. if (t1.peekChar$1(1) === 123) {
  114816. _0_0 = _this.singleInterpolation$0();
  114817. buffer._interpolation_buffer0$_flushText$0();
  114818. t3.push(_0_0._0);
  114819. t4.push(_0_0._1);
  114820. } else {
  114821. t7 = A.Primitives_stringFromCharCode(t1.readChar$0());
  114822. t2._contents += t7;
  114823. }
  114824. continue;
  114825. }
  114826. if (42 === _1_0) {
  114827. if (t1.peekChar$1(1) === 47) {
  114828. t3 = A.Primitives_stringFromCharCode(t1.readChar$0());
  114829. t2._contents += t3;
  114830. t3 = A.Primitives_stringFromCharCode(t1.readChar$0());
  114831. t2._contents += t3;
  114832. endPosition = t1._string_scanner$_position;
  114833. t2 = t1._sourceFile;
  114834. t3 = start.position;
  114835. span = new A._FileSpan(t2, t3, endPosition);
  114836. span._FileSpan$3(t2, t3, endPosition);
  114837. _this.whitespace$1$consumeNewlines(false);
  114838. while (true) {
  114839. t2 = t1.peekChar$0();
  114840. if (!((t2 === 10 || t2 === 13 || t2 === 12) && _this._sass0$_peekIndentation$0() > parentIndentation))
  114841. break;
  114842. for (; _this._sass0$_lookingAtDoubleNewline$0();)
  114843. _this._sass0$_expectNewline$0();
  114844. _this._sass0$_readIndentation$0();
  114845. _this.whitespace$1$consumeNewlines(false);
  114846. }
  114847. if (t1._string_scanner$_position !== t6) {
  114848. t2 = t1.peekChar$0();
  114849. t2 = !(t2 === 10 || t2 === 13 || t2 === 12);
  114850. } else
  114851. t2 = false;
  114852. if (t2) {
  114853. t2 = t1._string_scanner$_position;
  114854. while (true) {
  114855. if (t1._string_scanner$_position !== t6) {
  114856. t3 = t1.peekChar$0();
  114857. t3 = !(t3 === 10 || t3 === 13 || t3 === 12);
  114858. } else
  114859. t3 = false;
  114860. if (!t3)
  114861. break;
  114862. t1.readChar$0();
  114863. }
  114864. 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));
  114865. } else
  114866. return new A.LoudComment0(buffer.interpolation$1(span));
  114867. } else {
  114868. t7 = A.Primitives_stringFromCharCode(t1.readChar$0());
  114869. t2._contents += t7;
  114870. }
  114871. continue;
  114872. }
  114873. t7 = A.Primitives_stringFromCharCode(t1.readChar$0());
  114874. t2._contents += t7;
  114875. }
  114876. if (_this._sass0$_peekIndentation$0() <= parentIndentation)
  114877. break;
  114878. for (; _this._sass0$_lookingAtDoubleNewline$0();) {
  114879. _this._sass0$_expectNewline$0();
  114880. t2._contents = (t2._contents += "\n") + " *";
  114881. }
  114882. _this._sass0$_readIndentation$0();
  114883. }
  114884. return new A.LoudComment0(buffer.interpolation$1(t1.spanFrom$1(start)));
  114885. },
  114886. whitespaceWithoutComments$1$consumeNewlines(consumeNewlines) {
  114887. var t1, t2, next, t3;
  114888. for (t1 = this.scanner, t2 = t1.string.length; t1._string_scanner$_position !== t2;) {
  114889. next = t1.peekChar$0();
  114890. if (consumeNewlines)
  114891. t3 = !(next === 32 || next === 9 || next === 10 || next === 13 || next === 12);
  114892. else
  114893. t3 = !(next === 32 || next === 9);
  114894. if (t3)
  114895. break;
  114896. t1.readChar$0();
  114897. }
  114898. },
  114899. _sass0$_expectNewline$1$trailingSemicolon(trailingSemicolon) {
  114900. var t1 = this.scanner,
  114901. _0_0 = t1.peekChar$0();
  114902. if (13 === _0_0) {
  114903. t1.readChar$0();
  114904. if (t1.peekChar$0() === 10)
  114905. t1.readChar$0();
  114906. return;
  114907. }
  114908. if (10 === _0_0 || 12 === _0_0) {
  114909. t1.readChar$0();
  114910. return;
  114911. }
  114912. t1.error$1(0, trailingSemicolon ? string$.multip : "expected newline.");
  114913. },
  114914. _sass0$_expectNewline$0() {
  114915. return this._sass0$_expectNewline$1$trailingSemicolon(false);
  114916. },
  114917. _sass0$_lookingAtDoubleNewline$0() {
  114918. var t2, _0_0,
  114919. t1 = this.scanner,
  114920. _1_0 = t1.peekChar$0();
  114921. $label1$1: {
  114922. t2 = false;
  114923. if (13 === _1_0) {
  114924. _0_0 = t1.peekChar$1(1);
  114925. $label0$0: {
  114926. if (10 === _0_0) {
  114927. t1 = t1.peekChar$1(2);
  114928. t1 = t1 === 10 || t1 === 13 || t1 === 12;
  114929. break $label0$0;
  114930. }
  114931. if (13 === _0_0 || 12 === _0_0) {
  114932. t1 = true;
  114933. break $label0$0;
  114934. }
  114935. t1 = t2;
  114936. break $label0$0;
  114937. }
  114938. break $label1$1;
  114939. }
  114940. if (10 === _1_0 || 12 === _1_0) {
  114941. t1 = t1.peekChar$1(1);
  114942. t1 = t1 === 10 || t1 === 13 || t1 === 12;
  114943. break $label1$1;
  114944. }
  114945. t1 = t2;
  114946. break $label1$1;
  114947. }
  114948. return t1;
  114949. },
  114950. _sass0$_whileIndentedLower$1(body) {
  114951. var t1, t2, childIndentation, indentation, t3, t4, _this = this,
  114952. parentIndentation = _this._sass0$_currentIndentation;
  114953. for (t1 = _this.scanner, t2 = t1._sourceFile, childIndentation = null; _this._sass0$_peekIndentation$0() > parentIndentation;) {
  114954. indentation = _this._sass0$_readIndentation$0();
  114955. if (childIndentation == null)
  114956. childIndentation = indentation;
  114957. if (childIndentation !== indentation) {
  114958. t3 = t1._string_scanner$_position;
  114959. t4 = t2.getColumn$1(t3);
  114960. t1.error$3$length$position(0, "Inconsistent indentation, expected " + childIndentation + " spaces.", t2.getColumn$1(t1._string_scanner$_position), t3 - t4);
  114961. }
  114962. body.call$0();
  114963. }
  114964. },
  114965. _sass0$_readIndentation$0() {
  114966. var t1, _this = this,
  114967. currentIndentation = _this._sass0$_nextIndentation;
  114968. if (currentIndentation == null)
  114969. currentIndentation = _this._sass0$_nextIndentation = _this._sass0$_peekIndentation$0();
  114970. _this._sass0$_currentIndentation = currentIndentation;
  114971. t1 = _this._sass0$_nextIndentationEnd;
  114972. t1.toString;
  114973. _this.scanner.set$state(t1);
  114974. _this._sass0$_nextIndentationEnd = _this._sass0$_nextIndentation = null;
  114975. return currentIndentation;
  114976. },
  114977. _sass0$_peekIndentation$0() {
  114978. var t1, t2, t3, start, containsTab, containsSpace, nextIndentation, _1_0, t4, _this = this,
  114979. _0_0 = _this._sass0$_nextIndentation;
  114980. if (_0_0 != null)
  114981. return _0_0;
  114982. t1 = _this.scanner;
  114983. t2 = t1._string_scanner$_position;
  114984. t3 = t1.string.length;
  114985. if (t2 === t3) {
  114986. _this._sass0$_nextIndentation = 0;
  114987. _this._sass0$_nextIndentationEnd = new A._SpanScannerState(t1, t2);
  114988. return 0;
  114989. }
  114990. start = new A._SpanScannerState(t1, t2);
  114991. if (!_this.scanCharIf$1(new A.SassParser__peekIndentation_closure1()))
  114992. t1.error$2$position(0, "Expected newline.", t1._string_scanner$_position);
  114993. containsTab = A._Cell$();
  114994. containsSpace = A._Cell$();
  114995. nextIndentation = A._Cell$();
  114996. do {
  114997. containsSpace.__late_helper$_value = containsTab.__late_helper$_value = false;
  114998. nextIndentation.__late_helper$_value = 0;
  114999. for (; true;) {
  115000. $label0$0: {
  115001. _1_0 = t1.peekChar$0();
  115002. if (32 === _1_0) {
  115003. containsSpace.__late_helper$_value = true;
  115004. break $label0$0;
  115005. }
  115006. if (9 === _1_0) {
  115007. containsTab.__late_helper$_value = true;
  115008. break $label0$0;
  115009. }
  115010. break;
  115011. }
  115012. t2 = nextIndentation.__late_helper$_value;
  115013. if (t2 === nextIndentation)
  115014. A.throwExpression(A.LateError$localNI(""));
  115015. nextIndentation.__late_helper$_value = t2 + 1;
  115016. t1.readChar$0();
  115017. }
  115018. t2 = t1._string_scanner$_position;
  115019. if (t2 === t3) {
  115020. _this._sass0$_nextIndentation = 0;
  115021. _this._sass0$_nextIndentationEnd = new A._SpanScannerState(t1, t2);
  115022. t1.set$state(start);
  115023. return 0;
  115024. }
  115025. } while (_this.scanCharIf$1(new A.SassParser__peekIndentation_closure2()));
  115026. t2 = containsTab._readLocal$0();
  115027. t3 = containsSpace._readLocal$0();
  115028. if (t2) {
  115029. if (t3) {
  115030. t2 = t1._string_scanner$_position;
  115031. t3 = t1._sourceFile;
  115032. t4 = t3.getColumn$1(t2);
  115033. t1.error$3$length$position(0, "Tabs and spaces may not be mixed.", t3.getColumn$1(t1._string_scanner$_position), t2 - t4);
  115034. } else if (_this._sass0$_spaces === true) {
  115035. t2 = t1._string_scanner$_position;
  115036. t3 = t1._sourceFile;
  115037. t4 = t3.getColumn$1(t2);
  115038. t1.error$3$length$position(0, "Expected spaces, was tabs.", t3.getColumn$1(t1._string_scanner$_position), t2 - t4);
  115039. }
  115040. } else if (t3 && _this._sass0$_spaces === false) {
  115041. t2 = t1._string_scanner$_position;
  115042. t3 = t1._sourceFile;
  115043. t4 = t3.getColumn$1(t2);
  115044. t1.error$3$length$position(0, "Expected tabs, was spaces.", t3.getColumn$1(t1._string_scanner$_position), t2 - t4);
  115045. }
  115046. _this._sass0$_nextIndentation = nextIndentation._readLocal$0();
  115047. if (nextIndentation._readLocal$0() > 0)
  115048. if (_this._sass0$_spaces == null)
  115049. _this._sass0$_spaces = containsSpace._readLocal$0();
  115050. _this._sass0$_nextIndentationEnd = new A._SpanScannerState(t1, t1._string_scanner$_position);
  115051. t1.set$state(start);
  115052. return nextIndentation._readLocal$0();
  115053. },
  115054. _sass0$_tryTrailingSemicolon$0() {
  115055. if (this.scanCharIf$1(new A.SassParser__tryTrailingSemicolon_closure0())) {
  115056. this.whitespace$1$consumeNewlines(false);
  115057. return true;
  115058. }
  115059. return false;
  115060. }
  115061. };
  115062. A.SassParser_styleRuleSelector_closure0.prototype = {
  115063. call$1(char) {
  115064. return char === 10 || char === 13 || char === 12;
  115065. },
  115066. $signature: 30
  115067. };
  115068. A.SassParser_children_closure0.prototype = {
  115069. call$0() {
  115070. var _0_0 = this.$this._sass0$_child$1(this.child);
  115071. if (_0_0 != null)
  115072. this.children.push(_0_0);
  115073. },
  115074. $signature: 0
  115075. };
  115076. A.SassParser__peekIndentation_closure1.prototype = {
  115077. call$1(char) {
  115078. return char === 10 || char === 13 || char === 12;
  115079. },
  115080. $signature: 30
  115081. };
  115082. A.SassParser__peekIndentation_closure2.prototype = {
  115083. call$1(char) {
  115084. return char === 10 || char === 13 || char === 12;
  115085. },
  115086. $signature: 30
  115087. };
  115088. A.SassParser__tryTrailingSemicolon_closure0.prototype = {
  115089. call$1(char) {
  115090. return char === 59;
  115091. },
  115092. $signature: 30
  115093. };
  115094. A._Exports.prototype = {};
  115095. A._wrapMain_closure.prototype = {
  115096. call$1(_) {
  115097. return A._translateReturnValue(this.main.call$0());
  115098. },
  115099. $signature: 100
  115100. };
  115101. A._wrapMain_closure0.prototype = {
  115102. call$1(args) {
  115103. return A._translateReturnValue(this.main.call$1(A.List_List$from(type$.List_dynamic._as(args), true, type$.String)));
  115104. },
  115105. $signature: 100
  115106. };
  115107. A.ScssParser0.prototype = {
  115108. get$indented() {
  115109. return false;
  115110. },
  115111. get$currentIndentation() {
  115112. return 0;
  115113. },
  115114. styleRuleSelector$0() {
  115115. return this.almostAnyValue$0();
  115116. },
  115117. expectStatementSeparator$1($name) {
  115118. var t1, _0_0;
  115119. this.whitespaceWithoutComments$1$consumeNewlines(true);
  115120. t1 = this.scanner;
  115121. if (t1._string_scanner$_position === t1.string.length)
  115122. return;
  115123. _0_0 = t1.peekChar$0();
  115124. if (59 === _0_0 || 125 === _0_0)
  115125. return;
  115126. t1.expectChar$1(59);
  115127. },
  115128. expectStatementSeparator$0() {
  115129. return this.expectStatementSeparator$1(null);
  115130. },
  115131. atEndOfStatement$0() {
  115132. var next = this.scanner.peekChar$0();
  115133. return next == null || next === 59 || next === 125 || next === 123;
  115134. },
  115135. lookingAtChildren$0() {
  115136. return this.scanner.peekChar$0() === 123;
  115137. },
  115138. scanElse$1(ifIndentation) {
  115139. var t3, _this = this,
  115140. t1 = _this.scanner,
  115141. t2 = t1._string_scanner$_position;
  115142. _this.whitespace$1$consumeNewlines(true);
  115143. t3 = t1._string_scanner$_position;
  115144. if (t1.scanChar$1(64)) {
  115145. if (_this.scanIdentifier$2$caseSensitive("else", true))
  115146. return true;
  115147. if (_this.scanIdentifier$2$caseSensitive("elseif", true)) {
  115148. _this.warnings.push(new A._Record_3_deprecation_message_span(B.Deprecation_8ki, string$.x40elsei, t1.spanFrom$1(new A._SpanScannerState(t1, t3))));
  115149. t1.set$position(t1._string_scanner$_position - 2);
  115150. return true;
  115151. }
  115152. }
  115153. t1.set$state(new A._SpanScannerState(t1, t2));
  115154. return false;
  115155. },
  115156. children$1(_, child) {
  115157. var children, _this = this,
  115158. t1 = _this.scanner;
  115159. t1.expectChar$1(123);
  115160. _this.whitespaceWithoutComments$1$consumeNewlines(true);
  115161. children = A._setArrayType([], type$.JSArray_Statement_2);
  115162. for (; true;)
  115163. switch (t1.peekChar$0()) {
  115164. case 36:
  115165. children.push(_this.variableDeclarationWithoutNamespace$0());
  115166. break;
  115167. case 47:
  115168. switch (t1.peekChar$1(1)) {
  115169. case 47:
  115170. children.push(_this._scss0$_silentComment$0());
  115171. _this.whitespaceWithoutComments$1$consumeNewlines(true);
  115172. break;
  115173. case 42:
  115174. children.push(_this._scss0$_loudComment$0());
  115175. _this.whitespaceWithoutComments$1$consumeNewlines(true);
  115176. break;
  115177. default:
  115178. children.push(child.call$0());
  115179. }
  115180. break;
  115181. case 59:
  115182. t1.readChar$0();
  115183. _this.whitespaceWithoutComments$1$consumeNewlines(true);
  115184. break;
  115185. case 125:
  115186. t1.expectChar$1(125);
  115187. return children;
  115188. default:
  115189. children.push(child.call$0());
  115190. }
  115191. },
  115192. statements$1(statement) {
  115193. var t1, t2, _0_0, _1_0, _this = this,
  115194. statements = A._setArrayType([], type$.JSArray_Statement_2);
  115195. _this.whitespaceWithoutComments$1$consumeNewlines(true);
  115196. for (t1 = _this.scanner, t2 = t1.string.length; t1._string_scanner$_position !== t2;)
  115197. switch (t1.peekChar$0()) {
  115198. case 36:
  115199. statements.push(_this.variableDeclarationWithoutNamespace$0());
  115200. break;
  115201. case 47:
  115202. switch (t1.peekChar$1(1)) {
  115203. case 47:
  115204. statements.push(_this._scss0$_silentComment$0());
  115205. _this.whitespaceWithoutComments$1$consumeNewlines(true);
  115206. break;
  115207. case 42:
  115208. statements.push(_this._scss0$_loudComment$0());
  115209. _this.whitespaceWithoutComments$1$consumeNewlines(true);
  115210. break;
  115211. default:
  115212. _0_0 = statement.call$0();
  115213. if (_0_0 != null)
  115214. statements.push(_0_0);
  115215. }
  115216. break;
  115217. case 59:
  115218. t1.readChar$0();
  115219. _this.whitespaceWithoutComments$1$consumeNewlines(true);
  115220. break;
  115221. default:
  115222. _1_0 = statement.call$0();
  115223. if (_1_0 != null)
  115224. statements.push(_1_0);
  115225. }
  115226. return statements;
  115227. },
  115228. _scss0$_silentComment$0() {
  115229. var t2, t3, _this = this,
  115230. t1 = _this.scanner,
  115231. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  115232. t1.expect$1("//");
  115233. t2 = t1.string.length;
  115234. do {
  115235. while (true) {
  115236. if (t1._string_scanner$_position !== t2) {
  115237. t3 = t1.readChar$0();
  115238. t3 = !(t3 === 10 || t3 === 13 || t3 === 12);
  115239. } else
  115240. t3 = false;
  115241. if (!t3)
  115242. break;
  115243. }
  115244. if (t1._string_scanner$_position === t2)
  115245. break;
  115246. _this.spaces$0();
  115247. } while (t1.scan$1("//"));
  115248. if (_this.get$plainCss())
  115249. _this.error$2(0, string$.Silent, t1.spanFrom$1(start));
  115250. return _this.lastSilentComment = new A.SilentComment0(t1.substring$1(0, start.position), t1.spanFrom$1(start));
  115251. },
  115252. _scss0$_loudComment$0() {
  115253. var t3, t4, t5, buffer, _0_0, t6, endPosition,
  115254. t1 = this.scanner,
  115255. t2 = t1._string_scanner$_position;
  115256. t1.expect$1("/*");
  115257. t3 = new A.StringBuffer("");
  115258. t4 = A._setArrayType([], type$.JSArray_Object);
  115259. t5 = A._setArrayType([], type$.JSArray_nullable_FileSpan);
  115260. buffer = new A.InterpolationBuffer0(t3, t4, t5);
  115261. t3._contents = "" + "/*";
  115262. $label0$1:
  115263. for (; true;)
  115264. switch (t1.peekChar$0()) {
  115265. case 35:
  115266. if (t1.peekChar$1(1) === 123) {
  115267. _0_0 = this.singleInterpolation$0();
  115268. buffer._interpolation_buffer0$_flushText$0();
  115269. t4.push(_0_0._0);
  115270. t5.push(_0_0._1);
  115271. } else {
  115272. t6 = A.Primitives_stringFromCharCode(t1.readChar$0());
  115273. t3._contents += t6;
  115274. }
  115275. break;
  115276. case 42:
  115277. t6 = A.Primitives_stringFromCharCode(t1.readChar$0());
  115278. t3._contents += t6;
  115279. if (t1.peekChar$0() !== 47)
  115280. continue $label0$1;
  115281. t4 = A.Primitives_stringFromCharCode(t1.readChar$0());
  115282. t3._contents += t4;
  115283. endPosition = t1._string_scanner$_position;
  115284. t3 = t1._sourceFile;
  115285. t4 = new A._SpanScannerState(t1, t2).position;
  115286. t1 = new A._FileSpan(t3, t4, endPosition);
  115287. t1._FileSpan$3(t3, t4, endPosition);
  115288. return new A.LoudComment0(buffer.interpolation$1(t1));
  115289. case 13:
  115290. t1.readChar$0();
  115291. if (t1.peekChar$0() !== 10) {
  115292. t6 = A.Primitives_stringFromCharCode(10);
  115293. t3._contents += t6;
  115294. }
  115295. break;
  115296. case 12:
  115297. t1.readChar$0();
  115298. t6 = A.Primitives_stringFromCharCode(10);
  115299. t3._contents += t6;
  115300. break;
  115301. default:
  115302. t6 = A.Primitives_stringFromCharCode(t1.readChar$0());
  115303. t3._contents += t6;
  115304. }
  115305. }
  115306. };
  115307. A.Selector0.prototype = {
  115308. assertNotBogus$1$name($name) {
  115309. if (!this.accept$1(B._IsBogusVisitor_true0))
  115310. return;
  115311. A.warnForDeprecation0("$" + $name + ": " + (this.toString$0(0) + string$.x20is_nov), B.Deprecation_SHb);
  115312. },
  115313. toString$0(_) {
  115314. var _null = null,
  115315. visitor = A._SerializeVisitor$0(_null, true, _null, _null, true, false, _null, true);
  115316. this.accept$1(visitor);
  115317. return visitor._serialize0$_buffer.toString$0(0);
  115318. },
  115319. $isAstNode0: 1,
  115320. get$span(receiver) {
  115321. return this.span;
  115322. }
  115323. };
  115324. A._IsInvisibleVisitor2.prototype = {
  115325. visitSelectorList$1(list) {
  115326. return B.JSArray_methods.every$1(list.components, this.get$visitComplexSelector());
  115327. },
  115328. visitComplexSelector$1(complex) {
  115329. var t1;
  115330. if (!this.super$AnySelectorVisitor$visitComplexSelector0(complex))
  115331. t1 = this.includeBogus && complex.accept$1(B._IsBogusVisitor_false0);
  115332. else
  115333. t1 = true;
  115334. return t1;
  115335. },
  115336. visitPlaceholderSelector$1(placeholder) {
  115337. return true;
  115338. },
  115339. visitPseudoSelector$1(pseudo) {
  115340. var t1,
  115341. _0_0 = pseudo.selector;
  115342. if (_0_0 != null) {
  115343. if (pseudo.name === "not")
  115344. t1 = this.includeBogus && _0_0.accept$1(B._IsBogusVisitor_true0);
  115345. else
  115346. t1 = this.visitSelectorList$1(_0_0);
  115347. return t1;
  115348. } else
  115349. return false;
  115350. }
  115351. };
  115352. A._IsBogusVisitor0.prototype = {
  115353. visitComplexSelector$1(complex) {
  115354. var t2,
  115355. t1 = complex.components;
  115356. if (t1.length === 0)
  115357. return complex.leadingCombinators.length !== 0;
  115358. else {
  115359. t2 = this.includeLeadingCombinator ? 0 : 1;
  115360. 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));
  115361. }
  115362. },
  115363. visitPseudoSelector$1(pseudo) {
  115364. var selector = pseudo.selector;
  115365. if (selector == null)
  115366. return false;
  115367. return pseudo.name === "has" ? selector.accept$1(B._IsBogusVisitor_false0) : selector.accept$1(B._IsBogusVisitor_true0);
  115368. }
  115369. };
  115370. A._IsBogusVisitor_visitComplexSelector_closure0.prototype = {
  115371. call$1(component) {
  115372. return component.combinators.length > 1 || this.$this.visitCompoundSelector$1(component.selector);
  115373. },
  115374. $signature: 54
  115375. };
  115376. A._IsUselessVisitor0.prototype = {
  115377. visitComplexSelector$1(complex) {
  115378. return complex.leadingCombinators.length > 1 || B.JSArray_methods.any$1(complex.components, new A._IsUselessVisitor_visitComplexSelector_closure0(this));
  115379. },
  115380. visitPseudoSelector$1(pseudo) {
  115381. return pseudo.accept$1(B._IsBogusVisitor_true0);
  115382. }
  115383. };
  115384. A._IsUselessVisitor_visitComplexSelector_closure0.prototype = {
  115385. call$1(component) {
  115386. return component.combinators.length > 1 || this.$this.visitCompoundSelector$1(component.selector);
  115387. },
  115388. $signature: 54
  115389. };
  115390. A._ContainsParentSelectorVisitor0.prototype = {
  115391. visitParentSelector$1(_) {
  115392. return true;
  115393. }
  115394. };
  115395. A.__ContainsParentSelectorVisitor_Object_AnySelectorVisitor0.prototype = {};
  115396. A.__IsBogusVisitor_Object_AnySelectorVisitor0.prototype = {};
  115397. A.__IsInvisibleVisitor_Object_AnySelectorVisitor0.prototype = {};
  115398. A.__IsUselessVisitor_Object_AnySelectorVisitor0.prototype = {};
  115399. A.SelectorExpression0.prototype = {
  115400. accept$1$1(visitor) {
  115401. return visitor.visitSelectorExpression$1(0, this);
  115402. },
  115403. accept$1(visitor) {
  115404. return this.accept$1$1(visitor, type$.dynamic);
  115405. },
  115406. toString$0(_) {
  115407. return "&";
  115408. },
  115409. get$span(receiver) {
  115410. return this.span;
  115411. }
  115412. };
  115413. A._nest_closure0.prototype = {
  115414. call$1($arguments) {
  115415. var t1 = {},
  115416. selectors = J.$index$asx($arguments, 0).get$asList();
  115417. if (selectors.length === 0)
  115418. throw A.wrapException(A.SassScriptException$0(string$.x24selec, null));
  115419. t1.first = true;
  115420. 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();
  115421. },
  115422. $signature: 29
  115423. };
  115424. A._nest__closure1.prototype = {
  115425. call$1(selector) {
  115426. var t1 = this._box_0,
  115427. result = A.SassApiValue_assertSelector0(selector, !t1.first, null);
  115428. t1.first = false;
  115429. return result;
  115430. },
  115431. $signature: 261
  115432. };
  115433. A._nest__closure2.prototype = {
  115434. call$2($parent, child) {
  115435. return child.nestWithin$1($parent);
  115436. },
  115437. $signature: 262
  115438. };
  115439. A._append_closure1.prototype = {
  115440. call$1($arguments) {
  115441. var t1,
  115442. selectors = J.$index$asx($arguments, 0).get$asList();
  115443. if (selectors.length === 0)
  115444. throw A.wrapException(A.SassScriptException$0(string$.x24selec, null));
  115445. t1 = A.EvaluationContext_currentOrNull0();
  115446. 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();
  115447. },
  115448. $signature: 29
  115449. };
  115450. A._append__closure1.prototype = {
  115451. call$1(selector) {
  115452. return A.SassApiValue_assertSelector0(selector, false, null);
  115453. },
  115454. $signature: 261
  115455. };
  115456. A._append__closure2.prototype = {
  115457. call$2($parent, child) {
  115458. var t1 = child.components,
  115459. t2 = this.span;
  115460. 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);
  115461. },
  115462. $signature: 262
  115463. };
  115464. A._append___closure0.prototype = {
  115465. call$1(complex) {
  115466. var _0_0, t1, component, rest, newCompound, t2, _null = null;
  115467. if (complex.leadingCombinators.length !== 0)
  115468. throw A.wrapException(A.SassScriptException$0("Can't append " + complex.toString$0(0) + " to " + this.parent.toString$0(0) + ".", _null));
  115469. _0_0 = complex.components;
  115470. t1 = _0_0.length >= 1;
  115471. if (t1) {
  115472. component = _0_0[0];
  115473. rest = B.JSArray_methods.sublist$1(_0_0, 1);
  115474. } else {
  115475. rest = _null;
  115476. component = rest;
  115477. }
  115478. if (!t1)
  115479. throw A.wrapException(A.StateError$("Pattern matching error"));
  115480. newCompound = A._prependParent0(component.selector);
  115481. if (newCompound == null)
  115482. throw A.wrapException(A.SassScriptException$0("Can't append " + complex.toString$0(0) + " to " + this.parent.toString$0(0) + ".", _null));
  115483. t1 = this.span;
  115484. t2 = A._setArrayType([new A.ComplexSelectorComponent0(newCompound, A.List_List$unmodifiable(component.combinators, type$.CssValue_Combinator_2), t1)], type$.JSArray_ComplexSelectorComponent_2);
  115485. B.JSArray_methods.addAll$1(t2, rest);
  115486. return A.ComplexSelector$0(B.List_empty16, t2, t1, false);
  115487. },
  115488. $signature: 58
  115489. };
  115490. A._extend_closure0.prototype = {
  115491. call$1($arguments) {
  115492. var target, source,
  115493. _s8_ = "selector",
  115494. _s8_0 = "extendee",
  115495. _s8_1 = "extender",
  115496. t1 = J.getInterceptor$asx($arguments),
  115497. selector = A.SassApiValue_assertSelector0(t1.$index($arguments, 0), false, _s8_);
  115498. selector.assertNotBogus$1$name(_s8_);
  115499. target = A.SassApiValue_assertSelector0(t1.$index($arguments, 1), false, _s8_0);
  115500. target.assertNotBogus$1$name(_s8_0);
  115501. source = A.SassApiValue_assertSelector0(t1.$index($arguments, 2), false, _s8_1);
  115502. source.assertNotBogus$1$name(_s8_1);
  115503. t1 = A.EvaluationContext_currentOrNull0();
  115504. 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();
  115505. },
  115506. $signature: 29
  115507. };
  115508. A._replace_closure0.prototype = {
  115509. call$1($arguments) {
  115510. var target, source,
  115511. _s8_ = "selector",
  115512. _s8_0 = "original",
  115513. _s11_ = "replacement",
  115514. t1 = J.getInterceptor$asx($arguments),
  115515. selector = A.SassApiValue_assertSelector0(t1.$index($arguments, 0), false, _s8_);
  115516. selector.assertNotBogus$1$name(_s8_);
  115517. target = A.SassApiValue_assertSelector0(t1.$index($arguments, 1), false, _s8_0);
  115518. target.assertNotBogus$1$name(_s8_0);
  115519. source = A.SassApiValue_assertSelector0(t1.$index($arguments, 2), false, _s11_);
  115520. source.assertNotBogus$1$name(_s11_);
  115521. t1 = A.EvaluationContext_currentOrNull0();
  115522. 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();
  115523. },
  115524. $signature: 29
  115525. };
  115526. A._unify_closure0.prototype = {
  115527. call$1($arguments) {
  115528. var selector2,
  115529. _s9_ = "selector1",
  115530. _s9_0 = "selector2",
  115531. t1 = J.getInterceptor$asx($arguments),
  115532. selector1 = A.SassApiValue_assertSelector0(t1.$index($arguments, 0), false, _s9_);
  115533. selector1.assertNotBogus$1$name(_s9_);
  115534. selector2 = A.SassApiValue_assertSelector0(t1.$index($arguments, 1), false, _s9_0);
  115535. selector2.assertNotBogus$1$name(_s9_0);
  115536. t1 = selector1.unify$1(selector2);
  115537. t1 = t1 == null ? null : t1.get$asSassList();
  115538. return t1 == null ? B.C__SassNull0 : t1;
  115539. },
  115540. $signature: 3
  115541. };
  115542. A._isSuperselector_closure0.prototype = {
  115543. call$1($arguments) {
  115544. var selector2,
  115545. t1 = J.getInterceptor$asx($arguments),
  115546. selector1 = A.SassApiValue_assertSelector0(t1.$index($arguments, 0), false, "super");
  115547. selector1.assertNotBogus$1$name("super");
  115548. selector2 = A.SassApiValue_assertSelector0(t1.$index($arguments, 1), false, "sub");
  115549. selector2.assertNotBogus$1$name("sub");
  115550. return A.listIsSuperselector0(selector1.components, selector2.components) ? B.SassBoolean_true0 : B.SassBoolean_false0;
  115551. },
  115552. $signature: 11
  115553. };
  115554. A._simpleSelectors_closure0.prototype = {
  115555. call$1($arguments) {
  115556. var t1 = A.SassApiValue_assertCompoundSelector0(J.$index$asx($arguments, 0), "selector").components;
  115557. return A.SassList$0(new A.MappedListIterable(t1, new A._simpleSelectors__closure0(), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,Value0>")), B.ListSeparator_qVN0, false);
  115558. },
  115559. $signature: 29
  115560. };
  115561. A._simpleSelectors__closure0.prototype = {
  115562. call$1(simple) {
  115563. return new A.SassString0(A.serializeSelector0(simple, true), false);
  115564. },
  115565. $signature: 571
  115566. };
  115567. A._parse_closure0.prototype = {
  115568. call$1($arguments) {
  115569. return A.SassApiValue_assertSelector0(J.$index$asx($arguments, 0), false, "selector").get$asSassList();
  115570. },
  115571. $signature: 29
  115572. };
  115573. A.SelectorParser0.prototype = {
  115574. parse$0(_) {
  115575. return this.wrapSpanFormatException$1(new A.SelectorParser_parse_closure0(this));
  115576. },
  115577. parseCompoundSelector$0() {
  115578. return this.wrapSpanFormatException$1(new A.SelectorParser_parseCompoundSelector_closure0(this));
  115579. },
  115580. _selector$_selectorList$0() {
  115581. var t4, t5, lineBreak, _this = this,
  115582. t1 = _this.scanner,
  115583. t2 = t1._string_scanner$_position,
  115584. t3 = t1._sourceFile,
  115585. previousLine = t3.getLine$1(t2),
  115586. components = A._setArrayType([_this._selector$_complexSelector$0()], type$.JSArray_ComplexSelector_2);
  115587. _this.whitespace$1$consumeNewlines(true);
  115588. for (t4 = t1.string.length; t1.scanChar$1(44);) {
  115589. _this.whitespace$1$consumeNewlines(true);
  115590. if (t1.peekChar$0() === 44)
  115591. continue;
  115592. t5 = t1._string_scanner$_position;
  115593. if (t5 === t4)
  115594. break;
  115595. lineBreak = t3.getLine$1(t5) !== previousLine;
  115596. if (lineBreak)
  115597. previousLine = t3.getLine$1(t1._string_scanner$_position);
  115598. components.push(_this._selector$_complexSelector$1$lineBreak(lineBreak));
  115599. }
  115600. return A.SelectorList$0(components, _this.spanFrom$1(new A._SpanScannerState(t1, t2)));
  115601. },
  115602. _selector$_complexSelector$1$lineBreak(lineBreak) {
  115603. var t4, lastCompound, initialCombinators, _0_0, t5, result, _this = this,
  115604. _s18_ = "expected selector.",
  115605. t1 = _this.scanner,
  115606. t2 = t1._string_scanner$_position,
  115607. componentStart = new A._SpanScannerState(t1, t2),
  115608. t3 = type$.JSArray_CssValue_Combinator_2,
  115609. combinators = A._setArrayType([], t3),
  115610. components = A._setArrayType([], type$.JSArray_ComplexSelectorComponent_2);
  115611. for (t4 = type$.CssValue_Combinator_2, lastCompound = null, initialCombinators = null; true;) {
  115612. _this.whitespace$1$consumeNewlines(true);
  115613. _0_0 = t1.peekChar$0();
  115614. if (43 === _0_0) {
  115615. t5 = t1._string_scanner$_position;
  115616. t1.readChar$0();
  115617. combinators.push(new A.CssValue0(B.Combinator_bOP0, _this.spanFrom$1(new A._SpanScannerState(t1, t5)), t4));
  115618. continue;
  115619. }
  115620. if (62 === _0_0) {
  115621. t5 = t1._string_scanner$_position;
  115622. t1.readChar$0();
  115623. combinators.push(new A.CssValue0(B.Combinator_0mp0, _this.spanFrom$1(new A._SpanScannerState(t1, t5)), t4));
  115624. continue;
  115625. }
  115626. if (126 === _0_0) {
  115627. t5 = t1._string_scanner$_position;
  115628. t1.readChar$0();
  115629. combinators.push(new A.CssValue0(B.Combinator_55N0, _this.spanFrom$1(new A._SpanScannerState(t1, t5)), t4));
  115630. continue;
  115631. }
  115632. if (_0_0 == null)
  115633. break;
  115634. t5 = true;
  115635. if (91 !== _0_0)
  115636. if (46 !== _0_0)
  115637. if (35 !== _0_0)
  115638. if (37 !== _0_0)
  115639. if (58 !== _0_0)
  115640. if (38 !== _0_0)
  115641. if (42 !== _0_0)
  115642. if (124 !== _0_0)
  115643. t5 = _this.lookingAtIdentifier$0();
  115644. if (t5) {
  115645. if (lastCompound != null) {
  115646. t5 = _this.spanFrom$1(componentStart);
  115647. result = A.List_List$from(combinators, false, t4);
  115648. result.$flags = 3;
  115649. components.push(new A.ComplexSelectorComponent0(lastCompound, result, t5));
  115650. } else if (combinators.length !== 0) {
  115651. componentStart = new A._SpanScannerState(t1, t1._string_scanner$_position);
  115652. initialCombinators = combinators;
  115653. }
  115654. lastCompound = _this._selector$_compoundSelector$0();
  115655. combinators = A._setArrayType([], t3);
  115656. if (t1.peekChar$0() === 38)
  115657. t1.error$1(0, string$.x22x26__ma);
  115658. continue;
  115659. }
  115660. break;
  115661. }
  115662. t3 = combinators.length !== 0;
  115663. if (t3 && _this._selector$_plainCss)
  115664. t1.error$1(0, _s18_);
  115665. else if (lastCompound != null) {
  115666. t3 = _this.spanFrom$1(componentStart);
  115667. components.push(new A.ComplexSelectorComponent0(lastCompound, A.List_List$unmodifiable(combinators, t4), t3));
  115668. } else if (t3)
  115669. initialCombinators = combinators;
  115670. else
  115671. t1.error$1(0, _s18_);
  115672. t3 = initialCombinators == null ? B.List_empty16 : initialCombinators;
  115673. return A.ComplexSelector$0(t3, components, _this.spanFrom$1(new A._SpanScannerState(t1, t2)), lineBreak);
  115674. },
  115675. _selector$_complexSelector$0() {
  115676. return this._selector$_complexSelector$1$lineBreak(false);
  115677. },
  115678. _selector$_compoundSelector$0() {
  115679. var t3, _this = this,
  115680. t1 = _this.scanner,
  115681. t2 = t1._string_scanner$_position,
  115682. components = A._setArrayType([_this._selector$_simpleSelector$0()], type$.JSArray_SimpleSelector_2);
  115683. for (t3 = _this._selector$_plainCss; _this._selector$_isSimpleSelectorStart$1(t1.peekChar$0());)
  115684. components.push(_this._selector$_simpleSelector$1$allowParent(t3));
  115685. return A.CompoundSelector$0(components, _this.spanFrom$1(new A._SpanScannerState(t1, t2)));
  115686. },
  115687. _selector$_simpleSelector$1$allowParent(allowParent) {
  115688. var t2, $name, text, t3, suffix, _this = this,
  115689. t1 = _this.scanner,
  115690. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  115691. if (allowParent == null)
  115692. allowParent = _this._selector$_allowParent;
  115693. switch (t1.peekChar$0()) {
  115694. case 91:
  115695. return _this._selector$_attributeSelector$0();
  115696. case 46:
  115697. t2 = t1._string_scanner$_position;
  115698. t1.expectChar$1(46);
  115699. return new A.ClassSelector0(_this.identifier$0(), _this.spanFrom$1(new A._SpanScannerState(t1, t2)));
  115700. case 35:
  115701. t2 = t1._string_scanner$_position;
  115702. t1.expectChar$1(35);
  115703. return new A.IDSelector0(_this.identifier$0(), _this.spanFrom$1(new A._SpanScannerState(t1, t2)));
  115704. case 37:
  115705. t2 = t1._string_scanner$_position;
  115706. t1.expectChar$1(37);
  115707. $name = _this.identifier$0();
  115708. t2 = _this.spanFrom$1(new A._SpanScannerState(t1, t2));
  115709. if (_this._selector$_plainCss)
  115710. _this.error$2(0, string$.Placeh, t1.spanFrom$1(start));
  115711. return new A.PlaceholderSelector0($name, t2);
  115712. case 58:
  115713. return _this._selector$_pseudoSelector$0();
  115714. case 38:
  115715. t2 = t1._string_scanner$_position;
  115716. t1.expectChar$1(38);
  115717. if (_this.lookingAtIdentifierBody$0()) {
  115718. text = new A.StringBuffer("");
  115719. _this._parser1$_identifierBody$1(text);
  115720. if (text._contents.length === 0)
  115721. t1.error$1(0, "Expected identifier body.");
  115722. t3 = text._contents;
  115723. suffix = t3.charCodeAt(0) == 0 ? t3 : t3;
  115724. } else
  115725. suffix = null;
  115726. if (_this._selector$_plainCss && suffix != null)
  115727. t1.error$3$length$position(0, string$.Parent, t1._string_scanner$_position - t2, t2);
  115728. t2 = _this.spanFrom$1(new A._SpanScannerState(t1, t2));
  115729. if (!allowParent)
  115730. _this.error$2(0, "Parent selectors aren't allowed here.", t1.spanFrom$1(start));
  115731. return new A.ParentSelector0(suffix, t2);
  115732. default:
  115733. return _this._selector$_typeOrUniversalSelector$0();
  115734. }
  115735. },
  115736. _selector$_simpleSelector$0() {
  115737. return this._selector$_simpleSelector$1$allowParent(null);
  115738. },
  115739. _selector$_attributeSelector$0() {
  115740. var $name, operator, next, value, modifier, _this = this, _null = null,
  115741. t1 = _this.scanner,
  115742. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  115743. t1.expectChar$1(91);
  115744. _this.whitespace$1$consumeNewlines(true);
  115745. $name = _this._selector$_attributeName$0();
  115746. _this.whitespace$1$consumeNewlines(true);
  115747. if (t1.scanChar$1(93))
  115748. return new A.AttributeSelector0($name, _null, _null, _null, _this.spanFrom$1(start));
  115749. operator = _this._selector$_attributeOperator$0();
  115750. _this.whitespace$1$consumeNewlines(true);
  115751. next = t1.peekChar$0();
  115752. value = next === 39 || next === 34 ? _this.string$0() : _this.identifier$0();
  115753. _this.whitespace$1$consumeNewlines(true);
  115754. next = t1.peekChar$0();
  115755. modifier = next != null && A.CharacterExtension_get_isAlphabetic0(next) ? A.Primitives_stringFromCharCode(t1.readChar$0()) : _null;
  115756. t1.expectChar$1(93);
  115757. return new A.AttributeSelector0($name, operator, value, modifier, _this.spanFrom$1(start));
  115758. },
  115759. _selector$_attributeName$0() {
  115760. var nameOrNamespace, _this = this,
  115761. t1 = _this.scanner;
  115762. if (t1.scanChar$1(42)) {
  115763. t1.expectChar$1(124);
  115764. return new A.QualifiedName0(_this.identifier$0(), "*");
  115765. }
  115766. if (t1.scanChar$1(124))
  115767. return new A.QualifiedName0(_this.identifier$0(), "");
  115768. nameOrNamespace = _this.identifier$0();
  115769. if (t1.peekChar$0() !== 124 || t1.peekChar$1(1) === 61)
  115770. return new A.QualifiedName0(nameOrNamespace, null);
  115771. t1.readChar$0();
  115772. return new A.QualifiedName0(_this.identifier$0(), nameOrNamespace);
  115773. },
  115774. _selector$_attributeOperator$0() {
  115775. var t1 = this.scanner,
  115776. t2 = t1._string_scanner$_position;
  115777. switch (t1.readChar$0()) {
  115778. case 61:
  115779. return B.AttributeOperator_Lvy0;
  115780. case 126:
  115781. t1.expectChar$1(61);
  115782. return B.AttributeOperator_fp20;
  115783. case 124:
  115784. t1.expectChar$1(61);
  115785. return B.AttributeOperator_iyP0;
  115786. case 94:
  115787. t1.expectChar$1(61);
  115788. return B.AttributeOperator_JzP0;
  115789. case 36:
  115790. t1.expectChar$1(61);
  115791. return B.AttributeOperator_U1W0;
  115792. case 42:
  115793. t1.expectChar$1(61);
  115794. return B.AttributeOperator_GWq0;
  115795. default:
  115796. t1.error$2$position(0, 'Expected "]".', t2);
  115797. }
  115798. },
  115799. _selector$_pseudoSelector$0() {
  115800. var element, $name, unvendored, argument, selector, t2, _this = this, _null = null,
  115801. t1 = _this.scanner,
  115802. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  115803. t1.expectChar$1(58);
  115804. element = t1.scanChar$1(58);
  115805. $name = _this.identifier$0();
  115806. if (!t1.scanChar$1(40))
  115807. return A.PseudoSelector$0($name, _this.spanFrom$1(start), _null, element, _null);
  115808. _this.whitespace$1$consumeNewlines(true);
  115809. unvendored = A.unvendor0($name);
  115810. argument = _null;
  115811. selector = _null;
  115812. if (element)
  115813. if ($._selectorPseudoElements0.contains$1(0, unvendored))
  115814. selector = _this._selector$_selectorList$0();
  115815. else
  115816. argument = _this.declarationValue$1$allowEmpty(true);
  115817. else if ($._selectorPseudoClasses0.contains$1(0, unvendored))
  115818. selector = _this._selector$_selectorList$0();
  115819. else if (unvendored === "nth-child" || unvendored === "nth-last-child") {
  115820. argument = _this._selector$_aNPlusB$0();
  115821. _this.whitespace$1$consumeNewlines(true);
  115822. t2 = t1.peekChar$1(-1);
  115823. if ((t2 === 32 || t2 === 9 || t2 === 10 || t2 === 13 || t2 === 12) && t1.peekChar$0() !== 41) {
  115824. _this.expectIdentifier$1("of");
  115825. argument += " of";
  115826. _this.whitespace$1$consumeNewlines(true);
  115827. selector = _this._selector$_selectorList$0();
  115828. }
  115829. } else
  115830. argument = B.JSString_methods.trimRight$0(_this.declarationValue$1$allowEmpty(true));
  115831. t1.expectChar$1(41);
  115832. return A.PseudoSelector$0($name, _this.spanFrom$1(start), argument, element, selector);
  115833. },
  115834. _selector$_aNPlusB$0() {
  115835. var t1, _0_0, t2, $self, next, _this = this;
  115836. $label0$0: {
  115837. t1 = _this.scanner;
  115838. _0_0 = t1.peekChar$0();
  115839. if (101 === _0_0 || 69 === _0_0) {
  115840. _this.expectIdentifier$1("even");
  115841. return "even";
  115842. }
  115843. if (111 === _0_0 || 79 === _0_0) {
  115844. _this.expectIdentifier$1("odd");
  115845. return "odd";
  115846. }
  115847. if (43 === _0_0 || 45 === _0_0) {
  115848. t2 = "" + A.Primitives_stringFromCharCode(t1.readChar$0());
  115849. break $label0$0;
  115850. }
  115851. t2 = "";
  115852. }
  115853. $self = t1.peekChar$0();
  115854. if ($self != null && $self >= 48 && $self <= 57) {
  115855. do {
  115856. t2 += A.Primitives_stringFromCharCode(t1.readChar$0());
  115857. $self = t1.peekChar$0();
  115858. } while ($self != null && $self >= 48 && $self <= 57);
  115859. _this.whitespace$1$consumeNewlines(true);
  115860. if (!_this.scanIdentChar$1(110))
  115861. return t2.charCodeAt(0) == 0 ? t2 : t2;
  115862. } else
  115863. _this.expectIdentChar$1(110);
  115864. t2 += A.Primitives_stringFromCharCode(110);
  115865. _this.whitespace$1$consumeNewlines(true);
  115866. next = t1.peekChar$0();
  115867. if (next !== 43 && next !== 45)
  115868. return t2.charCodeAt(0) == 0 ? t2 : t2;
  115869. t2 += A.Primitives_stringFromCharCode(t1.readChar$0());
  115870. _this.whitespace$1$consumeNewlines(true);
  115871. $self = t1.peekChar$0();
  115872. if (!($self != null && $self >= 48 && $self <= 57))
  115873. t1.error$1(0, "Expected a number.");
  115874. do {
  115875. t2 += A.Primitives_stringFromCharCode(t1.readChar$0());
  115876. $self = t1.peekChar$0();
  115877. } while ($self != null && $self >= 48 && $self <= 57);
  115878. return t2.charCodeAt(0) == 0 ? t2 : t2;
  115879. },
  115880. _selector$_typeOrUniversalSelector$0() {
  115881. var nameOrNamespace, _this = this,
  115882. t1 = _this.scanner,
  115883. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  115884. if (t1.scanChar$1(42)) {
  115885. if (!t1.scanChar$1(124))
  115886. return new A.UniversalSelector0(null, _this.spanFrom$1(start));
  115887. 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));
  115888. } else if (t1.scanChar$1(124))
  115889. 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));
  115890. nameOrNamespace = _this.identifier$0();
  115891. if (!t1.scanChar$1(124))
  115892. return new A.TypeSelector0(new A.QualifiedName0(nameOrNamespace, null), _this.spanFrom$1(start));
  115893. else if (t1.scanChar$1(42))
  115894. return new A.UniversalSelector0(nameOrNamespace, _this.spanFrom$1(start));
  115895. else
  115896. return new A.TypeSelector0(new A.QualifiedName0(_this.identifier$0(), nameOrNamespace), _this.spanFrom$1(start));
  115897. },
  115898. _selector$_isSimpleSelectorStart$1(character) {
  115899. var t1;
  115900. $label0$0: {
  115901. if (42 === character || 91 === character || 46 === character || 35 === character || 37 === character || 58 === character) {
  115902. t1 = true;
  115903. break $label0$0;
  115904. }
  115905. if (38 === character) {
  115906. t1 = this._selector$_plainCss;
  115907. break $label0$0;
  115908. }
  115909. t1 = false;
  115910. break $label0$0;
  115911. }
  115912. return t1;
  115913. }
  115914. };
  115915. A.SelectorParser_parse_closure0.prototype = {
  115916. call$0() {
  115917. var t1 = this.$this,
  115918. selector = t1._selector$_selectorList$0();
  115919. t1 = t1.scanner;
  115920. if (t1._string_scanner$_position !== t1.string.length)
  115921. t1.error$1(0, "expected selector.");
  115922. return selector;
  115923. },
  115924. $signature: 572
  115925. };
  115926. A.SelectorParser_parseCompoundSelector_closure0.prototype = {
  115927. call$0() {
  115928. var t1 = this.$this,
  115929. compound = t1._selector$_compoundSelector$0();
  115930. t1 = t1.scanner;
  115931. if (t1._string_scanner$_position !== t1.string.length)
  115932. t1.error$1(0, "expected selector.");
  115933. return compound;
  115934. },
  115935. $signature: 573
  115936. };
  115937. A.SelectorSearchVisitor0.prototype = {
  115938. visitAttributeSelector$1(attribute) {
  115939. return null;
  115940. },
  115941. visitClassSelector$1(klass) {
  115942. return null;
  115943. },
  115944. visitIDSelector$1(id) {
  115945. return null;
  115946. },
  115947. visitParentSelector$1(placeholder) {
  115948. return null;
  115949. },
  115950. visitPlaceholderSelector$1(placeholder) {
  115951. return null;
  115952. },
  115953. visitTypeSelector$1(type) {
  115954. return null;
  115955. },
  115956. visitUniversalSelector$1(universal) {
  115957. return null;
  115958. },
  115959. visitComplexSelector$1(complex) {
  115960. return A.IterableExtension_search0(complex.components, new A.SelectorSearchVisitor_visitComplexSelector_closure0(this));
  115961. },
  115962. visitCompoundSelector$1(compound) {
  115963. return A.IterableExtension_search0(compound.components, new A.SelectorSearchVisitor_visitCompoundSelector_closure0(this));
  115964. },
  115965. visitPseudoSelector$1(pseudo) {
  115966. return A.NullableExtension_andThen0(pseudo.selector, this.get$visitSelectorList());
  115967. },
  115968. visitSelectorList$1(list) {
  115969. return A.IterableExtension_search0(list.components, this.get$visitComplexSelector());
  115970. }
  115971. };
  115972. A.SelectorSearchVisitor_visitComplexSelector_closure0.prototype = {
  115973. call$1(component) {
  115974. return this.$this.visitCompoundSelector$1(component.selector);
  115975. },
  115976. $signature() {
  115977. return A._instanceType(this.$this)._eval$1("SelectorSearchVisitor0.T?(ComplexSelectorComponent0)");
  115978. }
  115979. };
  115980. A.SelectorSearchVisitor_visitCompoundSelector_closure0.prototype = {
  115981. call$1(simple) {
  115982. return simple.accept$1(this.$this);
  115983. },
  115984. $signature() {
  115985. return A._instanceType(this.$this)._eval$1("SelectorSearchVisitor0.T?(SimpleSelector0)");
  115986. }
  115987. };
  115988. A.serialize_closure0.prototype = {
  115989. call$1(codeUnit) {
  115990. return codeUnit > 127;
  115991. },
  115992. $signature: 47
  115993. };
  115994. A._SerializeVisitor0.prototype = {
  115995. visitCssStylesheet$1(node) {
  115996. var t1, t2, t3, t4, t5, t6, t7, previous, previous0, t8, _this = this;
  115997. 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();) {
  115998. previous0 = t1.get$current(t1);
  115999. if (t2)
  116000. t8 = t3 ? previous0.accept$1(B._IsInvisibleVisitor_true_true0) : previous0.accept$1(B._IsInvisibleVisitor_true_false0);
  116001. else
  116002. t8 = false;
  116003. if (t8)
  116004. continue;
  116005. if (previous != null) {
  116006. if (t5._is(previous) ? previous.get$isChildless() : !(previous instanceof A.ModifiableCssComment0))
  116007. t6.writeCharCode$1(59);
  116008. if (_this._serialize0$_isTrailingComment$2(previous0, previous)) {
  116009. if (t4)
  116010. t6.writeCharCode$1(32);
  116011. } else {
  116012. if (t4)
  116013. t6.write$1(0, t7);
  116014. if (previous.get$isGroupEnd())
  116015. if (t4)
  116016. t6.write$1(0, t7);
  116017. }
  116018. }
  116019. previous0.accept$1(_this);
  116020. previous = previous0;
  116021. }
  116022. if (previous != null)
  116023. t1 = (t5._is(previous) ? previous.get$isChildless() : !(previous instanceof A.ModifiableCssComment0)) && t4;
  116024. else
  116025. t1 = false;
  116026. if (t1)
  116027. t6.writeCharCode$1(59);
  116028. },
  116029. visitCssComment$1(node) {
  116030. this._serialize0$_buffer.forSpan$2(node.span, new A._SerializeVisitor_visitCssComment_closure0(this, node));
  116031. },
  116032. visitCssAtRule$1(node) {
  116033. var t1, _this = this;
  116034. _this._serialize0$_writeIndentation$0();
  116035. t1 = _this._serialize0$_buffer;
  116036. t1.forSpan$2(node.span, new A._SerializeVisitor_visitCssAtRule_closure0(_this, node));
  116037. if (!node.isChildless) {
  116038. if (_this._serialize0$_style !== B.OutputStyle_10)
  116039. t1.writeCharCode$1(32);
  116040. _this._serialize0$_visitChildren$1(node);
  116041. }
  116042. },
  116043. visitCssMediaRule$1(node) {
  116044. var t1, _this = this;
  116045. _this._serialize0$_writeIndentation$0();
  116046. t1 = _this._serialize0$_buffer;
  116047. t1.forSpan$2(node.span, new A._SerializeVisitor_visitCssMediaRule_closure0(_this, node));
  116048. if (_this._serialize0$_style !== B.OutputStyle_10)
  116049. t1.writeCharCode$1(32);
  116050. _this._serialize0$_visitChildren$1(node);
  116051. },
  116052. visitCssImport$1(node) {
  116053. this._serialize0$_writeIndentation$0();
  116054. this._serialize0$_buffer.forSpan$2(node.span, new A._SerializeVisitor_visitCssImport_closure0(this, node));
  116055. },
  116056. _serialize0$_writeImportUrl$1(url) {
  116057. var urlContents, maybeQuote, _this = this;
  116058. if (_this._serialize0$_style !== B.OutputStyle_10 || url.charCodeAt(0) !== 117) {
  116059. _this._serialize0$_buffer.write$1(0, url);
  116060. return;
  116061. }
  116062. urlContents = B.JSString_methods.substring$2(url, 4, url.length - 1);
  116063. maybeQuote = urlContents.charCodeAt(0);
  116064. if (maybeQuote === 39 || maybeQuote === 34)
  116065. _this._serialize0$_buffer.write$1(0, urlContents);
  116066. else
  116067. _this._serialize0$_visitQuotedString$1(urlContents);
  116068. },
  116069. visitCssKeyframeBlock$1(node) {
  116070. var t1, _this = this;
  116071. _this._serialize0$_writeIndentation$0();
  116072. t1 = _this._serialize0$_buffer;
  116073. t1.forSpan$2(node.selector.span, new A._SerializeVisitor_visitCssKeyframeBlock_closure0(_this, node));
  116074. if (_this._serialize0$_style !== B.OutputStyle_10)
  116075. t1.writeCharCode$1(32);
  116076. _this._serialize0$_visitChildren$1(node);
  116077. },
  116078. _serialize0$_visitMediaQuery$1(query) {
  116079. var t1, _1_0, _2_0, condition, operator, t2, _this = this,
  116080. _0_0 = query.modifier;
  116081. if (_0_0 != null) {
  116082. t1 = _this._serialize0$_buffer;
  116083. t1.write$1(0, _0_0);
  116084. t1.writeCharCode$1(32);
  116085. }
  116086. _1_0 = query.type;
  116087. if (_1_0 != null) {
  116088. t1 = _this._serialize0$_buffer;
  116089. t1.write$1(0, _1_0);
  116090. if (query.conditions.length !== 0)
  116091. t1.write$1(0, " and ");
  116092. }
  116093. _2_0 = query.conditions;
  116094. if (_2_0.length === 1)
  116095. t1 = B.JSString_methods.startsWith$1(_2_0[0], "(not ");
  116096. else
  116097. t1 = false;
  116098. if (t1) {
  116099. t1 = _this._serialize0$_buffer;
  116100. t1.write$1(0, "not ");
  116101. condition = B.JSArray_methods.get$first(_2_0);
  116102. t1.write$1(0, B.JSString_methods.substring$2(condition, 5, condition.length - 1));
  116103. } else {
  116104. operator = query.conjunction ? "and" : "or";
  116105. t1 = _this._serialize0$_style === B.OutputStyle_10 ? operator + " " : " " + operator + " ";
  116106. t2 = _this._serialize0$_buffer;
  116107. _this._serialize0$_writeBetween$3(_2_0, t1, t2.get$write(t2));
  116108. }
  116109. },
  116110. visitCssStyleRule$1(node) {
  116111. var t1, _this = this;
  116112. _this._serialize0$_writeIndentation$0();
  116113. t1 = _this._serialize0$_buffer;
  116114. t1.forSpan$2(node._style_rule0$_selector._box0$_inner.value.span, new A._SerializeVisitor_visitCssStyleRule_closure0(_this, node));
  116115. if (_this._serialize0$_style !== B.OutputStyle_10)
  116116. t1.writeCharCode$1(32);
  116117. _this._serialize0$_visitChildren$1(node);
  116118. },
  116119. visitCssSupportsRule$1(node) {
  116120. var t1, _this = this;
  116121. _this._serialize0$_writeIndentation$0();
  116122. t1 = _this._serialize0$_buffer;
  116123. t1.forSpan$2(node.span, new A._SerializeVisitor_visitCssSupportsRule_closure0(_this, node));
  116124. if (_this._serialize0$_style !== B.OutputStyle_10)
  116125. t1.writeCharCode$1(32);
  116126. _this._serialize0$_visitChildren$1(node);
  116127. },
  116128. visitCssDeclaration$1(node) {
  116129. var error, stackTrace, error0, stackTrace0, t3, declSpecificities, t4, t5, t6, t7, _i, rule, ruleSpecificities, exception, _this = this,
  116130. t1 = node.interleavedRules,
  116131. t2 = t1.length;
  116132. if (t2 !== 0) {
  116133. t3 = node._node$_parent;
  116134. t3.toString;
  116135. declSpecificities = _this._serialize0$_specificities$1(t3);
  116136. for (t3 = _this._serialize0$_logger, t4 = node.span, t5 = type$.SourceSpan, t6 = type$.String, t7 = node.trace, _i = 0; _i < t2; ++_i) {
  116137. rule = t1[_i];
  116138. ruleSpecificities = _this._serialize0$_specificities$1(rule);
  116139. if (!declSpecificities.any$1(0, ruleSpecificities.get$contains(ruleSpecificities)))
  116140. continue;
  116141. 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);
  116142. }
  116143. }
  116144. _this._serialize0$_writeIndentation$0();
  116145. t1 = node.name;
  116146. _this._serialize0$_write$1(t1);
  116147. t2 = _this._serialize0$_buffer;
  116148. t2.writeCharCode$1(58);
  116149. if (J.startsWith$1$s(t1.value, "--") && node.parsedAsCustomProperty)
  116150. t2.forSpan$2(node.value.span, new A._SerializeVisitor_visitCssDeclaration_closure1(_this, node));
  116151. else {
  116152. if (_this._serialize0$_style !== B.OutputStyle_10)
  116153. t2.writeCharCode$1(32);
  116154. try {
  116155. t2.forSpan$2(node.valueSpanForMap, new A._SerializeVisitor_visitCssDeclaration_closure2(_this, node));
  116156. } catch (exception) {
  116157. t1 = A.unwrapException(exception);
  116158. if (t1 instanceof A.MultiSpanSassScriptException0) {
  116159. error = t1;
  116160. stackTrace = A.getTraceFromException(exception);
  116161. A.throwWithTrace0(A.MultiSpanSassException$0(error.message, node.value.span, error.primaryLabel, error.secondarySpans, null), error, stackTrace);
  116162. } else if (t1 instanceof A.SassScriptException0) {
  116163. error0 = t1;
  116164. stackTrace0 = A.getTraceFromException(exception);
  116165. t1 = error0.message;
  116166. A.throwWithTrace0(new A.SassException0(B.Set_empty, t1, node.value.span), error0, stackTrace0);
  116167. } else
  116168. throw exception;
  116169. }
  116170. }
  116171. },
  116172. _serialize0$_specificities$1(node) {
  116173. var $parent, t2, t3, _i,
  116174. t1 = this.get$_serialize0$_specificities();
  116175. if (node instanceof A.ModifiableCssStyleRule0) {
  116176. t1 = A.NullableExtension_andThen0(node._node$_parent, t1);
  116177. $parent = t1 == null ? null : A.IterableIntegerExtension_get_max(t1);
  116178. if ($parent == null)
  116179. $parent = 0;
  116180. t1 = A.LinkedHashSet_LinkedHashSet$_empty(type$.int);
  116181. for (t2 = node._style_rule0$_selector._box0$_inner.value.components, t3 = t2.length, _i = 0; _i < t3; ++_i)
  116182. t1.add$1(0, $parent + t2[_i].get$specificity());
  116183. return t1;
  116184. } else {
  116185. t1 = A.NullableExtension_andThen0(node.get$parent(node), t1);
  116186. return t1 == null ? B.Set_WDSXk : t1;
  116187. }
  116188. },
  116189. _serialize0$_writeFoldedValue$1(node) {
  116190. var t1, t2, next, t3,
  116191. scanner = A.StringScanner$(type$.SassString_2._as(node.value.value)._string0$_text, null, null);
  116192. for (t1 = scanner.string.length, t2 = this._serialize0$_buffer; scanner._string_scanner$_position !== t1;) {
  116193. next = scanner.readChar$0();
  116194. if (next !== 10) {
  116195. t2.writeCharCode$1(next);
  116196. continue;
  116197. }
  116198. t2.writeCharCode$1(32);
  116199. while (true) {
  116200. t3 = scanner.peekChar$0();
  116201. if (!(t3 === 32 || t3 === 9 || t3 === 10 || t3 === 13 || t3 === 12))
  116202. break;
  116203. scanner.readChar$0();
  116204. }
  116205. }
  116206. },
  116207. _serialize0$_writeReindentedValue$1(node) {
  116208. var _0_0, t1, _this = this,
  116209. value = type$.SassString_2._as(node.value.value)._string0$_text;
  116210. $label0$0: {
  116211. _0_0 = _this._serialize0$_minimumIndentation$1(value);
  116212. if (_0_0 == null) {
  116213. _this._serialize0$_buffer.write$1(0, value);
  116214. break $label0$0;
  116215. }
  116216. if (-1 === _0_0) {
  116217. t1 = _this._serialize0$_buffer;
  116218. t1.write$1(0, A.trimAsciiRight0(value, true));
  116219. t1.writeCharCode$1(32);
  116220. break $label0$0;
  116221. }
  116222. t1 = node.name.span;
  116223. t1 = t1.get$start(t1);
  116224. _this._serialize0$_writeWithIndent$2(value, Math.min(_0_0, t1.file.getColumn$1(t1.offset)));
  116225. }
  116226. },
  116227. _serialize0$_minimumIndentation$1(text) {
  116228. var character, t2, min, next, min0,
  116229. scanner = A.LineScanner$(text),
  116230. t1 = scanner.string.length;
  116231. while (true) {
  116232. if (scanner._string_scanner$_position !== t1) {
  116233. character = scanner.super$StringScanner$readChar();
  116234. scanner._adjustLineAndColumn$1(character);
  116235. t2 = character !== 10;
  116236. } else
  116237. t2 = false;
  116238. if (!t2)
  116239. break;
  116240. }
  116241. if (scanner._string_scanner$_position === t1)
  116242. return scanner.peekChar$1(-1) === 10 ? -1 : null;
  116243. for (min = null; scanner._string_scanner$_position !== t1;) {
  116244. for (; scanner._string_scanner$_position !== t1;) {
  116245. next = scanner.peekChar$0();
  116246. if (next !== 32 && next !== 9)
  116247. break;
  116248. scanner._adjustLineAndColumn$1(scanner.super$StringScanner$readChar());
  116249. }
  116250. if (scanner._string_scanner$_position === t1 || scanner.scanChar$1(10))
  116251. continue;
  116252. min0 = scanner._line_scanner$_column;
  116253. min = min == null ? min0 : Math.min(min, min0);
  116254. while (true) {
  116255. if (scanner._string_scanner$_position !== t1) {
  116256. character = scanner.super$StringScanner$readChar();
  116257. scanner._adjustLineAndColumn$1(character);
  116258. t2 = character !== 10;
  116259. } else
  116260. t2 = false;
  116261. if (!t2)
  116262. break;
  116263. }
  116264. }
  116265. return min == null ? -1 : min;
  116266. },
  116267. _serialize0$_writeWithIndent$2(text, minimumIndentation) {
  116268. var t1, t2, t3, character, lineStart, newlines, end,
  116269. scanner = A.LineScanner$(text);
  116270. for (t1 = scanner.string, t2 = t1.length, t3 = this._serialize0$_buffer; scanner._string_scanner$_position !== t2;) {
  116271. character = scanner.super$StringScanner$readChar();
  116272. scanner._adjustLineAndColumn$1(character);
  116273. if (character === 10)
  116274. break;
  116275. t3.writeCharCode$1(character);
  116276. }
  116277. for (; true;) {
  116278. lineStart = scanner._string_scanner$_position;
  116279. for (newlines = 1; true;) {
  116280. if (scanner._string_scanner$_position === t2) {
  116281. t3.writeCharCode$1(32);
  116282. return;
  116283. }
  116284. $label0$2: {
  116285. character = scanner.super$StringScanner$readChar();
  116286. scanner._adjustLineAndColumn$1(character);
  116287. if (32 === character || 9 === character)
  116288. continue;
  116289. if (10 === character) {
  116290. lineStart = scanner._string_scanner$_position;
  116291. ++newlines;
  116292. break $label0$2;
  116293. }
  116294. break;
  116295. }
  116296. }
  116297. this._serialize0$_writeTimes$2(10, newlines);
  116298. this._serialize0$_writeIndentation$0();
  116299. end = scanner._string_scanner$_position;
  116300. t3.write$1(0, B.JSString_methods.substring$2(t1, lineStart + minimumIndentation, end));
  116301. for (; true;) {
  116302. if (scanner._string_scanner$_position === t2)
  116303. return;
  116304. character = scanner.super$StringScanner$readChar();
  116305. scanner._adjustLineAndColumn$1(character);
  116306. if (character === 10)
  116307. break;
  116308. t3.writeCharCode$1(character);
  116309. }
  116310. }
  116311. },
  116312. visitCalculation$1(value) {
  116313. var t2, _this = this,
  116314. t1 = _this._serialize0$_buffer;
  116315. t1.write$1(0, value.name);
  116316. t1.writeCharCode$1(40);
  116317. t2 = _this._serialize0$_style === B.OutputStyle_10 ? "," : ", ";
  116318. _this._serialize0$_writeBetween$3(value.$arguments, t2, _this.get$_serialize0$_writeCalculationValue());
  116319. t1.writeCharCode$1(41);
  116320. },
  116321. _serialize0$_writeCalculationValue$1(value) {
  116322. var _2_4_isSet, _2_4, t1, _0_0, _1_0, first, rest, left, right, operator, parenthesizeLeft, operatorWhitespace, parenthesizeRight, t2, _this = this, _null = null;
  116323. $label1$1: {
  116324. _2_4_isSet = value instanceof A.SassNumber0;
  116325. if (_2_4_isSet) {
  116326. _2_4 = value.get$hasComplexUnits();
  116327. t1 = _2_4;
  116328. t1 = t1 && !_this._serialize0$_inspect;
  116329. } else {
  116330. _2_4 = _null;
  116331. t1 = false;
  116332. }
  116333. if (t1)
  116334. throw A.wrapException(A.SassScriptException$0(value.toString$0(0) + " isn't a valid CSS value.", _null));
  116335. if (_2_4_isSet && !isFinite(value._number1$_value)) {
  116336. $label0$0: {
  116337. _0_0 = value._number1$_value;
  116338. if (1 / 0 === _0_0) {
  116339. _this._serialize0$_buffer.write$1(0, "infinity");
  116340. break $label0$0;
  116341. }
  116342. if (-1 / 0 === _0_0) {
  116343. _this._serialize0$_buffer.write$1(0, "-infinity");
  116344. break $label0$0;
  116345. }
  116346. if (isNaN(_0_0))
  116347. _this._serialize0$_buffer.write$1(0, "NaN");
  116348. }
  116349. _this._serialize0$_writeCalculationUnits$2(value.get$numeratorUnits(value), value.get$denominatorUnits(value));
  116350. break $label1$1;
  116351. }
  116352. if (_2_4_isSet)
  116353. t1 = _2_4;
  116354. else
  116355. t1 = false;
  116356. if (t1) {
  116357. _this._serialize0$_writeNumber$1(value._number1$_value);
  116358. _1_0 = value.get$numeratorUnits(value);
  116359. if (_1_0.length >= 1) {
  116360. first = _1_0[0];
  116361. rest = B.JSArray_methods.sublist$1(_1_0, 1);
  116362. _this._serialize0$_buffer.write$1(0, first);
  116363. _this._serialize0$_writeCalculationUnits$2(rest, value.get$denominatorUnits(value));
  116364. } else
  116365. _this._serialize0$_writeCalculationUnits$2(A._setArrayType([], type$.JSArray_String), value.get$denominatorUnits(value));
  116366. break $label1$1;
  116367. }
  116368. if (value instanceof A.Value0) {
  116369. value.accept$1(_this);
  116370. break $label1$1;
  116371. }
  116372. t1 = value instanceof A.CalculationOperation0;
  116373. left = _null;
  116374. right = _null;
  116375. if (t1) {
  116376. operator = value._calculation0$_operator;
  116377. left = value._calculation0$_left;
  116378. right = value._calculation0$_right;
  116379. right = right;
  116380. } else
  116381. operator = _null;
  116382. if (t1) {
  116383. parenthesizeLeft = left instanceof A.CalculationOperation0 && left._calculation0$_operator.precedence < operator.precedence;
  116384. if (parenthesizeLeft)
  116385. _this._serialize0$_buffer.writeCharCode$1(40);
  116386. _this._serialize0$_writeCalculationValue$1(left);
  116387. if (parenthesizeLeft)
  116388. _this._serialize0$_buffer.writeCharCode$1(41);
  116389. operatorWhitespace = _this._serialize0$_style !== B.OutputStyle_10 || operator.precedence === 1;
  116390. if (operatorWhitespace)
  116391. _this._serialize0$_buffer.writeCharCode$1(32);
  116392. t1 = _this._serialize0$_buffer;
  116393. t1.write$1(0, operator.operator);
  116394. if (operatorWhitespace)
  116395. t1.writeCharCode$1(32);
  116396. if (!(right instanceof A.CalculationOperation0 && _this._serialize0$_parenthesizeCalculationRhs$2(operator, right._calculation0$_operator))) {
  116397. parenthesizeRight = false;
  116398. if (operator === B.CalculationOperator_bo50) {
  116399. if (right instanceof A.SassNumber0)
  116400. t2 = isFinite(right._number1$_value) ? right.get$hasComplexUnits() : right.get$hasUnits();
  116401. else
  116402. t2 = parenthesizeRight;
  116403. parenthesizeRight = t2;
  116404. }
  116405. } else
  116406. parenthesizeRight = true;
  116407. if (parenthesizeRight)
  116408. t1.writeCharCode$1(40);
  116409. _this._serialize0$_writeCalculationValue$1(right);
  116410. if (parenthesizeRight)
  116411. t1.writeCharCode$1(41);
  116412. }
  116413. }
  116414. },
  116415. _serialize0$_writeCalculationUnits$2(numeratorUnits, denominatorUnits) {
  116416. var t1, t2, t3, t4;
  116417. for (t1 = J.get$iterator$ax(numeratorUnits), t2 = this._serialize0$_buffer, t3 = this._serialize0$_style !== B.OutputStyle_10; t1.moveNext$0();) {
  116418. t4 = t1.get$current(t1);
  116419. if (t3)
  116420. t2.writeCharCode$1(32);
  116421. t2.writeCharCode$1(42);
  116422. if (t3)
  116423. t2.writeCharCode$1(32);
  116424. t2.writeCharCode$1(49);
  116425. t2.write$1(0, t4);
  116426. }
  116427. for (t1 = J.get$iterator$ax(denominatorUnits); t1.moveNext$0();) {
  116428. t4 = t1.get$current(t1);
  116429. if (t3)
  116430. t2.writeCharCode$1(32);
  116431. t2.writeCharCode$1(47);
  116432. if (t3)
  116433. t2.writeCharCode$1(32);
  116434. t2.writeCharCode$1(49);
  116435. t2.write$1(0, t4);
  116436. }
  116437. },
  116438. _serialize0$_parenthesizeCalculationRhs$2(outer, right) {
  116439. var t1;
  116440. $label0$0: {
  116441. if (B.CalculationOperator_bo50 === outer) {
  116442. t1 = true;
  116443. break $label0$0;
  116444. }
  116445. if (B.CalculationOperator_F7i0 === outer) {
  116446. t1 = false;
  116447. break $label0$0;
  116448. }
  116449. t1 = right === B.CalculationOperator_F7i0 || right === B.CalculationOperator_oum0;
  116450. break $label0$0;
  116451. }
  116452. return t1;
  116453. },
  116454. visitColor$1(value) {
  116455. 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;
  116456. $label0$0: {
  116457. _0_0 = value._color0$_space;
  116458. _0_2 = B.RgbColorSpace_i0P0 === _0_0;
  116459. _0_6 = _null;
  116460. t1 = true;
  116461. if (!_0_2) {
  116462. _0_4 = B.HslColorSpace_JQ20 === _0_0;
  116463. _0_6_isSet = !_0_4;
  116464. if (_0_6_isSet) {
  116465. _0_6 = B.HwbColorSpace_guQ0 === _0_0;
  116466. t1 = _0_6;
  116467. }
  116468. } else {
  116469. _0_4 = _null;
  116470. _0_6_isSet = false;
  116471. }
  116472. if (t1 && value.channel0OrNull != null && value.channel1OrNull != null && value.channel2OrNull != null && value.alphaOrNull != null) {
  116473. _this._serialize0$_writeLegacyColor$1(value);
  116474. break $label0$0;
  116475. }
  116476. if (_0_2) {
  116477. t1 = _this._serialize0$_buffer;
  116478. t1.write$1(0, "rgb(");
  116479. _this._serialize0$_writeChannel$1(value.channel0OrNull);
  116480. t1.writeCharCode$1(32);
  116481. _this._serialize0$_writeChannel$1(value.channel1OrNull);
  116482. t1.writeCharCode$1(32);
  116483. _this._serialize0$_writeChannel$1(value.channel2OrNull);
  116484. _this._serialize0$_maybeWriteSlashAlpha$1(value);
  116485. t1.writeCharCode$1(41);
  116486. break $label0$0;
  116487. }
  116488. if (!_0_4)
  116489. t1 = _0_6_isSet ? _0_6 : B.HwbColorSpace_guQ0 === _0_0;
  116490. else
  116491. t1 = true;
  116492. if (t1) {
  116493. t1 = _this._serialize0$_buffer;
  116494. t1.write$1(0, _0_0);
  116495. t1.writeCharCode$1(40);
  116496. t2 = _this._serialize0$_style === B.OutputStyle_10 ? _null : "deg";
  116497. _this._serialize0$_writeChannel$2(value.channel0OrNull, t2);
  116498. t1.writeCharCode$1(32);
  116499. _this._serialize0$_writeChannel$2(value.channel1OrNull, "%");
  116500. t1.writeCharCode$1(32);
  116501. _this._serialize0$_writeChannel$2(value.channel2OrNull, "%");
  116502. _this._serialize0$_maybeWriteSlashAlpha$1(value);
  116503. t1.writeCharCode$1(41);
  116504. break $label0$0;
  116505. }
  116506. _0_10_isSet = B.LabColorSpace_2nT0 !== _0_0;
  116507. if (_0_10_isSet) {
  116508. _0_10 = B.LchColorSpace_Bpv0 === _0_0;
  116509. t1 = _0_10;
  116510. } else {
  116511. _0_10 = _null;
  116512. t1 = true;
  116513. }
  116514. t2 = false;
  116515. if (t1)
  116516. if (!_this._serialize0$_inspect) {
  116517. t1 = value.channel0OrNull;
  116518. if (t1 == null)
  116519. t1 = 0;
  116520. if (t1 > 0 || A.fuzzyEquals0(t1, 0))
  116521. t1 = t1 < 100 || A.fuzzyEquals0(t1, 100);
  116522. else
  116523. t1 = false;
  116524. t1 = !t1 && value.channel1OrNull != null && value.channel2OrNull != null;
  116525. } else
  116526. t1 = t2;
  116527. else
  116528. t1 = t2;
  116529. _0_12_isSet = !t1;
  116530. _0_14 = _null;
  116531. if (_0_12_isSet) {
  116532. _0_12 = B.OklabColorSpace_5400 === _0_0;
  116533. t1 = false;
  116534. _0_14_isSet = !_0_12;
  116535. if (_0_14_isSet) {
  116536. _0_14 = B.OklchColorSpace_9Gj0 === _0_0;
  116537. t2 = _0_14;
  116538. } else
  116539. t2 = true;
  116540. t3 = false;
  116541. if (t2)
  116542. if (!_this._serialize0$_inspect) {
  116543. t2 = value.channel0OrNull;
  116544. if (t2 == null)
  116545. t2 = 0;
  116546. if (t2 > 0 || A.fuzzyEquals0(t2, 0))
  116547. t2 = t2 < 1 || A.fuzzyEquals0(t2, 1);
  116548. else
  116549. t2 = false;
  116550. t2 = !t2 && value.channel1OrNull != null && value.channel2OrNull != null;
  116551. } else
  116552. t2 = t3;
  116553. else
  116554. t2 = t3;
  116555. if (!t2) {
  116556. if (_0_10_isSet) {
  116557. t2 = _0_10;
  116558. _0_10_isSet0 = _0_10_isSet;
  116559. } else {
  116560. _0_10 = B.LchColorSpace_Bpv0 === _0_0;
  116561. t2 = _0_10;
  116562. _0_10_isSet0 = true;
  116563. }
  116564. if (!t2)
  116565. if (_0_14_isSet)
  116566. t2 = _0_14;
  116567. else {
  116568. _0_14 = B.OklchColorSpace_9Gj0 === _0_0;
  116569. t2 = _0_14;
  116570. _0_14_isSet = true;
  116571. }
  116572. else
  116573. t2 = true;
  116574. if (t2)
  116575. if (!_this._serialize0$_inspect) {
  116576. t1 = value.channel1OrNull;
  116577. t2 = t1 == null;
  116578. if (t2)
  116579. t1 = 0;
  116580. t1 = t1 < 0 && !A.fuzzyEquals0(t1, 0) && value.channel0OrNull != null && !t2;
  116581. }
  116582. } else {
  116583. _0_10_isSet0 = _0_10_isSet;
  116584. t1 = true;
  116585. }
  116586. } else {
  116587. _0_12 = _null;
  116588. _0_10_isSet0 = _0_10_isSet;
  116589. _0_14_isSet = false;
  116590. t1 = true;
  116591. }
  116592. if (t1) {
  116593. t1 = _this._serialize0$_buffer;
  116594. t1.write$1(0, "color-mix(in ");
  116595. t1.write$1(0, _0_0);
  116596. t2 = _this._serialize0$_style === B.OutputStyle_10;
  116597. t1.write$1(0, t2 ? "," : ", ");
  116598. _this._serialize0$_writeColorFunction$1(value.toSpace$1(B.XyzD65ColorSpace_WiJ0));
  116599. if (!t2)
  116600. t1.writeCharCode$1(32);
  116601. t1.write$1(0, "100%");
  116602. t1.write$1(0, t2 ? "," : ", ");
  116603. t1.write$1(0, t2 ? "red" : "black");
  116604. t1.writeCharCode$1(41);
  116605. break $label0$0;
  116606. }
  116607. t1 = true;
  116608. if (_0_10_isSet)
  116609. if (!(_0_12_isSet ? _0_12 : B.OklabColorSpace_5400 === _0_0))
  116610. if (!(_0_10_isSet0 ? _0_10 : B.LchColorSpace_Bpv0 === _0_0))
  116611. t1 = _0_14_isSet ? _0_14 : B.OklchColorSpace_9Gj0 === _0_0;
  116612. if (t1) {
  116613. t1 = _this._serialize0$_buffer;
  116614. t1.write$1(0, _0_0);
  116615. t1.writeCharCode$1(40);
  116616. t2 = _0_0._space$_channels;
  116617. polar = t2[2].isPolarAngle;
  116618. t3 = false;
  116619. if (!_this._serialize0$_inspect) {
  116620. t4 = value.channel0OrNull;
  116621. if (t4 == null)
  116622. t4 = 0;
  116623. if (t4 > 0 || A.fuzzyEquals0(t4, 0))
  116624. t4 = t4 < 100 || A.fuzzyEquals0(t4, 100);
  116625. else
  116626. t4 = false;
  116627. if (t4) {
  116628. if (polar) {
  116629. t3 = value.channel1OrNull;
  116630. if (t3 == null)
  116631. t3 = 0;
  116632. t3 = t3 < 0 && !A.fuzzyEquals0(t3, 0);
  116633. }
  116634. } else
  116635. t3 = true;
  116636. }
  116637. if (t3) {
  116638. t1.write$1(0, "from ");
  116639. t1.write$1(0, _this._serialize0$_style === B.OutputStyle_10 ? "red" : "black");
  116640. t1.writeCharCode$1(32);
  116641. }
  116642. t3 = _this._serialize0$_style !== B.OutputStyle_10;
  116643. t4 = t3 && value.channel0OrNull != null;
  116644. t5 = value.channel0OrNull;
  116645. if (t4) {
  116646. t2 = type$.LinearChannel_2._as(t2[0]);
  116647. _this._serialize0$_writeNumber$1((t5 == null ? 0 : t5) * 100 / t2.max);
  116648. t1.writeCharCode$1(37);
  116649. } else
  116650. _this._serialize0$_writeChannel$1(t5);
  116651. t1.writeCharCode$1(32);
  116652. _this._serialize0$_writeChannel$1(value.channel1OrNull);
  116653. t1.writeCharCode$1(32);
  116654. t2 = polar && t3 ? "deg" : _null;
  116655. _this._serialize0$_writeChannel$2(value.channel2OrNull, t2);
  116656. _this._serialize0$_maybeWriteSlashAlpha$1(value);
  116657. t1.writeCharCode$1(41);
  116658. break $label0$0;
  116659. }
  116660. _this._serialize0$_writeColorFunction$1(value);
  116661. }
  116662. },
  116663. _serialize0$_writeChannel$2(channel, unit) {
  116664. var _this = this;
  116665. if (channel == null)
  116666. _this._serialize0$_buffer.write$1(0, "none");
  116667. else if (isFinite(channel)) {
  116668. _this._serialize0$_writeNumber$1(channel);
  116669. if (unit != null)
  116670. _this._serialize0$_buffer.write$1(0, unit);
  116671. } else
  116672. _this.visitNumber$1(A.SassNumber_SassNumber0(channel, unit));
  116673. },
  116674. _serialize0$_writeChannel$1(channel) {
  116675. return this._serialize0$_writeChannel$2(channel, null);
  116676. },
  116677. _serialize0$_writeLegacyColor$1(color) {
  116678. var rgb, t3, red, green, blue, hsl, hue, saturation, lightness, hwb, _0_0, format, _1_0, _this = this,
  116679. t1 = color.alphaOrNull,
  116680. t2 = t1 == null,
  116681. opaque = A.fuzzyEquals0(t2 ? 0 : t1, 1);
  116682. if (!color.get$isInGamut() && !_this._serialize0$_inspect) {
  116683. _this._serialize0$_writeHsl$1(color);
  116684. return;
  116685. }
  116686. if (_this._serialize0$_style === B.OutputStyle_10) {
  116687. rgb = color.toSpace$1(B.RgbColorSpace_i0P0);
  116688. if (opaque && _this._serialize0$_tryIntegerRgb$1(rgb))
  116689. return;
  116690. t3 = rgb.channel0OrNull;
  116691. red = _this._serialize0$_writeNumberToString$1(t3 == null ? 0 : t3);
  116692. t3 = rgb.channel1OrNull;
  116693. green = _this._serialize0$_writeNumberToString$1(t3 == null ? 0 : t3);
  116694. t3 = rgb.channel2OrNull;
  116695. blue = _this._serialize0$_writeNumberToString$1(t3 == null ? 0 : t3);
  116696. hsl = color.toSpace$1(B.HslColorSpace_JQ20);
  116697. t3 = hsl.channel0OrNull;
  116698. hue = _this._serialize0$_writeNumberToString$1(t3 == null ? 0 : t3);
  116699. t3 = hsl.channel1OrNull;
  116700. saturation = _this._serialize0$_writeNumberToString$1(t3 == null ? 0 : t3);
  116701. t3 = hsl.channel2OrNull;
  116702. lightness = _this._serialize0$_writeNumberToString$1(t3 == null ? 0 : t3);
  116703. t3 = _this._serialize0$_buffer;
  116704. if (red.length + green.length + blue.length <= hue.length + saturation.length + lightness.length + 2) {
  116705. t3.write$1(0, opaque ? "rgb(" : "rgba(");
  116706. t3.write$1(0, red);
  116707. t3.writeCharCode$1(44);
  116708. t3.write$1(0, green);
  116709. t3.writeCharCode$1(44);
  116710. t3.write$1(0, blue);
  116711. } else {
  116712. t3.write$1(0, opaque ? "hsl(" : "hsla(");
  116713. t3.write$1(0, hue);
  116714. t3.writeCharCode$1(44);
  116715. t3.write$1(0, saturation);
  116716. t3.write$1(0, "%,");
  116717. t3.write$1(0, lightness);
  116718. t3.writeCharCode$1(37);
  116719. }
  116720. if (!opaque) {
  116721. t3.writeCharCode$1(44);
  116722. _this._serialize0$_writeNumber$1(t2 ? 0 : t1);
  116723. }
  116724. t3.writeCharCode$1(41);
  116725. return;
  116726. }
  116727. t3 = color._color0$_space;
  116728. if (t3 === B.HslColorSpace_JQ20) {
  116729. _this._serialize0$_writeHsl$1(color);
  116730. return;
  116731. } else if (_this._serialize0$_inspect && t3 === B.HwbColorSpace_guQ0) {
  116732. t3 = _this._serialize0$_buffer;
  116733. t3.write$1(0, "hwb(");
  116734. hwb = color.toSpace$1(B.HwbColorSpace_guQ0);
  116735. _this._serialize0$_writeNumber$1(hwb.channel$1(0, "hue"));
  116736. t3.writeCharCode$1(32);
  116737. _this._serialize0$_writeNumber$1(hwb.channel$1(0, "whiteness"));
  116738. t3.writeCharCode$1(37);
  116739. t3.writeCharCode$1(32);
  116740. _this._serialize0$_writeNumber$1(hwb.channel$1(0, "blackness"));
  116741. t3.writeCharCode$1(37);
  116742. if (!A.fuzzyEquals0(t2 ? 0 : t1, 1)) {
  116743. t3.write$1(0, " / ");
  116744. _this._serialize0$_writeNumber$1(t2 ? 0 : t1);
  116745. }
  116746. t3.writeCharCode$1(41);
  116747. return;
  116748. }
  116749. _0_0 = color.format;
  116750. if (B.C__ColorFormatEnum0 === _0_0) {
  116751. _this._serialize0$_writeRgb$1(color);
  116752. return;
  116753. }
  116754. t1 = _0_0 instanceof A.SpanColorFormat0;
  116755. format = t1 ? _0_0 : null;
  116756. if (t1) {
  116757. _this._serialize0$_buffer.write$1(0, format._color0$_span.get$text());
  116758. return;
  116759. }
  116760. if (opaque) {
  116761. rgb = color.toSpace$1(B.RgbColorSpace_i0P0);
  116762. _1_0 = $.$get$namesByColor0().$index(0, rgb);
  116763. if (_1_0 != null) {
  116764. _this._serialize0$_buffer.write$1(0, _1_0);
  116765. return;
  116766. }
  116767. if (_this._serialize0$_canUseHex$1(rgb)) {
  116768. _this._serialize0$_buffer.writeCharCode$1(35);
  116769. t1 = rgb.channel0OrNull;
  116770. _this._serialize0$_writeHexComponent$1(B.JSNumber_methods.round$0(t1 == null ? 0 : t1));
  116771. t1 = rgb.channel1OrNull;
  116772. _this._serialize0$_writeHexComponent$1(B.JSNumber_methods.round$0(t1 == null ? 0 : t1));
  116773. t1 = rgb.channel2OrNull;
  116774. _this._serialize0$_writeHexComponent$1(B.JSNumber_methods.round$0(t1 == null ? 0 : t1));
  116775. return;
  116776. }
  116777. }
  116778. if (t3 === B.HwbColorSpace_guQ0)
  116779. _this._serialize0$_writeHsl$1(color);
  116780. else
  116781. _this._serialize0$_writeRgb$1(color);
  116782. },
  116783. _serialize0$_tryIntegerRgb$1(rgb) {
  116784. var t1, redInt, greenInt, blueInt, shortHex, _0_0, t2, t3, $name, _this = this;
  116785. if (!_this._serialize0$_canUseHex$1(rgb))
  116786. return false;
  116787. t1 = rgb.channel0OrNull;
  116788. redInt = B.JSNumber_methods.round$0(t1 == null ? 0 : t1);
  116789. t1 = rgb.channel1OrNull;
  116790. greenInt = B.JSNumber_methods.round$0(t1 == null ? 0 : t1);
  116791. t1 = rgb.channel2OrNull;
  116792. blueInt = B.JSNumber_methods.round$0(t1 == null ? 0 : t1);
  116793. t1 = redInt & 15;
  116794. 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);
  116795. _0_0 = $.$get$namesByColor0().$index(0, rgb);
  116796. t2 = false;
  116797. if (_0_0 != null) {
  116798. t3 = _0_0.length;
  116799. t2 = t3 <= (shortHex ? 4 : 7);
  116800. $name = _0_0;
  116801. } else
  116802. $name = null;
  116803. if (t2)
  116804. _this._serialize0$_buffer.write$1(0, $name);
  116805. else {
  116806. t2 = _this._serialize0$_buffer;
  116807. if (shortHex) {
  116808. t2.writeCharCode$1(35);
  116809. t2.writeCharCode$1(A.hexCharFor0(t1));
  116810. t2.writeCharCode$1(A.hexCharFor0(greenInt & 15));
  116811. t2.writeCharCode$1(A.hexCharFor0(blueInt & 15));
  116812. } else {
  116813. t2.writeCharCode$1(35);
  116814. _this._serialize0$_writeHexComponent$1(redInt);
  116815. _this._serialize0$_writeHexComponent$1(greenInt);
  116816. _this._serialize0$_writeHexComponent$1(blueInt);
  116817. }
  116818. }
  116819. return true;
  116820. },
  116821. _serialize0$_canUseHex$1(rgb) {
  116822. var t2,
  116823. t1 = rgb.channel0OrNull;
  116824. if (t1 == null)
  116825. t1 = 0;
  116826. if (A.fuzzyIsInt0(t1))
  116827. t1 = (t1 > 0 || A.fuzzyEquals0(t1, 0)) && t1 < 256 && !A.fuzzyEquals0(t1, 256);
  116828. else
  116829. t1 = false;
  116830. t2 = false;
  116831. if (t1) {
  116832. t1 = rgb.channel1OrNull;
  116833. if (t1 == null)
  116834. t1 = 0;
  116835. if (A.fuzzyIsInt0(t1))
  116836. t1 = (t1 > 0 || A.fuzzyEquals0(t1, 0)) && t1 < 256 && !A.fuzzyEquals0(t1, 256);
  116837. else
  116838. t1 = false;
  116839. if (t1) {
  116840. t1 = rgb.channel2OrNull;
  116841. if (t1 == null)
  116842. t1 = 0;
  116843. if (A.fuzzyIsInt0(t1))
  116844. t1 = (t1 > 0 || A.fuzzyEquals0(t1, 0)) && t1 < 256 && !A.fuzzyEquals0(t1, 256);
  116845. else
  116846. t1 = t2;
  116847. } else
  116848. t1 = t2;
  116849. } else
  116850. t1 = t2;
  116851. return t1;
  116852. },
  116853. _serialize0$_writeRgb$1(color) {
  116854. var t4, _this = this,
  116855. t1 = color.alphaOrNull,
  116856. t2 = t1 == null,
  116857. opaque = A.fuzzyEquals0(t2 ? 0 : t1, 1),
  116858. rgb = color.toSpace$1(B.RgbColorSpace_i0P0),
  116859. t3 = _this._serialize0$_buffer;
  116860. t3.write$1(0, opaque ? "rgb(" : "rgba(");
  116861. _this._serialize0$_writeNumber$1(rgb.channel$1(0, "red"));
  116862. t4 = _this._serialize0$_style === B.OutputStyle_10;
  116863. t3.write$1(0, t4 ? "," : ", ");
  116864. _this._serialize0$_writeNumber$1(rgb.channel$1(0, "green"));
  116865. t3.write$1(0, t4 ? "," : ", ");
  116866. _this._serialize0$_writeNumber$1(rgb.channel$1(0, "blue"));
  116867. if (!opaque) {
  116868. t3.write$1(0, t4 ? "," : ", ");
  116869. _this._serialize0$_writeNumber$1(t2 ? 0 : t1);
  116870. }
  116871. t3.writeCharCode$1(41);
  116872. },
  116873. _serialize0$_writeHsl$1(color) {
  116874. var t4, _this = this,
  116875. t1 = color.alphaOrNull,
  116876. t2 = t1 == null,
  116877. opaque = A.fuzzyEquals0(t2 ? 0 : t1, 1),
  116878. hsl = color.toSpace$1(B.HslColorSpace_JQ20),
  116879. t3 = _this._serialize0$_buffer;
  116880. t3.write$1(0, opaque ? "hsl(" : "hsla(");
  116881. _this._serialize0$_writeChannel$1(hsl.channel$1(0, "hue"));
  116882. t4 = _this._serialize0$_style === B.OutputStyle_10;
  116883. t3.write$1(0, t4 ? "," : ", ");
  116884. _this._serialize0$_writeChannel$2(hsl.channel$1(0, "saturation"), "%");
  116885. t3.write$1(0, t4 ? "," : ", ");
  116886. _this._serialize0$_writeChannel$2(hsl.channel$1(0, "lightness"), "%");
  116887. if (!opaque) {
  116888. t3.write$1(0, t4 ? "," : ", ");
  116889. _this._serialize0$_writeNumber$1(t2 ? 0 : t1);
  116890. }
  116891. t3.writeCharCode$1(41);
  116892. },
  116893. _serialize0$_writeColorFunction$1(color) {
  116894. var _this = this,
  116895. t1 = _this._serialize0$_buffer;
  116896. t1.write$1(0, "color(");
  116897. t1.write$1(0, color._color0$_space);
  116898. t1.writeCharCode$1(32);
  116899. _this._serialize0$_writeBetween$3(color.get$channelsOrNull(), " ", _this.get$_serialize0$_writeChannel());
  116900. _this._serialize0$_maybeWriteSlashAlpha$1(color);
  116901. t1.writeCharCode$1(41);
  116902. },
  116903. _serialize0$_writeHexComponent$1(color) {
  116904. var t1 = this._serialize0$_buffer;
  116905. t1.writeCharCode$1(A.hexCharFor0(B.JSInt_methods._shrOtherPositive$1(color, 4)));
  116906. t1.writeCharCode$1(A.hexCharFor0(color & 15));
  116907. },
  116908. _serialize0$_maybeWriteSlashAlpha$1(color) {
  116909. var t2, t3, _this = this,
  116910. t1 = color.alphaOrNull;
  116911. if (A.fuzzyEquals0(t1 == null ? 0 : t1, 1))
  116912. return;
  116913. t2 = _this._serialize0$_style !== B.OutputStyle_10;
  116914. if (t2)
  116915. _this._serialize0$_buffer.writeCharCode$1(32);
  116916. t3 = _this._serialize0$_buffer;
  116917. t3.writeCharCode$1(47);
  116918. if (t2)
  116919. t3.writeCharCode$1(32);
  116920. _this._serialize0$_writeChannel$1(t1);
  116921. },
  116922. visitList$1(value) {
  116923. var t2, singleton, t3, t4, t5, _this = this,
  116924. t1 = value._list1$_hasBrackets;
  116925. if (t1)
  116926. _this._serialize0$_buffer.writeCharCode$1(91);
  116927. else if (value._list1$_contents.length === 0) {
  116928. if (!_this._serialize0$_inspect)
  116929. throw A.wrapException(A.SassScriptException$0("() isn't a valid CSS value.", null));
  116930. _this._serialize0$_buffer.write$1(0, "()");
  116931. return;
  116932. }
  116933. t2 = _this._serialize0$_inspect;
  116934. singleton = false;
  116935. if (t2)
  116936. if (value._list1$_contents.length === 1) {
  116937. t3 = value._list1$_separator;
  116938. t3 = t3 === B.ListSeparator_qVN0 || t3 === B.ListSeparator_bRz0;
  116939. singleton = t3;
  116940. }
  116941. if (singleton && !t1)
  116942. _this._serialize0$_buffer.writeCharCode$1(40);
  116943. t3 = value._list1$_contents;
  116944. t3 = t2 ? t3 : new A.WhereIterable(t3, new A._SerializeVisitor_visitList_closure2(), A._arrayInstanceType(t3)._eval$1("WhereIterable<1>"));
  116945. t4 = value._list1$_separator;
  116946. t5 = _this._serialize0$_separatorString$1(t4);
  116947. _this._serialize0$_writeBetween$3(t3, t5, t2 ? new A._SerializeVisitor_visitList_closure3(_this, value) : new A._SerializeVisitor_visitList_closure4(_this));
  116948. if (singleton) {
  116949. t2 = _this._serialize0$_buffer;
  116950. t2.write$1(0, t4.separator);
  116951. if (!t1)
  116952. t2.writeCharCode$1(41);
  116953. }
  116954. if (t1)
  116955. _this._serialize0$_buffer.writeCharCode$1(93);
  116956. },
  116957. _serialize0$_separatorString$1(separator) {
  116958. var t1;
  116959. $label0$0: {
  116960. if (B.ListSeparator_qVN0 === separator) {
  116961. t1 = this._serialize0$_style === B.OutputStyle_10 ? "," : ", ";
  116962. break $label0$0;
  116963. }
  116964. if (B.ListSeparator_bRz0 === separator) {
  116965. t1 = this._serialize0$_style === B.OutputStyle_10 ? "/" : " / ";
  116966. break $label0$0;
  116967. }
  116968. if (B.ListSeparator_qSL0 === separator) {
  116969. t1 = " ";
  116970. break $label0$0;
  116971. }
  116972. t1 = "";
  116973. break $label0$0;
  116974. }
  116975. return t1;
  116976. },
  116977. _serialize0$_elementNeedsParens$2(separator, value) {
  116978. var t1;
  116979. $label1$1: {
  116980. if (value instanceof A.SassList0 && value._list1$_contents.length > 1 && !value._list1$_hasBrackets) {
  116981. $label0$0: {
  116982. if (B.ListSeparator_qVN0 === separator) {
  116983. t1 = value._list1$_separator === B.ListSeparator_qVN0;
  116984. break $label0$0;
  116985. }
  116986. if (B.ListSeparator_bRz0 === separator) {
  116987. t1 = value._list1$_separator;
  116988. t1 = t1 === B.ListSeparator_qVN0 || t1 === B.ListSeparator_bRz0;
  116989. break $label0$0;
  116990. }
  116991. t1 = value._list1$_separator !== B.ListSeparator_undecided_null_undecided0;
  116992. break $label0$0;
  116993. }
  116994. break $label1$1;
  116995. }
  116996. t1 = false;
  116997. break $label1$1;
  116998. }
  116999. return t1;
  117000. },
  117001. visitMap$1(map) {
  117002. var t1, t2, _this = this;
  117003. if (!_this._serialize0$_inspect)
  117004. throw A.wrapException(A.SassScriptException$0(map.toString$0(0) + " isn't a valid CSS value.", null));
  117005. t1 = _this._serialize0$_buffer;
  117006. t1.writeCharCode$1(40);
  117007. t2 = map._map0$_contents;
  117008. _this._serialize0$_writeBetween$3(t2.get$entries(t2), ", ", new A._SerializeVisitor_visitMap_closure0(_this));
  117009. t1.writeCharCode$1(41);
  117010. },
  117011. _serialize0$_writeMapElement$1(value) {
  117012. var needsParens = value instanceof A.SassList0 && value._list1$_separator === B.ListSeparator_qVN0 && !value._list1$_hasBrackets;
  117013. if (needsParens)
  117014. this._serialize0$_buffer.writeCharCode$1(40);
  117015. value.accept$1(this);
  117016. if (needsParens)
  117017. this._serialize0$_buffer.writeCharCode$1(41);
  117018. },
  117019. visitNumber$1(value) {
  117020. var before, after, t1, _1_0, _this = this,
  117021. _0_0 = value.asSlash;
  117022. if (type$.Record_2_nullable_Object_and_nullable_Object._is(_0_0)) {
  117023. before = _0_0._0;
  117024. after = _0_0._1;
  117025. _this.visitNumber$1(before);
  117026. _this._serialize0$_buffer.writeCharCode$1(47);
  117027. _this.visitNumber$1(after);
  117028. return;
  117029. }
  117030. t1 = value._number1$_value;
  117031. if (!isFinite(t1)) {
  117032. _this.visitCalculation$1(new A.SassCalculation0("calc", A.List_List$unmodifiable(A._setArrayType([value], type$.JSArray_Object), type$.Object)));
  117033. return;
  117034. }
  117035. if (value.get$hasComplexUnits()) {
  117036. if (!_this._serialize0$_inspect)
  117037. throw A.wrapException(A.SassScriptException$0(value.toString$0(0) + " isn't a valid CSS value.", null));
  117038. _this.visitCalculation$1(new A.SassCalculation0("calc", A.List_List$unmodifiable(A._setArrayType([value], type$.JSArray_Object), type$.Object)));
  117039. } else {
  117040. _this._serialize0$_writeNumber$1(t1);
  117041. _1_0 = value.get$numeratorUnits(value);
  117042. if (_1_0.length === 1)
  117043. _this._serialize0$_buffer.write$1(0, _1_0[0]);
  117044. }
  117045. },
  117046. _serialize0$_writeNumberToString$1(number) {
  117047. var t1 = new A.StringBuffer("");
  117048. this._serialize0$_writeNumber$2(number, new A.NoSourceMapBuffer0(t1));
  117049. t1 = t1._contents;
  117050. return t1.charCodeAt(0) == 0 ? t1 : t1;
  117051. },
  117052. _serialize0$_writeNumber$2(number, buffer) {
  117053. var _0_0, text, _this = this;
  117054. if (buffer == null)
  117055. buffer = _this._serialize0$_buffer;
  117056. _0_0 = A.fuzzyAsInt0(number);
  117057. if (_0_0 != null) {
  117058. buffer.write$1(0, _this._serialize0$_removeExponent$1(B.JSInt_methods.toString$0(_0_0)));
  117059. return;
  117060. }
  117061. text = _this._serialize0$_removeExponent$1(B.JSNumber_methods.toString$0(number));
  117062. if (text.length < 12) {
  117063. buffer.write$1(0, _this._serialize0$_style === B.OutputStyle_10 && text.charCodeAt(0) === 48 ? B.JSString_methods.substring$1(text, 1) : text);
  117064. return;
  117065. }
  117066. _this._serialize0$_writeRounded$2(text, buffer);
  117067. },
  117068. _serialize0$_writeNumber$1(number) {
  117069. return this._serialize0$_writeNumber$2(number, null);
  117070. },
  117071. _serialize0$_removeExponent$1(text) {
  117072. var buffer, t2, t3, additionalZeroes,
  117073. negative = text.charCodeAt(0) === 45,
  117074. exponent = A._Cell$(),
  117075. t1 = text.length,
  117076. i = 0;
  117077. while (true) {
  117078. if (!(i < t1)) {
  117079. buffer = null;
  117080. break;
  117081. }
  117082. c$0: {
  117083. if (text.charCodeAt(i) !== 101)
  117084. break c$0;
  117085. buffer = new A.StringBuffer("");
  117086. t2 = buffer._contents = "" + A.Primitives_stringFromCharCode(text.charCodeAt(0));
  117087. if (negative) {
  117088. t2 += A.Primitives_stringFromCharCode(text.charCodeAt(1));
  117089. buffer._contents = t2;
  117090. if (i > 3)
  117091. buffer._contents = t2 + B.JSString_methods.substring$2(text, 3, i);
  117092. } else if (i > 2)
  117093. buffer._contents = t2 + B.JSString_methods.substring$2(text, 2, i);
  117094. exponent.__late_helper$_value = A.int_parse(B.JSString_methods.substring$2(text, i + 1, t1), null);
  117095. break;
  117096. }
  117097. ++i;
  117098. }
  117099. if (buffer == null)
  117100. return text;
  117101. if (exponent._readLocal$0() > 0) {
  117102. t1 = exponent._readLocal$0();
  117103. t2 = buffer._contents;
  117104. t3 = negative ? 1 : 0;
  117105. additionalZeroes = t1 - (t2.length - 1 - t3);
  117106. for (t1 = t2, i = 0; i < additionalZeroes; ++i) {
  117107. t1 = A.Primitives_stringFromCharCode(48);
  117108. t1 = buffer._contents += t1;
  117109. }
  117110. return t1.charCodeAt(0) == 0 ? t1 : t1;
  117111. } else {
  117112. negative = text.charCodeAt(0) === 45;
  117113. t1 = (negative ? "" + A.Primitives_stringFromCharCode(45) : "") + "0.";
  117114. i = -1;
  117115. while (true) {
  117116. t2 = exponent.__late_helper$_value;
  117117. if (t2 === exponent)
  117118. A.throwExpression(A.LateError$localNI(""));
  117119. if (!(i > t2))
  117120. break;
  117121. t1 += A.Primitives_stringFromCharCode(48);
  117122. --i;
  117123. }
  117124. if (negative) {
  117125. t2 = buffer._contents;
  117126. t2 = B.JSString_methods.substring$1(t2.charCodeAt(0) == 0 ? t2 : t2, 1);
  117127. } else
  117128. t2 = buffer;
  117129. t2 = t1 + A.S(t2);
  117130. return t2.charCodeAt(0) == 0 ? t2 : t2;
  117131. }
  117132. },
  117133. _serialize0$_writeRounded$2(text, buffer) {
  117134. var t1, digits, negative, textIndex, digitsIndex, textIndex0, codeUnit, digitsIndex0, indexAfterPrecision, digitsIndex1, newDigit, writtenIndex;
  117135. if (B.JSString_methods.endsWith$1(text, ".0")) {
  117136. buffer.write$1(0, B.JSString_methods.substring$2(text, 0, text.length - 2));
  117137. return;
  117138. }
  117139. t1 = text.length;
  117140. digits = new Uint8Array(t1 + 1);
  117141. negative = text.charCodeAt(0) === 45;
  117142. textIndex = negative ? 1 : 0;
  117143. for (digitsIndex = 1; true; textIndex = textIndex0, digitsIndex = digitsIndex0) {
  117144. if (textIndex === t1) {
  117145. buffer.write$1(0, text);
  117146. return;
  117147. }
  117148. textIndex0 = textIndex + 1;
  117149. codeUnit = text.charCodeAt(textIndex);
  117150. if (codeUnit === 46) {
  117151. textIndex = textIndex0;
  117152. break;
  117153. }
  117154. digitsIndex0 = digitsIndex + 1;
  117155. digits[digitsIndex] = codeUnit - 48;
  117156. }
  117157. indexAfterPrecision = textIndex + 10;
  117158. if (indexAfterPrecision >= t1) {
  117159. buffer.write$1(0, text);
  117160. return;
  117161. }
  117162. for (digitsIndex0 = digitsIndex; textIndex < indexAfterPrecision; textIndex = textIndex0, digitsIndex0 = digitsIndex1) {
  117163. digitsIndex1 = digitsIndex0 + 1;
  117164. textIndex0 = textIndex + 1;
  117165. digits[digitsIndex0] = text.charCodeAt(textIndex) - 48;
  117166. }
  117167. if (text.charCodeAt(textIndex) - 48 >= 5)
  117168. for (; true; digitsIndex0 = digitsIndex1) {
  117169. digitsIndex1 = digitsIndex0 - 1;
  117170. newDigit = digits[digitsIndex1] + 1;
  117171. digits[digitsIndex1] = newDigit;
  117172. if (newDigit !== 10)
  117173. break;
  117174. }
  117175. for (; digitsIndex0 < digitsIndex; ++digitsIndex0)
  117176. digits[digitsIndex0] = 0;
  117177. while (true) {
  117178. t1 = digitsIndex0 > digitsIndex;
  117179. if (!(t1 && digits[digitsIndex0 - 1] === 0))
  117180. break;
  117181. --digitsIndex0;
  117182. }
  117183. if (digitsIndex0 === 2 && digits[0] === 0 && digits[1] === 0) {
  117184. buffer.writeCharCode$1(48);
  117185. return;
  117186. }
  117187. if (negative)
  117188. buffer.writeCharCode$1(45);
  117189. if (digits[0] === 0)
  117190. writtenIndex = this._serialize0$_style === B.OutputStyle_10 && digits[1] === 0 ? 2 : 1;
  117191. else
  117192. writtenIndex = 0;
  117193. for (; writtenIndex < digitsIndex; ++writtenIndex)
  117194. buffer.writeCharCode$1(48 + digits[writtenIndex]);
  117195. if (t1) {
  117196. buffer.writeCharCode$1(46);
  117197. for (; writtenIndex < digitsIndex0; ++writtenIndex)
  117198. buffer.writeCharCode$1(48 + digits[writtenIndex]);
  117199. }
  117200. },
  117201. _serialize0$_visitQuotedString$2$forceDoubleQuote(string, forceDoubleQuote) {
  117202. var t1, includesSingleQuote, includesDoubleQuote, i, char, _1_2, _1_4, _0_0, quote, _this = this,
  117203. buffer = forceDoubleQuote ? _this._serialize0$_buffer : new A.StringBuffer("");
  117204. if (forceDoubleQuote)
  117205. buffer.writeCharCode$1(34);
  117206. for (t1 = string.length, includesSingleQuote = false, includesDoubleQuote = false, i = 0; i < t1; ++i) {
  117207. char = string.charCodeAt(i);
  117208. _1_2 = 39 === char;
  117209. if (_1_2 && forceDoubleQuote) {
  117210. buffer.writeCharCode$1(39);
  117211. continue;
  117212. }
  117213. if (_1_2 && includesDoubleQuote) {
  117214. _this._serialize0$_visitQuotedString$2$forceDoubleQuote(string, true);
  117215. return;
  117216. }
  117217. if (_1_2) {
  117218. buffer.writeCharCode$1(39);
  117219. includesSingleQuote = true;
  117220. continue;
  117221. }
  117222. _1_4 = 34 === char;
  117223. if (_1_4 && forceDoubleQuote) {
  117224. buffer.writeCharCode$1(92);
  117225. buffer.writeCharCode$1(34);
  117226. continue;
  117227. }
  117228. if (_1_4 && includesSingleQuote) {
  117229. _this._serialize0$_visitQuotedString$2$forceDoubleQuote(string, true);
  117230. return;
  117231. }
  117232. if (_1_4) {
  117233. buffer.writeCharCode$1(34);
  117234. includesDoubleQuote = true;
  117235. continue;
  117236. }
  117237. 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) {
  117238. _this._serialize0$_writeEscape$4(buffer, char, string, i);
  117239. continue;
  117240. }
  117241. if (92 === char) {
  117242. buffer.writeCharCode$1(92);
  117243. buffer.writeCharCode$1(92);
  117244. continue;
  117245. }
  117246. _0_0 = _this._serialize0$_tryPrivateUseCharacter$4(buffer, char, string, i);
  117247. if (_0_0 != null)
  117248. i = _0_0;
  117249. else
  117250. buffer.writeCharCode$1(char);
  117251. }
  117252. if (forceDoubleQuote)
  117253. buffer.writeCharCode$1(34);
  117254. else {
  117255. quote = includesDoubleQuote ? 39 : 34;
  117256. t1 = _this._serialize0$_buffer;
  117257. t1.writeCharCode$1(quote);
  117258. t1.write$1(0, buffer);
  117259. t1.writeCharCode$1(quote);
  117260. }
  117261. },
  117262. _serialize0$_visitQuotedString$1(string) {
  117263. return this._serialize0$_visitQuotedString$2$forceDoubleQuote(string, false);
  117264. },
  117265. _serialize0$_visitUnquotedString$1(string) {
  117266. var t1, t2, afterNewline, i, _1_0, _0_0;
  117267. for (t1 = string.length, t2 = this._serialize0$_buffer, afterNewline = false, i = 0; i < t1; ++i) {
  117268. _1_0 = string.charCodeAt(i);
  117269. if (10 === _1_0) {
  117270. t2.writeCharCode$1(32);
  117271. afterNewline = true;
  117272. continue;
  117273. }
  117274. if (32 === _1_0) {
  117275. if (!afterNewline)
  117276. t2.writeCharCode$1(32);
  117277. continue;
  117278. }
  117279. _0_0 = this._serialize0$_tryPrivateUseCharacter$4(t2, _1_0, string, i);
  117280. if (_0_0 != null)
  117281. i = _0_0;
  117282. else
  117283. t2.writeCharCode$1(_1_0);
  117284. afterNewline = false;
  117285. }
  117286. },
  117287. _serialize0$_tryPrivateUseCharacter$4(buffer, codeUnit, string, i) {
  117288. var t1;
  117289. if (this._serialize0$_style === B.OutputStyle_10)
  117290. return null;
  117291. if (codeUnit >= 57344 && codeUnit <= 63743) {
  117292. this._serialize0$_writeEscape$4(buffer, codeUnit, string, i);
  117293. return i;
  117294. }
  117295. if (codeUnit >>> 7 === 439 && string.length > i + 1) {
  117296. t1 = i + 1;
  117297. this._serialize0$_writeEscape$4(buffer, A.combineSurrogates(codeUnit, string.charCodeAt(t1)), string, t1);
  117298. return t1;
  117299. }
  117300. return null;
  117301. },
  117302. _serialize0$_writeEscape$4(buffer, character, string, i) {
  117303. var t1, next;
  117304. buffer.writeCharCode$1(92);
  117305. buffer.write$1(0, B.JSInt_methods.toRadixString$1(character, 16));
  117306. t1 = i + 1;
  117307. if (string.length === t1)
  117308. return;
  117309. next = string.charCodeAt(t1);
  117310. if (A.CharacterExtension_get_isHex0(next) || 32 === next || 9 === next)
  117311. buffer.writeCharCode$1(32);
  117312. },
  117313. visitAttributeSelector$1(attribute) {
  117314. var _0_0, t2,
  117315. t1 = this._serialize0$_buffer;
  117316. t1.writeCharCode$1(91);
  117317. t1.write$1(0, attribute.name);
  117318. _0_0 = attribute.value;
  117319. if (_0_0 != null) {
  117320. t1.write$1(0, attribute.op);
  117321. if (A.Parser_isIdentifier0(_0_0) && !B.JSString_methods.startsWith$1(_0_0, "--")) {
  117322. t1.write$1(0, _0_0);
  117323. t2 = attribute.modifier;
  117324. if (t2 != null)
  117325. t1.writeCharCode$1(32);
  117326. } else {
  117327. this._serialize0$_visitQuotedString$1(_0_0);
  117328. t2 = attribute.modifier;
  117329. if (t2 != null)
  117330. if (this._serialize0$_style !== B.OutputStyle_10)
  117331. t1.writeCharCode$1(32);
  117332. }
  117333. A.NullableExtension_andThen0(t2, t1.get$write(t1));
  117334. }
  117335. t1.writeCharCode$1(93);
  117336. },
  117337. visitClassSelector$1(klass) {
  117338. var t1 = this._serialize0$_buffer;
  117339. t1.writeCharCode$1(46);
  117340. t1.write$1(0, klass.name);
  117341. },
  117342. visitComplexSelector$1(complex) {
  117343. var t2, t3, t4, t5, t6, i, component, t7, t8, t9, _this = this,
  117344. t1 = complex.leadingCombinators;
  117345. _this._serialize0$_writeCombinators$1(t1);
  117346. if (t1.length >= 1 && complex.components.length >= 1)
  117347. if (_this._serialize0$_style !== B.OutputStyle_10)
  117348. _this._serialize0$_buffer.writeCharCode$1(32);
  117349. 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) {
  117350. component = t1[i];
  117351. _this.visitCompoundSelector$1(component.selector);
  117352. t7 = component.combinators;
  117353. t8 = t7.length === 0;
  117354. if (!t8)
  117355. if (t6)
  117356. t4.writeCharCode$1(32);
  117357. t9 = t5 ? "" : " ";
  117358. _this._serialize0$_writeBetween$3(t7, t9, t4.get$write(t4));
  117359. if (i !== t3)
  117360. t7 = !t5 || t8;
  117361. else
  117362. t7 = false;
  117363. if (t7)
  117364. t4.writeCharCode$1(32);
  117365. }
  117366. },
  117367. _serialize0$_writeCombinators$1(combinators) {
  117368. var t1 = this._serialize0$_style === B.OutputStyle_10 ? "" : " ",
  117369. t2 = this._serialize0$_buffer;
  117370. return this._serialize0$_writeBetween$3(combinators, t1, t2.get$write(t2));
  117371. },
  117372. visitCompoundSelector$1(compound) {
  117373. var t2, t3, _i,
  117374. t1 = this._serialize0$_buffer,
  117375. start = t1.get$length(t1);
  117376. for (t2 = compound.components, t3 = t2.length, _i = 0; _i < t3; ++_i)
  117377. t2[_i].accept$1(this);
  117378. if (t1.get$length(t1) === start)
  117379. t1.writeCharCode$1(42);
  117380. },
  117381. visitIDSelector$1(id) {
  117382. var t1 = this._serialize0$_buffer;
  117383. t1.writeCharCode$1(35);
  117384. t1.write$1(0, id.name);
  117385. },
  117386. visitSelectorList$1(list) {
  117387. var t1, t2, t3, t4, first, t5, _this = this,
  117388. complexes = list.components;
  117389. 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();) {
  117390. t5 = t1.get$current(t1);
  117391. if (first)
  117392. first = false;
  117393. else {
  117394. t3.writeCharCode$1(44);
  117395. if (t5.lineBreak) {
  117396. if (t2)
  117397. t3.write$1(0, t4);
  117398. _this._serialize0$_writeIndentation$0();
  117399. } else if (t2)
  117400. t3.writeCharCode$1(32);
  117401. }
  117402. _this.visitComplexSelector$1(t5);
  117403. }
  117404. },
  117405. visitParentSelector$1($parent) {
  117406. var t1 = this._serialize0$_buffer;
  117407. t1.writeCharCode$1(38);
  117408. A.NullableExtension_andThen0($parent.suffix, t1.get$write(t1));
  117409. },
  117410. visitPlaceholderSelector$1(placeholder) {
  117411. var t1 = this._serialize0$_buffer;
  117412. t1.writeCharCode$1(37);
  117413. t1.write$1(0, placeholder.name);
  117414. },
  117415. visitPseudoSelector$1(pseudo) {
  117416. var _0_4, t3,
  117417. t1 = pseudo.name,
  117418. t2 = false;
  117419. if ("not" === t1) {
  117420. _0_4 = pseudo.selector;
  117421. if (_0_4 instanceof A.SelectorList0)
  117422. t2 = (_0_4 == null ? type$.SelectorList_2._as(_0_4) : _0_4).accept$1(B._IsInvisibleVisitor_true0);
  117423. }
  117424. if (t2)
  117425. return;
  117426. t2 = this._serialize0$_buffer;
  117427. t2.writeCharCode$1(58);
  117428. if (!pseudo.isSyntacticClass)
  117429. t2.writeCharCode$1(58);
  117430. t2.write$1(0, t1);
  117431. t1 = pseudo.argument;
  117432. t3 = t1 == null;
  117433. if (t3 && pseudo.selector == null)
  117434. return;
  117435. t2.writeCharCode$1(40);
  117436. if (!t3) {
  117437. t2.write$1(0, t1);
  117438. if (pseudo.selector != null)
  117439. t2.writeCharCode$1(32);
  117440. }
  117441. A.NullableExtension_andThen0(pseudo.selector, this.get$visitSelectorList());
  117442. t2.writeCharCode$1(41);
  117443. },
  117444. visitTypeSelector$1(type) {
  117445. this._serialize0$_buffer.write$1(0, type.name);
  117446. },
  117447. visitUniversalSelector$1(universal) {
  117448. var t2,
  117449. t1 = universal.namespace;
  117450. if (t1 != null) {
  117451. t2 = this._serialize0$_buffer;
  117452. t2.write$1(0, t1);
  117453. t2.writeCharCode$1(124);
  117454. }
  117455. this._serialize0$_buffer.writeCharCode$1(42);
  117456. },
  117457. _serialize0$_write$1(value) {
  117458. return this._serialize0$_buffer.forSpan$2(value.span, new A._SerializeVisitor__write_closure0(this, value));
  117459. },
  117460. _serialize0$_visitChildren$1($parent) {
  117461. var t2, t3, t4, t5, t6, t7, t8, prePrevious, previous, t9, previous0, t10, savedIndentation, _this = this,
  117462. t1 = _this._serialize0$_buffer;
  117463. t1.writeCharCode$1(123);
  117464. 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();) {
  117465. t9 = t2.__internal$_current;
  117466. previous0 = t9 == null ? t3._as(t9) : t9;
  117467. if (t7)
  117468. t9 = t4 ? previous0.accept$1(B._IsInvisibleVisitor_true_true0) : previous0.accept$1(B._IsInvisibleVisitor_true_false0);
  117469. else
  117470. t9 = false;
  117471. if (t9)
  117472. continue;
  117473. t9 = previous == null;
  117474. t10 = t9 ? null : t6.call$1(previous);
  117475. if (t10 == null ? false : t10)
  117476. t1.writeCharCode$1(59);
  117477. if (_this._serialize0$_isTrailingComment$2(previous0, t9 ? $parent : previous)) {
  117478. if (t5)
  117479. t1.writeCharCode$1(32);
  117480. savedIndentation = _this._serialize0$_indentation;
  117481. _this._serialize0$_indentation = 0;
  117482. new A._SerializeVisitor__visitChildren_closure1(_this, previous0).call$0();
  117483. _this._serialize0$_indentation = savedIndentation;
  117484. } else {
  117485. if (t5)
  117486. t1.write$1(0, t8);
  117487. ++_this._serialize0$_indentation;
  117488. new A._SerializeVisitor__visitChildren_closure2(_this, previous0).call$0();
  117489. --_this._serialize0$_indentation;
  117490. }
  117491. prePrevious = previous;
  117492. previous = previous0;
  117493. }
  117494. if (previous != null) {
  117495. if ((type$.CssParentNode_2._is(previous) ? previous.get$isChildless() : !(previous instanceof A.ModifiableCssComment0)) && t5)
  117496. t1.writeCharCode$1(59);
  117497. if (prePrevious == null && _this._serialize0$_isTrailingComment$2(previous, $parent)) {
  117498. if (t5)
  117499. t1.writeCharCode$1(32);
  117500. } else {
  117501. _this._serialize0$_writeLineFeed$0();
  117502. _this._serialize0$_writeIndentation$0();
  117503. }
  117504. }
  117505. t1.writeCharCode$1(125);
  117506. },
  117507. _serialize0$_requiresSemicolon$1(node) {
  117508. return type$.CssParentNode_2._is(node) ? node.get$isChildless() : !(node instanceof A.ModifiableCssComment0);
  117509. },
  117510. _serialize0$_isTrailingComment$2(node, previous) {
  117511. var t1, t2, t3, searchFrom, endOffset, t4, span;
  117512. if (this._serialize0$_style === B.OutputStyle_10)
  117513. return false;
  117514. if (!(node instanceof A.ModifiableCssComment0))
  117515. return false;
  117516. t1 = node.span;
  117517. t2 = t1.get$sourceUrl(t1);
  117518. t3 = previous.get$span(previous);
  117519. if (!J.$eq$(t2, t3.get$sourceUrl(t3)))
  117520. return false;
  117521. t2 = previous.get$span(previous);
  117522. 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)) {
  117523. t1 = t1.get$start(t1);
  117524. t1 = t1.file.getLine$1(t1.offset);
  117525. t2 = previous.get$span(previous);
  117526. t2 = t2.get$end(t2);
  117527. return t1 === t2.file.getLine$1(t2.offset);
  117528. }
  117529. t2 = t1.get$start(t1);
  117530. t3 = previous.get$span(previous);
  117531. searchFrom = t2.offset - t3.get$start(t3).offset - 1;
  117532. if (searchFrom < 0)
  117533. return false;
  117534. endOffset = Math.max(0, B.JSString_methods.lastIndexOf$2(previous.get$span(previous).get$text(), "{", searchFrom));
  117535. t2 = previous.get$span(previous);
  117536. t2 = t2.get$file(t2);
  117537. t3 = previous.get$span(previous);
  117538. t3 = t3.get$start(t3);
  117539. t4 = previous.get$span(previous);
  117540. span = t2.span$2(0, t3.offset, t4.get$start(t4).offset + endOffset);
  117541. t1 = t1.get$start(t1);
  117542. t1 = t1.file.getLine$1(t1.offset);
  117543. t4 = A.FileLocation$_(span.file, span._end);
  117544. return t1 === t4.file.getLine$1(t4.offset);
  117545. },
  117546. _serialize0$_writeLineFeed$0() {
  117547. if (this._serialize0$_style !== B.OutputStyle_10)
  117548. this._serialize0$_buffer.write$1(0, this._lineFeed.text);
  117549. },
  117550. _serialize0$_writeIndentation$0() {
  117551. var _this = this;
  117552. if (_this._serialize0$_style === B.OutputStyle_10)
  117553. return;
  117554. _this._serialize0$_writeTimes$2(_this._serialize0$_indentCharacter, _this._serialize0$_indentation * _this._serialize0$_indentWidth);
  117555. },
  117556. _serialize0$_writeTimes$2(char, times) {
  117557. var t1, i;
  117558. for (t1 = this._serialize0$_buffer, i = 0; i < times; ++i)
  117559. t1.writeCharCode$1(char);
  117560. },
  117561. _serialize0$_writeBetween$1$3(iterable, text, callback) {
  117562. var t1, t2, first, value;
  117563. for (t1 = J.get$iterator$ax(iterable), t2 = this._serialize0$_buffer, first = true; t1.moveNext$0();) {
  117564. value = t1.get$current(t1);
  117565. if (first)
  117566. first = false;
  117567. else
  117568. t2.write$1(0, text);
  117569. callback.call$1(value);
  117570. }
  117571. },
  117572. _serialize0$_writeBetween$3(iterable, text, callback) {
  117573. callback.toString;
  117574. return this._serialize0$_writeBetween$1$3(iterable, text, callback, type$.dynamic);
  117575. }
  117576. };
  117577. A._SerializeVisitor_visitCssComment_closure0.prototype = {
  117578. call$0() {
  117579. var t2, t3, _0_0, minimumIndentation,
  117580. t1 = this.$this;
  117581. if (t1._serialize0$_style === B.OutputStyle_10 && this.node.text.charCodeAt(2) !== 33)
  117582. return;
  117583. t2 = this.node;
  117584. t3 = t2.text;
  117585. if (B.JSString_methods.startsWith$1(t3, A.RegExp_RegExp("/\\*# source(Mapping)?URL=", false)))
  117586. return;
  117587. _0_0 = t1._serialize0$_minimumIndentation$1(t3);
  117588. if (_0_0 != null) {
  117589. t2 = t2.span;
  117590. t2 = t2.get$start(t2);
  117591. minimumIndentation = Math.min(_0_0, t2.file.getColumn$1(t2.offset));
  117592. t1._serialize0$_writeIndentation$0();
  117593. t1._serialize0$_writeWithIndent$2(t3, minimumIndentation);
  117594. } else {
  117595. t1._serialize0$_writeIndentation$0();
  117596. t1._serialize0$_buffer.write$1(0, t3);
  117597. }
  117598. },
  117599. $signature: 1
  117600. };
  117601. A._SerializeVisitor_visitCssAtRule_closure0.prototype = {
  117602. call$0() {
  117603. var t3, _0_0,
  117604. t1 = this.$this,
  117605. t2 = t1._serialize0$_buffer;
  117606. t2.writeCharCode$1(64);
  117607. t3 = this.node;
  117608. t1._serialize0$_write$1(t3.name);
  117609. _0_0 = t3.value;
  117610. if (_0_0 != null) {
  117611. t2.writeCharCode$1(32);
  117612. t1._serialize0$_write$1(_0_0);
  117613. }
  117614. },
  117615. $signature: 1
  117616. };
  117617. A._SerializeVisitor_visitCssMediaRule_closure0.prototype = {
  117618. call$0() {
  117619. var t3, firstQuery, t4, t5,
  117620. t1 = this.$this,
  117621. t2 = t1._serialize0$_buffer;
  117622. t2.write$1(0, "@media");
  117623. t3 = this.node.queries;
  117624. firstQuery = B.JSArray_methods.get$first(t3);
  117625. t4 = t1._serialize0$_style === B.OutputStyle_10;
  117626. t5 = true;
  117627. if (t4)
  117628. if (firstQuery.modifier == null)
  117629. if (firstQuery.type == null) {
  117630. t5 = firstQuery.conditions;
  117631. t5 = t5.length === 1 && J.startsWith$1$s(B.JSArray_methods.get$first(t5), "(not ");
  117632. }
  117633. if (t5)
  117634. t2.writeCharCode$1(32);
  117635. t2 = t4 ? "," : ", ";
  117636. t1._serialize0$_writeBetween$3(t3, t2, t1.get$_serialize0$_visitMediaQuery());
  117637. },
  117638. $signature: 1
  117639. };
  117640. A._SerializeVisitor_visitCssImport_closure0.prototype = {
  117641. call$0() {
  117642. var t3, t4, _0_0,
  117643. t1 = this.$this,
  117644. t2 = t1._serialize0$_buffer;
  117645. t2.write$1(0, "@import");
  117646. t3 = t1._serialize0$_style !== B.OutputStyle_10;
  117647. if (t3)
  117648. t2.writeCharCode$1(32);
  117649. t4 = this.node;
  117650. t2.forSpan$2(t4.url.span, new A._SerializeVisitor_visitCssImport__closure0(t1, t4));
  117651. _0_0 = t4.modifiers;
  117652. if (_0_0 != null) {
  117653. if (t3)
  117654. t2.writeCharCode$1(32);
  117655. t2.write$1(0, _0_0);
  117656. }
  117657. },
  117658. $signature: 1
  117659. };
  117660. A._SerializeVisitor_visitCssImport__closure0.prototype = {
  117661. call$0() {
  117662. return this.$this._serialize0$_writeImportUrl$1(this.node.url.value);
  117663. },
  117664. $signature: 0
  117665. };
  117666. A._SerializeVisitor_visitCssKeyframeBlock_closure0.prototype = {
  117667. call$0() {
  117668. var t1 = this.$this,
  117669. t2 = t1._serialize0$_style === B.OutputStyle_10 ? "," : ", ",
  117670. t3 = t1._serialize0$_buffer;
  117671. return t1._serialize0$_writeBetween$3(this.node.selector.value, t2, t3.get$write(t3));
  117672. },
  117673. $signature: 0
  117674. };
  117675. A._SerializeVisitor_visitCssStyleRule_closure0.prototype = {
  117676. call$0() {
  117677. return this.$this.visitSelectorList$1(this.node._style_rule0$_selector._box0$_inner.value);
  117678. },
  117679. $signature: 0
  117680. };
  117681. A._SerializeVisitor_visitCssSupportsRule_closure0.prototype = {
  117682. call$0() {
  117683. var t1 = this.$this,
  117684. t2 = t1._serialize0$_buffer;
  117685. t2.write$1(0, "@supports");
  117686. if (!(t1._serialize0$_style === B.OutputStyle_10 && J.codeUnitAt$1$s(this.node.condition.value, 0) === 40))
  117687. t2.writeCharCode$1(32);
  117688. t1._serialize0$_write$1(this.node.condition);
  117689. },
  117690. $signature: 1
  117691. };
  117692. A._SerializeVisitor_visitCssDeclaration_closure1.prototype = {
  117693. call$0() {
  117694. var t1 = this.$this,
  117695. t2 = this.node;
  117696. if (t1._serialize0$_style === B.OutputStyle_10)
  117697. t1._serialize0$_writeFoldedValue$1(t2);
  117698. else
  117699. t1._serialize0$_writeReindentedValue$1(t2);
  117700. },
  117701. $signature: 1
  117702. };
  117703. A._SerializeVisitor_visitCssDeclaration_closure2.prototype = {
  117704. call$0() {
  117705. return this.node.value.value.accept$1(this.$this);
  117706. },
  117707. $signature: 0
  117708. };
  117709. A._SerializeVisitor_visitList_closure2.prototype = {
  117710. call$1(element) {
  117711. return !element.get$isBlank();
  117712. },
  117713. $signature: 55
  117714. };
  117715. A._SerializeVisitor_visitList_closure3.prototype = {
  117716. call$1(element) {
  117717. var t1 = this.$this,
  117718. needsParens = t1._serialize0$_elementNeedsParens$2(this.value._list1$_separator, element);
  117719. if (needsParens)
  117720. t1._serialize0$_buffer.writeCharCode$1(40);
  117721. element.accept$1(t1);
  117722. if (needsParens)
  117723. t1._serialize0$_buffer.writeCharCode$1(41);
  117724. },
  117725. $signature: 66
  117726. };
  117727. A._SerializeVisitor_visitList_closure4.prototype = {
  117728. call$1(element) {
  117729. element.accept$1(this.$this);
  117730. },
  117731. $signature: 66
  117732. };
  117733. A._SerializeVisitor_visitMap_closure0.prototype = {
  117734. call$1(entry) {
  117735. var t1 = this.$this;
  117736. t1._serialize0$_writeMapElement$1(entry.key);
  117737. t1._serialize0$_buffer.write$1(0, ": ");
  117738. t1._serialize0$_writeMapElement$1(entry.value);
  117739. },
  117740. $signature: 577
  117741. };
  117742. A._SerializeVisitor_visitSelectorList_closure0.prototype = {
  117743. call$1(complex) {
  117744. return !complex.accept$1(B._IsInvisibleVisitor_true0);
  117745. },
  117746. $signature: 21
  117747. };
  117748. A._SerializeVisitor__write_closure0.prototype = {
  117749. call$0() {
  117750. return this.$this._serialize0$_buffer.write$1(0, this.value.value);
  117751. },
  117752. $signature: 0
  117753. };
  117754. A._SerializeVisitor__visitChildren_closure1.prototype = {
  117755. call$0() {
  117756. return this.child.accept$1(this.$this);
  117757. },
  117758. $signature: 0
  117759. };
  117760. A._SerializeVisitor__visitChildren_closure2.prototype = {
  117761. call$0() {
  117762. this.child.accept$1(this.$this);
  117763. },
  117764. $signature: 0
  117765. };
  117766. A.OutputStyle0.prototype = {
  117767. _enumToString$0() {
  117768. return "OutputStyle." + this._name;
  117769. }
  117770. };
  117771. A.LineFeed0.prototype = {
  117772. _enumToString$0() {
  117773. return "LineFeed." + this._name;
  117774. },
  117775. toString$0(_) {
  117776. return this.name;
  117777. }
  117778. };
  117779. A.JSSet.prototype = {};
  117780. A.ShadowedModuleView0.prototype = {
  117781. get$url(_) {
  117782. var t1 = this._shadowed_view0$_inner;
  117783. return t1.get$url(t1);
  117784. },
  117785. get$upstream() {
  117786. return this._shadowed_view0$_inner.get$upstream();
  117787. },
  117788. get$extensionStore() {
  117789. return this._shadowed_view0$_inner.get$extensionStore();
  117790. },
  117791. get$css(_) {
  117792. var t1 = this._shadowed_view0$_inner;
  117793. return t1.get$css(t1);
  117794. },
  117795. get$preModuleComments() {
  117796. return this._shadowed_view0$_inner.get$preModuleComments();
  117797. },
  117798. get$transitivelyContainsCss() {
  117799. return this._shadowed_view0$_inner.get$transitivelyContainsCss();
  117800. },
  117801. get$transitivelyContainsExtensions() {
  117802. return this._shadowed_view0$_inner.get$transitivelyContainsExtensions();
  117803. },
  117804. setVariable$3($name, value, nodeWithSpan) {
  117805. if (!this.variables.containsKey$1($name))
  117806. throw A.wrapException(A.SassScriptException$0("Undefined variable.", null));
  117807. else
  117808. this._shadowed_view0$_inner.setVariable$3($name, value, nodeWithSpan);
  117809. },
  117810. variableIdentity$1($name) {
  117811. return this._shadowed_view0$_inner.variableIdentity$1($name);
  117812. },
  117813. couldHaveBeenConfigured$1(variables) {
  117814. var t3, t4,
  117815. t1 = this.variables,
  117816. t2 = this._shadowed_view0$_inner;
  117817. if (t1 === t2.get$variables())
  117818. t1 = t2.couldHaveBeenConfigured$1(variables);
  117819. else {
  117820. t3 = A.LinkedHashSet_LinkedHashSet$_empty(type$.String);
  117821. for (t1 = J.get$iterator$ax(t1.get$keys(t1)); t1.moveNext$0();) {
  117822. t4 = t1.get$current(t1);
  117823. if (variables.contains$1(0, t4))
  117824. t3.add$1(0, t4);
  117825. }
  117826. t1 = t2.couldHaveBeenConfigured$1(t3);
  117827. }
  117828. return t1;
  117829. },
  117830. $eq(_, other) {
  117831. var t1, t2, t3, _this = this;
  117832. if (other == null)
  117833. return false;
  117834. t1 = false;
  117835. if (other instanceof A.ShadowedModuleView0)
  117836. if (_this._shadowed_view0$_inner.$eq(0, other._shadowed_view0$_inner)) {
  117837. t2 = _this.variables;
  117838. t2 = t2.get$keys(t2);
  117839. t3 = other.variables;
  117840. if (B.C_IterableEquality.equals$2(0, t2, t3.get$keys(t3))) {
  117841. t2 = _this.functions;
  117842. t2 = t2.get$keys(t2);
  117843. t3 = other.functions;
  117844. if (B.C_IterableEquality.equals$2(0, t2, t3.get$keys(t3))) {
  117845. t1 = _this.mixins;
  117846. t1 = t1.get$keys(t1);
  117847. t2 = other.mixins;
  117848. t2 = B.C_IterableEquality.equals$2(0, t1, t2.get$keys(t2));
  117849. t1 = t2;
  117850. }
  117851. }
  117852. }
  117853. return t1;
  117854. },
  117855. get$hashCode(_) {
  117856. var t1 = this._shadowed_view0$_inner;
  117857. return t1.get$hashCode(t1);
  117858. },
  117859. cloneCss$0() {
  117860. var _this = this;
  117861. return new A.ShadowedModuleView0(_this._shadowed_view0$_inner.cloneCss$0(), _this.variables, _this.variableNodes, _this.functions, _this.mixins, _this.$ti);
  117862. },
  117863. toString$0(_) {
  117864. return "shadowed " + this._shadowed_view0$_inner.toString$0(0);
  117865. },
  117866. $isModule1: 1,
  117867. get$variables() {
  117868. return this.variables;
  117869. },
  117870. get$variableNodes() {
  117871. return this.variableNodes;
  117872. },
  117873. get$functions(receiver) {
  117874. return this.functions;
  117875. },
  117876. get$mixins() {
  117877. return this.mixins;
  117878. }
  117879. };
  117880. A.SilentComment0.prototype = {
  117881. accept$1$1(visitor) {
  117882. return visitor.visitSilentComment$1(0, this);
  117883. },
  117884. accept$1(visitor) {
  117885. return this.accept$1$1(visitor, type$.dynamic);
  117886. },
  117887. toString$0(_) {
  117888. return this.text;
  117889. },
  117890. get$span(receiver) {
  117891. return this.span;
  117892. }
  117893. };
  117894. A.SimpleSelector0.prototype = {
  117895. get$specificity() {
  117896. return 1000;
  117897. },
  117898. get$hasComplicatedSuperselectorSemantics() {
  117899. return false;
  117900. },
  117901. addSuffix$1(suffix) {
  117902. 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));
  117903. },
  117904. unify$1(compound) {
  117905. var other, result, addedThis, _i, simple, _this = this,
  117906. t1 = false;
  117907. if (compound.length === 1) {
  117908. other = compound[0];
  117909. if (!(other instanceof A.UniversalSelector0)) {
  117910. if (other instanceof A.PseudoSelector0)
  117911. t1 = other.isClass && other.name === "host" || other.get$isHostContext();
  117912. } else
  117913. t1 = true;
  117914. } else
  117915. other = null;
  117916. if (t1)
  117917. return other.unify$1(A._setArrayType([_this], type$.JSArray_SimpleSelector_2));
  117918. if (B.JSArray_methods.contains$1(compound, _this))
  117919. return compound;
  117920. result = A._setArrayType([], type$.JSArray_SimpleSelector_2);
  117921. for (t1 = compound.length, addedThis = false, _i = 0; _i < compound.length; compound.length === t1 || (0, A.throwConcurrentModificationError)(compound), ++_i) {
  117922. simple = compound[_i];
  117923. if (!addedThis && simple instanceof A.PseudoSelector0) {
  117924. result.push(_this);
  117925. addedThis = true;
  117926. }
  117927. result.push(simple);
  117928. }
  117929. if (!addedThis)
  117930. result.push(_this);
  117931. return result;
  117932. },
  117933. isSuperselector$1(other) {
  117934. var list;
  117935. if (this.$eq(0, other))
  117936. return true;
  117937. if (other instanceof A.PseudoSelector0 && other.isClass) {
  117938. list = other.selector;
  117939. if (list != null && $._subselectorPseudos0.contains$1(0, other.normalizedName))
  117940. return B.JSArray_methods.every$1(list.components, new A.SimpleSelector_isSuperselector_closure0(this));
  117941. }
  117942. return false;
  117943. }
  117944. };
  117945. A.SimpleSelector_isSuperselector_closure0.prototype = {
  117946. call$1(complex) {
  117947. var t1 = complex.components;
  117948. return t1.length !== 0 && B.JSArray_methods.any$1(B.JSArray_methods.get$last(t1).selector.components, new A.SimpleSelector_isSuperselector__closure0(this.$this));
  117949. },
  117950. $signature: 21
  117951. };
  117952. A.SimpleSelector_isSuperselector__closure0.prototype = {
  117953. call$1(simple) {
  117954. return this.$this.isSuperselector$1(simple);
  117955. },
  117956. $signature: 13
  117957. };
  117958. A.SingleUnitSassNumber0.prototype = {
  117959. get$numeratorUnits(_) {
  117960. return A.List_List$unmodifiable([this._single_unit$_unit], type$.String);
  117961. },
  117962. get$denominatorUnits(_) {
  117963. return B.List_empty;
  117964. },
  117965. get$hasUnits() {
  117966. return true;
  117967. },
  117968. get$hasComplexUnits() {
  117969. return false;
  117970. },
  117971. withValue$1(value) {
  117972. return new A.SingleUnitSassNumber0(this._single_unit$_unit, value, null);
  117973. },
  117974. withSlash$2(numerator, denominator) {
  117975. return new A.SingleUnitSassNumber0(this._single_unit$_unit, this._number1$_value, new A._Record_2(numerator, denominator));
  117976. },
  117977. hasUnit$1(unit) {
  117978. return unit === this._single_unit$_unit;
  117979. },
  117980. hasCompatibleUnits$1(other) {
  117981. return other instanceof A.SingleUnitSassNumber0 && A.conversionFactor0(this._single_unit$_unit, other._single_unit$_unit) != null;
  117982. },
  117983. hasPossiblyCompatibleUnits$1(other) {
  117984. var t1, knownCompatibilities, otherUnit;
  117985. if (!(other instanceof A.SingleUnitSassNumber0))
  117986. return false;
  117987. t1 = $.$get$_knownCompatibilitiesByUnit0();
  117988. knownCompatibilities = t1.$index(0, this._single_unit$_unit.toLowerCase());
  117989. if (knownCompatibilities == null)
  117990. return true;
  117991. otherUnit = other._single_unit$_unit.toLowerCase();
  117992. return knownCompatibilities.contains$1(0, otherUnit) || !t1.containsKey$1(otherUnit);
  117993. },
  117994. compatibleWithUnit$1(unit) {
  117995. return A.conversionFactor0(this._single_unit$_unit, unit) != null;
  117996. },
  117997. coerceToMatch$3(other, $name, otherName) {
  117998. var t1 = other instanceof A.SingleUnitSassNumber0 ? this._single_unit$_coerceToUnit$1(other._single_unit$_unit) : null;
  117999. return t1 == null ? this.super$SassNumber$coerceToMatch0(other, $name, otherName) : t1;
  118000. },
  118001. coerceToMatch$1(other) {
  118002. return this.coerceToMatch$3(other, null, null);
  118003. },
  118004. coerceValueToMatch$3(other, $name, otherName) {
  118005. var t1 = other instanceof A.SingleUnitSassNumber0 ? this._single_unit$_coerceValueToUnit$1(other._single_unit$_unit) : null;
  118006. return t1 == null ? this.super$SassNumber$coerceValueToMatch0(other, $name, otherName) : t1;
  118007. },
  118008. coerceValueToMatch$1(other) {
  118009. return this.coerceValueToMatch$3(other, null, null);
  118010. },
  118011. convertToMatch$3(other, $name, otherName) {
  118012. var t1 = other instanceof A.SingleUnitSassNumber0 ? this._single_unit$_coerceToUnit$1(other._single_unit$_unit) : null;
  118013. return t1 == null ? this.super$SassNumber$convertToMatch(other, $name, otherName) : t1;
  118014. },
  118015. convertValueToMatch$3(other, $name, otherName) {
  118016. var t1 = other instanceof A.SingleUnitSassNumber0 ? this._single_unit$_coerceValueToUnit$1(other._single_unit$_unit) : null;
  118017. return t1 == null ? this.super$SassNumber$convertValueToMatch0(other, $name, otherName) : t1;
  118018. },
  118019. convertValueToMatch$1(other) {
  118020. return this.convertValueToMatch$3(other, null, null);
  118021. },
  118022. coerce$3(newNumerators, newDenominators, $name) {
  118023. var t1 = J.getInterceptor$asx(newNumerators);
  118024. t1 = t1.get$length(newNumerators) === 1 && J.get$isEmpty$asx(newDenominators) ? this._single_unit$_coerceToUnit$1(t1.$index(newNumerators, 0)) : null;
  118025. return t1 == null ? this.super$SassNumber$coerce0(newNumerators, newDenominators, $name) : t1;
  118026. },
  118027. coerce$2(newNumerators, newDenominators) {
  118028. return this.coerce$3(newNumerators, newDenominators, null);
  118029. },
  118030. coerceValue$3(newNumerators, newDenominators, $name) {
  118031. var t1 = J.getInterceptor$asx(newNumerators);
  118032. t1 = t1.get$length(newNumerators) === 1 && J.get$isEmpty$asx(newDenominators) ? this._single_unit$_coerceValueToUnit$1(t1.$index(newNumerators, 0)) : null;
  118033. return t1 == null ? this.super$SassNumber$coerceValue0(newNumerators, newDenominators, $name) : t1;
  118034. },
  118035. coerceValueToUnit$2(unit, $name) {
  118036. var t1 = this._single_unit$_coerceValueToUnit$1(unit);
  118037. return t1 == null ? this.super$SassNumber$coerceValueToUnit0(unit, $name) : t1;
  118038. },
  118039. coerceValueToUnit$1(unit) {
  118040. return this.coerceValueToUnit$2(unit, null);
  118041. },
  118042. _single_unit$_coerceToUnit$1(unit) {
  118043. var t1 = this._single_unit$_unit;
  118044. if (t1 === unit)
  118045. return this;
  118046. return A.NullableExtension_andThen0(A.conversionFactor0(unit, t1), new A.SingleUnitSassNumber__coerceToUnit_closure0(this, unit));
  118047. },
  118048. _single_unit$_coerceValueToUnit$1(unit) {
  118049. return A.NullableExtension_andThen0(A.conversionFactor0(unit, this._single_unit$_unit), new A.SingleUnitSassNumber__coerceValueToUnit_closure0(this));
  118050. },
  118051. multiplyUnits$3(value, otherNumerators, otherDenominators) {
  118052. var mutableOtherDenominators, t1 = {};
  118053. t1.value = value;
  118054. t1.newNumerators = otherNumerators;
  118055. mutableOtherDenominators = A._setArrayType(otherDenominators.slice(0), A._arrayInstanceType(otherDenominators));
  118056. A.removeFirstWhere0(mutableOtherDenominators, new A.SingleUnitSassNumber_multiplyUnits_closure1(t1, this), new A.SingleUnitSassNumber_multiplyUnits_closure2(t1, this));
  118057. return A.SassNumber_SassNumber$withUnits0(t1.value, mutableOtherDenominators, t1.newNumerators);
  118058. },
  118059. unaryMinus$0() {
  118060. return new A.SingleUnitSassNumber0(this._single_unit$_unit, -this._number1$_value, null);
  118061. },
  118062. $eq(_, other) {
  118063. var factor;
  118064. if (other == null)
  118065. return false;
  118066. if (other instanceof A.SingleUnitSassNumber0) {
  118067. factor = A.conversionFactor0(other._single_unit$_unit, this._single_unit$_unit);
  118068. return factor != null && A.fuzzyEquals0(this._number1$_value * factor, other._number1$_value);
  118069. } else
  118070. return false;
  118071. },
  118072. get$hashCode(_) {
  118073. var _this = this,
  118074. t1 = _this.hashCache;
  118075. return t1 == null ? _this.hashCache = A.fuzzyHashCode0(_this._number1$_value * _this.canonicalMultiplierForUnit$1(_this._single_unit$_unit)) : t1;
  118076. }
  118077. };
  118078. A.SingleUnitSassNumber__coerceToUnit_closure0.prototype = {
  118079. call$1(factor) {
  118080. return new A.SingleUnitSassNumber0(this.unit, this.$this._number1$_value * factor, null);
  118081. },
  118082. $signature: 578
  118083. };
  118084. A.SingleUnitSassNumber__coerceValueToUnit_closure0.prototype = {
  118085. call$1(factor) {
  118086. return this.$this._number1$_value * factor;
  118087. },
  118088. $signature: 16
  118089. };
  118090. A.SingleUnitSassNumber_multiplyUnits_closure1.prototype = {
  118091. call$1(denominator) {
  118092. var factor = A.conversionFactor0(denominator, this.$this._single_unit$_unit);
  118093. if (factor == null)
  118094. return false;
  118095. this._box_0.value *= factor;
  118096. return true;
  118097. },
  118098. $signature: 5
  118099. };
  118100. A.SingleUnitSassNumber_multiplyUnits_closure2.prototype = {
  118101. call$0() {
  118102. var t1 = A._setArrayType([this.$this._single_unit$_unit], type$.JSArray_String),
  118103. t2 = this._box_0;
  118104. B.JSArray_methods.addAll$1(t1, t2.newNumerators);
  118105. t2.newNumerators = t1;
  118106. },
  118107. $signature: 0
  118108. };
  118109. A.SourceInterpolationVisitor.prototype = {
  118110. visitBinaryOperationExpression$1(_, node) {
  118111. return this.buffer = null;
  118112. },
  118113. visitBooleanExpression$1(_, node) {
  118114. return this.buffer = null;
  118115. },
  118116. visitColorExpression$1(_, node) {
  118117. var t2,
  118118. t1 = this.buffer;
  118119. if (t1 != null) {
  118120. t2 = node.span.get$text();
  118121. t1 = t1._interpolation_buffer0$_text;
  118122. t1._contents += t2;
  118123. }
  118124. return null;
  118125. },
  118126. visitFunctionExpression$1(_, node) {
  118127. return this.buffer = null;
  118128. },
  118129. visitInterpolatedFunctionExpression$1(_, node) {
  118130. var t1 = this.buffer;
  118131. if (t1 != null)
  118132. t1.addInterpolation$1(node.name);
  118133. this._visitArguments$1(node.$arguments);
  118134. },
  118135. _visitArguments$1($arguments) {
  118136. var t2, t3, _this = this,
  118137. t1 = $arguments.named;
  118138. if (t1.get$isNotEmpty(t1) || $arguments.rest != null)
  118139. return;
  118140. t1 = $arguments.positional;
  118141. if (t1.length === 0) {
  118142. t1 = _this.buffer;
  118143. if (t1 != null) {
  118144. t2 = $arguments.span.get$text();
  118145. t1 = t1._interpolation_buffer0$_text;
  118146. t1._contents += t2;
  118147. }
  118148. return;
  118149. }
  118150. t2 = _this.buffer;
  118151. if (t2 != null) {
  118152. t3 = A.SpanExtensions_before($arguments.span, J.get$span$z(B.JSArray_methods.get$first(t1)));
  118153. t3 = A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t3.file._decodedChars, t3._file$_start, t3._end), 0, null);
  118154. t2 = t2._interpolation_buffer0$_text;
  118155. t2._contents += t3;
  118156. }
  118157. _this._writeListAndBetween$2(t1, null);
  118158. t2 = _this.buffer;
  118159. if (t2 != null) {
  118160. t1 = A.SpanExtensions_after($arguments.span, J.get$span$z(B.JSArray_methods.get$last(t1)));
  118161. t1 = A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t1.file._decodedChars, t1._file$_start, t1._end), 0, null);
  118162. t2 = t2._interpolation_buffer0$_text;
  118163. t2._contents += t1;
  118164. }
  118165. },
  118166. visitIfExpression$1(_, node) {
  118167. return this.buffer = null;
  118168. },
  118169. visitListExpression$1(_, node) {
  118170. var t3, t4, _this = this,
  118171. t1 = node.contents,
  118172. t2 = t1.length;
  118173. if (t2 <= 1 && !node.hasBrackets) {
  118174. _this.buffer = null;
  118175. return;
  118176. }
  118177. t3 = node.hasBrackets;
  118178. if (t3 && t2 === 0) {
  118179. t1 = _this.buffer;
  118180. if (t1 != null) {
  118181. t2 = node.span.get$text();
  118182. t1 = t1._interpolation_buffer0$_text;
  118183. t1._contents += t2;
  118184. }
  118185. return;
  118186. }
  118187. if (t3) {
  118188. t2 = _this.buffer;
  118189. if (t2 != null) {
  118190. t4 = A.SpanExtensions_before(node.span, J.get$span$z(B.JSArray_methods.get$first(t1)));
  118191. t4 = A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t4.file._decodedChars, t4._file$_start, t4._end), 0, null);
  118192. t2 = t2._interpolation_buffer0$_text;
  118193. t2._contents += t4;
  118194. }
  118195. }
  118196. _this._writeListAndBetween$1(t1);
  118197. if (t3) {
  118198. t2 = _this.buffer;
  118199. if (t2 != null) {
  118200. t1 = A.SpanExtensions_after(node.span, J.get$span$z(B.JSArray_methods.get$last(t1)));
  118201. t1 = A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t1.file._decodedChars, t1._file$_start, t1._end), 0, null);
  118202. t2 = t2._interpolation_buffer0$_text;
  118203. t2._contents += t1;
  118204. }
  118205. }
  118206. },
  118207. visitMapExpression$1(_, node) {
  118208. return this.buffer = null;
  118209. },
  118210. visitNullExpression$1(_, node) {
  118211. return this.buffer = null;
  118212. },
  118213. visitNumberExpression$1(_, node) {
  118214. var t2,
  118215. t1 = this.buffer;
  118216. if (t1 != null) {
  118217. t2 = node.span.get$text();
  118218. t1 = t1._interpolation_buffer0$_text;
  118219. t1._contents += t2;
  118220. }
  118221. return null;
  118222. },
  118223. visitParenthesizedExpression$1(_, node) {
  118224. return this.buffer = null;
  118225. },
  118226. visitSelectorExpression$1(_, node) {
  118227. return this.buffer = null;
  118228. },
  118229. visitStringExpression$1(_, node) {
  118230. var t2, t3, t4, t5, i, span, _0_0, t6, expression, t7, t8, t9, _this = this,
  118231. t1 = node.text;
  118232. if (t1.get$asPlain() != null) {
  118233. t2 = _this.buffer;
  118234. if (t2 != null) {
  118235. t1 = t1.span.get$text();
  118236. t2 = t2._interpolation_buffer0$_text;
  118237. t2._contents += t1;
  118238. }
  118239. return;
  118240. }
  118241. for (t2 = t1.contents, t3 = t2.length, t4 = t3 - 1, t5 = t1.span, i = 0; i < t3; ++i) {
  118242. span = t1.spanForElement$1(i);
  118243. _0_0 = t2[i];
  118244. t6 = _0_0 instanceof A.Expression0;
  118245. expression = t6 ? _0_0 : null;
  118246. if (t6) {
  118247. if (i === 0) {
  118248. t6 = _this.buffer;
  118249. if (t6 != null) {
  118250. t7 = A.SpanExtensions_before(t5, span);
  118251. t8 = t7._file$_start;
  118252. t9 = t7.file._decodedChars;
  118253. t9 = A.String_String$fromCharCodes(new Uint32Array(t9.subarray(t8, A._checkValidRange(t8, t7._end, t9.length))), 0, null);
  118254. t6 = t6._interpolation_buffer0$_text;
  118255. t6._contents += t9;
  118256. }
  118257. }
  118258. t6 = _this.buffer;
  118259. if (t6 != null) {
  118260. t6._interpolation_buffer0$_flushText$0();
  118261. t6._interpolation_buffer0$_contents.push(expression);
  118262. t6._interpolation_buffer0$_spans.push(span);
  118263. }
  118264. if (i === t4) {
  118265. t6 = _this.buffer;
  118266. if (t6 != null) {
  118267. t7 = A.SpanExtensions_after(t5, span);
  118268. t8 = t7._file$_start;
  118269. t9 = t7.file._decodedChars;
  118270. t9 = A.String_String$fromCharCodes(new Uint32Array(t9.subarray(t8, A._checkValidRange(t8, t7._end, t9.length))), 0, null);
  118271. t6 = t6._interpolation_buffer0$_text;
  118272. t6._contents += t9;
  118273. }
  118274. }
  118275. continue;
  118276. }
  118277. t6 = _this.buffer;
  118278. if (t6 != null) {
  118279. t6 = t6._interpolation_buffer0$_text;
  118280. t7 = span.toString$0(0);
  118281. t6._contents += t7;
  118282. }
  118283. }
  118284. },
  118285. visitSupportsExpression$1(_, node) {
  118286. return this.buffer = null;
  118287. },
  118288. visitUnaryOperationExpression$1(_, node) {
  118289. return this.buffer = null;
  118290. },
  118291. visitValueExpression$1(_, node) {
  118292. return this.buffer = null;
  118293. },
  118294. visitVariableExpression$1(_, node) {
  118295. return this.buffer = null;
  118296. },
  118297. _writeListAndBetween$2(expressions, visitor) {
  118298. var t1, lastExpression, _i, expression, t2, t3, t4, t5;
  118299. for (t1 = expressions.length, lastExpression = null, _i = 0; _i < t1; ++_i, lastExpression = expression) {
  118300. expression = expressions[_i];
  118301. if (lastExpression != null) {
  118302. t2 = this.buffer;
  118303. if (t2 != null) {
  118304. t3 = A.SpanExtensions_between(lastExpression.get$span(lastExpression), expression.get$span(expression));
  118305. t4 = t3._file$_start;
  118306. t5 = t3.file._decodedChars;
  118307. t5 = A.String_String$fromCharCodes(new Uint32Array(t5.subarray(t4, A._checkValidRange(t4, t3._end, t5.length))), 0, null);
  118308. t2 = t2._interpolation_buffer0$_text;
  118309. t2._contents += t5;
  118310. }
  118311. }
  118312. expression.accept$1(this);
  118313. if (this.buffer == null)
  118314. return;
  118315. }
  118316. },
  118317. _writeListAndBetween$1(expressions) {
  118318. return this._writeListAndBetween$2(expressions, null);
  118319. },
  118320. $isExpressionVisitor: 1
  118321. };
  118322. A.SourceMapBuffer0.prototype = {
  118323. get$_source_map_buffer0$_targetLocation() {
  118324. var t1 = this._source_map_buffer0$_buffer._contents,
  118325. t2 = this._source_map_buffer0$_line;
  118326. return A.SourceLocation$(t1.length, this._source_map_buffer0$_column, t2, null);
  118327. },
  118328. get$length(_) {
  118329. return this._source_map_buffer0$_buffer._contents.length;
  118330. },
  118331. forSpan$1$2(span, callback) {
  118332. var t1, _this = this,
  118333. wasInSpan = _this._source_map_buffer0$_inSpan;
  118334. _this._source_map_buffer0$_inSpan = true;
  118335. _this._source_map_buffer0$_addEntry$2(span.get$start(span), _this.get$_source_map_buffer0$_targetLocation());
  118336. try {
  118337. t1 = callback.call$0();
  118338. return t1;
  118339. } finally {
  118340. _this._source_map_buffer0$_inSpan = wasInSpan;
  118341. }
  118342. },
  118343. forSpan$2(span, callback) {
  118344. callback.toString;
  118345. return this.forSpan$1$2(span, callback, type$.dynamic);
  118346. },
  118347. _source_map_buffer0$_addEntry$2(source, target) {
  118348. var entry, t2,
  118349. t1 = this._source_map_buffer0$_entries;
  118350. if (t1.length !== 0) {
  118351. entry = B.JSArray_methods.get$last(t1);
  118352. t2 = entry.source;
  118353. if (t2.file.getLine$1(t2.offset) === source.file.getLine$1(source.offset) && entry.target.line === target.line)
  118354. return;
  118355. if (entry.target.offset === target.offset)
  118356. return;
  118357. }
  118358. t1.push(new A.Entry(source, target, null));
  118359. },
  118360. write$1(_, object) {
  118361. var t1, i,
  118362. string = J.toString$0$(object);
  118363. this._source_map_buffer0$_buffer._contents += string;
  118364. for (t1 = string.length, i = 0; i < t1; ++i)
  118365. if (string.charCodeAt(i) === 10)
  118366. this._source_map_buffer0$_writeLine$0();
  118367. else
  118368. ++this._source_map_buffer0$_column;
  118369. },
  118370. writeCharCode$1(charCode) {
  118371. var t1 = this._source_map_buffer0$_buffer,
  118372. t2 = A.Primitives_stringFromCharCode(charCode);
  118373. t1._contents += t2;
  118374. if (charCode === 10)
  118375. this._source_map_buffer0$_writeLine$0();
  118376. else
  118377. ++this._source_map_buffer0$_column;
  118378. },
  118379. _source_map_buffer0$_writeLine$0() {
  118380. var _this = this,
  118381. t1 = _this._source_map_buffer0$_entries;
  118382. 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)
  118383. t1.pop();
  118384. ++_this._source_map_buffer0$_line;
  118385. _this._source_map_buffer0$_column = 0;
  118386. if (_this._source_map_buffer0$_inSpan)
  118387. t1.push(new A.Entry(B.JSArray_methods.get$last(t1).source, _this.get$_source_map_buffer0$_targetLocation(), null));
  118388. },
  118389. toString$0(_) {
  118390. var t1 = this._source_map_buffer0$_buffer._contents;
  118391. return t1.charCodeAt(0) == 0 ? t1 : t1;
  118392. },
  118393. buildSourceMap$1$prefix(prefix) {
  118394. var i, t2, prefixColumn, _box_0 = {},
  118395. t1 = prefix.length;
  118396. if (t1 === 0)
  118397. return A.SingleMapping_SingleMapping$fromEntries(this._source_map_buffer0$_entries);
  118398. _box_0.prefixColumn = _box_0.prefixLines = 0;
  118399. for (i = 0, t2 = 0; i < t1; ++i)
  118400. if (prefix.charCodeAt(i) === 10) {
  118401. ++_box_0.prefixLines;
  118402. _box_0.prefixColumn = 0;
  118403. t2 = 0;
  118404. } else {
  118405. prefixColumn = t2 + 1;
  118406. _box_0.prefixColumn = prefixColumn;
  118407. t2 = prefixColumn;
  118408. }
  118409. t2 = this._source_map_buffer0$_entries;
  118410. 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>")));
  118411. }
  118412. };
  118413. A.SourceMapBuffer_buildSourceMap_closure0.prototype = {
  118414. call$1(entry) {
  118415. var t1 = entry.target,
  118416. t2 = t1.line,
  118417. t3 = this._box_0,
  118418. t4 = t3.prefixLines;
  118419. t3 = t2 === 0 ? t3.prefixColumn : 0;
  118420. return new A.Entry(entry.source, A.SourceLocation$(t1.offset + this.prefixLength, t1.column + t3, t2 + t4, null), entry.identifierName);
  118421. },
  118422. $signature: 164
  118423. };
  118424. A.updateSourceSpanPrototype_closure.prototype = {
  118425. call$0() {
  118426. return this.span;
  118427. },
  118428. $signature: 28
  118429. };
  118430. A.updateSourceSpanPrototype_closure0.prototype = {
  118431. call$1(span) {
  118432. return span.get$start(span);
  118433. },
  118434. $signature: 263
  118435. };
  118436. A.updateSourceSpanPrototype_closure1.prototype = {
  118437. call$1(span) {
  118438. return span.get$end(span);
  118439. },
  118440. $signature: 263
  118441. };
  118442. A.updateSourceSpanPrototype_closure2.prototype = {
  118443. call$1(span) {
  118444. return A.NullableExtension_andThen0(span.get$sourceUrl(span), new A.updateSourceSpanPrototype__closure());
  118445. },
  118446. $signature: 580
  118447. };
  118448. A.updateSourceSpanPrototype__closure.prototype = {
  118449. call$1(url) {
  118450. var t1, _null = null;
  118451. if (url.get$scheme() === "") {
  118452. t1 = $.$get$context();
  118453. 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));
  118454. } else
  118455. t1 = url;
  118456. return new self.URL(t1.toString$0(0));
  118457. },
  118458. $signature: 264
  118459. };
  118460. A.updateSourceSpanPrototype_closure3.prototype = {
  118461. call$1(span) {
  118462. return span.get$text();
  118463. },
  118464. $signature: 265
  118465. };
  118466. A.updateSourceSpanPrototype_closure4.prototype = {
  118467. call$1(span) {
  118468. return span.get$context(span);
  118469. },
  118470. $signature: 265
  118471. };
  118472. A.updateSourceSpanPrototype_closure5.prototype = {
  118473. call$1($location) {
  118474. return $location.get$line();
  118475. },
  118476. $signature: 266
  118477. };
  118478. A.updateSourceSpanPrototype_closure6.prototype = {
  118479. call$1($location) {
  118480. return $location.get$column();
  118481. },
  118482. $signature: 266
  118483. };
  118484. A.ColorSpace0.prototype = {
  118485. get$isLegacyInternal() {
  118486. return false;
  118487. },
  118488. get$isPolarInternal() {
  118489. return false;
  118490. },
  118491. convert$5(dest, channel0, channel1, channel2, alpha) {
  118492. return this.convertLinear$5(dest, channel0, channel1, channel2, alpha);
  118493. },
  118494. convertLinear$10$missingA$missingB$missingChroma$missingHue$missingLightness(dest, red, green, blue, alpha, missingA, missingB, missingChroma, missingHue, missingLightness) {
  118495. var t1, t2, transformedBlue, transformedGreen, transformedRed, linearRed, linearGreen, linearBlue, matrix, _this = this;
  118496. $label0$0: {
  118497. t1 = B.HslColorSpace_JQ20 !== dest;
  118498. if (!t1 || B.HwbColorSpace_guQ0 === dest) {
  118499. t2 = B.SrgbColorSpace_thf0;
  118500. break $label0$0;
  118501. }
  118502. if (B.LabColorSpace_2nT0 === dest || B.LchColorSpace_Bpv0 === dest) {
  118503. t2 = B.XyzD50ColorSpace_2OB0;
  118504. break $label0$0;
  118505. }
  118506. if (B.OklabColorSpace_5400 === dest || B.OklchColorSpace_9Gj0 === dest) {
  118507. t2 = B.LmsColorSpace_Os30;
  118508. break $label0$0;
  118509. }
  118510. t2 = dest;
  118511. break $label0$0;
  118512. }
  118513. if (t2 === _this) {
  118514. transformedBlue = blue;
  118515. transformedGreen = green;
  118516. transformedRed = red;
  118517. } else {
  118518. linearRed = _this.toLinear$1(red == null ? 0 : red);
  118519. linearGreen = _this.toLinear$1(green == null ? 0 : green);
  118520. linearBlue = _this.toLinear$1(blue == null ? 0 : blue);
  118521. matrix = _this.transformationMatrix$1(t2);
  118522. transformedRed = t2.fromLinear$1(matrix[0] * linearRed + matrix[1] * linearGreen + matrix[2] * linearBlue);
  118523. transformedGreen = t2.fromLinear$1(matrix[3] * linearRed + matrix[4] * linearGreen + matrix[5] * linearBlue);
  118524. transformedBlue = t2.fromLinear$1(matrix[6] * linearRed + matrix[7] * linearGreen + matrix[8] * linearBlue);
  118525. }
  118526. $label1$1: {
  118527. if (!t1 || B.HwbColorSpace_guQ0 === dest) {
  118528. t1 = B.SrgbColorSpace_thf0.convert$8$missingChroma$missingHue$missingLightness(dest, transformedRed, transformedGreen, transformedBlue, alpha, missingChroma, missingHue, missingLightness);
  118529. break $label1$1;
  118530. }
  118531. if (B.LabColorSpace_2nT0 === dest || B.LchColorSpace_Bpv0 === dest) {
  118532. t1 = B.XyzD50ColorSpace_2OB0.convert$10$missingA$missingB$missingChroma$missingHue$missingLightness(dest, transformedRed, transformedGreen, transformedBlue, alpha, missingA, missingB, missingChroma, missingHue, missingLightness);
  118533. break $label1$1;
  118534. }
  118535. if (B.OklabColorSpace_5400 === dest || B.OklchColorSpace_9Gj0 === dest) {
  118536. t1 = B.LmsColorSpace_Os30.convert$10$missingA$missingB$missingChroma$missingHue$missingLightness(dest, transformedRed, transformedGreen, transformedBlue, alpha, missingA, missingB, missingChroma, missingHue, missingLightness);
  118537. break $label1$1;
  118538. }
  118539. t1 = red == null ? null : transformedRed;
  118540. t2 = green == null ? null : transformedGreen;
  118541. t1 = A.SassColor_SassColor$forSpaceInternal0(dest, t1, t2, blue == null ? null : transformedBlue, alpha);
  118542. break $label1$1;
  118543. }
  118544. return t1;
  118545. },
  118546. convertLinear$5(dest, red, green, blue, alpha) {
  118547. return this.convertLinear$10$missingA$missingB$missingChroma$missingHue$missingLightness(dest, red, green, blue, alpha, false, false, false, false, false);
  118548. },
  118549. toLinear$1(channel) {
  118550. return A.throwExpression(A.UnimplementedError$("[BUG] Color space " + this.toString$0(0) + " doesn't support linear conversions."));
  118551. },
  118552. fromLinear$1(channel) {
  118553. return A.throwExpression(A.UnimplementedError$("[BUG] Color space " + this.toString$0(0) + " doesn't support linear conversions."));
  118554. },
  118555. transformationMatrix$1(dest) {
  118556. return A.throwExpression(A.UnimplementedError$("[BUG] Color space conversion from " + this.toString$0(0) + " to " + dest.toString$0(0) + " not implemented."));
  118557. },
  118558. toString$0(_) {
  118559. return this.name;
  118560. }
  118561. };
  118562. A.SrgbColorSpace0.prototype = {
  118563. get$isBoundedInternal() {
  118564. return true;
  118565. },
  118566. convert$8$missingChroma$missingHue$missingLightness(dest, red, green, blue, alpha, missingChroma, missingHue, missingLightness) {
  118567. var max, min, delta, hue, lightness, saturation, t1, t2, whiteness, blackness, _null = null;
  118568. if (B.HslColorSpace_JQ20 === dest || B.HwbColorSpace_guQ0 === dest) {
  118569. if (red == null)
  118570. red = 0;
  118571. if (green == null)
  118572. green = 0;
  118573. if (blue == null)
  118574. blue = 0;
  118575. max = Math.max(Math.max(red, green), blue);
  118576. min = Math.min(Math.min(red, green), blue);
  118577. delta = max - min;
  118578. if (max === min)
  118579. hue = 0;
  118580. else if (max === red)
  118581. hue = 60 * (green - blue) / delta + 360;
  118582. else
  118583. hue = max === green ? 60 * (blue - red) / delta + 120 : 60 * (red - green) / delta + 240;
  118584. if (dest === B.HslColorSpace_JQ20) {
  118585. lightness = (min + max) / 2;
  118586. saturation = lightness === 0 || lightness === 1 ? 0 : 100 * (max - lightness) / Math.min(lightness, 1 - lightness);
  118587. if (saturation < 0) {
  118588. hue += 180;
  118589. saturation = Math.abs(saturation);
  118590. }
  118591. t1 = missingHue || A.fuzzyEquals0(saturation, 0) ? _null : B.JSNumber_methods.$mod(hue, 360);
  118592. t2 = missingChroma ? _null : saturation;
  118593. return A.SassColor_SassColor$forSpaceInternal0(dest, t1, t2, missingLightness ? _null : lightness * 100, alpha);
  118594. } else {
  118595. whiteness = min * 100;
  118596. blackness = 100 - max * 100;
  118597. if (!missingHue) {
  118598. t1 = whiteness + blackness;
  118599. t1 = t1 > 100 || A.fuzzyEquals0(t1, 100);
  118600. } else
  118601. t1 = true;
  118602. return A.SassColor_SassColor$forSpaceInternal0(dest, t1 ? _null : B.JSNumber_methods.$mod(hue, 360), whiteness, blackness, alpha);
  118603. }
  118604. }
  118605. if (B.RgbColorSpace_i0P0 === dest) {
  118606. t1 = red == null ? _null : red * 255;
  118607. t2 = green == null ? _null : green * 255;
  118608. return A.SassColor_SassColor$rgbInternal0(t1, t2, blue == null ? _null : blue * 255, alpha, _null);
  118609. }
  118610. if (B.SrgbLinearColorSpace_kUj0 === dest) {
  118611. t1 = this.get$toLinear();
  118612. return A.SassColor_SassColor$forSpaceInternal0(dest, A.NullableExtension_andThen0(red, t1), A.NullableExtension_andThen0(green, t1), A.NullableExtension_andThen0(blue, t1), alpha);
  118613. }
  118614. return this.super$ColorSpace$convertLinear0(dest, red, green, blue, alpha, false, false, missingChroma, missingHue, missingLightness);
  118615. },
  118616. convert$5(dest, red, green, blue, alpha) {
  118617. return this.convert$8$missingChroma$missingHue$missingLightness(dest, red, green, blue, alpha, false, false, false);
  118618. },
  118619. convert$6$missingHue(dest, red, green, blue, alpha, missingHue) {
  118620. return this.convert$8$missingChroma$missingHue$missingLightness(dest, red, green, blue, alpha, false, missingHue, false);
  118621. },
  118622. toLinear$1(channel) {
  118623. return A.srgbAndDisplayP3ToLinear0(channel);
  118624. },
  118625. fromLinear$1(channel) {
  118626. return A.srgbAndDisplayP3FromLinear0(channel);
  118627. },
  118628. transformationMatrix$1(dest) {
  118629. var t1;
  118630. $label0$0: {
  118631. if (B.DisplayP3ColorSpace_MmT0 === dest) {
  118632. t1 = $.$get$linearSrgbToLinearDisplayP30();
  118633. break $label0$0;
  118634. }
  118635. if (B.A98RgbColorSpace_lf20 === dest) {
  118636. t1 = $.$get$linearSrgbToLinearA98Rgb0();
  118637. break $label0$0;
  118638. }
  118639. if (B.ProphotoRgbColorSpace_BDz0 === dest) {
  118640. t1 = $.$get$linearSrgbToLinearProphotoRgb0();
  118641. break $label0$0;
  118642. }
  118643. if (B.Rec2020ColorSpace_6oo0 === dest) {
  118644. t1 = $.$get$linearSrgbToLinearRec20200();
  118645. break $label0$0;
  118646. }
  118647. if (B.XyzD65ColorSpace_WiJ0 === dest) {
  118648. t1 = $.$get$linearSrgbToXyzD650();
  118649. break $label0$0;
  118650. }
  118651. if (B.XyzD50ColorSpace_2OB0 === dest) {
  118652. t1 = $.$get$linearSrgbToXyzD500();
  118653. break $label0$0;
  118654. }
  118655. if (B.LmsColorSpace_Os30 === dest) {
  118656. t1 = $.$get$linearSrgbToLms0();
  118657. break $label0$0;
  118658. }
  118659. t1 = this.super$ColorSpace$transformationMatrix0(dest);
  118660. break $label0$0;
  118661. }
  118662. return t1;
  118663. }
  118664. };
  118665. A.SrgbLinearColorSpace0.prototype = {
  118666. get$isBoundedInternal() {
  118667. return true;
  118668. },
  118669. convert$5(dest, red, green, blue, alpha) {
  118670. var t1;
  118671. $label0$0: {
  118672. if (B.RgbColorSpace_i0P0 === dest || B.HslColorSpace_JQ20 === dest || B.HwbColorSpace_guQ0 === dest || B.SrgbColorSpace_thf0 === dest) {
  118673. 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);
  118674. break $label0$0;
  118675. }
  118676. t1 = this.super$ColorSpace$convert0(dest, red, green, blue, alpha);
  118677. break $label0$0;
  118678. }
  118679. return t1;
  118680. },
  118681. toLinear$1(channel) {
  118682. return channel;
  118683. },
  118684. fromLinear$1(channel) {
  118685. return channel;
  118686. },
  118687. transformationMatrix$1(dest) {
  118688. var t1;
  118689. $label0$0: {
  118690. if (B.DisplayP3ColorSpace_MmT0 === dest) {
  118691. t1 = $.$get$linearSrgbToLinearDisplayP30();
  118692. break $label0$0;
  118693. }
  118694. if (B.A98RgbColorSpace_lf20 === dest) {
  118695. t1 = $.$get$linearSrgbToLinearA98Rgb0();
  118696. break $label0$0;
  118697. }
  118698. if (B.ProphotoRgbColorSpace_BDz0 === dest) {
  118699. t1 = $.$get$linearSrgbToLinearProphotoRgb0();
  118700. break $label0$0;
  118701. }
  118702. if (B.Rec2020ColorSpace_6oo0 === dest) {
  118703. t1 = $.$get$linearSrgbToLinearRec20200();
  118704. break $label0$0;
  118705. }
  118706. if (B.XyzD65ColorSpace_WiJ0 === dest) {
  118707. t1 = $.$get$linearSrgbToXyzD650();
  118708. break $label0$0;
  118709. }
  118710. if (B.XyzD50ColorSpace_2OB0 === dest) {
  118711. t1 = $.$get$linearSrgbToXyzD500();
  118712. break $label0$0;
  118713. }
  118714. if (B.LmsColorSpace_Os30 === dest) {
  118715. t1 = $.$get$linearSrgbToLms0();
  118716. break $label0$0;
  118717. }
  118718. t1 = this.super$ColorSpace$transformationMatrix0(dest);
  118719. break $label0$0;
  118720. }
  118721. return t1;
  118722. }
  118723. };
  118724. A.Statement0.prototype = {$isAstNode0: 1, $isSassNode: 1};
  118725. A.JSStatementVisitor.prototype = {
  118726. visitAtRootRule$1(_, node) {
  118727. return J.visitAtRootRule$1$x(this._statement$_inner, node);
  118728. },
  118729. visitAtRule$1(_, node) {
  118730. return J.visitAtRule$1$x(this._statement$_inner, node);
  118731. },
  118732. visitContentBlock$1(_, node) {
  118733. return J.visitContentBlock$1$x(this._statement$_inner, node);
  118734. },
  118735. visitContentRule$1(_, node) {
  118736. return J.visitContentRule$1$x(this._statement$_inner, node);
  118737. },
  118738. visitDebugRule$1(_, node) {
  118739. return J.visitDebugRule$1$x(this._statement$_inner, node);
  118740. },
  118741. visitDeclaration$1(_, node) {
  118742. return J.visitDeclaration$1$x(this._statement$_inner, node);
  118743. },
  118744. visitEachRule$1(_, node) {
  118745. return J.visitEachRule$1$x(this._statement$_inner, node);
  118746. },
  118747. visitErrorRule$1(_, node) {
  118748. return J.visitErrorRule$1$x(this._statement$_inner, node);
  118749. },
  118750. visitExtendRule$1(_, node) {
  118751. return J.visitExtendRule$1$x(this._statement$_inner, node);
  118752. },
  118753. visitForRule$1(_, node) {
  118754. return J.visitForRule$1$x(this._statement$_inner, node);
  118755. },
  118756. visitForwardRule$1(_, node) {
  118757. return J.visitForwardRule$1$x(this._statement$_inner, node);
  118758. },
  118759. visitFunctionRule$1(_, node) {
  118760. return J.visitFunctionRule$1$x(this._statement$_inner, node);
  118761. },
  118762. visitIfRule$1(_, node) {
  118763. return J.visitIfRule$1$x(this._statement$_inner, node);
  118764. },
  118765. visitImportRule$1(_, node) {
  118766. return J.visitImportRule$1$x(this._statement$_inner, node);
  118767. },
  118768. visitIncludeRule$1(_, node) {
  118769. return J.visitIncludeRule$1$x(this._statement$_inner, node);
  118770. },
  118771. visitLoudComment$1(_, node) {
  118772. return J.visitLoudComment$1$x(this._statement$_inner, node);
  118773. },
  118774. visitMediaRule$1(_, node) {
  118775. return J.visitMediaRule$1$x(this._statement$_inner, node);
  118776. },
  118777. visitMixinRule$1(_, node) {
  118778. return J.visitMixinRule$1$x(this._statement$_inner, node);
  118779. },
  118780. visitReturnRule$1(_, node) {
  118781. return J.visitReturnRule$1$x(this._statement$_inner, node);
  118782. },
  118783. visitSilentComment$1(_, node) {
  118784. return J.visitSilentComment$1$x(this._statement$_inner, node);
  118785. },
  118786. visitStyleRule$1(_, node) {
  118787. return J.visitStyleRule$1$x(this._statement$_inner, node);
  118788. },
  118789. visitStylesheet$1(_, node) {
  118790. return J.visitStylesheet$1$x(this._statement$_inner, node);
  118791. },
  118792. visitSupportsRule$1(_, node) {
  118793. return J.visitSupportsRule$1$x(this._statement$_inner, node);
  118794. },
  118795. visitUseRule$1(_, node) {
  118796. return J.visitUseRule$1$x(this._statement$_inner, node);
  118797. },
  118798. visitVariableDeclaration$1(_, node) {
  118799. return J.visitVariableDeclaration$1$x(this._statement$_inner, node);
  118800. },
  118801. visitWarnRule$1(_, node) {
  118802. return J.visitWarnRule$1$x(this._statement$_inner, node);
  118803. },
  118804. visitWhileRule$1(_, node) {
  118805. return J.visitWhileRule$1$x(this._statement$_inner, node);
  118806. },
  118807. $isStatementVisitor: 1
  118808. };
  118809. A.JSStatementVisitorObject.prototype = {};
  118810. A.StatementSearchVisitor0.prototype = {
  118811. visitAtRootRule$1(_, node) {
  118812. return this.visitChildren$1(node.children);
  118813. },
  118814. visitAtRule$1(_, node) {
  118815. return A.NullableExtension_andThen0(node.children, this.get$visitChildren());
  118816. },
  118817. visitContentBlock$1(_, node) {
  118818. return this.visitChildren$1(node.children);
  118819. },
  118820. visitContentRule$1(_, node) {
  118821. return null;
  118822. },
  118823. visitDebugRule$1(_, node) {
  118824. return null;
  118825. },
  118826. visitDeclaration$1(_, node) {
  118827. return A.NullableExtension_andThen0(node.children, this.get$visitChildren());
  118828. },
  118829. visitEachRule$1(_, node) {
  118830. return this.visitChildren$1(node.children);
  118831. },
  118832. visitErrorRule$1(_, node) {
  118833. return null;
  118834. },
  118835. visitExtendRule$1(_, node) {
  118836. return null;
  118837. },
  118838. visitForRule$1(_, node) {
  118839. return this.visitChildren$1(node.children);
  118840. },
  118841. visitForwardRule$1(_, node) {
  118842. return null;
  118843. },
  118844. visitFunctionRule$1(_, node) {
  118845. return this.visitChildren$1(node.children);
  118846. },
  118847. visitIfRule$1(_, node) {
  118848. var t1 = A.IterableExtension_search0(node.clauses, new A.StatementSearchVisitor_visitIfRule_closure1(this));
  118849. return t1 == null ? A.NullableExtension_andThen0(node.lastClause, new A.StatementSearchVisitor_visitIfRule_closure2(this)) : t1;
  118850. },
  118851. visitImportRule$1(_, node) {
  118852. return null;
  118853. },
  118854. visitIncludeRule$1(_, node) {
  118855. return A.NullableExtension_andThen0(node.content, this.get$visitContentBlock(this));
  118856. },
  118857. visitLoudComment$1(_, node) {
  118858. return null;
  118859. },
  118860. visitMediaRule$1(_, node) {
  118861. return this.visitChildren$1(node.children);
  118862. },
  118863. visitMixinRule$1(_, node) {
  118864. return this.visitChildren$1(node.children);
  118865. },
  118866. visitReturnRule$1(_, node) {
  118867. return null;
  118868. },
  118869. visitSilentComment$1(_, node) {
  118870. return null;
  118871. },
  118872. visitStyleRule$1(_, node) {
  118873. return this.visitChildren$1(node.children);
  118874. },
  118875. visitStylesheet$1(_, node) {
  118876. return this.visitChildren$1(node.children);
  118877. },
  118878. visitSupportsRule$1(_, node) {
  118879. return this.visitChildren$1(node.children);
  118880. },
  118881. visitUseRule$1(_, node) {
  118882. return null;
  118883. },
  118884. visitVariableDeclaration$1(_, node) {
  118885. return null;
  118886. },
  118887. visitWarnRule$1(_, node) {
  118888. return null;
  118889. },
  118890. visitWhileRule$1(_, node) {
  118891. return this.visitChildren$1(node.children);
  118892. },
  118893. visitChildren$1(children) {
  118894. return A.IterableExtension_search0(children, new A.StatementSearchVisitor_visitChildren_closure0(this));
  118895. }
  118896. };
  118897. A.StatementSearchVisitor_visitIfRule_closure1.prototype = {
  118898. call$1(clause) {
  118899. return A.IterableExtension_search0(clause.children, new A.StatementSearchVisitor_visitIfRule__closure2(this.$this));
  118900. },
  118901. $signature() {
  118902. return A._instanceType(this.$this)._eval$1("StatementSearchVisitor0.T?(IfClause0)");
  118903. }
  118904. };
  118905. A.StatementSearchVisitor_visitIfRule__closure2.prototype = {
  118906. call$1(child) {
  118907. return child.accept$1(this.$this);
  118908. },
  118909. $signature() {
  118910. return A._instanceType(this.$this)._eval$1("StatementSearchVisitor0.T?(Statement0)");
  118911. }
  118912. };
  118913. A.StatementSearchVisitor_visitIfRule_closure2.prototype = {
  118914. call$1(lastClause) {
  118915. return A.IterableExtension_search0(lastClause.children, new A.StatementSearchVisitor_visitIfRule__closure1(this.$this));
  118916. },
  118917. $signature() {
  118918. return A._instanceType(this.$this)._eval$1("StatementSearchVisitor0.T?(ElseClause0)");
  118919. }
  118920. };
  118921. A.StatementSearchVisitor_visitIfRule__closure1.prototype = {
  118922. call$1(child) {
  118923. return child.accept$1(this.$this);
  118924. },
  118925. $signature() {
  118926. return A._instanceType(this.$this)._eval$1("StatementSearchVisitor0.T?(Statement0)");
  118927. }
  118928. };
  118929. A.StatementSearchVisitor_visitChildren_closure0.prototype = {
  118930. call$1(child) {
  118931. return child.accept$1(this.$this);
  118932. },
  118933. $signature() {
  118934. return A._instanceType(this.$this)._eval$1("StatementSearchVisitor0.T?(Statement0)");
  118935. }
  118936. };
  118937. A.StaticImport0.prototype = {
  118938. toString$0(_) {
  118939. var t1 = this.url.toString$0(0),
  118940. t2 = this.modifiers;
  118941. return t1 + (t2 == null ? "" : " " + t2.toString$0(0));
  118942. },
  118943. $isImport0: 1,
  118944. $isAstNode0: 1,
  118945. $isSassNode: 1,
  118946. get$span(receiver) {
  118947. return this.span;
  118948. }
  118949. };
  118950. A.StderrLogger0.prototype = {
  118951. internalWarn$4$deprecation$span$trace(message, deprecation, span, trace) {
  118952. var t3,
  118953. result = new A.StringBuffer(""),
  118954. t1 = deprecation != null,
  118955. showDeprecation = t1 && deprecation !== B.Deprecation_ZVM,
  118956. t2 = this.color;
  118957. if (t2) {
  118958. t3 = result._contents = "" + "\x1b[33m\x1b[1m";
  118959. t3 = result._contents = (t1 ? result._contents = t3 + "Deprecation " : t3) + "Warning\x1b[0m";
  118960. if (showDeprecation) {
  118961. t1 = t3 + (" [\x1b[34m" + deprecation.toString$0(0) + "\x1b[0m]");
  118962. result._contents = t1;
  118963. } else
  118964. t1 = t3;
  118965. } else {
  118966. t3 = result._contents = (t1 ? result._contents = "" + "DEPRECATION " : "") + "WARNING";
  118967. if (showDeprecation) {
  118968. t1 = t3 + (" [" + deprecation.toString$0(0) + "]");
  118969. result._contents = t1;
  118970. } else
  118971. t1 = t3;
  118972. }
  118973. if (span == null)
  118974. t1 = result._contents = t1 + (": " + message + "\n");
  118975. else if (trace != null) {
  118976. t1 += ": " + message + "\n\n" + span.highlight$1$color(t2) + "\n";
  118977. result._contents = t1;
  118978. } else {
  118979. t1 += " on " + span.message$2$color(0, "\n" + message, t2) + "\n";
  118980. result._contents = t1;
  118981. }
  118982. if (trace != null)
  118983. result._contents = t1 + (A.indent0(B.JSString_methods.trimRight$0(trace.toString$0(0)), 4) + "\n");
  118984. A.printError0(result);
  118985. },
  118986. debug$2(_, message, span) {
  118987. var url, t3, t4,
  118988. t1 = span.file,
  118989. t2 = span._file$_start;
  118990. if (A.FileLocation$_(t1, t2).file.url == null)
  118991. url = "-";
  118992. else {
  118993. t3 = A.FileLocation$_(t1, t2).file.url;
  118994. t4 = $.$get$context();
  118995. t3.toString;
  118996. url = t4.prettyUri$1(t3);
  118997. }
  118998. t1 = A.FileLocation$_(t1, t2);
  118999. t1 = t1.file.getLine$1(t1.offset);
  119000. t2 = this.color ? "\x1b[1mDebug\x1b[0m" : "DEBUG";
  119001. t2 = "" + (url + ":" + (t1 + 1) + " ") + t2 + (": " + message);
  119002. A.printError0(t2.charCodeAt(0) == 0 ? t2 : t2);
  119003. }
  119004. };
  119005. A.StringExpression0.prototype = {
  119006. get$span(_) {
  119007. return this.text.span;
  119008. },
  119009. accept$1$1(visitor) {
  119010. return visitor.visitStringExpression$1(0, this);
  119011. },
  119012. accept$1(visitor) {
  119013. return this.accept$1$1(visitor, type$.dynamic);
  119014. },
  119015. asInterpolation$1$static($static) {
  119016. var t1, t2, quote, t3, t4, t5, buffer, t6, i, value, t7;
  119017. if (!this.hasQuotes)
  119018. return this.text;
  119019. t1 = this.text;
  119020. t2 = t1.contents;
  119021. quote = A.StringExpression__bestQuote0(new A.WhereTypeIterable(t2, type$.WhereTypeIterable_String));
  119022. t3 = new A.StringBuffer("");
  119023. t4 = A._setArrayType([], type$.JSArray_Object);
  119024. t5 = A._setArrayType([], type$.JSArray_nullable_FileSpan);
  119025. buffer = new A.InterpolationBuffer0(t3, t4, t5);
  119026. t6 = A.Primitives_stringFromCharCode(quote);
  119027. t3._contents += t6;
  119028. for (t6 = t2.length, i = 0; i < t6; ++i) {
  119029. value = t2[i];
  119030. if (value instanceof A.Expression0) {
  119031. t7 = t1.spanForElement$1(i);
  119032. buffer._interpolation_buffer0$_flushText$0();
  119033. t4.push(value);
  119034. t5.push(t7);
  119035. continue;
  119036. }
  119037. if (typeof value == "string")
  119038. A.StringExpression__quoteInnerText0(value, quote, buffer, $static);
  119039. }
  119040. t2 = A.Primitives_stringFromCharCode(quote);
  119041. t3._contents += t2;
  119042. return buffer.interpolation$1(t1.span);
  119043. },
  119044. asInterpolation$0() {
  119045. return this.asInterpolation$1$static(false);
  119046. },
  119047. toString$0(_) {
  119048. return this.asInterpolation$0().toString$0(0);
  119049. }
  119050. };
  119051. A.module_closure25.prototype = {
  119052. call$1($arguments) {
  119053. var limit, t2, chunks, i, lastEnd, match, t3,
  119054. t1 = J.getInterceptor$asx($arguments),
  119055. string = t1.$index($arguments, 0).assertString$1("string"),
  119056. separator = t1.$index($arguments, 1).assertString$1("separator");
  119057. t1 = t1.$index($arguments, 2).get$realNull();
  119058. limit = t1 == null ? null : t1.assertNumber$1("limit").assertInt$1("limit");
  119059. if (limit != null && limit < 1)
  119060. throw A.wrapException(A.SassScriptException$0("$limit: Must be 1 or greater, was " + A.S(limit) + ".", null));
  119061. t1 = string._string0$_text;
  119062. if (t1.length === 0)
  119063. return B.SassList_qAD0;
  119064. else {
  119065. t2 = separator._string0$_text;
  119066. if (t2.length === 0)
  119067. 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);
  119068. }
  119069. chunks = A._setArrayType([], type$.JSArray_String);
  119070. 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();) {
  119071. match = t2.__js_helper$_current;
  119072. t3 = match.start;
  119073. chunks.push(B.JSString_methods.substring$2(t1, lastEnd, t3));
  119074. lastEnd = t3 + match.pattern.length;
  119075. ++i;
  119076. if (i === limit)
  119077. break;
  119078. }
  119079. chunks.push(B.JSString_methods.substring$1(t1, lastEnd));
  119080. return A.SassList$0(new A.MappedListIterable(chunks, new A.module__closure4(string), type$.MappedListIterable_String_Value_2), B.ListSeparator_qVN0, true);
  119081. },
  119082. $signature: 29
  119083. };
  119084. A.module__closure3.prototype = {
  119085. call$1(rune) {
  119086. return new A.SassString0(A.Primitives_stringFromCharCode(rune), this.string._string0$_hasQuotes);
  119087. },
  119088. $signature: 584
  119089. };
  119090. A.module__closure4.prototype = {
  119091. call$1(chunk) {
  119092. return new A.SassString0(chunk, this.string._string0$_hasQuotes);
  119093. },
  119094. $signature: 585
  119095. };
  119096. A._unquote_closure0.prototype = {
  119097. call$1($arguments) {
  119098. var string = J.$index$asx($arguments, 0).assertString$1("string");
  119099. if (!string._string0$_hasQuotes)
  119100. return string;
  119101. return new A.SassString0(string._string0$_text, false);
  119102. },
  119103. $signature: 18
  119104. };
  119105. A._quote_closure0.prototype = {
  119106. call$1($arguments) {
  119107. var string = J.$index$asx($arguments, 0).assertString$1("string");
  119108. if (string._string0$_hasQuotes)
  119109. return string;
  119110. return new A.SassString0(string._string0$_text, true);
  119111. },
  119112. $signature: 18
  119113. };
  119114. A._length_closure1.prototype = {
  119115. call$1($arguments) {
  119116. return A.SassNumber_SassNumber0(J.$index$asx($arguments, 0).assertString$1("string").get$_string0$_sassLength(), null);
  119117. },
  119118. $signature: 23
  119119. };
  119120. A._insert_closure0.prototype = {
  119121. call$1($arguments) {
  119122. var indexInt, codeUnitIndex, _s5_ = "index",
  119123. t1 = J.getInterceptor$asx($arguments),
  119124. string = t1.$index($arguments, 0).assertString$1("string"),
  119125. insert = t1.$index($arguments, 1).assertString$1("insert"),
  119126. index = t1.$index($arguments, 2).assertNumber$1(_s5_);
  119127. index.assertNoUnits$1(_s5_);
  119128. indexInt = index.assertInt$1(_s5_);
  119129. if (indexInt < 0)
  119130. indexInt = Math.max(string.get$_string0$_sassLength() + indexInt + 2, 0);
  119131. t1 = string._string0$_text;
  119132. codeUnitIndex = A.codepointIndexToCodeUnitIndex0(t1, A._codepointForIndex0(indexInt, string.get$_string0$_sassLength(), false));
  119133. return new A.SassString0(B.JSString_methods.replaceRange$3(t1, codeUnitIndex, codeUnitIndex, insert._string0$_text), string._string0$_hasQuotes);
  119134. },
  119135. $signature: 18
  119136. };
  119137. A._index_closure1.prototype = {
  119138. call$1($arguments) {
  119139. var t1 = J.getInterceptor$asx($arguments),
  119140. t2 = t1.$index($arguments, 0).assertString$1("string")._string0$_text,
  119141. codeUnitIndex = B.JSString_methods.indexOf$1(t2, t1.$index($arguments, 1).assertString$1("substring")._string0$_text);
  119142. if (codeUnitIndex === -1)
  119143. return B.C__SassNull0;
  119144. return A.SassNumber_SassNumber0(A.codeUnitIndexToCodepointIndex0(t2, codeUnitIndex) + 1, null);
  119145. },
  119146. $signature: 3
  119147. };
  119148. A._slice_closure0.prototype = {
  119149. call$1($arguments) {
  119150. var lengthInCodepoints, endInt, startCodepoint, endCodepoint,
  119151. _s8_ = "start-at",
  119152. t1 = J.getInterceptor$asx($arguments),
  119153. string = t1.$index($arguments, 0).assertString$1("string"),
  119154. start = t1.$index($arguments, 1).assertNumber$1(_s8_),
  119155. end = t1.$index($arguments, 2).assertNumber$1("end-at");
  119156. start.assertNoUnits$1(_s8_);
  119157. end.assertNoUnits$1("end-at");
  119158. lengthInCodepoints = string.get$_string0$_sassLength();
  119159. endInt = end.assertInt$0();
  119160. if (endInt === 0)
  119161. return string._string0$_hasQuotes ? $.$get$_emptyQuoted0() : $.$get$_emptyUnquoted0();
  119162. startCodepoint = A._codepointForIndex0(start.assertInt$0(), lengthInCodepoints, false);
  119163. endCodepoint = A._codepointForIndex0(endInt, lengthInCodepoints, true);
  119164. if (endCodepoint === lengthInCodepoints)
  119165. --endCodepoint;
  119166. if (endCodepoint < startCodepoint)
  119167. return string._string0$_hasQuotes ? $.$get$_emptyQuoted0() : $.$get$_emptyUnquoted0();
  119168. t1 = string._string0$_text;
  119169. return new A.SassString0(B.JSString_methods.substring$2(t1, A.codepointIndexToCodeUnitIndex0(t1, startCodepoint), A.codepointIndexToCodeUnitIndex0(t1, endCodepoint + 1)), string._string0$_hasQuotes);
  119170. },
  119171. $signature: 18
  119172. };
  119173. A._toUpperCase_closure0.prototype = {
  119174. call$1($arguments) {
  119175. var t1, t2, i, t3, t4,
  119176. string = J.$index$asx($arguments, 0).assertString$1("string");
  119177. for (t1 = string._string0$_text, t2 = t1.length, i = 0, t3 = ""; i < t2; ++i) {
  119178. t4 = t1.charCodeAt(i);
  119179. t3 += A.Primitives_stringFromCharCode(t4 >= 97 && t4 <= 122 ? t4 & 4294967263 : t4);
  119180. }
  119181. return new A.SassString0(t3.charCodeAt(0) == 0 ? t3 : t3, string._string0$_hasQuotes);
  119182. },
  119183. $signature: 18
  119184. };
  119185. A._toLowerCase_closure0.prototype = {
  119186. call$1($arguments) {
  119187. var t1, t2, i, t3, t4,
  119188. string = J.$index$asx($arguments, 0).assertString$1("string");
  119189. for (t1 = string._string0$_text, t2 = t1.length, i = 0, t3 = ""; i < t2; ++i) {
  119190. t4 = t1.charCodeAt(i);
  119191. t3 += A.Primitives_stringFromCharCode(t4 >= 65 && t4 <= 90 ? t4 | 32 : t4);
  119192. }
  119193. return new A.SassString0(t3.charCodeAt(0) == 0 ? t3 : t3, string._string0$_hasQuotes);
  119194. },
  119195. $signature: 18
  119196. };
  119197. A._uniqueId_closure0.prototype = {
  119198. call$1($arguments) {
  119199. var t1 = $.$get$_previousUniqueId0() + ($.$get$_random1().nextInt$1(36) + 1);
  119200. $._previousUniqueId0 = t1;
  119201. if (t1 > Math.pow(36, 6))
  119202. $._previousUniqueId0 = B.JSInt_methods.$mod($.$get$_previousUniqueId0(), A._asInt(Math.pow(36, 6)));
  119203. return new A.SassString0("u" + B.JSString_methods.padLeft$2(B.JSInt_methods.toRadixString$1($.$get$_previousUniqueId0(), 36), 6, "0"), false);
  119204. },
  119205. $signature: 18
  119206. };
  119207. A.StringExtension_toCssIdentifier_writeEscape.prototype = {
  119208. call$1(character) {
  119209. var _0_0,
  119210. t1 = this.buffer,
  119211. t2 = A.Primitives_stringFromCharCode(92);
  119212. t1._contents += t2;
  119213. t2 = B.JSInt_methods.toRadixString$1(character, 16);
  119214. t1._contents += t2;
  119215. _0_0 = this.scanner.peekChar$0();
  119216. if (A._isInt(_0_0) && A.CharacterExtension_get_isHex0(_0_0)) {
  119217. t2 = A.Primitives_stringFromCharCode(32);
  119218. t1._contents += t2;
  119219. }
  119220. },
  119221. $signature: 174
  119222. };
  119223. A.StringExtension_toCssIdentifier_consumeSurrogatePair.prototype = {
  119224. call$1(character) {
  119225. var t2, t3,
  119226. t1 = this.scanner,
  119227. _1_0 = t1.peekChar$1(1);
  119228. if (_1_0 == null || _1_0 >>> 10 !== 55)
  119229. t1.error$2$length(0, "An individual surrogates can't be represented as a CSS identifier.", 1);
  119230. else if (character >>> 7 === 439)
  119231. this.writeEscape.call$1(A.combineSurrogates(t1.readChar$0(), t1.readChar$0()));
  119232. else {
  119233. t2 = this.buffer;
  119234. t3 = A.Primitives_stringFromCharCode(t1.readChar$0());
  119235. t2._contents += t3;
  119236. t1 = A.Primitives_stringFromCharCode(t1.readChar$0());
  119237. t2._contents += t1;
  119238. }
  119239. },
  119240. $signature: 174
  119241. };
  119242. A.stringClass_closure.prototype = {
  119243. call$0() {
  119244. var t2,
  119245. t1 = type$.JSClass,
  119246. jsClass = t1._as(A.allowInteropCaptureThisNamed("sass.SassString", new A.stringClass__closure()));
  119247. 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));
  119248. J.get$$prototype$x(jsClass).sassIndexToStringIndex = A.allowInteropCaptureThisNamed("sassIndexToStringIndex", new A.stringClass__closure3());
  119249. t2 = $.$get$_emptyQuoted0();
  119250. A.JSClassExtension_injectSuperclass(t1._as(t2.constructor), jsClass);
  119251. return jsClass;
  119252. },
  119253. $signature: 15
  119254. };
  119255. A.stringClass__closure.prototype = {
  119256. call$3($self, textOrOptions, options) {
  119257. var t1;
  119258. if (typeof textOrOptions == "string") {
  119259. t1 = options == null ? null : J.get$quotes$x(options);
  119260. t1 = new A.SassString0(textOrOptions, t1 == null ? true : t1);
  119261. } else {
  119262. type$.nullable__ConstructorOptions_3._as(textOrOptions);
  119263. t1 = textOrOptions == null ? null : J.get$quotes$x(textOrOptions);
  119264. t1 = (t1 == null ? true : t1) ? $.$get$_emptyQuoted0() : $.$get$_emptyUnquoted0();
  119265. }
  119266. return t1;
  119267. },
  119268. call$1($self) {
  119269. return this.call$3($self, null, null);
  119270. },
  119271. call$2($self, textOrOptions) {
  119272. return this.call$3($self, textOrOptions, null);
  119273. },
  119274. "call*": "call$3",
  119275. $requiredArgCount: 1,
  119276. $defaultValues() {
  119277. return [null, null];
  119278. },
  119279. $signature: 587
  119280. };
  119281. A.stringClass__closure0.prototype = {
  119282. call$1($self) {
  119283. return $self._string0$_text;
  119284. },
  119285. $signature: 588
  119286. };
  119287. A.stringClass__closure1.prototype = {
  119288. call$1($self) {
  119289. return $self._string0$_hasQuotes;
  119290. },
  119291. $signature: 589
  119292. };
  119293. A.stringClass__closure2.prototype = {
  119294. call$1($self) {
  119295. return $self.get$_string0$_sassLength();
  119296. },
  119297. $signature: 590
  119298. };
  119299. A.stringClass__closure3.prototype = {
  119300. call$3($self, sassIndex, $name) {
  119301. var t1,
  119302. index = sassIndex.assertNumber$1($name).assertInt$1($name);
  119303. if (index === 0)
  119304. A.throwExpression(A.SassScriptException$0("String index may not be 0.", $name));
  119305. else if (Math.abs(index) > $self.get$_string0$_sassLength())
  119306. A.throwExpression(A.SassScriptException$0("Invalid index " + sassIndex.toString$0(0) + " for a string with " + $self.get$_string0$_sassLength() + " characters.", $name));
  119307. t1 = index < 0 ? $self.get$_string0$_sassLength() + index : index - 1;
  119308. return A.codepointIndexToCodeUnitIndex0($self._string0$_text, t1);
  119309. },
  119310. call$2($self, sassIndex) {
  119311. return this.call$3($self, sassIndex, null);
  119312. },
  119313. "call*": "call$3",
  119314. $requiredArgCount: 2,
  119315. $defaultValues() {
  119316. return [null];
  119317. },
  119318. $signature: 591
  119319. };
  119320. A._ConstructorOptions1.prototype = {};
  119321. A._NodeSassString.prototype = {};
  119322. A.legacyStringClass_closure.prototype = {
  119323. call$3(thisArg, value, dartValue) {
  119324. var t1;
  119325. if (dartValue == null) {
  119326. value.toString;
  119327. t1 = new A.SassString0(value, false);
  119328. } else
  119329. t1 = dartValue;
  119330. J.set$dartValue$x(thisArg, t1);
  119331. },
  119332. call$2(thisArg, value) {
  119333. return this.call$3(thisArg, value, null);
  119334. },
  119335. "call*": "call$3",
  119336. $requiredArgCount: 2,
  119337. $defaultValues() {
  119338. return [null];
  119339. },
  119340. $signature: 592
  119341. };
  119342. A.legacyStringClass_closure0.prototype = {
  119343. call$1(thisArg) {
  119344. return J.get$dartValue$x(thisArg)._string0$_text;
  119345. },
  119346. $signature: 593
  119347. };
  119348. A.legacyStringClass_closure1.prototype = {
  119349. call$2(thisArg, value) {
  119350. J.set$dartValue$x(thisArg, new A.SassString0(value, false));
  119351. },
  119352. $signature: 594
  119353. };
  119354. A.SassString0.prototype = {
  119355. get$_string0$_sassLength() {
  119356. var result, _this = this,
  119357. value = _this._string0$__SassString__sassLength_FI;
  119358. if (value === $) {
  119359. result = new A.Runes(_this._string0$_text).get$length(0);
  119360. _this._string0$__SassString__sassLength_FI !== $ && A.throwUnnamedLateFieldADI();
  119361. _this._string0$__SassString__sassLength_FI = result;
  119362. value = result;
  119363. }
  119364. return value;
  119365. },
  119366. get$isSpecialNumber() {
  119367. var t1, _2_0, t2, _0_0, _1_0;
  119368. if (this._string0$_hasQuotes)
  119369. return false;
  119370. t1 = this._string0$_text;
  119371. if (t1.length < 6)
  119372. return false;
  119373. _2_0 = t1.charCodeAt(0);
  119374. $label0$0: {
  119375. t2 = false;
  119376. if (97 === _2_0 || 65 === _2_0) {
  119377. t1 = (t1.charCodeAt(1) | 32) === 116 && (t1.charCodeAt(2) | 32) === 116 && (t1.charCodeAt(3) | 32) === 114 && t1.charCodeAt(4) === 40;
  119378. break $label0$0;
  119379. }
  119380. if (99 === _2_0 || 67 === _2_0) {
  119381. _0_0 = t1.charCodeAt(1);
  119382. $label1$1: {
  119383. if (108 === _0_0 || 76 === _0_0) {
  119384. t1 = (t1.charCodeAt(2) | 32) === 97 && (t1.charCodeAt(3) | 32) === 109 && (t1.charCodeAt(4) | 32) === 112 && t1.charCodeAt(5) === 40;
  119385. break $label1$1;
  119386. }
  119387. if (97 === _0_0 || 65 === _0_0) {
  119388. t1 = (t1.charCodeAt(2) | 32) === 108 && (t1.charCodeAt(3) | 32) === 99 && t1.charCodeAt(4) === 40;
  119389. break $label1$1;
  119390. }
  119391. t1 = t2;
  119392. break $label1$1;
  119393. }
  119394. break $label0$0;
  119395. }
  119396. if (118 === _2_0 || 86 === _2_0) {
  119397. t1 = (t1.charCodeAt(1) | 32) === 97 && (t1.charCodeAt(2) | 32) === 114 && t1.charCodeAt(3) === 40;
  119398. break $label0$0;
  119399. }
  119400. if (101 === _2_0 || 69 === _2_0) {
  119401. t1 = (t1.charCodeAt(1) | 32) === 110 && (t1.charCodeAt(2) | 32) === 118 && t1.charCodeAt(3) === 40;
  119402. break $label0$0;
  119403. }
  119404. if (109 === _2_0 || 77 === _2_0) {
  119405. _1_0 = t1.charCodeAt(1);
  119406. $label2$2: {
  119407. if (97 === _1_0 || 65 === _1_0) {
  119408. t1 = (t1.charCodeAt(2) | 32) === 120 && t1.charCodeAt(3) === 40;
  119409. break $label2$2;
  119410. }
  119411. if (105 === _1_0 || 73 === _1_0) {
  119412. t1 = (t1.charCodeAt(2) | 32) === 110 && t1.charCodeAt(3) === 40;
  119413. break $label2$2;
  119414. }
  119415. t1 = t2;
  119416. break $label2$2;
  119417. }
  119418. break $label0$0;
  119419. }
  119420. t1 = t2;
  119421. break $label0$0;
  119422. }
  119423. return t1;
  119424. },
  119425. get$isVar() {
  119426. if (this._string0$_hasQuotes)
  119427. return false;
  119428. var t1 = this._string0$_text;
  119429. if (t1.length < 8)
  119430. return false;
  119431. return (t1.charCodeAt(0) | 32) === 118 && (t1.charCodeAt(1) | 32) === 97 && (t1.charCodeAt(2) | 32) === 114 && t1.charCodeAt(3) === 40;
  119432. },
  119433. get$isBlank() {
  119434. return !this._string0$_hasQuotes && this._string0$_text.length === 0;
  119435. },
  119436. assertQuoted$1($name) {
  119437. if (this._string0$_hasQuotes)
  119438. return;
  119439. throw A.wrapException(A.SassScriptException$0("Expected " + this.toString$0(0) + " to be a quoted string.", $name));
  119440. },
  119441. assertUnquoted$1($name) {
  119442. if (!this._string0$_hasQuotes)
  119443. return;
  119444. throw A.wrapException(A.SassScriptException$0("Expected " + this.toString$0(0) + " to be an unquoted string.", $name));
  119445. },
  119446. assertUnquoted$0() {
  119447. return this.assertUnquoted$1(null);
  119448. },
  119449. accept$1$1(visitor) {
  119450. var t1 = visitor._serialize0$_quote && this._string0$_hasQuotes,
  119451. t2 = this._string0$_text;
  119452. if (t1)
  119453. visitor._serialize0$_visitQuotedString$1(t2);
  119454. else
  119455. visitor._serialize0$_visitUnquotedString$1(t2);
  119456. return null;
  119457. },
  119458. accept$1(visitor) {
  119459. return this.accept$1$1(visitor, type$.dynamic);
  119460. },
  119461. assertString$1($name) {
  119462. return this;
  119463. },
  119464. plus$1(other) {
  119465. var t1 = this._string0$_text,
  119466. t2 = this._string0$_hasQuotes;
  119467. return other instanceof A.SassString0 ? new A.SassString0(t1 + other._string0$_text, t2) : new A.SassString0(t1 + A.serializeValue0(other, false, true), t2);
  119468. },
  119469. $eq(_, other) {
  119470. if (other == null)
  119471. return false;
  119472. return other instanceof A.SassString0 && this._string0$_text === other._string0$_text;
  119473. },
  119474. get$hashCode(_) {
  119475. var t1 = this._string0$_hashCache;
  119476. return t1 == null ? this._string0$_hashCache = B.JSString_methods.get$hashCode(this._string0$_text) : t1;
  119477. }
  119478. };
  119479. A.ModifiableCssStyleRule0.prototype = {
  119480. accept$1$1(visitor) {
  119481. return visitor.visitCssStyleRule$1(this);
  119482. },
  119483. accept$1(visitor) {
  119484. return this.accept$1$1(visitor, type$.dynamic);
  119485. },
  119486. equalsIgnoringChildren$1(other) {
  119487. var t1;
  119488. if (other instanceof A.ModifiableCssStyleRule0)
  119489. t1 = B.C_ListEquality.equals$2(0, other._style_rule0$_selector._box0$_inner.value.components, this._style_rule0$_selector._box0$_inner.value.components);
  119490. else
  119491. t1 = false;
  119492. return t1;
  119493. },
  119494. copyWithoutChildren$0() {
  119495. return A.ModifiableCssStyleRule$0(this._style_rule0$_selector, this.span, false, this.originalSelector);
  119496. },
  119497. $isCssStyleRule0: 1,
  119498. get$span(receiver) {
  119499. return this.span;
  119500. }
  119501. };
  119502. A.StyleRule0.prototype = {
  119503. accept$1$1(visitor) {
  119504. return visitor.visitStyleRule$1(0, this);
  119505. },
  119506. accept$1(visitor) {
  119507. return this.accept$1$1(visitor, type$.dynamic);
  119508. },
  119509. toString$0(_) {
  119510. var t1 = this.children;
  119511. return this.selector.toString$0(0) + " {" + (t1 && B.JSArray_methods).join$1(t1, " ") + "}";
  119512. },
  119513. get$span(receiver) {
  119514. return this.span;
  119515. }
  119516. };
  119517. A.CssStylesheet0.prototype = {
  119518. get$parent(_) {
  119519. return null;
  119520. },
  119521. get$isGroupEnd() {
  119522. return false;
  119523. },
  119524. get$isChildless() {
  119525. return false;
  119526. },
  119527. accept$1$1(visitor) {
  119528. return visitor.visitCssStylesheet$1(this);
  119529. },
  119530. accept$1(visitor) {
  119531. return this.accept$1$1(visitor, type$.dynamic);
  119532. },
  119533. get$children(receiver) {
  119534. return this.children;
  119535. },
  119536. get$span(receiver) {
  119537. return this.span;
  119538. }
  119539. };
  119540. A.ModifiableCssStylesheet0.prototype = {
  119541. accept$1$1(visitor) {
  119542. return visitor.visitCssStylesheet$1(this);
  119543. },
  119544. accept$1(visitor) {
  119545. return this.accept$1$1(visitor, type$.dynamic);
  119546. },
  119547. equalsIgnoringChildren$1(other) {
  119548. return other instanceof A.ModifiableCssStylesheet0;
  119549. },
  119550. copyWithoutChildren$0() {
  119551. return A.ModifiableCssStylesheet$0(this.span);
  119552. },
  119553. $isCssStylesheet0: 1,
  119554. get$span(receiver) {
  119555. return this.span;
  119556. }
  119557. };
  119558. A.StylesheetParser0.prototype = {
  119559. parse$0(_) {
  119560. return this.wrapSpanFormatException$1(new A.StylesheetParser_parse_closure0(this));
  119561. },
  119562. parseParameterList$0() {
  119563. return this._stylesheet0$_parseSingleProduction$1$1(new A.StylesheetParser_parseParameterList_closure0(this), type$.ParameterList_2);
  119564. },
  119565. _stylesheet0$_parseSingleProduction$1$1(production, $T) {
  119566. return this.wrapSpanFormatException$1(new A.StylesheetParser__parseSingleProduction_closure0(this, production, $T));
  119567. },
  119568. parseSignature$1$requireParens(requireParens) {
  119569. return this.wrapSpanFormatException$1(new A.StylesheetParser_parseSignature_closure(this, requireParens));
  119570. },
  119571. _stylesheet0$_statement$1$root(root) {
  119572. var t2, _this = this,
  119573. t1 = _this.scanner,
  119574. _0_0 = t1.peekChar$0();
  119575. if (64 === _0_0)
  119576. return _this.atRule$2$root(new A.StylesheetParser__statement_closure0(_this), root);
  119577. if (43 === _0_0) {
  119578. if (!_this.get$indented() || !_this.lookingAtIdentifier$1(1))
  119579. return _this._stylesheet0$_styleRule$0();
  119580. _this._stylesheet0$_isUseAllowed = false;
  119581. t2 = t1._string_scanner$_position;
  119582. t1.readChar$0();
  119583. return _this._stylesheet0$_includeRule$1(new A._SpanScannerState(t1, t2));
  119584. }
  119585. if (61 === _0_0) {
  119586. if (!_this.get$indented())
  119587. return _this._stylesheet0$_styleRule$0();
  119588. _this._stylesheet0$_isUseAllowed = false;
  119589. t2 = t1._string_scanner$_position;
  119590. t1.readChar$0();
  119591. _this.whitespace$1$consumeNewlines(true);
  119592. return _this._stylesheet0$_mixinRule$1(new A._SpanScannerState(t1, t2));
  119593. }
  119594. if (125 === _0_0)
  119595. t1.error$2$length(0, 'unmatched "}".', 1);
  119596. return _this._stylesheet0$_inStyleRule || _this._stylesheet0$_inUnknownAtRule || _this._stylesheet0$_inMixin || _this._stylesheet0$_inContentBlock ? _this._stylesheet0$_declarationOrStyleRule$0() : _this._stylesheet0$_variableDeclarationOrStyleRule$0();
  119597. },
  119598. _stylesheet0$_statement$0() {
  119599. return this._stylesheet0$_statement$1$root(false);
  119600. },
  119601. variableDeclarationWithoutNamespace$2(namespace, start_) {
  119602. var t1, start, $name, t2, value, flagStart, t3, guarded, global, _0_0, endPosition, t4, t5, t6, declaration, _this = this,
  119603. precedingComment = _this.lastSilentComment;
  119604. _this.lastSilentComment = null;
  119605. if (start_ == null) {
  119606. t1 = _this.scanner;
  119607. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  119608. } else
  119609. start = start_;
  119610. $name = _this.variableName$0();
  119611. t1 = namespace != null;
  119612. if (t1)
  119613. _this._stylesheet0$_assertPublic$2($name, new A.StylesheetParser_variableDeclarationWithoutNamespace_closure1(_this, start));
  119614. if (_this.get$plainCss())
  119615. _this.error$2(0, string$.Sassx20v, _this.scanner.spanFrom$1(start));
  119616. _this.whitespace$1$consumeNewlines(true);
  119617. t2 = _this.scanner;
  119618. t2.expectChar$1(58);
  119619. _this.whitespace$1$consumeNewlines(true);
  119620. value = _this._stylesheet0$_expression$0();
  119621. flagStart = new A._SpanScannerState(t2, t2._string_scanner$_position);
  119622. for (t3 = _this.warnings, guarded = false, global = false; t2.scanChar$1(33);) {
  119623. $label0$0: {
  119624. _0_0 = _this.identifier$0();
  119625. if ("default" === _0_0) {
  119626. if (guarded) {
  119627. endPosition = t2._string_scanner$_position;
  119628. t4 = t2._sourceFile;
  119629. t5 = flagStart.position;
  119630. t6 = new A._FileSpan(t4, t5, endPosition);
  119631. t6._FileSpan$3(t4, t5, endPosition);
  119632. t3.push(new A._Record_3_deprecation_message_span(B.Deprecation_BzI, string$.x21defau, t6));
  119633. }
  119634. guarded = true;
  119635. break $label0$0;
  119636. }
  119637. if ("global" === _0_0) {
  119638. if (t1) {
  119639. endPosition = t2._string_scanner$_position;
  119640. t4 = t2._sourceFile;
  119641. t5 = flagStart.position;
  119642. t6 = new A._FileSpan(t4, t5, endPosition);
  119643. t6._FileSpan$3(t4, t5, endPosition);
  119644. _this.error$2(0, string$.x21globai, t6);
  119645. } else if (global) {
  119646. endPosition = t2._string_scanner$_position;
  119647. t4 = t2._sourceFile;
  119648. t5 = flagStart.position;
  119649. t6 = new A._FileSpan(t4, t5, endPosition);
  119650. t6._FileSpan$3(t4, t5, endPosition);
  119651. t3.push(new A._Record_3_deprecation_message_span(B.Deprecation_BzI, string$.x21globas, t6));
  119652. }
  119653. global = true;
  119654. break $label0$0;
  119655. }
  119656. endPosition = t2._string_scanner$_position;
  119657. t4 = t2._sourceFile;
  119658. t5 = flagStart.position;
  119659. t6 = new A._FileSpan(t4, t5, endPosition);
  119660. t6._FileSpan$3(t4, t5, endPosition);
  119661. _this.error$2(0, "Invalid flag name.", t6);
  119662. }
  119663. _this.whitespace$1$consumeNewlines(false);
  119664. flagStart = new A._SpanScannerState(t2, t2._string_scanner$_position);
  119665. }
  119666. _this.expectStatementSeparator$1("variable declaration");
  119667. declaration = A.VariableDeclaration$0($name, value, t2.spanFrom$1(start), precedingComment, global, guarded, namespace);
  119668. if (global)
  119669. _this._stylesheet0$_globalVariables.putIfAbsent$2($name, new A.StylesheetParser_variableDeclarationWithoutNamespace_closure2(declaration));
  119670. return declaration;
  119671. },
  119672. variableDeclarationWithoutNamespace$0() {
  119673. return this.variableDeclarationWithoutNamespace$2(null, null);
  119674. },
  119675. _stylesheet0$_variableDeclarationOrStyleRule$0() {
  119676. var t1, t2, variableOrInterpolation, t3, _this = this;
  119677. if (_this.get$plainCss())
  119678. return _this._stylesheet0$_styleRule$0();
  119679. if (_this.get$indented() && _this.scanner.scanChar$1(92))
  119680. return _this._stylesheet0$_styleRule$0();
  119681. if (!_this.lookingAtIdentifier$0())
  119682. return _this._stylesheet0$_styleRule$0();
  119683. t1 = _this.scanner;
  119684. t2 = t1._string_scanner$_position;
  119685. variableOrInterpolation = _this._stylesheet0$_variableDeclarationOrInterpolation$0();
  119686. if (variableOrInterpolation instanceof A.VariableDeclaration0)
  119687. t1 = variableOrInterpolation;
  119688. else {
  119689. t3 = new A.InterpolationBuffer0(new A.StringBuffer(""), A._setArrayType([], type$.JSArray_Object), A._setArrayType([], type$.JSArray_nullable_FileSpan));
  119690. t3.addInterpolation$1(type$.Interpolation_2._as(variableOrInterpolation));
  119691. t2 = _this._stylesheet0$_styleRule$2(t3, new A._SpanScannerState(t1, t2));
  119692. t1 = t2;
  119693. }
  119694. return t1;
  119695. },
  119696. _stylesheet0$_declarationOrStyleRule$0() {
  119697. var t1, t2, declarationOrBuffer, _this = this;
  119698. if (_this.get$indented() && _this.scanner.scanChar$1(92))
  119699. return _this._stylesheet0$_styleRule$0();
  119700. t1 = _this.scanner;
  119701. t2 = t1._string_scanner$_position;
  119702. declarationOrBuffer = _this._stylesheet0$_declarationOrBuffer$0();
  119703. return declarationOrBuffer instanceof A.Statement0 ? declarationOrBuffer : _this._stylesheet0$_styleRule$2(type$.InterpolationBuffer_2._as(declarationOrBuffer), new A._SpanScannerState(t1, t2));
  119704. },
  119705. _stylesheet0$_declarationOrBuffer$0() {
  119706. var midBuffer, couldBeSelector, beforeDeclaration, value, additional, t2, t3, variableOrInterpolation, t4, $name, postColonWhitespace, _0_0, exception, _1_0, _this = this,
  119707. t1 = _this.scanner,
  119708. start = new A._SpanScannerState(t1, t1._string_scanner$_position),
  119709. nameBuffer = new A.InterpolationBuffer0(new A.StringBuffer(""), A._setArrayType([], type$.JSArray_Object), A._setArrayType([], type$.JSArray_nullable_FileSpan)),
  119710. startsWithPunctuation = _this._stylesheet0$_lookingAtPotentialPropertyHack$0();
  119711. if (startsWithPunctuation) {
  119712. t2 = t1.readChar$0();
  119713. t3 = nameBuffer._interpolation_buffer0$_text;
  119714. t2 = A.Primitives_stringFromCharCode(t2);
  119715. t3._contents += t2;
  119716. t2 = _this.rawText$1(new A.StylesheetParser__declarationOrBuffer_closure2(_this));
  119717. t3 = nameBuffer._interpolation_buffer0$_text;
  119718. t3._contents += t2;
  119719. }
  119720. if (!_this._stylesheet0$_lookingAtInterpolatedIdentifier$0())
  119721. return nameBuffer;
  119722. variableOrInterpolation = startsWithPunctuation ? _this.interpolatedIdentifier$0() : _this._stylesheet0$_variableDeclarationOrInterpolation$0();
  119723. if (variableOrInterpolation instanceof A.VariableDeclaration0)
  119724. return variableOrInterpolation;
  119725. else
  119726. nameBuffer.addInterpolation$1(type$.Interpolation_2._as(variableOrInterpolation));
  119727. _this._stylesheet0$_isUseAllowed = false;
  119728. if (t1.matches$1("/*")) {
  119729. t2 = _this.rawText$1(_this.get$loudComment());
  119730. t3 = nameBuffer._interpolation_buffer0$_text;
  119731. t3._contents += t2;
  119732. }
  119733. midBuffer = new A.StringBuffer("");
  119734. t2 = midBuffer;
  119735. t3 = _this.rawText$1(new A.StylesheetParser__declarationOrBuffer_closure3(_this));
  119736. t2._contents += t3;
  119737. t3 = t1._string_scanner$_position;
  119738. if (!t1.scanChar$1(58)) {
  119739. if (midBuffer._contents.length !== 0) {
  119740. t1 = nameBuffer._interpolation_buffer0$_text;
  119741. t2 = A.Primitives_stringFromCharCode(32);
  119742. t1._contents += t2;
  119743. }
  119744. return nameBuffer;
  119745. }
  119746. t2 = midBuffer;
  119747. t4 = A.Primitives_stringFromCharCode(58);
  119748. t2._contents += t4;
  119749. $name = nameBuffer.interpolation$1(t1.spanFrom$2(start, new A._SpanScannerState(t1, t3)));
  119750. if (B.JSString_methods.startsWith$1($name.get$initialPlain(), "--")) {
  119751. if (_this.atEndOfStatement$0()) {
  119752. t2 = A.FileLocation$_(t1._sourceFile, t1._string_scanner$_position);
  119753. t3 = t2.offset;
  119754. t3 = A.Interpolation$0(B.List_empty11, B.List_empty12, A._FileSpan$(t2.file, t3, t3));
  119755. t2 = t3;
  119756. } else
  119757. t2 = _this._stylesheet0$_interpolatedDeclarationValue$1$silentComments(false);
  119758. _this.expectStatementSeparator$1("custom property");
  119759. return A.Declaration$0($name, new A.StringExpression0(t2, false), t1.spanFrom$1(start));
  119760. }
  119761. if (t1.scanChar$1(58)) {
  119762. t1 = nameBuffer;
  119763. t2 = t1._interpolation_buffer0$_text;
  119764. t3 = A.S(midBuffer);
  119765. t2._contents += t3;
  119766. t3 = A.Primitives_stringFromCharCode(58);
  119767. t2._contents += t3;
  119768. return t1;
  119769. } else if (_this.get$indented() && _this._stylesheet0$_lookingAtInterpolatedIdentifier$0()) {
  119770. t1 = nameBuffer;
  119771. t2 = t1._interpolation_buffer0$_text;
  119772. t3 = A.S(midBuffer);
  119773. t2._contents += t3;
  119774. return t1;
  119775. }
  119776. postColonWhitespace = _this.rawText$1(new A.StylesheetParser__declarationOrBuffer_closure4(_this));
  119777. _0_0 = _this._stylesheet0$_tryDeclarationChildren$2($name, start);
  119778. if (_0_0 != null)
  119779. return _0_0;
  119780. midBuffer._contents += postColonWhitespace;
  119781. couldBeSelector = postColonWhitespace.length === 0 && _this._stylesheet0$_lookingAtInterpolatedIdentifier$0();
  119782. beforeDeclaration = new A._SpanScannerState(t1, t1._string_scanner$_position);
  119783. value = null;
  119784. try {
  119785. value = _this._stylesheet0$_expression$0();
  119786. if (_this.lookingAtChildren$0()) {
  119787. if (couldBeSelector)
  119788. _this.expectStatementSeparator$0();
  119789. } else if (!_this.atEndOfStatement$0())
  119790. _this.expectStatementSeparator$0();
  119791. } catch (exception) {
  119792. if (type$.FormatException._is(A.unwrapException(exception))) {
  119793. if (!couldBeSelector)
  119794. throw exception;
  119795. t1.set$state(beforeDeclaration);
  119796. additional = _this.almostAnyValue$0();
  119797. if (!_this.get$indented() && t1.peekChar$0() === 59)
  119798. throw exception;
  119799. t1 = nameBuffer._interpolation_buffer0$_text;
  119800. t2 = A.S(midBuffer);
  119801. t1._contents += t2;
  119802. nameBuffer.addInterpolation$1(additional);
  119803. return nameBuffer;
  119804. } else
  119805. throw exception;
  119806. }
  119807. _1_0 = _this._stylesheet0$_tryDeclarationChildren$3$value($name, start, value);
  119808. if (_1_0 != null)
  119809. return _1_0;
  119810. else {
  119811. _this.expectStatementSeparator$0();
  119812. return A.Declaration$0($name, value, t1.spanFrom$1(start));
  119813. }
  119814. },
  119815. _stylesheet0$_variableDeclarationOrInterpolation$0() {
  119816. var t1, start, identifier, t2, buffer, _this = this;
  119817. if (!_this.lookingAtIdentifier$0())
  119818. return _this.interpolatedIdentifier$0();
  119819. t1 = _this.scanner;
  119820. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  119821. identifier = _this.identifier$0();
  119822. if (t1.matches$1(".$")) {
  119823. t1.readChar$0();
  119824. return _this.variableDeclarationWithoutNamespace$2(identifier, start);
  119825. } else {
  119826. t2 = new A.StringBuffer("");
  119827. buffer = new A.InterpolationBuffer0(t2, A._setArrayType([], type$.JSArray_Object), A._setArrayType([], type$.JSArray_nullable_FileSpan));
  119828. t2._contents = "" + identifier;
  119829. if (_this._stylesheet0$_lookingAtInterpolatedIdentifierBody$0())
  119830. buffer.addInterpolation$1(_this.interpolatedIdentifier$0());
  119831. return buffer.interpolation$1(t1.spanFrom$1(start));
  119832. }
  119833. },
  119834. _stylesheet0$_styleRule$2(buffer, start_) {
  119835. var t2, start, interpolation, wasInStyleRule, _this = this, t1 = {};
  119836. _this._stylesheet0$_isUseAllowed = false;
  119837. if (start_ == null) {
  119838. t2 = _this.scanner;
  119839. start = new A._SpanScannerState(t2, t2._string_scanner$_position);
  119840. } else
  119841. start = start_;
  119842. interpolation = t1.interpolation = _this.styleRuleSelector$0();
  119843. if (buffer != null) {
  119844. buffer.addInterpolation$1(interpolation);
  119845. t2 = t1.interpolation = buffer.interpolation$1(_this.scanner.spanFrom$1(start));
  119846. } else
  119847. t2 = interpolation;
  119848. if (t2.contents.length === 0)
  119849. _this.scanner.error$1(0, 'expected "}".');
  119850. wasInStyleRule = _this._stylesheet0$_inStyleRule;
  119851. _this._stylesheet0$_inStyleRule = true;
  119852. return _this._stylesheet0$_withChildren$3(_this.get$_stylesheet0$_statement(), start, new A.StylesheetParser__styleRule_closure0(t1, _this, wasInStyleRule, start));
  119853. },
  119854. _stylesheet0$_styleRule$0() {
  119855. return this._stylesheet0$_styleRule$2(null, null);
  119856. },
  119857. _stylesheet0$_propertyOrVariableDeclaration$1$parseCustomProperties(parseCustomProperties) {
  119858. var t2, nameBuffer, t3, $name, variableOrInterpolation, _0_0, value, _1_0, _this = this,
  119859. t1 = _this.scanner,
  119860. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  119861. if (_this._stylesheet0$_lookingAtPotentialPropertyHack$0()) {
  119862. t2 = new A.StringBuffer("");
  119863. nameBuffer = new A.InterpolationBuffer0(t2, A._setArrayType([], type$.JSArray_Object), A._setArrayType([], type$.JSArray_nullable_FileSpan));
  119864. t3 = A.Primitives_stringFromCharCode(t1.readChar$0());
  119865. t2._contents += t3;
  119866. t3 = _this.rawText$1(new A.StylesheetParser__propertyOrVariableDeclaration_closure0(_this));
  119867. t2._contents += t3;
  119868. nameBuffer.addInterpolation$1(_this.interpolatedIdentifier$0());
  119869. $name = nameBuffer.interpolation$1(t1.spanFrom$1(start));
  119870. } else if (!_this.get$plainCss()) {
  119871. variableOrInterpolation = _this._stylesheet0$_variableDeclarationOrInterpolation$0();
  119872. if (variableOrInterpolation instanceof A.VariableDeclaration0)
  119873. return variableOrInterpolation;
  119874. else
  119875. type$.Interpolation_2._as(variableOrInterpolation);
  119876. $name = variableOrInterpolation;
  119877. } else
  119878. $name = _this.interpolatedIdentifier$0();
  119879. _this.whitespace$1$consumeNewlines(false);
  119880. t1.expectChar$1(58);
  119881. _this.whitespace$1$consumeNewlines(false);
  119882. _0_0 = _this._stylesheet0$_tryDeclarationChildren$2($name, start);
  119883. if (_0_0 != null)
  119884. return _0_0;
  119885. value = _this._stylesheet0$_expression$0();
  119886. _1_0 = _this._stylesheet0$_tryDeclarationChildren$3$value($name, start, value);
  119887. if (_1_0 != null)
  119888. return _1_0;
  119889. else {
  119890. _this.expectStatementSeparator$0();
  119891. return A.Declaration$0($name, value, t1.spanFrom$1(start));
  119892. }
  119893. },
  119894. _stylesheet0$_tryDeclarationChildren$3$value($name, start, value) {
  119895. var _this = this;
  119896. if (!_this.lookingAtChildren$0())
  119897. return null;
  119898. if (_this.get$plainCss())
  119899. _this.scanner.error$1(0, string$.Nested);
  119900. return _this._stylesheet0$_withChildren$3(_this.get$_stylesheet0$_declarationChild(), start, new A.StylesheetParser__tryDeclarationChildren_closure0($name, value));
  119901. },
  119902. _stylesheet0$_tryDeclarationChildren$2($name, start) {
  119903. return this._stylesheet0$_tryDeclarationChildren$3$value($name, start, null);
  119904. },
  119905. _stylesheet0$_declarationChild$0() {
  119906. return this.scanner.peekChar$0() === 64 ? this._stylesheet0$_declarationAtRule$0() : this._stylesheet0$_propertyOrVariableDeclaration$1$parseCustomProperties(false);
  119907. },
  119908. atRule$2$root(child, root) {
  119909. var $name, wasUseAllowed, value, optional, url, namespace, configuration, span, _this = this,
  119910. t1 = _this.scanner,
  119911. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  119912. t1.expectChar$2$name(64, "@-rule");
  119913. $name = _this.interpolatedIdentifier$0();
  119914. wasUseAllowed = _this._stylesheet0$_isUseAllowed;
  119915. _this._stylesheet0$_isUseAllowed = false;
  119916. switch ($name.get$asPlain()) {
  119917. case "at-root":
  119918. return _this._stylesheet0$_atRootRule$1(start);
  119919. case "content":
  119920. return _this._stylesheet0$_contentRule$1(start);
  119921. case "debug":
  119922. return _this._stylesheet0$_debugRule$1(start);
  119923. case "each":
  119924. return _this._stylesheet0$_eachRule$2(start, child);
  119925. case "else":
  119926. return _this._stylesheet0$_disallowedAtRule$1(start);
  119927. case "error":
  119928. return _this._stylesheet0$_errorRule$1(start);
  119929. case "extend":
  119930. _this.whitespace$1$consumeNewlines(true);
  119931. if (!_this._stylesheet0$_inStyleRule && !_this._stylesheet0$_inMixin && !_this._stylesheet0$_inContentBlock)
  119932. _this.error$2(0, string$.x40exten, t1.spanFrom$1(start));
  119933. value = _this.almostAnyValue$0();
  119934. optional = t1.scanChar$1(33);
  119935. if (optional) {
  119936. _this.expectIdentifier$1("optional");
  119937. _this.whitespace$1$consumeNewlines(false);
  119938. }
  119939. _this.expectStatementSeparator$1("@extend rule");
  119940. return new A.ExtendRule0(value, optional, t1.spanFrom$1(start));
  119941. case "for":
  119942. return _this._stylesheet0$_forRule$2(start, child);
  119943. case "forward":
  119944. _this._stylesheet0$_isUseAllowed = wasUseAllowed;
  119945. if (!root)
  119946. _this._stylesheet0$_disallowedAtRule$1(start);
  119947. return _this._stylesheet0$_forwardRule$1(start);
  119948. case "function":
  119949. return _this._stylesheet0$_functionRule$1(start);
  119950. case "if":
  119951. return _this._stylesheet0$_ifRule$2(start, child);
  119952. case "import":
  119953. return _this._stylesheet0$_importRule$1(start);
  119954. case "include":
  119955. return _this._stylesheet0$_includeRule$1(start);
  119956. case "media":
  119957. return _this.mediaRule$1(start);
  119958. case "mixin":
  119959. return _this._stylesheet0$_mixinRule$1(start);
  119960. case "-moz-document":
  119961. return _this.mozDocumentRule$2(start, $name);
  119962. case "return":
  119963. return _this._stylesheet0$_disallowedAtRule$1(start);
  119964. case "supports":
  119965. return _this.supportsRule$1(start);
  119966. case "use":
  119967. _this._stylesheet0$_isUseAllowed = wasUseAllowed;
  119968. if (!root)
  119969. _this._stylesheet0$_disallowedAtRule$1(start);
  119970. _this.whitespace$1$consumeNewlines(true);
  119971. url = _this._stylesheet0$_urlString$0();
  119972. _this.whitespace$1$consumeNewlines(false);
  119973. namespace = _this._stylesheet0$_useNamespace$2(url, start);
  119974. _this.whitespace$1$consumeNewlines(false);
  119975. configuration = _this._stylesheet0$_configuration$0();
  119976. _this.whitespace$1$consumeNewlines(false);
  119977. span = t1.spanFrom$1(start);
  119978. if (!_this._stylesheet0$_isUseAllowed)
  119979. _this.error$2(0, string$.x40use_r, span);
  119980. _this.expectStatementSeparator$1("@use rule");
  119981. t1 = new A.UseRule0(url, namespace, configuration == null ? B.List_empty24 : A.List_List$unmodifiable(configuration, type$.ConfiguredVariable_2), span);
  119982. t1.UseRule$4$configuration0(url, namespace, span, configuration);
  119983. return t1;
  119984. case "warn":
  119985. return _this._stylesheet0$_warnRule$1(start);
  119986. case "while":
  119987. return _this._stylesheet0$_whileRule$2(start, child);
  119988. default:
  119989. return _this.unknownAtRule$2(start, $name);
  119990. }
  119991. },
  119992. _stylesheet0$_declarationAtRule$0() {
  119993. var _this = this,
  119994. t1 = _this.scanner,
  119995. start = new A._SpanScannerState(t1, t1._string_scanner$_position),
  119996. _0_0 = _this._stylesheet0$_plainAtRuleName$0();
  119997. $label0$0: {
  119998. if ("content" === _0_0) {
  119999. t1 = _this._stylesheet0$_contentRule$1(start);
  120000. break $label0$0;
  120001. }
  120002. if ("debug" === _0_0) {
  120003. t1 = _this._stylesheet0$_debugRule$1(start);
  120004. break $label0$0;
  120005. }
  120006. if ("each" === _0_0) {
  120007. t1 = _this._stylesheet0$_eachRule$2(start, _this.get$_stylesheet0$_declarationChild());
  120008. break $label0$0;
  120009. }
  120010. if ("else" === _0_0)
  120011. _this._stylesheet0$_disallowedAtRule$1(start);
  120012. if ("error" === _0_0) {
  120013. t1 = _this._stylesheet0$_errorRule$1(start);
  120014. break $label0$0;
  120015. }
  120016. if ("for" === _0_0) {
  120017. t1 = _this._stylesheet0$_forRule$2(start, _this.get$_stylesheet0$_declarationChild());
  120018. break $label0$0;
  120019. }
  120020. if ("if" === _0_0) {
  120021. t1 = _this._stylesheet0$_ifRule$2(start, _this.get$_stylesheet0$_declarationChild());
  120022. break $label0$0;
  120023. }
  120024. if ("include" === _0_0) {
  120025. t1 = _this._stylesheet0$_includeRule$1(start);
  120026. break $label0$0;
  120027. }
  120028. if ("warn" === _0_0) {
  120029. t1 = _this._stylesheet0$_warnRule$1(start);
  120030. break $label0$0;
  120031. }
  120032. if ("while" === _0_0) {
  120033. t1 = _this._stylesheet0$_whileRule$2(start, _this.get$_stylesheet0$_declarationChild());
  120034. break $label0$0;
  120035. }
  120036. t1 = _this._stylesheet0$_disallowedAtRule$1(start);
  120037. }
  120038. return t1;
  120039. },
  120040. _stylesheet0$_functionChild$0() {
  120041. var state, variableDeclarationError, stackTrace, statement, t2, namespace, exception, t3, start, _0_0, value, _this = this,
  120042. t1 = _this.scanner;
  120043. if (t1.peekChar$0() !== 64) {
  120044. t2 = t1._string_scanner$_position;
  120045. state = new A._SpanScannerState(t1, t2);
  120046. try {
  120047. namespace = _this.identifier$0();
  120048. t1.expectChar$1(46);
  120049. t2 = _this.variableDeclarationWithoutNamespace$2(namespace, new A._SpanScannerState(t1, t2));
  120050. return t2;
  120051. } catch (exception) {
  120052. t2 = A.unwrapException(exception);
  120053. t3 = type$.SourceSpanFormatException;
  120054. if (t3._is(t2)) {
  120055. variableDeclarationError = t2;
  120056. stackTrace = A.getTraceFromException(exception);
  120057. t1.set$state(state);
  120058. statement = null;
  120059. try {
  120060. statement = _this._stylesheet0$_declarationOrStyleRule$0();
  120061. } catch (exception) {
  120062. if (t3._is(A.unwrapException(exception)))
  120063. throw A.wrapException(variableDeclarationError);
  120064. else
  120065. throw exception;
  120066. }
  120067. t2 = statement instanceof A.StyleRule0 ? "style rules" : "declarations";
  120068. _this.error$3(0, "@function rules may not contain " + t2 + ".", J.get$span$z(statement), stackTrace);
  120069. } else
  120070. throw exception;
  120071. }
  120072. }
  120073. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  120074. _0_0 = _this._stylesheet0$_plainAtRuleName$0();
  120075. $label0$0: {
  120076. if ("debug" === _0_0) {
  120077. t1 = _this._stylesheet0$_debugRule$1(start);
  120078. break $label0$0;
  120079. }
  120080. if ("each" === _0_0) {
  120081. t1 = _this._stylesheet0$_eachRule$2(start, _this.get$_stylesheet0$_functionChild());
  120082. break $label0$0;
  120083. }
  120084. if ("else" === _0_0)
  120085. _this._stylesheet0$_disallowedAtRule$1(start);
  120086. if ("error" === _0_0) {
  120087. t1 = _this._stylesheet0$_errorRule$1(start);
  120088. break $label0$0;
  120089. }
  120090. if ("for" === _0_0) {
  120091. t1 = _this._stylesheet0$_forRule$2(start, _this.get$_stylesheet0$_functionChild());
  120092. break $label0$0;
  120093. }
  120094. if ("if" === _0_0) {
  120095. t1 = _this._stylesheet0$_ifRule$2(start, _this.get$_stylesheet0$_functionChild());
  120096. break $label0$0;
  120097. }
  120098. if ("return" === _0_0) {
  120099. _this.whitespace$1$consumeNewlines(true);
  120100. value = _this._stylesheet0$_expression$0();
  120101. _this.expectStatementSeparator$1("@return rule");
  120102. t1 = new A.ReturnRule0(value, t1.spanFrom$1(start));
  120103. break $label0$0;
  120104. }
  120105. if ("warn" === _0_0) {
  120106. t1 = _this._stylesheet0$_warnRule$1(start);
  120107. break $label0$0;
  120108. }
  120109. if ("while" === _0_0) {
  120110. t1 = _this._stylesheet0$_whileRule$2(start, _this.get$_stylesheet0$_functionChild());
  120111. break $label0$0;
  120112. }
  120113. t1 = _this._stylesheet0$_disallowedAtRule$1(start);
  120114. }
  120115. return t1;
  120116. },
  120117. _stylesheet0$_plainAtRuleName$0() {
  120118. this.scanner.expectChar$2$name(64, "@-rule");
  120119. return this.identifier$0();
  120120. },
  120121. _stylesheet0$_atRootRule$1(start) {
  120122. var t1, t2, t3, buffer, t4, _this = this;
  120123. _this.whitespace$1$consumeNewlines(false);
  120124. t1 = _this.scanner;
  120125. if (t1.peekChar$0() === 40) {
  120126. t2 = t1._string_scanner$_position;
  120127. t3 = new A.StringBuffer("");
  120128. buffer = new A.InterpolationBuffer0(t3, A._setArrayType([], type$.JSArray_Object), A._setArrayType([], type$.JSArray_nullable_FileSpan));
  120129. t1.expectChar$1(40);
  120130. t4 = A.Primitives_stringFromCharCode(40);
  120131. t3._contents += t4;
  120132. _this.whitespace$1$consumeNewlines(true);
  120133. _this._stylesheet0$_addOrInject$2(buffer, _this._stylesheet0$_expression$1$consumeNewlines(true));
  120134. if (t1.scanChar$1(58)) {
  120135. _this.whitespace$1$consumeNewlines(true);
  120136. t4 = A.Primitives_stringFromCharCode(58);
  120137. t3._contents += t4;
  120138. t4 = A.Primitives_stringFromCharCode(32);
  120139. t3._contents += t4;
  120140. _this._stylesheet0$_addOrInject$2(buffer, _this._stylesheet0$_expression$1$consumeNewlines(true));
  120141. }
  120142. t1.expectChar$1(41);
  120143. _this.whitespace$1$consumeNewlines(false);
  120144. t4 = A.Primitives_stringFromCharCode(41);
  120145. t3._contents += t4;
  120146. 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)))));
  120147. } else {
  120148. if (!_this.lookingAtChildren$0())
  120149. t2 = _this.get$indented() && _this.atEndOfStatement$0();
  120150. else
  120151. t2 = true;
  120152. if (t2)
  120153. return _this._stylesheet0$_withChildren$3(_this.get$_stylesheet0$_statement(), start, new A.StylesheetParser__atRootRule_closure2());
  120154. else
  120155. return A.AtRootRule$0(A._setArrayType([_this._stylesheet0$_styleRule$0()], type$.JSArray_Statement_2), t1.spanFrom$1(start), null);
  120156. }
  120157. },
  120158. _stylesheet0$_contentRule$1(start) {
  120159. var t1, beforeWhitespace, $arguments, t2, _this = this;
  120160. if (!_this._stylesheet0$_inMixin)
  120161. _this.error$2(0, string$.x40conte, _this.scanner.spanFrom$1(start));
  120162. t1 = _this.scanner;
  120163. beforeWhitespace = A.FileLocation$_(t1._sourceFile, t1._string_scanner$_position);
  120164. _this.whitespace$1$consumeNewlines(false);
  120165. if (t1.peekChar$0() === 40) {
  120166. $arguments = _this._stylesheet0$_argumentInvocation$1$mixin(true);
  120167. _this.whitespace$1$consumeNewlines(false);
  120168. } else {
  120169. t2 = beforeWhitespace.offset;
  120170. $arguments = A.ArgumentList$empty0(A._FileSpan$(beforeWhitespace.file, t2, t2));
  120171. }
  120172. _this.expectStatementSeparator$1("@content rule");
  120173. return new A.ContentRule0($arguments, t1.spanFrom$1(start));
  120174. },
  120175. _stylesheet0$_debugRule$1(start) {
  120176. var value, t1, t2, _this = this;
  120177. _this.whitespace$1$consumeNewlines(true);
  120178. value = _this._stylesheet0$_expression$0();
  120179. t1 = _this.scanner;
  120180. t2 = t1._string_scanner$_position;
  120181. _this.expectStatementSeparator$1("@debug rule");
  120182. return new A.DebugRule0(value, t1.spanFrom$2(start, new A._SpanScannerState(t1, t2)));
  120183. },
  120184. _stylesheet0$_eachRule$2(start, child) {
  120185. var wasInControlDirective, variables, t1, _this = this;
  120186. _this.whitespace$1$consumeNewlines(true);
  120187. wasInControlDirective = _this._stylesheet0$_inControlDirective;
  120188. _this._stylesheet0$_inControlDirective = true;
  120189. variables = A._setArrayType([_this.variableName$0()], type$.JSArray_String);
  120190. _this.whitespace$1$consumeNewlines(true);
  120191. for (t1 = _this.scanner; t1.scanChar$1(44);) {
  120192. _this.whitespace$1$consumeNewlines(true);
  120193. t1.expectChar$1(36);
  120194. variables.push(_this.identifier$1$normalize(true));
  120195. _this.whitespace$1$consumeNewlines(true);
  120196. }
  120197. _this.whitespace$1$consumeNewlines(true);
  120198. _this.expectIdentifier$1("in");
  120199. _this.whitespace$1$consumeNewlines(true);
  120200. return _this._stylesheet0$_withChildren$3(child, start, new A.StylesheetParser__eachRule_closure0(_this, wasInControlDirective, variables, _this._stylesheet0$_expression$0()));
  120201. },
  120202. _stylesheet0$_errorRule$1(start) {
  120203. var value, t1, t2, _this = this;
  120204. _this.whitespace$1$consumeNewlines(true);
  120205. value = _this._stylesheet0$_expression$0();
  120206. t1 = _this.scanner;
  120207. t2 = t1._string_scanner$_position;
  120208. _this.expectStatementSeparator$1("@error rule");
  120209. return new A.ErrorRule0(value, t1.spanFrom$2(start, new A._SpanScannerState(t1, t2)));
  120210. },
  120211. _stylesheet0$_functionRule$1(start) {
  120212. var precedingComment, t1, beforeName, $name, parameters, _0_0, _this = this;
  120213. _this.whitespace$1$consumeNewlines(true);
  120214. precedingComment = _this.lastSilentComment;
  120215. _this.lastSilentComment = null;
  120216. t1 = _this.scanner;
  120217. beforeName = new A._SpanScannerState(t1, t1._string_scanner$_position);
  120218. $name = _this.identifier$0();
  120219. if (B.JSString_methods.startsWith$1($name, "--"))
  120220. _this.warnings.push(new A._Record_3_deprecation_message_span(B.Deprecation_d4j, string$.Sassx20_f_, t1.spanFrom$1(beforeName)));
  120221. else if (A.equalsIgnoreCase0($name, "type"))
  120222. _this.warnings.push(new A._Record_3_deprecation_message_span(B.Deprecation_vQt, string$.Sassx20_fs, t1.spanFrom$1(beforeName)));
  120223. _this.whitespace$1$consumeNewlines(true);
  120224. parameters = _this._stylesheet0$_parameterList$0();
  120225. if (_this._stylesheet0$_inMixin || _this._stylesheet0$_inContentBlock)
  120226. _this.error$2(0, string$.Mixinscf, t1.spanFrom$1(start));
  120227. else if (_this._stylesheet0$_inControlDirective)
  120228. _this.error$2(0, string$.Functi, t1.spanFrom$1(start));
  120229. _0_0 = A.unvendor0($name);
  120230. 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)
  120231. _this.error$2(0, "Invalid function name.", t1.spanFrom$1(start));
  120232. _this.whitespace$1$consumeNewlines(false);
  120233. return _this._stylesheet0$_withChildren$3(_this.get$_stylesheet0$_functionChild(), start, new A.StylesheetParser__functionRule_closure0($name, parameters, precedingComment));
  120234. },
  120235. _stylesheet0$_forRule$2(start, child) {
  120236. var wasInControlDirective, variable, from, _this = this, t1 = {};
  120237. _this.whitespace$1$consumeNewlines(true);
  120238. wasInControlDirective = _this._stylesheet0$_inControlDirective;
  120239. _this._stylesheet0$_inControlDirective = true;
  120240. variable = _this.variableName$0();
  120241. _this.whitespace$1$consumeNewlines(true);
  120242. _this.expectIdentifier$1("from");
  120243. _this.whitespace$1$consumeNewlines(true);
  120244. t1.exclusive = null;
  120245. from = _this._stylesheet0$_expression$2$consumeNewlines$until(true, new A.StylesheetParser__forRule_closure1(t1, _this));
  120246. if (t1.exclusive == null)
  120247. _this.scanner.error$1(0, 'Expected "to" or "through".');
  120248. _this.whitespace$1$consumeNewlines(true);
  120249. return _this._stylesheet0$_withChildren$3(child, start, new A.StylesheetParser__forRule_closure2(t1, _this, wasInControlDirective, variable, from, _this._stylesheet0$_expression$0()));
  120250. },
  120251. _stylesheet0$_forwardRule$1(start) {
  120252. var url, prefix, hiddenMixinsAndFunctions, hiddenVariables, _0_0, shownMixinsAndFunctions, shownVariables, _1_0, configuration, span, t1, t2, t3, t4, _this = this, _null = null;
  120253. _this.whitespace$1$consumeNewlines(true);
  120254. url = _this._stylesheet0$_urlString$0();
  120255. _this.whitespace$1$consumeNewlines(false);
  120256. if (_this.scanIdentifier$1("as")) {
  120257. _this.whitespace$1$consumeNewlines(true);
  120258. prefix = _this.identifier$1$normalize(true);
  120259. _this.scanner.expectChar$1(42);
  120260. _this.whitespace$1$consumeNewlines(false);
  120261. } else
  120262. prefix = _null;
  120263. hiddenMixinsAndFunctions = _null;
  120264. hiddenVariables = _null;
  120265. if (_this.scanIdentifier$1("show")) {
  120266. _this.whitespace$1$consumeNewlines(true);
  120267. _0_0 = _this._stylesheet0$_memberList$0();
  120268. shownMixinsAndFunctions = _0_0._0;
  120269. shownVariables = _0_0._1;
  120270. } else {
  120271. if (_this.scanIdentifier$1("hide")) {
  120272. _this.whitespace$1$consumeNewlines(true);
  120273. _1_0 = _this._stylesheet0$_memberList$0();
  120274. hiddenMixinsAndFunctions = _1_0._0;
  120275. hiddenVariables = _1_0._1;
  120276. }
  120277. shownVariables = _null;
  120278. shownMixinsAndFunctions = shownVariables;
  120279. }
  120280. configuration = _this._stylesheet0$_configuration$1$allowGuarded(true);
  120281. _this.whitespace$1$consumeNewlines(false);
  120282. _this.expectStatementSeparator$1("@forward rule");
  120283. span = _this.scanner.spanFrom$1(start);
  120284. if (!_this._stylesheet0$_isUseAllowed)
  120285. _this.error$2(0, string$.x40forwa, span);
  120286. if (shownMixinsAndFunctions != null) {
  120287. shownVariables.toString;
  120288. t1 = type$.String;
  120289. t2 = A.LinkedHashSet_LinkedHashSet$of(shownMixinsAndFunctions, t1);
  120290. t3 = type$.UnmodifiableSetView_String;
  120291. t1 = A.LinkedHashSet_LinkedHashSet$of(shownVariables, t1);
  120292. t4 = configuration == null ? B.List_empty24 : A.List_List$unmodifiable(configuration, type$.ConfiguredVariable_2);
  120293. return new A.ForwardRule0(url, new A.UnmodifiableSetView0(t2, t3), new A.UnmodifiableSetView0(t1, t3), _null, _null, prefix, t4, span);
  120294. } else if (hiddenMixinsAndFunctions != null) {
  120295. hiddenVariables.toString;
  120296. t1 = type$.String;
  120297. t2 = A.LinkedHashSet_LinkedHashSet$of(hiddenMixinsAndFunctions, t1);
  120298. t3 = type$.UnmodifiableSetView_String;
  120299. t1 = A.LinkedHashSet_LinkedHashSet$of(hiddenVariables, t1);
  120300. t4 = configuration == null ? B.List_empty24 : A.List_List$unmodifiable(configuration, type$.ConfiguredVariable_2);
  120301. return new A.ForwardRule0(url, _null, _null, new A.UnmodifiableSetView0(t2, t3), new A.UnmodifiableSetView0(t1, t3), prefix, t4, span);
  120302. } else
  120303. return new A.ForwardRule0(url, _null, _null, _null, _null, prefix, configuration == null ? B.List_empty24 : A.List_List$unmodifiable(configuration, type$.ConfiguredVariable_2), span);
  120304. },
  120305. _stylesheet0$_memberList$0() {
  120306. var _this = this,
  120307. t1 = type$.String,
  120308. identifiers = A.LinkedHashSet_LinkedHashSet$_empty(t1),
  120309. variables = A.LinkedHashSet_LinkedHashSet$_empty(t1);
  120310. t1 = _this.scanner;
  120311. do {
  120312. _this.whitespace$1$consumeNewlines(true);
  120313. _this.withErrorMessage$2(string$.Expectv, new A.StylesheetParser__memberList_closure0(_this, variables, identifiers));
  120314. _this.whitespace$1$consumeNewlines(false);
  120315. } while (t1.scanChar$1(44));
  120316. return new A._Record_2(identifiers, variables);
  120317. },
  120318. _stylesheet0$_ifRule$2(start, child) {
  120319. var ifIndentation, wasInControlDirective, condition, children, clauses, lastClause, span, _this = this;
  120320. _this.whitespace$1$consumeNewlines(true);
  120321. ifIndentation = _this.get$currentIndentation();
  120322. wasInControlDirective = _this._stylesheet0$_inControlDirective;
  120323. _this._stylesheet0$_inControlDirective = true;
  120324. condition = _this._stylesheet0$_expression$0();
  120325. children = _this.children$1(0, child);
  120326. _this.whitespaceWithoutComments$1$consumeNewlines(false);
  120327. clauses = A._setArrayType([A.IfClause$0(condition, children)], type$.JSArray_IfClause_2);
  120328. while (true) {
  120329. if (!_this.scanElse$1(ifIndentation)) {
  120330. lastClause = null;
  120331. break;
  120332. }
  120333. _this.whitespace$1$consumeNewlines(false);
  120334. if (_this.scanIdentifier$1("if")) {
  120335. _this.whitespace$1$consumeNewlines(true);
  120336. clauses.push(A.IfClause$0(_this._stylesheet0$_expression$0(), _this.children$1(0, child)));
  120337. } else {
  120338. lastClause = A.ElseClause$0(_this.children$1(0, child));
  120339. break;
  120340. }
  120341. }
  120342. _this._stylesheet0$_inControlDirective = wasInControlDirective;
  120343. span = _this.scanner.spanFrom$1(start);
  120344. _this.whitespaceWithoutComments$1$consumeNewlines(false);
  120345. return new A.IfRule0(A.List_List$unmodifiable(clauses, type$.IfClause_2), lastClause, span);
  120346. },
  120347. _stylesheet0$_importRule$1(start) {
  120348. var argument, t3, _this = this,
  120349. imports = A._setArrayType([], type$.JSArray_Import_2),
  120350. t1 = _this.scanner,
  120351. t2 = _this.warnings;
  120352. do {
  120353. _this.whitespace$1$consumeNewlines(false);
  120354. argument = _this.importArgument$0();
  120355. t3 = argument instanceof A.DynamicImport0;
  120356. if (t3)
  120357. t2.push(new A._Record_3_deprecation_message_span(B.Deprecation_OHJ, string$.Sassx20_i, argument.span));
  120358. if ((_this._stylesheet0$_inControlDirective || _this._stylesheet0$_inMixin) && t3)
  120359. _this._stylesheet0$_disallowedAtRule$1(start);
  120360. imports.push(argument);
  120361. _this.whitespace$1$consumeNewlines(false);
  120362. } while (t1.scanChar$1(44));
  120363. _this.expectStatementSeparator$1("@import rule");
  120364. t1 = t1.spanFrom$1(start);
  120365. return new A.ImportRule0(A.List_List$unmodifiable(imports, type$.Import_2), t1);
  120366. },
  120367. importArgument$0() {
  120368. var url, urlSpan, innerError, stackTrace, modifiers, t2, exception, _this = this,
  120369. t1 = _this.scanner,
  120370. start = new A._SpanScannerState(t1, t1._string_scanner$_position),
  120371. _0_0 = t1.peekChar$0();
  120372. if (117 === _0_0 || 85 === _0_0) {
  120373. url = _this.dynamicUrl$0();
  120374. _this.whitespace$1$consumeNewlines(false);
  120375. modifiers = _this.tryImportModifiers$0();
  120376. 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));
  120377. return new A.StaticImport0(t2, modifiers, t1.spanFrom$1(start));
  120378. }
  120379. url = _this.string$0();
  120380. urlSpan = t1.spanFrom$1(start);
  120381. _this.whitespace$1$consumeNewlines(false);
  120382. modifiers = _this.tryImportModifiers$0();
  120383. if (_this.isPlainImportUrl$1(url) || modifiers != null) {
  120384. t2 = urlSpan;
  120385. 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));
  120386. } else
  120387. try {
  120388. t1 = _this.parseImportUrl$1(url);
  120389. return new A.DynamicImport0(t1, urlSpan);
  120390. } catch (exception) {
  120391. t1 = A.unwrapException(exception);
  120392. if (type$.FormatException._is(t1)) {
  120393. innerError = t1;
  120394. stackTrace = A.getTraceFromException(exception);
  120395. _this.error$3(0, "Invalid URL: " + J.get$message$x(innerError), urlSpan, stackTrace);
  120396. } else
  120397. throw exception;
  120398. }
  120399. },
  120400. parseImportUrl$1(url) {
  120401. var t1 = $.$get$windows();
  120402. if (t1.style.rootLength$1(url) > 0 && !$.$get$url().style.isRootRelative$1(url))
  120403. return t1.toUri$1(url).toString$0(0);
  120404. A.Uri_parse(url);
  120405. return url;
  120406. },
  120407. isPlainImportUrl$1(url) {
  120408. var _0_0, t1;
  120409. if (url.length < 5)
  120410. return false;
  120411. if (B.JSString_methods.endsWith$1(url, ".css"))
  120412. return true;
  120413. _0_0 = url.charCodeAt(0);
  120414. $label0$0: {
  120415. if (47 === _0_0) {
  120416. t1 = url.charCodeAt(1) === 47;
  120417. break $label0$0;
  120418. }
  120419. if (104 === _0_0) {
  120420. t1 = B.JSString_methods.startsWith$1(url, "http://") || B.JSString_methods.startsWith$1(url, "https://");
  120421. break $label0$0;
  120422. }
  120423. t1 = false;
  120424. break $label0$0;
  120425. }
  120426. return t1;
  120427. },
  120428. tryImportModifiers$0() {
  120429. var t1, start, t2, t3, t4, buffer, t5, identifier, $name, query, t6, endPosition, _this = this;
  120430. if (!_this._stylesheet0$_lookingAtInterpolatedIdentifier$0() && _this.scanner.peekChar$0() !== 40)
  120431. return null;
  120432. t1 = _this.scanner;
  120433. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  120434. t2 = new A.StringBuffer("");
  120435. t3 = A._setArrayType([], type$.JSArray_Object);
  120436. t4 = A._setArrayType([], type$.JSArray_nullable_FileSpan);
  120437. buffer = new A.InterpolationBuffer0(t2, t3, t4);
  120438. for (; true;)
  120439. if (_this._stylesheet0$_lookingAtInterpolatedIdentifier$0()) {
  120440. if (!(t3.length === 0 && t2._contents.length === 0)) {
  120441. t5 = A.Primitives_stringFromCharCode(32);
  120442. t2._contents += t5;
  120443. }
  120444. identifier = _this.interpolatedIdentifier$0();
  120445. buffer.addInterpolation$1(identifier);
  120446. t5 = identifier.get$asPlain();
  120447. $name = t5 == null ? null : t5.toLowerCase();
  120448. if ($name !== "and" && t1.scanChar$1(40)) {
  120449. if ($name === "supports") {
  120450. query = _this._stylesheet0$_importSupportsQuery$0();
  120451. t5 = !(query instanceof A.SupportsDeclaration0);
  120452. if (t5) {
  120453. t6 = A.Primitives_stringFromCharCode(40);
  120454. t2._contents += t6;
  120455. }
  120456. t6 = query.get$span(query);
  120457. buffer._interpolation_buffer0$_flushText$0();
  120458. t3.push(new A.SupportsExpression0(query));
  120459. t4.push(t6);
  120460. if (t5) {
  120461. t5 = A.Primitives_stringFromCharCode(41);
  120462. t2._contents += t5;
  120463. }
  120464. } else {
  120465. t5 = A.Primitives_stringFromCharCode(40);
  120466. t2._contents += t5;
  120467. buffer.addInterpolation$1(_this._stylesheet0$_interpolatedDeclarationValue$3$allowEmpty$allowSemicolon$consumeNewlines(true, true, true));
  120468. t5 = A.Primitives_stringFromCharCode(41);
  120469. t2._contents += t5;
  120470. }
  120471. t1.expectChar$1(41);
  120472. _this.whitespace$1$consumeNewlines(false);
  120473. } else {
  120474. _this.whitespace$1$consumeNewlines(false);
  120475. if (t1.scanChar$1(44)) {
  120476. t2._contents += ", ";
  120477. buffer.addInterpolation$1(_this._stylesheet0$_mediaQueryList$0());
  120478. endPosition = t1._string_scanner$_position;
  120479. t2 = t1._sourceFile;
  120480. t3 = start.position;
  120481. t1 = new A._FileSpan(t2, t3, endPosition);
  120482. t1._FileSpan$3(t2, t3, endPosition);
  120483. return buffer.interpolation$1(t1);
  120484. }
  120485. }
  120486. } else if (t1.peekChar$0() === 40) {
  120487. if (!(t3.length === 0 && t2._contents.length === 0)) {
  120488. t3 = A.Primitives_stringFromCharCode(32);
  120489. t2._contents += t3;
  120490. }
  120491. buffer.addInterpolation$1(_this._stylesheet0$_mediaQueryList$0());
  120492. endPosition = t1._string_scanner$_position;
  120493. t1 = t1._sourceFile;
  120494. t2 = start.position;
  120495. t3 = new A._FileSpan(t1, t2, endPosition);
  120496. t3._FileSpan$3(t1, t2, endPosition);
  120497. return buffer.interpolation$1(t3);
  120498. } else {
  120499. endPosition = t1._string_scanner$_position;
  120500. t1 = t1._sourceFile;
  120501. t2 = start.position;
  120502. t3 = new A._FileSpan(t1, t2, endPosition);
  120503. t3._FileSpan$3(t1, t2, endPosition);
  120504. return buffer.interpolation$1(t3);
  120505. }
  120506. },
  120507. _stylesheet0$_importSupportsQuery$0() {
  120508. var t1, t2, _0_0, $name, _this = this;
  120509. _this.whitespace$1$consumeNewlines(true);
  120510. if (_this.scanIdentifier$1("not")) {
  120511. _this.whitespace$1$consumeNewlines(true);
  120512. t1 = _this.scanner;
  120513. t2 = t1._string_scanner$_position;
  120514. return new A.SupportsNegation0(_this._stylesheet0$_supportsConditionInParens$0(), t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
  120515. } else {
  120516. t1 = _this.scanner;
  120517. if (t1.peekChar$0() === 40)
  120518. return _this._stylesheet0$_supportsCondition$1$inParentheses(true);
  120519. else {
  120520. _0_0 = _this._stylesheet0$_tryImportSupportsFunction$0();
  120521. if (_0_0 != null)
  120522. return _0_0;
  120523. t2 = t1._string_scanner$_position;
  120524. $name = _this._stylesheet0$_expression$1$consumeNewlines(true);
  120525. t1.expectChar$1(58);
  120526. return new A.SupportsDeclaration0($name, _this._stylesheet0$_supportsDeclarationValue$1($name), t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
  120527. }
  120528. }
  120529. },
  120530. _stylesheet0$_tryImportSupportsFunction$0() {
  120531. var t1, start, $name, value, _this = this;
  120532. if (!_this._stylesheet0$_lookingAtInterpolatedIdentifier$0())
  120533. return null;
  120534. t1 = _this.scanner;
  120535. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  120536. $name = _this.interpolatedIdentifier$0();
  120537. if (!t1.scanChar$1(40)) {
  120538. t1.set$state(start);
  120539. return null;
  120540. }
  120541. value = _this._stylesheet0$_interpolatedDeclarationValue$3$allowEmpty$allowSemicolon$consumeNewlines(true, true, true);
  120542. t1.expectChar$1(41);
  120543. return new A.SupportsFunction0($name, value, t1.spanFrom$1(start));
  120544. },
  120545. _stylesheet0$_includeRule$1(start) {
  120546. var $name, t1, name0, namespace, $arguments, t2, t3, contentParameters, contentParameters_, wasInContentBlock, $content, span, _this = this, _null = null;
  120547. _this.whitespace$1$consumeNewlines(true);
  120548. $name = _this.identifier$0();
  120549. t1 = _this.scanner;
  120550. if (t1.scanChar$1(46)) {
  120551. name0 = _this._stylesheet0$_publicIdentifier$0();
  120552. namespace = $name;
  120553. $name = name0;
  120554. } else
  120555. namespace = _null;
  120556. _this.whitespace$1$consumeNewlines(false);
  120557. if (t1.peekChar$0() === 40)
  120558. $arguments = _this._stylesheet0$_argumentInvocation$1$mixin(true);
  120559. else {
  120560. t2 = A.FileLocation$_(t1._sourceFile, t1._string_scanner$_position);
  120561. t3 = t2.offset;
  120562. $arguments = A.ArgumentList$empty0(A._FileSpan$(t2.file, t3, t3));
  120563. }
  120564. _this.whitespace$1$consumeNewlines(false);
  120565. if (_this.scanIdentifier$1("using")) {
  120566. _this.whitespace$1$consumeNewlines(true);
  120567. contentParameters = _this._stylesheet0$_parameterList$0();
  120568. _this.whitespace$1$consumeNewlines(false);
  120569. } else
  120570. contentParameters = _null;
  120571. t2 = contentParameters == null;
  120572. if (!t2 || _this.lookingAtChildren$0()) {
  120573. if (t2) {
  120574. t2 = A.FileLocation$_(t1._sourceFile, t1._string_scanner$_position);
  120575. t3 = t2.offset;
  120576. contentParameters_ = new A.ParameterList0(B.List_empty26, _null, A._FileSpan$(t2.file, t3, t3));
  120577. } else
  120578. contentParameters_ = contentParameters;
  120579. wasInContentBlock = _this._stylesheet0$_inContentBlock;
  120580. _this._stylesheet0$_inContentBlock = true;
  120581. $content = _this._stylesheet0$_withChildren$3(_this.get$_stylesheet0$_statement(), start, new A.StylesheetParser__includeRule_closure0(contentParameters_));
  120582. _this._stylesheet0$_inContentBlock = wasInContentBlock;
  120583. } else {
  120584. _this.expectStatementSeparator$0();
  120585. $content = _null;
  120586. }
  120587. t1 = t1.spanFrom$2(start, start);
  120588. t2 = $content == null ? $arguments : $content;
  120589. span = t1.expand$1(0, t2.get$span(t2));
  120590. return new A.IncludeRule0(namespace, A.stringReplaceAllUnchecked($name, "_", "-"), $name, $arguments, $content, span);
  120591. },
  120592. mediaRule$1(start) {
  120593. var _this = this;
  120594. _this.whitespace$1$consumeNewlines(false);
  120595. return _this._stylesheet0$_withChildren$3(_this.get$_stylesheet0$_statement(), start, new A.StylesheetParser_mediaRule_closure0(_this._stylesheet0$_mediaQueryList$0()));
  120596. },
  120597. _stylesheet0$_mixinRule$1(start) {
  120598. var precedingComment, t1, t2, $name, parameters, t3, _this = this;
  120599. _this.whitespace$1$consumeNewlines(true);
  120600. precedingComment = _this.lastSilentComment;
  120601. _this.lastSilentComment = null;
  120602. t1 = _this.scanner;
  120603. t2 = t1._string_scanner$_position;
  120604. $name = _this.identifier$0();
  120605. if (B.JSString_methods.startsWith$1($name, "--"))
  120606. _this.warnings.push(new A._Record_3_deprecation_message_span(B.Deprecation_d4j, string$.Sassx20_m, t1.spanFrom$1(new A._SpanScannerState(t1, t2))));
  120607. _this.whitespace$1$consumeNewlines(false);
  120608. if (t1.peekChar$0() === 40)
  120609. parameters = _this._stylesheet0$_parameterList$0();
  120610. else {
  120611. t2 = A.FileLocation$_(t1._sourceFile, t1._string_scanner$_position);
  120612. t3 = t2.offset;
  120613. parameters = new A.ParameterList0(B.List_empty26, null, A._FileSpan$(t2.file, t3, t3));
  120614. }
  120615. if (_this._stylesheet0$_inMixin || _this._stylesheet0$_inContentBlock)
  120616. _this.error$2(0, string$.Mixinscm, t1.spanFrom$1(start));
  120617. else if (_this._stylesheet0$_inControlDirective)
  120618. _this.error$2(0, string$.Mixinsb, t1.spanFrom$1(start));
  120619. _this.whitespace$1$consumeNewlines(false);
  120620. _this._stylesheet0$_inMixin = true;
  120621. return _this._stylesheet0$_withChildren$3(_this.get$_stylesheet0$_statement(), start, new A.StylesheetParser__mixinRule_closure0(_this, $name, parameters, precedingComment));
  120622. },
  120623. mozDocumentRule$2(start, $name) {
  120624. var t1, t2, t3, t4, t5, buffer, _0_0, t6, identifier, _1_0, argument, trailing, endPosition, t7, t8, start0, end, _this = this, _box_0 = {};
  120625. _this.whitespace$1$consumeNewlines(false);
  120626. t1 = _this.scanner;
  120627. t2 = t1._string_scanner$_position;
  120628. t3 = new A.StringBuffer("");
  120629. t4 = A._setArrayType([], type$.JSArray_Object);
  120630. t5 = A._setArrayType([], type$.JSArray_nullable_FileSpan);
  120631. buffer = new A.InterpolationBuffer0(t3, t4, t5);
  120632. _box_0.needsDeprecationWarning = false;
  120633. for (; true;) {
  120634. if (t1.peekChar$0() === 35) {
  120635. _0_0 = _this.singleInterpolation$0();
  120636. buffer._interpolation_buffer0$_flushText$0();
  120637. t4.push(_0_0._0);
  120638. t5.push(_0_0._1);
  120639. _box_0.needsDeprecationWarning = true;
  120640. } else {
  120641. t6 = t1._string_scanner$_position;
  120642. identifier = _this.identifier$0();
  120643. $label0$0: {
  120644. if ("url" === identifier || "url-prefix" === identifier || "domain" === identifier) {
  120645. _1_0 = _this._stylesheet0$_tryUrlContents$2$name(new A._SpanScannerState(t1, t6), identifier);
  120646. if (_1_0 != null)
  120647. buffer.addInterpolation$1(_1_0);
  120648. else {
  120649. t1.expectChar$1(40);
  120650. _this.whitespace$1$consumeNewlines(false);
  120651. argument = _this.interpolatedString$0();
  120652. t1.expectChar$1(41);
  120653. t3._contents += identifier;
  120654. t6 = A.Primitives_stringFromCharCode(40);
  120655. t3._contents += t6;
  120656. buffer.addInterpolation$1(argument.asInterpolation$0());
  120657. t6 = A.Primitives_stringFromCharCode(41);
  120658. t3._contents += t6;
  120659. }
  120660. t6 = t3._contents;
  120661. trailing = t6.charCodeAt(0) == 0 ? t6 : t6;
  120662. 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("")'))
  120663. _box_0.needsDeprecationWarning = true;
  120664. break $label0$0;
  120665. }
  120666. if ("regexp" === identifier) {
  120667. t3._contents += "regexp(";
  120668. t1.expectChar$1(40);
  120669. buffer.addInterpolation$1(_this.interpolatedString$0().asInterpolation$0());
  120670. t1.expectChar$1(41);
  120671. t6 = A.Primitives_stringFromCharCode(41);
  120672. t3._contents += t6;
  120673. _box_0.needsDeprecationWarning = true;
  120674. break $label0$0;
  120675. }
  120676. endPosition = t1._string_scanner$_position;
  120677. t7 = t1._sourceFile;
  120678. t8 = new A._FileSpan(t7, t6, endPosition);
  120679. t8._FileSpan$3(t7, t6, endPosition);
  120680. _this.error$2(0, "Invalid function name.", t8);
  120681. }
  120682. }
  120683. _this.whitespace$1$consumeNewlines(false);
  120684. if (!t1.scanChar$1(44))
  120685. break;
  120686. t6 = A.Primitives_stringFromCharCode(44);
  120687. t3._contents += t6;
  120688. start0 = t1._string_scanner$_position;
  120689. new A.StylesheetParser_mozDocumentRule_closure1(_this).call$0();
  120690. end = t1._string_scanner$_position;
  120691. t3._contents += B.JSString_methods.substring$2(t1.string, start0, end);
  120692. }
  120693. 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)))));
  120694. },
  120695. supportsRule$1(start) {
  120696. var condition, _this = this;
  120697. _this.whitespace$1$consumeNewlines(false);
  120698. condition = _this._stylesheet0$_supportsCondition$0();
  120699. _this.whitespace$1$consumeNewlines(false);
  120700. return _this._stylesheet0$_withChildren$3(_this.get$_stylesheet0$_statement(), start, new A.StylesheetParser_supportsRule_closure0(condition));
  120701. },
  120702. _stylesheet0$_useNamespace$2(url, start) {
  120703. var namespace, basename, dot, t1, exception, _this = this;
  120704. if (_this.scanIdentifier$1("as")) {
  120705. _this.whitespace$1$consumeNewlines(true);
  120706. return _this.scanner.scanChar$1(42) ? null : _this.identifier$0();
  120707. }
  120708. basename = url.get$pathSegments().length === 0 ? "" : B.JSArray_methods.get$last(url.get$pathSegments());
  120709. dot = B.JSString_methods.indexOf$1(basename, ".");
  120710. t1 = B.JSString_methods.startsWith$1(basename, "_") ? 1 : 0;
  120711. namespace = B.JSString_methods.substring$2(basename, t1, dot === -1 ? basename.length : dot);
  120712. try {
  120713. t1 = new A.Parser1(A.SpanScanner$(namespace, null), null)._parser1$_parseIdentifier$0();
  120714. return t1;
  120715. } catch (exception) {
  120716. if (type$.SassFormatException_2._is(A.unwrapException(exception)))
  120717. _this.error$2(0, 'The default namespace "' + A.S(namespace) + string$.x22x20is_n, _this.scanner.spanFrom$1(start));
  120718. else
  120719. throw exception;
  120720. }
  120721. },
  120722. _stylesheet0$_configuration$1$allowGuarded(allowGuarded) {
  120723. var variableNames, configuration, t1, t2, $name, expression, t3, guarded, endPosition, t4, t5, span, _this = this;
  120724. if (!_this.scanIdentifier$1("with"))
  120725. return null;
  120726. variableNames = A.LinkedHashSet_LinkedHashSet$_empty(type$.String);
  120727. configuration = A._setArrayType([], type$.JSArray_ConfiguredVariable_2);
  120728. _this.whitespace$1$consumeNewlines(true);
  120729. t1 = _this.scanner;
  120730. t1.expectChar$1(40);
  120731. for (; true;) {
  120732. _this.whitespace$1$consumeNewlines(true);
  120733. t2 = t1._string_scanner$_position;
  120734. t1.expectChar$1(36);
  120735. $name = _this.identifier$1$normalize(true);
  120736. _this.whitespace$1$consumeNewlines(true);
  120737. t1.expectChar$1(58);
  120738. _this.whitespace$1$consumeNewlines(true);
  120739. expression = _this.expressionUntilComma$0();
  120740. t3 = t1._string_scanner$_position;
  120741. if (allowGuarded && t1.scanChar$1(33)) {
  120742. guarded = _this.identifier$0() === "default";
  120743. if (guarded)
  120744. _this.whitespace$1$consumeNewlines(true);
  120745. else {
  120746. endPosition = t1._string_scanner$_position;
  120747. t4 = t1._sourceFile;
  120748. t5 = new A._FileSpan(t4, t3, endPosition);
  120749. t5._FileSpan$3(t4, t3, endPosition);
  120750. _this.error$2(0, "Invalid flag name.", t5);
  120751. }
  120752. } else
  120753. guarded = false;
  120754. endPosition = t1._string_scanner$_position;
  120755. t3 = t1._sourceFile;
  120756. span = new A._FileSpan(t3, t2, endPosition);
  120757. span._FileSpan$3(t3, t2, endPosition);
  120758. if (variableNames.contains$1(0, $name))
  120759. _this.error$2(0, string$.The_sa, span);
  120760. variableNames.add$1(0, $name);
  120761. configuration.push(new A.ConfiguredVariable0($name, expression, guarded, span));
  120762. if (!t1.scanChar$1(44))
  120763. break;
  120764. _this.whitespace$1$consumeNewlines(true);
  120765. if (!_this._stylesheet0$_lookingAtExpression$0())
  120766. break;
  120767. }
  120768. t1.expectChar$1(41);
  120769. return configuration;
  120770. },
  120771. _stylesheet0$_configuration$0() {
  120772. return this._stylesheet0$_configuration$1$allowGuarded(false);
  120773. },
  120774. _stylesheet0$_warnRule$1(start) {
  120775. var value, t1, t2, _this = this;
  120776. _this.whitespace$1$consumeNewlines(true);
  120777. value = _this._stylesheet0$_expression$0();
  120778. t1 = _this.scanner;
  120779. t2 = t1._string_scanner$_position;
  120780. _this.expectStatementSeparator$1("@warn rule");
  120781. return new A.WarnRule0(value, t1.spanFrom$2(start, new A._SpanScannerState(t1, t2)));
  120782. },
  120783. _stylesheet0$_whileRule$2(start, child) {
  120784. var wasInControlDirective, _this = this;
  120785. _this.whitespace$1$consumeNewlines(true);
  120786. wasInControlDirective = _this._stylesheet0$_inControlDirective;
  120787. _this._stylesheet0$_inControlDirective = true;
  120788. return _this._stylesheet0$_withChildren$3(child, start, new A.StylesheetParser__whileRule_closure0(_this, wasInControlDirective, _this._stylesheet0$_expression$0()));
  120789. },
  120790. unknownAtRule$2(start, $name) {
  120791. var t2, t3, rule, _this = this, t1 = {},
  120792. wasInUnknownAtRule = _this._stylesheet0$_inUnknownAtRule;
  120793. _this._stylesheet0$_inUnknownAtRule = true;
  120794. _this.whitespace$1$consumeNewlines(false);
  120795. t1.value = null;
  120796. t2 = _this.scanner;
  120797. t3 = t2.peekChar$0() !== 33 && !_this.atEndOfStatement$0() ? t1.value = _this._stylesheet0$_interpolatedDeclarationValue$1$allowOpenBrace(false) : null;
  120798. if (_this.lookingAtChildren$0())
  120799. rule = _this._stylesheet0$_withChildren$3(_this.get$_stylesheet0$_statement(), start, new A.StylesheetParser_unknownAtRule_closure0(t1, $name));
  120800. else {
  120801. _this.expectStatementSeparator$0();
  120802. rule = A.AtRule$0($name, t2.spanFrom$1(start), null, t3);
  120803. }
  120804. _this._stylesheet0$_inUnknownAtRule = wasInUnknownAtRule;
  120805. return rule;
  120806. },
  120807. _stylesheet0$_disallowedAtRule$1(start) {
  120808. var _this = this;
  120809. _this.whitespace$1$consumeNewlines(false);
  120810. _this._stylesheet0$_interpolatedDeclarationValue$2$allowEmpty$allowOpenBrace(true, false);
  120811. _this.error$2(0, "This at-rule is not allowed here.", _this.scanner.spanFrom$1(start));
  120812. },
  120813. _stylesheet0$_parameterList$0() {
  120814. var parameters, named, restParameter, t3, $name, defaultValue, endPosition, t4, t5, _this = this,
  120815. t1 = _this.scanner,
  120816. t2 = t1._string_scanner$_position;
  120817. t1.expectChar$1(40);
  120818. _this.whitespace$1$consumeNewlines(true);
  120819. parameters = A._setArrayType([], type$.JSArray_Parameter_2);
  120820. named = A.LinkedHashSet_LinkedHashSet$_empty(type$.String);
  120821. for (; restParameter = null, t1.peekChar$0() === 36;) {
  120822. t3 = t1._string_scanner$_position;
  120823. t1.expectChar$1(36);
  120824. $name = _this.identifier$1$normalize(true);
  120825. _this.whitespace$1$consumeNewlines(true);
  120826. if (t1.scanChar$1(58)) {
  120827. _this.whitespace$1$consumeNewlines(true);
  120828. defaultValue = _this.expressionUntilComma$0();
  120829. } else {
  120830. if (t1.scanChar$1(46)) {
  120831. t1.expectChar$1(46);
  120832. t1.expectChar$1(46);
  120833. _this.whitespace$1$consumeNewlines(true);
  120834. if (t1.scanChar$1(44))
  120835. _this.whitespace$1$consumeNewlines(true);
  120836. restParameter = $name;
  120837. break;
  120838. }
  120839. defaultValue = null;
  120840. }
  120841. endPosition = t1._string_scanner$_position;
  120842. t4 = t1._sourceFile;
  120843. t5 = new A._FileSpan(t4, t3, endPosition);
  120844. t5._FileSpan$3(t4, t3, endPosition);
  120845. parameters.push(new A.Parameter0($name, defaultValue, t5));
  120846. if (!named.add$1(0, $name))
  120847. _this.error$2(0, "Duplicate parameter.", B.JSArray_methods.get$last(parameters).span);
  120848. if (!t1.scanChar$1(44))
  120849. break;
  120850. _this.whitespace$1$consumeNewlines(true);
  120851. }
  120852. t1.expectChar$1(41);
  120853. t1 = t1.spanFrom$1(new A._SpanScannerState(t1, t2));
  120854. return new A.ParameterList0(A.List_List$unmodifiable(parameters, type$.Parameter_2), restParameter, t1);
  120855. },
  120856. _stylesheet0$_argumentInvocation$2$allowEmptySecondArg$mixin(allowEmptySecondArg, mixin) {
  120857. var positional, t3, t4, named, t5, rest, keywordRest, expression, t6, t7, result, _this = this,
  120858. t1 = _this.scanner,
  120859. t2 = t1._string_scanner$_position;
  120860. t1.expectChar$1(40);
  120861. _this.whitespace$1$consumeNewlines(true);
  120862. positional = A._setArrayType([], type$.JSArray_Expression_2);
  120863. t3 = type$.String;
  120864. t4 = type$.Expression_2;
  120865. named = A.LinkedHashMap_LinkedHashMap$_empty(t3, t4);
  120866. for (t5 = !mixin, rest = null; keywordRest = null, _this._stylesheet0$_lookingAtExpression$0();) {
  120867. expression = _this.expressionUntilComma$1$singleEquals(t5);
  120868. _this.whitespace$1$consumeNewlines(true);
  120869. if (expression instanceof A.VariableExpression0 && t1.scanChar$1(58)) {
  120870. _this.whitespace$1$consumeNewlines(true);
  120871. t6 = expression.name;
  120872. if (named.containsKey$1(t6))
  120873. _this.error$2(0, "Duplicate argument.", expression.span);
  120874. named.$indexSet(0, t6, _this.expressionUntilComma$1$singleEquals(t5));
  120875. } else if (t1.scanChar$1(46)) {
  120876. t1.expectChar$1(46);
  120877. t1.expectChar$1(46);
  120878. if (rest != null) {
  120879. _this.whitespace$1$consumeNewlines(true);
  120880. if (t1.scanChar$1(44))
  120881. _this.whitespace$1$consumeNewlines(true);
  120882. keywordRest = expression;
  120883. break;
  120884. }
  120885. rest = expression;
  120886. } else if (named.__js_helper$_length !== 0)
  120887. _this.error$2(0, string$.Positi, expression.get$span(expression));
  120888. else
  120889. positional.push(expression);
  120890. _this.whitespace$1$consumeNewlines(true);
  120891. if (!t1.scanChar$1(44))
  120892. break;
  120893. _this.whitespace$1$consumeNewlines(true);
  120894. if (allowEmptySecondArg && positional.length === 1 && named.__js_helper$_length === 0 && rest == null && t1.peekChar$0() === 41) {
  120895. t5 = t1._sourceFile;
  120896. t6 = t1._string_scanner$_position;
  120897. new A.FileLocation(t5, t6).FileLocation$_$2(t5, t6);
  120898. t7 = new A._FileSpan(t5, t6, t6);
  120899. t7._FileSpan$3(t5, t6, t6);
  120900. result = A.List_List$from([""], false, type$.Object);
  120901. result.$flags = 3;
  120902. positional.push(new A.StringExpression0(new A.Interpolation0(result, B.List_null, t7), false));
  120903. break;
  120904. }
  120905. }
  120906. t1.expectChar$1(41);
  120907. t1 = t1.spanFrom$1(new A._SpanScannerState(t1, t2));
  120908. return new A.ArgumentList0(A.List_List$unmodifiable(positional, t4), A.ConstantMap_ConstantMap$from(named, t3, t4), rest, keywordRest, t1);
  120909. },
  120910. _stylesheet0$_argumentInvocation$0() {
  120911. return this._stylesheet0$_argumentInvocation$2$allowEmptySecondArg$mixin(false, false);
  120912. },
  120913. _stylesheet0$_argumentInvocation$1$allowEmptySecondArg(allowEmptySecondArg) {
  120914. return this._stylesheet0$_argumentInvocation$2$allowEmptySecondArg$mixin(allowEmptySecondArg, false);
  120915. },
  120916. _stylesheet0$_argumentInvocation$1$mixin(mixin) {
  120917. return this._stylesheet0$_argumentInvocation$2$allowEmptySecondArg$mixin(false, mixin);
  120918. },
  120919. _stylesheet0$_expression$4$bracketList$consumeNewlines$singleEquals$until(bracketList, consumeNewlines, singleEquals, until) {
  120920. 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,
  120921. _s20_ = "Expected expression.",
  120922. _box_0 = {},
  120923. t1 = until != null;
  120924. if (t1 && until.call$0())
  120925. _this.scanner.error$1(0, _s20_);
  120926. if (bracketList) {
  120927. t2 = _this.scanner;
  120928. beforeBracket = new A._SpanScannerState(t2, t2._string_scanner$_position);
  120929. t2.expectChar$1(91);
  120930. _this.whitespace$1$consumeNewlines(true);
  120931. if (t2.scanChar$1(93)) {
  120932. t1 = A._setArrayType([], type$.JSArray_Expression_2);
  120933. t2 = t2.spanFrom$1(beforeBracket);
  120934. return new A.ListExpression0(A.List_List$unmodifiable(t1, type$.Expression_2), B.ListSeparator_undecided_null_undecided0, true, t2);
  120935. }
  120936. } else
  120937. beforeBracket = null;
  120938. t2 = _this.scanner;
  120939. start = new A._SpanScannerState(t2, t2._string_scanner$_position);
  120940. wasInExpression = _this._stylesheet0$_inExpression;
  120941. wasInParentheses = _this._stylesheet0$_inParentheses;
  120942. _this._stylesheet0$_inExpression = true;
  120943. _box_0.operands_ = _box_0.operators_ = _box_0.spaceExpressions_ = _box_0.commaExpressions_ = null;
  120944. _box_0.allowSlash = true;
  120945. _box_0.singleExpression_ = _this._stylesheet0$_singleExpression$0();
  120946. resetState = new A.StylesheetParser__expression_resetState0(_box_0, _this, start);
  120947. resolveOneOperation = new A.StylesheetParser__expression_resolveOneOperation0(_box_0, _this);
  120948. resolveOperations = new A.StylesheetParser__expression_resolveOperations0(_box_0, resolveOneOperation);
  120949. addSingleExpression = new A.StylesheetParser__expression_addSingleExpression0(_box_0, _this, resetState, resolveOperations);
  120950. addOperator = new A.StylesheetParser__expression_addOperator0(_box_0, _this, resolveOneOperation, addSingleExpression);
  120951. resolveSpaceExpressions = new A.StylesheetParser__expression_resolveSpaceExpressions0(_box_0, _this, resolveOperations);
  120952. for (t3 = !consumeNewlines, t4 = type$.JSArray_Expression_2; true;) {
  120953. _this.whitespace$1$consumeNewlines(!t3 || bracketList);
  120954. if (t1 && until.call$0())
  120955. break;
  120956. _3_0 = t2.peekChar$0();
  120957. if (_3_0 == null)
  120958. break;
  120959. if (40 === _3_0) {
  120960. addSingleExpression.call$1(_this.parentheses$0());
  120961. continue;
  120962. }
  120963. if (91 === _3_0) {
  120964. addSingleExpression.call$1(_this._stylesheet0$_expression$1$bracketList(true));
  120965. continue;
  120966. }
  120967. if (36 === _3_0) {
  120968. addSingleExpression.call$1(_this._stylesheet0$_variable$0());
  120969. continue;
  120970. }
  120971. if (38 === _3_0) {
  120972. addSingleExpression.call$1(_this._stylesheet0$_selector$0());
  120973. continue;
  120974. }
  120975. if (39 === _3_0 || 34 === _3_0) {
  120976. addSingleExpression.call$1(_this.interpolatedString$0());
  120977. continue;
  120978. }
  120979. if (35 === _3_0) {
  120980. addSingleExpression.call$1(_this._stylesheet0$_hashExpression$0());
  120981. continue;
  120982. }
  120983. if (61 === _3_0) {
  120984. t2.readChar$0();
  120985. if (singleEquals && t2.peekChar$0() !== 61)
  120986. addOperator.call$1(B.BinaryOperator_Kyq0);
  120987. else {
  120988. t2.expectChar$1(61);
  120989. addOperator.call$1(B.BinaryOperator_r840);
  120990. }
  120991. continue;
  120992. }
  120993. if (33 === _3_0) {
  120994. $label0$1: {
  120995. _1_0 = t2.peekChar$1(1);
  120996. if (61 === _1_0) {
  120997. t2.readChar$0();
  120998. t2.readChar$0();
  120999. addOperator.call$1(B.BinaryOperator_qGq0);
  121000. break $label0$1;
  121001. }
  121002. t5 = true;
  121003. if (_1_0 != null)
  121004. if (105 !== _1_0)
  121005. if (73 !== _1_0)
  121006. t5 = _1_0 === 32 || _1_0 === 9 || _1_0 === 10 || _1_0 === 13 || _1_0 === 12;
  121007. if (t5) {
  121008. addSingleExpression.call$1(_this._stylesheet0$_importantExpression$0());
  121009. break $label0$1;
  121010. }
  121011. break;
  121012. }
  121013. continue;
  121014. }
  121015. if (60 === _3_0) {
  121016. t2.readChar$0();
  121017. addOperator.call$1(t2.scanChar$1(61) ? B.BinaryOperator_FPG0 : B.BinaryOperator_qHy0);
  121018. continue;
  121019. }
  121020. if (62 === _3_0) {
  121021. t2.readChar$0();
  121022. addOperator.call$1(t2.scanChar$1(61) ? B.BinaryOperator_JiR0 : B.BinaryOperator_o8O0);
  121023. continue;
  121024. }
  121025. if (42 === _3_0) {
  121026. t2.readChar$0();
  121027. addOperator.call$1(B.BinaryOperator_tht0);
  121028. continue;
  121029. }
  121030. _3_28 = 43 === _3_0;
  121031. if (_3_28 && _box_0.singleExpression_ == null) {
  121032. addSingleExpression.call$1(_this._stylesheet0$_unaryOperation$0());
  121033. continue;
  121034. }
  121035. if (_3_28) {
  121036. t2.readChar$0();
  121037. addOperator.call$1(B.BinaryOperator_Swh0);
  121038. continue;
  121039. }
  121040. if (45 === _3_0) {
  121041. _2_0 = t2.peekChar$1(1);
  121042. if (A._isInt(_2_0) && _2_0 >= 48 && _2_0 <= 57 || 46 === _2_0)
  121043. if (_box_0.singleExpression_ != null) {
  121044. t5 = t2.peekChar$1(-1);
  121045. t5 = t5 === 32 || t5 === 9 || t5 === 10 || t5 === 13 || t5 === 12;
  121046. } else
  121047. t5 = true;
  121048. else
  121049. t5 = false;
  121050. if (t5)
  121051. addSingleExpression.call$1(_this._stylesheet0$_number$0());
  121052. else if (_this._stylesheet0$_lookingAtInterpolatedIdentifier$0())
  121053. addSingleExpression.call$1(_this.identifierLike$0());
  121054. else if (_box_0.singleExpression_ == null)
  121055. addSingleExpression.call$1(_this._stylesheet0$_unaryOperation$0());
  121056. else {
  121057. t2.readChar$0();
  121058. addOperator.call$1(B.BinaryOperator_QG10);
  121059. }
  121060. continue;
  121061. }
  121062. _3_32 = 47 === _3_0;
  121063. if (_3_32 && _box_0.singleExpression_ == null) {
  121064. addSingleExpression.call$1(_this._stylesheet0$_unaryOperation$0());
  121065. continue;
  121066. }
  121067. if (_3_32) {
  121068. t2.readChar$0();
  121069. addOperator.call$1(B.BinaryOperator_Mh50);
  121070. continue;
  121071. }
  121072. if (37 === _3_0) {
  121073. t2.readChar$0();
  121074. addOperator.call$1(B.BinaryOperator_s7T0);
  121075. continue;
  121076. }
  121077. if (_3_0 >= 48 && _3_0 <= 57) {
  121078. addSingleExpression.call$1(_this._stylesheet0$_number$0());
  121079. continue;
  121080. }
  121081. _3_40 = 46 === _3_0;
  121082. if (_3_40 && t2.peekChar$1(1) === 46)
  121083. break;
  121084. if (_3_40) {
  121085. addSingleExpression.call$1(_this._stylesheet0$_number$0());
  121086. continue;
  121087. }
  121088. if (97 === _3_0 && !_this.get$plainCss() && _this.scanIdentifier$1("and")) {
  121089. addOperator.call$1(B.BinaryOperator_uke0);
  121090. continue;
  121091. }
  121092. if (111 === _3_0 && !_this.get$plainCss() && _this.scanIdentifier$1("or")) {
  121093. addOperator.call$1(B.BinaryOperator_tKu0);
  121094. continue;
  121095. }
  121096. if ((117 === _3_0 || 85 === _3_0) && t2.peekChar$1(1) === 43) {
  121097. addSingleExpression.call$1(_this._stylesheet0$_unicodeRange$0());
  121098. continue;
  121099. }
  121100. if (!(_3_0 >= 97 && _3_0 <= 122))
  121101. t5 = _3_0 >= 65 && _3_0 <= 90 || 95 === _3_0 || 92 === _3_0 || _3_0 >= 128;
  121102. else
  121103. t5 = true;
  121104. if (t5) {
  121105. addSingleExpression.call$1(_this.identifierLike$0());
  121106. continue;
  121107. }
  121108. if (44 === _3_0) {
  121109. if (_this._stylesheet0$_inParentheses) {
  121110. _this._stylesheet0$_inParentheses = false;
  121111. if (_box_0.allowSlash) {
  121112. resetState.call$0();
  121113. continue;
  121114. }
  121115. }
  121116. commaExpressions = _box_0.commaExpressions_;
  121117. if (commaExpressions == null)
  121118. commaExpressions = _box_0.commaExpressions_ = A._setArrayType([], t4);
  121119. if (_box_0.singleExpression_ == null)
  121120. t2.error$1(0, _s20_);
  121121. resolveSpaceExpressions.call$0();
  121122. t5 = _box_0.singleExpression_;
  121123. t5.toString;
  121124. commaExpressions.push(t5);
  121125. t2.readChar$0();
  121126. _box_0.allowSlash = true;
  121127. _box_0.singleExpression_ = null;
  121128. continue;
  121129. }
  121130. break;
  121131. }
  121132. if (bracketList)
  121133. t2.expectChar$1(93);
  121134. commaExpressions = _box_0.commaExpressions_;
  121135. spaceExpressions = _box_0.spaceExpressions_;
  121136. if (commaExpressions != null) {
  121137. resolveSpaceExpressions.call$0();
  121138. _this._stylesheet0$_inParentheses = wasInParentheses;
  121139. singleExpression = _box_0.singleExpression_;
  121140. if (singleExpression != null)
  121141. commaExpressions.push(singleExpression);
  121142. _this._stylesheet0$_inExpression = wasInExpression;
  121143. t1 = t2.spanFrom$1(beforeBracket == null ? start : beforeBracket);
  121144. return new A.ListExpression0(A.List_List$unmodifiable(commaExpressions, type$.Expression_2), B.ListSeparator_qVN0, bracketList, t1);
  121145. } else if (bracketList && spaceExpressions != null) {
  121146. resolveOperations.call$0();
  121147. _this._stylesheet0$_inExpression = wasInExpression;
  121148. t1 = _box_0.singleExpression_;
  121149. t1.toString;
  121150. spaceExpressions.push(t1);
  121151. beforeBracket.toString;
  121152. t2 = t2.spanFrom$1(beforeBracket);
  121153. return new A.ListExpression0(A.List_List$unmodifiable(spaceExpressions, type$.Expression_2), B.ListSeparator_qSL0, true, t2);
  121154. } else {
  121155. resolveSpaceExpressions.call$0();
  121156. if (bracketList) {
  121157. t1 = _box_0.singleExpression_;
  121158. t1.toString;
  121159. t4 = A._setArrayType([t1], t4);
  121160. beforeBracket.toString;
  121161. t2 = t2.spanFrom$1(beforeBracket);
  121162. _box_0.singleExpression_ = new A.ListExpression0(A.List_List$unmodifiable(t4, type$.Expression_2), B.ListSeparator_undecided_null_undecided0, true, t2);
  121163. }
  121164. _this._stylesheet0$_inExpression = wasInExpression;
  121165. t1 = _box_0.singleExpression_;
  121166. t1.toString;
  121167. return t1;
  121168. }
  121169. },
  121170. _stylesheet0$_expression$3$consumeNewlines$singleEquals$until(consumeNewlines, singleEquals, until) {
  121171. return this._stylesheet0$_expression$4$bracketList$consumeNewlines$singleEquals$until(false, consumeNewlines, singleEquals, until);
  121172. },
  121173. _stylesheet0$_expression$1$bracketList(bracketList) {
  121174. return this._stylesheet0$_expression$4$bracketList$consumeNewlines$singleEquals$until(bracketList, false, false, null);
  121175. },
  121176. _stylesheet0$_expression$1$consumeNewlines(consumeNewlines) {
  121177. return this._stylesheet0$_expression$4$bracketList$consumeNewlines$singleEquals$until(false, consumeNewlines, false, null);
  121178. },
  121179. _stylesheet0$_expression$0() {
  121180. return this._stylesheet0$_expression$4$bracketList$consumeNewlines$singleEquals$until(false, false, false, null);
  121181. },
  121182. _stylesheet0$_expression$2$consumeNewlines$until(consumeNewlines, until) {
  121183. return this._stylesheet0$_expression$4$bracketList$consumeNewlines$singleEquals$until(false, consumeNewlines, false, until);
  121184. },
  121185. expressionUntilComma$1$singleEquals(singleEquals) {
  121186. return this._stylesheet0$_expression$3$consumeNewlines$singleEquals$until(true, singleEquals, new A.StylesheetParser_expressionUntilComma_closure0(this));
  121187. },
  121188. expressionUntilComma$0() {
  121189. return this.expressionUntilComma$1$singleEquals(false);
  121190. },
  121191. _stylesheet0$_isSlashOperand$1(expression) {
  121192. var t1 = true;
  121193. if (!(expression instanceof A.NumberExpression0))
  121194. if (!(expression instanceof A.FunctionExpression0))
  121195. t1 = expression instanceof A.BinaryOperationExpression0 && expression.allowsSlash;
  121196. return t1;
  121197. },
  121198. _stylesheet0$_singleExpression$0() {
  121199. var next, t2, _this = this,
  121200. _s20_ = "Expected expression.",
  121201. t1 = _this.scanner,
  121202. _0_0 = t1.peekChar$0();
  121203. $label0$0: {
  121204. if (_0_0 == null)
  121205. t1.error$1(0, _s20_);
  121206. if (40 === _0_0) {
  121207. t1 = _this.parentheses$0();
  121208. break $label0$0;
  121209. }
  121210. if (47 === _0_0) {
  121211. t1 = _this._stylesheet0$_unaryOperation$0();
  121212. break $label0$0;
  121213. }
  121214. if (46 === _0_0) {
  121215. t1 = _this._stylesheet0$_number$0();
  121216. break $label0$0;
  121217. }
  121218. if (91 === _0_0) {
  121219. t1 = _this._stylesheet0$_expression$1$bracketList(true);
  121220. break $label0$0;
  121221. }
  121222. if (36 === _0_0) {
  121223. t1 = _this._stylesheet0$_variable$0();
  121224. break $label0$0;
  121225. }
  121226. if (38 === _0_0) {
  121227. t1 = _this._stylesheet0$_selector$0();
  121228. break $label0$0;
  121229. }
  121230. if (39 === _0_0 || 34 === _0_0) {
  121231. t1 = _this.interpolatedString$0();
  121232. break $label0$0;
  121233. }
  121234. if (35 === _0_0) {
  121235. t1 = _this._stylesheet0$_hashExpression$0();
  121236. break $label0$0;
  121237. }
  121238. if (43 === _0_0) {
  121239. next = t1.peekChar$1(1);
  121240. t1 = next != null && next >= 48 && next <= 57 || next === 46 ? _this._stylesheet0$_number$0() : _this._stylesheet0$_unaryOperation$0();
  121241. break $label0$0;
  121242. }
  121243. if (45 === _0_0) {
  121244. t1 = _this._stylesheet0$_minusExpression$0();
  121245. break $label0$0;
  121246. }
  121247. if (33 === _0_0) {
  121248. t1 = _this._stylesheet0$_importantExpression$0();
  121249. break $label0$0;
  121250. }
  121251. if (37 === _0_0) {
  121252. t2 = t1._string_scanner$_position;
  121253. t1.readChar$0();
  121254. t2 = t1.spanFrom$1(new A._SpanScannerState(t1, t2));
  121255. t2 = new A.StringExpression0(new A.Interpolation0(A.List_List$unmodifiable(["%"], type$.Object), B.List_null, t2), false);
  121256. t1 = t2;
  121257. break $label0$0;
  121258. }
  121259. if ((117 === _0_0 || 85 === _0_0) && t1.peekChar$1(1) === 43) {
  121260. t1 = _this._stylesheet0$_unicodeRange$0();
  121261. break $label0$0;
  121262. }
  121263. if (_0_0 >= 48 && _0_0 <= 57) {
  121264. t1 = _this._stylesheet0$_number$0();
  121265. break $label0$0;
  121266. }
  121267. if (!(_0_0 >= 97 && _0_0 <= 122))
  121268. t2 = _0_0 >= 65 && _0_0 <= 90 || 95 === _0_0 || 92 === _0_0 || _0_0 >= 128;
  121269. else
  121270. t2 = true;
  121271. if (t2) {
  121272. t1 = _this.identifierLike$0();
  121273. break $label0$0;
  121274. }
  121275. t1 = t1.error$1(0, _s20_);
  121276. }
  121277. return t1;
  121278. },
  121279. parentheses$0() {
  121280. var start, inside, first, expressions, list, t1, t2, _this = this,
  121281. wasInParentheses = _this._stylesheet0$_inParentheses;
  121282. _this._stylesheet0$_inParentheses = true;
  121283. try {
  121284. t1 = _this.scanner;
  121285. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  121286. t1.expectChar$1(40);
  121287. _this.whitespace$1$consumeNewlines(true);
  121288. inside = new A._SpanScannerState(t1, t1._string_scanner$_position);
  121289. if (!_this._stylesheet0$_lookingAtExpression$0()) {
  121290. t1.expectChar$1(41);
  121291. t2 = A._setArrayType([], type$.JSArray_Expression_2);
  121292. t1 = t1.spanFrom$1(start);
  121293. t2 = A.List_List$unmodifiable(t2, type$.Expression_2);
  121294. return new A.ListExpression0(t2, B.ListSeparator_undecided_null_undecided0, false, t1);
  121295. }
  121296. first = _this.expressionUntilComma$0();
  121297. if (t1.scanChar$1(58)) {
  121298. _this.whitespace$1$consumeNewlines(true);
  121299. t1 = _this._stylesheet0$_map$2(first, start);
  121300. return t1;
  121301. }
  121302. if (!t1.scanChar$1(44)) {
  121303. t1.expectChar$1(41);
  121304. t1 = t1.spanFrom$1(start);
  121305. return new A.ParenthesizedExpression0(first, t1);
  121306. }
  121307. _this.whitespace$1$consumeNewlines(true);
  121308. expressions = A._setArrayType([first], type$.JSArray_Expression_2);
  121309. for (; true;) {
  121310. if (!_this._stylesheet0$_lookingAtExpression$0())
  121311. break;
  121312. J.add$1$ax(expressions, _this.expressionUntilComma$0());
  121313. if (!t1.scanChar$1(44))
  121314. break;
  121315. _this.whitespace$1$consumeNewlines(true);
  121316. }
  121317. t2 = t1.spanFrom$1(inside);
  121318. list = new A.ListExpression0(A.List_List$unmodifiable(expressions, type$.Expression_2), B.ListSeparator_qVN0, false, t2);
  121319. t1.expectChar$1(41);
  121320. t1 = t1.spanFrom$1(start);
  121321. return new A.ParenthesizedExpression0(list, t1);
  121322. } finally {
  121323. _this._stylesheet0$_inParentheses = wasInParentheses;
  121324. }
  121325. },
  121326. _stylesheet0$_map$2(first, start) {
  121327. var t1, key, _this = this,
  121328. pairs = A._setArrayType([new A._Record_2(first, _this.expressionUntilComma$0())], type$.JSArray_Record_2_Expression_and_Expression_2);
  121329. for (t1 = _this.scanner; t1.scanChar$1(44);) {
  121330. _this.whitespace$1$consumeNewlines(true);
  121331. if (!_this._stylesheet0$_lookingAtExpression$0())
  121332. break;
  121333. key = _this.expressionUntilComma$0();
  121334. t1.expectChar$1(58);
  121335. _this.whitespace$1$consumeNewlines(true);
  121336. pairs.push(new A._Record_2(key, _this.expressionUntilComma$0()));
  121337. }
  121338. t1.expectChar$1(41);
  121339. t1 = t1.spanFrom$1(start);
  121340. return new A.MapExpression0(A.List_List$unmodifiable(pairs, type$.Record_2_Expression_and_Expression_2), t1);
  121341. },
  121342. _stylesheet0$_hashExpression$0() {
  121343. var start, t2, identifier, buffer, t3, _this = this,
  121344. t1 = _this.scanner;
  121345. if (t1.peekChar$1(1) === 123)
  121346. return _this.identifierLike$0();
  121347. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  121348. t1.expectChar$1(35);
  121349. t2 = t1.peekChar$0();
  121350. if (t2 == null)
  121351. t2 = null;
  121352. else
  121353. t2 = t2 >= 48 && t2 <= 57;
  121354. if (t2 === true)
  121355. return new A.ColorExpression0(_this._stylesheet0$_hexColorContents$1(start), t1.spanFrom$1(start));
  121356. t2 = t1._string_scanner$_position;
  121357. identifier = _this.interpolatedIdentifier$0();
  121358. if (_this._stylesheet0$_isHexColor$1(identifier)) {
  121359. t1.set$state(new A._SpanScannerState(t1, t2));
  121360. return new A.ColorExpression0(_this._stylesheet0$_hexColorContents$1(start), t1.spanFrom$1(start));
  121361. }
  121362. t2 = new A.StringBuffer("");
  121363. buffer = new A.InterpolationBuffer0(t2, A._setArrayType([], type$.JSArray_Object), A._setArrayType([], type$.JSArray_nullable_FileSpan));
  121364. t3 = A.Primitives_stringFromCharCode(35);
  121365. t2._contents += t3;
  121366. buffer.addInterpolation$1(identifier);
  121367. return new A.StringExpression0(buffer.interpolation$1(t1.spanFrom$1(start)), false);
  121368. },
  121369. _stylesheet0$_hexColorContents$1(start) {
  121370. var red, green, blue, alpha, digit4, t2, t3, t4, _this = this,
  121371. digit1 = _this._stylesheet0$_hexDigit$0(),
  121372. digit2 = _this._stylesheet0$_hexDigit$0(),
  121373. digit3 = _this._stylesheet0$_hexDigit$0(),
  121374. t1 = _this.scanner,
  121375. $self = t1.peekChar$0();
  121376. if (!($self != null && A.CharacterExtension_get_isHex0($self))) {
  121377. red = (digit1 << 4 >>> 0) + digit1;
  121378. green = (digit2 << 4 >>> 0) + digit2;
  121379. blue = (digit3 << 4 >>> 0) + digit3;
  121380. alpha = null;
  121381. } else {
  121382. digit4 = _this._stylesheet0$_hexDigit$0();
  121383. $self = t1.peekChar$0();
  121384. t2 = $self != null && A.CharacterExtension_get_isHex0($self);
  121385. t3 = digit1 << 4 >>> 0;
  121386. t4 = digit3 << 4 >>> 0;
  121387. if (!t2) {
  121388. red = t3 + digit1;
  121389. green = (digit2 << 4 >>> 0) + digit2;
  121390. blue = t4 + digit3;
  121391. alpha = ((digit4 << 4 >>> 0) + digit4) / 255;
  121392. } else {
  121393. red = t3 + digit2;
  121394. green = t4 + digit4;
  121395. blue = (_this._stylesheet0$_hexDigit$0() << 4 >>> 0) + _this._stylesheet0$_hexDigit$0();
  121396. $self = t1.peekChar$0();
  121397. alpha = $self != null && A.CharacterExtension_get_isHex0($self) ? ((_this._stylesheet0$_hexDigit$0() << 4 >>> 0) + _this._stylesheet0$_hexDigit$0()) / 255 : null;
  121398. }
  121399. }
  121400. t2 = alpha == null;
  121401. t3 = t2 ? 1 : alpha;
  121402. return A.SassColor_SassColor$rgbInternal0(red, green, blue, t3, t2 ? new A.SpanColorFormat0(t1.spanFrom$1(start)) : null);
  121403. },
  121404. _stylesheet0$_isHexColor$1(interpolation) {
  121405. var _0_2, t1,
  121406. plain = interpolation.get$asPlain();
  121407. if (typeof plain == "string") {
  121408. _0_2 = plain.length;
  121409. t1 = true;
  121410. if (3 !== _0_2)
  121411. if (4 !== _0_2)
  121412. if (6 !== _0_2)
  121413. t1 = 8 === _0_2;
  121414. } else
  121415. t1 = false;
  121416. if (t1) {
  121417. t1 = new A.CodeUnits(plain);
  121418. return t1.every$1(t1, new A.StylesheetParser__isHexColor_closure0());
  121419. } else
  121420. return false;
  121421. },
  121422. _stylesheet0$_hexDigit$0() {
  121423. var t1 = this.scanner,
  121424. t2 = t1.peekChar$0();
  121425. t2 = t2 == null ? null : A.CharacterExtension_get_isHex0(t2);
  121426. return t2 === true ? A.asHex0(t1.readChar$0()) : t1.error$1(0, "Expected hex digit.");
  121427. },
  121428. _stylesheet0$_minusExpression$0() {
  121429. var _this = this,
  121430. _0_0 = _this.scanner.peekChar$1(1);
  121431. if (A._isInt(_0_0) && _0_0 >= 48 && _0_0 <= 57 || 46 === _0_0)
  121432. return _this._stylesheet0$_number$0();
  121433. if (_this._stylesheet0$_lookingAtInterpolatedIdentifier$0())
  121434. return _this.identifierLike$0();
  121435. return _this._stylesheet0$_unaryOperation$0();
  121436. },
  121437. _stylesheet0$_importantExpression$0() {
  121438. var t1 = this.scanner,
  121439. t2 = t1._string_scanner$_position;
  121440. t1.readChar$0();
  121441. this.whitespace$1$consumeNewlines(true);
  121442. this.expectIdentifier$1("important");
  121443. t2 = t1.spanFrom$1(new A._SpanScannerState(t1, t2));
  121444. return new A.StringExpression0(new A.Interpolation0(A.List_List$unmodifiable(["!important"], type$.Object), B.List_null, t2), false);
  121445. },
  121446. _stylesheet0$_unaryOperation$0() {
  121447. var _this = this,
  121448. t1 = _this.scanner,
  121449. t2 = t1._string_scanner$_position,
  121450. operator = _this._stylesheet0$_unaryOperatorFor$1(t1.readChar$0());
  121451. if (operator == null)
  121452. t1.error$2$position(0, "Expected unary operator.", t1._string_scanner$_position - 1);
  121453. else if (_this.get$plainCss() && operator !== B.UnaryOperator_lZV0)
  121454. t1.error$3$length$position(0, "Operators aren't allowed in plain CSS.", 1, t1._string_scanner$_position - 1);
  121455. _this.whitespace$1$consumeNewlines(true);
  121456. return new A.UnaryOperationExpression0(operator, _this._stylesheet0$_singleExpression$0(), t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
  121457. },
  121458. _stylesheet0$_unaryOperatorFor$1(character) {
  121459. var t1;
  121460. $label0$0: {
  121461. if (43 === character) {
  121462. t1 = B.UnaryOperator_Rbl0;
  121463. break $label0$0;
  121464. }
  121465. if (45 === character) {
  121466. t1 = B.UnaryOperator_UCP0;
  121467. break $label0$0;
  121468. }
  121469. if (47 === character) {
  121470. t1 = B.UnaryOperator_lZV0;
  121471. break $label0$0;
  121472. }
  121473. t1 = null;
  121474. break $label0$0;
  121475. }
  121476. return t1;
  121477. },
  121478. _stylesheet0$_number$0() {
  121479. var number, unit, _this = this,
  121480. t1 = _this.scanner,
  121481. t2 = t1._string_scanner$_position,
  121482. first = t1.peekChar$0(),
  121483. t3 = first !== 43;
  121484. if (!t3 || first === 45)
  121485. t1.readChar$0();
  121486. if (t1.peekChar$0() !== 46)
  121487. _this._stylesheet0$_consumeNaturalNumber$0();
  121488. _this._stylesheet0$_tryDecimal$1$allowTrailingDot(t1._string_scanner$_position !== t2 && t3 && first !== 45);
  121489. _this._stylesheet0$_tryExponent$0();
  121490. number = A.double_parse(t1.substring$1(0, t2));
  121491. if (t1.scanChar$1(37))
  121492. unit = "%";
  121493. else {
  121494. if (_this.lookingAtIdentifier$0())
  121495. t3 = t1.peekChar$0() !== 45 || t1.peekChar$1(1) !== 45;
  121496. else
  121497. t3 = false;
  121498. unit = t3 ? _this.identifier$1$unit(true) : null;
  121499. }
  121500. return new A.NumberExpression0(number, unit, t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
  121501. },
  121502. _stylesheet0$_consumeNaturalNumber$0() {
  121503. var $self,
  121504. t1 = this.scanner,
  121505. t2 = t1.readChar$0();
  121506. if (!(t2 >= 48 && t2 <= 57))
  121507. t1.error$2$position(0, "Expected digit.", t1._string_scanner$_position - 1);
  121508. while (true) {
  121509. $self = t1.peekChar$0();
  121510. if (!($self != null && $self >= 48 && $self <= 57))
  121511. break;
  121512. t1.readChar$0();
  121513. }
  121514. },
  121515. _stylesheet0$_tryDecimal$1$allowTrailingDot(allowTrailingDot) {
  121516. var $self,
  121517. t1 = this.scanner;
  121518. if (t1.peekChar$0() !== 46)
  121519. return;
  121520. $self = t1.peekChar$1(1);
  121521. if (!($self != null && $self >= 48 && $self <= 57)) {
  121522. if (allowTrailingDot)
  121523. return;
  121524. t1.error$2$position(0, "Expected digit.", t1._string_scanner$_position + 1);
  121525. }
  121526. t1.readChar$0();
  121527. while (true) {
  121528. $self = t1.peekChar$0();
  121529. if (!($self != null && $self >= 48 && $self <= 57))
  121530. break;
  121531. t1.readChar$0();
  121532. }
  121533. },
  121534. _stylesheet0$_tryExponent$0() {
  121535. var next, $self,
  121536. t1 = this.scanner,
  121537. first = t1.peekChar$0();
  121538. if (first !== 101 && first !== 69)
  121539. return;
  121540. next = t1.peekChar$1(1);
  121541. if (!(next != null && next >= 48 && next <= 57) && next !== 45 && next !== 43)
  121542. return;
  121543. t1.readChar$0();
  121544. if (43 === next || 45 === next)
  121545. t1.readChar$0();
  121546. $self = t1.peekChar$0();
  121547. if (!($self != null && $self >= 48 && $self <= 57))
  121548. t1.error$1(0, "Expected digit.");
  121549. while (true) {
  121550. $self = t1.peekChar$0();
  121551. if (!($self != null && $self >= 48 && $self <= 57))
  121552. break;
  121553. t1.readChar$0();
  121554. }
  121555. },
  121556. _stylesheet0$_unicodeRange$0() {
  121557. var firstRangeLength, hasQuestionMark, t2, secondRangeLength, _this = this,
  121558. _s26_ = "Expected at most 6 digits.",
  121559. t1 = _this.scanner,
  121560. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  121561. _this.expectIdentChar$1(117);
  121562. t1.expectChar$1(43);
  121563. for (firstRangeLength = 0; _this.scanCharIf$1(new A.StylesheetParser__unicodeRange_closure1());)
  121564. ++firstRangeLength;
  121565. for (hasQuestionMark = false; t1.scanChar$1(63); hasQuestionMark = true)
  121566. ++firstRangeLength;
  121567. if (firstRangeLength === 0)
  121568. t1.error$1(0, 'Expected hex digit or "?".');
  121569. else if (firstRangeLength > 6)
  121570. _this.error$2(0, _s26_, t1.spanFrom$1(start));
  121571. else if (hasQuestionMark) {
  121572. t2 = t1.substring$1(0, start.position);
  121573. t1 = t1.spanFrom$1(start);
  121574. return new A.StringExpression0(new A.Interpolation0(A.List_List$unmodifiable([t2], type$.Object), B.List_null, t1), false);
  121575. }
  121576. if (t1.scanChar$1(45)) {
  121577. t2 = t1._string_scanner$_position;
  121578. for (secondRangeLength = 0; _this.scanCharIf$1(new A.StylesheetParser__unicodeRange_closure2());)
  121579. ++secondRangeLength;
  121580. if (secondRangeLength === 0)
  121581. t1.error$1(0, "Expected hex digit.");
  121582. else if (secondRangeLength > 6)
  121583. _this.error$2(0, _s26_, t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
  121584. }
  121585. if (_this._stylesheet0$_lookingAtInterpolatedIdentifierBody$0())
  121586. t1.error$1(0, "Expected end of identifier.");
  121587. t2 = t1.substring$1(0, start.position);
  121588. t1 = t1.spanFrom$1(start);
  121589. return new A.StringExpression0(new A.Interpolation0(A.List_List$unmodifiable([t2], type$.Object), B.List_null, t1), false);
  121590. },
  121591. _stylesheet0$_variable$0() {
  121592. var _this = this,
  121593. t1 = _this.scanner,
  121594. start = new A._SpanScannerState(t1, t1._string_scanner$_position),
  121595. $name = _this.variableName$0();
  121596. if (_this.get$plainCss())
  121597. _this.error$2(0, string$.Sassx20v, t1.spanFrom$1(start));
  121598. return new A.VariableExpression0(null, $name, t1.spanFrom$1(start));
  121599. },
  121600. _stylesheet0$_selector$0() {
  121601. var t1, start, _this = this;
  121602. if (_this.get$plainCss())
  121603. _this.scanner.error$2$length(0, string$.The_pa, 1);
  121604. t1 = _this.scanner;
  121605. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  121606. t1.expectChar$1(38);
  121607. if (t1.scanChar$1(38)) {
  121608. _this.warnings.push(new A._Record_3_deprecation_message_span(null, string$.In_Sas, t1.spanFrom$1(start)));
  121609. t1.set$position(t1._string_scanner$_position - 1);
  121610. }
  121611. return new A.SelectorExpression0(t1.spanFrom$1(start));
  121612. },
  121613. interpolatedString$0() {
  121614. var t3, t4, t5, buffer, _1_0, second, t6, _0_0,
  121615. t1 = this.scanner,
  121616. t2 = t1._string_scanner$_position,
  121617. quote = t1.readChar$0();
  121618. if (quote !== 39 && quote !== 34)
  121619. t1.error$2$position(0, "Expected string.", t2);
  121620. t3 = new A.StringBuffer("");
  121621. t4 = A._setArrayType([], type$.JSArray_Object);
  121622. t5 = A._setArrayType([], type$.JSArray_nullable_FileSpan);
  121623. buffer = new A.InterpolationBuffer0(t3, t4, t5);
  121624. for (; true;) {
  121625. _1_0 = t1.peekChar$0();
  121626. if (_1_0 === quote) {
  121627. t1.readChar$0();
  121628. break;
  121629. }
  121630. if (_1_0 == null || _1_0 === 10 || _1_0 === 13 || _1_0 === 12)
  121631. t1.error$1(0, "Expected " + A.Primitives_stringFromCharCode(quote) + ".");
  121632. if (92 === _1_0) {
  121633. second = t1.peekChar$1(1);
  121634. if (second === 10 || second === 13 || second === 12) {
  121635. t1.readChar$0();
  121636. t1.readChar$0();
  121637. if (second === 13)
  121638. t1.scanChar$1(10);
  121639. } else {
  121640. t6 = A.Primitives_stringFromCharCode(A.consumeEscapedCharacter0(t1));
  121641. t3._contents += t6;
  121642. }
  121643. continue;
  121644. }
  121645. if (35 === _1_0 && t1.peekChar$1(1) === 123) {
  121646. _0_0 = this.singleInterpolation$0();
  121647. buffer._interpolation_buffer0$_flushText$0();
  121648. t4.push(_0_0._0);
  121649. t5.push(_0_0._1);
  121650. continue;
  121651. }
  121652. t6 = A.Primitives_stringFromCharCode(t1.readChar$0());
  121653. t3._contents += t6;
  121654. }
  121655. return new A.StringExpression0(buffer.interpolation$1(t1.spanFrom$1(new A._SpanScannerState(t1, t2))), true);
  121656. },
  121657. identifierLike$0() {
  121658. var invocation, expression, _0_0, t3, t4, t5, _1_0, _2_0, _2_2, _2_4, _this = this,
  121659. t1 = _this.scanner,
  121660. start = new A._SpanScannerState(t1, t1._string_scanner$_position),
  121661. identifier = _this.interpolatedIdentifier$0(),
  121662. plain = identifier.get$asPlain(),
  121663. lower = A._Cell$(),
  121664. t2 = plain != null;
  121665. if (t2) {
  121666. if (plain === "if" && t1.peekChar$0() === 40) {
  121667. invocation = _this._stylesheet0$_argumentInvocation$0();
  121668. return new A.IfExpression0(invocation, identifier.span.expand$1(0, invocation.span));
  121669. } else if (plain === "not") {
  121670. _this.whitespace$1$consumeNewlines(true);
  121671. expression = _this._stylesheet0$_singleExpression$0();
  121672. return new A.UnaryOperationExpression0(B.UnaryOperator_not_not_not0, expression, identifier.span.expand$1(0, expression.get$span(expression)));
  121673. }
  121674. lower.__late_helper$_value = plain.toLowerCase();
  121675. if (t1.peekChar$0() !== 40) {
  121676. switch (plain) {
  121677. case "false":
  121678. return new A.BooleanExpression0(false, identifier.span);
  121679. case "null":
  121680. return new A.NullExpression0(identifier.span);
  121681. case "true":
  121682. return new A.BooleanExpression0(true, identifier.span);
  121683. }
  121684. _0_0 = $.$get$colorsByName0().$index(0, lower._readLocal$0());
  121685. if (_0_0 != null) {
  121686. t1 = B.JSNumber_methods.round$0(_0_0._color0$_legacyChannel$2(B.RgbColorSpace_i0P0, "red"));
  121687. t2 = B.JSNumber_methods.round$0(_0_0._color0$_legacyChannel$2(B.RgbColorSpace_i0P0, "green"));
  121688. t3 = B.JSNumber_methods.round$0(_0_0._color0$_legacyChannel$2(B.RgbColorSpace_i0P0, "blue"));
  121689. t4 = _0_0.alphaOrNull;
  121690. if (t4 == null)
  121691. t4 = 0;
  121692. t5 = identifier.span;
  121693. return new A.ColorExpression0(A.SassColor_SassColor$rgbInternal0(t1, t2, t3, t4, new A.SpanColorFormat0(t5)), t5);
  121694. }
  121695. }
  121696. _1_0 = _this.trySpecialFunction$2(lower._readLocal$0(), start);
  121697. if (_1_0 != null)
  121698. return _1_0;
  121699. }
  121700. _2_0 = t1.peekChar$0();
  121701. _2_2 = 46 === _2_0;
  121702. if (_2_2 && t1.peekChar$1(1) === 46)
  121703. return new A.StringExpression0(identifier, false);
  121704. if (_2_2) {
  121705. t1.readChar$0();
  121706. if (t2)
  121707. return _this.namespacedExpression$2(plain, start);
  121708. _this.error$2(0, string$.Interpn, identifier.span);
  121709. }
  121710. _2_4 = 40 === _2_0;
  121711. if (_2_4 && t2) {
  121712. t2 = _this._stylesheet0$_argumentInvocation$1$allowEmptySecondArg(J.$eq$(lower._readLocal$0(), "var"));
  121713. t1 = t1.spanFrom$1(start);
  121714. return new A.FunctionExpression0(null, A.stringReplaceAllUnchecked(plain, "_", "-"), plain, t2, t1);
  121715. }
  121716. if (_2_4)
  121717. return new A.InterpolatedFunctionExpression0(identifier, _this._stylesheet0$_argumentInvocation$0(), t1.spanFrom$1(start));
  121718. return new A.StringExpression0(identifier, false);
  121719. },
  121720. namespacedExpression$2(namespace, start) {
  121721. var $name, t2, t3, _this = this,
  121722. t1 = _this.scanner;
  121723. if (t1.peekChar$0() === 36) {
  121724. $name = _this.variableName$0();
  121725. _this._stylesheet0$_assertPublic$2($name, new A.StylesheetParser_namespacedExpression_closure0(_this, start));
  121726. return new A.VariableExpression0(namespace, $name, t1.spanFrom$1(start));
  121727. }
  121728. t2 = _this._stylesheet0$_publicIdentifier$0();
  121729. t3 = _this._stylesheet0$_argumentInvocation$0();
  121730. t1 = t1.spanFrom$1(start);
  121731. return new A.FunctionExpression0(namespace, A.stringReplaceAllUnchecked(t2, "_", "-"), t2, t3, t1);
  121732. },
  121733. trySpecialFunction$2($name, start) {
  121734. var t1, buffer, t2, next, t3, _this = this,
  121735. normalized = A.unvendor0($name);
  121736. $label0$0: {
  121737. if (!("calc" === normalized && normalized !== $name && _this.scanner.scanChar$1(40)))
  121738. t1 = ("element" === normalized || "expression" === normalized) && _this.scanner.scanChar$1(40);
  121739. else
  121740. t1 = true;
  121741. if (t1) {
  121742. t1 = new A.StringBuffer("");
  121743. buffer = new A.InterpolationBuffer0(t1, A._setArrayType([], type$.JSArray_Object), A._setArrayType([], type$.JSArray_nullable_FileSpan));
  121744. t1._contents = "" + $name;
  121745. t2 = A.Primitives_stringFromCharCode(40);
  121746. t1._contents += t2;
  121747. break $label0$0;
  121748. }
  121749. if ("progid" === normalized && _this.scanner.scanChar$1(58)) {
  121750. t1 = new A.StringBuffer("");
  121751. buffer = new A.InterpolationBuffer0(t1, A._setArrayType([], type$.JSArray_Object), A._setArrayType([], type$.JSArray_nullable_FileSpan));
  121752. t1._contents = "" + $name;
  121753. t2 = A.Primitives_stringFromCharCode(58);
  121754. t1._contents += t2;
  121755. t2 = _this.scanner;
  121756. next = t2.peekChar$0();
  121757. while (true) {
  121758. if (next != null) {
  121759. if (!(next >= 97 && next <= 122))
  121760. t3 = next >= 65 && next <= 90;
  121761. else
  121762. t3 = true;
  121763. t3 = t3 || next === 46;
  121764. } else
  121765. t3 = false;
  121766. if (!t3)
  121767. break;
  121768. t3 = A.Primitives_stringFromCharCode(t2.readChar$0());
  121769. t1._contents += t3;
  121770. next = t2.peekChar$0();
  121771. }
  121772. t2.expectChar$1(40);
  121773. t2 = A.Primitives_stringFromCharCode(40);
  121774. t1._contents += t2;
  121775. break $label0$0;
  121776. }
  121777. if ("url" === normalized)
  121778. return A.NullableExtension_andThen0(_this._stylesheet0$_tryUrlContents$1(start), new A.StylesheetParser_trySpecialFunction_closure0());
  121779. return null;
  121780. }
  121781. buffer.addInterpolation$1(_this._stylesheet0$_interpolatedDeclarationValue$1$allowEmpty(true));
  121782. t1 = _this.scanner;
  121783. t1.expectChar$1(41);
  121784. t2 = buffer._interpolation_buffer0$_text;
  121785. t3 = A.Primitives_stringFromCharCode(41);
  121786. t2._contents += t3;
  121787. return new A.StringExpression0(buffer.interpolation$1(t1.spanFrom$1(start)), false);
  121788. },
  121789. _stylesheet0$_tryUrlContents$2$name(start, $name) {
  121790. var t3, t4, t5, buffer, t6, _1_0, _1_6, _0_0, endPosition, _this = this,
  121791. t1 = _this.scanner,
  121792. t2 = t1._string_scanner$_position;
  121793. if (!t1.scanChar$1(40))
  121794. return null;
  121795. _this.whitespaceWithoutComments$1$consumeNewlines(true);
  121796. t3 = new A.StringBuffer("");
  121797. t4 = A._setArrayType([], type$.JSArray_Object);
  121798. t5 = A._setArrayType([], type$.JSArray_nullable_FileSpan);
  121799. buffer = new A.InterpolationBuffer0(t3, t4, t5);
  121800. t3._contents = "" + ($name == null ? "url" : $name);
  121801. t6 = A.Primitives_stringFromCharCode(40);
  121802. t3._contents += t6;
  121803. for (; true;) {
  121804. _1_0 = t1.peekChar$0();
  121805. if (_1_0 == null)
  121806. break;
  121807. if (92 === _1_0) {
  121808. t6 = _this.escape$0();
  121809. t3._contents += t6;
  121810. continue;
  121811. }
  121812. _1_6 = 35 === _1_0;
  121813. if (_1_6 && t1.peekChar$1(1) === 123) {
  121814. _0_0 = _this.singleInterpolation$0();
  121815. buffer._interpolation_buffer0$_flushText$0();
  121816. t4.push(_0_0._0);
  121817. t5.push(_0_0._1);
  121818. continue;
  121819. }
  121820. t6 = true;
  121821. if (33 !== _1_0)
  121822. if (37 !== _1_0)
  121823. if (38 !== _1_0)
  121824. if (!_1_6)
  121825. t6 = _1_0 >= 42 && _1_0 <= 126 || _1_0 >= 128;
  121826. if (t6) {
  121827. t6 = A.Primitives_stringFromCharCode(t1.readChar$0());
  121828. t3._contents += t6;
  121829. continue;
  121830. }
  121831. if (_1_0 === 32 || _1_0 === 9 || _1_0 === 10 || _1_0 === 13 || _1_0 === 12) {
  121832. _this.whitespaceWithoutComments$1$consumeNewlines(true);
  121833. if (t1.peekChar$0() !== 41)
  121834. break;
  121835. continue;
  121836. }
  121837. if (41 === _1_0) {
  121838. t2 = A.Primitives_stringFromCharCode(t1.readChar$0());
  121839. t3._contents += t2;
  121840. endPosition = t1._string_scanner$_position;
  121841. t2 = t1._sourceFile;
  121842. t3 = start.position;
  121843. t1 = new A._FileSpan(t2, t3, endPosition);
  121844. t1._FileSpan$3(t2, t3, endPosition);
  121845. return buffer.interpolation$1(t1);
  121846. }
  121847. break;
  121848. }
  121849. t1.set$state(new A._SpanScannerState(t1, t2));
  121850. return null;
  121851. },
  121852. _stylesheet0$_tryUrlContents$1(start) {
  121853. return this._stylesheet0$_tryUrlContents$2$name(start, null);
  121854. },
  121855. dynamicUrl$0() {
  121856. var _0_0, t2, _this = this,
  121857. t1 = _this.scanner,
  121858. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  121859. _this.expectIdentifier$1("url");
  121860. _0_0 = _this._stylesheet0$_tryUrlContents$1(start);
  121861. if (_0_0 != null)
  121862. return new A.StringExpression0(_0_0, false);
  121863. t2 = t1.spanFrom$1(start);
  121864. 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));
  121865. },
  121866. almostAnyValue$1$omitComments(omitComments) {
  121867. var t4, t5, t6, t7, _2_0, t8, _0_0, _0_2, start, end, _0_4, identifier, _1_0, bracket, char, _this = this,
  121868. t1 = _this.scanner,
  121869. t2 = t1._string_scanner$_position,
  121870. t3 = new A.StringBuffer(""),
  121871. buffer = new A.InterpolationBuffer0(t3, A._setArrayType([], type$.JSArray_Object), A._setArrayType([], type$.JSArray_nullable_FileSpan)),
  121872. brackets = A._setArrayType([], type$.JSArray_int);
  121873. for (t4 = t1.string, t5 = t4.length, t6 = !omitComments, t7 = _this.get$loudComment(); true;)
  121874. $label0$0: {
  121875. _2_0 = t1.peekChar$0();
  121876. if (92 === _2_0) {
  121877. t8 = A.Primitives_stringFromCharCode(t1.readChar$0());
  121878. t3._contents += t8;
  121879. t8 = A.Primitives_stringFromCharCode(t1.readChar$0());
  121880. t3._contents += t8;
  121881. break $label0$0;
  121882. }
  121883. if (34 === _2_0 || 39 === _2_0) {
  121884. buffer.addInterpolation$1(_this.interpolatedString$0().asInterpolation$0());
  121885. break $label0$0;
  121886. }
  121887. if (47 === _2_0) {
  121888. $label1$1: {
  121889. _0_0 = t1.peekChar$1(1);
  121890. _0_2 = 42 === _0_0;
  121891. if (_0_2 && t6) {
  121892. start = t1._string_scanner$_position;
  121893. t7.call$0();
  121894. end = t1._string_scanner$_position;
  121895. t3._contents += B.JSString_methods.substring$2(t4, start, end);
  121896. break $label1$1;
  121897. }
  121898. if (_0_2) {
  121899. _this.loudComment$0();
  121900. break $label1$1;
  121901. }
  121902. _0_4 = 47 === _0_0;
  121903. if (_0_4 && t6) {
  121904. t8 = _this.get$silentComment();
  121905. start = t1._string_scanner$_position;
  121906. t8.call$0();
  121907. end = t1._string_scanner$_position;
  121908. t3._contents += B.JSString_methods.substring$2(t4, start, end);
  121909. break $label1$1;
  121910. }
  121911. if (_0_4) {
  121912. _this.silentComment$0();
  121913. break $label1$1;
  121914. }
  121915. t8 = A.Primitives_stringFromCharCode(t1.readChar$0());
  121916. t3._contents += t8;
  121917. }
  121918. break $label0$0;
  121919. }
  121920. if (35 === _2_0 && t1.peekChar$1(1) === 123) {
  121921. buffer.addInterpolation$1(_this.interpolatedIdentifier$0());
  121922. break $label0$0;
  121923. }
  121924. if (13 === _2_0 || 10 === _2_0 || 12 === _2_0) {
  121925. if (_this.get$indented() && brackets.length === 0)
  121926. break;
  121927. t8 = A.Primitives_stringFromCharCode(t1.readChar$0());
  121928. t3._contents += t8;
  121929. break $label0$0;
  121930. }
  121931. if (33 === _2_0 || 59 === _2_0 || 123 === _2_0 || 125 === _2_0)
  121932. break;
  121933. if (117 === _2_0 || 85 === _2_0) {
  121934. t8 = t1._string_scanner$_position;
  121935. identifier = _this.identifier$0();
  121936. if (identifier !== "url" && identifier !== "url-prefix") {
  121937. t3._contents += identifier;
  121938. continue;
  121939. }
  121940. _1_0 = _this._stylesheet0$_tryUrlContents$2$name(new A._SpanScannerState(t1, t8), identifier);
  121941. if (_1_0 != null)
  121942. buffer.addInterpolation$1(_1_0);
  121943. else {
  121944. if ((t8 === 0 ? 1 / t8 < 0 : t8 < 0) || t8 > t5)
  121945. A.throwExpression(A.ArgumentError$("Invalid position " + t8, null));
  121946. t1._string_scanner$_position = t8;
  121947. t1._lastMatch = null;
  121948. t8 = A.Primitives_stringFromCharCode(t1.readChar$0());
  121949. t3._contents += t8;
  121950. }
  121951. break $label0$0;
  121952. }
  121953. if (40 === _2_0 || 91 === _2_0) {
  121954. bracket = t1.readChar$0();
  121955. t8 = A.Primitives_stringFromCharCode(bracket);
  121956. t3._contents += t8;
  121957. brackets.push(A.opposite0(bracket));
  121958. break $label0$0;
  121959. }
  121960. if (41 === _2_0 || 93 === _2_0) {
  121961. t8 = _2_0 != null;
  121962. char = t8 ? _2_0 : null;
  121963. } else {
  121964. char = null;
  121965. t8 = false;
  121966. }
  121967. if (t8) {
  121968. if (brackets.length === 0)
  121969. t1.error$1(0, 'Unexpected "' + A.Primitives_stringFromCharCode(char) + '".');
  121970. bracket = brackets.pop();
  121971. t1.expectChar$1(bracket);
  121972. t8 = A.Primitives_stringFromCharCode(bracket);
  121973. t3._contents += t8;
  121974. break $label0$0;
  121975. }
  121976. if (_2_0 == null)
  121977. break;
  121978. t8 = _this.lookingAtIdentifier$0();
  121979. if (t8) {
  121980. t8 = _this.identifier$0();
  121981. t3._contents += t8;
  121982. break $label0$0;
  121983. }
  121984. t8 = A.Primitives_stringFromCharCode(t1.readChar$0());
  121985. t3._contents += t8;
  121986. }
  121987. return buffer.interpolation$1(t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
  121988. },
  121989. almostAnyValue$0() {
  121990. return this.almostAnyValue$1$omitComments(false);
  121991. },
  121992. _stylesheet0$_interpolatedDeclarationValue$6$allowColon$allowEmpty$allowOpenBrace$allowSemicolon$consumeNewlines$silentComments(allowColon, allowEmpty, allowOpenBrace, allowSemicolon, consumeNewlines, silentComments) {
  121993. 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,
  121994. t1 = _this.scanner,
  121995. t2 = t1._string_scanner$_position,
  121996. t3 = new A.StringBuffer(""),
  121997. buffer = new A.InterpolationBuffer0(t3, A._setArrayType([], type$.JSArray_Object), A._setArrayType([], type$.JSArray_nullable_FileSpan)),
  121998. brackets = A._setArrayType([], type$.JSArray_int);
  121999. for (t4 = !consumeNewlines, t5 = !allowOpenBrace, t6 = t1.string, t7 = t6.length, t8 = !allowColon, t9 = !allowSemicolon, t10 = _this.get$loudComment(), wroteNewline = false; true;)
  122000. $label0$0: {
  122001. _2_0 = t1.peekChar$0();
  122002. wroteNewline0 = false;
  122003. if (92 === _2_0) {
  122004. t11 = _this.escape$1$identifierStart(true);
  122005. t3._contents += t11;
  122006. wroteNewline = wroteNewline0;
  122007. break $label0$0;
  122008. }
  122009. if (34 === _2_0 || 39 === _2_0) {
  122010. buffer.addInterpolation$1(_this.interpolatedString$0().asInterpolation$0());
  122011. wroteNewline = wroteNewline0;
  122012. break $label0$0;
  122013. }
  122014. if (47 === _2_0) {
  122015. $label1$1: {
  122016. _0_0 = t1.peekChar$1(1);
  122017. if (42 === _0_0) {
  122018. start = t1._string_scanner$_position;
  122019. t10.call$0();
  122020. end = t1._string_scanner$_position;
  122021. t3._contents += B.JSString_methods.substring$2(t6, start, end);
  122022. break $label1$1;
  122023. }
  122024. if (47 === _0_0 && silentComments) {
  122025. _this.silentComment$0();
  122026. break $label1$1;
  122027. }
  122028. t11 = A.Primitives_stringFromCharCode(t1.readChar$0());
  122029. t3._contents += t11;
  122030. }
  122031. wroteNewline = wroteNewline0;
  122032. break $label0$0;
  122033. }
  122034. if (35 === _2_0 && t1.peekChar$1(1) === 123) {
  122035. buffer.addInterpolation$1(_this.interpolatedIdentifier$0());
  122036. wroteNewline = wroteNewline0;
  122037. break $label0$0;
  122038. }
  122039. _2_14_isSet = 32 !== _2_0;
  122040. if (_2_14_isSet) {
  122041. _2_14 = 9 === _2_0;
  122042. t11 = _2_14;
  122043. } else {
  122044. _2_14 = _null;
  122045. t11 = true;
  122046. }
  122047. t12 = false;
  122048. if (t11)
  122049. if (!wroteNewline) {
  122050. t11 = t1.peekChar$1(1);
  122051. t11 = t11 === 32 || t11 === 9 || t11 === 10 || t11 === 13 || t11 === 12;
  122052. } else
  122053. t11 = t12;
  122054. else
  122055. t11 = t12;
  122056. if (t11) {
  122057. t1.readChar$0();
  122058. break $label0$0;
  122059. }
  122060. if (_2_14_isSet)
  122061. t11 = _2_14;
  122062. else
  122063. t11 = true;
  122064. if (t11) {
  122065. t11 = A.Primitives_stringFromCharCode(t1.readChar$0());
  122066. t3._contents += t11;
  122067. break $label0$0;
  122068. }
  122069. _2_18_isSet = 10 !== _2_0;
  122070. _2_20 = _null;
  122071. t11 = true;
  122072. if (_2_18_isSet) {
  122073. _2_18 = 13 === _2_0;
  122074. _2_20_isSet = !_2_18;
  122075. if (_2_20_isSet) {
  122076. _2_20 = 12 === _2_0;
  122077. t11 = _2_20;
  122078. }
  122079. } else {
  122080. _2_18 = _null;
  122081. _2_20_isSet = false;
  122082. }
  122083. if (t11 && _this.get$indented() && t4 && brackets.length === 0)
  122084. break;
  122085. t11 = true;
  122086. if (_2_18_isSet)
  122087. if (!_2_18)
  122088. t11 = _2_20_isSet ? _2_20 : 12 === _2_0;
  122089. if (t11) {
  122090. t11 = t1.peekChar$1(-1);
  122091. if (!(t11 === 10 || t11 === 13 || t11 === 12))
  122092. t3._contents += "\n";
  122093. t1.readChar$0();
  122094. wroteNewline = true;
  122095. break $label0$0;
  122096. }
  122097. _2_22 = 123 === _2_0;
  122098. if (_2_22 && t5)
  122099. break;
  122100. if (40 !== _2_0)
  122101. t11 = _2_22 || 91 === _2_0;
  122102. else
  122103. t11 = true;
  122104. if (t11) {
  122105. bracket = t1.readChar$0();
  122106. t11 = A.Primitives_stringFromCharCode(bracket);
  122107. t3._contents += t11;
  122108. brackets.push(A.opposite0(bracket));
  122109. wroteNewline = wroteNewline0;
  122110. break $label0$0;
  122111. }
  122112. if (41 === _2_0 || 125 === _2_0 || 93 === _2_0) {
  122113. if (brackets.length === 0)
  122114. break;
  122115. bracket = brackets.pop();
  122116. t1.expectChar$1(bracket);
  122117. t11 = A.Primitives_stringFromCharCode(bracket);
  122118. t3._contents += t11;
  122119. wroteNewline = wroteNewline0;
  122120. break $label0$0;
  122121. }
  122122. if (59 === _2_0) {
  122123. if (t9 && brackets.length === 0)
  122124. break;
  122125. t11 = A.Primitives_stringFromCharCode(t1.readChar$0());
  122126. t3._contents += t11;
  122127. wroteNewline = wroteNewline0;
  122128. break $label0$0;
  122129. }
  122130. if (58 === _2_0) {
  122131. if (t8 && brackets.length === 0)
  122132. break;
  122133. t11 = A.Primitives_stringFromCharCode(t1.readChar$0());
  122134. t3._contents += t11;
  122135. wroteNewline = wroteNewline0;
  122136. break $label0$0;
  122137. }
  122138. if (117 === _2_0 || 85 === _2_0) {
  122139. t11 = t1._string_scanner$_position;
  122140. identifier = _this.identifier$0();
  122141. if (identifier !== "url" && identifier !== "url-prefix") {
  122142. t3._contents += identifier;
  122143. wroteNewline = wroteNewline0;
  122144. continue;
  122145. }
  122146. _1_0 = _this._stylesheet0$_tryUrlContents$2$name(new A._SpanScannerState(t1, t11), identifier);
  122147. if (_1_0 != null)
  122148. buffer.addInterpolation$1(_1_0);
  122149. else {
  122150. if ((t11 === 0 ? 1 / t11 < 0 : t11 < 0) || t11 > t7)
  122151. A.throwExpression(A.ArgumentError$("Invalid position " + t11, _null));
  122152. t1._string_scanner$_position = t11;
  122153. t1._lastMatch = null;
  122154. t11 = A.Primitives_stringFromCharCode(t1.readChar$0());
  122155. t3._contents += t11;
  122156. }
  122157. wroteNewline = wroteNewline0;
  122158. break $label0$0;
  122159. }
  122160. if (_2_0 == null)
  122161. break;
  122162. t11 = _this.lookingAtIdentifier$0();
  122163. if (t11) {
  122164. t11 = _this.identifier$0();
  122165. t3._contents += t11;
  122166. wroteNewline = wroteNewline0;
  122167. break $label0$0;
  122168. }
  122169. t11 = A.Primitives_stringFromCharCode(t1.readChar$0());
  122170. t3._contents += t11;
  122171. wroteNewline = wroteNewline0;
  122172. }
  122173. if (brackets.length !== 0)
  122174. t1.expectChar$1(B.JSArray_methods.get$last(brackets));
  122175. if (!allowEmpty && buffer._interpolation_buffer0$_contents.length === 0 && t3._contents.length === 0)
  122176. t1.error$1(0, "Expected token.");
  122177. return buffer.interpolation$1(t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
  122178. },
  122179. _stylesheet0$_interpolatedDeclarationValue$1$allowEmpty(allowEmpty) {
  122180. return this._stylesheet0$_interpolatedDeclarationValue$6$allowColon$allowEmpty$allowOpenBrace$allowSemicolon$consumeNewlines$silentComments(true, allowEmpty, true, false, false, true);
  122181. },
  122182. _stylesheet0$_interpolatedDeclarationValue$1$allowOpenBrace(allowOpenBrace) {
  122183. return this._stylesheet0$_interpolatedDeclarationValue$6$allowColon$allowEmpty$allowOpenBrace$allowSemicolon$consumeNewlines$silentComments(true, false, allowOpenBrace, false, false, true);
  122184. },
  122185. _stylesheet0$_interpolatedDeclarationValue$3$allowEmpty$allowSemicolon$consumeNewlines(allowEmpty, allowSemicolon, consumeNewlines) {
  122186. return this._stylesheet0$_interpolatedDeclarationValue$6$allowColon$allowEmpty$allowOpenBrace$allowSemicolon$consumeNewlines$silentComments(true, allowEmpty, true, allowSemicolon, consumeNewlines, true);
  122187. },
  122188. _stylesheet0$_interpolatedDeclarationValue$4$allowColon$allowEmpty$allowSemicolon$consumeNewlines(allowColon, allowEmpty, allowSemicolon, consumeNewlines) {
  122189. return this._stylesheet0$_interpolatedDeclarationValue$6$allowColon$allowEmpty$allowOpenBrace$allowSemicolon$consumeNewlines$silentComments(allowColon, allowEmpty, true, allowSemicolon, consumeNewlines, true);
  122190. },
  122191. _stylesheet0$_interpolatedDeclarationValue$0() {
  122192. return this._stylesheet0$_interpolatedDeclarationValue$6$allowColon$allowEmpty$allowOpenBrace$allowSemicolon$consumeNewlines$silentComments(true, false, true, false, false, true);
  122193. },
  122194. _stylesheet0$_interpolatedDeclarationValue$2$allowEmpty$allowOpenBrace(allowEmpty, allowOpenBrace) {
  122195. return this._stylesheet0$_interpolatedDeclarationValue$6$allowColon$allowEmpty$allowOpenBrace$allowSemicolon$consumeNewlines$silentComments(true, allowEmpty, allowOpenBrace, false, false, true);
  122196. },
  122197. _stylesheet0$_interpolatedDeclarationValue$1$silentComments(silentComments) {
  122198. return this._stylesheet0$_interpolatedDeclarationValue$6$allowColon$allowEmpty$allowOpenBrace$allowSemicolon$consumeNewlines$silentComments(true, false, true, false, false, silentComments);
  122199. },
  122200. interpolatedIdentifier$0() {
  122201. var t3, _1_0, _0_0, _this = this,
  122202. _s20_ = "Expected identifier.",
  122203. t1 = _this.scanner,
  122204. start = new A._SpanScannerState(t1, t1._string_scanner$_position),
  122205. t2 = new A.StringBuffer(""),
  122206. buffer = new A.InterpolationBuffer0(t2, A._setArrayType([], type$.JSArray_Object), A._setArrayType([], type$.JSArray_nullable_FileSpan));
  122207. if (t1.scanChar$1(45)) {
  122208. t3 = A.Primitives_stringFromCharCode(45);
  122209. t2._contents += t3;
  122210. if (t1.scanChar$1(45)) {
  122211. t3 = A.Primitives_stringFromCharCode(45);
  122212. t2._contents += t3;
  122213. _this._stylesheet0$_interpolatedIdentifierBody$1(buffer);
  122214. return buffer.interpolation$1(t1.spanFrom$1(start));
  122215. }
  122216. }
  122217. $label0$0: {
  122218. _1_0 = t1.peekChar$0();
  122219. if (_1_0 == null)
  122220. t1.error$1(0, _s20_);
  122221. if (_1_0 === 95 || A.CharacterExtension_get_isAlphabetic0(_1_0) || _1_0 >= 128) {
  122222. t3 = A.Primitives_stringFromCharCode(t1.readChar$0());
  122223. t2._contents += t3;
  122224. break $label0$0;
  122225. }
  122226. if (92 === _1_0) {
  122227. t3 = _this.escape$1$identifierStart(true);
  122228. t2._contents += t3;
  122229. break $label0$0;
  122230. }
  122231. if (35 === _1_0 && t1.peekChar$1(1) === 123) {
  122232. _0_0 = _this.singleInterpolation$0();
  122233. buffer.add$2(0, _0_0._0, _0_0._1);
  122234. break $label0$0;
  122235. }
  122236. t1.error$1(0, _s20_);
  122237. }
  122238. _this._stylesheet0$_interpolatedIdentifierBody$1(buffer);
  122239. return buffer.interpolation$1(t1.spanFrom$1(start));
  122240. },
  122241. _stylesheet0$_interpolatedIdentifierBody$1(buffer) {
  122242. var t1, t2, t3, t4, _1_0, t5, _0_0;
  122243. for (t1 = buffer._interpolation_buffer0$_contents, t2 = buffer._interpolation_buffer0$_spans, t3 = this.scanner, t4 = buffer._interpolation_buffer0$_text; true;) {
  122244. _1_0 = t3.peekChar$0();
  122245. if (_1_0 == null)
  122246. break;
  122247. t5 = true;
  122248. if (95 !== _1_0)
  122249. if (45 !== _1_0) {
  122250. if (!(_1_0 >= 97 && _1_0 <= 122))
  122251. t5 = _1_0 >= 65 && _1_0 <= 90;
  122252. else
  122253. t5 = true;
  122254. if (!t5)
  122255. t5 = _1_0 >= 48 && _1_0 <= 57;
  122256. else
  122257. t5 = true;
  122258. t5 = t5 || _1_0 >= 128;
  122259. }
  122260. if (t5) {
  122261. t5 = A.Primitives_stringFromCharCode(t3.readChar$0());
  122262. t4._contents += t5;
  122263. continue;
  122264. }
  122265. if (92 === _1_0) {
  122266. t5 = this.escape$0();
  122267. t4._contents += t5;
  122268. continue;
  122269. }
  122270. if (35 === _1_0 && t3.peekChar$1(1) === 123) {
  122271. _0_0 = this.singleInterpolation$0();
  122272. buffer._interpolation_buffer0$_flushText$0();
  122273. t1.push(_0_0._0);
  122274. t2.push(_0_0._1);
  122275. continue;
  122276. }
  122277. break;
  122278. }
  122279. },
  122280. singleInterpolation$0() {
  122281. var contents, span, _this = this,
  122282. t1 = _this.scanner,
  122283. t2 = t1._string_scanner$_position;
  122284. t1.expect$1("#{");
  122285. _this.whitespace$1$consumeNewlines(true);
  122286. contents = _this._stylesheet0$_expression$1$consumeNewlines(true);
  122287. t1.expectChar$1(125);
  122288. span = t1.spanFrom$1(new A._SpanScannerState(t1, t2));
  122289. if (_this.get$plainCss())
  122290. _this.error$2(0, string$.Interpp, span);
  122291. return new A._Record_2(contents, span);
  122292. },
  122293. _stylesheet0$_mediaQueryList$0() {
  122294. var t4, _this = this,
  122295. t1 = _this.scanner,
  122296. t2 = t1._string_scanner$_position,
  122297. t3 = new A.StringBuffer(""),
  122298. buffer = new A.InterpolationBuffer0(t3, A._setArrayType([], type$.JSArray_Object), A._setArrayType([], type$.JSArray_nullable_FileSpan));
  122299. for (; true;) {
  122300. _this.whitespace$1$consumeNewlines(false);
  122301. _this._stylesheet0$_mediaQuery$1(buffer);
  122302. _this.whitespace$1$consumeNewlines(false);
  122303. if (!t1.scanChar$1(44))
  122304. break;
  122305. t4 = A.Primitives_stringFromCharCode(44);
  122306. t3._contents += t4;
  122307. t4 = A.Primitives_stringFromCharCode(32);
  122308. t3._contents += t4;
  122309. }
  122310. return buffer.interpolation$1(t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
  122311. },
  122312. _stylesheet0$_mediaQuery$1(buffer) {
  122313. var identifier1, t1, t2, identifier2, _this = this, _s3_ = "and";
  122314. if (_this.scanner.peekChar$0() === 40) {
  122315. _this._stylesheet0$_mediaInParens$1(buffer);
  122316. _this.whitespace$1$consumeNewlines(false);
  122317. if (_this.scanIdentifier$1(_s3_)) {
  122318. buffer._interpolation_buffer0$_text._contents += " and ";
  122319. _this.expectWhitespace$0();
  122320. _this._stylesheet0$_mediaLogicSequence$2(buffer, _s3_);
  122321. } else if (_this.scanIdentifier$1("or")) {
  122322. buffer._interpolation_buffer0$_text._contents += " or ";
  122323. _this.expectWhitespace$0();
  122324. _this._stylesheet0$_mediaLogicSequence$2(buffer, "or");
  122325. }
  122326. return;
  122327. }
  122328. identifier1 = _this.interpolatedIdentifier$0();
  122329. if (A.equalsIgnoreCase0(identifier1.get$asPlain(), "not")) {
  122330. _this.expectWhitespace$0();
  122331. if (!_this._stylesheet0$_lookingAtInterpolatedIdentifier$0()) {
  122332. buffer._interpolation_buffer0$_text._contents += "not ";
  122333. _this._stylesheet0$_mediaOrInterp$1(buffer);
  122334. return;
  122335. }
  122336. }
  122337. _this.whitespace$1$consumeNewlines(false);
  122338. buffer.addInterpolation$1(identifier1);
  122339. if (!_this._stylesheet0$_lookingAtInterpolatedIdentifier$0())
  122340. return;
  122341. t1 = buffer._interpolation_buffer0$_text;
  122342. t2 = A.Primitives_stringFromCharCode(32);
  122343. t1._contents += t2;
  122344. identifier2 = _this.interpolatedIdentifier$0();
  122345. if (A.equalsIgnoreCase0(identifier2.get$asPlain(), _s3_)) {
  122346. _this.expectWhitespace$0();
  122347. t1._contents += " and ";
  122348. } else {
  122349. _this.whitespace$1$consumeNewlines(false);
  122350. buffer.addInterpolation$1(identifier2);
  122351. if (_this.scanIdentifier$1(_s3_)) {
  122352. _this.expectWhitespace$0();
  122353. t1._contents += " and ";
  122354. } else
  122355. return;
  122356. }
  122357. if (_this.scanIdentifier$1("not")) {
  122358. _this.expectWhitespace$0();
  122359. t1._contents += "not ";
  122360. _this._stylesheet0$_mediaOrInterp$1(buffer);
  122361. return;
  122362. }
  122363. _this._stylesheet0$_mediaLogicSequence$2(buffer, _s3_);
  122364. return;
  122365. },
  122366. _stylesheet0$_mediaLogicSequence$2(buffer, operator) {
  122367. var t1, t2, _this = this;
  122368. for (t1 = buffer._interpolation_buffer0$_text; true;) {
  122369. _this._stylesheet0$_mediaOrInterp$1(buffer);
  122370. _this.whitespace$1$consumeNewlines(false);
  122371. if (!_this.scanIdentifier$1(operator))
  122372. return;
  122373. _this.expectWhitespace$1$consumeNewlines(false);
  122374. t2 = A.Primitives_stringFromCharCode(32);
  122375. t1._contents = (t1._contents += t2) + operator;
  122376. t2 = A.Primitives_stringFromCharCode(32);
  122377. t1._contents += t2;
  122378. }
  122379. },
  122380. _stylesheet0$_mediaOrInterp$1(buffer) {
  122381. var _0_0;
  122382. if (this.scanner.peekChar$0() === 35) {
  122383. _0_0 = this.singleInterpolation$0();
  122384. buffer.add$2(0, _0_0._0, _0_0._1);
  122385. } else
  122386. this._stylesheet0$_mediaInParens$1(buffer);
  122387. },
  122388. _stylesheet0$_mediaInParens$1(buffer) {
  122389. var t2, t3, expressionBefore, expressionAfter, next, t4, expressionMiddle, _this = this,
  122390. t1 = _this.scanner;
  122391. t1.expectChar$2$name(40, "media condition in parentheses");
  122392. t2 = buffer._interpolation_buffer0$_text;
  122393. t3 = A.Primitives_stringFromCharCode(40);
  122394. t2._contents += t3;
  122395. _this.whitespace$1$consumeNewlines(true);
  122396. if (t1.peekChar$0() === 40) {
  122397. _this._stylesheet0$_mediaInParens$1(buffer);
  122398. _this.whitespace$1$consumeNewlines(true);
  122399. if (_this.scanIdentifier$1("and")) {
  122400. t2._contents += " and ";
  122401. _this.expectWhitespace$1$consumeNewlines(true);
  122402. _this._stylesheet0$_mediaLogicSequence$2(buffer, "and");
  122403. } else if (_this.scanIdentifier$1("or")) {
  122404. t2._contents += " or ";
  122405. _this.expectWhitespace$1$consumeNewlines(true);
  122406. _this._stylesheet0$_mediaLogicSequence$2(buffer, "or");
  122407. }
  122408. } else if (_this.scanIdentifier$1("not")) {
  122409. t2._contents += "not ";
  122410. _this.expectWhitespace$1$consumeNewlines(true);
  122411. _this._stylesheet0$_mediaOrInterp$1(buffer);
  122412. } else {
  122413. expressionBefore = _this._stylesheet0$_expressionUntilComparison$0();
  122414. buffer.add$2(0, expressionBefore, expressionBefore.get$span(expressionBefore));
  122415. if (t1.scanChar$1(58)) {
  122416. _this.whitespace$1$consumeNewlines(true);
  122417. t3 = A.Primitives_stringFromCharCode(58);
  122418. t2._contents += t3;
  122419. t3 = A.Primitives_stringFromCharCode(32);
  122420. t2._contents += t3;
  122421. expressionAfter = _this._stylesheet0$_expression$1$consumeNewlines(true);
  122422. buffer.add$2(0, expressionAfter, expressionAfter.get$span(expressionAfter));
  122423. } else {
  122424. next = t1.peekChar$0();
  122425. t3 = 60 !== next;
  122426. if (!t3 || 62 === next || 61 === next) {
  122427. t4 = A.Primitives_stringFromCharCode(32);
  122428. t2._contents += t4;
  122429. t4 = A.Primitives_stringFromCharCode(t1.readChar$0());
  122430. t2._contents += t4;
  122431. if ((!t3 || 62 === next) && t1.scanChar$1(61)) {
  122432. t4 = A.Primitives_stringFromCharCode(61);
  122433. t2._contents += t4;
  122434. }
  122435. t4 = A.Primitives_stringFromCharCode(32);
  122436. t2._contents += t4;
  122437. _this.whitespace$1$consumeNewlines(true);
  122438. expressionMiddle = _this._stylesheet0$_expressionUntilComparison$0();
  122439. buffer.add$2(0, expressionMiddle, expressionMiddle.get$span(expressionMiddle));
  122440. if (!t3 || 62 === next) {
  122441. next.toString;
  122442. t3 = t1.scanChar$1(next);
  122443. } else
  122444. t3 = false;
  122445. if (t3) {
  122446. t3 = A.Primitives_stringFromCharCode(32);
  122447. t2._contents += t3;
  122448. t3 = A.Primitives_stringFromCharCode(next);
  122449. t2._contents += t3;
  122450. if (t1.scanChar$1(61)) {
  122451. t3 = A.Primitives_stringFromCharCode(61);
  122452. t2._contents += t3;
  122453. }
  122454. t3 = A.Primitives_stringFromCharCode(32);
  122455. t2._contents += t3;
  122456. _this.whitespace$1$consumeNewlines(true);
  122457. expressionAfter = _this._stylesheet0$_expressionUntilComparison$0();
  122458. buffer.add$2(0, expressionAfter, expressionAfter.get$span(expressionAfter));
  122459. }
  122460. }
  122461. }
  122462. }
  122463. t1.expectChar$1(41);
  122464. _this.whitespace$1$consumeNewlines(false);
  122465. t1 = A.Primitives_stringFromCharCode(41);
  122466. t2._contents += t1;
  122467. },
  122468. _stylesheet0$_expressionUntilComparison$0() {
  122469. return this._stylesheet0$_expression$2$consumeNewlines$until(true, new A.StylesheetParser__expressionUntilComparison_closure0(this));
  122470. },
  122471. _stylesheet0$_supportsCondition$1$inParentheses(inParentheses) {
  122472. var condition, operator, right, endPosition, t3, t4, lowerOperator, _this = this,
  122473. t1 = _this.scanner,
  122474. t2 = t1._string_scanner$_position;
  122475. if (_this.scanIdentifier$1("not")) {
  122476. _this.whitespace$1$consumeNewlines(inParentheses);
  122477. return new A.SupportsNegation0(_this._stylesheet0$_supportsConditionInParens$0(), t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
  122478. }
  122479. condition = _this._stylesheet0$_supportsConditionInParens$0();
  122480. _this.whitespace$1$consumeNewlines(inParentheses);
  122481. for (operator = null; _this.lookingAtIdentifier$0();) {
  122482. if (operator != null)
  122483. _this.expectIdentifier$1(operator);
  122484. else if (_this.scanIdentifier$1("or"))
  122485. operator = "or";
  122486. else {
  122487. _this.expectIdentifier$1("and");
  122488. operator = "and";
  122489. }
  122490. _this.whitespace$1$consumeNewlines(inParentheses);
  122491. right = _this._stylesheet0$_supportsConditionInParens$0();
  122492. endPosition = t1._string_scanner$_position;
  122493. t3 = t1._sourceFile;
  122494. t4 = new A._FileSpan(t3, t2, endPosition);
  122495. t4._FileSpan$3(t3, t2, endPosition);
  122496. condition = new A.SupportsOperation0(condition, right, operator, t4);
  122497. lowerOperator = operator.toLowerCase();
  122498. if (lowerOperator !== "and" && lowerOperator !== "or")
  122499. A.throwExpression(A.ArgumentError$value(operator, "operator", 'may only be "and" or "or".'));
  122500. _this.whitespace$1$consumeNewlines(inParentheses);
  122501. }
  122502. return condition;
  122503. },
  122504. _stylesheet0$_supportsCondition$0() {
  122505. return this._stylesheet0$_supportsCondition$1$inParentheses(false);
  122506. },
  122507. _stylesheet0$_supportsConditionInParens$0() {
  122508. 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,
  122509. t1 = _this.scanner,
  122510. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  122511. if (_this._stylesheet0$_lookingAtInterpolatedIdentifier$0()) {
  122512. identifier0 = _this.interpolatedIdentifier$0();
  122513. t2 = identifier0.get$asPlain();
  122514. if ((t2 == null ? null : t2.toLowerCase()) === "not")
  122515. _this.error$2(0, '"not" is not a valid identifier here.', identifier0.span);
  122516. if (t1.scanChar$1(40)) {
  122517. $arguments = _this._stylesheet0$_interpolatedDeclarationValue$3$allowEmpty$allowSemicolon$consumeNewlines(true, true, true);
  122518. t1.expectChar$1(41);
  122519. return new A.SupportsFunction0(identifier0, $arguments, t1.spanFrom$1(start));
  122520. } else {
  122521. _0_0 = identifier0.contents;
  122522. _0_4_isSet = _0_0.length === 1;
  122523. if (_0_4_isSet) {
  122524. _0_4 = _0_0[0];
  122525. _0_40 = _0_4;
  122526. t2 = _0_4 instanceof A.Expression0;
  122527. _0_4 = _0_40;
  122528. } else {
  122529. _0_4 = null;
  122530. t2 = false;
  122531. }
  122532. if (t2) {
  122533. t2 = _0_4_isSet ? _0_4 : _0_0[0];
  122534. return new A.SupportsInterpolation0(type$.Expression_2._as(t2), t1.spanFrom$1(start));
  122535. } else
  122536. _this.error$2(0, "Expected @supports condition.", identifier0.span);
  122537. }
  122538. }
  122539. t1.expectChar$1(40);
  122540. _this.whitespace$1$consumeNewlines(true);
  122541. if (_this.scanIdentifier$1("not")) {
  122542. _this.whitespace$1$consumeNewlines(true);
  122543. condition = _this._stylesheet0$_supportsConditionInParens$0();
  122544. t1.expectChar$1(41);
  122545. return new A.SupportsNegation0(condition, t1.spanFrom$1(start));
  122546. } else if (t1.peekChar$0() === 40) {
  122547. condition = _this._stylesheet0$_supportsCondition$1$inParentheses(true);
  122548. t1.expectChar$1(41);
  122549. return condition.withSpan$1(t1.spanFrom$1(start));
  122550. }
  122551. $name = null;
  122552. nameStart = new A._SpanScannerState(t1, t1._string_scanner$_position);
  122553. wasInParentheses = _this._stylesheet0$_inParentheses;
  122554. try {
  122555. $name = _this._stylesheet0$_expression$1$consumeNewlines(true);
  122556. t1.expectChar$1(58);
  122557. } catch (exception) {
  122558. if (type$.FormatException._is(A.unwrapException(exception))) {
  122559. t1.set$state(nameStart);
  122560. _this._stylesheet0$_inParentheses = wasInParentheses;
  122561. identifier = _this.interpolatedIdentifier$0();
  122562. _1_0 = _this._stylesheet0$_trySupportsOperation$2(identifier, nameStart);
  122563. operation = null;
  122564. if (_1_0 != null) {
  122565. operation = _1_0;
  122566. t1.expectChar$1(41);
  122567. t2 = operation;
  122568. t1 = t1.spanFrom$1(start);
  122569. return A.SupportsOperation$0(t2.left, t2.right, t2.operator, t1);
  122570. }
  122571. t2 = new A.InterpolationBuffer0(new A.StringBuffer(""), A._setArrayType([], type$.JSArray_Object), A._setArrayType([], type$.JSArray_nullable_FileSpan));
  122572. t2.addInterpolation$1(identifier);
  122573. t2.addInterpolation$1(_this._stylesheet0$_interpolatedDeclarationValue$4$allowColon$allowEmpty$allowSemicolon$consumeNewlines(false, true, true, true));
  122574. contents = t2.interpolation$1(t1.spanFrom$1(nameStart));
  122575. if (t1.peekChar$0() === 58)
  122576. throw exception;
  122577. t1.expectChar$1(41);
  122578. return new A.SupportsAnything0(contents, t1.spanFrom$1(start));
  122579. } else
  122580. throw exception;
  122581. }
  122582. value = _this._stylesheet0$_supportsDeclarationValue$1($name);
  122583. t1.expectChar$1(41);
  122584. return new A.SupportsDeclaration0($name, value, t1.spanFrom$1(start));
  122585. },
  122586. _stylesheet0$_supportsDeclarationValue$1($name) {
  122587. var t1 = false;
  122588. if ($name instanceof A.StringExpression0)
  122589. if (!$name.hasQuotes)
  122590. t1 = B.JSString_methods.startsWith$1($name.text.get$initialPlain(), "--");
  122591. if (t1)
  122592. return new A.StringExpression0(this._stylesheet0$_interpolatedDeclarationValue$0(), false);
  122593. else {
  122594. this.whitespace$1$consumeNewlines(true);
  122595. return this._stylesheet0$_expression$1$consumeNewlines(true);
  122596. }
  122597. },
  122598. _stylesheet0$_trySupportsOperation$2(interpolation, start) {
  122599. var expression, beforeWhitespace, t2, t3, operator, operation, right, t4, endPosition, t5, t6, lowerOperator, _this = this, _null = null,
  122600. t1 = interpolation.contents;
  122601. if (t1.length !== 1)
  122602. return _null;
  122603. expression = B.JSArray_methods.get$first(t1);
  122604. if (!(expression instanceof A.Expression0))
  122605. return _null;
  122606. t1 = _this.scanner;
  122607. beforeWhitespace = new A._SpanScannerState(t1, t1._string_scanner$_position);
  122608. _this.whitespace$1$consumeNewlines(true);
  122609. for (t2 = start.position, t3 = interpolation.span, operator = _null, operation = operator; _this.lookingAtIdentifier$0();) {
  122610. if (operator != null)
  122611. _this.expectIdentifier$1(operator);
  122612. else if (_this.scanIdentifier$1("and"))
  122613. operator = "and";
  122614. else {
  122615. if (!_this.scanIdentifier$1("or")) {
  122616. if (beforeWhitespace._scanner !== t1)
  122617. A.throwExpression(A.ArgumentError$(string$.The_gi, _null));
  122618. t2 = beforeWhitespace.position;
  122619. if ((t2 === 0 ? 1 / t2 < 0 : t2 < 0) || t2 > t1.string.length)
  122620. A.throwExpression(A.ArgumentError$("Invalid position " + t2, _null));
  122621. t1._string_scanner$_position = t2;
  122622. return t1._lastMatch = null;
  122623. }
  122624. operator = "or";
  122625. }
  122626. _this.whitespace$1$consumeNewlines(true);
  122627. right = _this._stylesheet0$_supportsConditionInParens$0();
  122628. t4 = operation == null ? new A.SupportsInterpolation0(expression, t3) : operation;
  122629. endPosition = t1._string_scanner$_position;
  122630. t5 = t1._sourceFile;
  122631. t6 = new A._FileSpan(t5, t2, endPosition);
  122632. t6._FileSpan$3(t5, t2, endPosition);
  122633. operation = new A.SupportsOperation0(t4, right, operator, t6);
  122634. lowerOperator = operator.toLowerCase();
  122635. if (lowerOperator !== "and" && lowerOperator !== "or")
  122636. A.throwExpression(A.ArgumentError$value(operator, "operator", 'may only be "and" or "or".'));
  122637. _this.whitespace$1$consumeNewlines(true);
  122638. }
  122639. return operation;
  122640. },
  122641. _stylesheet0$_lookingAtInterpolatedIdentifier$0() {
  122642. var t2, _0_0,
  122643. t1 = this.scanner,
  122644. _1_0 = t1.peekChar$0();
  122645. $label0$0: {
  122646. t2 = false;
  122647. if (_1_0 == null) {
  122648. t1 = t2;
  122649. break $label0$0;
  122650. }
  122651. if (_1_0 === 95 || A.CharacterExtension_get_isAlphabetic0(_1_0) || _1_0 >= 128 || 92 === _1_0) {
  122652. t1 = true;
  122653. break $label0$0;
  122654. }
  122655. if (35 === _1_0) {
  122656. t1 = t1.peekChar$1(1) === 123;
  122657. break $label0$0;
  122658. }
  122659. if (45 === _1_0) {
  122660. _0_0 = t1.peekChar$1(1);
  122661. $label1$1: {
  122662. if (_0_0 == null) {
  122663. t1 = t2;
  122664. break $label1$1;
  122665. }
  122666. if (35 === _0_0) {
  122667. t1 = t1.peekChar$1(2) === 123;
  122668. break $label1$1;
  122669. }
  122670. if (_0_0 === 95 || A.CharacterExtension_get_isAlphabetic0(_0_0) || _0_0 >= 128 || 92 === _0_0 || 45 === _0_0) {
  122671. t1 = true;
  122672. break $label1$1;
  122673. }
  122674. t1 = t2;
  122675. break $label1$1;
  122676. }
  122677. break $label0$0;
  122678. }
  122679. t1 = t2;
  122680. break $label0$0;
  122681. }
  122682. return t1;
  122683. },
  122684. _stylesheet0$_lookingAtPotentialPropertyHack$0() {
  122685. var t1 = this.scanner,
  122686. _0_0 = t1.peekChar$0();
  122687. $label0$0: {
  122688. if (58 === _0_0 || 42 === _0_0 || 46 === _0_0) {
  122689. t1 = true;
  122690. break $label0$0;
  122691. }
  122692. if (35 === _0_0) {
  122693. t1 = t1.peekChar$1(1) !== 123;
  122694. break $label0$0;
  122695. }
  122696. t1 = false;
  122697. break $label0$0;
  122698. }
  122699. return t1;
  122700. },
  122701. _stylesheet0$_lookingAtInterpolatedIdentifierBody$0() {
  122702. var t2, t3,
  122703. t1 = this.scanner,
  122704. _0_0 = t1.peekChar$0();
  122705. $label0$0: {
  122706. t2 = false;
  122707. if (_0_0 == null) {
  122708. t1 = t2;
  122709. break $label0$0;
  122710. }
  122711. if (!(_0_0 === 95 || A.CharacterExtension_get_isAlphabetic0(_0_0) || _0_0 >= 128))
  122712. t3 = _0_0 >= 48 && _0_0 <= 57 || _0_0 === 45;
  122713. else
  122714. t3 = true;
  122715. if (t3 || 92 === _0_0) {
  122716. t1 = true;
  122717. break $label0$0;
  122718. }
  122719. if (35 === _0_0) {
  122720. t1 = t1.peekChar$1(1) === 123;
  122721. break $label0$0;
  122722. }
  122723. t1 = t2;
  122724. break $label0$0;
  122725. }
  122726. return t1;
  122727. },
  122728. _stylesheet0$_lookingAtExpression$0() {
  122729. var t2, _0_0,
  122730. t1 = this.scanner,
  122731. _1_0 = t1.peekChar$0();
  122732. $label0$0: {
  122733. t2 = true;
  122734. if (_1_0 == null) {
  122735. t1 = false;
  122736. break $label0$0;
  122737. }
  122738. if (46 === _1_0) {
  122739. t1 = t1.peekChar$1(1) !== 46;
  122740. break $label0$0;
  122741. }
  122742. if (33 === _1_0) {
  122743. _0_0 = t1.peekChar$1(1);
  122744. $label1$1: {
  122745. if (_0_0 != null)
  122746. if (105 !== _0_0)
  122747. if (73 !== _0_0)
  122748. t1 = _0_0 === 32 || _0_0 === 9 || _0_0 === 10 || _0_0 === 13 || _0_0 === 12;
  122749. else
  122750. t1 = t2;
  122751. else
  122752. t1 = t2;
  122753. else
  122754. t1 = t2;
  122755. break $label1$1;
  122756. }
  122757. break $label0$0;
  122758. }
  122759. t1 = true;
  122760. if (40 !== _1_0)
  122761. if (47 !== _1_0)
  122762. if (91 !== _1_0)
  122763. if (39 !== _1_0)
  122764. if (34 !== _1_0)
  122765. if (35 !== _1_0)
  122766. if (43 !== _1_0)
  122767. if (45 !== _1_0)
  122768. if (92 !== _1_0)
  122769. if (36 !== _1_0)
  122770. if (38 !== _1_0)
  122771. if (37 !== _1_0)
  122772. if (!(_1_0 === 95 || A.CharacterExtension_get_isAlphabetic0(_1_0) || _1_0 >= 128))
  122773. t1 = _1_0 >= 48 && _1_0 <= 57;
  122774. if (t1) {
  122775. t1 = t2;
  122776. break $label0$0;
  122777. }
  122778. t1 = false;
  122779. break $label0$0;
  122780. }
  122781. return t1;
  122782. },
  122783. _stylesheet0$_withChildren$1$3(child, start, create) {
  122784. var result = create.call$2(this.children$1(0, child), this.scanner.spanFrom$1(start));
  122785. this.whitespaceWithoutComments$1$consumeNewlines(false);
  122786. return result;
  122787. },
  122788. _stylesheet0$_withChildren$3(child, start, create) {
  122789. child.toString;
  122790. create.toString;
  122791. return this._stylesheet0$_withChildren$1$3(child, start, create, type$.dynamic);
  122792. },
  122793. _stylesheet0$_urlString$0() {
  122794. var innerError, stackTrace, t2, exception,
  122795. t1 = this.scanner,
  122796. start = new A._SpanScannerState(t1, t1._string_scanner$_position),
  122797. url = this.string$0();
  122798. try {
  122799. t2 = A.Uri_parse(url);
  122800. return t2;
  122801. } catch (exception) {
  122802. t2 = A.unwrapException(exception);
  122803. if (type$.FormatException._is(t2)) {
  122804. innerError = t2;
  122805. stackTrace = A.getTraceFromException(exception);
  122806. this.error$3(0, "Invalid URL: " + J.get$message$x(innerError), t1.spanFrom$1(start), stackTrace);
  122807. } else
  122808. throw exception;
  122809. }
  122810. },
  122811. _stylesheet0$_publicIdentifier$0() {
  122812. var _this = this,
  122813. t1 = _this.scanner,
  122814. t2 = t1._string_scanner$_position,
  122815. result = _this.identifier$0();
  122816. _this._stylesheet0$_assertPublic$2(result, new A.StylesheetParser__publicIdentifier_closure0(_this, new A._SpanScannerState(t1, t2)));
  122817. return result;
  122818. },
  122819. _stylesheet0$_assertPublic$2(identifier, span) {
  122820. var first = identifier.charCodeAt(0);
  122821. if (!(first === 45 || first === 95))
  122822. return;
  122823. this.error$2(0, string$.Privat, span.call$0());
  122824. },
  122825. _stylesheet0$_addOrInject$2(buffer, expression) {
  122826. if (expression instanceof A.StringExpression0 && !expression.hasQuotes)
  122827. buffer.addInterpolation$1(expression.text);
  122828. else
  122829. buffer.add$2(0, expression, expression.get$span(expression));
  122830. },
  122831. get$plainCss() {
  122832. return false;
  122833. }
  122834. };
  122835. A.StylesheetParser_parse_closure0.prototype = {
  122836. call$0() {
  122837. var statements,
  122838. t1 = this.$this,
  122839. t2 = t1.scanner,
  122840. t3 = t2._string_scanner$_position;
  122841. t2.scanChar$1(65279);
  122842. statements = t1.statements$1(new A.StylesheetParser_parse__closure0(t1));
  122843. t2.expectDone$0();
  122844. return A.Stylesheet$internal0(statements, t2.spanFrom$1(new A._SpanScannerState(t2, t3)), t1.warnings, t1._stylesheet0$_globalVariables, t1.get$plainCss());
  122845. },
  122846. $signature: 598
  122847. };
  122848. A.StylesheetParser_parse__closure0.prototype = {
  122849. call$0() {
  122850. var t1 = this.$this;
  122851. if (t1.scanner.scan$1("@charset")) {
  122852. t1.whitespace$1$consumeNewlines(false);
  122853. t1.string$0();
  122854. return null;
  122855. }
  122856. return t1._stylesheet0$_statement$1$root(true);
  122857. },
  122858. $signature: 599
  122859. };
  122860. A.StylesheetParser_parseParameterList_closure0.prototype = {
  122861. call$0() {
  122862. var parameters,
  122863. t1 = this.$this,
  122864. t2 = t1.scanner;
  122865. t2.expectChar$2$name(64, "@-rule");
  122866. t1.identifier$0();
  122867. t1.whitespace$1$consumeNewlines(true);
  122868. t1.identifier$0();
  122869. parameters = t1._stylesheet0$_parameterList$0();
  122870. t1.whitespace$1$consumeNewlines(true);
  122871. t2.expectChar$1(123);
  122872. return parameters;
  122873. },
  122874. $signature: 600
  122875. };
  122876. A.StylesheetParser__parseSingleProduction_closure0.prototype = {
  122877. call$0() {
  122878. var result = this.production.call$0();
  122879. this.$this.scanner.expectDone$0();
  122880. return result;
  122881. },
  122882. $signature() {
  122883. return this.T._eval$1("0()");
  122884. }
  122885. };
  122886. A.StylesheetParser_parseSignature_closure.prototype = {
  122887. call$0() {
  122888. var parameters, t2, t3,
  122889. t1 = this.$this,
  122890. $name = t1.identifier$0();
  122891. if (this.requireParens || t1.scanner.peekChar$0() === 40)
  122892. parameters = t1._stylesheet0$_parameterList$0();
  122893. else {
  122894. t2 = t1.scanner;
  122895. t2 = A.FileLocation$_(t2._sourceFile, t2._string_scanner$_position);
  122896. t3 = t2.offset;
  122897. parameters = new A.ParameterList0(B.List_empty26, null, A._FileSpan$(t2.file, t3, t3));
  122898. }
  122899. t1.scanner.expectDone$0();
  122900. return new A._Record_2($name, parameters);
  122901. },
  122902. $signature: 601
  122903. };
  122904. A.StylesheetParser__statement_closure0.prototype = {
  122905. call$0() {
  122906. return this.$this._stylesheet0$_statement$0();
  122907. },
  122908. $signature: 136
  122909. };
  122910. A.StylesheetParser_variableDeclarationWithoutNamespace_closure1.prototype = {
  122911. call$0() {
  122912. return this.$this.scanner.spanFrom$1(this.start);
  122913. },
  122914. $signature: 28
  122915. };
  122916. A.StylesheetParser_variableDeclarationWithoutNamespace_closure2.prototype = {
  122917. call$0() {
  122918. return this.declaration.span;
  122919. },
  122920. $signature: 28
  122921. };
  122922. A.StylesheetParser__declarationOrBuffer_closure2.prototype = {
  122923. call$0() {
  122924. return this.$this.whitespace$1$consumeNewlines(false);
  122925. },
  122926. $signature: 0
  122927. };
  122928. A.StylesheetParser__declarationOrBuffer_closure3.prototype = {
  122929. call$0() {
  122930. return this.$this.whitespace$1$consumeNewlines(false);
  122931. },
  122932. $signature: 0
  122933. };
  122934. A.StylesheetParser__declarationOrBuffer_closure4.prototype = {
  122935. call$0() {
  122936. return this.$this.whitespace$1$consumeNewlines(false);
  122937. },
  122938. $signature: 0
  122939. };
  122940. A.StylesheetParser__styleRule_closure0.prototype = {
  122941. call$2(children, span) {
  122942. var _this = this,
  122943. t1 = _this.$this;
  122944. if (t1.get$indented() && children.length === 0)
  122945. t1.warnings.push(new A._Record_3_deprecation_message_span(null, string$.This_s, _this._box_0.interpolation.span));
  122946. t1._stylesheet0$_inStyleRule = _this.wasInStyleRule;
  122947. return A.StyleRule$0(_this._box_0.interpolation, children, t1.scanner.spanFrom$1(_this.start));
  122948. },
  122949. $signature: 602
  122950. };
  122951. A.StylesheetParser__propertyOrVariableDeclaration_closure0.prototype = {
  122952. call$0() {
  122953. return this.$this.whitespace$1$consumeNewlines(false);
  122954. },
  122955. $signature: 0
  122956. };
  122957. A.StylesheetParser__tryDeclarationChildren_closure0.prototype = {
  122958. call$2(children, span) {
  122959. return A.Declaration$nested0(this.name, children, span, this.value);
  122960. },
  122961. $signature: 603
  122962. };
  122963. A.StylesheetParser__atRootRule_closure1.prototype = {
  122964. call$2(children, span) {
  122965. return A.AtRootRule$0(children, span, this.query);
  122966. },
  122967. $signature: 267
  122968. };
  122969. A.StylesheetParser__atRootRule_closure2.prototype = {
  122970. call$2(children, span) {
  122971. return A.AtRootRule$0(children, span, null);
  122972. },
  122973. $signature: 267
  122974. };
  122975. A.StylesheetParser__eachRule_closure0.prototype = {
  122976. call$2(children, span) {
  122977. var _this = this;
  122978. _this.$this._stylesheet0$_inControlDirective = _this.wasInControlDirective;
  122979. return A.EachRule$0(_this.variables, _this.list, children, span);
  122980. },
  122981. $signature: 605
  122982. };
  122983. A.StylesheetParser__functionRule_closure0.prototype = {
  122984. call$2(children, span) {
  122985. return A.FunctionRule$0(this.name, this.parameters, children, span, this.precedingComment);
  122986. },
  122987. $signature: 606
  122988. };
  122989. A.StylesheetParser__forRule_closure1.prototype = {
  122990. call$0() {
  122991. var t1 = this.$this;
  122992. if (!t1.lookingAtIdentifier$0())
  122993. return false;
  122994. if (t1.scanIdentifier$1("to"))
  122995. return this._box_0.exclusive = true;
  122996. else if (t1.scanIdentifier$1("through")) {
  122997. this._box_0.exclusive = false;
  122998. return true;
  122999. } else
  123000. return false;
  123001. },
  123002. $signature: 20
  123003. };
  123004. A.StylesheetParser__forRule_closure2.prototype = {
  123005. call$2(children, span) {
  123006. var t1, _this = this;
  123007. _this.$this._stylesheet0$_inControlDirective = _this.wasInControlDirective;
  123008. t1 = _this._box_0.exclusive;
  123009. t1.toString;
  123010. return A.ForRule$0(_this.variable, _this.from, _this.to, children, span, t1);
  123011. },
  123012. $signature: 607
  123013. };
  123014. A.StylesheetParser__memberList_closure0.prototype = {
  123015. call$0() {
  123016. var t1 = this.$this;
  123017. if (t1.scanner.peekChar$0() === 36)
  123018. this.variables.add$1(0, t1.variableName$0());
  123019. else
  123020. this.identifiers.add$1(0, t1.identifier$1$normalize(true));
  123021. },
  123022. $signature: 1
  123023. };
  123024. A.StylesheetParser__includeRule_closure0.prototype = {
  123025. call$2(children, span) {
  123026. return A.ContentBlock$0(this.contentParameters_, children, span);
  123027. },
  123028. $signature: 608
  123029. };
  123030. A.StylesheetParser_mediaRule_closure0.prototype = {
  123031. call$2(children, span) {
  123032. return A.MediaRule$0(this.query, children, span);
  123033. },
  123034. $signature: 609
  123035. };
  123036. A.StylesheetParser__mixinRule_closure0.prototype = {
  123037. call$2(children, span) {
  123038. var _this = this;
  123039. _this.$this._stylesheet0$_inMixin = false;
  123040. return A.MixinRule$0(_this.name, _this.parameters, children, span, _this.precedingComment);
  123041. },
  123042. $signature: 610
  123043. };
  123044. A.StylesheetParser_mozDocumentRule_closure1.prototype = {
  123045. call$0() {
  123046. return this.$this.whitespace$1$consumeNewlines(false);
  123047. },
  123048. $signature: 0
  123049. };
  123050. A.StylesheetParser_mozDocumentRule_closure2.prototype = {
  123051. call$2(children, span) {
  123052. var _this = this;
  123053. if (_this._box_0.needsDeprecationWarning)
  123054. _this.$this.warnings.push(new A._Record_3_deprecation_message_span(B.Deprecation_L0R, string$.x40_moz_, span));
  123055. return A.AtRule$0(_this.name, span, children, _this.value);
  123056. },
  123057. $signature: 268
  123058. };
  123059. A.StylesheetParser_supportsRule_closure0.prototype = {
  123060. call$2(children, span) {
  123061. return A.SupportsRule$0(this.condition, children, span);
  123062. },
  123063. $signature: 612
  123064. };
  123065. A.StylesheetParser__whileRule_closure0.prototype = {
  123066. call$2(children, span) {
  123067. this.$this._stylesheet0$_inControlDirective = this.wasInControlDirective;
  123068. return A.WhileRule$0(this.condition, children, span);
  123069. },
  123070. $signature: 613
  123071. };
  123072. A.StylesheetParser_unknownAtRule_closure0.prototype = {
  123073. call$2(children, span) {
  123074. return A.AtRule$0(this.name, span, children, this._box_0.value);
  123075. },
  123076. $signature: 268
  123077. };
  123078. A.StylesheetParser__expression_resetState0.prototype = {
  123079. call$0() {
  123080. var t2,
  123081. t1 = this._box_0;
  123082. t1.operands_ = t1.operators_ = t1.spaceExpressions_ = t1.commaExpressions_ = null;
  123083. t2 = this.$this;
  123084. t2.scanner.set$state(this.start);
  123085. t1.allowSlash = true;
  123086. t1.singleExpression_ = t2._stylesheet0$_singleExpression$0();
  123087. },
  123088. $signature: 0
  123089. };
  123090. A.StylesheetParser__expression_resolveOneOperation0.prototype = {
  123091. call$0() {
  123092. var t2, t3, t4, t5, t6, t7, _this = this,
  123093. t1 = _this._box_0,
  123094. operator = t1.operators_.pop(),
  123095. left = t1.operands_.pop(),
  123096. right = t1.singleExpression_;
  123097. if (right == null) {
  123098. t2 = _this.$this.scanner;
  123099. t3 = operator.operator.length;
  123100. t2.error$3$length$position(0, "Expected expression.", t3, t2._string_scanner$_position - t3);
  123101. }
  123102. if (t1.allowSlash) {
  123103. t2 = _this.$this;
  123104. t2 = !t2._stylesheet0$_inParentheses && operator === B.BinaryOperator_Mh50 && t2._stylesheet0$_isSlashOperand$1(left) && t2._stylesheet0$_isSlashOperand$1(right);
  123105. } else
  123106. t2 = false;
  123107. if (t2)
  123108. t1.singleExpression_ = new A.BinaryOperationExpression0(B.BinaryOperator_Mh50, left, right, true);
  123109. else {
  123110. t1.singleExpression_ = new A.BinaryOperationExpression0(operator, left, right, false);
  123111. t2 = t1.allowSlash = false;
  123112. if (B.BinaryOperator_Swh0 === operator || B.BinaryOperator_QG10 === operator) {
  123113. t3 = _this.$this;
  123114. t4 = t3.scanner.string;
  123115. t5 = right.get$span(right);
  123116. t5 = t5.get$start(t5);
  123117. t6 = right.get$span(right);
  123118. t7 = operator.operator;
  123119. if (B.JSString_methods.substring$2(t4, t5.offset - 1, t6.get$start(t6).offset) === t7) {
  123120. t2 = left.get$span(left);
  123121. t2 = t4.charCodeAt(t2.get$end(t2).offset);
  123122. t2 = t2 === 32 || t2 === 9 || t2 === 10 || t2 === 13 || t2 === 12;
  123123. }
  123124. if (t2) {
  123125. t2 = left.toString$0(0);
  123126. t4 = right.toString$0(0);
  123127. t5 = left.toString$0(0);
  123128. t6 = right.toString$0(0);
  123129. t1 = t1.singleExpression_;
  123130. 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)));
  123131. }
  123132. }
  123133. }
  123134. },
  123135. $signature: 0
  123136. };
  123137. A.StylesheetParser__expression_resolveOperations0.prototype = {
  123138. call$0() {
  123139. var t1,
  123140. operators = this._box_0.operators_;
  123141. if (operators == null)
  123142. return;
  123143. for (t1 = this.resolveOneOperation; operators.length !== 0;)
  123144. t1.call$0();
  123145. },
  123146. $signature: 0
  123147. };
  123148. A.StylesheetParser__expression_addSingleExpression0.prototype = {
  123149. call$1(expression) {
  123150. var t2, spaceExpressions, _this = this,
  123151. t1 = _this._box_0;
  123152. if (t1.singleExpression_ != null) {
  123153. t2 = _this.$this;
  123154. if (t2._stylesheet0$_inParentheses) {
  123155. t2._stylesheet0$_inParentheses = false;
  123156. if (t1.allowSlash) {
  123157. _this.resetState.call$0();
  123158. return;
  123159. }
  123160. }
  123161. spaceExpressions = t1.spaceExpressions_;
  123162. if (spaceExpressions == null)
  123163. spaceExpressions = t1.spaceExpressions_ = A._setArrayType([], type$.JSArray_Expression_2);
  123164. _this.resolveOperations.call$0();
  123165. t2 = t1.singleExpression_;
  123166. t2.toString;
  123167. spaceExpressions.push(t2);
  123168. t1.allowSlash = true;
  123169. }
  123170. t1.singleExpression_ = expression;
  123171. },
  123172. $signature: 614
  123173. };
  123174. A.StylesheetParser__expression_addOperator0.prototype = {
  123175. call$1(operator) {
  123176. var t2, t3, operators, operands, t4, singleExpression, _this = this,
  123177. t1 = _this.$this;
  123178. if (t1.get$plainCss() && operator !== B.BinaryOperator_Kyq0 && operator !== B.BinaryOperator_Swh0 && operator !== B.BinaryOperator_QG10 && operator !== B.BinaryOperator_tht0 && operator !== B.BinaryOperator_Mh50) {
  123179. t2 = t1.scanner;
  123180. t3 = operator.operator.length;
  123181. t2.error$3$length$position(0, "Operators aren't allowed in plain CSS.", t3, t2._string_scanner$_position - t3);
  123182. }
  123183. t2 = _this._box_0;
  123184. t2.allowSlash = t2.allowSlash && operator === B.BinaryOperator_Mh50;
  123185. operators = t2.operators_;
  123186. if (operators == null)
  123187. operators = t2.operators_ = A._setArrayType([], type$.JSArray_BinaryOperator_2);
  123188. operands = t2.operands_;
  123189. if (operands == null)
  123190. operands = t2.operands_ = A._setArrayType([], type$.JSArray_Expression_2);
  123191. t3 = _this.resolveOneOperation;
  123192. t4 = operator.precedence;
  123193. while (true) {
  123194. if (!(operators.length !== 0 && B.JSArray_methods.get$last(operators).precedence >= t4))
  123195. break;
  123196. t3.call$0();
  123197. }
  123198. singleExpression = t2.singleExpression_;
  123199. if (singleExpression == null) {
  123200. t3 = t1.scanner;
  123201. t4 = operator.operator.length;
  123202. t3.error$3$length$position(0, "Expected expression.", t4, t3._string_scanner$_position - t4);
  123203. }
  123204. t1.whitespace$1$consumeNewlines(true);
  123205. if (operator === B.BinaryOperator_s7T0 && !t1._stylesheet0$_lookingAtExpression$0()) {
  123206. t1 = t1.scanner;
  123207. t1 = t1.spanFromPosition$1(t1._string_scanner$_position - 1);
  123208. _this.addSingleExpression.call$1(new A.StringExpression0(new A.Interpolation0(A.List_List$unmodifiable(["%"], type$.Object), B.List_null, t1), false));
  123209. } else {
  123210. operators.push(operator);
  123211. operands.push(singleExpression);
  123212. t2.singleExpression_ = t1._stylesheet0$_singleExpression$0();
  123213. }
  123214. },
  123215. $signature: 615
  123216. };
  123217. A.StylesheetParser__expression_resolveSpaceExpressions0.prototype = {
  123218. call$0() {
  123219. var t1, spaceExpressions, singleExpression, t2;
  123220. this.resolveOperations.call$0();
  123221. t1 = this._box_0;
  123222. spaceExpressions = t1.spaceExpressions_;
  123223. if (spaceExpressions == null)
  123224. return;
  123225. singleExpression = t1.singleExpression_;
  123226. if (singleExpression == null)
  123227. this.$this.scanner.error$1(0, "Expected expression.");
  123228. spaceExpressions.push(singleExpression);
  123229. t2 = B.JSArray_methods.get$first(spaceExpressions);
  123230. t2 = t2.get$span(t2).expand$1(0, singleExpression.get$span(singleExpression));
  123231. t1.singleExpression_ = new A.ListExpression0(A.List_List$unmodifiable(spaceExpressions, type$.Expression_2), B.ListSeparator_qSL0, false, t2);
  123232. t1.spaceExpressions_ = null;
  123233. },
  123234. $signature: 0
  123235. };
  123236. A.StylesheetParser_expressionUntilComma_closure0.prototype = {
  123237. call$0() {
  123238. return this.$this.scanner.peekChar$0() === 44;
  123239. },
  123240. $signature: 20
  123241. };
  123242. A.StylesheetParser__isHexColor_closure0.prototype = {
  123243. call$1(char) {
  123244. return A.CharacterExtension_get_isHex0(char);
  123245. },
  123246. $signature: 47
  123247. };
  123248. A.StylesheetParser__unicodeRange_closure1.prototype = {
  123249. call$1(char) {
  123250. return char != null && A.CharacterExtension_get_isHex0(char);
  123251. },
  123252. $signature: 30
  123253. };
  123254. A.StylesheetParser__unicodeRange_closure2.prototype = {
  123255. call$1(char) {
  123256. return char != null && A.CharacterExtension_get_isHex0(char);
  123257. },
  123258. $signature: 30
  123259. };
  123260. A.StylesheetParser_namespacedExpression_closure0.prototype = {
  123261. call$0() {
  123262. return this.$this.scanner.spanFrom$1(this.start);
  123263. },
  123264. $signature: 28
  123265. };
  123266. A.StylesheetParser_trySpecialFunction_closure0.prototype = {
  123267. call$1(contents) {
  123268. return new A.StringExpression0(contents, false);
  123269. },
  123270. $signature: 616
  123271. };
  123272. A.StylesheetParser__expressionUntilComparison_closure0.prototype = {
  123273. call$0() {
  123274. var t1 = this.$this.scanner,
  123275. _0_0 = t1.peekChar$0();
  123276. $label0$0: {
  123277. if (61 === _0_0) {
  123278. t1 = t1.peekChar$1(1) !== 61;
  123279. break $label0$0;
  123280. }
  123281. if (60 === _0_0 || 62 === _0_0) {
  123282. t1 = true;
  123283. break $label0$0;
  123284. }
  123285. t1 = false;
  123286. break $label0$0;
  123287. }
  123288. return t1;
  123289. },
  123290. $signature: 20
  123291. };
  123292. A.StylesheetParser__publicIdentifier_closure0.prototype = {
  123293. call$0() {
  123294. return this.$this.scanner.spanFrom$1(this.start);
  123295. },
  123296. $signature: 28
  123297. };
  123298. A.Stylesheet0.prototype = {
  123299. Stylesheet$internal$5$globalVariables$plainCss0(children, span, parseTimeWarnings, globalVariables, plainCss) {
  123300. var t1, t2, t3, t4, _i, child;
  123301. for (t1 = this.children, t2 = t1.length, t3 = this._stylesheet1$_forwards, t4 = this._stylesheet1$_uses, _i = 0; _i < t2; ++_i) {
  123302. child = t1[_i];
  123303. if (child instanceof A.UseRule0) {
  123304. t4.push(child);
  123305. continue;
  123306. }
  123307. if (child instanceof A.ForwardRule0) {
  123308. t3.push(child);
  123309. continue;
  123310. }
  123311. if (child instanceof A.SilentComment0 || child instanceof A.LoudComment0 || child instanceof A.VariableDeclaration0)
  123312. continue;
  123313. break;
  123314. }
  123315. },
  123316. accept$1$1(visitor) {
  123317. return visitor.visitStylesheet$1(0, this);
  123318. },
  123319. accept$1(visitor) {
  123320. return this.accept$1$1(visitor, type$.dynamic);
  123321. },
  123322. toString$0(_) {
  123323. var t1 = this.children;
  123324. return (t1 && B.JSArray_methods).join$1(t1, " ");
  123325. },
  123326. get$span(receiver) {
  123327. return this.span;
  123328. }
  123329. };
  123330. A.SupportsExpression0.prototype = {
  123331. get$span(_) {
  123332. var t1 = this.condition;
  123333. return t1.get$span(t1);
  123334. },
  123335. accept$1$1(visitor) {
  123336. return visitor.visitSupportsExpression$1(0, this);
  123337. },
  123338. accept$1(visitor) {
  123339. return this.accept$1$1(visitor, type$.dynamic);
  123340. },
  123341. toString$0(_) {
  123342. return this.condition.toString$0(0);
  123343. }
  123344. };
  123345. A.ModifiableCssSupportsRule0.prototype = {
  123346. accept$1$1(visitor) {
  123347. return visitor.visitCssSupportsRule$1(this);
  123348. },
  123349. accept$1(visitor) {
  123350. return this.accept$1$1(visitor, type$.dynamic);
  123351. },
  123352. equalsIgnoringChildren$1(other) {
  123353. var t1, t2;
  123354. if (other instanceof A.ModifiableCssSupportsRule0) {
  123355. t1 = this.condition;
  123356. t2 = other.condition;
  123357. t1 = t1.$ti._is(t2) && J.$eq$(t2.value, t1.value);
  123358. } else
  123359. t1 = false;
  123360. return t1;
  123361. },
  123362. copyWithoutChildren$0() {
  123363. return A.ModifiableCssSupportsRule$0(this.condition, this.span);
  123364. },
  123365. get$span(receiver) {
  123366. return this.span;
  123367. }
  123368. };
  123369. A.SupportsRule0.prototype = {
  123370. accept$1$1(visitor) {
  123371. return visitor.visitSupportsRule$1(0, this);
  123372. },
  123373. accept$1(visitor) {
  123374. return this.accept$1$1(visitor, type$.dynamic);
  123375. },
  123376. toString$0(_) {
  123377. var t1 = this.children;
  123378. return "@supports " + this.condition.toString$0(0) + " {" + (t1 && B.JSArray_methods).join$1(t1, " ") + "}";
  123379. },
  123380. get$span(receiver) {
  123381. return this.span;
  123382. }
  123383. };
  123384. A.JSToDartImporter.prototype = {
  123385. canonicalize$1(_, url) {
  123386. var t1,
  123387. result = A.wrapJSExceptions(new A.JSToDartImporter_canonicalize_closure(this, url));
  123388. if (result == null)
  123389. return null;
  123390. t1 = self.URL;
  123391. if (result instanceof t1)
  123392. return A.Uri_parse(J.toString$0$(type$.JSUrl._as(result)));
  123393. t1 = self.Promise;
  123394. if (result instanceof t1)
  123395. A.jsThrow(new self.Error("The canonicalize() function can't return a Promise for synchronous compile functions."));
  123396. else
  123397. A.jsThrow(new self.Error(string$.The_ca));
  123398. },
  123399. load$1(_, url) {
  123400. var t1, contents, syntax, t2,
  123401. result = A.wrapJSExceptions(new A.JSToDartImporter_load_closure(this, url));
  123402. if (result == null)
  123403. return null;
  123404. t1 = self.Promise;
  123405. if (result instanceof t1)
  123406. A.jsThrow(new self.Error("The load() function can't return a Promise for synchronous compile functions."));
  123407. type$.JSImporterResult._as(result);
  123408. t1 = J.getInterceptor$x(result);
  123409. contents = t1.get$contents(result);
  123410. if (A._asString(new self.Function("value", "return typeof value").call$1(contents)) !== "string")
  123411. A.jsThrow(new A.ArgumentError(true, contents, "contents", "must be a string but was: " + A.jsType(contents)));
  123412. syntax = t1.get$syntax(result);
  123413. if (contents == null || syntax == null)
  123414. A.jsThrow(new self.Error(string$.The_lo));
  123415. t2 = A.parseSyntax(syntax);
  123416. return A.ImporterResult$(contents, A.NullableExtension_andThen0(t1.get$sourceMapUrl(result), A.utils3__jsToDartUrl$closure()), t2);
  123417. },
  123418. isNonCanonicalScheme$1(scheme) {
  123419. return this._sync$_nonCanonicalSchemes.contains$1(0, scheme);
  123420. }
  123421. };
  123422. A.JSToDartImporter_canonicalize_closure.prototype = {
  123423. call$0() {
  123424. return this.$this._sync$_canonicalize.call$2(this.url.toString$0(0), A.canonicalizeContext0());
  123425. },
  123426. $signature: 36
  123427. };
  123428. A.JSToDartImporter_load_closure.prototype = {
  123429. call$0() {
  123430. return this.$this._sync$_load.call$1(new self.URL(this.url.toString$0(0)));
  123431. },
  123432. $signature: 36
  123433. };
  123434. A.Syntax0.prototype = {
  123435. _enumToString$0() {
  123436. return "Syntax." + this._name;
  123437. },
  123438. toString$0(_) {
  123439. return this._syntax0$_name;
  123440. }
  123441. };
  123442. A.TypeSelector0.prototype = {
  123443. get$specificity() {
  123444. return 1;
  123445. },
  123446. accept$1$1(visitor) {
  123447. return visitor.visitTypeSelector$1(this);
  123448. },
  123449. accept$1(visitor) {
  123450. return this.accept$1$1(visitor, type$.dynamic);
  123451. },
  123452. addSuffix$1(suffix) {
  123453. var t1 = this.name;
  123454. return new A.TypeSelector0(new A.QualifiedName0(t1.name + suffix, t1.namespace), this.span);
  123455. },
  123456. unify$1(compound) {
  123457. var unified, t1,
  123458. _0_0 = A.IterableExtensions_get_firstOrNull(compound);
  123459. if (_0_0 instanceof A.UniversalSelector0 || _0_0 instanceof A.TypeSelector0) {
  123460. unified = A.unifyUniversalAndElement0(this, B.JSArray_methods.get$first(compound));
  123461. if (unified == null)
  123462. return null;
  123463. t1 = A._setArrayType([unified], type$.JSArray_SimpleSelector_2);
  123464. B.JSArray_methods.addAll$1(t1, A.SubListIterable$(compound, 1, null, A._arrayInstanceType(compound)._precomputed1));
  123465. return t1;
  123466. } else {
  123467. t1 = A._setArrayType([this], type$.JSArray_SimpleSelector_2);
  123468. B.JSArray_methods.addAll$1(t1, compound);
  123469. return t1;
  123470. }
  123471. },
  123472. isSuperselector$1(other) {
  123473. var t1, t2, t3;
  123474. if (!this.super$SimpleSelector$isSuperselector0(other)) {
  123475. t1 = false;
  123476. if (other instanceof A.TypeSelector0) {
  123477. t2 = this.name;
  123478. t3 = other.name;
  123479. if (t2.name === t3.name) {
  123480. t1 = t2.namespace;
  123481. t1 = t1 === "*" || t1 == t3.namespace;
  123482. }
  123483. }
  123484. } else
  123485. t1 = true;
  123486. return t1;
  123487. },
  123488. $eq(_, other) {
  123489. if (other == null)
  123490. return false;
  123491. return other instanceof A.TypeSelector0 && other.name.$eq(0, this.name);
  123492. },
  123493. get$hashCode(_) {
  123494. var t1 = this.name;
  123495. return B.JSString_methods.get$hashCode(t1.name) ^ J.get$hashCode$(t1.namespace);
  123496. }
  123497. };
  123498. A.Types.prototype = {};
  123499. A.UnaryOperationExpression0.prototype = {
  123500. accept$1$1(visitor) {
  123501. return visitor.visitUnaryOperationExpression$1(0, this);
  123502. },
  123503. accept$1(visitor) {
  123504. return this.accept$1$1(visitor, type$.dynamic);
  123505. },
  123506. toString$0(_) {
  123507. var operand,
  123508. t1 = this.operator,
  123509. t2 = t1.operator;
  123510. t1 = t1 === B.UnaryOperator_not_not_not0 ? t2 + A.Primitives_stringFromCharCode(32) : t2;
  123511. operand = this.operand;
  123512. $label0$0: {
  123513. t2 = true;
  123514. if (!(operand instanceof A.BinaryOperationExpression0))
  123515. if (!(operand instanceof A.UnaryOperationExpression0))
  123516. t2 = operand instanceof A.ListExpression0 && !operand.hasBrackets && operand.contents.length >= 2;
  123517. break $label0$0;
  123518. }
  123519. if (t2)
  123520. t1 += "40";
  123521. t1 += operand.toString$0(0);
  123522. if (t2)
  123523. t1 += "41";
  123524. return t1.charCodeAt(0) == 0 ? t1 : t1;
  123525. },
  123526. get$span(receiver) {
  123527. return this.span;
  123528. }
  123529. };
  123530. A.UnaryOperator0.prototype = {
  123531. _enumToString$0() {
  123532. return "UnaryOperator." + this._name;
  123533. },
  123534. toString$0(_) {
  123535. return this.name;
  123536. }
  123537. };
  123538. A.UnitlessSassNumber0.prototype = {
  123539. get$numeratorUnits(_) {
  123540. return B.List_empty;
  123541. },
  123542. get$denominatorUnits(_) {
  123543. return B.List_empty;
  123544. },
  123545. get$hasUnits() {
  123546. return false;
  123547. },
  123548. get$hasComplexUnits() {
  123549. return false;
  123550. },
  123551. withValue$1(value) {
  123552. return new A.UnitlessSassNumber0(value, null);
  123553. },
  123554. withSlash$2(numerator, denominator) {
  123555. return new A.UnitlessSassNumber0(this._number1$_value, new A._Record_2(numerator, denominator));
  123556. },
  123557. hasUnit$1(unit) {
  123558. return false;
  123559. },
  123560. hasCompatibleUnits$1(other) {
  123561. return other instanceof A.UnitlessSassNumber0;
  123562. },
  123563. hasPossiblyCompatibleUnits$1(other) {
  123564. return other instanceof A.UnitlessSassNumber0;
  123565. },
  123566. compatibleWithUnit$1(unit) {
  123567. return true;
  123568. },
  123569. coerceToMatch$3(other, $name, otherName) {
  123570. return other.withValue$1(this._number1$_value);
  123571. },
  123572. coerceToMatch$1(other) {
  123573. return this.coerceToMatch$3(other, null, null);
  123574. },
  123575. coerceValueToMatch$3(other, $name, otherName) {
  123576. return this._number1$_value;
  123577. },
  123578. coerceValueToMatch$1(other) {
  123579. return this.coerceValueToMatch$3(other, null, null);
  123580. },
  123581. convertToMatch$3(other, $name, otherName) {
  123582. return other.get$hasUnits() ? this.super$SassNumber$convertToMatch(other, $name, otherName) : this;
  123583. },
  123584. convertValueToMatch$3(other, $name, otherName) {
  123585. return other.get$hasUnits() ? this.super$SassNumber$convertValueToMatch0(other, $name, otherName) : this._number1$_value;
  123586. },
  123587. convertValueToMatch$1(other) {
  123588. return this.convertValueToMatch$3(other, null, null);
  123589. },
  123590. coerce$3(newNumerators, newDenominators, $name) {
  123591. return A.SassNumber_SassNumber$withUnits0(this._number1$_value, newDenominators, newNumerators);
  123592. },
  123593. coerce$2(newNumerators, newDenominators) {
  123594. return this.coerce$3(newNumerators, newDenominators, null);
  123595. },
  123596. coerceValue$3(newNumerators, newDenominators, $name) {
  123597. return this._number1$_value;
  123598. },
  123599. coerceValueToUnit$2(unit, $name) {
  123600. return this._number1$_value;
  123601. },
  123602. coerceValueToUnit$1(unit) {
  123603. return this.coerceValueToUnit$2(unit, null);
  123604. },
  123605. greaterThan$1(other) {
  123606. var t1, t2;
  123607. if (other instanceof A.SassNumber0) {
  123608. t1 = this._number1$_value;
  123609. t2 = other._number1$_value;
  123610. return t1 > t2 && !A.fuzzyEquals0(t1, t2) ? B.SassBoolean_true0 : B.SassBoolean_false0;
  123611. }
  123612. return this.super$SassNumber$greaterThan0(other);
  123613. },
  123614. greaterThanOrEquals$1(other) {
  123615. var t1, t2;
  123616. if (other instanceof A.SassNumber0) {
  123617. t1 = this._number1$_value;
  123618. t2 = other._number1$_value;
  123619. return t1 > t2 || A.fuzzyEquals0(t1, t2) ? B.SassBoolean_true0 : B.SassBoolean_false0;
  123620. }
  123621. return this.super$SassNumber$greaterThanOrEquals0(other);
  123622. },
  123623. lessThan$1(other) {
  123624. var t1, t2;
  123625. if (other instanceof A.SassNumber0) {
  123626. t1 = this._number1$_value;
  123627. t2 = other._number1$_value;
  123628. return t1 < t2 && !A.fuzzyEquals0(t1, t2) ? B.SassBoolean_true0 : B.SassBoolean_false0;
  123629. }
  123630. return this.super$SassNumber$lessThan0(other);
  123631. },
  123632. lessThanOrEquals$1(other) {
  123633. var t1, t2;
  123634. if (other instanceof A.SassNumber0) {
  123635. t1 = this._number1$_value;
  123636. t2 = other._number1$_value;
  123637. return t1 < t2 || A.fuzzyEquals0(t1, t2) ? B.SassBoolean_true0 : B.SassBoolean_false0;
  123638. }
  123639. return this.super$SassNumber$lessThanOrEquals0(other);
  123640. },
  123641. modulo$1(other) {
  123642. if (other instanceof A.SassNumber0)
  123643. return other.withValue$1(A.moduloLikeSass0(this._number1$_value, other._number1$_value));
  123644. return this.super$SassNumber$modulo0(other);
  123645. },
  123646. plus$1(other) {
  123647. if (other instanceof A.SassNumber0)
  123648. return other.withValue$1(this._number1$_value + other._number1$_value);
  123649. return this.super$SassNumber$plus0(other);
  123650. },
  123651. minus$1(other) {
  123652. if (other instanceof A.SassNumber0)
  123653. return other.withValue$1(this._number1$_value - other._number1$_value);
  123654. return this.super$SassNumber$minus0(other);
  123655. },
  123656. times$1(other) {
  123657. if (other instanceof A.SassNumber0)
  123658. return other.withValue$1(this._number1$_value * other._number1$_value);
  123659. return this.super$SassNumber$times0(other);
  123660. },
  123661. dividedBy$1(other) {
  123662. var t1, t2;
  123663. if (other instanceof A.SassNumber0) {
  123664. t1 = this._number1$_value / other._number1$_value;
  123665. if (other.get$hasUnits()) {
  123666. t2 = other.get$denominatorUnits(other);
  123667. t2 = A.SassNumber_SassNumber$withUnits0(t1, other.get$numeratorUnits(other), t2);
  123668. t1 = t2;
  123669. } else
  123670. t1 = new A.UnitlessSassNumber0(t1, null);
  123671. return t1;
  123672. }
  123673. return this.super$SassNumber$dividedBy0(other);
  123674. },
  123675. unaryMinus$0() {
  123676. return new A.UnitlessSassNumber0(-this._number1$_value, null);
  123677. },
  123678. $eq(_, other) {
  123679. if (other == null)
  123680. return false;
  123681. return other instanceof A.UnitlessSassNumber0 && A.fuzzyEquals0(this._number1$_value, other._number1$_value);
  123682. },
  123683. get$hashCode(_) {
  123684. var t1 = this.hashCache;
  123685. return t1 == null ? this.hashCache = A.fuzzyHashCode0(this._number1$_value) : t1;
  123686. }
  123687. };
  123688. A.UniversalSelector0.prototype = {
  123689. get$specificity() {
  123690. return 0;
  123691. },
  123692. accept$1$1(visitor) {
  123693. return visitor.visitUniversalSelector$1(this);
  123694. },
  123695. accept$1(visitor) {
  123696. return this.accept$1$1(visitor, type$.dynamic);
  123697. },
  123698. unify$1(compound) {
  123699. var _0_4, t1, rest, unified, t2, _this = this, _null = null,
  123700. _0_1 = compound.length,
  123701. _0_4_isSet = _0_1 >= 1;
  123702. if (_0_4_isSet) {
  123703. _0_4 = compound[0];
  123704. if (!(_0_4 instanceof A.UniversalSelector0))
  123705. t1 = _0_4 instanceof A.TypeSelector0;
  123706. else
  123707. t1 = true;
  123708. rest = t1 ? B.JSArray_methods.sublist$1(compound, 1) : _null;
  123709. } else {
  123710. rest = _null;
  123711. _0_4 = rest;
  123712. t1 = false;
  123713. }
  123714. if (t1) {
  123715. unified = A.unifyUniversalAndElement0(_this, B.JSArray_methods.get$first(compound));
  123716. if (unified == null)
  123717. return _null;
  123718. t1 = A._setArrayType([unified], type$.JSArray_SimpleSelector_2);
  123719. B.JSArray_methods.addAll$1(t1, rest);
  123720. return t1;
  123721. }
  123722. t1 = false;
  123723. if (_0_1 === 1) {
  123724. if (_0_4_isSet)
  123725. t2 = _0_4;
  123726. else {
  123727. _0_4 = compound[0];
  123728. t2 = _0_4;
  123729. _0_4_isSet = true;
  123730. }
  123731. if (t2 instanceof A.PseudoSelector0) {
  123732. t2 = _0_4_isSet ? _0_4 : compound[0];
  123733. type$.PseudoSelector_2._as(t2);
  123734. t1 = t2.isClass && t2.name === "host" || t2.get$isHostContext();
  123735. }
  123736. }
  123737. if (t1)
  123738. return _null;
  123739. if (_0_1 <= 0)
  123740. return A._setArrayType([_this], type$.JSArray_SimpleSelector_2);
  123741. t1 = _this.namespace;
  123742. if (t1 == null || t1 === "*")
  123743. t1 = compound;
  123744. else {
  123745. t1 = A._setArrayType([_this], type$.JSArray_SimpleSelector_2);
  123746. B.JSArray_methods.addAll$1(t1, compound);
  123747. }
  123748. return t1;
  123749. },
  123750. isSuperselector$1(other) {
  123751. var t1 = this.namespace;
  123752. if (t1 === "*")
  123753. return true;
  123754. if (other instanceof A.TypeSelector0)
  123755. return t1 == other.name.namespace;
  123756. if (other instanceof A.UniversalSelector0)
  123757. return t1 == other.namespace;
  123758. return t1 == null || this.super$SimpleSelector$isSuperselector0(other);
  123759. },
  123760. $eq(_, other) {
  123761. if (other == null)
  123762. return false;
  123763. return other instanceof A.UniversalSelector0 && other.namespace == this.namespace;
  123764. },
  123765. get$hashCode(_) {
  123766. return J.get$hashCode$(this.namespace);
  123767. }
  123768. };
  123769. A.UnprefixedMapView0.prototype = {
  123770. get$keys(_) {
  123771. return new A._UnprefixedKeys0(this);
  123772. },
  123773. $index(_, key) {
  123774. return typeof key == "string" ? this._unprefixed_map_view0$_map.$index(0, this._unprefixed_map_view0$_prefix + key) : null;
  123775. },
  123776. containsKey$1(key) {
  123777. return typeof key == "string" && this._unprefixed_map_view0$_map.containsKey$1(this._unprefixed_map_view0$_prefix + key);
  123778. },
  123779. remove$1(_, key) {
  123780. var t1 = this._unprefixed_map_view0$_map.remove$1(0, this._unprefixed_map_view0$_prefix + key);
  123781. return t1;
  123782. }
  123783. };
  123784. A._UnprefixedKeys0.prototype = {
  123785. get$iterator(_) {
  123786. var t1 = this._unprefixed_map_view0$_view._unprefixed_map_view0$_map;
  123787. 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);
  123788. return t1.get$iterator(t1);
  123789. },
  123790. contains$1(_, key) {
  123791. return this._unprefixed_map_view0$_view.containsKey$1(key);
  123792. }
  123793. };
  123794. A._UnprefixedKeys_iterator_closure1.prototype = {
  123795. call$1(key) {
  123796. return B.JSString_methods.startsWith$1(key, this.$this._unprefixed_map_view0$_view._unprefixed_map_view0$_prefix);
  123797. },
  123798. $signature: 5
  123799. };
  123800. A._UnprefixedKeys_iterator_closure2.prototype = {
  123801. call$1(key) {
  123802. return B.JSString_methods.substring$1(key, this.$this._unprefixed_map_view0$_view._unprefixed_map_view0$_prefix.length);
  123803. },
  123804. $signature: 6
  123805. };
  123806. A.JSUrl0.prototype = {};
  123807. A.UseRule0.prototype = {
  123808. UseRule$4$configuration0(url, namespace, span, configuration) {
  123809. var t1, t2, _i, variable;
  123810. for (t1 = this.configuration, t2 = t1.length, _i = 0; _i < t2; ++_i) {
  123811. variable = t1[_i];
  123812. if (variable.isGuarded)
  123813. throw A.wrapException(A.ArgumentError$value(variable, "configured variable", "can't be guarded in a @use rule."));
  123814. }
  123815. },
  123816. accept$1$1(visitor) {
  123817. return visitor.visitUseRule$1(0, this);
  123818. },
  123819. accept$1(visitor) {
  123820. return this.accept$1$1(visitor, type$.dynamic);
  123821. },
  123822. toString$0(_) {
  123823. var t1 = this.url,
  123824. t2 = "@use " + A.StringExpression_quoteText0(t1.toString$0(0)),
  123825. basename = t1.get$pathSegments().length === 0 ? "" : B.JSArray_methods.get$last(t1.get$pathSegments()),
  123826. dot = B.JSString_methods.indexOf$1(basename, ".");
  123827. t1 = this.namespace;
  123828. if (t1 !== B.JSString_methods.substring$2(basename, 0, dot === -1 ? basename.length : dot))
  123829. t1 = t2 + (" as " + (t1 == null ? "*" : t1));
  123830. else
  123831. t1 = t2;
  123832. t2 = this.configuration;
  123833. t1 = (t2.length !== 0 ? t1 + (" with (" + B.JSArray_methods.join$1(t2, ", ") + ")") : t1) + ";";
  123834. return t1.charCodeAt(0) == 0 ? t1 : t1;
  123835. },
  123836. get$span(receiver) {
  123837. return this.span;
  123838. }
  123839. };
  123840. A.UserDefinedCallable0.prototype = {
  123841. get$name(_) {
  123842. return this.declaration.name;
  123843. },
  123844. $isAsyncCallable0: 1,
  123845. $isCallable: 1
  123846. };
  123847. A.resolveImportPath_closure1.prototype = {
  123848. call$0() {
  123849. return A._exactlyOne0(A._tryPath0($.$get$context().withoutExtension$1(this.path) + ".import" + this.extension));
  123850. },
  123851. $signature: 45
  123852. };
  123853. A.resolveImportPath_closure2.prototype = {
  123854. call$0() {
  123855. return A._exactlyOne0(A._tryPathWithExtensions0(this.path + ".import"));
  123856. },
  123857. $signature: 45
  123858. };
  123859. A._tryPathAsDirectory_closure0.prototype = {
  123860. call$0() {
  123861. return A._exactlyOne0(A._tryPathWithExtensions0(A.join(this.path, "index.import", null)));
  123862. },
  123863. $signature: 45
  123864. };
  123865. A._exactlyOne_closure0.prototype = {
  123866. call$1(path) {
  123867. var t1 = $.$get$context();
  123868. return " " + t1.prettyUri$1(t1.toUri$1(path));
  123869. },
  123870. $signature: 6
  123871. };
  123872. A._PropertyDescriptor0.prototype = {};
  123873. A.futureToPromise_closure0.prototype = {
  123874. call$2(resolve, reject) {
  123875. this.future.then$1$2$onError(0, new A.futureToPromise__closure0(resolve), new A.futureToPromise__closure1(reject), type$.void);
  123876. },
  123877. $signature: 617
  123878. };
  123879. A.futureToPromise__closure0.prototype = {
  123880. call$1(result) {
  123881. return this.resolve.call$1(result);
  123882. },
  123883. $signature: 35
  123884. };
  123885. A.futureToPromise__closure1.prototype = {
  123886. call$2(error, stackTrace) {
  123887. A.attachTrace0(error, stackTrace);
  123888. this.reject.call$1(error);
  123889. },
  123890. $signature: 51
  123891. };
  123892. A.objectToMap_closure.prototype = {
  123893. call$2(key, value) {
  123894. this.map.$indexSet(0, key, value);
  123895. return value;
  123896. },
  123897. $signature: 126
  123898. };
  123899. A._RequireMain0.prototype = {};
  123900. A.indent_closure0.prototype = {
  123901. call$1(line) {
  123902. return B.JSString_methods.$mul(" ", this.indentation) + line;
  123903. },
  123904. $signature: 6
  123905. };
  123906. A.flattenVertically_closure1.prototype = {
  123907. call$1(inner) {
  123908. return A.QueueList_QueueList$from(inner, this.T);
  123909. },
  123910. $signature() {
  123911. return this.T._eval$1("QueueList<0>(Iterable<0>)");
  123912. }
  123913. };
  123914. A.flattenVertically_closure2.prototype = {
  123915. call$1(queue) {
  123916. this.result.push(queue.removeFirst$0());
  123917. return queue.get$length(0) === 0;
  123918. },
  123919. $signature() {
  123920. return this.T._eval$1("bool(QueueList<0>)");
  123921. }
  123922. };
  123923. A.longestCommonSubsequence_backtrack0.prototype = {
  123924. call$2(i, j) {
  123925. var selection, t1, _this = this;
  123926. if (i === -1 || j === -1)
  123927. return A._setArrayType([], _this.T._eval$1("JSArray<0>"));
  123928. selection = _this.selections[i][j];
  123929. if (selection != null) {
  123930. t1 = _this.call$2(i - 1, j - 1);
  123931. J.add$1$ax(t1, selection);
  123932. return t1;
  123933. }
  123934. t1 = _this.lengths;
  123935. return t1[i + 1][j] > t1[i][j + 1] ? _this.call$2(i, j - 1) : _this.call$2(i - 1, j);
  123936. },
  123937. $signature() {
  123938. return this.T._eval$1("List<0>(int,int)");
  123939. }
  123940. };
  123941. A.mapAddAll2_closure0.prototype = {
  123942. call$2(key, inner) {
  123943. var t1 = this.destination,
  123944. _0_0 = t1.$index(0, key);
  123945. if (_0_0 != null)
  123946. _0_0.addAll$1(0, inner);
  123947. else
  123948. t1.$indexSet(0, key, inner);
  123949. },
  123950. $signature() {
  123951. return this.K1._eval$1("@<0>")._bind$1(this.K2)._bind$1(this.V)._eval$1("~(1,Map<2,3>)");
  123952. }
  123953. };
  123954. A.CssValue0.prototype = {
  123955. $eq(_, other) {
  123956. if (other == null)
  123957. return false;
  123958. return this.$ti._is(other) && J.$eq$(other.value, this.value);
  123959. },
  123960. get$hashCode(_) {
  123961. return J.get$hashCode$(this.value);
  123962. },
  123963. toString$0(_) {
  123964. return J.toString$0$(this.value);
  123965. },
  123966. $isAstNode0: 1,
  123967. get$span(receiver) {
  123968. return this.span;
  123969. }
  123970. };
  123971. A.ValueExpression0.prototype = {
  123972. accept$1$1(visitor) {
  123973. return visitor.visitValueExpression$1(0, this);
  123974. },
  123975. accept$1(visitor) {
  123976. return this.accept$1$1(visitor, type$.dynamic);
  123977. },
  123978. toString$0(_) {
  123979. return this.value.toString$0(0);
  123980. },
  123981. get$span(receiver) {
  123982. return this.span;
  123983. }
  123984. };
  123985. A.valueClass_closure.prototype = {
  123986. call$0() {
  123987. var t2,
  123988. t1 = type$.JSClass,
  123989. jsClass = t1._as(self.Object.getPrototypeOf(J.get$$prototype$x(t1._as(B.C__SassNull0.constructor))).constructor);
  123990. A.JSClassExtension_setCustomInspect(jsClass, new A.valueClass__closure());
  123991. t1 = type$.String;
  123992. t2 = type$.Function;
  123993. 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));
  123994. 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));
  123995. return jsClass;
  123996. },
  123997. $signature: 15
  123998. };
  123999. A.valueClass__closure.prototype = {
  124000. call$1($self) {
  124001. return J.toString$0$($self);
  124002. },
  124003. $signature: 132
  124004. };
  124005. A.valueClass__closure0.prototype = {
  124006. call$1($self) {
  124007. return new self.immutable.List($self.get$asList());
  124008. },
  124009. $signature: 618
  124010. };
  124011. A.valueClass__closure1.prototype = {
  124012. call$1($self) {
  124013. return $self.get$hasBrackets();
  124014. },
  124015. $signature: 55
  124016. };
  124017. A.valueClass__closure2.prototype = {
  124018. call$1($self) {
  124019. return $self.get$isTruthy();
  124020. },
  124021. $signature: 55
  124022. };
  124023. A.valueClass__closure3.prototype = {
  124024. call$1($self) {
  124025. return $self.get$realNull();
  124026. },
  124027. $signature: 240
  124028. };
  124029. A.valueClass__closure4.prototype = {
  124030. call$1($self) {
  124031. return $self.get$separator($self).separator;
  124032. },
  124033. $signature: 619
  124034. };
  124035. A.valueClass__closure5.prototype = {
  124036. call$3($self, sassIndex, $name) {
  124037. return $self.sassIndexToListIndex$2(sassIndex, $name);
  124038. },
  124039. call$2($self, sassIndex) {
  124040. return this.call$3($self, sassIndex, null);
  124041. },
  124042. "call*": "call$3",
  124043. $requiredArgCount: 2,
  124044. $defaultValues() {
  124045. return [null];
  124046. },
  124047. $signature: 620
  124048. };
  124049. A.valueClass__closure6.prototype = {
  124050. call$2($self, index) {
  124051. return index < 1 && index >= -1 ? $self : self.undefined;
  124052. },
  124053. $signature: 248
  124054. };
  124055. A.valueClass__closure7.prototype = {
  124056. call$2($self, $name) {
  124057. return $self.assertBoolean$1($name);
  124058. },
  124059. call$1($self) {
  124060. return this.call$2($self, null);
  124061. },
  124062. "call*": "call$2",
  124063. $requiredArgCount: 1,
  124064. $defaultValues() {
  124065. return [null];
  124066. },
  124067. $signature: 621
  124068. };
  124069. A.valueClass__closure8.prototype = {
  124070. call$2($self, $name) {
  124071. return $self.assertCalculation$1($name);
  124072. },
  124073. call$1($self) {
  124074. return this.call$2($self, null);
  124075. },
  124076. "call*": "call$2",
  124077. $requiredArgCount: 1,
  124078. $defaultValues() {
  124079. return [null];
  124080. },
  124081. $signature: 622
  124082. };
  124083. A.valueClass__closure9.prototype = {
  124084. call$2($self, $name) {
  124085. return $self.assertColor$1($name);
  124086. },
  124087. call$1($self) {
  124088. return this.call$2($self, null);
  124089. },
  124090. "call*": "call$2",
  124091. $requiredArgCount: 1,
  124092. $defaultValues() {
  124093. return [null];
  124094. },
  124095. $signature: 623
  124096. };
  124097. A.valueClass__closure10.prototype = {
  124098. call$2($self, $name) {
  124099. return $self.assertFunction$1($name);
  124100. },
  124101. call$1($self) {
  124102. return this.call$2($self, null);
  124103. },
  124104. "call*": "call$2",
  124105. $requiredArgCount: 1,
  124106. $defaultValues() {
  124107. return [null];
  124108. },
  124109. $signature: 624
  124110. };
  124111. A.valueClass__closure11.prototype = {
  124112. call$2($self, $name) {
  124113. return $self.assertMap$1($name);
  124114. },
  124115. call$1($self) {
  124116. return this.call$2($self, null);
  124117. },
  124118. "call*": "call$2",
  124119. $requiredArgCount: 1,
  124120. $defaultValues() {
  124121. return [null];
  124122. },
  124123. $signature: 625
  124124. };
  124125. A.valueClass__closure12.prototype = {
  124126. call$2($self, $name) {
  124127. return $self.assertMixin$1($name);
  124128. },
  124129. call$1($self) {
  124130. return this.call$2($self, null);
  124131. },
  124132. "call*": "call$2",
  124133. $requiredArgCount: 1,
  124134. $defaultValues() {
  124135. return [null];
  124136. },
  124137. $signature: 626
  124138. };
  124139. A.valueClass__closure13.prototype = {
  124140. call$2($self, $name) {
  124141. return $self.assertNumber$1($name);
  124142. },
  124143. call$1($self) {
  124144. return this.call$2($self, null);
  124145. },
  124146. "call*": "call$2",
  124147. $requiredArgCount: 1,
  124148. $defaultValues() {
  124149. return [null];
  124150. },
  124151. $signature: 627
  124152. };
  124153. A.valueClass__closure14.prototype = {
  124154. call$2($self, $name) {
  124155. return $self.assertString$1($name);
  124156. },
  124157. call$1($self) {
  124158. return this.call$2($self, null);
  124159. },
  124160. "call*": "call$2",
  124161. $requiredArgCount: 1,
  124162. $defaultValues() {
  124163. return [null];
  124164. },
  124165. $signature: 628
  124166. };
  124167. A.valueClass__closure15.prototype = {
  124168. call$1($self) {
  124169. return $self.tryMap$0();
  124170. },
  124171. $signature: 629
  124172. };
  124173. A.valueClass__closure16.prototype = {
  124174. call$2($self, other) {
  124175. return $self.$eq(0, other);
  124176. },
  124177. $signature: 630
  124178. };
  124179. A.valueClass__closure17.prototype = {
  124180. call$2($self, _) {
  124181. return $self.get$hashCode($self);
  124182. },
  124183. call$1($self) {
  124184. return this.call$2($self, null);
  124185. },
  124186. "call*": "call$2",
  124187. $requiredArgCount: 1,
  124188. $defaultValues() {
  124189. return [null];
  124190. },
  124191. $signature: 631
  124192. };
  124193. A.valueClass__closure18.prototype = {
  124194. call$1($self) {
  124195. return $self.toString$0(0);
  124196. },
  124197. $signature: 225
  124198. };
  124199. A.Value0.prototype = {
  124200. get$isTruthy() {
  124201. return true;
  124202. },
  124203. get$separator(_) {
  124204. return B.ListSeparator_undecided_null_undecided0;
  124205. },
  124206. get$hasBrackets() {
  124207. return false;
  124208. },
  124209. get$asList() {
  124210. return A._setArrayType([this], type$.JSArray_Value_2);
  124211. },
  124212. get$lengthAsList() {
  124213. return 1;
  124214. },
  124215. get$isBlank() {
  124216. return false;
  124217. },
  124218. get$isSpecialNumber() {
  124219. return false;
  124220. },
  124221. get$isVar() {
  124222. return false;
  124223. },
  124224. get$realNull() {
  124225. return this;
  124226. },
  124227. sassIndexToListIndex$2(sassIndex, $name) {
  124228. var t1, index,
  124229. indexValue = sassIndex.assertNumber$1($name);
  124230. if (indexValue.get$hasUnits()) {
  124231. t1 = indexValue.get$unitString();
  124232. 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);
  124233. }
  124234. index = indexValue.assertInt$1($name);
  124235. if (index === 0)
  124236. throw A.wrapException(A.SassScriptException$0("List index may not be 0.", $name));
  124237. if (Math.abs(index) > this.get$lengthAsList())
  124238. throw A.wrapException(A.SassScriptException$0("Invalid index " + sassIndex.toString$0(0) + " for a list with " + this.get$lengthAsList() + " elements.", $name));
  124239. return index < 0 ? this.get$lengthAsList() + index : index - 1;
  124240. },
  124241. assertBoolean$1($name) {
  124242. return A.throwExpression(A.SassScriptException$0(this.toString$0(0) + " is not a boolean.", $name));
  124243. },
  124244. assertCalculation$1($name) {
  124245. return A.throwExpression(A.SassScriptException$0(this.toString$0(0) + " is not a calculation.", $name));
  124246. },
  124247. assertColor$1($name) {
  124248. return A.throwExpression(A.SassScriptException$0(this.toString$0(0) + " is not a color.", $name));
  124249. },
  124250. assertFunction$1($name) {
  124251. return A.throwExpression(A.SassScriptException$0(this.toString$0(0) + " is not a function reference.", $name));
  124252. },
  124253. assertMixin$1($name) {
  124254. return A.throwExpression(A.SassScriptException$0(this.toString$0(0) + " is not a mixin reference.", $name));
  124255. },
  124256. assertMap$1($name) {
  124257. return A.throwExpression(A.SassScriptException$0(this.toString$0(0) + " is not a map.", $name));
  124258. },
  124259. tryMap$0() {
  124260. return null;
  124261. },
  124262. assertNumber$1($name) {
  124263. return A.throwExpression(A.SassScriptException$0(this.toString$0(0) + " is not a number.", $name));
  124264. },
  124265. assertNumber$0() {
  124266. return this.assertNumber$1(null);
  124267. },
  124268. assertString$1($name) {
  124269. return A.throwExpression(A.SassScriptException$0(this.toString$0(0) + " is not a string.", $name));
  124270. },
  124271. assertCommonListStyle$2$allowSlash($name, allowSlash) {
  124272. var invalidSeparator, buffer, t1, _this = this,
  124273. _s8_ = "Expected";
  124274. if (_this.get$separator(_this) !== B.ListSeparator_qVN0)
  124275. invalidSeparator = !allowSlash && _this.get$separator(_this) === B.ListSeparator_bRz0;
  124276. else
  124277. invalidSeparator = true;
  124278. if (!invalidSeparator && !_this.get$hasBrackets())
  124279. return _this.get$asList();
  124280. buffer = new A.StringBuffer(_s8_);
  124281. if (_this.get$hasBrackets()) {
  124282. t1 = "Expected" + " an unbracketed";
  124283. buffer._contents = t1;
  124284. } else
  124285. t1 = _s8_;
  124286. if (invalidSeparator) {
  124287. t1 += _this.get$hasBrackets() ? "," : " a";
  124288. buffer._contents = t1;
  124289. t1 = buffer._contents = t1 + " space-";
  124290. t1 = buffer._contents = (allowSlash ? buffer._contents = t1 + " or slash-" : t1) + "separated";
  124291. }
  124292. buffer._contents = t1 + (" list, was " + _this.toString$0(0));
  124293. throw A.wrapException(A.SassScriptException$0(buffer.toString$0(0), $name));
  124294. },
  124295. _value$_selectorString$1($name) {
  124296. var _0_0 = this._value$_selectorStringOrNull$0();
  124297. if (_0_0 != null)
  124298. return _0_0;
  124299. throw A.wrapException(A.SassScriptException$0(this.toString$0(0) + string$.x20is_noav, $name));
  124300. },
  124301. _value$_selectorStringOrNull$0() {
  124302. var t1, t2, result, _1_0, _i, complex, string, compound, _this = this, _null = null;
  124303. if (_this instanceof A.SassString0)
  124304. return _this._string0$_text;
  124305. if (!(_this instanceof A.SassList0))
  124306. return _null;
  124307. t1 = _this._list1$_contents;
  124308. t2 = t1.length;
  124309. if (t2 === 0)
  124310. return _null;
  124311. result = A._setArrayType([], type$.JSArray_String);
  124312. $label0$1: {
  124313. _1_0 = _this._list1$_separator;
  124314. if (B.ListSeparator_qVN0 === _1_0) {
  124315. for (_i = 0; _i < t2; ++_i) {
  124316. complex = t1[_i];
  124317. if (complex instanceof A.SassString0) {
  124318. result.push(complex._string0$_text);
  124319. continue;
  124320. }
  124321. if (complex instanceof A.SassList0 && B.ListSeparator_qSL0 === complex._list1$_separator) {
  124322. string = complex._value$_selectorStringOrNull$0();
  124323. if (string == null)
  124324. return _null;
  124325. result.push(string);
  124326. continue;
  124327. }
  124328. return _null;
  124329. }
  124330. break $label0$1;
  124331. }
  124332. if (B.ListSeparator_bRz0 === _1_0)
  124333. return _null;
  124334. for (_i = 0; _i < t2; ++_i) {
  124335. compound = t1[_i];
  124336. if (!(compound instanceof A.SassString0))
  124337. return _null;
  124338. result.push(compound._string0$_text);
  124339. }
  124340. }
  124341. return B.JSArray_methods.join$1(result, _1_0 === B.ListSeparator_qVN0 ? ", " : " ");
  124342. },
  124343. withListContents$2$separator(contents, separator) {
  124344. var t1 = separator == null ? this.get$separator(this) : separator,
  124345. t2 = this.get$hasBrackets();
  124346. return A.SassList$0(contents, t1, t2);
  124347. },
  124348. withListContents$1(contents) {
  124349. return this.withListContents$2$separator(contents, null);
  124350. },
  124351. greaterThan$1(other) {
  124352. return A.throwExpression(A.SassScriptException$0('Undefined operation "' + this.toString$0(0) + " > " + other.toString$0(0) + '".', null));
  124353. },
  124354. greaterThanOrEquals$1(other) {
  124355. return A.throwExpression(A.SassScriptException$0('Undefined operation "' + this.toString$0(0) + " >= " + other.toString$0(0) + '".', null));
  124356. },
  124357. lessThan$1(other) {
  124358. return A.throwExpression(A.SassScriptException$0('Undefined operation "' + this.toString$0(0) + " < " + other.toString$0(0) + '".', null));
  124359. },
  124360. lessThanOrEquals$1(other) {
  124361. return A.throwExpression(A.SassScriptException$0('Undefined operation "' + this.toString$0(0) + " <= " + other.toString$0(0) + '".', null));
  124362. },
  124363. times$1(other) {
  124364. return A.throwExpression(A.SassScriptException$0('Undefined operation "' + this.toString$0(0) + " * " + other.toString$0(0) + '".', null));
  124365. },
  124366. modulo$1(other) {
  124367. return A.throwExpression(A.SassScriptException$0('Undefined operation "' + this.toString$0(0) + " % " + other.toString$0(0) + '".', null));
  124368. },
  124369. plus$1(other) {
  124370. var t1;
  124371. $label0$0: {
  124372. if (other instanceof A.SassString0) {
  124373. t1 = new A.SassString0(A.serializeValue0(this, false, true) + other._string0$_text, other._string0$_hasQuotes);
  124374. break $label0$0;
  124375. }
  124376. if (other instanceof A.SassCalculation0)
  124377. A.throwExpression(A.SassScriptException$0('Undefined operation "' + this.toString$0(0) + " + " + other.toString$0(0) + '".', null));
  124378. t1 = new A.SassString0(A.serializeValue0(this, false, true) + A.serializeValue0(other, false, true), false);
  124379. break $label0$0;
  124380. }
  124381. return t1;
  124382. },
  124383. minus$1(other) {
  124384. 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);
  124385. },
  124386. dividedBy$1(other) {
  124387. return new A.SassString0(A.serializeValue0(this, false, true) + "/" + A.serializeValue0(other, false, true), false);
  124388. },
  124389. unaryPlus$0() {
  124390. return new A.SassString0("+" + A.serializeValue0(this, false, true), false);
  124391. },
  124392. unaryMinus$0() {
  124393. return new A.SassString0("-" + A.serializeValue0(this, false, true), false);
  124394. },
  124395. unaryNot$0() {
  124396. return B.SassBoolean_false0;
  124397. },
  124398. withoutSlash$0() {
  124399. return this;
  124400. },
  124401. toString$0(_) {
  124402. return A.serializeValue0(this, true, true);
  124403. }
  124404. };
  124405. A.VariableExpression0.prototype = {
  124406. accept$1$1(visitor) {
  124407. return visitor.visitVariableExpression$1(0, this);
  124408. },
  124409. accept$1(visitor) {
  124410. return this.accept$1$1(visitor, type$.dynamic);
  124411. },
  124412. toString$0(_) {
  124413. var t1 = this.span;
  124414. return A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t1.file._decodedChars, t1._file$_start, t1._end), 0, null);
  124415. },
  124416. get$span(receiver) {
  124417. return this.span;
  124418. }
  124419. };
  124420. A.VariableDeclaration0.prototype = {
  124421. accept$1$1(visitor) {
  124422. return visitor.visitVariableDeclaration$1(0, this);
  124423. },
  124424. accept$1(visitor) {
  124425. return this.accept$1$1(visitor, type$.dynamic);
  124426. },
  124427. toString$0(_) {
  124428. var t1 = this.namespace;
  124429. t1 = t1 != null ? "" + (t1 + ".") : "";
  124430. t1 += "$" + this.name + ": " + this.expression.toString$0(0) + ";";
  124431. return t1.charCodeAt(0) == 0 ? t1 : t1;
  124432. },
  124433. get$span(receiver) {
  124434. return this.span;
  124435. }
  124436. };
  124437. A.WarnRule0.prototype = {
  124438. accept$1$1(visitor) {
  124439. return visitor.visitWarnRule$1(0, this);
  124440. },
  124441. accept$1(visitor) {
  124442. return this.accept$1$1(visitor, type$.dynamic);
  124443. },
  124444. toString$0(_) {
  124445. return "@warn " + this.expression.toString$0(0) + ";";
  124446. },
  124447. get$span(receiver) {
  124448. return this.span;
  124449. }
  124450. };
  124451. A.WhileRule0.prototype = {
  124452. accept$1$1(visitor) {
  124453. return visitor.visitWhileRule$1(0, this);
  124454. },
  124455. accept$1(visitor) {
  124456. return this.accept$1$1(visitor, type$.dynamic);
  124457. },
  124458. toString$0(_) {
  124459. var t1 = this.children;
  124460. return "@while " + this.condition.toString$0(0) + " {" + (t1 && B.JSArray_methods).join$1(t1, " ") + "}";
  124461. },
  124462. get$span(receiver) {
  124463. return this.span;
  124464. }
  124465. };
  124466. A.XyzD50ColorSpace0.prototype = {
  124467. get$isBoundedInternal() {
  124468. return false;
  124469. },
  124470. convert$10$missingA$missingB$missingChroma$missingHue$missingLightness(dest, x, y, z, alpha, missingA, missingB, missingChroma, missingHue, missingLightness) {
  124471. var f0, f1, f2, lightness, a, b, t1, _this = this, _null = null;
  124472. if (B.LabColorSpace_2nT0 === dest || B.LchColorSpace_Bpv0 === dest) {
  124473. f0 = _this._xyz_d50$_convertComponentToLabF$1((x == null ? 0 : x) / 0.9642956764295677);
  124474. f1 = _this._xyz_d50$_convertComponentToLabF$1((y == null ? 0 : y) / 1);
  124475. f2 = _this._xyz_d50$_convertComponentToLabF$1((z == null ? 0 : z) / 0.8251046025104602);
  124476. lightness = missingLightness ? _null : 116 * f1 - 16;
  124477. a = 500 * (f0 - f1);
  124478. b = 200 * (f1 - f2);
  124479. if (dest === B.LabColorSpace_2nT0) {
  124480. t1 = missingA ? _null : a;
  124481. t1 = A.SassColor$_forSpace0(B.LabColorSpace_2nT0, lightness, t1, missingB ? _null : b, alpha, _null);
  124482. } else
  124483. t1 = A.labToLch0(B.LchColorSpace_Bpv0, lightness, a, b, alpha, missingChroma, missingHue);
  124484. return t1;
  124485. }
  124486. return _this.super$ColorSpace$convertLinear0(dest, x, y, z, alpha, missingA, missingB, missingChroma, missingHue, missingLightness);
  124487. },
  124488. convert$5(dest, x, y, z, alpha) {
  124489. return this.convert$10$missingA$missingB$missingChroma$missingHue$missingLightness(dest, x, y, z, alpha, false, false, false, false, false);
  124490. },
  124491. _xyz_d50$_convertComponentToLabF$1(component) {
  124492. return component > 0.008856451679035631 ? Math.pow(component, 0.3333333333333333) + 0 : (903.2962962962963 * component + 16) / 116;
  124493. },
  124494. toLinear$1(channel) {
  124495. return channel;
  124496. },
  124497. fromLinear$1(channel) {
  124498. return channel;
  124499. },
  124500. transformationMatrix$1(dest) {
  124501. var t1;
  124502. $label0$0: {
  124503. if (B.SrgbLinearColorSpace_kUj0 === dest || B.SrgbColorSpace_thf0 === dest || B.RgbColorSpace_i0P0 === dest) {
  124504. t1 = $.$get$xyzD50ToLinearSrgb0();
  124505. break $label0$0;
  124506. }
  124507. if (B.A98RgbColorSpace_lf20 === dest) {
  124508. t1 = $.$get$xyzD50ToLinearA98Rgb0();
  124509. break $label0$0;
  124510. }
  124511. if (B.ProphotoRgbColorSpace_BDz0 === dest) {
  124512. t1 = $.$get$xyzD50ToLinearProphotoRgb0();
  124513. break $label0$0;
  124514. }
  124515. if (B.DisplayP3ColorSpace_MmT0 === dest) {
  124516. t1 = $.$get$xyzD50ToLinearDisplayP30();
  124517. break $label0$0;
  124518. }
  124519. if (B.Rec2020ColorSpace_6oo0 === dest) {
  124520. t1 = $.$get$xyzD50ToLinearRec20200();
  124521. break $label0$0;
  124522. }
  124523. if (B.XyzD65ColorSpace_WiJ0 === dest) {
  124524. t1 = $.$get$xyzD50ToXyzD650();
  124525. break $label0$0;
  124526. }
  124527. if (B.LmsColorSpace_Os30 === dest) {
  124528. t1 = $.$get$xyzD50ToLms0();
  124529. break $label0$0;
  124530. }
  124531. t1 = this.super$ColorSpace$transformationMatrix0(dest);
  124532. break $label0$0;
  124533. }
  124534. return t1;
  124535. }
  124536. };
  124537. A.XyzD65ColorSpace0.prototype = {
  124538. get$isBoundedInternal() {
  124539. return false;
  124540. },
  124541. toLinear$1(channel) {
  124542. return channel;
  124543. },
  124544. fromLinear$1(channel) {
  124545. return channel;
  124546. },
  124547. transformationMatrix$1(dest) {
  124548. var t1;
  124549. $label0$0: {
  124550. if (B.SrgbLinearColorSpace_kUj0 === dest || B.SrgbColorSpace_thf0 === dest || B.RgbColorSpace_i0P0 === dest) {
  124551. t1 = $.$get$xyzD65ToLinearSrgb0();
  124552. break $label0$0;
  124553. }
  124554. if (B.A98RgbColorSpace_lf20 === dest) {
  124555. t1 = $.$get$xyzD65ToLinearA98Rgb0();
  124556. break $label0$0;
  124557. }
  124558. if (B.ProphotoRgbColorSpace_BDz0 === dest) {
  124559. t1 = $.$get$xyzD65ToLinearProphotoRgb0();
  124560. break $label0$0;
  124561. }
  124562. if (B.DisplayP3ColorSpace_MmT0 === dest) {
  124563. t1 = $.$get$xyzD65ToLinearDisplayP30();
  124564. break $label0$0;
  124565. }
  124566. if (B.Rec2020ColorSpace_6oo0 === dest) {
  124567. t1 = $.$get$xyzD65ToLinearRec20200();
  124568. break $label0$0;
  124569. }
  124570. if (B.XyzD50ColorSpace_2OB0 === dest) {
  124571. t1 = $.$get$xyzD65ToXyzD500();
  124572. break $label0$0;
  124573. }
  124574. if (B.LmsColorSpace_Os30 === dest) {
  124575. t1 = $.$get$xyzD65ToLms0();
  124576. break $label0$0;
  124577. }
  124578. t1 = this.super$ColorSpace$transformationMatrix0(dest);
  124579. break $label0$0;
  124580. }
  124581. return t1;
  124582. }
  124583. };
  124584. (function aliases() {
  124585. var _ = J.LegacyJavaScriptObject.prototype;
  124586. _.super$LegacyJavaScriptObject$toString = _.toString$0;
  124587. _ = A.JsLinkedHashMap.prototype;
  124588. _.super$JsLinkedHashMap$internalContainsKey = _.internalContainsKey$1;
  124589. _.super$JsLinkedHashMap$internalGet = _.internalGet$1;
  124590. _.super$JsLinkedHashMap$internalSet = _.internalSet$2;
  124591. _.super$JsLinkedHashMap$internalRemove = _.internalRemove$1;
  124592. _ = A._BufferingStreamSubscription.prototype;
  124593. _.super$_BufferingStreamSubscription$_add = _._async$_add$1;
  124594. _.super$_BufferingStreamSubscription$_addError = _._addError$2;
  124595. _ = A.ListBase.prototype;
  124596. _.super$ListBase$setRange = _.setRange$4;
  124597. _ = A.Iterable.prototype;
  124598. _.super$Iterable$where = _.where$1;
  124599. _.super$Iterable$skipWhile = _.skipWhile$1;
  124600. _ = A.ModifiableCssParentNode.prototype;
  124601. _.super$ModifiableCssParentNode$addChild = _.addChild$1;
  124602. _ = A.SimpleSelector.prototype;
  124603. _.super$SimpleSelector$addSuffix = _.addSuffix$1;
  124604. _.super$SimpleSelector$unify = _.unify$1;
  124605. _.super$SimpleSelector$isSuperselector = _.isSuperselector$1;
  124606. _ = A.Parser.prototype;
  124607. _.super$Parser$silentComment = _.silentComment$0;
  124608. _ = A.StylesheetParser.prototype;
  124609. _.super$StylesheetParser$importArgument = _.importArgument$0;
  124610. _.super$StylesheetParser$namespacedExpression = _.namespacedExpression$2;
  124611. _ = A.Value.prototype;
  124612. _.super$Value$assertMap = _.assertMap$1;
  124613. _.super$Value$plus = _.plus$1;
  124614. _.super$Value$minus = _.minus$1;
  124615. _.super$Value$dividedBy = _.dividedBy$1;
  124616. _.super$Value$toString = _.toString$0;
  124617. _ = A.ColorSpace.prototype;
  124618. _.super$ColorSpace$convert = _.convert$5;
  124619. _.super$ColorSpace$convertLinear = _.convertLinear$10$missingA$missingB$missingChroma$missingHue$missingLightness;
  124620. _.super$ColorSpace$transformationMatrix = _.transformationMatrix$1;
  124621. _ = A.SassNumber.prototype;
  124622. _.super$SassNumber$convertValueToMatch = _.convertValueToMatch$3;
  124623. _.super$SassNumber$coerce = _.coerce$3;
  124624. _.super$SassNumber$coerceValue = _.coerceValue$3;
  124625. _.super$SassNumber$coerceValueToUnit = _.coerceValueToUnit$2;
  124626. _.super$SassNumber$coerceToMatch = _.coerceToMatch$3;
  124627. _.super$SassNumber$coerceValueToMatch = _.coerceValueToMatch$3;
  124628. _.super$SassNumber$greaterThan = _.greaterThan$1;
  124629. _.super$SassNumber$greaterThanOrEquals = _.greaterThanOrEquals$1;
  124630. _.super$SassNumber$lessThan = _.lessThan$1;
  124631. _.super$SassNumber$lessThanOrEquals = _.lessThanOrEquals$1;
  124632. _.super$SassNumber$modulo = _.modulo$1;
  124633. _.super$SassNumber$plus = _.plus$1;
  124634. _.super$SassNumber$minus = _.minus$1;
  124635. _.super$SassNumber$times = _.times$1;
  124636. _.super$SassNumber$dividedBy = _.dividedBy$1;
  124637. _ = A.AnySelectorVisitor.prototype;
  124638. _.super$AnySelectorVisitor$visitComplexSelector = _.visitComplexSelector$1;
  124639. _ = A.EveryCssVisitor.prototype;
  124640. _.super$EveryCssVisitor$visitCssStyleRule = _.visitCssStyleRule$1;
  124641. _ = A.ReplaceExpressionVisitor.prototype;
  124642. _.super$ReplaceExpressionVisitor$visitBinaryOperationExpression = _.visitBinaryOperationExpression$1;
  124643. _.super$ReplaceExpressionVisitor$visitUnaryOperationExpression = _.visitUnaryOperationExpression$1;
  124644. _ = A.SourceSpanMixin.prototype;
  124645. _.super$SourceSpanMixin$compareTo = _.compareTo$1;
  124646. _.super$SourceSpanMixin$$eq = _.$eq;
  124647. _ = A.StringScanner.prototype;
  124648. _.super$StringScanner$readChar = _.readChar$0;
  124649. _.super$StringScanner$scanChar = _.scanChar$1;
  124650. _.super$StringScanner$scan = _.scan$1;
  124651. _.super$StringScanner$matches = _.matches$1;
  124652. _ = A.AnySelectorVisitor0.prototype;
  124653. _.super$AnySelectorVisitor$visitComplexSelector0 = _.visitComplexSelector$1;
  124654. _ = A.EveryCssVisitor0.prototype;
  124655. _.super$EveryCssVisitor$visitCssStyleRule0 = _.visitCssStyleRule$1;
  124656. _ = A.ModifiableCssParentNode0.prototype;
  124657. _.super$ModifiableCssParentNode$addChild0 = _.addChild$1;
  124658. _ = A.SassNumber0.prototype;
  124659. _.super$SassNumber$convertToMatch = _.convertToMatch$3;
  124660. _.super$SassNumber$convertValueToMatch0 = _.convertValueToMatch$3;
  124661. _.super$SassNumber$coerce0 = _.coerce$3;
  124662. _.super$SassNumber$coerceValue0 = _.coerceValue$3;
  124663. _.super$SassNumber$coerceValueToUnit0 = _.coerceValueToUnit$2;
  124664. _.super$SassNumber$coerceToMatch0 = _.coerceToMatch$3;
  124665. _.super$SassNumber$coerceValueToMatch0 = _.coerceValueToMatch$3;
  124666. _.super$SassNumber$greaterThan0 = _.greaterThan$1;
  124667. _.super$SassNumber$greaterThanOrEquals0 = _.greaterThanOrEquals$1;
  124668. _.super$SassNumber$lessThan0 = _.lessThan$1;
  124669. _.super$SassNumber$lessThanOrEquals0 = _.lessThanOrEquals$1;
  124670. _.super$SassNumber$modulo0 = _.modulo$1;
  124671. _.super$SassNumber$plus0 = _.plus$1;
  124672. _.super$SassNumber$minus0 = _.minus$1;
  124673. _.super$SassNumber$times0 = _.times$1;
  124674. _.super$SassNumber$dividedBy0 = _.dividedBy$1;
  124675. _ = A.Parser1.prototype;
  124676. _.super$Parser$silentComment0 = _.silentComment$0;
  124677. _ = A.ReplaceExpressionVisitor0.prototype;
  124678. _.super$ReplaceExpressionVisitor$visitBinaryOperationExpression0 = _.visitBinaryOperationExpression$1;
  124679. _.super$ReplaceExpressionVisitor$visitUnaryOperationExpression0 = _.visitUnaryOperationExpression$1;
  124680. _ = A.SimpleSelector0.prototype;
  124681. _.super$SimpleSelector$addSuffix0 = _.addSuffix$1;
  124682. _.super$SimpleSelector$unify0 = _.unify$1;
  124683. _.super$SimpleSelector$isSuperselector0 = _.isSuperselector$1;
  124684. _ = A.ColorSpace0.prototype;
  124685. _.super$ColorSpace$convert0 = _.convert$5;
  124686. _.super$ColorSpace$convertLinear0 = _.convertLinear$10$missingA$missingB$missingChroma$missingHue$missingLightness;
  124687. _.super$ColorSpace$transformationMatrix0 = _.transformationMatrix$1;
  124688. _ = A.StylesheetParser0.prototype;
  124689. _.super$StylesheetParser$importArgument0 = _.importArgument$0;
  124690. _.super$StylesheetParser$namespacedExpression0 = _.namespacedExpression$2;
  124691. _ = A.Value0.prototype;
  124692. _.super$Value$assertMap0 = _.assertMap$1;
  124693. _.super$Value$plus0 = _.plus$1;
  124694. _.super$Value$minus0 = _.minus$1;
  124695. _.super$Value$dividedBy0 = _.dividedBy$1;
  124696. _.super$Value$toString0 = _.toString$0;
  124697. })();
  124698. (function installTearOffs() {
  124699. var _static_2 = hunkHelpers._static_2,
  124700. _instance_1_i = hunkHelpers._instance_1i,
  124701. _instance_1_u = hunkHelpers._instance_1u,
  124702. _static_1 = hunkHelpers._static_1,
  124703. _static_0 = hunkHelpers._static_0,
  124704. _static = hunkHelpers.installStaticTearOff,
  124705. _instance = hunkHelpers.installInstanceTearOff,
  124706. _instance_2_u = hunkHelpers._instance_2u,
  124707. _instance_0_i = hunkHelpers._instance_0i,
  124708. _instance_0_u = hunkHelpers._instance_0u;
  124709. _static_2(J, "_interceptors_JSArray__compareAny$closure", "JSArray__compareAny", 269);
  124710. _instance_1_i(J.JSArray.prototype, "get$contains", "contains$1", 9);
  124711. _instance_1_i(A._CastIterableBase.prototype, "get$contains", "contains$1", 9);
  124712. _instance_1_u(A.CastMap.prototype, "get$containsKey", "containsKey$1", 9);
  124713. _instance_1_u(A.ConstantStringMap.prototype, "get$containsKey", "containsKey$1", 9);
  124714. _instance_1_i(A.ConstantStringSet.prototype, "get$contains", "contains$1", 9);
  124715. _instance_1_i(A.GeneralConstantSet.prototype, "get$contains", "contains$1", 9);
  124716. _instance_1_u(A.JsLinkedHashMap.prototype, "get$containsKey", "containsKey$1", 9);
  124717. _static_1(A, "async__AsyncRun__scheduleImmediateJsOverride$closure", "_AsyncRun__scheduleImmediateJsOverride", 137);
  124718. _static_1(A, "async__AsyncRun__scheduleImmediateWithSetImmediate$closure", "_AsyncRun__scheduleImmediateWithSetImmediate", 137);
  124719. _static_1(A, "async__AsyncRun__scheduleImmediateWithTimer$closure", "_AsyncRun__scheduleImmediateWithTimer", 137);
  124720. _static_0(A, "async___startMicrotaskLoop$closure", "_startMicrotaskLoop", 0);
  124721. _static_1(A, "async___nullDataHandler$closure", "_nullDataHandler", 75);
  124722. _static_2(A, "async___nullErrorHandler$closure", "_nullErrorHandler", 68);
  124723. _static_0(A, "async___nullDoneHandler$closure", "_nullDoneHandler", 0);
  124724. _static(A, "async___rootHandleUncaughtError$closure", 5, null, ["call$5"], ["_rootHandleUncaughtError"], 634, 0);
  124725. _static(A, "async___rootRun$closure", 4, null, ["call$1$4", "call$4"], ["_rootRun", function($self, $parent, zone, f) {
  124726. f.toString;
  124727. return A._rootRun($self, $parent, zone, f, type$.dynamic);
  124728. }], 635, 1);
  124729. _static(A, "async___rootRunUnary$closure", 5, null, ["call$2$5", "call$5"], ["_rootRunUnary", function($self, $parent, zone, f, arg) {
  124730. var t1 = type$.dynamic;
  124731. f.toString;
  124732. return A._rootRunUnary($self, $parent, zone, f, arg, t1, t1);
  124733. }], 636, 1);
  124734. _static(A, "async___rootRunBinary$closure", 6, null, ["call$3$6", "call$6"], ["_rootRunBinary", function($self, $parent, zone, f, arg1, arg2) {
  124735. var t1 = type$.dynamic;
  124736. f.toString;
  124737. return A._rootRunBinary($self, $parent, zone, f, arg1, arg2, t1, t1, t1);
  124738. }], 637, 1);
  124739. _static(A, "async___rootRegisterCallback$closure", 4, null, ["call$1$4", "call$4"], ["_rootRegisterCallback", function($self, $parent, zone, f) {
  124740. f.toString;
  124741. return A._rootRegisterCallback($self, $parent, zone, f, type$.dynamic);
  124742. }], 638, 0);
  124743. _static(A, "async___rootRegisterUnaryCallback$closure", 4, null, ["call$2$4", "call$4"], ["_rootRegisterUnaryCallback", function($self, $parent, zone, f) {
  124744. var t1 = type$.dynamic;
  124745. f.toString;
  124746. return A._rootRegisterUnaryCallback($self, $parent, zone, f, t1, t1);
  124747. }], 639, 0);
  124748. _static(A, "async___rootRegisterBinaryCallback$closure", 4, null, ["call$3$4", "call$4"], ["_rootRegisterBinaryCallback", function($self, $parent, zone, f) {
  124749. var t1 = type$.dynamic;
  124750. f.toString;
  124751. return A._rootRegisterBinaryCallback($self, $parent, zone, f, t1, t1, t1);
  124752. }], 640, 0);
  124753. _static(A, "async___rootErrorCallback$closure", 5, null, ["call$5"], ["_rootErrorCallback"], 641, 0);
  124754. _static(A, "async___rootScheduleMicrotask$closure", 4, null, ["call$4"], ["_rootScheduleMicrotask"], 642, 0);
  124755. _static(A, "async___rootCreateTimer$closure", 5, null, ["call$5"], ["_rootCreateTimer"], 643, 0);
  124756. _static(A, "async___rootCreatePeriodicTimer$closure", 5, null, ["call$5"], ["_rootCreatePeriodicTimer"], 644, 0);
  124757. _static(A, "async___rootPrint$closure", 4, null, ["call$4"], ["_rootPrint"], 645, 0);
  124758. _static_1(A, "async___printToZone$closure", "_printToZone", 115);
  124759. _static(A, "async___rootFork$closure", 5, null, ["call$5"], ["_rootFork"], 646, 0);
  124760. _instance(A._AsyncCompleter.prototype, "get$complete", 0, 0, function() {
  124761. return [null];
  124762. }, ["call$1", "call$0"], ["complete$1", "complete$0"], 217, 0, 0);
  124763. _instance_2_u(A._Future.prototype, "get$_completeError", "_completeError$2", 68);
  124764. var _;
  124765. _instance_1_i(_ = A._StreamController.prototype, "get$add", "add$1", 35);
  124766. _instance(_, "get$addError", 0, 1, function() {
  124767. return [null];
  124768. }, ["call$2", "call$1"], ["addError$2", "addError$1"], 145, 0, 0);
  124769. _instance_0_i(_, "get$close", "close$0", 322);
  124770. _instance_1_u(_, "get$_async$_add", "_async$_add$1", 35);
  124771. _instance_2_u(_, "get$_addError", "_addError$2", 68);
  124772. _instance_0_u(_, "get$_close", "_close$0", 0);
  124773. _instance_0_u(_ = A._ControllerSubscription.prototype, "get$_async$_onPause", "_async$_onPause$0", 0);
  124774. _instance_0_u(_, "get$_async$_onResume", "_async$_onResume$0", 0);
  124775. _instance(_ = A._BufferingStreamSubscription.prototype, "get$pause", 1, 0, null, ["call$1", "call$0"], ["pause$1", "pause$0"], 304, 0, 0);
  124776. _instance_0_i(_, "get$resume", "resume$0", 0);
  124777. _instance_0_u(_, "get$_async$_onPause", "_async$_onPause$0", 0);
  124778. _instance_0_u(_, "get$_async$_onResume", "_async$_onResume$0", 0);
  124779. _instance_1_u(_ = A._StreamIterator.prototype, "get$_onData", "_onData$1", 35);
  124780. _instance_2_u(_, "get$_onError", "_onError$2", 68);
  124781. _instance_0_u(_, "get$_onDone", "_onDone$0", 0);
  124782. _instance_0_u(_ = A._ForwardingStreamSubscription.prototype, "get$_async$_onPause", "_async$_onPause$0", 0);
  124783. _instance_0_u(_, "get$_async$_onResume", "_async$_onResume$0", 0);
  124784. _instance_1_u(_, "get$_handleData", "_handleData$1", 35);
  124785. _instance_2_u(_, "get$_handleError", "_handleError$2", 345);
  124786. _instance_0_u(_, "get$_handleDone", "_handleDone$0", 0);
  124787. _static_2(A, "collection___defaultEquals$closure", "_defaultEquals", 270);
  124788. _static_1(A, "collection___defaultHashCode$closure", "_defaultHashCode", 227);
  124789. _static_2(A, "collection_ListBase__compareAny$closure", "ListBase__compareAny", 269);
  124790. _instance_1_u(A._HashMap.prototype, "get$containsKey", "containsKey$1", 9);
  124791. _instance_1_u(A._LinkedCustomHashMap.prototype, "get$containsKey", "containsKey$1", 9);
  124792. _instance(_ = A._LinkedHashSet.prototype, "get$_newSimilarSet", 0, 0, null, ["call$1$0", "call$0"], ["_newSimilarSet$1$0", "_newSimilarSet$0"], 159, 0, 0);
  124793. _instance_1_i(_, "get$contains", "contains$1", 9);
  124794. _instance_1_i(_, "get$add", "add$1", 9);
  124795. _instance(A._LinkedIdentityHashSet.prototype, "get$_newSimilarSet", 0, 0, null, ["call$1$0", "call$0"], ["_newSimilarSet$1$0", "_newSimilarSet$0"], 159, 0, 0);
  124796. _instance_1_u(A.MapBase.prototype, "get$containsKey", "containsKey$1", 9);
  124797. _instance_1_u(A.MapView.prototype, "get$containsKey", "containsKey$1", 9);
  124798. _instance_1_i(A.UnmodifiableSetView.prototype, "get$contains", "contains$1", 9);
  124799. _static_1(A, "convert___defaultToEncodable$closure", "_defaultToEncodable", 100);
  124800. _instance_1_u(A._JsonMap.prototype, "get$containsKey", "containsKey$1", 9);
  124801. _static_1(A, "core__identityHashCode$closure", "identityHashCode", 227);
  124802. _static_2(A, "core__identical$closure", "identical", 270);
  124803. _static_1(A, "core_Uri_decodeComponent$closure", "Uri_decodeComponent", 6);
  124804. _instance_1_i(A.Iterable.prototype, "get$contains", "contains$1", 9);
  124805. _instance_1_i(A.StringBuffer.prototype, "get$write", "write$1", 35);
  124806. _static(A, "math0__max$closure", 2, null, ["call$1$2", "call$2"], ["max", function(a, b) {
  124807. a.toString;
  124808. b.toString;
  124809. return A.max(a, b, type$.num);
  124810. }], 649, 1);
  124811. _instance_1_u(A.ArgResults.prototype, "get$wasParsed", "wasParsed$1", 5);
  124812. _instance_1_u(_ = A.StreamCompleter.prototype, "get$setSourceStream", "setSourceStream$1", 35);
  124813. _instance(_, "get$setError", 0, 1, function() {
  124814. return [null];
  124815. }, ["call$2", "call$1"], ["setError$2", "setError$1"], 145, 0, 0);
  124816. _instance_0_u(_ = A.StreamGroup.prototype, "get$_onListen", "_onListen$0", 0);
  124817. _instance_0_u(_, "get$_onPause", "_onPause$0", 0);
  124818. _instance_0_u(_, "get$_onResume", "_onResume$0", 0);
  124819. _instance_0_u(_, "get$_onCancel", "_onCancel$0", 224);
  124820. _instance_0_i(A.ReplAdapter.prototype, "get$exit", "exit$0", 0);
  124821. _instance_1_i(A.EmptyUnmodifiableSet.prototype, "get$contains", "contains$1", 9);
  124822. _instance_1_i(A.UnionSet.prototype, "get$contains", "contains$1", 9);
  124823. _instance_1_i(A._DelegatingIterableBase.prototype, "get$contains", "contains$1", 9);
  124824. _instance_1_i(A.MapKeySet.prototype, "get$contains", "contains$1", 9);
  124825. _static_1(A, "version_Version___parse_tearOff$closure", "Version___parse_tearOff", 233);
  124826. _instance_1_u(A.VersionRange.prototype, "get$allows", "allows$1", 633);
  124827. _instance_1_u(A._IsInvisibleVisitor0.prototype, "get$visitComplexSelector", "visitComplexSelector$1", 19);
  124828. _instance_1_u(A._IsBogusVisitor.prototype, "get$visitComplexSelector", "visitComplexSelector$1", 19);
  124829. _instance_1_u(A._IsUselessVisitor.prototype, "get$visitComplexSelector", "visitComplexSelector$1", 19);
  124830. _instance_1_u(A.SelectorList.prototype, "get$isSuperselector", "isSuperselector$1", 69);
  124831. _instance_1_u(A.PseudoSelector.prototype, "get$isSuperselector", "isSuperselector$1", 14);
  124832. _instance_1_u(A.SimpleSelector.prototype, "get$isSuperselector", "isSuperselector$1", 14);
  124833. _instance_1_u(A.TypeSelector.prototype, "get$isSuperselector", "isSuperselector$1", 14);
  124834. _instance_1_u(A.UniversalSelector.prototype, "get$isSuperselector", "isSuperselector$1", 14);
  124835. _instance_1_u(A.EmptyExtensionStore.prototype, "get$addExtensions", "addExtensions$1", 208);
  124836. _instance_1_u(A.ExtensionStore.prototype, "get$addExtensions", "addExtensions$1", 208);
  124837. _static_1(A, "functions___isUnique$closure", "_isUnique", 14);
  124838. _instance_2_u(A.NodePackageImporter.prototype, "get$_compareExpansionKeys", "_compareExpansionKeys$2", 146);
  124839. _instance_0_u(A.CssParser.prototype, "get$silentComment", "silentComment$0", 20);
  124840. _instance_0_u(_ = A.Parser.prototype, "get$silentComment", "silentComment$0", 20);
  124841. _instance_0_u(_, "get$loudComment", "loudComment$0", 0);
  124842. _instance_0_u(_, "get$string", "string$0", 27);
  124843. _instance(_, "get$error", 1, 2, function() {
  124844. return [null];
  124845. }, ["call$3", "call$2"], ["error$3", "error$2"], 158, 0, 0);
  124846. _instance(_ = A.StylesheetParser.prototype, "get$_statement", 0, 0, null, ["call$1$root", "call$0"], ["_statement$1$root", "_statement$0"], 459, 0, 0);
  124847. _instance_0_u(_, "get$_declarationChild", "_declarationChild$0", 125);
  124848. _instance_0_u(_, "get$_functionChild", "_functionChild$0", 125);
  124849. _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);
  124850. _instance_0_u(_, "get$_number", "_number$0", 522);
  124851. _instance(A.LazyFileSpan.prototype, "get$message", 1, 1, function() {
  124852. return {color: null};
  124853. }, ["call$2$color", "call$1"], ["message$2$color", "message$1"], 123, 0, 0);
  124854. _instance_1_u(A.LimitedMapView.prototype, "get$containsKey", "containsKey$1", 9);
  124855. _instance_1_u(A.MergedMapView.prototype, "get$containsKey", "containsKey$1", 9);
  124856. _instance(A.MultiSpan.prototype, "get$message", 1, 1, function() {
  124857. return {color: null};
  124858. }, ["call$2$color", "call$1"], ["message$2$color", "message$1"], 163, 0, 0);
  124859. _instance_1_i(A.NoSourceMapBuffer.prototype, "get$write", "write$1", 35);
  124860. _instance_1_u(A.PrefixedMapView.prototype, "get$containsKey", "containsKey$1", 9);
  124861. _instance_1_u(A.PublicMemberMapView.prototype, "get$containsKey", "containsKey$1", 9);
  124862. _instance_1_i(A.SourceMapBuffer.prototype, "get$write", "write$1", 35);
  124863. _instance_1_u(A.UnprefixedMapView.prototype, "get$containsKey", "containsKey$1", 9);
  124864. _static_1(A, "utils__isPublic$closure", "isPublic", 5);
  124865. _static_1(A, "calculation_SassCalculation__simplify$closure", "SassCalculation__simplify", 78);
  124866. _instance_1_u(A.ColorChannel.prototype, "get$isAnalogous", "isAnalogous$1", 108);
  124867. _instance_1_u(A.SrgbColorSpace.prototype, "get$toLinear", "toLinear$1", 16);
  124868. _instance_1_u(A.AnySelectorVisitor.prototype, "get$visitComplexSelector", "visitComplexSelector$1", 19);
  124869. _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);
  124870. _instance_1_u(_, "get$_async_evaluate$_expressionNode", "_async_evaluate$_expressionNode$1", 166);
  124871. _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);
  124872. _instance_1_u(_, "get$_expressionNode", "_expressionNode$1", 166);
  124873. _instance_1_i(_ = A.RecursiveStatementVisitor.prototype, "get$visitContentBlock", "visitContentBlock$1", 651);
  124874. _instance_1_u(_, "get$visitChildren", "visitChildren$1", 273);
  124875. _instance_1_u(_ = A.SelectorSearchVisitor.prototype, "get$visitComplexSelector", "visitComplexSelector$1", "SelectorSearchVisitor.T?(ComplexSelector)");
  124876. _instance_1_u(_, "get$visitSelectorList", "visitSelectorList$1", "SelectorSearchVisitor.T?(SelectorList)");
  124877. _instance_1_u(_ = A._SerializeVisitor.prototype, "get$_visitMediaQuery", "_visitMediaQuery$1", 276);
  124878. _instance_1_u(_, "get$_specificities", "_specificities$1", 277);
  124879. _instance_1_u(_, "get$_writeCalculationValue", "_writeCalculationValue$1", 113);
  124880. _instance(_, "get$_writeChannel", 0, 1, null, ["call$2", "call$1"], ["_writeChannel$2", "_writeChannel$1"], 191, 0, 0);
  124881. _instance_1_u(_, "get$visitSelectorList", "visitSelectorList$1", 279);
  124882. _instance_1_u(_, "get$_requiresSemicolon", "_requiresSemicolon$1", 7);
  124883. _instance_1_i(_ = A.StatementSearchVisitor.prototype, "get$visitContentBlock", "visitContentBlock$1", "StatementSearchVisitor.T?(ContentBlock)");
  124884. _instance_1_u(_, "get$visitChildren", "visitChildren$1", "StatementSearchVisitor.T?(List<Statement>)");
  124885. _instance(A.SourceSpanMixin.prototype, "get$message", 1, 1, function() {
  124886. return {color: null};
  124887. }, ["call$2$color", "call$1"], ["message$2$color", "message$1"], 123, 0, 0);
  124888. _static_1(A, "frame_Frame___parseVM_tearOff$closure", "Frame___parseVM_tearOff", 96);
  124889. _static_1(A, "frame_Frame___parseV8_tearOff$closure", "Frame___parseV8_tearOff", 96);
  124890. _static_1(A, "frame_Frame___parseFirefox_tearOff$closure", "Frame___parseFirefox_tearOff", 96);
  124891. _static_1(A, "frame_Frame___parseFriendly_tearOff$closure", "Frame___parseFriendly_tearOff", 96);
  124892. _static_1(A, "trace_Trace___parseVM_tearOff$closure", "Trace___parseVM_tearOff", 185);
  124893. _static_1(A, "trace_Trace___parseFriendly_tearOff$closure", "Trace___parseFriendly_tearOff", 185);
  124894. _static(A, "from_handlers__TransformByHandlers__defaultHandleError$closure", 3, null, ["call$1$3", "call$3"], ["TransformByHandlers__defaultHandleError", function(error, stackTrace, sink) {
  124895. return A.TransformByHandlers__defaultHandleError(error, stackTrace, sink, type$.dynamic);
  124896. }], 652, 0);
  124897. _static(A, "rate_limit___collect$closure", 2, null, ["call$1$2", "call$2"], ["_collect", function($event, soFar) {
  124898. return A._collect($event, soFar, type$.dynamic);
  124899. }], 653, 0);
  124900. _instance_1_u(A.AnySelectorVisitor0.prototype, "get$visitComplexSelector", "visitComplexSelector$1", 21);
  124901. _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);
  124902. _instance_1_u(_, "get$_async_evaluate0$_expressionNode", "_async_evaluate0$_expressionNode$1", 203);
  124903. _static_1(A, "calculation1___assertCalculationValue$closure", "_assertCalculationValue", 113);
  124904. _static_1(A, "calculation1___isValidClampArg$closure", "_isValidClampArg", 9);
  124905. _static_1(A, "calculation0_SassCalculation__simplify$closure", "SassCalculation__simplify0", 78);
  124906. _instance_1_u(A.ColorChannel0.prototype, "get$isAnalogous", "isAnalogous$1", 76);
  124907. _static(A, "compile__compile$closure", 1, function() {
  124908. return [null];
  124909. }, ["call$2", "call$1"], ["compile0", function(path) {
  124910. return A.compile0(path, null);
  124911. }], 654, 0);
  124912. _static(A, "compile__compileString$closure", 1, function() {
  124913. return [null];
  124914. }, ["call$2", "call$1"], ["compileString0", function(text) {
  124915. return A.compileString0(text, null);
  124916. }], 655, 0);
  124917. _static(A, "compile__compileAsync$closure", 1, function() {
  124918. return [null];
  124919. }, ["call$2", "call$1"], ["compileAsync1", function(path) {
  124920. return A.compileAsync1(path, null);
  124921. }], 656, 0);
  124922. _static(A, "compile__compileStringAsync$closure", 1, function() {
  124923. return [null];
  124924. }, ["call$2", "call$1"], ["compileStringAsync1", function(text) {
  124925. return A.compileStringAsync1(text, null);
  124926. }], 657, 0);
  124927. _static_1(A, "compile___parseImporter$closure", "_parseImporter0", 658);
  124928. _static_1(A, "compile___simplifyCalcArg$closure", "_simplifyCalcArg", 78);
  124929. _static_0(A, "compiler__initCompiler$closure", "initCompiler", 659);
  124930. _static_0(A, "compiler__initAsyncCompiler$closure", "initAsyncCompiler", 660);
  124931. _instance_0_u(A.CssParser0.prototype, "get$silentComment", "silentComment$0", 20);
  124932. _instance_1_u(A.EmptyExtensionStore0.prototype, "get$addExtensions", "addExtensions$1", 234);
  124933. _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);
  124934. _instance_1_u(_, "get$_evaluate0$_expressionNode", "_evaluate0$_expressionNode$1", 203);
  124935. _instance_1_u(A.ExtensionStore0.prototype, "get$addExtensions", "addExtensions$1", 234);
  124936. _static_1(A, "functions0___isUnique$closure", "_isUnique0", 13);
  124937. _static_1(A, "immutable__jsToDartList$closure", "jsToDartList", 661);
  124938. _instance(A.LazyFileSpan0.prototype, "get$message", 1, 1, function() {
  124939. return {color: null};
  124940. }, ["call$2$color", "call$1"], ["message$2$color", "message$1"], 123, 0, 0);
  124941. _static_2(A, "legacy__render$closure", "render", 662);
  124942. _static_1(A, "legacy__renderSync$closure", "renderSync", 663);
  124943. _instance_1_u(A.LimitedMapView0.prototype, "get$containsKey", "containsKey$1", 9);
  124944. _instance_1_u(A.SelectorList0.prototype, "get$isSuperselector", "isSuperselector$1", 73);
  124945. _instance_1_u(A.MergedMapView0.prototype, "get$containsKey", "containsKey$1", 9);
  124946. _instance(A.MultiSpan0.prototype, "get$message", 1, 1, function() {
  124947. return {color: null};
  124948. }, ["call$2$color", "call$1"], ["message$2$color", "message$1"], 163, 0, 0);
  124949. _instance_1_i(A.NoSourceMapBuffer0.prototype, "get$write", "write$1", 35);
  124950. _instance_2_u(A.NodePackageImporter0.prototype, "get$_node_package$_compareExpansionKeys", "_node_package$_compareExpansionKeys$2", 146);
  124951. _static_0(A, "parser0__loadParserExports$closure", "loadParserExports", 664);
  124952. _static(A, "parser0___parse$closure", 3, null, ["call$3"], ["_parse"], 665, 0);
  124953. _static_1(A, "parser0___parseIdentifier$closure", "_parseIdentifier", 666);
  124954. _static_1(A, "parser0___toCssIdentifier$closure", "_toCssIdentifier", 6);
  124955. _instance_0_u(_ = A.Parser1.prototype, "get$silentComment", "silentComment$0", 20);
  124956. _instance_0_u(_, "get$loudComment", "loudComment$0", 0);
  124957. _instance_0_u(_, "get$string", "string$0", 27);
  124958. _instance(_, "get$error", 1, 2, function() {
  124959. return [null];
  124960. }, ["call$3", "call$2"], ["error$3", "error$2"], 158, 0, 0);
  124961. _instance_1_u(A.PrefixedMapView0.prototype, "get$containsKey", "containsKey$1", 9);
  124962. _instance_1_u(A.PseudoSelector0.prototype, "get$isSuperselector", "isSuperselector$1", 13);
  124963. _instance_1_u(A.PublicMemberMapView0.prototype, "get$containsKey", "containsKey$1", 9);
  124964. _instance_1_u(A._IsInvisibleVisitor2.prototype, "get$visitComplexSelector", "visitComplexSelector$1", 21);
  124965. _instance_1_u(A._IsBogusVisitor0.prototype, "get$visitComplexSelector", "visitComplexSelector$1", 21);
  124966. _instance_1_u(A._IsUselessVisitor0.prototype, "get$visitComplexSelector", "visitComplexSelector$1", 21);
  124967. _instance_1_u(_ = A.SelectorSearchVisitor0.prototype, "get$visitComplexSelector", "visitComplexSelector$1", "SelectorSearchVisitor0.T?(ComplexSelector0)");
  124968. _instance_1_u(_, "get$visitSelectorList", "visitSelectorList$1", "SelectorSearchVisitor0.T?(SelectorList0)");
  124969. _instance_1_u(_ = A._SerializeVisitor0.prototype, "get$_serialize0$_visitMediaQuery", "_serialize0$_visitMediaQuery$1", 574);
  124970. _instance_1_u(_, "get$_serialize0$_specificities", "_serialize0$_specificities$1", 575);
  124971. _instance_1_u(_, "get$_serialize0$_writeCalculationValue", "_serialize0$_writeCalculationValue$1", 113);
  124972. _instance(_, "get$_serialize0$_writeChannel", 0, 1, null, ["call$2", "call$1"], ["_serialize0$_writeChannel$2", "_serialize0$_writeChannel$1"], 191, 0, 0);
  124973. _instance_1_u(_, "get$visitSelectorList", "visitSelectorList$1", 576);
  124974. _instance_1_u(_, "get$_serialize0$_requiresSemicolon", "_serialize0$_requiresSemicolon$1", 8);
  124975. _instance_1_u(A.SimpleSelector0.prototype, "get$isSuperselector", "isSuperselector$1", 13);
  124976. _instance_1_i(A.SourceMapBuffer0.prototype, "get$write", "write$1", 35);
  124977. _instance_1_u(A.SrgbColorSpace0.prototype, "get$toLinear", "toLinear$1", 16);
  124978. _instance_1_i(_ = A.StatementSearchVisitor0.prototype, "get$visitContentBlock", "visitContentBlock$1", "StatementSearchVisitor0.T?(ContentBlock0)");
  124979. _instance_1_u(_, "get$visitChildren", "visitChildren$1", "StatementSearchVisitor0.T?(List<Statement0>)");
  124980. _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);
  124981. _instance_0_u(_, "get$_stylesheet0$_declarationChild", "_stylesheet0$_declarationChild$0", 136);
  124982. _instance_0_u(_, "get$_stylesheet0$_functionChild", "_stylesheet0$_functionChild$0", 136);
  124983. _instance_0_u(_, "get$_stylesheet0$_number", "_stylesheet0$_number$0", 597);
  124984. _instance_1_u(A.TypeSelector0.prototype, "get$isSuperselector", "isSuperselector$1", 13);
  124985. _instance_1_u(A.UniversalSelector0.prototype, "get$isSuperselector", "isSuperselector$1", 13);
  124986. _instance_1_u(A.UnprefixedMapView0.prototype, "get$containsKey", "containsKey$1", 9);
  124987. _static_1(A, "utils3__jsToDartUrl$closure", "jsToDartUrl", 667);
  124988. _static_1(A, "utils3__dartToJSUrl$closure", "dartToJSUrl", 264);
  124989. _static_1(A, "utils3__mapToObject$closure", "mapToObject", 668);
  124990. _static_1(A, "utils1__isPublic$closure", "isPublic0", 5);
  124991. _static(A, "path__absolute$closure", 1, function() {
  124992. return [null, null, null, null, null, null, null, null, null, null, null, null, null, null];
  124993. }, ["call$15", "call$1", "call$2", "call$3", "call$4", "call$5", "call$6"], ["absolute", function(part1) {
  124994. var _null = null;
  124995. return A.absolute(part1, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null);
  124996. }, function(part1, part2) {
  124997. var _null = null;
  124998. return A.absolute(part1, part2, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null);
  124999. }, function(part1, part2, part3) {
  125000. var _null = null;
  125001. return A.absolute(part1, part2, part3, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null);
  125002. }, function(part1, part2, part3, part4) {
  125003. var _null = null;
  125004. return A.absolute(part1, part2, part3, part4, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null);
  125005. }, function(part1, part2, part3, part4, part5) {
  125006. var _null = null;
  125007. return A.absolute(part1, part2, part3, part4, part5, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null);
  125008. }, function(part1, part2, part3, part4, part5, part6) {
  125009. var _null = null;
  125010. return A.absolute(part1, part2, part3, part4, part5, part6, _null, _null, _null, _null, _null, _null, _null, _null, _null);
  125011. }], 669, 0);
  125012. _static_1(A, "path__toUri$closure", "toUri", 127);
  125013. _static_1(A, "path__prettyUri$closure", "prettyUri", 670);
  125014. _static_2(A, "number0__fuzzyLessThan$closure", "fuzzyLessThan", 46);
  125015. _static_2(A, "number0__fuzzyLessThanOrEquals$closure", "fuzzyLessThanOrEquals", 46);
  125016. _static_2(A, "number0__fuzzyGreaterThan$closure", "fuzzyGreaterThan", 46);
  125017. _static_2(A, "number0__fuzzyGreaterThanOrEquals$closure", "fuzzyGreaterThanOrEquals", 46);
  125018. _static_2(A, "number0__moduloLikeSass$closure", "moduloLikeSass", 61);
  125019. _static_1(A, "number0__sqrt$closure", "sqrt", 56);
  125020. _static_1(A, "number0__sin$closure", "sin", 56);
  125021. _static_1(A, "number0__cos$closure", "cos", 56);
  125022. _static_1(A, "number0__tan$closure", "tan", 56);
  125023. _static_1(A, "number0__atan$closure", "atan", 56);
  125024. _static_1(A, "number0__asin$closure", "asin", 56);
  125025. _static_1(A, "number0__acos$closure", "acos", 56);
  125026. _static_1(A, "utils0__srgbAndDisplayP3FromLinear$closure", "srgbAndDisplayP3FromLinear", 16);
  125027. _static_2(A, "number2__fuzzyLessThan$closure", "fuzzyLessThan0", 46);
  125028. _static_2(A, "number2__fuzzyLessThanOrEquals$closure", "fuzzyLessThanOrEquals0", 46);
  125029. _static_2(A, "number2__fuzzyGreaterThan$closure", "fuzzyGreaterThan0", 46);
  125030. _static_2(A, "number2__fuzzyGreaterThanOrEquals$closure", "fuzzyGreaterThanOrEquals0", 46);
  125031. _static_2(A, "number2__moduloLikeSass$closure", "moduloLikeSass0", 61);
  125032. _static_1(A, "number2__sqrt$closure", "sqrt0", 53);
  125033. _static_1(A, "number2__sin$closure", "sin0", 53);
  125034. _static_1(A, "number2__cos$closure", "cos0", 53);
  125035. _static_1(A, "number2__tan$closure", "tan0", 53);
  125036. _static_1(A, "number2__atan$closure", "atan0", 53);
  125037. _static_1(A, "number2__asin$closure", "asin0", 53);
  125038. _static_1(A, "number2__acos$closure", "acos0", 53);
  125039. _static_1(A, "sass__main$closure", "main1", 496);
  125040. _static_1(A, "utils4__validateUrlScheme$closure", "validateUrlScheme", 115);
  125041. _static_1(A, "utils2__srgbAndDisplayP3FromLinear$closure", "srgbAndDisplayP3FromLinear0", 16);
  125042. _static_1(A, "value0__wrapValue$closure", "wrapValue", 449);
  125043. })();
  125044. (function inheritance() {
  125045. var _mixin = hunkHelpers.mixin,
  125046. _inherit = hunkHelpers.inherit,
  125047. _inheritMany = hunkHelpers.inheritMany;
  125048. _inherit(A.Object, null);
  125049. _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]);
  125050. _inheritMany(J.Interceptor, [J.JSBool, J.JSNull, J.JavaScriptObject, J.JavaScriptBigInt, J.JavaScriptSymbol, J.JSNumber, J.JSString]);
  125051. _inheritMany(J.JavaScriptObject, [J.LegacyJavaScriptObject, J.JSArray, A.NativeByteBuffer, A.NativeTypedData]);
  125052. _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]);
  125053. _inherit(J.JSUnmodifiableArray, J.JSArray);
  125054. _inheritMany(J.JSNumber, [J.JSInt, J.JSNumNotInt]);
  125055. _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]);
  125056. _inheritMany(A._CastIterableBase, [A.CastIterable, A.__CastListBase__CastIterableBase_ListMixin, A.CastSet]);
  125057. _inherit(A._EfficientLengthCastIterable, A.CastIterable);
  125058. _inherit(A._CastListBase, A.__CastListBase__CastIterableBase_ListMixin);
  125059. _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._EnvironmentModule_couldHaveBeenConfigured_closure0, 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._EnvironmentModule_couldHaveBeenConfigured_closure, 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._EnvironmentModule_couldHaveBeenConfigured_closure2, 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._EnvironmentModule_couldHaveBeenConfigured_closure1, 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]);
  125060. _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]);
  125061. _inherit(A.CastList, A._CastListBase);
  125062. _inheritMany(A.MapBase, [A.CastMap, A.JsLinkedHashMap, A._HashMap, A.UnmodifiableMapBase, A._JsonMap, A.MergedMapView, A.MergedMapView0]);
  125063. _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]);
  125064. _inherit(A.UnmodifiableListBase, A.ListBase);
  125065. _inheritMany(A.UnmodifiableListBase, [A.CodeUnits, A.UnmodifiableListView]);
  125066. _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]);
  125067. _inheritMany(A.EfficientLengthIterable, [A.ListIterable, A.EmptyIterable, A.LinkedHashMapKeysIterable, A.LinkedHashMapValuesIterable, A.LinkedHashMapEntriesIterable, A._HashMapKeyIterable, A._MapBaseValueIterable]);
  125068. _inheritMany(A.ListIterable, [A.SubListIterable, A.MappedListIterable, A.ReversedListIterable, A.ListQueue, A._JsonMapKeyIterable, A._GeneratorIterable]);
  125069. _inherit(A.EfficientLengthMappedIterable, A.MappedIterable);
  125070. _inherit(A.EfficientLengthTakeIterable, A.TakeIterable);
  125071. _inherit(A.EfficientLengthSkipIterable, A.SkipIterable);
  125072. _inherit(A.EfficientLengthFollowedByIterable, A.FollowedByIterable);
  125073. _inheritMany(A._Record, [A._Record1, A._Record2, A._Record3, A._RecordN]);
  125074. _inherit(A._Record_1, A._Record1);
  125075. _inheritMany(A._Record2, [A._Record_2, A._Record_2_forImport, A._Record_2_imports_modules, A._Record_2_loadedUrls_stylesheet, A._Record_2_sourceMap]);
  125076. _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]);
  125077. _inherit(A._Record_5_named_namedNodes_positional_positionalNodes_separator, A._RecordN);
  125078. _inheritMany(A.MapView, [A._UnmodifiableMapView_MapView__UnmodifiableMapMixin, A.PathMap]);
  125079. _inherit(A.UnmodifiableMapView, A._UnmodifiableMapView_MapView__UnmodifiableMapMixin);
  125080. _inherit(A.ConstantMapView, A.UnmodifiableMapView);
  125081. _inherit(A.ConstantStringMap, A.ConstantMap);
  125082. _inheritMany(A.SetBase, [A.ConstantSet, A._SetBase, A._UnmodifiableSetView_SetBase__UnmodifiableSetMixin, A._UnionSet_SetBase_UnmodifiableSetMixin]);
  125083. _inheritMany(A.ConstantSet, [A.ConstantStringSet, A.GeneralConstantSet]);
  125084. _inherit(A.Instantiation1, A.Instantiation);
  125085. _inherit(A.NullError, A.TypeError);
  125086. _inheritMany(A.TearOffClosure, [A.StaticClosure, A.BoundClosure]);
  125087. _inheritMany(A.JsLinkedHashMap, [A.JsIdentityLinkedHashMap, A.JsConstantLinkedHashMap, A._LinkedCustomHashMap]);
  125088. _inheritMany(A.NativeTypedData, [A.NativeByteData, A.NativeTypedArray]);
  125089. _inheritMany(A.NativeTypedArray, [A._NativeTypedArrayOfDouble_NativeTypedArray_ListMixin, A._NativeTypedArrayOfInt_NativeTypedArray_ListMixin]);
  125090. _inherit(A._NativeTypedArrayOfDouble_NativeTypedArray_ListMixin_FixedLengthListMixin, A._NativeTypedArrayOfDouble_NativeTypedArray_ListMixin);
  125091. _inherit(A.NativeTypedArrayOfDouble, A._NativeTypedArrayOfDouble_NativeTypedArray_ListMixin_FixedLengthListMixin);
  125092. _inherit(A._NativeTypedArrayOfInt_NativeTypedArray_ListMixin_FixedLengthListMixin, A._NativeTypedArrayOfInt_NativeTypedArray_ListMixin);
  125093. _inherit(A.NativeTypedArrayOfInt, A._NativeTypedArrayOfInt_NativeTypedArray_ListMixin_FixedLengthListMixin);
  125094. _inheritMany(A.NativeTypedArrayOfDouble, [A.NativeFloat32List, A.NativeFloat64List]);
  125095. _inheritMany(A.NativeTypedArrayOfInt, [A.NativeInt16List, A.NativeInt32List, A.NativeInt8List, A.NativeUint16List, A.NativeUint32List, A.NativeUint8ClampedList, A.NativeUint8List]);
  125096. _inherit(A._TypeError, A._Error);
  125097. _inheritMany(A._Completer, [A._AsyncCompleter, A._SyncCompleter]);
  125098. _inheritMany(A._StreamController, [A._AsyncStreamController, A._SyncStreamController]);
  125099. _inheritMany(A.Stream, [A._StreamImpl, A._ForwardingStream, A._CompleterStream]);
  125100. _inherit(A._ControllerStream, A._StreamImpl);
  125101. _inheritMany(A._BufferingStreamSubscription, [A._ControllerSubscription, A._ForwardingStreamSubscription]);
  125102. _inherit(A._StreamControllerAddStreamState, A._AddStreamState);
  125103. _inheritMany(A._DelayedEvent, [A._DelayedData, A._DelayedError]);
  125104. _inherit(A._MapStream, A._ForwardingStream);
  125105. _inheritMany(A._Zone, [A._CustomZone, A._RootZone]);
  125106. _inherit(A._IdentityHashMap, A._HashMap);
  125107. _inherit(A._LinkedHashSet, A._SetBase);
  125108. _inherit(A._LinkedIdentityHashSet, A._LinkedHashSet);
  125109. _inherit(A.UnmodifiableSetView, A._UnmodifiableSetView_SetBase__UnmodifiableSetMixin);
  125110. _inheritMany(A.Codec, [A.Encoding, A.Base64Codec, A.JsonCodec]);
  125111. _inheritMany(A.Encoding, [A.AsciiCodec, A.Utf8Codec]);
  125112. _inheritMany(A.Converter, [A._UnicodeSubsetEncoder, A.Base64Encoder, A.JsonEncoder, A.JsonDecoder, A.Utf8Encoder, A.Utf8Decoder]);
  125113. _inherit(A.AsciiEncoder, A._UnicodeSubsetEncoder);
  125114. _inheritMany(A.ByteConversionSink, [A._Base64EncoderSink, A._Utf8StringSinkAdapter]);
  125115. _inherit(A._Utf8Base64EncoderSink, A._Base64EncoderSink);
  125116. _inherit(A.JsonCyclicError, A.JsonUnsupportedObjectError);
  125117. _inherit(A._JsonStringStringifier, A._JsonStringifier);
  125118. _inherit(A._StringSinkConversionSink, A.StringConversionSink);
  125119. _inherit(A._StringCallbackSink, A._StringSinkConversionSink);
  125120. _inheritMany(A.ArgumentError, [A.RangeError, A.IndexError]);
  125121. _inherit(A._DataUri, A._Uri);
  125122. _inherit(A.ArgParserException, A.FormatException);
  125123. _inherit(A.EmptyUnmodifiableSet, A._EmptyUnmodifiableSet_IterableBase_UnmodifiableSetMixin);
  125124. _inherit(A.QueueList, A._QueueList_Object_ListMixin);
  125125. _inherit(A._CastQueueList, A.QueueList);
  125126. _inherit(A.UnionSet, A._UnionSet_SetBase_UnmodifiableSetMixin);
  125127. _inheritMany(A._DelegatingIterableBase, [A.DelegatingSet, A._MapKeySet__DelegatingIterableBase_UnmodifiableSetMixin]);
  125128. _inherit(A._UnmodifiableSetView_DelegatingSet_UnmodifiableSetMixin, A.DelegatingSet);
  125129. _inherit(A.UnmodifiableSetView0, A._UnmodifiableSetView_DelegatingSet_UnmodifiableSetMixin);
  125130. _inherit(A.MapKeySet, A._MapKeySet__DelegatingIterableBase_UnmodifiableSetMixin);
  125131. _inheritMany(A.NodeJsError, [A.JsAssertionError, A.JsRangeError, A.JsReferenceError, A.JsSyntaxError, A.JsTypeError, A.JsSystemError]);
  125132. _inheritMany(A.Socket, [A.TTYReadStream, A.TTYWriteStream]);
  125133. _inherit(A.InternalStyle, A.Style);
  125134. _inheritMany(A.InternalStyle, [A.PosixStyle, A.UrlStyle, A.WindowsStyle]);
  125135. _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]);
  125136. _inheritMany(A.CssNode, [A.ModifiableCssNode, A.CssParentNode]);
  125137. _inheritMany(A.ModifiableCssNode, [A.ModifiableCssParentNode, A.ModifiableCssComment, A.ModifiableCssDeclaration, A.ModifiableCssImport]);
  125138. _inheritMany(A.ModifiableCssParentNode, [A.ModifiableCssAtRule, A.ModifiableCssKeyframeBlock, A.ModifiableCssMediaRule, A.ModifiableCssStyleRule, A.ModifiableCssStylesheet, A.ModifiableCssSupportsRule]);
  125139. _inherit(A._IsInvisibleVisitor, A.__IsInvisibleVisitor_Object_EveryCssVisitor);
  125140. _inherit(A.CssStylesheet, A.CssParentNode);
  125141. _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]);
  125142. _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]);
  125143. _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]);
  125144. _inheritMany(A.CallableDeclaration, [A.ContentBlock, A.FunctionRule, A.MixinRule]);
  125145. _inheritMany(A.IfRuleClause, [A.IfClause, A.ElseClause]);
  125146. _inherit(A._HasContentVisitor, A.__HasContentVisitor_Object_StatementSearchVisitor);
  125147. _inherit(A._IsInvisibleVisitor0, A.__IsInvisibleVisitor_Object_AnySelectorVisitor);
  125148. _inherit(A._IsBogusVisitor, A.__IsBogusVisitor_Object_AnySelectorVisitor);
  125149. _inherit(A._IsUselessVisitor, A.__IsUselessVisitor_Object_AnySelectorVisitor);
  125150. _inherit(A._ContainsParentSelectorVisitor, A.__ContainsParentSelectorVisitor_Object_AnySelectorVisitor);
  125151. _inheritMany(A.Selector, [A.SimpleSelector, A.ComplexSelector, A.CompoundSelector, A.SelectorList]);
  125152. _inheritMany(A.SimpleSelector, [A.AttributeSelector, A.ClassSelector, A.IDSelector, A.ParentSelector, A.PlaceholderSelector, A.PseudoSelector, A.TypeSelector, A.UniversalSelector]);
  125153. _inherit(A._ParentSelectorVisitor, A.__ParentSelectorVisitor_Object_SelectorSearchVisitor);
  125154. _inherit(A.ExplicitConfiguration, A.Configuration);
  125155. _inheritMany(A.SourceSpanException, [A.SassException, A.SourceSpanFormatException, A.MultiSourceSpanException, A.SassException0]);
  125156. _inheritMany(A.SassException, [A.MultiSpanSassException, A.SassRuntimeException, A.SassFormatException]);
  125157. _inheritMany(A.MultiSpanSassException, [A.MultiSpanSassRuntimeException, A.MultiSpanSassFormatException]);
  125158. _inherit(A.MultiSpanSassScriptException, A.SassScriptException);
  125159. _inherit(A.MergedExtension, A.Extension);
  125160. _inherit(A.Importer, A.AsyncImporter);
  125161. _inheritMany(A.Importer, [A.FilesystemImporter, A.NoOpImporter, A.NodePackageImporter]);
  125162. _inheritMany(A.LoggerWithDeprecationType, [A.DeprecationProcessingLogger, A.StderrLogger]);
  125163. _inheritMany(A.Parser, [A.AtRootQueryParser, A.StylesheetParser, A.KeyframeSelectorParser, A.MediaQueryParser, A.SelectorParser]);
  125164. _inheritMany(A.StylesheetParser, [A.ScssParser, A.SassParser]);
  125165. _inherit(A.CssParser, A.ScssParser);
  125166. _inheritMany(A.UnmodifiableMapBase, [A.LimitedMapView, A.PrefixedMapView, A.PublicMemberMapView, A.UnprefixedMapView, A.LimitedMapView0, A.PrefixedMapView0, A.PublicMemberMapView0, A.UnprefixedMapView0]);
  125167. _inheritMany(A.Value, [A.SassList, A.SassBoolean, A.SassCalculation, A.SassColor, A.SassFunction, A.SassMap, A.SassMixin, A._SassNull, A.SassNumber, A.SassString]);
  125168. _inherit(A.SassArgumentList, A.SassList);
  125169. _inherit(A.LinearChannel, A.ColorChannel);
  125170. _inheritMany(A.GamutMapMethod, [A.ClipGamutMap, A.LocalMindeGamutMap]);
  125171. _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]);
  125172. _inheritMany(A.SassNumber, [A.ComplexSassNumber, A.SingleUnitSassNumber, A.UnitlessSassNumber]);
  125173. _inherit(A._MakeExpressionCalculationSafe, A.__MakeExpressionCalculationSafe_Object_ReplaceExpressionVisitor);
  125174. _inherit(A._FindDependenciesVisitor, A.__FindDependenciesVisitor_Object_RecursiveStatementVisitor);
  125175. _inherit(A.SingleMapping, A.Mapping);
  125176. _inherit(A.FileLocation, A.SourceLocationMixin);
  125177. _inheritMany(A.SourceSpanMixin, [A._FileSpan, A.SourceSpanBase]);
  125178. _inherit(A.MultiSourceSpanFormatException, A.MultiSourceSpanException);
  125179. _inherit(A.SourceSpanWithContext, A.SourceSpanBase);
  125180. _inherit(A.StringScannerException, A.SourceSpanFormatException);
  125181. _inheritMany(A.StringScanner, [A.LineScanner, A.SpanScanner]);
  125182. _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]);
  125183. _inheritMany(A.Value0, [A.SassList0, A.SassBoolean0, A.SassCalculation0, A.SassColor0, A.SassNumber0, A.SassFunction0, A.SassMap0, A.SassMixin0, A._SassNull0, A.SassString0]);
  125184. _inherit(A.SassArgumentList0, A.SassList0);
  125185. _inheritMany(A.AsyncImporter0, [A.JSToDartAsyncImporter, A.JSToDartAsyncFileImporter, A.Importer0]);
  125186. _inheritMany(A.Parser1, [A.AtRootQueryParser0, A.StylesheetParser0, A.KeyframeSelectorParser0, A.MediaQueryParser0, A.SelectorParser0]);
  125187. _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]);
  125188. _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]);
  125189. _inheritMany(A.CssNode0, [A.ModifiableCssNode0, A.CssParentNode0]);
  125190. _inheritMany(A.ModifiableCssNode0, [A.ModifiableCssParentNode0, A.ModifiableCssComment0, A.ModifiableCssDeclaration0, A.ModifiableCssImport0]);
  125191. _inheritMany(A.ModifiableCssParentNode0, [A.ModifiableCssAtRule0, A.ModifiableCssKeyframeBlock0, A.ModifiableCssMediaRule0, A.ModifiableCssStyleRule0, A.ModifiableCssStylesheet0, A.ModifiableCssSupportsRule0]);
  125192. _inheritMany(A.Selector0, [A.SimpleSelector0, A.ComplexSelector0, A.CompoundSelector0, A.SelectorList0]);
  125193. _inheritMany(A.SimpleSelector0, [A.AttributeSelector0, A.ClassSelector0, A.IDSelector0, A.ParentSelector0, A.PlaceholderSelector0, A.PseudoSelector0, A.TypeSelector0, A.UniversalSelector0]);
  125194. _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]);
  125195. _inherit(A.LinearChannel0, A.ColorChannel0);
  125196. _inheritMany(A.GamutMapMethod0, [A.ClipGamutMap0, A.LocalMindeGamutMap0]);
  125197. _inherit(A._ConstructionOptions, A._Channels);
  125198. _inherit(A.CompileStringOptions, A.CompileOptions);
  125199. _inherit(A.AsyncCompiler, A.Compiler);
  125200. _inheritMany(A.SassNumber0, [A.ComplexSassNumber0, A.SingleUnitSassNumber0, A.UnitlessSassNumber0]);
  125201. _inherit(A.ExplicitConfiguration0, A.Configuration0);
  125202. _inheritMany(A.CallableDeclaration0, [A.ContentBlock0, A.FunctionRule0, A.MixinRule0]);
  125203. _inheritMany(A.StylesheetParser0, [A.ScssParser0, A.SassParser0]);
  125204. _inherit(A.CssParser0, A.ScssParser0);
  125205. _inheritMany(A.LoggerWithDeprecationType0, [A.DeprecationProcessingLogger0, A.JSToDartLogger, A.StderrLogger0]);
  125206. _inherit(A._NodeException, A.JsError);
  125207. _inheritMany(A.SassException0, [A.MultiSpanSassException0, A.SassRuntimeException0, A.SassFormatException0]);
  125208. _inheritMany(A.MultiSpanSassException0, [A.MultiSpanSassRuntimeException0, A.MultiSpanSassFormatException0]);
  125209. _inherit(A.MultiSpanSassScriptException0, A.SassScriptException0);
  125210. _inherit(A._MakeExpressionCalculationSafe0, A.__MakeExpressionCalculationSafe_Object_ReplaceExpressionVisitor0);
  125211. _inheritMany(A.Importer0, [A.JSToDartFileImporter, A.FilesystemImporter0, A.NoOpImporter0, A.NodePackageImporter0, A.JSToDartImporter]);
  125212. _inheritMany(A.IfRuleClause0, [A.IfClause0, A.ElseClause0]);
  125213. _inherit(A._ParentSelectorVisitor0, A.__ParentSelectorVisitor_Object_SelectorSearchVisitor0);
  125214. _inherit(A.MergedExtension0, A.Extension0);
  125215. _inherit(A._HasContentVisitor0, A.__HasContentVisitor_Object_StatementSearchVisitor0);
  125216. _inherit(A._IsInvisibleVisitor1, A.__IsInvisibleVisitor_Object_EveryCssVisitor0);
  125217. _inherit(A._IsInvisibleVisitor2, A.__IsInvisibleVisitor_Object_AnySelectorVisitor0);
  125218. _inherit(A._IsBogusVisitor0, A.__IsBogusVisitor_Object_AnySelectorVisitor0);
  125219. _inherit(A._IsUselessVisitor0, A.__IsUselessVisitor_Object_AnySelectorVisitor0);
  125220. _inherit(A._ContainsParentSelectorVisitor0, A.__ContainsParentSelectorVisitor_Object_AnySelectorVisitor0);
  125221. _inherit(A.CssStylesheet0, A.CssParentNode0);
  125222. _mixin(A.UnmodifiableListBase, A.UnmodifiableListMixin);
  125223. _mixin(A.__CastListBase__CastIterableBase_ListMixin, A.ListBase);
  125224. _mixin(A._NativeTypedArrayOfDouble_NativeTypedArray_ListMixin, A.ListBase);
  125225. _mixin(A._NativeTypedArrayOfDouble_NativeTypedArray_ListMixin_FixedLengthListMixin, A.FixedLengthListMixin);
  125226. _mixin(A._NativeTypedArrayOfInt_NativeTypedArray_ListMixin, A.ListBase);
  125227. _mixin(A._NativeTypedArrayOfInt_NativeTypedArray_ListMixin_FixedLengthListMixin, A.FixedLengthListMixin);
  125228. _mixin(A._AsyncStreamController, A._AsyncStreamControllerDispatch);
  125229. _mixin(A._SyncStreamController, A._SyncStreamControllerDispatch);
  125230. _mixin(A.UnmodifiableMapBase, A._UnmodifiableMapMixin);
  125231. _mixin(A._UnmodifiableMapView_MapView__UnmodifiableMapMixin, A._UnmodifiableMapMixin);
  125232. _mixin(A._UnmodifiableSetView_SetBase__UnmodifiableSetMixin, A._UnmodifiableSetMixin);
  125233. _mixin(A._EmptyUnmodifiableSet_IterableBase_UnmodifiableSetMixin, A.UnmodifiableSetMixin);
  125234. _mixin(A._QueueList_Object_ListMixin, A.ListBase);
  125235. _mixin(A._UnionSet_SetBase_UnmodifiableSetMixin, A.UnmodifiableSetMixin);
  125236. _mixin(A._UnmodifiableSetView_DelegatingSet_UnmodifiableSetMixin, A.UnmodifiableSetMixin);
  125237. _mixin(A._MapKeySet__DelegatingIterableBase_UnmodifiableSetMixin, A.UnmodifiableSetMixin);
  125238. _mixin(A.__IsInvisibleVisitor_Object_EveryCssVisitor, A.EveryCssVisitor);
  125239. _mixin(A.__HasContentVisitor_Object_StatementSearchVisitor, A.StatementSearchVisitor);
  125240. _mixin(A.__ContainsParentSelectorVisitor_Object_AnySelectorVisitor, A.AnySelectorVisitor);
  125241. _mixin(A.__IsBogusVisitor_Object_AnySelectorVisitor, A.AnySelectorVisitor);
  125242. _mixin(A.__IsInvisibleVisitor_Object_AnySelectorVisitor, A.AnySelectorVisitor);
  125243. _mixin(A.__IsUselessVisitor_Object_AnySelectorVisitor, A.AnySelectorVisitor);
  125244. _mixin(A.__ParentSelectorVisitor_Object_SelectorSearchVisitor, A.SelectorSearchVisitor);
  125245. _mixin(A.__MakeExpressionCalculationSafe_Object_ReplaceExpressionVisitor, A.ReplaceExpressionVisitor);
  125246. _mixin(A.__FindDependenciesVisitor_Object_RecursiveStatementVisitor, A.RecursiveStatementVisitor);
  125247. _mixin(A.__MakeExpressionCalculationSafe_Object_ReplaceExpressionVisitor0, A.ReplaceExpressionVisitor0);
  125248. _mixin(A.__ParentSelectorVisitor_Object_SelectorSearchVisitor0, A.SelectorSearchVisitor0);
  125249. _mixin(A.__HasContentVisitor_Object_StatementSearchVisitor0, A.StatementSearchVisitor0);
  125250. _mixin(A.__IsInvisibleVisitor_Object_EveryCssVisitor0, A.EveryCssVisitor0);
  125251. _mixin(A.__ContainsParentSelectorVisitor_Object_AnySelectorVisitor0, A.AnySelectorVisitor0);
  125252. _mixin(A.__IsBogusVisitor_Object_AnySelectorVisitor0, A.AnySelectorVisitor0);
  125253. _mixin(A.__IsInvisibleVisitor_Object_AnySelectorVisitor0, A.AnySelectorVisitor0);
  125254. _mixin(A.__IsUselessVisitor_Object_AnySelectorVisitor0, A.AnySelectorVisitor0);
  125255. })();
  125256. var init = {
  125257. G: typeof self != "undefined" ? self : globalThis,
  125258. typeUniverse: {eC: new Map(), tR: {}, eT: {}, tPV: {}, sEA: []},
  125259. mangledGlobalNames: {int: "int", double: "double", num: "num", String: "String", bool: "bool", Null: "Null", List: "List", Object: "Object", Map: "Map"},
  125260. mangledNames: {},
  125261. types: ["~()", "Null()", "Future<Null>()", "Value0(List<Value0>)", "Value(List<Value>)", "bool(String)", "String(String)", "bool(CssNode)", "bool(CssNode0)", "bool(Object?)", "int()", "SassBoolean0(List<Value0>)", "SassBoolean(List<Value>)", "bool(SimpleSelector0)", "bool(SimpleSelector)", "JSClass0()", "double(double)", "SassString(List<Value>)", "SassString0(List<Value0>)", "bool(ComplexSelector)", "bool()", "bool(ComplexSelector0)", "SassNumber(List<Value>)", "SassNumber0(List<Value0>)", "SassColor0(List<Value0>)", "SassColor(List<Value>)", "SassList(List<Value>)", "String()", "FileSpan()", "SassList0(List<Value0>)", "bool(int?)", "double(SassColor0)", "Future<~>()", "SassMap(List<Value>)", "Value()", "~(Object?)", "Object?()", "Null(~())", "SassMap0(List<Value0>)", "int(SassColor0)", "Future<Null>(Future<~>())", "Value(Value)", "Value?()", "Value0?()", "Value0(Value0)", "String?()", "bool(num,num)", "bool(int)", "Uri(Uri)", "double(SassColor)", "Value0()", "Null(Object,StackTrace)", "bool(ComplexSelectorComponent)", "SassNumber0(SassNumber0)", "bool(ComplexSelectorComponent0)", "bool(Value0)", "SassNumber(SassNumber)", "ValueExpression0(Value0)", "ComplexSelector0(ComplexSelector0)", "@()", "ComplexSelector(ComplexSelector)", "double(double,double)", "~(Value)", "ValueExpression(Value)", "Null(@)", "int(SassColor)", "~(Value0)", "bool(Value)", "~(Object,StackTrace)", "bool(SelectorList)", "Future<Value>()", "bool(Object)", "Future<Value0?>()", "bool(SelectorList0)", "Future<Value0>()", "~(@)", "bool(ColorChannel0)", "Frame()", "Object(Object)", "Future<Value?>()", "Null(_NodeSassColor,num)", "Callable0?()", "~(Module0<Callable0>,bool)", "Value?(Statement)", "~(String,Value)", "~([int?])", "double(SassNumber0)", "~(String[Deprecation?])", "bool(Module0<Callable0>)", "~(Module1<Callable>,bool)", "Value0?(Statement0)", "Object()", "bool(Module1<Callable>)", "AsyncCallable?()", "bool(Module1<AsyncCallable0>)", "~(Value,Value)", "Frame(String)", "AsyncCallable0?()", "Callable?()", "SassRuntimeException0(AstNode0)", "@(@)", "List<CssMediaQuery>?(List<CssMediaQuery>)", "int(Uri)", "bool(Module0<AsyncCallable>)", "List<CssMediaQuery0>?(List<CssMediaQuery0>)", "SassRuntimeException(AstNode)", "Future<Value?>(Statement)", "~(Value0,Value0)", "bool(ColorChannel)", "Future<Value0>(List<Value0>)", "~(String[Deprecation0?])", "Null([Object?])", "~(String,Value0)", "~(Object)", "Future<Value0?>(Statement0)", "~(String)", "Stylesheet?()", "bool(Expression0)", "String(Expression0)", "Null(Module1<AsyncCallable0>,bool)", "bool(_Highlight)", "bool(Expression)", "Null(Module0<AsyncCallable>,bool)", "String(String{color:Object?})", "int(_NodeSassColor)", "Statement()", "~(String,Object?)", "Uri(String)", "+originalUrl(Importer,Uri,Uri)?()", "double(SassNumber)", "Map<ComplexSelector,Extension>()", "Map<ComplexSelector0,Extension0>()", "String(Object)", "String(Expression)", "String(@)", "~(String,Function)", "Statement0()", "~(~())", "List<String>()", "~(String,@)", "SassCalculation0(Object)", "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})"],
  125262. interceptorsByTag: null,
  125263. leafTags: null,
  125264. arrayRti: Symbol("$ti"),
  125265. rttc: {
  125266. "1;": t1 => o => o instanceof A._Record_1 && t1._is(o._0),
  125267. "2;": (t1, t2) => o => o instanceof A._Record_2 && t1._is(o._0) && t2._is(o._1),
  125268. "2;forImport": (t1, t2) => o => o instanceof A._Record_2_forImport && t1._is(o._0) && t2._is(o._1),
  125269. "2;sourceMap": (t1, t2) => o => o instanceof A._Record_2_sourceMap && t1._is(o._0) && t2._is(o._1),
  125270. "2;imports,modules": (t1, t2) => o => o instanceof A._Record_2_imports_modules && t1._is(o._0) && t2._is(o._1),
  125271. "2;loadedUrls,stylesheet": (t1, t2) => o => o instanceof A._Record_2_loadedUrls_stylesheet && t1._is(o._0) && t2._is(o._1),
  125272. "3;": (t1, t2, t3) => o => o instanceof A._Record_3 && t1._is(o._0) && t2._is(o._1) && t3._is(o._2),
  125273. "3;forImport": (t1, t2, t3) => o => o instanceof A._Record_3_forImport && t1._is(o._0) && t2._is(o._1) && t3._is(o._2),
  125274. "3;originalUrl": (t1, t2, t3) => o => o instanceof A._Record_3_originalUrl && t1._is(o._0) && t2._is(o._1) && t3._is(o._2),
  125275. "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),
  125276. "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),
  125277. "5;named,namedNodes,positional,positionalNodes,separator": types => o => o instanceof A._Record_5_named_namedNodes_positional_positionalNodes_separator && A.pairwiseIsTest(types, o._values)
  125278. }
  125279. };
  125280. 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":[]}}'));
  125281. 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}'));
  125282. var string$ = {
  125283. 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",
  125284. x0a_BUG_: "\n\nBUG: This should include a source span!",
  125285. x0a_Morex20: "\n\nMore info and automated migrator: https://sass-lang.com/d/slash-div",
  125286. x0a_Morex3ac: "\n\nMore info: https://sass-lang.com/d/color-functions",
  125287. x0a_Morex3af: "\n\nMore info: https://sass-lang.com/d/function-units",
  125288. x0a_See_: "\n\nSee https://sass-lang.com/d/function-units",
  125289. x0a_This: "\n\nThis is only an error because you've set the ",
  125290. x0a_To_p: "\n\nTo preserve current behavior: math.random(math.div($limit, 1",
  125291. x0a_but_: "\n\nbut you may have intended it to mean:\n\n ",
  125292. x0aRun_i: "\nRun in verbose mode to see all warnings.",
  125293. x0aThis_: "\nThis will be an error in Dart Sass 2.0.0.\n\nMore info: https://sass-lang.com/d/bogus-combinators",
  125294. x0aYou_m: "\nYou may not @extend the same selector from within different media queries.",
  125295. x20It_wi: " It will be omitted from the generated CSS.",
  125296. 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",
  125297. x20can_n: " can not have both conditions and paths at the same level.\nFound ",
  125298. x20deprex20: " deprecation to be fatal.\nRemove this setting if you need to keep using this feature.",
  125299. x20deprex2c: " deprecation, since it has also been made fatal.",
  125300. x20hue__: ' hue" may not be set for rectangular color space ',
  125301. x20in_in: " in interpolation here.\nIt may end up represented as ",
  125302. x20inste: " instead.\n\nMore info and automated migrator: https://sass-lang.com/d/import",
  125303. x20is_as: " is asynchronous.\nThis is probably caused by a bug in a Sass plugin.",
  125304. x20is_av: " is available from multiple global modules.",
  125305. x20is_de: " is deprecated.\n\nTo preserve current behavior: ",
  125306. x20is_noaf: " is not a future deprecation, so it does not need to be explicitly enabled.",
  125307. x20is_noav: " is not a valid selector: it must be a string,\na list of strings, or a list of lists of strings.",
  125308. 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",
  125309. x20must_b: " must be either nearest, up, down or to-zero.",
  125310. x20must_n: " must not be greater than the number of characters in the file, ",
  125311. x20repet: " repetitive deprecation warnings omitted.",
  125312. x20targe: " targetLocations if the interpolation has ",
  125313. x20to_be: " to be in the legacy RGB, HSL, or HWB color space.",
  125314. x20to_be_: " to be in the legacy RGB, HSL, or HWB color space.\n\nRecommendation: color.change(",
  125315. 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",
  125316. x20to_co: " to color.opacity() is deprecated.\n\nRecommendation: ",
  125317. x20was_a: ' was already loaded, so it can\'t be configured using "with".',
  125318. x20was_n: " was not declared with !default in the @used module.",
  125319. x20was_p: " was passed both by position and by name.",
  125320. x21defau: "!default should only be written once for each variable.\nThis will be an error in Dart Sass 2.0.0.",
  125321. x21globai: "!global isn't allowed for variables in other modules.",
  125322. x21globas: "!global should only be written once for each variable.\nThis will be an error in Dart Sass 2.0.0.",
  125323. x22x20can_: "\" can't be used as a parent in a compound selector.",
  125324. 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',
  125325. 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',
  125326. x22x20is_n: '" is not a valid Sass identifier.\n\nRecommendation: add an "as" clause to define an explicit namespace.',
  125327. x22x20is_o: "\" is only valid for nesting and shouldn't\nhave children other than style rules.",
  125328. x22x26__ma: '"&" may only used at the beginning of a compound selector.',
  125329. x22x29__If: "\").\nIf you really want to use the color value here, use '",
  125330. x22x2b__an: '"+" and "-" must be surrounded by whitespace in calculations.',
  125331. x22packa: '"package:" URLs aren\'t supported on this platform.',
  125332. x24color: "$color1, $color2, $weight: 50%, $method: null",
  125333. x24css_a: "$css and $module may not both be passed at once.",
  125334. x24list1: "$list1, $list2, $separator: auto, $bracketed: auto",
  125335. x24selec: "$selectors: At least one selector must be passed.",
  125336. x24separ: '$separator: Must be "space", "comma", "slash", or "auto".',
  125337. x27x20must: "' must be a path relative to the package root at '",
  125338. x27x2c_whi: "', which is not a '.scss', '.sass', or '.css' file.",
  125339. 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.",
  125340. x28__ins: "() instead.\n\nSee https://sass-lang.com/d/import",
  125341. x28__is_d: '() is deprecated. Suggestion:\n\ncolor.channel($color, "',
  125342. x28__is_oa: "() is only supported for legacy colors. Please use color.adjust() instead with an explicit $space argument.",
  125343. x28__is_oc: "() is only supported for legacy colors. Please use color.channel() instead with an explicit $space argument.",
  125344. x28__isn: "() isn't in the sass:color module.\n\nRecommendation: color.adjust(",
  125345. x29x0a_Mor_: ")\n\nMore info: https://sass-lang.com/d/color-functions",
  125346. x29x0a_Moro: ")\n\nMore info: https://sass-lang.com/documentation/functions/color#",
  125347. x29x20in_a: ") in a future release.\n\nRecommendation: math.random(math.div($limit, 1",
  125348. x29x20is_d: ") is deprecated.\n\nTo preserve current behavior: ",
  125349. x29x20to_clg: ") to color.grayscale() is deprecated.\n\nRecommendation: ",
  125350. x29x20to_cli: ") to color.invert() is deprecated.\n\nRecommendation: ",
  125351. x29x20to_cm: ") to compileString() or related functions is deprecated and will be an error in Dart Sass 2.0.0.",
  125352. x29x29__Mo: "))\n\nMore info: https://sass-lang.com/d/function-units",
  125353. x2c_whicu: ", which uses a scheme declared as non-canonical.",
  125354. x2c_whicw: ', which will likely produce invalid CSS.\nAlways quote color names when using them as strings or map keys (for example, "',
  125355. x2e_Rela: ".\nRelative canonical URLs are deprecated and will eventually be disallowed.",
  125356. x3d_____: "===== asynchronous gap ===========================\n",
  125357. 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.",
  125358. x40conte: "@content is only allowed within mixin declarations.",
  125359. x40elsei: "@elseif is deprecated and will not be supported in future Sass versions.\n\nRecommendation: @else if",
  125360. x40exten: "@extend may only be used within style rules.",
  125361. x40forwa: "@forward rules must be written before any other rules.",
  125362. x40funct: "@function if($condition, $if-true, $if-false) {",
  125363. x40use_r: "@use rules must be written before any other rules.",
  125364. A_list: "A list with more than one element must have an explicit separator.",
  125365. A_pkg_h: "A pkg: URL must not have a host, port, username or password.",
  125366. A_pkg_q: "A pkg: URL must not have a query or fragment.",
  125367. ABCDEF: "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",
  125368. An_impa: "An importer may not have a findFileUrl method as well as canonicalize and load methods.",
  125369. An_impu: "An importer must have either canonicalize and load methods, or a findFileUrl method.",
  125370. As_of_R: "As of Dart Sass 2.0.0, !global assignments won't be able to declare new variables.\n\nRecommendation: add `",
  125371. 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.",
  125372. At_rul: "At-rules may not be used within nested declarations.",
  125373. Becaus: "Because the CSS working group is still deciding on the best behavior, Sass doesn't currently support modifying missing channels (color: ",
  125374. Cannotff: "Cannot extract a file path from a URI with a fragment component",
  125375. Cannotfq: "Cannot extract a file path from a URI with a query component",
  125376. Cannotn: "Cannot extract a non-Windows file path from a file URI with an authority",
  125377. Comple: "ComplexSassNumber.hasPossiblyCompatibleUnits is not implemented.",
  125378. Could_: 'Could not find an option with short name "-',
  125379. CssNod: "CssNodes must have a CssStylesheet transitive parent node.",
  125380. Custom: "Custom importers are required to load stylesheets when compiling in the browser.",
  125381. Declarm: "Declarations may only be used within style rules.",
  125382. Declarw: 'Declarations whose names begin with "--" may not be nested.',
  125383. Either: "Either options.data or options.file must be set.",
  125384. Entrie: "Entries may not be removed from MergedMapView.",
  125385. 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",
  125386. Evalua: "Evaluation handles @include and its content block together.",
  125387. Expecta: "Expected a color interpolation method, got an empty list.",
  125388. Expectu: 'Expected unquoted string "hue" at the end of ',
  125389. Expectv: "Expected variable, mixin, or function name",
  125390. Functi: "Functions may not be declared in control directives.",
  125391. Global: "Global built-in functions are deprecated and will be removed in Dart Sass 3.0.0.\nUse ",
  125392. 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",
  125393. 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",
  125394. 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",
  125395. 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",
  125396. 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",
  125397. 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",
  125398. Hue_in: "Hue interpolation method may not be set for rectangular color space ",
  125399. If_con: "If conditions is longer than one element, conjunction may not be null.",
  125400. If_par: "If parsedAsCustomProperty is true, value must contain a SassString (was `",
  125401. If_str: "If strategy is not null, step is required.",
  125402. In_Sas: 'In Sass, "&&" means two copies of the parent selector. You probably want to use "and" instead.',
  125403. 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",
  125404. Indent: "Indenting at the beginning of the document is illegal.",
  125405. Interpn: "Interpolation isn't allowed in namespaces.",
  125406. Interpp: "Interpolation isn't allowed in plain CSS.",
  125407. Invali: 'Invalid return value for custom function "',
  125408. It_s_n: "It's not clear which file to import. Found:\n",
  125409. Keywor: "Keyword arguments can't be used with calculations.",
  125410. May_no: "May not have a value for string elements (at index ",
  125411. Media_: "Media rules may not be used within nested declarations.",
  125412. Mixinsb: "Mixins may not be declared in control directives.",
  125413. Mixinscf: "Mixins may not contain function declarations.",
  125414. Mixinscm: "Mixins may not contain mixin declarations.",
  125415. Modulel: "Module loop: this module is already being loaded.",
  125416. Modulen: "Module namespaces aren't allowed in plain CSS.",
  125417. Must_n: "Must not have a value for expression elements (at index ",
  125418. Nested: "Nested declarations aren't allowed in plain CSS.",
  125419. New_en: "New entries may not be added to MergedMapView.",
  125420. No_Sasc: "No Sass callable is currently being evaluated.",
  125421. No_Sass: "No Sass stylesheet is currently being evaluated.",
  125422. NoSour: "NoSourceMapBuffer.buildSourceMap() is not supported.",
  125423. Number: "Number to round and step arguments are required.",
  125424. Only_2: "Only 2 slash-separated elements allowed, but ",
  125425. Only_oa: "Only one argument may be passed to the plain-CSS invert() function.",
  125426. Only_op: "Only one positional argument is allowed. All other arguments must be passed by name.",
  125427. Other_: "Other modules' members can't be defined with !global.",
  125428. Parent: "Parent selectors can't have suffixes in plain CSS.",
  125429. Passin_: "Passing `alpha: null` without setting `space` is deprecated.\nMore info: https://sass-lang.com/d/null-alpha",
  125430. Passina: "Passing a string to call() is deprecated and will be illegal in Dart Sass 2.0.0.\n\nRecommendation: call(get-function(",
  125431. 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(",
  125432. Placeh: "Placeholder selectors aren't allowed in plain CSS.",
  125433. Plain_: "Plain CSS functions don't support keyword arguments.",
  125434. Positi: "Positional arguments must come before keyword arguments.",
  125435. Privat: "Private members can't be accessed from outside their modules.",
  125436. Rest_a: "Rest arguments can't be used with calculations.",
  125437. 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",
  125438. 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',
  125439. 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",
  125440. 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",
  125441. Sassx20v: "Sass variables aren't allowed in plain CSS.",
  125442. 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",
  125443. Silent: "Silent comments aren't allowed in plain CSS.",
  125444. Style_k: "Style rules may not be used within keyframe blocks.",
  125445. Style_n: "Style rules may not be used within nested declarations.",
  125446. Suppor: "Supports rules may not be used within nested declarations.",
  125447. The_Ex: "The ExtensionStore and CssStylesheet passed to cloneCssStylesheet() must come from the same compilation.",
  125448. The_No: "The Node package importer cannot be used without a filesystem.",
  125449. The_ca: "The canonicalize() method must return a URL.",
  125450. The_co: "The color() function doesn't support the color space ",
  125451. The_fe: "The feature-exists() function is deprecated.\n\nMore info: https://sass-lang.com/d/feature-exists",
  125452. The_fie: "The findFileUrl() method must return a URL.",
  125453. The_fiu: 'The findFileUrl() must return a URL with scheme file://, was "',
  125454. The_gi: "The given LineScannerState was not returned by this LineScanner.",
  125455. 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",
  125456. The_lo: "The load() function must return an object with contents and syntax fields.",
  125457. The_pa: "The parent selector isn't allowed in plain CSS.",
  125458. The_sa: "The same variable may only be configured once.",
  125459. The_ta: 'The target selector was not found.\nUse "@extend ',
  125460. There_: "There's already a module with namespace \"",
  125461. This_d: 'This declaration has no parameter named "$',
  125462. This_e: "This expression can't be used in a calculation.",
  125463. This_f: "This function isn't allowed in plain CSS.",
  125464. This_ma: 'This module and the new module both define a variable named "$',
  125465. This_mw: 'This module was already loaded, so it can\'t be configured using "with".',
  125466. This_o: "This operation can't be used in a calculation.",
  125467. This_s: "This selector doesn't have any properties and won't be rendered.",
  125468. This_v: "This variable was not declared with !default in the @used module.",
  125469. To_usei: "To use color.invert() with non-legacy color ",
  125470. To_usem: "To use color.mix() with non-legacy color ",
  125471. Top_lel: "Top-level leading combinators aren't allowed in plain CSS.",
  125472. Top_les: 'Top-level selectors may not contain the parent selector "&".',
  125473. Unable: "Unable to determine which of multiple potential resolutions found for ",
  125474. Unexpe: "Unexpected Zone.current[#_canonicalizeContext] value ",
  125475. User_a: "User-authored deprecations should not be silenced.",
  125476. Using__i: "Using / for division is deprecated and will be removed in Dart Sass 2.0.0.\n\nRecommendation: ",
  125477. Using__o: "Using / for division outside of calc() is deprecated and will be removed in Dart Sass 2.0.0.\n\nRecommendation: ",
  125478. Using_c: "Using color.alpha() for a Microsoft filter is deprecated.\n\nRecommendation: ",
  125479. 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.",
  125480. Variab_: "Variable keyword argument map must have string keys.\n",
  125481. Variabs: "Variable keyword arguments must be a map (was ",
  125482. You_ma: "You may not @extend selectors across media queries.",
  125483. You_pr: "You probably don't mean to use the color value ",
  125484. x60_inst: "` instead.\nSee https://sass-lang.com/d/extend-compound for details.\n",
  125485. addExt: "addExtensions() can't be called for a const ExtensionStore.",
  125486. adjustd: "adjust-hue() is deprecated. Suggestion:\n\ncolor.adjust($color, $hue: ",
  125487. adjusto: "adjust-hue() is only supported for legacy colors. Please use color.adjust() instead with an explicit $space argument.",
  125488. alpha_: "alpha() is only supported for legacy colors. Please use color.channel() instead.",
  125489. canoni: "canonicalizeContext may only be accessed within a call to canonicalize().",
  125490. color_a: "color.alpha() is only supported for legacy colors. Please use color.channel() instead.",
  125491. color_c: "color.changeHsl() is only supported for legacy colors. Please use color.changeChannels() instead with an explicit $space argument.",
  125492. color_t: "color.to-gamut() requires a $method argument for forwards-compatibility with changes in the CSS spec. Suggestion:\n\n$method: local-minde",
  125493. compou: "compound selectors may no longer be extended.\nConsider `@extend ",
  125494. conten: "content-exists() may only be called within a mixin.",
  125495. darken: "darken() is only supported for legacy colors. Please use color.adjust() instead with an explicit $space argument.",
  125496. desatu: "desaturate() is only supported for legacy colors. Please use color.adjust() instead with an explicit $space argument.",
  125497. fileEx: "fileExists() is only supported on Node.js",
  125498. leadin: "leadingCombinators and components may not both be empty.",
  125499. lighte: "lighten() is only supported for legacy colors. Please use color.adjust() instead with an explicit $space argument.",
  125500. linkEx: "linkExists() is only supported on Node.js",
  125501. math_d: "math.div() will only support number arguments in a future release.\nUse list.slash() instead for a slash separator.",
  125502. math_r: "math.random() will no longer ignore $limit units (",
  125503. multip: "multiple statements on one line are not supported in the indented syntax.",
  125504. must_b: "must be a UniversalSelector or a TypeSelector",
  125505. parsed: 'parsedAsCustomProperty must be false if name doesn\'t begin with "--".',
  125506. satura: "saturate() is only supported for legacy colors. Please use color.adjust() instead with an explicit $space argument.",
  125507. throug: "through() must return false for at least one parent of ",
  125508. x7d__Mor: "})\nMore info: https://sass-lang.com/d/abs-percent"
  125509. };
  125510. var type$ = (function rtii() {
  125511. var findType = A.findType;
  125512. return {
  125513. $env_1_1_String: findType("@<String>"),
  125514. ArgParser: findType("ArgParser"),
  125515. AstNode: findType("AstNode"),
  125516. AstNode_2: findType("AstNode0"),
  125517. AsyncBuiltInCallable: findType("AsyncBuiltInCallable"),
  125518. AsyncBuiltInCallable_2: findType("AsyncBuiltInCallable0"),
  125519. AsyncCallable: findType("AsyncCallable"),
  125520. AsyncCallable_2: findType("AsyncCallable0"),
  125521. AsyncCompiler: findType("AsyncCompiler"),
  125522. AsyncImporter: findType("AsyncImporter0"),
  125523. Box_SelectorList: findType("Box<SelectorList>"),
  125524. Box_SelectorList_2: findType("Box0<SelectorList0>"),
  125525. BuiltInCallable: findType("BuiltInCallable"),
  125526. BuiltInCallable_2: findType("BuiltInCallable0"),
  125527. BuiltInModule_AsyncCallable: findType("BuiltInModule<AsyncCallable>"),
  125528. BuiltInModule_AsyncCallable_2: findType("BuiltInModule0<AsyncCallable0>"),
  125529. BuiltInModule_Callable: findType("BuiltInModule<Callable0>"),
  125530. BuiltInModule_Callable_2: findType("BuiltInModule0<Callable>"),
  125531. ByteBuffer: findType("ByteBuffer"),
  125532. ByteData: findType("ByteData"),
  125533. Callable: findType("Callable0"),
  125534. Callable_2: findType("Callable"),
  125535. ChangeType: findType("ChangeType"),
  125536. CodeUnits: findType("CodeUnits"),
  125537. Combinator: findType("Combinator"),
  125538. Combinator_2: findType("Combinator0"),
  125539. Comparable_dynamic: findType("Comparable<@>"),
  125540. Comparable_nullable_Object: findType("Comparable<Object?>"),
  125541. CompileResult: findType("CompileResult"),
  125542. CompileResult_2: findType("CompileResult0"),
  125543. ComplexSelector: findType("ComplexSelector"),
  125544. ComplexSelectorComponent: findType("ComplexSelectorComponent"),
  125545. ComplexSelectorComponent_2: findType("ComplexSelectorComponent0"),
  125546. ComplexSelector_2: findType("ComplexSelector0"),
  125547. Configuration: findType("Configuration"),
  125548. Configuration_2: findType("Configuration0"),
  125549. ConfiguredValue: findType("ConfiguredValue"),
  125550. ConfiguredValue_2: findType("ConfiguredValue0"),
  125551. ConfiguredVariable: findType("ConfiguredVariable"),
  125552. ConfiguredVariable_2: findType("ConfiguredVariable0"),
  125553. ConstantMapView_Symbol_dynamic: findType("ConstantMapView<Symbol0,@>"),
  125554. ConstantStringMap_String_double: findType("ConstantStringMap<String,double>"),
  125555. ConstantStringSet_String: findType("ConstantStringSet<String>"),
  125556. CssComment: findType("CssComment"),
  125557. CssComment_2: findType("CssComment0"),
  125558. CssMediaQuery: findType("CssMediaQuery"),
  125559. CssMediaQuery_2: findType("CssMediaQuery0"),
  125560. CssParentNode: findType("CssParentNode"),
  125561. CssParentNode_2: findType("CssParentNode0"),
  125562. CssStyleRule: findType("CssStyleRule"),
  125563. CssStyleRule_2: findType("CssStyleRule0"),
  125564. CssStylesheet: findType("CssStylesheet"),
  125565. CssStylesheet_2: findType("CssStylesheet0"),
  125566. CssValue_Combinator: findType("CssValue<Combinator>"),
  125567. CssValue_Combinator_2: findType("CssValue0<Combinator0>"),
  125568. CssValue_List_String: findType("CssValue<List<String>>"),
  125569. CssValue_List_String_2: findType("CssValue0<List<String>>"),
  125570. CssValue_String: findType("CssValue<String>"),
  125571. CssValue_String_2: findType("CssValue0<String>"),
  125572. CssValue_Value: findType("CssValue<Value>"),
  125573. CssValue_Value_2: findType("CssValue0<Value0>"),
  125574. DateTime: findType("DateTime"),
  125575. Deprecation: findType("Deprecation"),
  125576. Deprecation_2: findType("Deprecation1"),
  125577. Deprecation_3: findType("Deprecation0"),
  125578. EfficientLengthIterable_dynamic: findType("EfficientLengthIterable<@>"),
  125579. Error: findType("Error"),
  125580. EvaluationContext: findType("EvaluationContext"),
  125581. EvaluationContext_2: findType("EvaluationContext0"),
  125582. Exception: findType("Exception"),
  125583. Expression: findType("Expression"),
  125584. Expression_2: findType("Expression0"),
  125585. Extender: findType("Extender"),
  125586. Extender_2: findType("Extender0"),
  125587. Extension: findType("Extension"),
  125588. Extension_2: findType("Extension0"),
  125589. FileLocation: findType("FileLocation"),
  125590. FileSpan: findType("FileSpan"),
  125591. Float32List: findType("Float32List"),
  125592. Float64List: findType("Float64List"),
  125593. FormatException: findType("FormatException"),
  125594. Frame: findType("Frame"),
  125595. Function: findType("Function"),
  125596. FutureGroup_void: findType("FutureGroup<~>"),
  125597. FutureOr_Record_2_Set_Uri_loadedUrls_and_CssStylesheet_stylesheet: findType("+loadedUrls,stylesheet(Set<Uri>,CssStylesheet)/"),
  125598. FutureOr_Record_2_Set_Uri_loadedUrls_and_CssStylesheet_stylesheet_2: findType("+loadedUrls,stylesheet(Set<Uri>,CssStylesheet0)/"),
  125599. FutureOr_nullable_Uri: findType("Uri?/"),
  125600. Future_Record_2_Set_Uri_loadedUrls_and_CssStylesheet_stylesheet: findType("Future<+loadedUrls,stylesheet(Set<Uri>,CssStylesheet)>"),
  125601. Future_Record_2_Set_Uri_loadedUrls_and_CssStylesheet_stylesheet_2: findType("Future<+loadedUrls,stylesheet(Set<Uri>,CssStylesheet0)>"),
  125602. Future_Value: findType("Future<Value>"),
  125603. Future_Value_2: findType("Future<Value0>"),
  125604. Future_nullable_CssValue_String: findType("Future<CssValue<String>?>"),
  125605. Future_nullable_CssValue_String_2: findType("Future<CssValue0<String>?>"),
  125606. Future_nullable_ImporterResult: findType("Future<ImporterResult0?>"),
  125607. Future_nullable_Uri: findType("Future<Uri?>"),
  125608. Future_nullable_Value: findType("Future<Value?>"),
  125609. Future_nullable_Value_2: findType("Future<Value0?>"),
  125610. IfClause: findType("IfClause"),
  125611. IfClause_2: findType("IfClause0"),
  125612. ImmutableList: findType("ImmutableList0"),
  125613. ImmutableList_2: findType("ImmutableList"),
  125614. ImmutableMap: findType("ImmutableMap0"),
  125615. Import: findType("Import"),
  125616. Import_2: findType("Import0"),
  125617. Importer: findType("Importer0"),
  125618. ImporterResult: findType("ImporterResult"),
  125619. ImporterResult_2: findType("ImporterResult0"),
  125620. Importer_2: findType("Importer"),
  125621. Int16List: findType("Int16List"),
  125622. Int32List: findType("Int32List"),
  125623. Int8List: findType("Int8List"),
  125624. Interpolation: findType("Interpolation"),
  125625. InterpolationBuffer: findType("InterpolationBuffer"),
  125626. InterpolationBuffer_2: findType("InterpolationBuffer0"),
  125627. InterpolationMap: findType("InterpolationMap"),
  125628. InterpolationMap_2: findType("InterpolationMap0"),
  125629. Interpolation_2: findType("Interpolation0"),
  125630. Iterable_ComplexSelectorComponent: findType("Iterable<ComplexSelectorComponent>"),
  125631. Iterable_ComplexSelectorComponent_2: findType("Iterable<ComplexSelectorComponent0>"),
  125632. Iterable_dynamic: findType("Iterable<@>"),
  125633. JSArray_AstNode: findType("JSArray<AstNode>"),
  125634. JSArray_AstNode_2: findType("JSArray<AstNode0>"),
  125635. JSArray_AsyncBuiltInCallable: findType("JSArray<AsyncBuiltInCallable>"),
  125636. JSArray_AsyncBuiltInCallable_2: findType("JSArray<AsyncBuiltInCallable0>"),
  125637. JSArray_AsyncCallable: findType("JSArray<AsyncCallable>"),
  125638. JSArray_AsyncCallable_2: findType("JSArray<AsyncCallable0>"),
  125639. JSArray_AsyncImporter: findType("JSArray<AsyncImporter0>"),
  125640. JSArray_AsyncImporter_2: findType("JSArray<AsyncImporter>"),
  125641. JSArray_BinaryOperator: findType("JSArray<BinaryOperator>"),
  125642. JSArray_BinaryOperator_2: findType("JSArray<BinaryOperator0>"),
  125643. JSArray_BuiltInCallable: findType("JSArray<BuiltInCallable>"),
  125644. JSArray_BuiltInCallable_2: findType("JSArray<BuiltInCallable0>"),
  125645. JSArray_Callable: findType("JSArray<Callable0>"),
  125646. JSArray_Callable_2: findType("JSArray<Callable>"),
  125647. JSArray_ColorChannel: findType("JSArray<ColorChannel>"),
  125648. JSArray_ColorChannel_2: findType("JSArray<ColorChannel0>"),
  125649. JSArray_ComplexSelector: findType("JSArray<ComplexSelector>"),
  125650. JSArray_ComplexSelectorComponent: findType("JSArray<ComplexSelectorComponent>"),
  125651. JSArray_ComplexSelectorComponent_2: findType("JSArray<ComplexSelectorComponent0>"),
  125652. JSArray_ComplexSelector_2: findType("JSArray<ComplexSelector0>"),
  125653. JSArray_ConfiguredVariable: findType("JSArray<ConfiguredVariable>"),
  125654. JSArray_ConfiguredVariable_2: findType("JSArray<ConfiguredVariable0>"),
  125655. JSArray_CssComment: findType("JSArray<CssComment>"),
  125656. JSArray_CssComment_2: findType("JSArray<CssComment0>"),
  125657. JSArray_CssMediaQuery: findType("JSArray<CssMediaQuery>"),
  125658. JSArray_CssMediaQuery_2: findType("JSArray<CssMediaQuery0>"),
  125659. JSArray_CssNode: findType("JSArray<CssNode>"),
  125660. JSArray_CssNode_2: findType("JSArray<CssNode0>"),
  125661. JSArray_CssStyleRule: findType("JSArray<CssStyleRule>"),
  125662. JSArray_CssStyleRule_2: findType("JSArray<CssStyleRule0>"),
  125663. JSArray_CssValue_Combinator: findType("JSArray<CssValue<Combinator>>"),
  125664. JSArray_CssValue_Combinator_2: findType("JSArray<CssValue0<Combinator0>>"),
  125665. JSArray_Entry: findType("JSArray<Entry>"),
  125666. JSArray_Expression: findType("JSArray<Expression>"),
  125667. JSArray_Expression_2: findType("JSArray<Expression0>"),
  125668. JSArray_Extender: findType("JSArray<Extender>"),
  125669. JSArray_Extender_2: findType("JSArray<Extender0>"),
  125670. JSArray_Extension: findType("JSArray<Extension>"),
  125671. JSArray_ExtensionStore: findType("JSArray<ExtensionStore>"),
  125672. JSArray_ExtensionStore_2: findType("JSArray<ExtensionStore0>"),
  125673. JSArray_Extension_2: findType("JSArray<Extension0>"),
  125674. JSArray_ForwardRule: findType("JSArray<ForwardRule>"),
  125675. JSArray_ForwardRule_2: findType("JSArray<ForwardRule0>"),
  125676. JSArray_Frame: findType("JSArray<Frame>"),
  125677. JSArray_Future_nullable_Record_3_int_and_String_and_nullable_String: findType("JSArray<Future<+(int,String,String?)?>>"),
  125678. JSArray_IfClause: findType("JSArray<IfClause>"),
  125679. JSArray_IfClause_2: findType("JSArray<IfClause0>"),
  125680. JSArray_Import: findType("JSArray<Import>"),
  125681. JSArray_Import_2: findType("JSArray<Import0>"),
  125682. JSArray_Importer: findType("JSArray<Importer>"),
  125683. JSArray_Importer_2: findType("JSArray<Importer0>"),
  125684. JSArray_Iterable_ComplexSelectorComponent: findType("JSArray<Iterable<ComplexSelectorComponent>>"),
  125685. JSArray_Iterable_ComplexSelectorComponent_2: findType("JSArray<Iterable<ComplexSelectorComponent0>>"),
  125686. JSArray_JSFunction: findType("JSArray<JSFunction0>"),
  125687. JSArray_LinearChannel: findType("JSArray<LinearChannel>"),
  125688. JSArray_LinearChannel_2: findType("JSArray<LinearChannel0>"),
  125689. JSArray_List_ComplexSelector: findType("JSArray<List<ComplexSelector>>"),
  125690. JSArray_List_ComplexSelectorComponent: findType("JSArray<List<ComplexSelectorComponent>>"),
  125691. JSArray_List_ComplexSelectorComponent_2: findType("JSArray<List<ComplexSelectorComponent0>>"),
  125692. JSArray_List_ComplexSelector_2: findType("JSArray<List<ComplexSelector0>>"),
  125693. JSArray_List_Extender: findType("JSArray<List<Extender>>"),
  125694. JSArray_List_Extender_2: findType("JSArray<List<Extender0>>"),
  125695. JSArray_List_Iterable_ComplexSelectorComponent: findType("JSArray<List<Iterable<ComplexSelectorComponent>>>"),
  125696. JSArray_List_Iterable_ComplexSelectorComponent_2: findType("JSArray<List<Iterable<ComplexSelectorComponent0>>>"),
  125697. JSArray_Map_String_AstNode: findType("JSArray<Map<String,AstNode>>"),
  125698. JSArray_Map_String_AstNode_2: findType("JSArray<Map<String,AstNode0>>"),
  125699. JSArray_Map_String_AsyncCallable: findType("JSArray<Map<String,AsyncCallable>>"),
  125700. JSArray_Map_String_AsyncCallable_2: findType("JSArray<Map<String,AsyncCallable0>>"),
  125701. JSArray_Map_String_Callable: findType("JSArray<Map<String,Callable0>>"),
  125702. JSArray_Map_String_Callable_2: findType("JSArray<Map<String,Callable>>"),
  125703. JSArray_Map_String_Value: findType("JSArray<Map<String,Value>>"),
  125704. JSArray_Map_String_Value_2: findType("JSArray<Map<String,Value0>>"),
  125705. JSArray_ModifiableCssImport: findType("JSArray<ModifiableCssImport>"),
  125706. JSArray_ModifiableCssImport_2: findType("JSArray<ModifiableCssImport0>"),
  125707. JSArray_ModifiableCssNode: findType("JSArray<ModifiableCssNode>"),
  125708. JSArray_ModifiableCssNode_2: findType("JSArray<ModifiableCssNode0>"),
  125709. JSArray_ModifiableCssParentNode: findType("JSArray<ModifiableCssParentNode>"),
  125710. JSArray_ModifiableCssParentNode_2: findType("JSArray<ModifiableCssParentNode0>"),
  125711. JSArray_Module_AsyncCallable: findType("JSArray<Module0<AsyncCallable>>"),
  125712. JSArray_Module_AsyncCallable_2: findType("JSArray<Module1<AsyncCallable0>>"),
  125713. JSArray_Module_Callable: findType("JSArray<Module0<Callable0>>"),
  125714. JSArray_Module_Callable_2: findType("JSArray<Module1<Callable>>"),
  125715. JSArray_Object: findType("JSArray<Object>"),
  125716. JSArray_Parameter: findType("JSArray<Parameter>"),
  125717. JSArray_Parameter_2: findType("JSArray<Parameter0>"),
  125718. JSArray_PseudoSelector: findType("JSArray<PseudoSelector>"),
  125719. JSArray_PseudoSelector_2: findType("JSArray<PseudoSelector0>"),
  125720. JSArray_Record_2_Expression_and_Expression: findType("JSArray<+(Expression,Expression)>"),
  125721. JSArray_Record_2_Expression_and_Expression_2: findType("JSArray<+(Expression0,Expression0)>"),
  125722. JSArray_Record_2_ParameterList_and_Value_Function_List_Value: findType("JSArray<+(ParameterList,Value(List<Value>))>"),
  125723. JSArray_Record_2_ParameterList_and_Value_Function_List_Value_2: findType("JSArray<+(ParameterList0,Value0(List<Value0>))>"),
  125724. JSArray_Record_2_String_and_AstNode: findType("JSArray<+(String,AstNode)>"),
  125725. JSArray_Record_2_String_and_AstNode_2: findType("JSArray<+(String,AstNode0)>"),
  125726. JSArray_Record_3_nullable_Deprecation_deprecation_and_String_message_and_FileSpan_span: findType("JSArray<+deprecation,message,span(Deprecation?,String,FileSpan)>"),
  125727. JSArray_Record_3_nullable_Deprecation_deprecation_and_String_message_and_FileSpan_span_2: findType("JSArray<+deprecation,message,span(Deprecation0?,String,FileSpan)>"),
  125728. JSArray_SassList: findType("JSArray<SassList>"),
  125729. JSArray_SassList_2: findType("JSArray<SassList0>"),
  125730. JSArray_SimpleSelector: findType("JSArray<SimpleSelector>"),
  125731. JSArray_SimpleSelector_2: findType("JSArray<SimpleSelector0>"),
  125732. JSArray_SourceLocation: findType("JSArray<SourceLocation>"),
  125733. JSArray_Statement: findType("JSArray<Statement>"),
  125734. JSArray_Statement_2: findType("JSArray<Statement0>"),
  125735. JSArray_String: findType("JSArray<String>"),
  125736. JSArray_StylesheetNode: findType("JSArray<StylesheetNode>"),
  125737. JSArray_TargetEntry: findType("JSArray<TargetEntry>"),
  125738. JSArray_TargetLineEntry: findType("JSArray<TargetLineEntry>"),
  125739. JSArray_Trace: findType("JSArray<Trace>"),
  125740. JSArray_UseRule: findType("JSArray<UseRule>"),
  125741. JSArray_UseRule_2: findType("JSArray<UseRule0>"),
  125742. JSArray_Value: findType("JSArray<Value>"),
  125743. JSArray_Value_2: findType("JSArray<Value0>"),
  125744. JSArray_WatchEvent: findType("JSArray<WatchEvent>"),
  125745. JSArray__Highlight: findType("JSArray<_Highlight>"),
  125746. JSArray__Line: findType("JSArray<_Line>"),
  125747. JSArray_double: findType("JSArray<double>"),
  125748. JSArray_dynamic: findType("JSArray<@>"),
  125749. JSArray_int: findType("JSArray<int>"),
  125750. JSArray_nullable_FileSpan: findType("JSArray<FileSpan?>"),
  125751. JSArray_nullable_Record_3_int_and_String_and_nullable_String: findType("JSArray<+(int,String,String?)?>"),
  125752. JSArray_nullable_SassNumber: findType("JSArray<SassNumber?>"),
  125753. JSArray_nullable_SassNumber_2: findType("JSArray<SassNumber0?>"),
  125754. JSArray_nullable_String: findType("JSArray<String?>"),
  125755. JSClass: findType("JSClass0"),
  125756. JSFunction: findType("JSFunction0"),
  125757. JSImporter: findType("JSImporter"),
  125758. JSImporterResult: findType("JSImporterResult"),
  125759. JSNull: findType("JSNull"),
  125760. JSObject: findType("JSObject"),
  125761. JSUrl: findType("JSUrl0"),
  125762. JavaScriptFunction: findType("JavaScriptFunction"),
  125763. JavaScriptIndexingBehavior_dynamic: findType("JavaScriptIndexingBehavior<@>"),
  125764. JsIdentityLinkedHashMap_SimpleSelector_int: findType("JsIdentityLinkedHashMap<SimpleSelector,int>"),
  125765. JsIdentityLinkedHashMap_SimpleSelector_int_2: findType("JsIdentityLinkedHashMap<SimpleSelector0,int>"),
  125766. JsIdentityLinkedHashMap_of_SelectorList_and_Box_SelectorList: findType("JsIdentityLinkedHashMap<SelectorList,Box<SelectorList>>"),
  125767. JsIdentityLinkedHashMap_of_SelectorList_and_Box_SelectorList_2: findType("JsIdentityLinkedHashMap<SelectorList0,Box0<SelectorList0>>"),
  125768. JsLinkedHashMap_Symbol_dynamic: findType("JsLinkedHashMap<Symbol0,@>"),
  125769. JsSystemError: findType("JsSystemError"),
  125770. LimitedMapView_String_ConfiguredValue: findType("LimitedMapView<String,ConfiguredValue>"),
  125771. LimitedMapView_String_ConfiguredValue_2: findType("LimitedMapView0<String,ConfiguredValue0>"),
  125772. LinearChannel: findType("LinearChannel"),
  125773. LinearChannel_2: findType("LinearChannel0"),
  125774. List_ComplexSelectorComponent: findType("List<ComplexSelectorComponent>"),
  125775. List_ComplexSelectorComponent_2: findType("List<ComplexSelectorComponent0>"),
  125776. List_CssComment: findType("List<CssComment>"),
  125777. List_CssComment_2: findType("List<CssComment0>"),
  125778. List_CssMediaQuery: findType("List<CssMediaQuery>"),
  125779. List_CssMediaQuery_2: findType("List<CssMediaQuery0>"),
  125780. List_CssValue_Combinator: findType("List<CssValue<Combinator>>"),
  125781. List_CssValue_Combinator_2: findType("List<CssValue0<Combinator0>>"),
  125782. List_Extension: findType("List<Extension>"),
  125783. List_ExtensionStore: findType("List<ExtensionStore>"),
  125784. List_ExtensionStore_2: findType("List<ExtensionStore0>"),
  125785. List_Extension_2: findType("List<Extension0>"),
  125786. List_JSObject: findType("List<JSObject>"),
  125787. List_List_ComplexSelectorComponent: findType("List<List<ComplexSelectorComponent>>"),
  125788. List_List_ComplexSelectorComponent_2: findType("List<List<ComplexSelectorComponent0>>"),
  125789. List_Module_AsyncCallable: findType("List<Module0<AsyncCallable>>"),
  125790. List_Module_AsyncCallable_2: findType("List<Module1<AsyncCallable0>>"),
  125791. List_Module_Callable: findType("List<Module0<Callable0>>"),
  125792. List_Module_Callable_2: findType("List<Module1<Callable>>"),
  125793. List_String: findType("List<String>"),
  125794. List_WatchEvent: findType("List<WatchEvent>"),
  125795. List_dynamic: findType("List<@>"),
  125796. List_int: findType("List<int>"),
  125797. MapKeySet_Module_AsyncCallable: findType("MapKeySet<Module0<AsyncCallable>>"),
  125798. MapKeySet_Module_AsyncCallable_2: findType("MapKeySet<Module1<AsyncCallable0>>"),
  125799. MapKeySet_Module_Callable: findType("MapKeySet<Module0<Callable0>>"),
  125800. MapKeySet_Module_Callable_2: findType("MapKeySet<Module1<Callable>>"),
  125801. MapKeySet_SimpleSelector: findType("MapKeySet<SimpleSelector>"),
  125802. MapKeySet_SimpleSelector_2: findType("MapKeySet<SimpleSelector0>"),
  125803. MapKeySet_String: findType("MapKeySet<String>"),
  125804. MapKeySet_nullable_Object: findType("MapKeySet<Object?>"),
  125805. Map_ComplexSelector_Extension: findType("Map<ComplexSelector,Extension>"),
  125806. Map_ComplexSelector_Extension_2: findType("Map<ComplexSelector0,Extension0>"),
  125807. Map_String_AstNode: findType("Map<String,AstNode>"),
  125808. Map_String_AstNode_2: findType("Map<String,AstNode0>"),
  125809. Map_String_AsyncCallable: findType("Map<String,AsyncCallable>"),
  125810. Map_String_AsyncCallable_2: findType("Map<String,AsyncCallable0>"),
  125811. Map_String_Callable: findType("Map<String,Callable0>"),
  125812. Map_String_Callable_2: findType("Map<String,Callable>"),
  125813. Map_String_Value: findType("Map<String,Value>"),
  125814. Map_String_Value_2: findType("Map<String,Value0>"),
  125815. Map_String_dynamic: findType("Map<String,@>"),
  125816. Map_dynamic_dynamic: findType("Map<@,@>"),
  125817. MappedIterable_String_Frame: findType("MappedIterable<String,Frame>"),
  125818. MappedListIterable_Frame_Frame: findType("MappedListIterable<Frame,Frame>"),
  125819. MappedListIterable_String_Object: findType("MappedListIterable<String,Object>"),
  125820. MappedListIterable_String_String: findType("MappedListIterable<String,String>"),
  125821. MappedListIterable_String_Trace: findType("MappedListIterable<String,Trace>"),
  125822. MappedListIterable_String_Value: findType("MappedListIterable<String,Value>"),
  125823. MappedListIterable_String_Value_2: findType("MappedListIterable<String,Value0>"),
  125824. MappedListIterable_String_dynamic: findType("MappedListIterable<String,@>"),
  125825. MixinRule: findType("MixinRule"),
  125826. MixinRule_2: findType("MixinRule0"),
  125827. ModifiableBox_SelectorList: findType("ModifiableBox<SelectorList>"),
  125828. ModifiableBox_SelectorList_2: findType("ModifiableBox0<SelectorList0>"),
  125829. ModifiableCssAtRule: findType("ModifiableCssAtRule"),
  125830. ModifiableCssAtRule_2: findType("ModifiableCssAtRule0"),
  125831. ModifiableCssKeyframeBlock: findType("ModifiableCssKeyframeBlock"),
  125832. ModifiableCssKeyframeBlock_2: findType("ModifiableCssKeyframeBlock0"),
  125833. ModifiableCssMediaRule: findType("ModifiableCssMediaRule"),
  125834. ModifiableCssMediaRule_2: findType("ModifiableCssMediaRule0"),
  125835. ModifiableCssNode: findType("ModifiableCssNode"),
  125836. ModifiableCssNode_2: findType("ModifiableCssNode0"),
  125837. ModifiableCssParentNode: findType("ModifiableCssParentNode"),
  125838. ModifiableCssParentNode_2: findType("ModifiableCssParentNode0"),
  125839. ModifiableCssStyleRule: findType("ModifiableCssStyleRule"),
  125840. ModifiableCssStyleRule_2: findType("ModifiableCssStyleRule0"),
  125841. ModifiableCssSupportsRule: findType("ModifiableCssSupportsRule"),
  125842. ModifiableCssSupportsRule_2: findType("ModifiableCssSupportsRule0"),
  125843. Module_AsyncCallable: findType("Module0<AsyncCallable>"),
  125844. Module_AsyncCallable_2: findType("Module1<AsyncCallable0>"),
  125845. Module_Callable: findType("Module0<Callable0>"),
  125846. Module_Callable_2: findType("Module1<Callable>"),
  125847. MultiSourceSpanFormatException: findType("MultiSourceSpanFormatException"),
  125848. NativeTypedArrayOfDouble: findType("NativeTypedArrayOfDouble"),
  125849. NativeTypedArrayOfInt: findType("NativeTypedArrayOfInt"),
  125850. NativeUint8List: findType("NativeUint8List"),
  125851. Never: findType("0&"),
  125852. NodeCompileResult: findType("NodeCompileResult"),
  125853. NodeImporterResult: findType("NodeImporterResult0"),
  125854. NonNullsIterable_Future_void: findType("NonNullsIterable<Future<~>>"),
  125855. NonNullsIterable_Object: findType("NonNullsIterable<Object>"),
  125856. NonNullsIterable_Record_3_AsyncImporter_and_Uri_and_Uri_originalUrl: findType("NonNullsIterable<+originalUrl(AsyncImporter,Uri,Uri)>"),
  125857. NonNullsIterable_Record_3_AsyncImporter_and_Uri_and_Uri_originalUrl_2: findType("NonNullsIterable<+originalUrl(AsyncImporter0,Uri,Uri)>"),
  125858. NonNullsIterable_Record_3_Importer_and_Uri_and_Uri_originalUrl: findType("NonNullsIterable<+originalUrl(Importer,Uri,Uri)>"),
  125859. NonNullsIterable_Record_3_Importer_and_Uri_and_Uri_originalUrl_2: findType("NonNullsIterable<+originalUrl(Importer0,Uri,Uri)>"),
  125860. NonNullsIterable_SelectorList: findType("NonNullsIterable<SelectorList>"),
  125861. NonNullsIterable_SelectorList_2: findType("NonNullsIterable<SelectorList0>"),
  125862. NonNullsIterable_String: findType("NonNullsIterable<String>"),
  125863. Null: findType("Null"),
  125864. NumberExpression: findType("NumberExpression"),
  125865. NumberExpression_2: findType("NumberExpression0"),
  125866. Object: findType("Object"),
  125867. Option: findType("Option"),
  125868. Parameter: findType("Parameter"),
  125869. ParameterList: findType("ParameterList"),
  125870. ParameterList_2: findType("ParameterList0"),
  125871. Parameter_2: findType("Parameter0"),
  125872. PathMap_ChangeType: findType("PathMap<ChangeType>"),
  125873. PathMap_Stream_WatchEvent: findType("PathMap<Stream<WatchEvent>>"),
  125874. PathMap_String: findType("PathMap<String>"),
  125875. PathMap_nullable_String: findType("PathMap<String?>"),
  125876. Promise: findType("Promise"),
  125877. PseudoSelector: findType("PseudoSelector"),
  125878. PseudoSelector_2: findType("PseudoSelector0"),
  125879. RangeError: findType("RangeError"),
  125880. Record: findType("Record"),
  125881. Record_0: findType("+()"),
  125882. Record_1_nullable_Object: findType("+(Object?)"),
  125883. Record_2_Expression_and_Expression: findType("+(Expression,Expression)"),
  125884. Record_2_Expression_and_Expression_2: findType("+(Expression0,Expression0)"),
  125885. Record_2_List_Expression_and_Map_String_Expression: findType("+(List<Expression>,Map<String,Expression>)"),
  125886. Record_2_List_Expression_and_Map_String_Expression_2: findType("+(List<Expression0>,Map<String,Expression0>)"),
  125887. Record_2_Set_Uri_loadedUrls_and_CssStylesheet_stylesheet: findType("+loadedUrls,stylesheet(Set<Uri>,CssStylesheet)"),
  125888. Record_2_Set_Uri_loadedUrls_and_CssStylesheet_stylesheet_2: findType("+loadedUrls,stylesheet(Set<Uri>,CssStylesheet0)"),
  125889. Record_2_String_and_InterpolationMap: findType("+(String,InterpolationMap)"),
  125890. Record_2_String_and_InterpolationMap_2: findType("+(String,InterpolationMap0)"),
  125891. Record_2_String_and_SourceSpan: findType("+(String,SourceSpan)"),
  125892. Record_2_String_and_nullable_InterpolationMap: findType("+(String,InterpolationMap?)"),
  125893. Record_2_String_and_nullable_InterpolationMap_2: findType("+(String,InterpolationMap0?)"),
  125894. Record_2_Uri_and_bool_forImport: findType("+forImport(Uri,bool)"),
  125895. Record_2_nullable_Object_and_nullable_Object: findType("+(Object?,Object?)"),
  125896. Record_2_nullable_Record_3_AsyncImporter_and_Uri_and_Uri_originalUrl_and_bool: findType("+(+originalUrl(AsyncImporter,Uri,Uri)?,bool)"),
  125897. Record_2_nullable_Record_3_AsyncImporter_and_Uri_and_Uri_originalUrl_and_bool_2: findType("+(+originalUrl(AsyncImporter0,Uri,Uri)?,bool)"),
  125898. Record_2_nullable_String_and_nullable_String: findType("+(String?,String?)"),
  125899. Record_3_AsyncImporter_and_Uri_and_Uri_originalUrl: findType("+originalUrl(AsyncImporter,Uri,Uri)"),
  125900. Record_3_AsyncImporter_and_Uri_and_Uri_originalUrl_2: findType("+originalUrl(AsyncImporter0,Uri,Uri)"),
  125901. Record_3_AsyncImporter_and_Uri_and_bool_forImport: findType("+forImport(AsyncImporter,Uri,bool)"),
  125902. Record_3_AsyncImporter_and_Uri_and_bool_forImport_2: findType("+forImport(AsyncImporter0,Uri,bool)"),
  125903. Record_3_Importer_and_Uri_and_Uri_originalUrl: findType("+originalUrl(Importer,Uri,Uri)"),
  125904. Record_3_Importer_and_Uri_and_Uri_originalUrl_2: findType("+originalUrl(Importer0,Uri,Uri)"),
  125905. Record_3_Importer_and_Uri_and_bool_forImport: findType("+forImport(Importer,Uri,bool)"),
  125906. Record_3_Importer_and_Uri_and_bool_forImport_2: findType("+forImport(Importer0,Uri,bool)"),
  125907. Record_3_Stylesheet_and_nullable_AsyncImporter_importer_and_bool_isDependency: findType("+importer,isDependency(Stylesheet,AsyncImporter?,bool)"),
  125908. Record_3_Stylesheet_and_nullable_AsyncImporter_importer_and_bool_isDependency_2: findType("+importer,isDependency(Stylesheet0,AsyncImporter0?,bool)"),
  125909. Record_3_nullable_Object_and_nullable_Object_and_nullable_Object_originalUrl: findType("+originalUrl(Object?,Object?,Object?)"),
  125910. 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)"),
  125911. 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)"),
  125912. RegExpMatch: findType("RegExpMatch"),
  125913. RenderContextOptions: findType("RenderContextOptions0"),
  125914. RenderResult: findType("RenderResult"),
  125915. Result_String: findType("Result<String>"),
  125916. ReversedListIterable_Frame: findType("ReversedListIterable<Frame>"),
  125917. Runes: findType("Runes"),
  125918. SassArgumentList: findType("SassArgumentList"),
  125919. SassArgumentList_2: findType("SassArgumentList0"),
  125920. SassBoolean: findType("SassBoolean"),
  125921. SassBoolean_2: findType("SassBoolean0"),
  125922. SassColor: findType("SassColor"),
  125923. SassColor_2: findType("SassColor0"),
  125924. SassFormatException: findType("SassFormatException"),
  125925. SassFormatException_2: findType("SassFormatException0"),
  125926. SassList: findType("SassList"),
  125927. SassList_2: findType("SassList0"),
  125928. SassMap: findType("SassMap"),
  125929. SassMap_2: findType("SassMap0"),
  125930. SassNumber: findType("SassNumber"),
  125931. SassNumber_2: findType("SassNumber0"),
  125932. SassRuntimeException: findType("SassRuntimeException"),
  125933. SassRuntimeException_2: findType("SassRuntimeException0"),
  125934. SassString: findType("SassString"),
  125935. SassString_2: findType("SassString0"),
  125936. SelectorList: findType("SelectorList"),
  125937. SelectorList_2: findType("SelectorList0"),
  125938. Set_ModifiableBox_SelectorList: findType("Set<ModifiableBox<SelectorList>>"),
  125939. Set_ModifiableBox_SelectorList_2: findType("Set<ModifiableBox0<SelectorList0>>"),
  125940. Set_Uri: findType("Set<Uri>"),
  125941. SimpleSelector: findType("SimpleSelector"),
  125942. SimpleSelector_2: findType("SimpleSelector0"),
  125943. SourceFile: findType("SourceFile"),
  125944. SourceLocation: findType("SourceLocation"),
  125945. SourceSpan: findType("SourceSpan"),
  125946. SourceSpanFormatException: findType("SourceSpanFormatException"),
  125947. SourceSpanWithContext: findType("SourceSpanWithContext"),
  125948. StackTrace: findType("StackTrace"),
  125949. Statement: findType("Statement"),
  125950. Statement_2: findType("Statement0"),
  125951. StaticImport: findType("StaticImport"),
  125952. StaticImport_2: findType("StaticImport0"),
  125953. StreamCompleter_WatchEvent: findType("StreamCompleter<WatchEvent>"),
  125954. StreamGroup_WatchEvent: findType("StreamGroup<WatchEvent>"),
  125955. StreamQueue_String: findType("StreamQueue<String>"),
  125956. Stream_WatchEvent: findType("Stream<WatchEvent>"),
  125957. String: findType("String"),
  125958. StringExpression: findType("StringExpression"),
  125959. StringExpression_2: findType("StringExpression0"),
  125960. StylesheetNode: findType("StylesheetNode"),
  125961. Timer: findType("Timer"),
  125962. Trace: findType("Trace"),
  125963. TrustedGetRuntimeType: findType("TrustedGetRuntimeType"),
  125964. TypeError: findType("TypeError"),
  125965. TypeSelector: findType("TypeSelector"),
  125966. TypeSelector_2: findType("TypeSelector0"),
  125967. Uint16List: findType("Uint16List"),
  125968. Uint32List: findType("Uint32List"),
  125969. Uint8ClampedList: findType("Uint8ClampedList"),
  125970. Uint8List: findType("Uint8List"),
  125971. UnionSet_Uri: findType("UnionSet<Uri>"),
  125972. UnknownJavaScriptObject: findType("UnknownJavaScriptObject"),
  125973. UnmodifiableListView_CssComment: findType("UnmodifiableListView<CssComment>"),
  125974. UnmodifiableListView_CssComment_2: findType("UnmodifiableListView<CssComment0>"),
  125975. UnmodifiableListView_CssNode: findType("UnmodifiableListView<CssNode>"),
  125976. UnmodifiableListView_CssNode_2: findType("UnmodifiableListView<CssNode0>"),
  125977. UnmodifiableListView_ForwardRule: findType("UnmodifiableListView<ForwardRule>"),
  125978. UnmodifiableListView_ForwardRule_2: findType("UnmodifiableListView<ForwardRule0>"),
  125979. UnmodifiableListView_ModifiableCssNode: findType("UnmodifiableListView<ModifiableCssNode>"),
  125980. UnmodifiableListView_ModifiableCssNode_2: findType("UnmodifiableListView<ModifiableCssNode0>"),
  125981. UnmodifiableListView_Record_3_nullable_Deprecation_deprecation_and_String_message_and_FileSpan_span: findType("UnmodifiableListView<+deprecation,message,span(Deprecation?,String,FileSpan)>"),
  125982. UnmodifiableListView_Record_3_nullable_Deprecation_deprecation_and_String_message_and_FileSpan_span_2: findType("UnmodifiableListView<+deprecation,message,span(Deprecation0?,String,FileSpan)>"),
  125983. UnmodifiableListView_String: findType("UnmodifiableListView<String>"),
  125984. UnmodifiableListView_UseRule: findType("UnmodifiableListView<UseRule>"),
  125985. UnmodifiableListView_UseRule_2: findType("UnmodifiableListView<UseRule0>"),
  125986. UnmodifiableMapView_String_ArgParser: findType("UnmodifiableMapView<String,ArgParser>"),
  125987. UnmodifiableMapView_String_ConfiguredValue: findType("UnmodifiableMapView<String,ConfiguredValue>"),
  125988. UnmodifiableMapView_String_ConfiguredValue_2: findType("UnmodifiableMapView<String,ConfiguredValue0>"),
  125989. UnmodifiableMapView_String_Option: findType("UnmodifiableMapView<String,Option>"),
  125990. UnmodifiableMapView_String_Value: findType("UnmodifiableMapView<String,Value>"),
  125991. UnmodifiableMapView_String_Value_2: findType("UnmodifiableMapView<String,Value0>"),
  125992. UnmodifiableMapView_of_Uri_and_nullable_StylesheetNode: findType("UnmodifiableMapView<Uri,StylesheetNode?>"),
  125993. UnmodifiableMapView_of_nullable_String_and_String: findType("UnmodifiableMapView<String?,String>"),
  125994. UnmodifiableMapView_of_nullable_String_and_nullable_String: findType("UnmodifiableMapView<String?,String?>"),
  125995. UnmodifiableSetView_String: findType("UnmodifiableSetView0<String>"),
  125996. UnmodifiableSetView_StylesheetNode: findType("UnmodifiableSetView0<StylesheetNode>"),
  125997. UnmodifiableSetView_Uri: findType("UnmodifiableSetView0<Uri>"),
  125998. UnprefixedMapView_ConfiguredValue: findType("UnprefixedMapView<ConfiguredValue>"),
  125999. UnprefixedMapView_ConfiguredValue_2: findType("UnprefixedMapView0<ConfiguredValue0>"),
  126000. Uri: findType("Uri"),
  126001. UseRule: findType("UseRule"),
  126002. UserDefinedCallable_AsyncEnvironment: findType("UserDefinedCallable<AsyncEnvironment>"),
  126003. UserDefinedCallable_AsyncEnvironment_2: findType("UserDefinedCallable0<AsyncEnvironment0>"),
  126004. UserDefinedCallable_Environment: findType("UserDefinedCallable<Environment>"),
  126005. UserDefinedCallable_Environment_2: findType("UserDefinedCallable0<Environment0>"),
  126006. Value: findType("Value"),
  126007. Value_2: findType("Value0"),
  126008. Value_Function_List_Value: findType("Value(List<Value>)"),
  126009. Value_Function_List_Value_2: findType("Value0(List<Value0>)"),
  126010. VariableDeclaration: findType("VariableDeclaration"),
  126011. VersionRange: findType("VersionRange"),
  126012. WatchEvent: findType("WatchEvent"),
  126013. WhereIterable_List_Iterable_ComplexSelectorComponent: findType("WhereIterable<List<Iterable<ComplexSelectorComponent>>>"),
  126014. WhereIterable_List_Iterable_ComplexSelectorComponent_2: findType("WhereIterable<List<Iterable<ComplexSelectorComponent0>>>"),
  126015. WhereIterable_String: findType("WhereIterable<String>"),
  126016. WhereTypeIterable_PseudoSelector: findType("WhereTypeIterable<PseudoSelector>"),
  126017. WhereTypeIterable_PseudoSelector_2: findType("WhereTypeIterable<PseudoSelector0>"),
  126018. WhereTypeIterable_String: findType("WhereTypeIterable<String>"),
  126019. _AsyncCompleter_List_void: findType("_AsyncCompleter<List<~>>"),
  126020. _AsyncCompleter_Object: findType("_AsyncCompleter<Object>"),
  126021. _AsyncCompleter_Stream_WatchEvent: findType("_AsyncCompleter<Stream<WatchEvent>>"),
  126022. _AsyncCompleter_String: findType("_AsyncCompleter<String>"),
  126023. _AsyncCompleter_nullable_Object: findType("_AsyncCompleter<Object?>"),
  126024. _CompleterStream_WatchEvent: findType("_CompleterStream<WatchEvent>"),
  126025. _EventRequest_dynamic: findType("_EventRequest<@>"),
  126026. _Future_List_void: findType("_Future<List<~>>"),
  126027. _Future_Object: findType("_Future<Object>"),
  126028. _Future_Stream_WatchEvent: findType("_Future<Stream<WatchEvent>>"),
  126029. _Future_String: findType("_Future<String>"),
  126030. _Future_Value: findType("_Future<Value>"),
  126031. _Future_Value_2: findType("_Future<Value0>"),
  126032. _Future_bool: findType("_Future<bool>"),
  126033. _Future_dynamic: findType("_Future<@>"),
  126034. _Future_int: findType("_Future<int>"),
  126035. _Future_nullable_Object: findType("_Future<Object?>"),
  126036. _Future_void: findType("_Future<~>"),
  126037. _Highlight: findType("_Highlight"),
  126038. _IdentityHashMap_of_nullable_Object_and_nullable_Object: findType("_IdentityHashMap<Object?,Object?>"),
  126039. _LinkedIdentityHashSet_ComplexSelector: findType("_LinkedIdentityHashSet<ComplexSelector>"),
  126040. _LinkedIdentityHashSet_ComplexSelector_2: findType("_LinkedIdentityHashSet<ComplexSelector0>"),
  126041. _LinkedIdentityHashSet_Extension: findType("_LinkedIdentityHashSet<Extension>"),
  126042. _LinkedIdentityHashSet_Extension_2: findType("_LinkedIdentityHashSet<Extension0>"),
  126043. _MapEntry: findType("_MapEntry"),
  126044. _NodeException: findType("_NodeException"),
  126045. _PlatformUri: findType("_PlatformUri"),
  126046. _SyncStarIterable_Deprecation: findType("_SyncStarIterable<Deprecation0>"),
  126047. _SyncStarIterable_Extension: findType("_SyncStarIterable<Extension>"),
  126048. _SyncStarIterable_Extension_2: findType("_SyncStarIterable<Extension0>"),
  126049. _SyncStarIterable_SimpleSelector: findType("_SyncStarIterable<SimpleSelector>"),
  126050. _SyncStarIterable_SimpleSelector_2: findType("_SyncStarIterable<SimpleSelector0>"),
  126051. _SyncStarIterable_String: findType("_SyncStarIterable<String>"),
  126052. bool: findType("bool"),
  126053. double: findType("double"),
  126054. dynamic: findType("@"),
  126055. dynamic_Function: findType("@()"),
  126056. dynamic_Function_Object: findType("@(Object)"),
  126057. dynamic_Function_Object_StackTrace: findType("@(Object,StackTrace)"),
  126058. int: findType("int"),
  126059. nullable_AstNode: findType("AstNode?"),
  126060. nullable_AstNode_2: findType("AstNode0?"),
  126061. nullable_CanonicalizeContext: findType("CanonicalizeContext?"),
  126062. nullable_CanonicalizeContext_2: findType("CanonicalizeContext0?"),
  126063. nullable_CssValue_String: findType("CssValue<String>?"),
  126064. nullable_CssValue_String_2: findType("CssValue0<String>?"),
  126065. nullable_FileSpan: findType("FileSpan?"),
  126066. nullable_Future_Null: findType("Future<Null>?"),
  126067. nullable_Future_void: findType("Future<~>?"),
  126068. nullable_ImporterResult: findType("ImporterResult?"),
  126069. nullable_ImporterResult_2: findType("ImporterResult0?"),
  126070. nullable_Object: findType("Object?"),
  126071. nullable_Record_2_String_and_String: findType("+(String,String)?"),
  126072. nullable_Record_3_AsyncImporter_and_Uri_and_Uri_originalUrl: findType("+originalUrl(AsyncImporter,Uri,Uri)?"),
  126073. nullable_Record_3_AsyncImporter_and_Uri_and_Uri_originalUrl_2: findType("+originalUrl(AsyncImporter0,Uri,Uri)?"),
  126074. nullable_Record_3_Importer_and_Uri_and_Uri_originalUrl: findType("+originalUrl(Importer,Uri,Uri)?"),
  126075. nullable_Record_3_Importer_and_Uri_and_Uri_originalUrl_2: findType("+originalUrl(Importer0,Uri,Uri)?"),
  126076. nullable_Record_3_Stylesheet_and_nullable_AsyncImporter_importer_and_bool_isDependency: findType("+importer,isDependency(Stylesheet0,AsyncImporter0?,bool)?"),
  126077. nullable_Record_3_int_and_String_and_nullable_String: findType("+(int,String,String?)?"),
  126078. nullable_SourceFile: findType("SourceFile?"),
  126079. nullable_StreamSubscription_WatchEvent: findType("StreamSubscription<WatchEvent>?"),
  126080. nullable_String: findType("String?"),
  126081. nullable_Stylesheet: findType("Stylesheet?"),
  126082. nullable_StylesheetNode: findType("StylesheetNode?"),
  126083. nullable_Stylesheet_2: findType("Stylesheet0?"),
  126084. nullable_Uri: findType("Uri?"),
  126085. nullable_Value: findType("Value?"),
  126086. nullable_Value_2: findType("Value0?"),
  126087. nullable__ConstructorOptions: findType("_ConstructorOptions?"),
  126088. nullable__ConstructorOptions_2: findType("_ConstructorOptions0?"),
  126089. nullable__ConstructorOptions_3: findType("_ConstructorOptions1?"),
  126090. nullable__Highlight: findType("_Highlight?"),
  126091. nullable_bool: findType("bool?"),
  126092. nullable_double: findType("double?"),
  126093. nullable_int: findType("int?"),
  126094. nullable_num: findType("num?"),
  126095. num: findType("num"),
  126096. void: findType("~"),
  126097. void_Function_Object: findType("~(Object)"),
  126098. void_Function_Object_StackTrace: findType("~(Object,StackTrace)")
  126099. };
  126100. })();
  126101. (function constants() {
  126102. var makeConstList = hunkHelpers.makeConstList;
  126103. B.Interceptor_methods = J.Interceptor.prototype;
  126104. B.JSArray_methods = J.JSArray.prototype;
  126105. B.JSBool_methods = J.JSBool.prototype;
  126106. B.JSInt_methods = J.JSInt.prototype;
  126107. B.JSNull_methods = J.JSNull.prototype;
  126108. B.JSNumber_methods = J.JSNumber.prototype;
  126109. B.JSString_methods = J.JSString.prototype;
  126110. B.JavaScriptFunction_methods = J.JavaScriptFunction.prototype;
  126111. B.JavaScriptObject_methods = J.JavaScriptObject.prototype;
  126112. B.NativeUint32List_methods = A.NativeUint32List.prototype;
  126113. B.NativeUint8List_methods = A.NativeUint8List.prototype;
  126114. B.PlainJavaScriptObject_methods = J.PlainJavaScriptObject.prototype;
  126115. B.UnknownJavaScriptObject_methods = J.UnknownJavaScriptObject.prototype;
  126116. B.LinearChannel_Y0V = new A.LinearChannel(0, 1, false, false, false, "red", false, null);
  126117. B.LinearChannel_cPl = new A.LinearChannel(0, 1, false, false, false, "green", false, null);
  126118. B.LinearChannel_ABN = new A.LinearChannel(0, 1, false, false, false, "blue", false, null);
  126119. B.List_U47 = A._setArrayType(makeConstList([B.LinearChannel_Y0V, B.LinearChannel_cPl, B.LinearChannel_ABN]), type$.JSArray_LinearChannel);
  126120. B.A98RgbColorSpace_lf2 = new A.A98RgbColorSpace("a98-rgb", B.List_U47);
  126121. B.LinearChannel_Y0V0 = new A.LinearChannel0(0, 1, false, false, false, "red", false, null);
  126122. B.LinearChannel_cPl0 = new A.LinearChannel0(0, 1, false, false, false, "green", false, null);
  126123. B.LinearChannel_ABN0 = new A.LinearChannel0(0, 1, false, false, false, "blue", false, null);
  126124. B.List_U470 = A._setArrayType(makeConstList([B.LinearChannel_Y0V0, B.LinearChannel_cPl0, B.LinearChannel_ABN0]), type$.JSArray_LinearChannel_2);
  126125. B.A98RgbColorSpace_lf20 = new A.A98RgbColorSpace0("a98-rgb", B.List_U470);
  126126. B.AsciiEncoder_127 = new A.AsciiEncoder(127);
  126127. B.C_EmptyUnmodifiableSet1 = new A.EmptyUnmodifiableSet(A.findType("EmptyUnmodifiableSet<String>"));
  126128. B.AtRootQuery_bfj = new A.AtRootQuery(false, B.C_EmptyUnmodifiableSet1, false, true);
  126129. B.AtRootQuery_bfj0 = new A.AtRootQuery0(false, B.C_EmptyUnmodifiableSet1, false, true);
  126130. B.AttributeOperator_GWq = new A.AttributeOperator("*=", "substring");
  126131. B.AttributeOperator_GWq0 = new A.AttributeOperator0("*=", "substring");
  126132. B.AttributeOperator_JzP = new A.AttributeOperator("^=", "prefix");
  126133. B.AttributeOperator_JzP0 = new A.AttributeOperator0("^=", "prefix");
  126134. B.AttributeOperator_Lvy = new A.AttributeOperator("=", "equal");
  126135. B.AttributeOperator_Lvy0 = new A.AttributeOperator0("=", "equal");
  126136. B.AttributeOperator_U1W = new A.AttributeOperator("$=", "suffix");
  126137. B.AttributeOperator_U1W0 = new A.AttributeOperator0("$=", "suffix");
  126138. B.AttributeOperator_fp2 = new A.AttributeOperator("~=", "include");
  126139. B.AttributeOperator_fp20 = new A.AttributeOperator0("~=", "include");
  126140. B.AttributeOperator_iyP = new A.AttributeOperator("|=", "dash");
  126141. B.AttributeOperator_iyP0 = new A.AttributeOperator0("|=", "dash");
  126142. B.BinaryOperator_FPG = new A.BinaryOperator("less than or equals", "<=", 4, false, "lessThanOrEquals");
  126143. B.BinaryOperator_FPG0 = new A.BinaryOperator0("less than or equals", "<=", 4, false, "lessThanOrEquals");
  126144. B.BinaryOperator_JiR = new A.BinaryOperator("greater than or equals", ">=", 4, false, "greaterThanOrEquals");
  126145. B.BinaryOperator_JiR0 = new A.BinaryOperator0("greater than or equals", ">=", 4, false, "greaterThanOrEquals");
  126146. B.BinaryOperator_Kyq = new A.BinaryOperator("single equals", "=", 0, false, "singleEquals");
  126147. B.BinaryOperator_Kyq0 = new A.BinaryOperator0("single equals", "=", 0, false, "singleEquals");
  126148. B.BinaryOperator_Mh5 = new A.BinaryOperator("divided by", "/", 6, false, "dividedBy");
  126149. B.BinaryOperator_Mh50 = new A.BinaryOperator0("divided by", "/", 6, false, "dividedBy");
  126150. B.BinaryOperator_QG1 = new A.BinaryOperator("minus", "-", 5, false, "minus");
  126151. B.BinaryOperator_QG10 = new A.BinaryOperator0("minus", "-", 5, false, "minus");
  126152. B.BinaryOperator_Swh = new A.BinaryOperator("plus", "+", 5, true, "plus");
  126153. B.BinaryOperator_Swh0 = new A.BinaryOperator0("plus", "+", 5, true, "plus");
  126154. B.BinaryOperator_o8O = new A.BinaryOperator("greater than", ">", 4, false, "greaterThan");
  126155. B.BinaryOperator_o8O0 = new A.BinaryOperator0("greater than", ">", 4, false, "greaterThan");
  126156. B.BinaryOperator_qGq = new A.BinaryOperator("not equals", "!=", 3, false, "notEquals");
  126157. B.BinaryOperator_qGq0 = new A.BinaryOperator0("not equals", "!=", 3, false, "notEquals");
  126158. B.BinaryOperator_qHy = new A.BinaryOperator("less than", "<", 4, false, "lessThan");
  126159. B.BinaryOperator_qHy0 = new A.BinaryOperator0("less than", "<", 4, false, "lessThan");
  126160. B.BinaryOperator_r84 = new A.BinaryOperator("equals", "==", 3, false, "equals");
  126161. B.BinaryOperator_r840 = new A.BinaryOperator0("equals", "==", 3, false, "equals");
  126162. B.BinaryOperator_s7T = new A.BinaryOperator("modulo", "%", 6, false, "modulo");
  126163. B.BinaryOperator_s7T0 = new A.BinaryOperator0("modulo", "%", 6, false, "modulo");
  126164. B.BinaryOperator_tKu = new A.BinaryOperator("or", "or", 1, true, "or");
  126165. B.BinaryOperator_tKu0 = new A.BinaryOperator0("or", "or", 1, true, "or");
  126166. B.BinaryOperator_tht = new A.BinaryOperator("times", "*", 6, true, "times");
  126167. B.BinaryOperator_tht0 = new A.BinaryOperator0("times", "*", 6, true, "times");
  126168. B.BinaryOperator_uke = new A.BinaryOperator("and", "and", 2, true, "and");
  126169. B.BinaryOperator_uke0 = new A.BinaryOperator0("and", "and", 2, true, "and");
  126170. B.CONSTANT = new A.Instantiation1(A.math0__max$closure(), A.findType("Instantiation1<int>"));
  126171. B.C_AsciiCodec = new A.AsciiCodec();
  126172. B.C_AsciiGlyphSet = new A.AsciiGlyphSet();
  126173. B.C_Base64Encoder = new A.Base64Encoder();
  126174. B.C_Base64Codec = new A.Base64Codec();
  126175. B.C_DefaultEquality = new A.DefaultEquality();
  126176. B.C_EmptyExtensionStore = new A.EmptyExtensionStore();
  126177. B.C_EmptyExtensionStore0 = new A.EmptyExtensionStore0();
  126178. B.C_EmptyIterator = new A.EmptyIterator();
  126179. B.C_EmptyUnmodifiableSet = new A.EmptyUnmodifiableSet(A.findType("EmptyUnmodifiableSet<SimpleSelector>"));
  126180. B.C_EmptyUnmodifiableSet0 = new A.EmptyUnmodifiableSet(A.findType("EmptyUnmodifiableSet<SimpleSelector0>"));
  126181. B.C_IsCalculationSafeVisitor = new A.IsCalculationSafeVisitor();
  126182. B.C_IsCalculationSafeVisitor0 = new A.IsCalculationSafeVisitor0();
  126183. B.C_IterableEquality = new A.IterableEquality();
  126184. B.C_JS_CONST = function getTagFallback(o) {
  126185. var s = Object.prototype.toString.call(o);
  126186. return s.substring(8, s.length - 1);
  126187. };
  126188. B.C_JS_CONST0 = function() {
  126189. var toStringFunction = Object.prototype.toString;
  126190. function getTag(o) {
  126191. var s = toStringFunction.call(o);
  126192. return s.substring(8, s.length - 1);
  126193. }
  126194. function getUnknownTag(object, tag) {
  126195. if (/^HTML[A-Z].*Element$/.test(tag)) {
  126196. var name = toStringFunction.call(object);
  126197. if (name == "[object Object]") return null;
  126198. return "HTMLElement";
  126199. }
  126200. }
  126201. function getUnknownTagGenericBrowser(object, tag) {
  126202. if (object instanceof HTMLElement) return "HTMLElement";
  126203. return getUnknownTag(object, tag);
  126204. }
  126205. function prototypeForTag(tag) {
  126206. if (typeof window == "undefined") return null;
  126207. if (typeof window[tag] == "undefined") return null;
  126208. var constructor = window[tag];
  126209. if (typeof constructor != "function") return null;
  126210. return constructor.prototype;
  126211. }
  126212. function discriminator(tag) { return null; }
  126213. var isBrowser = typeof HTMLElement == "function";
  126214. return {
  126215. getTag: getTag,
  126216. getUnknownTag: isBrowser ? getUnknownTagGenericBrowser : getUnknownTag,
  126217. prototypeForTag: prototypeForTag,
  126218. discriminator: discriminator };
  126219. };
  126220. B.C_JS_CONST6 = function(getTagFallback) {
  126221. return function(hooks) {
  126222. if (typeof navigator != "object") return hooks;
  126223. var userAgent = navigator.userAgent;
  126224. if (typeof userAgent != "string") return hooks;
  126225. if (userAgent.indexOf("DumpRenderTree") >= 0) return hooks;
  126226. if (userAgent.indexOf("Chrome") >= 0) {
  126227. function confirm(p) {
  126228. return typeof window == "object" && window[p] && window[p].name == p;
  126229. }
  126230. if (confirm("Window") && confirm("HTMLElement")) return hooks;
  126231. }
  126232. hooks.getTag = getTagFallback;
  126233. };
  126234. };
  126235. B.C_JS_CONST1 = function(hooks) {
  126236. if (typeof dartExperimentalFixupGetTag != "function") return hooks;
  126237. hooks.getTag = dartExperimentalFixupGetTag(hooks.getTag);
  126238. };
  126239. B.C_JS_CONST5 = function(hooks) {
  126240. if (typeof navigator != "object") return hooks;
  126241. var userAgent = navigator.userAgent;
  126242. if (typeof userAgent != "string") return hooks;
  126243. if (userAgent.indexOf("Firefox") == -1) return hooks;
  126244. var getTag = hooks.getTag;
  126245. var quickMap = {
  126246. "BeforeUnloadEvent": "Event",
  126247. "DataTransfer": "Clipboard",
  126248. "GeoGeolocation": "Geolocation",
  126249. "Location": "!Location",
  126250. "WorkerMessageEvent": "MessageEvent",
  126251. "XMLDocument": "!Document"};
  126252. function getTagFirefox(o) {
  126253. var tag = getTag(o);
  126254. return quickMap[tag] || tag;
  126255. }
  126256. hooks.getTag = getTagFirefox;
  126257. };
  126258. B.C_JS_CONST4 = function(hooks) {
  126259. if (typeof navigator != "object") return hooks;
  126260. var userAgent = navigator.userAgent;
  126261. if (typeof userAgent != "string") return hooks;
  126262. if (userAgent.indexOf("Trident/") == -1) return hooks;
  126263. var getTag = hooks.getTag;
  126264. var quickMap = {
  126265. "BeforeUnloadEvent": "Event",
  126266. "DataTransfer": "Clipboard",
  126267. "HTMLDDElement": "HTMLElement",
  126268. "HTMLDTElement": "HTMLElement",
  126269. "HTMLPhraseElement": "HTMLElement",
  126270. "Position": "Geoposition"
  126271. };
  126272. function getTagIE(o) {
  126273. var tag = getTag(o);
  126274. var newTag = quickMap[tag];
  126275. if (newTag) return newTag;
  126276. if (tag == "Object") {
  126277. if (window.DataView && (o instanceof window.DataView)) return "DataView";
  126278. }
  126279. return tag;
  126280. }
  126281. function prototypeForTagIE(tag) {
  126282. var constructor = window[tag];
  126283. if (constructor == null) return null;
  126284. return constructor.prototype;
  126285. }
  126286. hooks.getTag = getTagIE;
  126287. hooks.prototypeForTag = prototypeForTagIE;
  126288. };
  126289. B.C_JS_CONST2 = function(hooks) {
  126290. var getTag = hooks.getTag;
  126291. var prototypeForTag = hooks.prototypeForTag;
  126292. function getTagFixed(o) {
  126293. var tag = getTag(o);
  126294. if (tag == "Document") {
  126295. if (!!o.xmlVersion) return "!Document";
  126296. return "!HTMLDocument";
  126297. }
  126298. return tag;
  126299. }
  126300. function prototypeForTagFixed(tag) {
  126301. if (tag == "Document") return null;
  126302. return prototypeForTag(tag);
  126303. }
  126304. hooks.getTag = getTagFixed;
  126305. hooks.prototypeForTag = prototypeForTagFixed;
  126306. };
  126307. B.C_JS_CONST3 = function(hooks) { return hooks; }
  126308. ;
  126309. B.C_JsonCodec = new A.JsonCodec();
  126310. B.C_ListEquality0 = new A.ListEquality();
  126311. B.C_ListEquality = new A.ListEquality();
  126312. B.C_MapEquality = new A.MapEquality(A.findType("MapEquality<Object,Object>"));
  126313. B.C_OutOfMemoryError = new A.OutOfMemoryError();
  126314. B.C_SentinelValue = new A.SentinelValue();
  126315. B.C_UnicodeGlyphSet = new A.UnicodeGlyphSet();
  126316. B.C_Utf8Codec = new A.Utf8Codec();
  126317. B.C_Utf8Encoder = new A.Utf8Encoder();
  126318. B.C__ColorFormatEnum = new A._ColorFormatEnum();
  126319. B.C__ColorFormatEnum0 = new A._ColorFormatEnum0();
  126320. B.C__ContainsParentSelectorVisitor = new A._ContainsParentSelectorVisitor();
  126321. B.C__ContainsParentSelectorVisitor0 = new A._ContainsParentSelectorVisitor0();
  126322. B.C__DelayedDone = new A._DelayedDone();
  126323. B.C__HasContentVisitor = new A._HasContentVisitor();
  126324. B.C__HasContentVisitor0 = new A._HasContentVisitor0();
  126325. B.C__IsUselessVisitor = new A._IsUselessVisitor();
  126326. B.C__IsUselessVisitor0 = new A._IsUselessVisitor0();
  126327. B.C__JSRandom = new A._JSRandom();
  126328. B.C__MakeExpressionCalculationSafe = new A._MakeExpressionCalculationSafe();
  126329. B.C__MakeExpressionCalculationSafe0 = new A._MakeExpressionCalculationSafe0();
  126330. B.C__ParentSelectorVisitor = new A._ParentSelectorVisitor();
  126331. B.C__ParentSelectorVisitor0 = new A._ParentSelectorVisitor0();
  126332. B.C__Required = new A._Required();
  126333. B.C__RootZone = new A._RootZone();
  126334. B.C__SassNull = new A._SassNull();
  126335. B.C__SassNull0 = new A._SassNull0();
  126336. B.CalculationOperator_F7i = new A.CalculationOperator("plus", "+", 1, "plus");
  126337. B.CalculationOperator_F7i0 = new A.CalculationOperator0("plus", "+", 1, "plus");
  126338. B.CalculationOperator_bo5 = new A.CalculationOperator("divided by", "/", 2, "dividedBy");
  126339. B.CalculationOperator_bo50 = new A.CalculationOperator0("divided by", "/", 2, "dividedBy");
  126340. B.CalculationOperator_kkN = new A.CalculationOperator("times", "*", 2, "times");
  126341. B.CalculationOperator_kkN0 = new A.CalculationOperator0("times", "*", 2, "times");
  126342. B.CalculationOperator_oum = new A.CalculationOperator("minus", "-", 1, "minus");
  126343. B.CalculationOperator_oum0 = new A.CalculationOperator0("minus", "-", 1, "minus");
  126344. B.ChangeType_add = new A.ChangeType("add");
  126345. B.ChangeType_modify = new A.ChangeType("modify");
  126346. B.ChangeType_remove = new A.ChangeType("remove");
  126347. B.ClipGamutMap_clip = new A.ClipGamutMap("clip");
  126348. B.ClipGamutMap_clip0 = new A.ClipGamutMap0("clip");
  126349. B.Combinator_0mp = new A.Combinator(">", "child");
  126350. B.Combinator_0mp0 = new A.Combinator0(">", "child");
  126351. B.Combinator_55N = new A.Combinator("~", "followingSibling");
  126352. B.Combinator_55N0 = new A.Combinator0("~", "followingSibling");
  126353. B.Combinator_bOP = new A.Combinator("+", "nextSibling");
  126354. B.Combinator_bOP0 = new A.Combinator0("+", "nextSibling");
  126355. B.Object_empty = {};
  126356. B.Map_empty18 = new A.ConstantStringMap(B.Object_empty, [], A.findType("ConstantStringMap<String,ConfiguredValue>"));
  126357. B.Configuration_Map_empty_null = new A.Configuration(B.Map_empty18, null);
  126358. B.Map_empty19 = new A.ConstantStringMap(B.Object_empty, [], A.findType("ConstantStringMap<String,ConfiguredValue0>"));
  126359. B.Configuration_Map_empty_null0 = new A.Configuration0(B.Map_empty19, null);
  126360. B.Deprecation_0NP = new A.Deprecation("duplicate-var-flags", "1.62.0", "duplicateVarFlags");
  126361. B.Deprecation_1AX = new A.Deprecation("global-builtin", "1.80.0", "globalBuiltin");
  126362. B.Deprecation_2g5 = new A.Deprecation("import", "1.80.0", "import");
  126363. B.Deprecation_39u = new A.Deprecation("mixed-decls", "1.77.7", "mixedDecls");
  126364. B.Deprecation_746 = new A.Deprecation("relative-canonical", "1.14.2", "relativeCanonical");
  126365. B.Deprecation_89v = new A.Deprecation("moz-document", "1.7.2", "mozDocument");
  126366. B.Deprecation_8ki = new A.Deprecation0("elseif", "1.3.2", "@elseif.", "elseif");
  126367. B.Deprecation_9hF = new A.Deprecation("bogus-combinators", "1.54.0", "bogusCombinators");
  126368. B.Deprecation_BvP = new A.Deprecation("slash-div", "1.33.0", "slashDiv");
  126369. B.Deprecation_BzI = new A.Deprecation0("duplicate-var-flags", "1.62.0", "Using !default or !global multiple times for one variable.", "duplicateVarFlags");
  126370. B.Deprecation_CRw = new A.Deprecation0("strict-unary", "1.55.0", "Ambiguous + and - operators.", "strictUnary");
  126371. B.Deprecation_Ds6 = new A.Deprecation0("fs-importer-cwd", "1.73.0", "Using the current working directory as an implicit load path.", "fsImporterCwd");
  126372. B.Deprecation_F8y = new A.Deprecation0("legacy-js-api", "1.79.0", "Legacy JS API.", "legacyJsApi");
  126373. B.Deprecation_FD1 = new A.Deprecation0("color-4-api", "1.79.0", "Certain uses of built-in sass:color functions.", "color4Api");
  126374. B.Deprecation_FyB = new A.Deprecation0("slash-div", "1.33.0", "/ operator for division.", "slashDiv");
  126375. B.Deprecation_HIp = new A.Deprecation0("feature-exists", "1.78.0", "meta.feature-exists", "featureExists");
  126376. B.Deprecation_Kg6 = new A.Deprecation("css-function-mixin", "1.76.0", "cssFunctionMixin");
  126377. B.Deprecation_Kry = new A.Deprecation0("color-module-compat", "1.23.0", "Using color module functions in place of plain CSS functions.", "colorModuleCompat");
  126378. B.Deprecation_KtC = new A.Deprecation("user-authored", null, "userAuthored");
  126379. B.Deprecation_L0R = new A.Deprecation0("moz-document", "1.7.2", "@-moz-document.", "mozDocument");
  126380. B.Deprecation_MSr = new A.Deprecation0("mixed-decls", "1.77.7", "Declarations after or between nested rules.", "mixedDecls");
  126381. B.Deprecation_OHJ = new A.Deprecation0("import", "1.80.0", "@import rules.", "import");
  126382. B.Deprecation_Ord = new A.Deprecation0("relative-canonical", "1.14.2", "Imports using relative canonical URLs.", "relativeCanonical");
  126383. B.Deprecation_Rg0 = new A.Deprecation("new-global", "1.17.2", "newGlobal");
  126384. B.Deprecation_SHb = new A.Deprecation0("bogus-combinators", "1.54.0", "Leading, trailing, and repeated combinators.", "bogusCombinators");
  126385. B.Deprecation_UYp = new A.Deprecation0("abs-percent", "1.65.0", "Passing percentages to the Sass abs() function.", "absPercent");
  126386. B.Deprecation_ZDV = new A.Deprecation0("global-builtin", "1.80.0", "Global built-in functions that are available in sass: modules.", "globalBuiltin");
  126387. B.Deprecation_ZVM = new A.Deprecation0("user-authored", null, null, "userAuthored");
  126388. B.Deprecation_aM0 = new A.Deprecation0("call-string", "0.0.0", "Passing a string directly to meta.call().", "callString");
  126389. B.Deprecation_cyE = new A.Deprecation("color-functions", "1.79.0", "colorFunctions");
  126390. B.Deprecation_d4j = new A.Deprecation0("css-function-mixin", "1.76.0", "Function and mixin names beginning with --.", "cssFunctionMixin");
  126391. B.Deprecation_dAn = new A.Deprecation("call-string", "0.0.0", "callString");
  126392. B.Deprecation_eJq = new A.Deprecation("compile-string-relative-url", "1.88.0", "compileStringRelativeUrl");
  126393. B.Deprecation_f5Y = new A.Deprecation0("calc-interp", null, null, "calcInterp");
  126394. B.Deprecation_fdF = new A.Deprecation0("color-functions", "1.79.0", "Using global color functions instead of sass:color.", "colorFunctions");
  126395. B.Deprecation_hAa = new A.Deprecation("elseif", "1.3.2", "elseif");
  126396. B.Deprecation_hcg = new A.Deprecation("feature-exists", "1.78.0", "featureExists");
  126397. B.Deprecation_jG1 = new A.Deprecation("function-units", "1.56.0", "functionUnits");
  126398. B.Deprecation_kms = new A.Deprecation("type-function", "1.86.0", "typeFunction");
  126399. B.Deprecation_l0m = new A.Deprecation0("null-alpha", "1.62.3", "Passing null as alpha in the JS API.", "nullAlpha");
  126400. B.Deprecation_mSy = new A.Deprecation0("new-global", "1.17.2", "Declaring new variables with !global.", "newGlobal");
  126401. B.Deprecation_pIR = new A.Deprecation0("compile-string-relative-url", "1.88.0", "Passing a relative url to compileString().", "compileStringRelativeUrl");
  126402. B.Deprecation_pLJ = new A.Deprecation("abs-percent", "1.65.0", "absPercent");
  126403. B.Deprecation_t60 = new A.Deprecation("strict-unary", "1.55.0", "strictUnary");
  126404. B.Deprecation_tms = new A.Deprecation("fs-importer-cwd", "1.73.0", "fsImporterCwd");
  126405. B.Deprecation_u0j = new A.Deprecation("color-module-compat", "1.23.0", "colorModuleCompat");
  126406. B.Deprecation_vQt = new A.Deprecation0("type-function", "1.86.0", 'Functions named "type".', "typeFunction");
  126407. B.Deprecation_vn5 = new A.Deprecation0("function-units", "1.56.0", "Passing invalid units to built-in functions.", "functionUnits");
  126408. B.DisplayP3ColorSpace_MmT = new A.DisplayP3ColorSpace("display-p3", B.List_U47);
  126409. B.DisplayP3ColorSpace_MmT0 = new A.DisplayP3ColorSpace0("display-p3", B.List_U470);
  126410. B.Duration_0 = new A.Duration(0);
  126411. B.ExtendMode_allTargets_allTargets = new A.ExtendMode("allTargets", "allTargets");
  126412. B.ExtendMode_allTargets_allTargets0 = new A.ExtendMode0("allTargets", "allTargets");
  126413. B.ExtendMode_normal_normal = new A.ExtendMode("normal", "normal");
  126414. B.ExtendMode_normal_normal0 = new A.ExtendMode0("normal", "normal");
  126415. B.ExtendMode_replace_replace = new A.ExtendMode("replace", "replace");
  126416. B.ExtendMode_replace_replace0 = new A.ExtendMode0("replace", "replace");
  126417. B.ColorChannel_hue_true_deg = new A.ColorChannel("hue", true, "deg");
  126418. B.LinearChannel_Cal = new A.LinearChannel(0, 100, true, true, false, "saturation", false, "%");
  126419. B.LinearChannel_w1m = new A.LinearChannel(0, 100, true, false, false, "lightness", false, "%");
  126420. B.List_oAL = A._setArrayType(makeConstList([B.ColorChannel_hue_true_deg, B.LinearChannel_Cal, B.LinearChannel_w1m]), type$.JSArray_ColorChannel);
  126421. B.HslColorSpace_JQ2 = new A.HslColorSpace("hsl", B.List_oAL);
  126422. B.ColorChannel_hue_true_deg0 = new A.ColorChannel0("hue", true, "deg");
  126423. B.LinearChannel_Cal0 = new A.LinearChannel0(0, 100, true, true, false, "saturation", false, "%");
  126424. B.LinearChannel_w1m0 = new A.LinearChannel0(0, 100, true, false, false, "lightness", false, "%");
  126425. B.List_oAL0 = A._setArrayType(makeConstList([B.ColorChannel_hue_true_deg0, B.LinearChannel_Cal0, B.LinearChannel_w1m0]), type$.JSArray_ColorChannel_2);
  126426. B.HslColorSpace_JQ20 = new A.HslColorSpace0("hsl", B.List_oAL0);
  126427. B.HueInterpolationMethod_0 = new A.HueInterpolationMethod("shorter");
  126428. B.HueInterpolationMethod_00 = new A.HueInterpolationMethod0("shorter");
  126429. B.HueInterpolationMethod_1 = new A.HueInterpolationMethod("longer");
  126430. B.HueInterpolationMethod_10 = new A.HueInterpolationMethod0("longer");
  126431. B.HueInterpolationMethod_2 = new A.HueInterpolationMethod("increasing");
  126432. B.HueInterpolationMethod_20 = new A.HueInterpolationMethod0("increasing");
  126433. B.HueInterpolationMethod_3 = new A.HueInterpolationMethod("decreasing");
  126434. B.HueInterpolationMethod_30 = new A.HueInterpolationMethod0("decreasing");
  126435. B.LinearChannel_mPM = new A.LinearChannel(0, 100, true, false, false, "whiteness", false, "%");
  126436. B.LinearChannel_NBP = new A.LinearChannel(0, 100, true, false, false, "blackness", false, "%");
  126437. B.List_Ar1 = A._setArrayType(makeConstList([B.ColorChannel_hue_true_deg, B.LinearChannel_mPM, B.LinearChannel_NBP]), type$.JSArray_ColorChannel);
  126438. B.HwbColorSpace_guQ = new A.HwbColorSpace("hwb", B.List_Ar1);
  126439. B.LinearChannel_mPM0 = new A.LinearChannel0(0, 100, true, false, false, "whiteness", false, "%");
  126440. B.LinearChannel_NBP0 = new A.LinearChannel0(0, 100, true, false, false, "blackness", false, "%");
  126441. B.List_Ar10 = A._setArrayType(makeConstList([B.ColorChannel_hue_true_deg0, B.LinearChannel_mPM0, B.LinearChannel_NBP0]), type$.JSArray_ColorChannel_2);
  126442. B.HwbColorSpace_guQ0 = new A.HwbColorSpace0("hwb", B.List_Ar10);
  126443. B.JsonDecoder_null = new A.JsonDecoder(null);
  126444. B.JsonEncoder_null = new A.JsonEncoder(null);
  126445. B.LinearChannel_rY5 = new A.LinearChannel(0, 100, false, true, true, "lightness", false, "%");
  126446. B.LinearChannel_vtc = new A.LinearChannel(-125, 125, false, false, false, "a", false, null);
  126447. B.LinearChannel_r83 = new A.LinearChannel(-125, 125, false, false, false, "b", false, null);
  126448. B.List_KEo = A._setArrayType(makeConstList([B.LinearChannel_rY5, B.LinearChannel_vtc, B.LinearChannel_r83]), type$.JSArray_ColorChannel);
  126449. B.LabColorSpace_2nT = new A.LabColorSpace("lab", B.List_KEo);
  126450. B.LinearChannel_rY50 = new A.LinearChannel0(0, 100, false, true, true, "lightness", false, "%");
  126451. B.LinearChannel_vtc0 = new A.LinearChannel0(-125, 125, false, false, false, "a", false, null);
  126452. B.LinearChannel_r830 = new A.LinearChannel0(-125, 125, false, false, false, "b", false, null);
  126453. B.List_KEo0 = A._setArrayType(makeConstList([B.LinearChannel_rY50, B.LinearChannel_vtc0, B.LinearChannel_r830]), type$.JSArray_ColorChannel_2);
  126454. B.LabColorSpace_2nT0 = new A.LabColorSpace0("lab", B.List_KEo0);
  126455. B.LinearChannel_JUs = new A.LinearChannel(0, 150, false, true, false, "chroma", false, null);
  126456. B.List_grF = A._setArrayType(makeConstList([B.LinearChannel_rY5, B.LinearChannel_JUs, B.ColorChannel_hue_true_deg]), type$.JSArray_ColorChannel);
  126457. B.LchColorSpace_Bpv = new A.LchColorSpace("lch", B.List_grF);
  126458. B.LinearChannel_JUs0 = new A.LinearChannel0(0, 150, false, true, false, "chroma", false, null);
  126459. B.List_grF0 = A._setArrayType(makeConstList([B.LinearChannel_rY50, B.LinearChannel_JUs0, B.ColorChannel_hue_true_deg0]), type$.JSArray_ColorChannel_2);
  126460. B.LchColorSpace_Bpv0 = new A.LchColorSpace0("lch", B.List_grF0);
  126461. B.LineFeed_9HY = new A.LineFeed0("lf", "\n", "lf");
  126462. B.LineFeed_G7N = new A.LineFeed0("lfcr", "\n\r", "lfcr");
  126463. B.LineFeed_Pcs = new A.LineFeed0("crlf", "\r\n", "crlf");
  126464. B.LineFeed_lf = new A.LineFeed("lf");
  126465. B.LineFeed_ybQ = new A.LineFeed0("cr", "\r", "cr");
  126466. B.LinearChannel_XL8 = new A.LinearChannel(0, 1, false, false, false, "alpha", false, null);
  126467. B.LinearChannel_XL80 = new A.LinearChannel0(0, 1, false, false, false, "alpha", false, null);
  126468. B.LinearChannel_Z5r = new A.LinearChannel(0, 255, false, true, true, "green", false, null);
  126469. B.LinearChannel_Z5r0 = new A.LinearChannel0(0, 255, false, true, true, "green", false, null);
  126470. B.LinearChannel_qXC = new A.LinearChannel(0, 255, false, true, true, "red", false, null);
  126471. B.LinearChannel_qXC0 = new A.LinearChannel0(0, 255, false, true, true, "red", false, null);
  126472. B.LinearChannel_vJ3 = new A.LinearChannel(0, 255, false, true, true, "blue", false, null);
  126473. B.LinearChannel_vJ30 = new A.LinearChannel0(0, 255, false, true, true, "blue", false, null);
  126474. B.ListSeparator_bRz = new A.ListSeparator("slash", "/", "slash");
  126475. B.ListSeparator_bRz0 = new A.ListSeparator0("slash", "/", "slash");
  126476. B.ListSeparator_qSL = new A.ListSeparator("space", " ", "space");
  126477. B.ListSeparator_qSL0 = new A.ListSeparator0("space", " ", "space");
  126478. B.ListSeparator_qVN = new A.ListSeparator("comma", ",", "comma");
  126479. B.ListSeparator_qVN0 = new A.ListSeparator0("comma", ",", "comma");
  126480. B.ListSeparator_undecided_null_undecided = new A.ListSeparator("undecided", null, "undecided");
  126481. B.ListSeparator_undecided_null_undecided0 = new A.ListSeparator0("undecided", null, "undecided");
  126482. 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};
  126483. B.Set_V30th = new A.ConstantStringSet(B.Object_84Z, 49, type$.ConstantStringSet_String);
  126484. B.Object_a6W = {deg: 0, grad: 1, rad: 2, turn: 3};
  126485. B.Set_5FBBb = new A.ConstantStringSet(B.Object_a6W, 4, type$.ConstantStringSet_String);
  126486. B.Object_s_0_ms_1 = {s: 0, ms: 1};
  126487. B.Set_cXesm = new A.ConstantStringSet(B.Object_s_0_ms_1, 2, type$.ConstantStringSet_String);
  126488. B.Object_hz_0_khz_1 = {hz: 0, khz: 1};
  126489. B.Set_1Tayw = new A.ConstantStringSet(B.Object_hz_0_khz_1, 2, type$.ConstantStringSet_String);
  126490. B.Object_CHz = {dpi: 0, dpcm: 1, dppx: 2};
  126491. B.Set_w2NC6 = new A.ConstantStringSet(B.Object_CHz, 3, type$.ConstantStringSet_String);
  126492. 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>>"));
  126493. 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>"));
  126494. B.List_empty28 = A._setArrayType(makeConstList([]), type$.JSArray_AsyncCallable_2);
  126495. B.List_empty29 = A._setArrayType(makeConstList([]), type$.JSArray_AsyncImporter);
  126496. B.List_empty1 = A._setArrayType(makeConstList([]), type$.JSArray_ComplexSelector);
  126497. B.List_empty17 = A._setArrayType(makeConstList([]), type$.JSArray_ComplexSelector_2);
  126498. B.List_empty2 = A._setArrayType(makeConstList([]), type$.JSArray_ComplexSelectorComponent);
  126499. B.List_empty18 = A._setArrayType(makeConstList([]), type$.JSArray_ComplexSelectorComponent_2);
  126500. B.List_empty10 = A._setArrayType(makeConstList([]), type$.JSArray_ConfiguredVariable);
  126501. B.List_empty24 = A._setArrayType(makeConstList([]), type$.JSArray_ConfiguredVariable_2);
  126502. B.List_empty3 = A._setArrayType(makeConstList([]), type$.JSArray_CssNode);
  126503. B.List_empty19 = A._setArrayType(makeConstList([]), type$.JSArray_CssNode_2);
  126504. B.List_empty13 = A._setArrayType(makeConstList([]), type$.JSArray_CssStyleRule);
  126505. B.List_empty25 = A._setArrayType(makeConstList([]), type$.JSArray_CssStyleRule_2);
  126506. B.List_empty0 = A._setArrayType(makeConstList([]), type$.JSArray_CssValue_Combinator);
  126507. B.List_empty16 = A._setArrayType(makeConstList([]), type$.JSArray_CssValue_Combinator_2);
  126508. B.List_empty9 = A._setArrayType(makeConstList([]), type$.JSArray_Expression);
  126509. B.List_empty23 = A._setArrayType(makeConstList([]), type$.JSArray_Expression_2);
  126510. B.List_empty5 = A._setArrayType(makeConstList([]), type$.JSArray_Extension);
  126511. B.List_empty20 = A._setArrayType(makeConstList([]), type$.JSArray_Extension_2);
  126512. B.List_empty27 = A._setArrayType(makeConstList([]), type$.JSArray_Importer_2);
  126513. B.List_empty7 = A._setArrayType(makeConstList([]), A.findType("JSArray<Module0<0&>>"));
  126514. B.List_empty21 = A._setArrayType(makeConstList([]), A.findType("JSArray<Module1<0&>>"));
  126515. B.List_empty11 = A._setArrayType(makeConstList([]), type$.JSArray_Object);
  126516. B.List_empty14 = A._setArrayType(makeConstList([]), type$.JSArray_Parameter);
  126517. B.List_empty26 = A._setArrayType(makeConstList([]), type$.JSArray_Parameter_2);
  126518. B.List_empty15 = A._setArrayType(makeConstList([]), type$.JSArray_Statement);
  126519. B.List_empty = A._setArrayType(makeConstList([]), type$.JSArray_String);
  126520. B.List_empty8 = A._setArrayType(makeConstList([]), type$.JSArray_Value);
  126521. B.List_empty22 = A._setArrayType(makeConstList([]), type$.JSArray_Value_2);
  126522. B.List_empty4 = A._setArrayType(makeConstList([]), type$.JSArray_int);
  126523. B.List_empty6 = A._setArrayType(makeConstList([]), type$.JSArray_dynamic);
  126524. B.List_empty12 = A._setArrayType(makeConstList([]), type$.JSArray_nullable_FileSpan);
  126525. B.List_g9w = A._setArrayType(makeConstList([B.CalculationOperator_F7i0, B.CalculationOperator_oum0, B.CalculationOperator_kkN0, B.CalculationOperator_bo50]), A.findType("JSArray<CalculationOperator0>"));
  126526. B.List_nm2 = A._setArrayType(makeConstList([B.HueInterpolationMethod_00, B.HueInterpolationMethod_10, B.HueInterpolationMethod_20, B.HueInterpolationMethod_30]), A.findType("JSArray<HueInterpolationMethod0>"));
  126527. B.List_null = A._setArrayType(makeConstList([null]), type$.JSArray_nullable_FileSpan);
  126528. B.Deprecation_MJf = new A.Deprecation("null-alpha", "1.62.3", "nullAlpha");
  126529. B.Deprecation_Nem = new A.Deprecation("color-4-api", "1.79.0", "color4Api");
  126530. B.Deprecation_fsU = new A.Deprecation("legacy-js-api", "1.79.0", "legacyJsApi");
  126531. B.Deprecation_ggp = new A.Deprecation("calc-interp", null, "calcInterp");
  126532. 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>"));
  126533. B.LinearChannel_n2W = new A.LinearChannel(0, 1, false, false, false, "long", false, null);
  126534. B.LinearChannel_ZmQ = new A.LinearChannel(0, 1, false, false, false, "medium", false, null);
  126535. B.LinearChannel_yJH = new A.LinearChannel(0, 1, false, false, false, "short", false, null);
  126536. B.List_wOx = A._setArrayType(makeConstList([B.LinearChannel_n2W, B.LinearChannel_ZmQ, B.LinearChannel_yJH]), type$.JSArray_ColorChannel);
  126537. B.LmsColorSpace_Os3 = new A.LmsColorSpace("lms", B.List_wOx);
  126538. B.LinearChannel_n2W0 = new A.LinearChannel0(0, 1, false, false, false, "long", false, null);
  126539. B.LinearChannel_ZmQ0 = new A.LinearChannel0(0, 1, false, false, false, "medium", false, null);
  126540. B.LinearChannel_yJH0 = new A.LinearChannel0(0, 1, false, false, false, "short", false, null);
  126541. B.List_wOx0 = A._setArrayType(makeConstList([B.LinearChannel_n2W0, B.LinearChannel_ZmQ0, B.LinearChannel_yJH0]), type$.JSArray_ColorChannel_2);
  126542. B.LmsColorSpace_Os30 = new A.LmsColorSpace0("lms", B.List_wOx0);
  126543. B.LocalMindeGamutMap_A2x = new A.LocalMindeGamutMap("local-minde");
  126544. B.LocalMindeGamutMap_A2x0 = new A.LocalMindeGamutMap0("local-minde");
  126545. 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};
  126546. B.Object_R4j = {in: 0, cm: 1, pc: 2, mm: 3, q: 4, pt: 5, px: 6};
  126547. 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);
  126548. 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);
  126549. 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);
  126550. 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);
  126551. B.Map_Ld577 = new A.ConstantStringMap(B.Object_R4j, [101.6, 40, 16.933333333333334, 4, 1, 1.411111111111111, 1.0583333333333333], type$.ConstantStringMap_String_double);
  126552. B.Map_LdIVT = new A.ConstantStringMap(B.Object_R4j, [72, 28.346456692913385, 12, 2.834645669291339, 0.7086614173228347, 1, 0.75], type$.ConstantStringMap_String_double);
  126553. B.Map_Ld6L5 = new A.ConstantStringMap(B.Object_R4j, [96, 37.79527559055118, 16, 3.7795275590551185, 0.9448818897637796, 1.3333333333333333, 1], type$.ConstantStringMap_String_double);
  126554. B.Map_LjNxM = new A.ConstantStringMap(B.Object_a6W, [1, 0.9, 57.29577951308232, 360], type$.ConstantStringMap_String_double);
  126555. B.Map_Lj8V1 = new A.ConstantStringMap(B.Object_a6W, [1.1111111111111112, 1, 63.66197723675813, 400], type$.ConstantStringMap_String_double);
  126556. B.Map_LjePw = new A.ConstantStringMap(B.Object_a6W, [0.017453292519943295, 0.015707963267948967, 1, 6.283185307179586], type$.ConstantStringMap_String_double);
  126557. B.Map_LjtMd = new A.ConstantStringMap(B.Object_a6W, [0.002777777777777778, 0.0025, 0.15915494309189535, 1], type$.ConstantStringMap_String_double);
  126558. B.Map_Aezv1 = new A.ConstantStringMap(B.Object_s_0_ms_1, [1, 0.001], type$.ConstantStringMap_String_double);
  126559. B.Map_AeI7g = new A.ConstantStringMap(B.Object_s_0_ms_1, [1000, 1], type$.ConstantStringMap_String_double);
  126560. B.Object_Hz_0_kHz_1 = {Hz: 0, kHz: 1};
  126561. B.Map_kdDCg = new A.ConstantStringMap(B.Object_Hz_0_kHz_1, [1, 1000], type$.ConstantStringMap_String_double);
  126562. B.Map_kdBEM = new A.ConstantStringMap(B.Object_Hz_0_kHz_1, [0.001, 1], type$.ConstantStringMap_String_double);
  126563. B.Map_vIkFS = new A.ConstantStringMap(B.Object_CHz, [1, 2.54, 96], type$.ConstantStringMap_String_double);
  126564. B.Map_vIY7E = new A.ConstantStringMap(B.Object_CHz, [0.39370078740157477, 1, 37.79527559055118], type$.ConstantStringMap_String_double);
  126565. B.Map_vIcSC = new A.ConstantStringMap(B.Object_CHz, [0.010416666666666666, 0.026458333333333334, 1], type$.ConstantStringMap_String_double);
  126566. 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>>"));
  126567. B.Object_J3y = {length: 0, angle: 1, time: 2, frequency: 3, "pixel density": 4};
  126568. B.List_Ldp = A._setArrayType(makeConstList(["in", "cm", "pc", "mm", "q", "pt", "px"]), type$.JSArray_String);
  126569. B.List_deg_grad_rad_turn = A._setArrayType(makeConstList(["deg", "grad", "rad", "turn"]), type$.JSArray_String);
  126570. B.List_s_ms = A._setArrayType(makeConstList(["s", "ms"]), type$.JSArray_String);
  126571. B.List_Hz_kHz = A._setArrayType(makeConstList(["Hz", "kHz"]), type$.JSArray_String);
  126572. B.List_dpi_dpcm_dppx = A._setArrayType(makeConstList(["dpi", "dpcm", "dppx"]), type$.JSArray_String);
  126573. 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>>"));
  126574. B.Map_empty7 = new A.ConstantStringMap(B.Object_empty, [], A.findType("ConstantStringMap<Module0<AsyncCallable>,List<CssComment>>"));
  126575. B.Map_empty = new A.ConstantStringMap(B.Object_empty, [], A.findType("ConstantStringMap<Module0<Callable0>,List<CssComment>>"));
  126576. B.Map_empty1 = new A.ConstantStringMap(B.Object_empty, [], A.findType("ConstantStringMap<Module0<0&>,List<CssComment>>"));
  126577. B.Map_empty16 = new A.ConstantStringMap(B.Object_empty, [], A.findType("ConstantStringMap<Module1<AsyncCallable0>,List<CssComment0>>"));
  126578. B.Map_empty10 = new A.ConstantStringMap(B.Object_empty, [], A.findType("ConstantStringMap<Module1<Callable>,List<CssComment0>>"));
  126579. B.Map_empty12 = new A.ConstantStringMap(B.Object_empty, [], A.findType("ConstantStringMap<Module1<0&>,List<CssComment0>>"));
  126580. B.Map_empty3 = new A.ConstantStringMap(B.Object_empty, [], A.findType("ConstantStringMap<String,AstNode>"));
  126581. B.Map_empty13 = new A.ConstantStringMap(B.Object_empty, [], A.findType("ConstantStringMap<String,AstNode0>"));
  126582. B.Map_empty4 = new A.ConstantStringMap(B.Object_empty, [], A.findType("ConstantStringMap<String,Expression>"));
  126583. B.Map_empty14 = new A.ConstantStringMap(B.Object_empty, [], A.findType("ConstantStringMap<String,Expression0>"));
  126584. B.Map_empty6 = new A.ConstantStringMap(B.Object_empty, [], A.findType("ConstantStringMap<String,FileSpan>"));
  126585. B.Map_empty8 = new A.ConstantStringMap(B.Object_empty, [], A.findType("ConstantStringMap<String,Module0<AsyncCallable>>"));
  126586. B.Map_empty0 = new A.ConstantStringMap(B.Object_empty, [], A.findType("ConstantStringMap<String,Module0<Callable0>>"));
  126587. B.Map_empty17 = new A.ConstantStringMap(B.Object_empty, [], A.findType("ConstantStringMap<String,Module1<AsyncCallable0>>"));
  126588. B.Map_empty11 = new A.ConstantStringMap(B.Object_empty, [], A.findType("ConstantStringMap<String,Module1<Callable>>"));
  126589. B.Map_empty5 = new A.ConstantStringMap(B.Object_empty, [], A.findType("ConstantStringMap<String,Value>"));
  126590. B.Map_empty15 = new A.ConstantStringMap(B.Object_empty, [], A.findType("ConstantStringMap<String,Value0>"));
  126591. B.Map_empty2 = new A.ConstantStringMap(B.Object_empty, [], A.findType("ConstantStringMap<Symbol0,@>"));
  126592. B.Map_empty9 = new A.ConstantStringMap(B.Object_empty, [], A.findType("ConstantStringMap<String?,String>"));
  126593. B.LinearChannel_fS8 = new A.LinearChannel(0, 1, false, true, true, "lightness", false, "%");
  126594. B.LinearChannel_ffI = new A.LinearChannel(-0.4, 0.4, false, false, false, "a", false, null);
  126595. B.LinearChannel_Y6D = new A.LinearChannel(-0.4, 0.4, false, false, false, "b", false, null);
  126596. B.List_ZWr = A._setArrayType(makeConstList([B.LinearChannel_fS8, B.LinearChannel_ffI, B.LinearChannel_Y6D]), type$.JSArray_ColorChannel);
  126597. B.OklabColorSpace_540 = new A.OklabColorSpace("oklab", B.List_ZWr);
  126598. B.LinearChannel_fS80 = new A.LinearChannel0(0, 1, false, true, true, "lightness", false, "%");
  126599. B.LinearChannel_ffI0 = new A.LinearChannel0(-0.4, 0.4, false, false, false, "a", false, null);
  126600. B.LinearChannel_Y6D0 = new A.LinearChannel0(-0.4, 0.4, false, false, false, "b", false, null);
  126601. B.List_ZWr0 = A._setArrayType(makeConstList([B.LinearChannel_fS80, B.LinearChannel_ffI0, B.LinearChannel_Y6D0]), type$.JSArray_ColorChannel_2);
  126602. B.OklabColorSpace_5400 = new A.OklabColorSpace0("oklab", B.List_ZWr0);
  126603. B.LinearChannel_HTj = new A.LinearChannel(0, 0.4, false, true, false, "chroma", false, null);
  126604. B.List_g5j = A._setArrayType(makeConstList([B.LinearChannel_fS8, B.LinearChannel_HTj, B.ColorChannel_hue_true_deg]), type$.JSArray_ColorChannel);
  126605. B.OklchColorSpace_9Gj = new A.OklchColorSpace("oklch", B.List_g5j);
  126606. B.LinearChannel_HTj0 = new A.LinearChannel0(0, 0.4, false, true, false, "chroma", false, null);
  126607. B.List_g5j0 = A._setArrayType(makeConstList([B.LinearChannel_fS80, B.LinearChannel_HTj0, B.ColorChannel_hue_true_deg0]), type$.JSArray_ColorChannel_2);
  126608. B.OklchColorSpace_9Gj0 = new A.OklchColorSpace0("oklch", B.List_g5j0);
  126609. B.OptionType_1Ol = new A.OptionType("OptionType.multiple");
  126610. B.OptionType_tI9 = new A.OptionType("OptionType.flag");
  126611. B.OptionType_zZK = new A.OptionType("OptionType.single");
  126612. B.OutputStyle_0 = new A.OutputStyle("expanded");
  126613. B.OutputStyle_00 = new A.OutputStyle0("expanded");
  126614. B.OutputStyle_1 = new A.OutputStyle("compressed");
  126615. B.OutputStyle_10 = new A.OutputStyle0("compressed");
  126616. B.ProphotoRgbColorSpace_BDz = new A.ProphotoRgbColorSpace("prophoto-rgb", B.List_U47);
  126617. B.ProphotoRgbColorSpace_BDz0 = new A.ProphotoRgbColorSpace0("prophoto-rgb", B.List_U470);
  126618. B.Rec2020ColorSpace_6oo = new A.Rec2020ColorSpace("rec2020", B.List_U47);
  126619. B.Rec2020ColorSpace_6oo0 = new A.Rec2020ColorSpace0("rec2020", B.List_U470);
  126620. B.Map_empty20 = new A.ConstantStringMap(B.Object_empty, [], A.findType("ConstantStringMap<SelectorList,Box<SelectorList>>"));
  126621. B.Record2_EmptyExtensionStore_Map_empty = new A._Record_2(B.C_EmptyExtensionStore, B.Map_empty20);
  126622. B.Map_empty21 = new A.ConstantStringMap(B.Object_empty, [], A.findType("ConstantStringMap<SelectorList0,Box0<SelectorList0>>"));
  126623. B.Record2_EmptyExtensionStore_Map_empty0 = new A._Record_2(B.C_EmptyExtensionStore0, B.Map_empty21);
  126624. B.List_Ds2 = A._setArrayType(makeConstList([B.LinearChannel_qXC, B.LinearChannel_Z5r, B.LinearChannel_vJ3]), type$.JSArray_ColorChannel);
  126625. B.RgbColorSpace_i0P = new A.RgbColorSpace("rgb", B.List_Ds2);
  126626. B.List_Ds20 = A._setArrayType(makeConstList([B.LinearChannel_qXC0, B.LinearChannel_Z5r0, B.LinearChannel_vJ30]), type$.JSArray_ColorChannel_2);
  126627. B.RgbColorSpace_i0P0 = new A.RgbColorSpace0("rgb", B.List_Ds20);
  126628. B.SassBoolean_false = new A.SassBoolean(false);
  126629. B.SassBoolean_false0 = new A.SassBoolean0(false);
  126630. B.SassBoolean_true = new A.SassBoolean(true);
  126631. B.SassBoolean_true0 = new A.SassBoolean0(true);
  126632. B.SassList_BlY = new A.SassList(B.List_empty8, B.ListSeparator_qVN, false);
  126633. B.SassList_BlY0 = new A.SassList0(B.List_empty22, B.ListSeparator_qVN0, false);
  126634. B.SassList_apG = new A.SassList0(B.List_empty22, B.ListSeparator_undecided_null_undecided0, false);
  126635. B.SassList_qAD = new A.SassList(B.List_empty8, B.ListSeparator_qVN, true);
  126636. B.SassList_qAD0 = new A.SassList0(B.List_empty22, B.ListSeparator_qVN0, true);
  126637. B.Map_empty22 = new A.ConstantStringMap(B.Object_empty, [], A.findType("ConstantStringMap<Value,Value>"));
  126638. B.SassMap_Map_empty = new A.SassMap(B.Map_empty22);
  126639. B.Map_empty23 = new A.ConstantStringMap(B.Object_empty, [], A.findType("ConstantStringMap<Value0,Value0>"));
  126640. B.SassMap_Map_empty0 = new A.SassMap0(B.Map_empty23);
  126641. B.Object_Tro = {is: 0, matches: 1, where: 2};
  126642. B.Set_0egh6 = new A.ConstantStringSet(B.Object_Tro, 3, type$.ConstantStringSet_String);
  126643. B.Object_ssn = {sass: 0, style: 1, default: 2};
  126644. B.Set_8229z = new A.ConstantStringSet(B.Object_ssn, 3, type$.ConstantStringSet_String);
  126645. B.Set_9FDyj = new A.GeneralConstantSet([B.RgbColorSpace_i0P, B.HslColorSpace_JQ2], A.findType("GeneralConstantSet<ColorSpace>"));
  126646. B.Set_9FDyj0 = new A.GeneralConstantSet([B.RgbColorSpace_i0P0, B.HslColorSpace_JQ20], A.findType("GeneralConstantSet<ColorSpace0>"));
  126647. B.Object_BKa = {".scss": 0, ".sass": 1, ".css": 2};
  126648. B.Set_FTDN4 = new A.ConstantStringSet(B.Object_BKa, 3, type$.ConstantStringSet_String);
  126649. 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};
  126650. B.Set_Pr3yj = new A.ConstantStringSet(B.Object_GR4, 18, type$.ConstantStringSet_String);
  126651. B.Set_WDSXk = new A.GeneralConstantSet([0], A.findType("GeneralConstantSet<int>"));
  126652. B.Set_empty2 = new A.ConstantStringSet(B.Object_empty, 0, A.findType("ConstantStringSet<CssMediaQuery>"));
  126653. B.Set_empty6 = new A.ConstantStringSet(B.Object_empty, 0, A.findType("ConstantStringSet<CssMediaQuery0>"));
  126654. B.Set_empty3 = new A.ConstantStringSet(B.Object_empty, 0, A.findType("ConstantStringSet<Module0<AsyncCallable>>"));
  126655. B.Set_empty0 = new A.ConstantStringSet(B.Object_empty, 0, A.findType("ConstantStringSet<Module0<Callable0>>"));
  126656. B.Set_empty7 = new A.ConstantStringSet(B.Object_empty, 0, A.findType("ConstantStringSet<Module1<AsyncCallable0>>"));
  126657. B.Set_empty5 = new A.ConstantStringSet(B.Object_empty, 0, A.findType("ConstantStringSet<Module1<Callable>>"));
  126658. B.Set_empty1 = new A.ConstantStringSet(B.Object_empty, 0, type$.ConstantStringSet_String);
  126659. B.Set_empty4 = new A.ConstantStringSet(B.Object_empty, 0, A.findType("ConstantStringSet<StylesheetNode>"));
  126660. B.Set_empty = new A.ConstantStringSet(B.Object_empty, 0, A.findType("ConstantStringSet<Uri>"));
  126661. B.Set_oQTdo = new A.GeneralConstantSet([B.BinaryOperator_tht, B.BinaryOperator_Mh5, B.BinaryOperator_Swh, B.BinaryOperator_QG1], A.findType("GeneralConstantSet<BinaryOperator>"));
  126662. B.Set_oQTdo0 = new A.GeneralConstantSet([B.BinaryOperator_tht0, B.BinaryOperator_Mh50, B.BinaryOperator_Swh0, B.BinaryOperator_QG10], A.findType("GeneralConstantSet<BinaryOperator0>"));
  126663. B.SrgbColorSpace_thf = new A.SrgbColorSpace("srgb", B.List_U47);
  126664. B.SrgbColorSpace_thf0 = new A.SrgbColorSpace0("srgb", B.List_U470);
  126665. B.SrgbLinearColorSpace_kUj = new A.SrgbLinearColorSpace("srgb-linear", B.List_U47);
  126666. B.SrgbLinearColorSpace_kUj0 = new A.SrgbLinearColorSpace0("srgb-linear", B.List_U470);
  126667. B.StderrLogger_false = new A.StderrLogger(false);
  126668. B.StderrLogger_false0 = new A.StderrLogger0(false);
  126669. B.Symbol__canonicalizeContext = new A.Symbol("_canonicalizeContext");
  126670. B.Symbol__evaluationContext = new A.Symbol("_evaluationContext");
  126671. B.Symbol__extensions = new A.Symbol("_extensions");
  126672. B.Symbol__sourceSpecificity = new A.Symbol("_sourceSpecificity");
  126673. B.Symbol_call = new A.Symbol("call");
  126674. B.Syntax_CSS_css = new A.Syntax("CSS", "css");
  126675. B.Syntax_CSS_css0 = new A.Syntax0("CSS", "css");
  126676. B.Syntax_SCSS_scss = new A.Syntax("SCSS", "scss");
  126677. B.Syntax_SCSS_scss0 = new A.Syntax0("SCSS", "scss");
  126678. B.Syntax_Sass_sass = new A.Syntax("Sass", "sass");
  126679. B.Syntax_Sass_sass0 = new A.Syntax0("Sass", "sass");
  126680. B.Type_ByteBuffer_rqD = A.typeLiteral("ByteBuffer");
  126681. B.Type_ByteData_9dB = A.typeLiteral("ByteData");
  126682. B.Type_Float32List_9Kz = A.typeLiteral("Float32List");
  126683. B.Type_Float64List_9Kz = A.typeLiteral("Float64List");
  126684. B.Type_Int16List_s5h = A.typeLiteral("Int16List");
  126685. B.Type_Int32List_O8Z = A.typeLiteral("Int32List");
  126686. B.Type_Int8List_rFV = A.typeLiteral("Int8List");
  126687. B.Type_Object_A4p = A.typeLiteral("Object");
  126688. B.Type_Uint16List_kmP = A.typeLiteral("Uint16List");
  126689. B.Type_Uint32List_kmP = A.typeLiteral("Uint32List");
  126690. B.Type_Uint8ClampedList_04U = A.typeLiteral("Uint8ClampedList");
  126691. B.Type_Uint8List_8Eb = A.typeLiteral("Uint8List");
  126692. B.UnaryOperator_Rbl = new A.UnaryOperator("plus", "+", "plus");
  126693. B.UnaryOperator_Rbl0 = new A.UnaryOperator0("plus", "+", "plus");
  126694. B.UnaryOperator_UCP = new A.UnaryOperator("minus", "-", "minus");
  126695. B.UnaryOperator_UCP0 = new A.UnaryOperator0("minus", "-", "minus");
  126696. B.UnaryOperator_lZV = new A.UnaryOperator("divide", "/", "divide");
  126697. B.UnaryOperator_lZV0 = new A.UnaryOperator0("divide", "/", "divide");
  126698. B.UnaryOperator_not_not_not = new A.UnaryOperator("not", "not", "not");
  126699. B.UnaryOperator_not_not_not0 = new A.UnaryOperator0("not", "not", "not");
  126700. B.Utf8Decoder_false = new A.Utf8Decoder(false);
  126701. B.LinearChannel_LYw = new A.LinearChannel(0, 1, false, false, false, "x", false, null);
  126702. B.LinearChannel_eR7 = new A.LinearChannel(0, 1, false, false, false, "y", false, null);
  126703. B.LinearChannel_gZl = new A.LinearChannel(0, 1, false, false, false, "z", false, null);
  126704. B.List_QRs = A._setArrayType(makeConstList([B.LinearChannel_LYw, B.LinearChannel_eR7, B.LinearChannel_gZl]), type$.JSArray_LinearChannel);
  126705. B.XyzD50ColorSpace_2OB = new A.XyzD50ColorSpace("xyz-d50", B.List_QRs);
  126706. B.LinearChannel_LYw0 = new A.LinearChannel0(0, 1, false, false, false, "x", false, null);
  126707. B.LinearChannel_eR70 = new A.LinearChannel0(0, 1, false, false, false, "y", false, null);
  126708. B.LinearChannel_gZl0 = new A.LinearChannel0(0, 1, false, false, false, "z", false, null);
  126709. B.List_QRs0 = A._setArrayType(makeConstList([B.LinearChannel_LYw0, B.LinearChannel_eR70, B.LinearChannel_gZl0]), type$.JSArray_LinearChannel_2);
  126710. B.XyzD50ColorSpace_2OB0 = new A.XyzD50ColorSpace0("xyz-d50", B.List_QRs0);
  126711. B.XyzD65ColorSpace_WiJ = new A.XyzD65ColorSpace("xyz", B.List_QRs);
  126712. B.XyzD65ColorSpace_WiJ0 = new A.XyzD65ColorSpace0("xyz", B.List_QRs0);
  126713. B._IsBogusVisitor_false = new A._IsBogusVisitor(false);
  126714. B._IsBogusVisitor_false0 = new A._IsBogusVisitor0(false);
  126715. B._IsBogusVisitor_true = new A._IsBogusVisitor(true);
  126716. B._IsBogusVisitor_true0 = new A._IsBogusVisitor0(true);
  126717. B._IsInvisibleVisitor_false = new A._IsInvisibleVisitor0(false);
  126718. B._IsInvisibleVisitor_false0 = new A._IsInvisibleVisitor2(false);
  126719. B._IsInvisibleVisitor_false_false = new A._IsInvisibleVisitor(false, false);
  126720. B._IsInvisibleVisitor_false_false0 = new A._IsInvisibleVisitor1(false, false);
  126721. B._IsInvisibleVisitor_true = new A._IsInvisibleVisitor0(true);
  126722. B._IsInvisibleVisitor_true0 = new A._IsInvisibleVisitor2(true);
  126723. B._IsInvisibleVisitor_true_false = new A._IsInvisibleVisitor(true, false);
  126724. B._IsInvisibleVisitor_true_false0 = new A._IsInvisibleVisitor1(true, false);
  126725. B._IsInvisibleVisitor_true_true = new A._IsInvisibleVisitor(true, true);
  126726. B._IsInvisibleVisitor_true_true0 = new A._IsInvisibleVisitor1(true, true);
  126727. B._PathDirection_6kc = new A._PathDirection("reaches root");
  126728. B._PathDirection_Wme = new A._PathDirection("below root");
  126729. B._PathDirection_dMN = new A._PathDirection("at root");
  126730. B._PathDirection_vgO = new A._PathDirection("above root");
  126731. B._PathRelation_different = new A._PathRelation("different");
  126732. B._PathRelation_equal = new A._PathRelation("equal");
  126733. B._PathRelation_inconclusive = new A._PathRelation("inconclusive");
  126734. B._PathRelation_within = new A._PathRelation("within");
  126735. B._SingletonCssMediaQueryMergeResult_0 = new A._SingletonCssMediaQueryMergeResult("empty");
  126736. B._SingletonCssMediaQueryMergeResult_00 = new A._SingletonCssMediaQueryMergeResult0("empty");
  126737. B._SingletonCssMediaQueryMergeResult_1 = new A._SingletonCssMediaQueryMergeResult("unrepresentable");
  126738. B._SingletonCssMediaQueryMergeResult_10 = new A._SingletonCssMediaQueryMergeResult0("unrepresentable");
  126739. B._StreamGroupState_canceled = new A._StreamGroupState("canceled");
  126740. B._StreamGroupState_dormant = new A._StreamGroupState("dormant");
  126741. B._StreamGroupState_listening = new A._StreamGroupState("listening");
  126742. B._StreamGroupState_paused = new A._StreamGroupState("paused");
  126743. B._StringStackTrace_OdL = new A._StringStackTrace("");
  126744. B._ZoneFunction_KjJ = new A._ZoneFunction(B.C__RootZone, A.async___rootHandleUncaughtError$closure());
  126745. B._ZoneFunction_PAY = new A._ZoneFunction(B.C__RootZone, A.async___rootCreatePeriodicTimer$closure());
  126746. B._ZoneFunction_Xkh = new A._ZoneFunction(B.C__RootZone, A.async___rootRegisterUnaryCallback$closure());
  126747. B._ZoneFunction__RootZone__rootCreateTimer = new A._ZoneFunction(B.C__RootZone, A.async___rootCreateTimer$closure());
  126748. B._ZoneFunction__RootZone__rootErrorCallback = new A._ZoneFunction(B.C__RootZone, A.async___rootErrorCallback$closure());
  126749. B._ZoneFunction__RootZone__rootFork = new A._ZoneFunction(B.C__RootZone, A.async___rootFork$closure());
  126750. B._ZoneFunction__RootZone__rootPrint = new A._ZoneFunction(B.C__RootZone, A.async___rootPrint$closure());
  126751. B._ZoneFunction__RootZone__rootRegisterCallback = new A._ZoneFunction(B.C__RootZone, A.async___rootRegisterCallback$closure());
  126752. B._ZoneFunction__RootZone__rootRun = new A._ZoneFunction(B.C__RootZone, A.async___rootRun$closure());
  126753. B._ZoneFunction__RootZone__rootRunBinary = new A._ZoneFunction(B.C__RootZone, A.async___rootRunBinary$closure());
  126754. B._ZoneFunction__RootZone__rootRunUnary = new A._ZoneFunction(B.C__RootZone, A.async___rootRunUnary$closure());
  126755. B._ZoneFunction__RootZone__rootScheduleMicrotask = new A._ZoneFunction(B.C__RootZone, A.async___rootScheduleMicrotask$closure());
  126756. B._ZoneFunction_e9o = new A._ZoneFunction(B.C__RootZone, A.async___rootRegisterBinaryCallback$closure());
  126757. B._ZoneSpecification_Ipa = new A._ZoneSpecification(null, null, null, null, null, null, null, null, null, null, null, null, null);
  126758. })();
  126759. (function staticFields() {
  126760. $._JS_INTEROP_INTERCEPTOR_TAG = null;
  126761. $.toStringVisiting = A._setArrayType([], type$.JSArray_Object);
  126762. $.printToZone = null;
  126763. $.Primitives__identityHashCodeProperty = null;
  126764. $.BoundClosure__receiverFieldNameCache = null;
  126765. $.BoundClosure__interceptorFieldNameCache = null;
  126766. $.getTagFunction = null;
  126767. $.alternateTagFunction = null;
  126768. $.prototypeForTagFunction = null;
  126769. $.dispatchRecordsForInstanceTags = null;
  126770. $.interceptorsForUncacheableTags = null;
  126771. $.initNativeDispatchFlag = null;
  126772. $._Record__computedFieldKeys = A._setArrayType([], A.findType("JSArray<List<Object>?>"));
  126773. $._nextCallback = null;
  126774. $._lastCallback = null;
  126775. $._lastPriorityCallback = null;
  126776. $._isInCallbackLoop = false;
  126777. $.Zone__current = B.C__RootZone;
  126778. $._RootZone__rootDelegate = null;
  126779. $.Uri__cachedBaseString = "";
  126780. $.Uri__cachedBaseUri = null;
  126781. $._fs = null;
  126782. $._currentUriBase = null;
  126783. $._current = null;
  126784. $._subselectorPseudos = A.LinkedHashSet_LinkedHashSet$_literal(["is", "matches", "where", "any", "nth-child", "nth-last-child"], type$.String);
  126785. $._rootishPseudoClasses = A.LinkedHashSet_LinkedHashSet$_literal(["root", "scope", "host", "host-context"], type$.String);
  126786. $._features = A.LinkedHashSet_LinkedHashSet$_literal(["global-variable-shadowing", "extend-selector-pseudoclass", "units-level-3", "at-error", "custom-property"], type$.String);
  126787. $._realCaseCache = function() {
  126788. var t1 = type$.String;
  126789. return A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
  126790. }();
  126791. $._selectorPseudoClasses = A.LinkedHashSet_LinkedHashSet$_literal(["not", "is", "matches", "where", "current", "any", "has", "host", "host-context"], type$.String);
  126792. $._selectorPseudoElements = A.LinkedHashSet_LinkedHashSet$_literal(["slotted"], type$.String);
  126793. $._glyphs = B.C_UnicodeGlyphSet;
  126794. $._rootishPseudoClasses0 = A.LinkedHashSet_LinkedHashSet$_literal(["root", "scope", "host", "host-context"], type$.String);
  126795. $._realCaseCache0 = function() {
  126796. var t1 = type$.String;
  126797. return A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
  126798. }();
  126799. $._features0 = A.LinkedHashSet_LinkedHashSet$_literal(["global-variable-shadowing", "extend-selector-pseudoclass", "units-level-3", "at-error", "custom-property"], type$.String);
  126800. $._selectorPseudoClasses0 = A.LinkedHashSet_LinkedHashSet$_literal(["not", "is", "matches", "where", "current", "any", "has", "host", "host-context"], type$.String);
  126801. $._selectorPseudoElements0 = A.LinkedHashSet_LinkedHashSet$_literal(["slotted"], type$.String);
  126802. $._subselectorPseudos0 = A.LinkedHashSet_LinkedHashSet$_literal(["is", "matches", "where", "any", "nth-child", "nth-last-child"], type$.String);
  126803. })();
  126804. (function lazyInitializers() {
  126805. var _lazyFinal = hunkHelpers.lazyFinal,
  126806. _lazy = hunkHelpers.lazy;
  126807. _lazyFinal($, "DART_CLOSURE_PROPERTY_NAME", "$get$DART_CLOSURE_PROPERTY_NAME", () => A.getIsolateAffinityTag("_$dart_dartClosure"));
  126808. _lazyFinal($, "nullFuture", "$get$nullFuture", () => B.C__RootZone.run$1$1(0, new A.nullFuture_closure(), A.findType("Future<~>")));
  126809. _lazyFinal($, "TypeErrorDecoder_noSuchMethodPattern", "$get$TypeErrorDecoder_noSuchMethodPattern", () => A.TypeErrorDecoder_extractPattern(A.TypeErrorDecoder_provokeCallErrorOn({
  126810. toString: function() {
  126811. return "$receiver$";
  126812. }
  126813. })));
  126814. _lazyFinal($, "TypeErrorDecoder_notClosurePattern", "$get$TypeErrorDecoder_notClosurePattern", () => A.TypeErrorDecoder_extractPattern(A.TypeErrorDecoder_provokeCallErrorOn({$method$: null,
  126815. toString: function() {
  126816. return "$receiver$";
  126817. }
  126818. })));
  126819. _lazyFinal($, "TypeErrorDecoder_nullCallPattern", "$get$TypeErrorDecoder_nullCallPattern", () => A.TypeErrorDecoder_extractPattern(A.TypeErrorDecoder_provokeCallErrorOn(null)));
  126820. _lazyFinal($, "TypeErrorDecoder_nullLiteralCallPattern", "$get$TypeErrorDecoder_nullLiteralCallPattern", () => A.TypeErrorDecoder_extractPattern(function() {
  126821. var $argumentsExpr$ = "$arguments$";
  126822. try {
  126823. null.$method$($argumentsExpr$);
  126824. } catch (e) {
  126825. return e.message;
  126826. }
  126827. }()));
  126828. _lazyFinal($, "TypeErrorDecoder_undefinedCallPattern", "$get$TypeErrorDecoder_undefinedCallPattern", () => A.TypeErrorDecoder_extractPattern(A.TypeErrorDecoder_provokeCallErrorOn(void 0)));
  126829. _lazyFinal($, "TypeErrorDecoder_undefinedLiteralCallPattern", "$get$TypeErrorDecoder_undefinedLiteralCallPattern", () => A.TypeErrorDecoder_extractPattern(function() {
  126830. var $argumentsExpr$ = "$arguments$";
  126831. try {
  126832. (void 0).$method$($argumentsExpr$);
  126833. } catch (e) {
  126834. return e.message;
  126835. }
  126836. }()));
  126837. _lazyFinal($, "TypeErrorDecoder_nullPropertyPattern", "$get$TypeErrorDecoder_nullPropertyPattern", () => A.TypeErrorDecoder_extractPattern(A.TypeErrorDecoder_provokePropertyErrorOn(null)));
  126838. _lazyFinal($, "TypeErrorDecoder_nullLiteralPropertyPattern", "$get$TypeErrorDecoder_nullLiteralPropertyPattern", () => A.TypeErrorDecoder_extractPattern(function() {
  126839. try {
  126840. null.$method$;
  126841. } catch (e) {
  126842. return e.message;
  126843. }
  126844. }()));
  126845. _lazyFinal($, "TypeErrorDecoder_undefinedPropertyPattern", "$get$TypeErrorDecoder_undefinedPropertyPattern", () => A.TypeErrorDecoder_extractPattern(A.TypeErrorDecoder_provokePropertyErrorOn(void 0)));
  126846. _lazyFinal($, "TypeErrorDecoder_undefinedLiteralPropertyPattern", "$get$TypeErrorDecoder_undefinedLiteralPropertyPattern", () => A.TypeErrorDecoder_extractPattern(function() {
  126847. try {
  126848. (void 0).$method$;
  126849. } catch (e) {
  126850. return e.message;
  126851. }
  126852. }()));
  126853. _lazyFinal($, "_AsyncRun__scheduleImmediateClosure", "$get$_AsyncRun__scheduleImmediateClosure", () => A._AsyncRun__initializeScheduleImmediate());
  126854. _lazyFinal($, "Future__nullFuture", "$get$Future__nullFuture", () => $.$get$nullFuture());
  126855. _lazyFinal($, "Future__falseFuture", "$get$Future__falseFuture", () => A._Future$zoneValue(false, B.C__RootZone, type$.bool));
  126856. _lazyFinal($, "_RootZone__rootMap", "$get$_RootZone__rootMap", () => {
  126857. var t1 = type$.dynamic;
  126858. return A.HashMap_HashMap(t1, t1);
  126859. });
  126860. _lazyFinal($, "_Utf8Decoder__reusableBuffer", "$get$_Utf8Decoder__reusableBuffer", () => A.NativeUint8List_NativeUint8List(4096));
  126861. _lazyFinal($, "_Utf8Decoder__decoder", "$get$_Utf8Decoder__decoder", () => new A._Utf8Decoder__decoder_closure().call$0());
  126862. _lazyFinal($, "_Utf8Decoder__decoderNonfatal", "$get$_Utf8Decoder__decoderNonfatal", () => new A._Utf8Decoder__decoderNonfatal_closure().call$0());
  126863. _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))));
  126864. _lazyFinal($, "_Uri__isWindowsCached", "$get$_Uri__isWindowsCached", () => {
  126865. var t1 = typeof process != "undefined" && Object.prototype.toString.call(process) == "[object process]" && process.platform == "win32";
  126866. return t1;
  126867. });
  126868. _lazyFinal($, "_Uri__needsNoEncoding", "$get$_Uri__needsNoEncoding", () => A.RegExp_RegExp("^[\\-\\.0-9A-Z_a-z~]*$", false));
  126869. _lazyFinal($, "_hashSeed", "$get$_hashSeed", () => A.objectHashCode(B.Type_Object_A4p));
  126870. _lazyFinal($, "Option__invalidChars", "$get$Option__invalidChars", () => A.RegExp_RegExp("[ \\t\\r\\n\"'\\\\/]", false));
  126871. _lazyFinal($, "_isStrictMode", "$get$_isStrictMode", () => new A._isStrictMode_closure().call$0());
  126872. _lazyFinal($, "alwaysValid", "$get$alwaysValid", () => new A.alwaysValid_closure());
  126873. _lazyFinal($, "readline", "$get$readline", () => self.readline);
  126874. _lazyFinal($, "windows", "$get$windows", () => A.Context_Context($.$get$Style_windows()));
  126875. _lazyFinal($, "url", "$get$url", () => A.Context_Context($.$get$Style_url()));
  126876. _lazyFinal($, "context", "$get$context", () => new A.Context($.$get$Style_platform(), null));
  126877. _lazyFinal($, "Style_posix", "$get$Style_posix", () => new A.PosixStyle(A.RegExp_RegExp("/", false), A.RegExp_RegExp("[^/]$", false), A.RegExp_RegExp("^/", false)));
  126878. _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)));
  126879. _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)));
  126880. _lazyFinal($, "Style_platform", "$get$Style_platform", () => A.Style__getPlatformStyle());
  126881. _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));
  126882. _lazyFinal($, "completeVersion", "$get$completeVersion", () => A.RegExp_RegExp($.$get$startVersion().pattern + "$", false));
  126883. _lazyFinal($, "IfExpression_declaration", "$get$IfExpression_declaration", () => A.ParameterList_ParameterList$parse(string$.x40funct, null));
  126884. _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));
  126885. _lazyFinal($, "namesByColor", "$get$namesByColor", () => {
  126886. var $name,
  126887. t1 = type$.SassColor,
  126888. t2 = type$.String,
  126889. t3 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t2);
  126890. for (t1 = A.MapExtensions_get_pairs($.$get$colorsByName(), t2, t1), t1 = t1.get$iterator(t1); t1.moveNext$0();) {
  126891. t2 = t1.get$current(t1);
  126892. $name = t2._0;
  126893. t3.$indexSet(0, t2._1, $name);
  126894. }
  126895. return t3;
  126896. });
  126897. _lazyFinal($, "ExecutableOptions__separatorBar", "$get$ExecutableOptions__separatorBar", () => A.isWindows() ? "=" : "\u2501");
  126898. _lazyFinal($, "ExecutableOptions__parser", "$get$ExecutableOptions__parser", () => new A.ExecutableOptions__parser_closure().call$0());
  126899. _lazyFinal($, "globalFunctions", "$get$globalFunctions", () => {
  126900. var t1 = type$.BuiltInCallable,
  126901. t2 = A.List_List$of($.$get$global(), true, t1);
  126902. B.JSArray_methods.addAll$1(t2, $.$get$global0());
  126903. B.JSArray_methods.addAll$1(t2, $.$get$global1());
  126904. B.JSArray_methods.addAll$1(t2, $.$get$global2());
  126905. B.JSArray_methods.addAll$1(t2, $.$get$global3());
  126906. B.JSArray_methods.addAll$1(t2, $.$get$global4());
  126907. B.JSArray_methods.addAll$1(t2, $.$get$global5());
  126908. t2.push(A.BuiltInCallable$function("if", "$condition, $if-true, $if-false", new A.globalFunctions_closure(), null));
  126909. return A.UnmodifiableListView$(t2, t1);
  126910. });
  126911. _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));
  126912. _lazyFinal($, "_microsoftFilterStart", "$get$_microsoftFilterStart", () => A.RegExp_RegExp("^[a-zA-Z]+\\s*=", false));
  126913. _lazyFinal($, "global", "$get$global", () => {
  126914. var _s5_ = "color",
  126915. _s27_ = "$red, $green, $blue, $alpha",
  126916. _s19_ = "$red, $green, $blue",
  126917. _s9_ = "$channels",
  126918. _s37_ = "$hue, $saturation, $lightness, $alpha",
  126919. _s29_ = "$hue, $saturation, $lightness",
  126920. _s17_ = "$hue, $saturation",
  126921. _s6_ = "adjust",
  126922. _s15_ = "$color, $amount",
  126923. t1 = type$.String,
  126924. t2 = type$.Value_Function_List_Value;
  126925. 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);
  126926. });
  126927. _lazyFinal($, "module", "$get$module", () => {
  126928. var _null = null,
  126929. _s10_ = "saturation",
  126930. _s9_ = "lightness",
  126931. _s6_ = "$color", _s5_ = "alpha",
  126932. _s30_ = "$color, $channel, $space: null",
  126933. t1 = type$.String,
  126934. t2 = type$.Value_Function_List_Value;
  126935. 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);
  126936. });
  126937. _lazyFinal($, "_mix", "$get$_mix", () => A._function5("mix", string$.x24color, new A._mix_closure()));
  126938. _lazyFinal($, "_complement", "$get$_complement", () => A._function5("complement", "$color, $space: null", new A._complement_closure()));
  126939. _lazyFinal($, "_adjust", "$get$_adjust", () => A._function5("adjust", "$color, $kwargs...", new A._adjust_closure()));
  126940. _lazyFinal($, "_scale", "$get$_scale", () => A._function5("scale", "$color, $kwargs...", new A._scale_closure()));
  126941. _lazyFinal($, "_change", "$get$_change", () => A._function5("change", "$color, $kwargs...", new A._change_closure()));
  126942. _lazyFinal($, "_ieHexStr", "$get$_ieHexStr", () => A._function5("ie-hex-str", "$color", new A._ieHexStr_closure()));
  126943. _lazyFinal($, "global0", "$get$global0", () => {
  126944. var _s4_ = "list";
  126945. 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);
  126946. });
  126947. _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));
  126948. _lazyFinal($, "_length", "$get$_length0", () => A._function4("length", "$list", new A._length_closure0()));
  126949. _lazyFinal($, "_nth", "$get$_nth", () => A._function4("nth", "$list, $n", new A._nth_closure()));
  126950. _lazyFinal($, "_setNth", "$get$_setNth", () => A._function4("set-nth", "$list, $n, $value", new A._setNth_closure()));
  126951. _lazyFinal($, "_join", "$get$_join", () => A._function4("join", string$.x24list1, new A._join_closure()));
  126952. _lazyFinal($, "_append", "$get$_append0", () => A._function4("append", "$list, $val, $separator: auto", new A._append_closure0()));
  126953. _lazyFinal($, "_zip", "$get$_zip", () => A._function4("zip", "$lists...", new A._zip_closure()));
  126954. _lazyFinal($, "_index", "$get$_index0", () => A._function4("index", "$list, $value", new A._index_closure0()));
  126955. _lazyFinal($, "_separator", "$get$_separator", () => A._function4("separator", "$list", new A._separator_closure()));
  126956. _lazyFinal($, "_isBracketed", "$get$_isBracketed", () => A._function4("is-bracketed", "$list", new A._isBracketed_closure()));
  126957. _lazyFinal($, "_slash", "$get$_slash", () => A._function4("slash", "$elements...", new A._slash_closure()));
  126958. _lazyFinal($, "global1", "$get$global1", () => {
  126959. var _s3_ = "map";
  126960. 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);
  126961. });
  126962. _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));
  126963. _lazyFinal($, "_get", "$get$_get", () => A._function3("get", "$map, $key, $keys...", new A._get_closure()));
  126964. _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)));
  126965. _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)));
  126966. _lazyFinal($, "_deepMerge", "$get$_deepMerge", () => A._function3("deep-merge", "$map1, $map2", new A._deepMerge_closure()));
  126967. _lazyFinal($, "_deepRemove", "$get$_deepRemove", () => A._function3("deep-remove", "$map, $key, $keys...", new A._deepRemove_closure()));
  126968. _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)));
  126969. _lazyFinal($, "_keys", "$get$_keys", () => A._function3("keys", "$map", new A._keys_closure()));
  126970. _lazyFinal($, "_values", "$get$_values", () => A._function3("values", "$map", new A._values_closure()));
  126971. _lazyFinal($, "_hasKey", "$get$_hasKey", () => A._function3("has-key", "$map, $key, $keys...", new A._hasKey_closure()));
  126972. _lazyFinal($, "global2", "$get$global2", () => {
  126973. var _s4_ = "math";
  126974. 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);
  126975. });
  126976. _lazyFinal($, "module2", "$get$module2", () => {
  126977. var _null = null;
  126978. 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);
  126979. });
  126980. _lazyFinal($, "_ceil", "$get$_ceil", () => A._numberFunction("ceil", new A._ceil_closure()));
  126981. _lazyFinal($, "_clamp", "$get$_clamp", () => A._function2("clamp", "$min, $number, $max", new A._clamp_closure()));
  126982. _lazyFinal($, "_floor", "$get$_floor", () => A._numberFunction("floor", new A._floor_closure()));
  126983. _lazyFinal($, "_max", "$get$_max", () => A._function2("max", "$numbers...", new A._max_closure()));
  126984. _lazyFinal($, "_min", "$get$_min", () => A._function2("min", "$numbers...", new A._min_closure()));
  126985. _lazyFinal($, "_round", "$get$_round", () => A._numberFunction("round", new A._round_closure()));
  126986. _lazyFinal($, "_hypot", "$get$_hypot", () => A._function2("hypot", "$numbers...", new A._hypot_closure()));
  126987. _lazyFinal($, "_log", "$get$_log", () => A._function2("log", "$number, $base: null", new A._log_closure()));
  126988. _lazyFinal($, "_pow", "$get$_pow", () => A._function2("pow", "$base, $exponent", new A._pow_closure()));
  126989. _lazyFinal($, "_sqrt", "$get$_sqrt", () => A._singleArgumentMathFunc("sqrt", A.number0__sqrt$closure()));
  126990. _lazyFinal($, "_acos", "$get$_acos", () => A._singleArgumentMathFunc("acos", A.number0__acos$closure()));
  126991. _lazyFinal($, "_asin", "$get$_asin", () => A._singleArgumentMathFunc("asin", A.number0__asin$closure()));
  126992. _lazyFinal($, "_atan", "$get$_atan", () => A._singleArgumentMathFunc("atan", A.number0__atan$closure()));
  126993. _lazyFinal($, "_atan2", "$get$_atan2", () => A._function2("atan2", "$y, $x", new A._atan2_closure()));
  126994. _lazyFinal($, "_cos", "$get$_cos", () => A._singleArgumentMathFunc("cos", A.number0__cos$closure()));
  126995. _lazyFinal($, "_sin", "$get$_sin", () => A._singleArgumentMathFunc("sin", A.number0__sin$closure()));
  126996. _lazyFinal($, "_tan", "$get$_tan", () => A._singleArgumentMathFunc("tan", A.number0__tan$closure()));
  126997. _lazyFinal($, "_compatible", "$get$_compatible", () => A._function2("compatible", "$number1, $number2", new A._compatible_closure()));
  126998. _lazyFinal($, "_isUnitless", "$get$_isUnitless", () => A._function2("is-unitless", "$number", new A._isUnitless_closure()));
  126999. _lazyFinal($, "_unit", "$get$_unit", () => A._function2("unit", "$number", new A._unit_closure()));
  127000. _lazyFinal($, "_percentage", "$get$_percentage", () => A._function2("percentage", "$number", new A._percentage_closure()));
  127001. _lazyFinal($, "_random", "$get$_random0", () => A.Random_Random());
  127002. _lazyFinal($, "_randomFunction", "$get$_randomFunction", () => A._function2("random", "$limit: null", new A._randomFunction_closure()));
  127003. _lazyFinal($, "_div", "$get$_div", () => A._function2("div", "$number1, $number2", new A._div_closure()));
  127004. _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));
  127005. _lazyFinal($, "global3", "$get$global5", () => {
  127006. var t2,
  127007. t1 = A._setArrayType([], type$.JSArray_BuiltInCallable);
  127008. for (t2 = $.$get$_shared(), t2 = t2.get$iterator(t2); t2.moveNext$0();)
  127009. t1.push(t2.get$current(0).withDeprecationWarning$1("meta"));
  127010. return A.UnmodifiableListView$(t1, type$.BuiltInCallable);
  127011. });
  127012. _lazyFinal($, "moduleFunctions", "$get$moduleFunctions", () => {
  127013. var t1 = type$.BuiltInCallable,
  127014. t2 = A.List_List$of($.$get$_shared(), true, t1);
  127015. t2.push(A._function("calc-name", "$calc", new A.moduleFunctions_closure()));
  127016. t2.push(A._function("calc-args", "$calc", new A.moduleFunctions_closure0()));
  127017. t2.push(A._function("accepts-content", "$mixin", new A.moduleFunctions_closure1()));
  127018. return A.UnmodifiableListView$(t2, t1);
  127019. });
  127020. _lazyFinal($, "global4", "$get$global3", () => {
  127021. var _s8_ = "selector";
  127022. 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);
  127023. });
  127024. _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));
  127025. _lazyFinal($, "_nest", "$get$_nest", () => A._function1("nest", "$selectors...", new A._nest_closure()));
  127026. _lazyFinal($, "_append0", "$get$_append", () => A._function1("append", "$selectors...", new A._append_closure()));
  127027. _lazyFinal($, "_extend", "$get$_extend", () => A._function1("extend", "$selector, $extendee, $extender", new A._extend_closure()));
  127028. _lazyFinal($, "_replace", "$get$_replace", () => A._function1("replace", "$selector, $original, $replacement", new A._replace_closure()));
  127029. _lazyFinal($, "_unify", "$get$_unify", () => A._function1("unify", "$selector1, $selector2", new A._unify_closure()));
  127030. _lazyFinal($, "_isSuperselector", "$get$_isSuperselector", () => A._function1("is-superselector", "$super, $sub", new A._isSuperselector_closure()));
  127031. _lazyFinal($, "_simpleSelectors", "$get$_simpleSelectors", () => A._function1("simple-selectors", "$selector", new A._simpleSelectors_closure()));
  127032. _lazyFinal($, "_parse0", "$get$_parse", () => A._function1("parse", "$selector", new A._parse_closure()));
  127033. _lazyFinal($, "_random0", "$get$_random", () => A.Random_Random());
  127034. _lazy($, "_previousUniqueId", "$get$_previousUniqueId", () => $.$get$_random().nextInt$1(A._asInt(A.pow(36, 6))));
  127035. _lazyFinal($, "global5", "$get$global4", () => {
  127036. var _s6_ = "string";
  127037. 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);
  127038. });
  127039. _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));
  127040. _lazyFinal($, "_unquote", "$get$_unquote", () => A._function0("unquote", "$string", new A._unquote_closure()));
  127041. _lazyFinal($, "_quote", "$get$_quote", () => A._function0("quote", "$string", new A._quote_closure()));
  127042. _lazyFinal($, "_length0", "$get$_length", () => A._function0("length", "$string", new A._length_closure()));
  127043. _lazyFinal($, "_insert", "$get$_insert", () => A._function0("insert", "$string, $insert, $index", new A._insert_closure()));
  127044. _lazyFinal($, "_index0", "$get$_index", () => A._function0("index", "$string, $substring", new A._index_closure()));
  127045. _lazyFinal($, "_slice", "$get$_slice", () => A._function0("slice", "$string, $start-at, $end-at: -1", new A._slice_closure()));
  127046. _lazyFinal($, "_toUpperCase", "$get$_toUpperCase", () => A._function0("to-upper-case", "$string", new A._toUpperCase_closure()));
  127047. _lazyFinal($, "_toLowerCase", "$get$_toLowerCase", () => A._function0("to-lower-case", "$string", new A._toLowerCase_closure()));
  127048. _lazyFinal($, "_uniqueId", "$get$_uniqueId", () => A._function0("unique-id", "", new A._uniqueId_closure()));
  127049. _lazyFinal($, "FilesystemImporter_cwd", "$get$FilesystemImporter_cwd", () => {
  127050. var _null = null;
  127051. return new A.FilesystemImporter(A.absolute(".", _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null), true);
  127052. });
  127053. _lazyFinal($, "FilesystemImporter_noLoadPath", "$get$FilesystemImporter_noLoadPath", () => new A.FilesystemImporter(null, false));
  127054. _lazyFinal($, "_jsThrow", "$get$_jsThrow0", () => new self.Function("error", "throw error;"));
  127055. _lazyFinal($, "Logger_quiet", "$get$Logger_quiet", () => new A._QuietLogger());
  127056. _lazyFinal($, "_disallowedFunctionNames", "$get$_disallowedFunctionNames", () => {
  127057. var t1 = $.$get$globalFunctions();
  127058. t1 = t1.map$1$1(t1, new A._disallowedFunctionNames_closure(), type$.String).toSet$0(0);
  127059. t1.add$1(0, "if");
  127060. t1.remove$1(0, "abs");
  127061. t1.remove$1(0, "alpha");
  127062. t1.remove$1(0, "color");
  127063. t1.remove$1(0, "grayscale");
  127064. t1.remove$1(0, "hsl");
  127065. t1.remove$1(0, "hsla");
  127066. t1.remove$1(0, "hwb");
  127067. t1.remove$1(0, "invert");
  127068. t1.remove$1(0, "lab");
  127069. t1.remove$1(0, "lch");
  127070. t1.remove$1(0, "max");
  127071. t1.remove$1(0, "min");
  127072. t1.remove$1(0, "oklab");
  127073. t1.remove$1(0, "oklch");
  127074. t1.remove$1(0, "opacity");
  127075. t1.remove$1(0, "rgb");
  127076. t1.remove$1(0, "rgba");
  127077. t1.remove$1(0, "round");
  127078. t1.remove$1(0, "saturate");
  127079. return t1;
  127080. });
  127081. _lazyFinal($, "_epsilon", "$get$_epsilon", () => A.pow(10, -11));
  127082. _lazyFinal($, "_inverseEpsilon", "$get$_inverseEpsilon", () => A.pow(10, 11));
  127083. _lazyFinal($, "bogusSpan", "$get$bogusSpan", () => A.SourceFile$decoded(A._setArrayType([], type$.JSArray_int), null).span$1(0, 0));
  127084. _lazyFinal($, "_noSourceUrl", "$get$_noSourceUrl", () => A.Uri_parse("-"));
  127085. _lazyFinal($, "_traces", "$get$_traces", () => A.Expando$());
  127086. _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)));
  127087. _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)));
  127088. _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)));
  127089. _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)));
  127090. _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)));
  127091. _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)));
  127092. _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)));
  127093. _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)));
  127094. _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)));
  127095. _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)));
  127096. _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)));
  127097. _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)));
  127098. _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)));
  127099. _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)));
  127100. _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)));
  127101. _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)));
  127102. _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)));
  127103. _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)));
  127104. _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)));
  127105. _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)));
  127106. _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)));
  127107. _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)));
  127108. _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)));
  127109. _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)));
  127110. _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)));
  127111. _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)));
  127112. _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)));
  127113. _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)));
  127114. _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)));
  127115. _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)));
  127116. _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)));
  127117. _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)));
  127118. _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)));
  127119. _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)));
  127120. _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)));
  127121. _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)));
  127122. _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)));
  127123. _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)));
  127124. _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)));
  127125. _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)));
  127126. _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)));
  127127. _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)));
  127128. _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)));
  127129. _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)));
  127130. _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)));
  127131. _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)));
  127132. _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)));
  127133. _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)));
  127134. _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)));
  127135. _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)));
  127136. _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)));
  127137. _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)));
  127138. _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)));
  127139. _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)));
  127140. _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)));
  127141. _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)));
  127142. _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)));
  127143. _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)));
  127144. _lazyFinal($, "_typesByUnit", "$get$_typesByUnit", () => {
  127145. var t3, type,
  127146. t1 = type$.String,
  127147. t2 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
  127148. for (t1 = A.MapExtensions_get_pairs(B.Map_Sr65K, t1, type$.List_String), t1 = t1.get$iterator(t1); t1.moveNext$0();) {
  127149. t3 = t1.get$current(t1);
  127150. type = t3._0;
  127151. for (t3 = J.get$iterator$ax(t3._1); t3.moveNext$0();)
  127152. t2.$indexSet(0, t3.get$current(t3), type);
  127153. }
  127154. return t2;
  127155. });
  127156. _lazyFinal($, "_knownCompatibilitiesByUnit", "$get$_knownCompatibilitiesByUnit", () => {
  127157. var _i, set, t2,
  127158. t1 = A.LinkedHashMap_LinkedHashMap$_empty(type$.String, A.findType("Set<String>"));
  127159. for (_i = 0; _i < 5; ++_i) {
  127160. set = B.List_BFg[_i];
  127161. for (t2 = set.get$iterator(set); t2.moveNext$0();)
  127162. t1.$indexSet(0, t2.get$current(0), set);
  127163. }
  127164. return t1;
  127165. });
  127166. _lazyFinal($, "_emptyQuoted", "$get$_emptyQuoted", () => A.SassString$("", true));
  127167. _lazyFinal($, "_emptyUnquoted", "$get$_emptyUnquoted", () => A.SassString$("", false));
  127168. _lazyFinal($, "maxInt32", "$get$maxInt32", () => A._asInt(A.pow(2, 31)) - 1);
  127169. _lazyFinal($, "minInt32", "$get$minInt32", () => -A._asInt(A.pow(2, 31)));
  127170. _lazyFinal($, "_vmFrame", "$get$_vmFrame", () => A.RegExp_RegExp("^#\\d+\\s+(\\S.*) \\((.+?)((?::\\d+){0,2})\\)$", false));
  127171. _lazyFinal($, "_v8JsFrame", "$get$_v8JsFrame", () => A.RegExp_RegExp("^\\s*at (?:(\\S.*?)(?: \\[as [^\\]]+\\])? \\((.*)\\)|(.*))$", false));
  127172. _lazyFinal($, "_v8JsUrlLocation", "$get$_v8JsUrlLocation", () => A.RegExp_RegExp("^(.*?):(\\d+)(?::(\\d+))?$|native$", false));
  127173. _lazyFinal($, "_v8WasmFrame", "$get$_v8WasmFrame", () => A.RegExp_RegExp("^\\s*at (?:(?<member>.+) )?(?:\\(?(?:(?<uri>\\S+):wasm-function\\[(?<index>\\d+)\\]\\:0x(?<offset>[0-9a-fA-F]+))\\)?)$", false));
  127174. _lazyFinal($, "_v8EvalLocation", "$get$_v8EvalLocation", () => A.RegExp_RegExp("^eval at (?:\\S.*?) \\((.*)\\)(?:, .*?:\\d+:\\d+)?$", false));
  127175. _lazyFinal($, "_firefoxEvalLocation", "$get$_firefoxEvalLocation", () => A.RegExp_RegExp("(\\S+)@(\\S+) line (\\d+) >.* (Function|eval):\\d+:\\d+", false));
  127176. _lazyFinal($, "_firefoxSafariJSFrame", "$get$_firefoxSafariJSFrame", () => A.RegExp_RegExp("^(?:([^@(/]*)(?:\\(.*\\))?((?:/[^/]*)*)(?:\\(.*\\))?@)?(.*?):(\\d*)(?::(\\d*))?$", false));
  127177. _lazyFinal($, "_firefoxWasmFrame", "$get$_firefoxWasmFrame", () => A.RegExp_RegExp("^(?<member>.*?)@(?:(?<uri>\\S+).*?:wasm-function\\[(?<index>\\d+)\\]:0x(?<offset>[0-9a-fA-F]+))$", false));
  127178. _lazyFinal($, "_safariWasmFrame", "$get$_safariWasmFrame", () => A.RegExp_RegExp("^.*?wasm-function\\[(?<member>.*)\\]@\\[wasm code\\]$", false));
  127179. _lazyFinal($, "_friendlyFrame", "$get$_friendlyFrame", () => A.RegExp_RegExp("^(\\S+)(?: (\\d+)(?::(\\d+))?)?\\s+([^\\d].*)$", false));
  127180. _lazyFinal($, "_asyncBody", "$get$_asyncBody", () => A.RegExp_RegExp("<(<anonymous closure>|[^>]+)_async_body>", false));
  127181. _lazyFinal($, "_initialDot", "$get$_initialDot", () => A.RegExp_RegExp("^\\.", false));
  127182. _lazyFinal($, "Frame__uriRegExp", "$get$Frame__uriRegExp", () => A.RegExp_RegExp("^[a-zA-Z][-+.a-zA-Z\\d]*://", false));
  127183. _lazyFinal($, "Frame__windowsRegExp", "$get$Frame__windowsRegExp", () => A.RegExp_RegExp("^([a-zA-Z]:[\\\\/]|\\\\\\\\)", false));
  127184. _lazyFinal($, "_terseRegExp", "$get$_terseRegExp", () => A.RegExp_RegExp("(-patch)?([/\\\\].*)?$", false));
  127185. _lazyFinal($, "_v8Trace", "$get$_v8Trace", () => A.RegExp_RegExp("\\n ?at ", false));
  127186. _lazyFinal($, "_v8TraceLine", "$get$_v8TraceLine", () => A.RegExp_RegExp(" ?at ", false));
  127187. _lazyFinal($, "_firefoxEvalTrace", "$get$_firefoxEvalTrace", () => A.RegExp_RegExp("@\\S+ line \\d+ >.* (Function|eval):\\d+:\\d+", false));
  127188. _lazyFinal($, "_firefoxSafariTrace", "$get$_firefoxSafariTrace", () => A.RegExp_RegExp("^(([.0-9A-Za-z_$/<]|\\(.*\\))*@)?[^\\s]*:\\d*$", true));
  127189. _lazyFinal($, "_friendlyTrace", "$get$_friendlyTrace", () => A.RegExp_RegExp("^[^\\s<][^\\s]*( \\d+(:\\d+)?)?[ \\t]+[^\\s]+$", true));
  127190. _lazyFinal($, "vmChainGap", "$get$vmChainGap", () => A.RegExp_RegExp("^<asynchronous suspension>\\n?$", true));
  127191. _lazyFinal($, "_newlineRegExp", "$get$_newlineRegExp", () => A.RegExp_RegExp("\\n|\\r\\n|\\r(?!\\n)", false));
  127192. _lazyFinal($, "argumentListClass", "$get$argumentListClass", () => new A.argumentListClass_closure().call$0());
  127193. _lazyFinal($, "booleanClass", "$get$booleanClass", () => new A.booleanClass_closure().call$0());
  127194. _lazyFinal($, "legacyBooleanClass", "$get$legacyBooleanClass", () => new A.legacyBooleanClass_closure().call$0());
  127195. _lazyFinal($, "calculationClass", "$get$calculationClass", () => new A.calculationClass_closure().call$0());
  127196. _lazyFinal($, "calculationOperationClass", "$get$calculationOperationClass", () => new A.calculationOperationClass_closure().call$0());
  127197. _lazyFinal($, "calculationInterpolationClass", "$get$calculationInterpolationClass", () => new A.calculationInterpolationClass_closure().call$0());
  127198. _lazyFinal($, "_microsoftFilterStart0", "$get$_microsoftFilterStart0", () => A.RegExp_RegExp("^[a-zA-Z]+\\s*=", false));
  127199. _lazyFinal($, "global6", "$get$global6", () => {
  127200. var _s5_ = "color",
  127201. _s27_ = "$red, $green, $blue, $alpha",
  127202. _s19_ = "$red, $green, $blue",
  127203. _s9_ = "$channels",
  127204. _s37_ = "$hue, $saturation, $lightness, $alpha",
  127205. _s29_ = "$hue, $saturation, $lightness",
  127206. _s17_ = "$hue, $saturation",
  127207. _s6_ = "adjust",
  127208. _s15_ = "$color, $amount",
  127209. t1 = type$.String,
  127210. t2 = type$.Value_Function_List_Value_2;
  127211. 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);
  127212. });
  127213. _lazyFinal($, "module5", "$get$module5", () => {
  127214. var _null = null,
  127215. _s10_ = "saturation",
  127216. _s9_ = "lightness",
  127217. _s6_ = "$color", _s5_ = "alpha",
  127218. _s30_ = "$color, $channel, $space: null",
  127219. t1 = type$.String,
  127220. t2 = type$.Value_Function_List_Value_2;
  127221. 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);
  127222. });
  127223. _lazyFinal($, "_mix0", "$get$_mix0", () => A._function12("mix", string$.x24color, new A._mix_closure0()));
  127224. _lazyFinal($, "_complement0", "$get$_complement0", () => A._function12("complement", "$color, $space: null", new A._complement_closure0()));
  127225. _lazyFinal($, "_adjust0", "$get$_adjust0", () => A._function12("adjust", "$color, $kwargs...", new A._adjust_closure0()));
  127226. _lazyFinal($, "_scale0", "$get$_scale0", () => A._function12("scale", "$color, $kwargs...", new A._scale_closure0()));
  127227. _lazyFinal($, "_change0", "$get$_change0", () => A._function12("change", "$color, $kwargs...", new A._change_closure0()));
  127228. _lazyFinal($, "_ieHexStr0", "$get$_ieHexStr0", () => A._function12("ie-hex-str", "$color", new A._ieHexStr_closure0()));
  127229. _lazyFinal($, "colorClass", "$get$colorClass", () => new A.colorClass_closure().call$0());
  127230. _lazyFinal($, "legacyColorClass", "$get$legacyColorClass", () => {
  127231. var t1 = A.createJSClass("sass.types.Color", new A.legacyColorClass_closure());
  127232. 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));
  127233. return t1;
  127234. });
  127235. _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));
  127236. _lazyFinal($, "namesByColor0", "$get$namesByColor0", () => {
  127237. var $name,
  127238. t1 = type$.SassColor_2,
  127239. t2 = type$.String,
  127240. t3 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t2);
  127241. for (t1 = A.MapExtensions_get_pairs0($.$get$colorsByName0(), t2, t1), t1 = t1.get$iterator(t1); t1.moveNext$0();) {
  127242. t2 = t1.get$current(t1);
  127243. $name = t2._0;
  127244. t3.$indexSet(0, t2._1, $name);
  127245. }
  127246. return t3;
  127247. });
  127248. _lazyFinal($, "nodePackageImporterClass", "$get$nodePackageImporterClass", () => new A.nodePackageImporterClass_closure().call$0());
  127249. _lazyFinal($, "compilerClass", "$get$compilerClass", () => new A.compilerClass_closure().call$0());
  127250. _lazyFinal($, "asyncCompilerClass", "$get$asyncCompilerClass", () => new A.asyncCompilerClass_closure().call$0());
  127251. _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)));
  127252. _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)));
  127253. _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)));
  127254. _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)));
  127255. _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)));
  127256. _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)));
  127257. _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)));
  127258. _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)));
  127259. _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)));
  127260. _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)));
  127261. _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)));
  127262. _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)));
  127263. _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)));
  127264. _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)));
  127265. _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)));
  127266. _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)));
  127267. _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)));
  127268. _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)));
  127269. _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)));
  127270. _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)));
  127271. _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)));
  127272. _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)));
  127273. _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)));
  127274. _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)));
  127275. _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)));
  127276. _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)));
  127277. _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)));
  127278. _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)));
  127279. _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)));
  127280. _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)));
  127281. _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)));
  127282. _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)));
  127283. _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)));
  127284. _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)));
  127285. _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)));
  127286. _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)));
  127287. _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)));
  127288. _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)));
  127289. _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)));
  127290. _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)));
  127291. _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)));
  127292. _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)));
  127293. _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)));
  127294. _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)));
  127295. _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)));
  127296. _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)));
  127297. _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)));
  127298. _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)));
  127299. _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)));
  127300. _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)));
  127301. _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)));
  127302. _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)));
  127303. _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)));
  127304. _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)));
  127305. _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)));
  127306. _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)));
  127307. _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)));
  127308. _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)));
  127309. _lazyFinal($, "_disallowedFunctionNames0", "$get$_disallowedFunctionNames0", () => {
  127310. var t1 = $.$get$globalFunctions0();
  127311. t1 = t1.map$1$1(t1, new A._disallowedFunctionNames_closure0(), type$.String).toSet$0(0);
  127312. t1.add$1(0, "if");
  127313. t1.remove$1(0, "abs");
  127314. t1.remove$1(0, "alpha");
  127315. t1.remove$1(0, "color");
  127316. t1.remove$1(0, "grayscale");
  127317. t1.remove$1(0, "hsl");
  127318. t1.remove$1(0, "hsla");
  127319. t1.remove$1(0, "hwb");
  127320. t1.remove$1(0, "invert");
  127321. t1.remove$1(0, "lab");
  127322. t1.remove$1(0, "lch");
  127323. t1.remove$1(0, "max");
  127324. t1.remove$1(0, "min");
  127325. t1.remove$1(0, "oklab");
  127326. t1.remove$1(0, "oklch");
  127327. t1.remove$1(0, "opacity");
  127328. t1.remove$1(0, "rgb");
  127329. t1.remove$1(0, "rgba");
  127330. t1.remove$1(0, "round");
  127331. t1.remove$1(0, "saturate");
  127332. return t1;
  127333. });
  127334. _lazyFinal($, "deprecations", "$get$deprecations", () => {
  127335. var _i, deprecation, t2,
  127336. t1 = A.LinkedHashMap_LinkedHashMap$_empty(type$.String, A.findType("Deprecation1?"));
  127337. for (_i = 0; _i < 26; ++_i) {
  127338. deprecation = B.List_FlM[_i];
  127339. if (deprecation !== B.Deprecation_f5Y) {
  127340. t2 = deprecation.id;
  127341. 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)});
  127342. }
  127343. }
  127344. return t1;
  127345. });
  127346. _lazyFinal($, "versionClass", "$get$versionClass", () => new A.versionClass_closure().call$0());
  127347. _lazyFinal($, "exceptionClass", "$get$exceptionClass", () => new A.exceptionClass_closure().call$0());
  127348. _lazyFinal($, "FilesystemImporter_cwd0", "$get$FilesystemImporter_cwd0", () => {
  127349. var _null = null;
  127350. return new A.FilesystemImporter0(A.absolute(".", _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null), true);
  127351. });
  127352. _lazyFinal($, "functionClass", "$get$functionClass", () => new A.functionClass_closure().call$0());
  127353. _lazyFinal($, "globalFunctions0", "$get$globalFunctions0", () => {
  127354. var t1 = type$.BuiltInCallable_2,
  127355. t2 = A.List_List$of($.$get$global6(), true, t1);
  127356. B.JSArray_methods.addAll$1(t2, $.$get$global7());
  127357. B.JSArray_methods.addAll$1(t2, $.$get$global8());
  127358. B.JSArray_methods.addAll$1(t2, $.$get$global9());
  127359. B.JSArray_methods.addAll$1(t2, $.$get$global10());
  127360. B.JSArray_methods.addAll$1(t2, $.$get$global11());
  127361. B.JSArray_methods.addAll$1(t2, $.$get$global12());
  127362. t2.push(A.BuiltInCallable$function0("if", "$condition, $if-true, $if-false", new A.globalFunctions_closure0(), null));
  127363. return A.UnmodifiableListView$(t2, t1);
  127364. });
  127365. _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));
  127366. _lazyFinal($, "IfExpression_declaration0", "$get$IfExpression_declaration0", () => A.ParameterList_ParameterList$parse0(string$.x40funct, null));
  127367. _lazyFinal($, "global7", "$get$global7", () => {
  127368. var _s4_ = "list";
  127369. 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);
  127370. });
  127371. _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));
  127372. _lazyFinal($, "_length1", "$get$_length2", () => A._function11("length", "$list", new A._length_closure2()));
  127373. _lazyFinal($, "_nth0", "$get$_nth0", () => A._function11("nth", "$list, $n", new A._nth_closure0()));
  127374. _lazyFinal($, "_setNth0", "$get$_setNth0", () => A._function11("set-nth", "$list, $n, $value", new A._setNth_closure0()));
  127375. _lazyFinal($, "_join0", "$get$_join0", () => A._function11("join", string$.x24list1, new A._join_closure0()));
  127376. _lazyFinal($, "_append1", "$get$_append2", () => A._function11("append", "$list, $val, $separator: auto", new A._append_closure2()));
  127377. _lazyFinal($, "_zip0", "$get$_zip0", () => A._function11("zip", "$lists...", new A._zip_closure0()));
  127378. _lazyFinal($, "_index1", "$get$_index2", () => A._function11("index", "$list, $value", new A._index_closure2()));
  127379. _lazyFinal($, "_separator0", "$get$_separator0", () => A._function11("separator", "$list", new A._separator_closure0()));
  127380. _lazyFinal($, "_isBracketed0", "$get$_isBracketed0", () => A._function11("is-bracketed", "$list", new A._isBracketed_closure0()));
  127381. _lazyFinal($, "_slash0", "$get$_slash0", () => A._function11("slash", "$elements...", new A._slash_closure0()));
  127382. _lazyFinal($, "listClass", "$get$listClass", () => new A.listClass_closure().call$0());
  127383. _lazyFinal($, "legacyListClass", "$get$legacyListClass", () => {
  127384. var t1 = A.createJSClass("sass.types.List", new A.legacyListClass_closure());
  127385. 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));
  127386. return t1;
  127387. });
  127388. _lazyFinal($, "global8", "$get$global8", () => {
  127389. var _s3_ = "map";
  127390. 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);
  127391. });
  127392. _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));
  127393. _lazyFinal($, "_get0", "$get$_get0", () => A._function10("get", "$map, $key, $keys...", new A._get_closure0()));
  127394. _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)));
  127395. _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)));
  127396. _lazyFinal($, "_deepMerge0", "$get$_deepMerge0", () => A._function10("deep-merge", "$map1, $map2", new A._deepMerge_closure0()));
  127397. _lazyFinal($, "_deepRemove0", "$get$_deepRemove0", () => A._function10("deep-remove", "$map, $key, $keys...", new A._deepRemove_closure0()));
  127398. _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)));
  127399. _lazyFinal($, "_keys0", "$get$_keys0", () => A._function10("keys", "$map", new A._keys_closure0()));
  127400. _lazyFinal($, "_values0", "$get$_values0", () => A._function10("values", "$map", new A._values_closure0()));
  127401. _lazyFinal($, "_hasKey0", "$get$_hasKey0", () => A._function10("has-key", "$map, $key, $keys...", new A._hasKey_closure0()));
  127402. _lazyFinal($, "mapClass", "$get$mapClass", () => new A.mapClass_closure().call$0());
  127403. _lazyFinal($, "legacyMapClass", "$get$legacyMapClass", () => {
  127404. var t1 = A.createJSClass("sass.types.Map", new A.legacyMapClass_closure());
  127405. 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));
  127406. return t1;
  127407. });
  127408. _lazyFinal($, "global9", "$get$global9", () => {
  127409. var _s4_ = "math";
  127410. 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);
  127411. });
  127412. _lazyFinal($, "module8", "$get$module8", () => {
  127413. var _null = null;
  127414. 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);
  127415. });
  127416. _lazyFinal($, "_ceil0", "$get$_ceil0", () => A._numberFunction0("ceil", new A._ceil_closure0()));
  127417. _lazyFinal($, "_clamp0", "$get$_clamp0", () => A._function9("clamp", "$min, $number, $max", new A._clamp_closure0()));
  127418. _lazyFinal($, "_floor0", "$get$_floor0", () => A._numberFunction0("floor", new A._floor_closure0()));
  127419. _lazyFinal($, "_max0", "$get$_max0", () => A._function9("max", "$numbers...", new A._max_closure0()));
  127420. _lazyFinal($, "_min0", "$get$_min0", () => A._function9("min", "$numbers...", new A._min_closure0()));
  127421. _lazyFinal($, "_round0", "$get$_round0", () => A._numberFunction0("round", new A._round_closure0()));
  127422. _lazyFinal($, "_hypot0", "$get$_hypot0", () => A._function9("hypot", "$numbers...", new A._hypot_closure0()));
  127423. _lazyFinal($, "_log0", "$get$_log0", () => A._function9("log", "$number, $base: null", new A._log_closure0()));
  127424. _lazyFinal($, "_pow0", "$get$_pow0", () => A._function9("pow", "$base, $exponent", new A._pow_closure0()));
  127425. _lazyFinal($, "_sqrt0", "$get$_sqrt0", () => A._singleArgumentMathFunc0("sqrt", A.number2__sqrt$closure()));
  127426. _lazyFinal($, "_acos0", "$get$_acos0", () => A._singleArgumentMathFunc0("acos", A.number2__acos$closure()));
  127427. _lazyFinal($, "_asin0", "$get$_asin0", () => A._singleArgumentMathFunc0("asin", A.number2__asin$closure()));
  127428. _lazyFinal($, "_atan0", "$get$_atan0", () => A._singleArgumentMathFunc0("atan", A.number2__atan$closure()));
  127429. _lazyFinal($, "_atan20", "$get$_atan20", () => A._function9("atan2", "$y, $x", new A._atan2_closure0()));
  127430. _lazyFinal($, "_cos0", "$get$_cos0", () => A._singleArgumentMathFunc0("cos", A.number2__cos$closure()));
  127431. _lazyFinal($, "_sin0", "$get$_sin0", () => A._singleArgumentMathFunc0("sin", A.number2__sin$closure()));
  127432. _lazyFinal($, "_tan0", "$get$_tan0", () => A._singleArgumentMathFunc0("tan", A.number2__tan$closure()));
  127433. _lazyFinal($, "_compatible0", "$get$_compatible0", () => A._function9("compatible", "$number1, $number2", new A._compatible_closure0()));
  127434. _lazyFinal($, "_isUnitless0", "$get$_isUnitless0", () => A._function9("is-unitless", "$number", new A._isUnitless_closure0()));
  127435. _lazyFinal($, "_unit0", "$get$_unit0", () => A._function9("unit", "$number", new A._unit_closure0()));
  127436. _lazyFinal($, "_percentage0", "$get$_percentage0", () => A._function9("percentage", "$number", new A._percentage_closure0()));
  127437. _lazyFinal($, "_random1", "$get$_random2", () => A.Random_Random());
  127438. _lazyFinal($, "_randomFunction0", "$get$_randomFunction0", () => A._function9("random", "$limit: null", new A._randomFunction_closure0()));
  127439. _lazyFinal($, "_div0", "$get$_div0", () => A._function9("div", "$number1, $number2", new A._div_closure0()));
  127440. _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));
  127441. _lazyFinal($, "global10", "$get$global12", () => {
  127442. var t2,
  127443. t1 = A._setArrayType([], type$.JSArray_BuiltInCallable_2);
  127444. for (t2 = $.$get$_shared0(), t2 = t2.get$iterator(t2); t2.moveNext$0();)
  127445. t1.push(t2.get$current(0).withDeprecationWarning$1("meta"));
  127446. return A.UnmodifiableListView$(t1, type$.BuiltInCallable_2);
  127447. });
  127448. _lazyFinal($, "moduleFunctions0", "$get$moduleFunctions0", () => {
  127449. var t1 = type$.BuiltInCallable_2,
  127450. t2 = A.List_List$of($.$get$_shared0(), true, t1);
  127451. t2.push(A._function6("calc-name", "$calc", new A.moduleFunctions_closure2()));
  127452. t2.push(A._function6("calc-args", "$calc", new A.moduleFunctions_closure3()));
  127453. t2.push(A._function6("accepts-content", "$mixin", new A.moduleFunctions_closure4()));
  127454. return A.UnmodifiableListView$(t2, t1);
  127455. });
  127456. _lazyFinal($, "mixinClass", "$get$mixinClass", () => new A.mixinClass_closure().call$0());
  127457. _lazyFinal($, "legacyNullClass", "$get$legacyNullClass", () => new A.legacyNullClass_closure().call$0());
  127458. _lazyFinal($, "_epsilon0", "$get$_epsilon0", () => A.pow(10, -11));
  127459. _lazyFinal($, "_inverseEpsilon0", "$get$_inverseEpsilon0", () => A.pow(10, 11));
  127460. _lazyFinal($, "numberClass", "$get$numberClass", () => new A.numberClass_closure().call$0());
  127461. _lazyFinal($, "legacyNumberClass", "$get$legacyNumberClass", () => {
  127462. var t1 = A.createJSClass("sass.types.Number", new A.legacyNumberClass_closure());
  127463. 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));
  127464. return t1;
  127465. });
  127466. _lazyFinal($, "_typesByUnit0", "$get$_typesByUnit0", () => {
  127467. var t3, type,
  127468. t1 = type$.String,
  127469. t2 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
  127470. for (t1 = A.MapExtensions_get_pairs0(B.Map_Sr65K, t1, type$.List_String), t1 = t1.get$iterator(t1); t1.moveNext$0();) {
  127471. t3 = t1.get$current(t1);
  127472. type = t3._0;
  127473. for (t3 = J.get$iterator$ax(t3._1); t3.moveNext$0();)
  127474. t2.$indexSet(0, t3.get$current(t3), type);
  127475. }
  127476. return t2;
  127477. });
  127478. _lazyFinal($, "_interpolation", "$get$_interpolation", () => A.Interpolation$0(B.List_empty11, B.List_empty12, $.$get$bogusSpan0()));
  127479. _lazyFinal($, "_expression", "$get$_expression", () => A.NullExpression$($.$get$bogusSpan0()));
  127480. _lazyFinal($, "global11", "$get$global10", () => {
  127481. var _s8_ = "selector";
  127482. 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);
  127483. });
  127484. _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));
  127485. _lazyFinal($, "_nest0", "$get$_nest0", () => A._function8("nest", "$selectors...", new A._nest_closure0()));
  127486. _lazyFinal($, "_append2", "$get$_append1", () => A._function8("append", "$selectors...", new A._append_closure1()));
  127487. _lazyFinal($, "_extend0", "$get$_extend0", () => A._function8("extend", "$selector, $extendee, $extender", new A._extend_closure0()));
  127488. _lazyFinal($, "_replace0", "$get$_replace0", () => A._function8("replace", "$selector, $original, $replacement", new A._replace_closure0()));
  127489. _lazyFinal($, "_unify0", "$get$_unify0", () => A._function8("unify", "$selector1, $selector2", new A._unify_closure0()));
  127490. _lazyFinal($, "_isSuperselector0", "$get$_isSuperselector0", () => A._function8("is-superselector", "$super, $sub", new A._isSuperselector_closure0()));
  127491. _lazyFinal($, "_simpleSelectors0", "$get$_simpleSelectors0", () => A._function8("simple-selectors", "$selector", new A._simpleSelectors_closure0()));
  127492. _lazyFinal($, "_parse1", "$get$_parse0", () => A._function8("parse", "$selector", new A._parse_closure0()));
  127493. _lazyFinal($, "_knownCompatibilitiesByUnit0", "$get$_knownCompatibilitiesByUnit0", () => {
  127494. var _i, set, t2,
  127495. t1 = A.LinkedHashMap_LinkedHashMap$_empty(type$.String, A.findType("Set<String>"));
  127496. for (_i = 0; _i < 5; ++_i) {
  127497. set = B.List_BFg[_i];
  127498. for (t2 = set.get$iterator(set); t2.moveNext$0();)
  127499. t1.$indexSet(0, t2.get$current(0), set);
  127500. }
  127501. return t1;
  127502. });
  127503. _lazyFinal($, "bogusSpan0", "$get$bogusSpan0", () => A.SourceFile$decoded(A._setArrayType([], type$.JSArray_int), null).span$1(0, 0));
  127504. _lazyFinal($, "_random2", "$get$_random1", () => A.Random_Random());
  127505. _lazy($, "_previousUniqueId0", "$get$_previousUniqueId0", () => $.$get$_random1().nextInt$1(A._asInt(A.pow(36, 6))));
  127506. _lazyFinal($, "global12", "$get$global11", () => {
  127507. var _s6_ = "string";
  127508. 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);
  127509. });
  127510. _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));
  127511. _lazyFinal($, "_unquote0", "$get$_unquote0", () => A._function7("unquote", "$string", new A._unquote_closure0()));
  127512. _lazyFinal($, "_quote0", "$get$_quote0", () => A._function7("quote", "$string", new A._quote_closure0()));
  127513. _lazyFinal($, "_length2", "$get$_length1", () => A._function7("length", "$string", new A._length_closure1()));
  127514. _lazyFinal($, "_insert0", "$get$_insert0", () => A._function7("insert", "$string, $insert, $index", new A._insert_closure0()));
  127515. _lazyFinal($, "_index2", "$get$_index1", () => A._function7("index", "$string, $substring", new A._index_closure1()));
  127516. _lazyFinal($, "_slice0", "$get$_slice0", () => A._function7("slice", "$string, $start-at, $end-at: -1", new A._slice_closure0()));
  127517. _lazyFinal($, "_toUpperCase0", "$get$_toUpperCase0", () => A._function7("to-upper-case", "$string", new A._toUpperCase_closure0()));
  127518. _lazyFinal($, "_toLowerCase0", "$get$_toLowerCase0", () => A._function7("to-lower-case", "$string", new A._toLowerCase_closure0()));
  127519. _lazyFinal($, "_uniqueId0", "$get$_uniqueId0", () => A._function7("unique-id", "", new A._uniqueId_closure0()));
  127520. _lazyFinal($, "stringClass", "$get$stringClass", () => new A.stringClass_closure().call$0());
  127521. _lazyFinal($, "legacyStringClass", "$get$legacyStringClass", () => {
  127522. var t1 = A.createJSClass("sass.types.String", new A.legacyStringClass_closure());
  127523. A.JSClassExtension_defineMethods(t1, A.LinkedHashMap_LinkedHashMap$_literal(["getValue", new A.legacyStringClass_closure0(), "setValue", new A.legacyStringClass_closure1()], type$.String, type$.Function));
  127524. return t1;
  127525. });
  127526. _lazyFinal($, "_emptyQuoted0", "$get$_emptyQuoted0", () => A.SassString$0("", true));
  127527. _lazyFinal($, "_emptyUnquoted0", "$get$_emptyUnquoted0", () => A.SassString$0("", false));
  127528. _lazyFinal($, "_urlSchemeRegExp", "$get$_urlSchemeRegExp", () => A.RegExp_RegExp("^[a-z0-9+.-]+$", false));
  127529. _lazyFinal($, "_jsThrow0", "$get$_jsThrow", () => new self.Function("error", "throw error;"));
  127530. _lazyFinal($, "_isUndefined", "$get$_isUndefined", () => new self.Function("value", "return value === undefined;"));
  127531. _lazyFinal($, "_isNull", "$get$_isNull", () => new self.Function("value", "return value === null;"));
  127532. _lazyFinal($, "_noSourceUrl0", "$get$_noSourceUrl0", () => A.Uri_parse("-"));
  127533. _lazyFinal($, "_traces0", "$get$_traces0", () => A.Expando$());
  127534. _lazyFinal($, "valueClass", "$get$valueClass", () => new A.valueClass_closure().call$0());
  127535. })();
  127536. (function nativeSupport() {
  127537. !function() {
  127538. var intern = function(s) {
  127539. var o = {};
  127540. o[s] = 1;
  127541. return Object.keys(hunkHelpers.convertToFastObject(o))[0];
  127542. };
  127543. init.getIsolateTag = function(name) {
  127544. return intern("___dart_" + name + init.isolateTag);
  127545. };
  127546. var tableProperty = "___dart_isolate_tags_";
  127547. var usedProperties = Object[tableProperty] || (Object[tableProperty] = Object.create(null));
  127548. var rootProperty = "_ZxYxX";
  127549. for (var i = 0;; i++) {
  127550. var property = intern(rootProperty + "_" + i + "_");
  127551. if (!(property in usedProperties)) {
  127552. usedProperties[property] = 1;
  127553. init.isolateTag = property;
  127554. break;
  127555. }
  127556. }
  127557. init.dispatchPropertyName = init.getIsolateTag("dispatch_record");
  127558. }();
  127559. 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});
  127560. 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});
  127561. A.NativeTypedArray.$nativeSuperclassTag = "ArrayBufferView";
  127562. A._NativeTypedArrayOfDouble_NativeTypedArray_ListMixin.$nativeSuperclassTag = "ArrayBufferView";
  127563. A._NativeTypedArrayOfDouble_NativeTypedArray_ListMixin_FixedLengthListMixin.$nativeSuperclassTag = "ArrayBufferView";
  127564. A.NativeTypedArrayOfDouble.$nativeSuperclassTag = "ArrayBufferView";
  127565. A._NativeTypedArrayOfInt_NativeTypedArray_ListMixin.$nativeSuperclassTag = "ArrayBufferView";
  127566. A._NativeTypedArrayOfInt_NativeTypedArray_ListMixin_FixedLengthListMixin.$nativeSuperclassTag = "ArrayBufferView";
  127567. A.NativeTypedArrayOfInt.$nativeSuperclassTag = "ArrayBufferView";
  127568. })();
  127569. Function.prototype.call$0 = function() {
  127570. return this();
  127571. };
  127572. Function.prototype.call$1 = function(a) {
  127573. return this(a);
  127574. };
  127575. Function.prototype.call$2 = function(a, b) {
  127576. return this(a, b);
  127577. };
  127578. Function.prototype.call$3$1 = function(a) {
  127579. return this(a);
  127580. };
  127581. Function.prototype.call$2$1 = function(a) {
  127582. return this(a);
  127583. };
  127584. Function.prototype.call$1$1 = function(a) {
  127585. return this(a);
  127586. };
  127587. Function.prototype.call$3 = function(a, b, c) {
  127588. return this(a, b, c);
  127589. };
  127590. Function.prototype.call$4 = function(a, b, c, d) {
  127591. return this(a, b, c, d);
  127592. };
  127593. Function.prototype.call$3$3 = function(a, b, c) {
  127594. return this(a, b, c);
  127595. };
  127596. Function.prototype.call$2$2 = function(a, b) {
  127597. return this(a, b);
  127598. };
  127599. Function.prototype.call$5 = function(a, b, c, d, e) {
  127600. return this(a, b, c, d, e);
  127601. };
  127602. Function.prototype.call$6 = function(a, b, c, d, e, f) {
  127603. return this(a, b, c, d, e, f);
  127604. };
  127605. Function.prototype.call$2$0 = function() {
  127606. return this();
  127607. };
  127608. Function.prototype.call$1$0 = function() {
  127609. return this();
  127610. };
  127611. Function.prototype.call$1$2 = function(a, b) {
  127612. return this(a, b);
  127613. };
  127614. Function.prototype.call$2$3 = function(a, b, c) {
  127615. return this(a, b, c);
  127616. };
  127617. convertAllToFastObject(holders);
  127618. convertToFastObject($);
  127619. (function(callback) {
  127620. if (typeof document === "undefined") {
  127621. callback(null);
  127622. return;
  127623. }
  127624. if (typeof document.currentScript != "undefined") {
  127625. callback(document.currentScript);
  127626. return;
  127627. }
  127628. var scripts = document.scripts;
  127629. function onLoad(event) {
  127630. for (var i = 0; i < scripts.length; ++i) {
  127631. scripts[i].removeEventListener("load", onLoad, false);
  127632. }
  127633. callback(event.target);
  127634. }
  127635. for (var i = 0; i < scripts.length; ++i) {
  127636. scripts[i].addEventListener("load", onLoad, false);
  127637. }
  127638. })(function(currentScript) {
  127639. init.currentScript = currentScript;
  127640. var callMain = A.main2;
  127641. if (typeof dartMainRunner === "function") {
  127642. dartMainRunner(callMain, []);
  127643. } else {
  127644. callMain([]);
  127645. }
  127646. });
  127647. })();
  127648. }